/*
Theme Name: Achadinhos Delas V4
Theme URI: https://achadinhos.matrixtechdicas.com.br/
Author: Achadinhos Delas
Description: Tema feminino premium, mobile-first e integrado ao WooCommerce.
Version: 4.0.0
Text Domain: achadinhos-delas
*/

:root{
  --bg:#fff5f8;
  --surface:#ffffff;
  --surface-2:#fff0f5;
  --ink:#241a20;
  --muted:#776a72;
  --line:#eadde4;
  --pink:#d92f73;
  --pink-dark:#a91f57;
  --wine:#4a1830;
  --gold:#ffd000;
  --price:#c58a00;
  --cream:#fff7df;
  --shadow:0 14px 38px rgba(76,24,48,.10);
  --radius:18px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:linear-gradient(180deg,#fffafc 0%,#fff3f7 40%,#fff8ec 100%);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}
button,input,select{font:inherit}
.wrap{width:min(1240px,calc(100% - 32px));margin:auto}
.topbar{background:linear-gradient(90deg,#4a1830,#7a214e,#4a1830);color:#fff;font-size:11px;padding:8px 0;text-align:center}
.topbar b{color:#ffd66b}
.site-header{position:sticky;top:0;z-index:50;background:#fffdfd;border-bottom:0;backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.header-main{min-height:82px;display:grid;grid-template-columns:210px 1fr 150px;gap:24px;align-items:center}
.brand{display:flex;flex-direction:column;line-height:.88}
.brand strong{font-size:23px;font-weight:950;letter-spacing:-1.3px}
.brand span{font-size:12px;letter-spacing:4px;color:var(--pink);font-weight:900;margin-left:2px}
.search{height:46px;border:1px solid var(--line);background:#fff;border-radius:14px;display:flex;align-items:center;padding:0 15px;box-shadow:0 5px 18px rgba(76,24,48,.04)}
.search input{border:0;outline:0;width:100%;font-size:13px;background:transparent}
.header-actions{display:flex;justify-content:flex-end;gap:9px}
.header-action{border:1px solid var(--line);background:#fff;border-radius:12px;padding:10px 12px;font-size:11px;font-weight:800}
.header-action:hover{border-color:#e8a1bc;color:var(--pink)}
.nav-wrap{background:linear-gradient(90deg,#4a1830,#681c42,#4a1830);border-top:1px solid rgba(255,255,255,.12);box-shadow:0 6px 18px rgba(74,24,48,.12)}
.nav{display:flex;align-items:center;gap:8px;min-height:46px;overflow:auto;white-space:nowrap;font-size:11px;font-weight:900}.nav a{color:#fff;padding:9px 13px;border-radius:10px}.nav a:hover,.nav a:focus{background:#ffd000;color:#3a1427}
.nav a:hover{color:var(--pink)}

.hero{margin-top:26px;border-radius:26px;overflow:hidden;background:
 radial-gradient(circle at 85% 15%,rgba(255,255,255,.55),transparent 25%),
 linear-gradient(120deg,#4a1830 0%,#7c214e 48%,#df3c7b 100%);
 color:#fff;display:grid;grid-template-columns:1.15fr .85fr;min-height:360px;box-shadow:var(--shadow)}
.hero-copy{padding:56px 58px;display:flex;flex-direction:column;justify-content:center}
.hero-kicker{font-size:10px;letter-spacing:2px;font-weight:900;color:#ffd66b}
.hero h1{font-family:Georgia,serif;font-size:clamp(38px,5vw,66px);line-height:.98;letter-spacing:-2.5px;margin:14px 0 18px}
.hero h1 em{font-style:normal;color:#ffd66b}
.hero p{max-width:560px;color:#ffeaf2;line-height:1.65;font-size:14px}
.hero-actions{display:flex;gap:10px;margin-top:22px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:12px;font-size:11px;font-weight:900}
.btn-primary{background:#fff;color:var(--wine)}
.btn-secondary{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.3);color:#fff}
.hero-art{display:flex;align-items:center;justify-content:center;position:relative;min-height:280px}
.hero-card{background:rgba(255,255,255,.96);color:var(--ink);padding:28px 34px;border-radius:22px;box-shadow:0 22px 50px rgba(0,0,0,.18);transform:rotate(4deg);text-align:center}
.hero-card small{display:block;color:var(--muted);font-size:10px;font-weight:800}
.hero-card b{display:block;font-size:50px;line-height:1;color:var(--pink);margin:8px 0}
.hero-card strong{font-size:13px}
.hero-bubble{position:absolute;background:#fff;color:var(--pink);width:58px;height:58px;border-radius:50%;display:grid;place-items:center;box-shadow:var(--shadow);font-size:23px}
.hero-bubble.one{top:45px;left:25px}.hero-bubble.two{bottom:45px;right:25px}

.section{padding:54px 0}
.section.soft{background:linear-gradient(180deg,#fff1f6 0%,#fff8ee 100%);border-top:1px solid #f2dce5;border-bottom:1px solid #f2dce5}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}
.section-kicker{font-size:10px;letter-spacing:1.8px;color:#a51f56;font-weight:950}.section-head h2{color:#3a1829}
.section h2{font-family:Georgia,serif;font-size:28px;letter-spacing:-.8px;margin:5px 0 0}
.see-all{font-size:11px;font-weight:900;color:var(--pink)}

.category-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:11px}
.category-card{min-height:116px;background:linear-gradient(180deg,#fff 0%,#fff8fb 100%);border:1px solid #e1cbd5;border-radius:16px;padding:15px;display:flex;flex-direction:column;justify-content:space-between;transition:.2s;box-shadow:0 5px 18px rgba(76,24,48,.035)}
.category-card:hover{transform:translateY(-4px);border-color:#e8a1bc;box-shadow:var(--shadow)}
.category-icon{font-size:24px;width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:#fff0a8;border:1px solid #f2d36b}.category-card b{color:#3a1829}.category-card small{font-size:9px;color:#6e5862;font-weight:700}

.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.product-card{background:linear-gradient(180deg,#ffffff 0%,#fff7fa 100%);display:flex;flex-direction:column;height:100%;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 7px 22px rgba(76,24,48,.045);transition:.2s}
.product-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.product-image{height:240px;flex:0 0 240px;background:#f8f3f5;position:relative;overflow:hidden}
.product-image img{width:100%;height:100%;object-fit:cover;display:block}
.badge{position:absolute;top:10px;left:10px;background:var(--pink);color:#fff;padding:5px 8px;border-radius:8px;font-size:9px;font-weight:950}
.favorite{position:absolute;top:10px;right:10px;border:0;background:#fff;width:34px;height:34px;border-radius:50%;font-size:17px;cursor:pointer;box-shadow:0 5px 12px rgba(0,0,0,.08)}
.product-info{padding:14px;display:flex;flex-direction:column;flex:1}
.store{font-size:9px;color:#8f2551;font-weight:900;letter-spacing:.3px}
.product-title{color:#2f2027;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;font-weight:850;line-height:1.35;margin:6px 0 9px;min-height:35px}
.old-price{display:block;color:#9b8d94;font-size:10px}
.current-price{display:block;font-size:22px;font-weight:950;color:#b97900;background:#fff4c7;border:1px solid #f1d36c;border-radius:10px;padding:5px 8px;width:max-content;max-width:100%;margin-top:4px;letter-spacing:-.4px}
.coupon{display:inline-block;background:var(--cream);color:#855d00;border:1px solid #f0d889;border-radius:8px;padding:5px 7px;font-size:9px;font-weight:900;margin-top:8px}
.offer-btn{display:block;background:linear-gradient(135deg,#c91f68,#e83e82);color:#fff;text-align:center;border-radius:11px;padding:11px;margin-top:11px;font-size:10px;font-weight:950}
.offer-btn:hover{filter:brightness(.96)}
.price-note{font-size:9px;color:var(--muted);margin-top:5px}

.feature-row{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.feature-box{border:1px solid var(--line);background:#fff;border-radius:18px;padding:22px;min-height:130px}
.feature-box strong{display:block;font-family:Georgia,serif;font-size:19px;margin-bottom:7px}
.feature-box span{font-size:10px;color:var(--muted);line-height:1.5}
.feature-box a{display:inline-block;margin-top:13px;color:var(--pink);font-size:10px;font-weight:900}

.coupon-strip{background:linear-gradient(135deg,#fff1f6,#fff8df);border:1px solid #f0d8e2;border-radius:22px;padding:28px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.coupon-strip h3{font-family:Georgia,serif;font-size:24px;margin:4px 0}.coupon-strip p{font-size:11px;color:var(--muted);margin:0}.coupon-strip .btn{background:var(--wine);color:#fff}

.footer{background:var(--wine);color:#fff;padding:48px 0 22px}
.footer-grid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:35px}
.footer .brand span{color:#ffd66b}.footer p,.footer a{font-size:10px;color:#d9c6cf;line-height:1.7}.footer h3{font-size:11px}.footer-col{display:flex;flex-direction:column;gap:7px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:32px;padding-top:16px;color:#bdaab4;font-size:9px}

@media(max-width:1000px){
 .category-grid{grid-template-columns:repeat(4,1fr)}
 .product-grid{grid-template-columns:repeat(3,1fr)}
 .header-main{grid-template-columns:180px 1fr 120px}
}
@media(max-width:720px){
 .wrap{width:min(100% - 20px,1240px)}
 .topbar{font-size:9px}
 .header-main{grid-template-columns:1fr auto;min-height:66px;gap:10px}
 .brand strong{font-size:19px}.brand span{font-size:10px}
 .search{grid-column:1/-1;order:3;height:40px;margin-bottom:9px}
 .header-actions{gap:5px}.header-action{font-size:0;padding:9px}.header-action:first-child:after{content:'♡';font-size:18px}
 .header-action:last-child:after{content:'☰';font-size:18px}
 .nav-wrap{display:none}
 .hero{grid-template-columns:1fr;margin-top:15px}
 .hero-copy{padding:38px 24px}.hero h1{font-size:42px}
 .hero-art{min-height:170px}.hero-bubble{width:45px;height:45px;font-size:18px}
 .section{padding:38px 0}.section h2{font-size:24px}
 .category-grid{grid-template-columns:repeat(2,1fr);gap:9px}
 .category-card{min-height:100px}
 .product-grid{grid-template-columns:repeat(2,1fr);gap:9px}
 .product-image{height:175px}
 .product-title{font-size:11px}.current-price{font-size:17px}
 .feature-row{grid-template-columns:repeat(2,1fr)}
 .coupon-strip{display:block}.coupon-strip .btn{margin-top:15px}
 .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:420px){
 .product-image{height:155px}
 .feature-row{grid-template-columns:1fr}
 .footer-grid{grid-template-columns:1fr}
}

/* Banner principal */
.home-banner-fallback{position:relative;overflow:hidden;border-radius:24px;margin-top:22px;box-shadow:0 16px 40px rgba(76,24,48,.12)}
.home-banner-fallback a{display:block}.home-banner-fallback img{display:block;width:auto;object-fit:contain}.home-banner-label{position:absolute;left:24px;bottom:20px;background:#111;color:#fff;padding:11px 16px;border-radius:11px;font-size:11px;font-weight:950}
@media(max-width:720px){.home-banner-fallback img{aspect-ratio:auto;object-fit:contain}.home-banner-label{left:12px;bottom:12px;font-size:10px;padding:9px 12px}}

/* V3.2 — correções visuais solicitadas */
.home-banner-fallback{max-width:980px;background:#4a1830;padding:14px;border:1px solid #6e2a49}
.home-banner-fallback a{display:flex!important;justify-content:center;align-items:center;background:linear-gradient(135deg,#4a1830,#8b2a59);min-height:430px}
.home-banner-fallback img{width:auto!important;max-width:100%;height:430px!important;aspect-ratio:auto!important;object-fit:contain!important;margin:auto;border-radius:16px}
@media(max-width:720px){.home-banner-fallback{padding:7px}.home-banner-fallback a{min-height:0}.home-banner-fallback img{width:100%!important;height:auto!important;max-height:none!important}}

/* V3.2 — banner sem corte e elementos visuais com maior contraste */
.home-banner-fallback{max-width:980px;background:#4a1830;padding:14px;border:1px solid #6e2a49}
.home-banner-fallback a{display:flex!important;justify-content:center;align-items:center;background:linear-gradient(135deg,#4a1830,#8b2a59);min-height:430px}
.home-banner-fallback img{width:auto!important;max-width:100%;height:430px!important;aspect-ratio:auto!important;object-fit:contain!important;margin:auto;border-radius:16px}
.product-grid{align-items:stretch}
.product-info{min-height:210px}
.old-price{min-height:15px}
.price-note{min-height:13px}
.offer-btn{margin-top:auto}
.category-grid{align-items:stretch}
.section#categorias{background:linear-gradient(180deg,#fffafc 0%,#fff1f6 100%);border-top:1px solid #f2dce5;border-bottom:1px solid #f2dce5}
@media(max-width:720px){.home-banner-fallback{padding:7px}.home-banner-fallback a{min-height:0}.home-banner-fallback img{width:100%!important;height:auto!important;max-height:none!important}.product-info{min-height:205px}}
