:root{
  --primary:#B8944F; --primary-deep:#8F6E2C; --primary-soft:rgba(184,148,79,.14);
  --green:#1d7a45; --green-deep:#14592f; --green-soft:#e6f3eb;
  --amber:#f0a11c; --star:#f5a623;
  --bg:#fff; --bg-soft:#faf7f1; --paper:#ffffff;
  --ink:#26251d; --muted:#6b6656; --faint:#a49c8a;
  --line:#e9e2d4; --line-soft:#f2ece0;
  --radius:14px; --radius-sm:10px;
  --shadow-pop:0 10px 28px rgba(38,37,29,.07);
  --sans:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
section[id]{scroll-margin-top:132px}
body{margin:0;background:var(--bg-soft);color:var(--ink);font-family:var(--sans);font-size:15px;line-height:1.5;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button{font:inherit;border:0;background:none;color:inherit;cursor:pointer;padding:0}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--primary);outline-offset:3px}
img{display:block;max-width:100%}
h1,h2,h3,h4,p{margin:0}
svg{display:block}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
[hidden]{display:none!important}

/* ============ APP HEADER ============ */
.app-header{position:sticky;top:0;z-index:40;background:url('assets/nya-banner-petalas.svg') center/cover no-repeat;color:var(--ink);box-shadow:0 4px 14px rgba(38,37,29,.05)}
.header-row{display:flex;align-items:center;gap:10px;padding:10px 14px}
.logo{display:flex;align-items:center;width:112px;height:40px;overflow:hidden;flex:0 0 auto}
.logo picture{display:flex;align-items:center;min-width:0}
.logo img{display:block;width:112px;height:auto;object-fit:contain;mix-blend-mode:multiply}
.search-box{flex:1;min-width:0;display:flex;align-items:center;gap:8px;background:#fff;border-radius:22px;padding:0 10px 0 13px;height:40px;box-shadow:0 2px 8px rgba(0,0,0,.12)}
.search-box svg{width:18px;height:18px;color:var(--faint);min-width:18px}
.search-box input{flex:1;min-width:0;border:0;outline:0;background:transparent;font:inherit;font-size:14px;color:var(--ink)}
.search-box input::placeholder{color:var(--faint)}
.search-clear{width:24px;height:24px;border-radius:50%;background:var(--bg-soft);color:var(--muted);font-size:16px;line-height:1}
.bell{position:relative;width:38px;height:38px;min-width:38px;display:grid;place-items:center;color:var(--ink)}
.bell svg{width:23px;height:23px}
.bell-badge{position:absolute;top:1px;right:0;min-width:16px;height:16px;padding:0 4px;display:grid;place-items:center;background:var(--amber);color:#3c2400;font-weight:800;font-size:10px;border-radius:9px}
.location-bar{display:flex;align-items:center;gap:6px;width:100%;padding:4px 16px 8px;color:#6b6656;font-size:12px}
.location-bar svg:first-child{width:15px;height:15px;color:#b8944f}
.location-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.location-bar .chev{width:14px;height:14px;margin-left:auto;opacity:.8}

/* ============ HOME ============ */
.home{max-width:560px;margin:0 auto}
.hero-slider{position:relative;margin:10px 12px 0;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-pop)}
.hero-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.hero-track::-webkit-scrollbar{display:none}
.hero-slide{min-width:100%;min-height:150px;scroll-snap-align:start;position:relative;background:linear-gradient(120deg,#f7f3ea,#fcfaf5 55%,#f1ecde);color:var(--ink);display:flex;align-items:center;padding:20px 18px;gap:12px}
.hero-slide img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-slide.has-image::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(250,247,241,.96) 0%,rgba(250,247,241,.78) 48%,rgba(250,247,241,.18) 100%);z-index:0}
.hero-slide .hero-ui{position:relative;z-index:1;display:grid;gap:6px}
.hero-slide.has-image .hero-ui{align-self:flex-end}
.hero-slide:first-child{justify-content:flex-end;padding-bottom:0}
.hero-slide:first-child .hero-ui{position:static;align-self:flex-end;display:flex;flex-direction:column;gap:0;line-height:1}
.hero-slide:first-child .hero-ui h2{order:1;margin:0;line-height:1}
.hero-slide:first-child .hero-ui p{order:2;margin:0;line-height:1}
.hero-slide:first-child .hero-ui a{position:absolute;top:14px;left:18px;margin-top:0;z-index:2}
.hero-slide small{text-transform:uppercase;letter-spacing:.14em;font-size:10px;color:#a5823f;font-weight:700}
.hero-slide h2{font-size:22px;font-weight:800;line-height:1.15;max-width:300px}
.hero-slide p{font-size:12px;color:#6b6656;max-width:260px}
.hero-slide a{justify-self:start;margin-top:4px;background:var(--primary);color:#26251d;font-weight:700;font-size:12px;padding:8px 14px;border-radius:18px}
.hero-dots{position:absolute;bottom:8px;left:0;right:0;display:flex;justify-content:center;gap:5px;z-index:2}
.hero-dots i{width:6px;height:6px;border-radius:4px;background:rgba(184,148,79,.35);transition:all .25s}
.hero-dots i.on{width:16px;background:#b8944f}

/* ============ SHORTCUTS ============ */
.shortcuts{display:flex;gap:10px;overflow-x:auto;padding:14px 12px 6px;scrollbar-width:none}
.shortcuts::-webkit-scrollbar{display:none}
.shortcut{min-width:64px;display:grid;justify-items:center;gap:6px;font-size:10px;color:var(--muted);text-align:center}
.shortcut--vip span:last-child{line-height:1.15}
.sc-icon{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--primary);box-shadow:0 4px 12px rgba(38,37,29,.06)}
.sc-icon svg{width:24px;height:24px}

/* ============ BARRA DE CATEGORIAS + MARCAS (abaixo da navbar) ============ */
.dept-bar{background:var(--paper);border-bottom:1px solid var(--line-soft);box-shadow:0 3px 10px rgba(38,37,29,.04)}
.dept-scroll{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;align-items:center;padding:8px 12px}
.dept-chip{flex:0 0 auto;font:600 12px var(--sans);color:var(--ink);background:var(--bg-soft);border:1px solid var(--line);border-radius:99px;padding:7px 14px;cursor:pointer;white-space:nowrap;transition:background .15s,border-color .15s,color .15s}
.dept-chip:hover{background:var(--line-soft)}
.dept-chip:focus-visible{outline:3px solid var(--primary);outline-offset:2px}
.dept-chip.on{background:var(--primary-deep);border-color:var(--primary-deep);color:#fff}
.dept-brand-list{display:flex;gap:8px;align-items:center;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:7px 12px 9px;border-top:1px dashed var(--line-soft)}
.dept-brand-list::-webkit-scrollbar{display:none}
.dept-brand-list .dept-chip{scroll-snap-align:start}
@media (max-width:480px){.dept-chip{font-size:11px;padding:6px 10px}}

/* ============ LOGOS / PÁGINA DE MARCAS (marcas.html) ============ */
.marcas-view{max-width:1080px;margin:0 auto;padding:20px 14px 96px}
.marcas-block{margin-top:16px}
.marcas-block h2{font-size:16px;font-weight:800;color:var(--ink);margin-bottom:10px}
.marcas-filters{margin:0 0 12px}
.mf-row{display:flex;align-items:center;gap:8px;margin-bottom:8px}
.mf-label{font-size:10.5px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:var(--faint);flex:0 0 46px}
.mf-chips{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}
.mf-chips::-webkit-scrollbar{display:none}
.mf-chip{white-space:nowrap;border:1px solid var(--line);background:var(--paper);border-radius:999px;padding:7px 13px;font-size:12px;font-weight:700;color:var(--ink);cursor:pointer}
.mf-chip.on{background:var(--primary-soft);border-color:var(--primary-deep);color:var(--primary-deep)}
.brand-logo{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,#faf6f3,#ece5d9);display:grid;place-items:center;overflow:hidden;flex:0 0 auto}
.brand-logo img{width:100%;height:100%;object-fit:contain;padding:6px}
.brand-logo--light img{filter:invert(1)}
.brand-mono{font-size:12px;font-weight:800;color:var(--primary-deep);letter-spacing:.02em}
.brand-pill{min-width:92px;display:grid;justify-items:center;gap:6px;background:var(--paper);border:1px solid var(--line-soft);border-radius:var(--radius);padding:10px 8px;box-shadow:0 3px 10px rgba(38,37,29,.05);scroll-snap-align:start}
.brand-pill:active{background:var(--bg-soft)}
.brand-pill .brand-logo{width:52px;height:52px}
.brand-pill .bp-name{font-size:10.5px;font-weight:700;text-align:center;line-height:1.25;max-width:84px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.marcas-strip{display:flex;gap:10px;overflow-x:auto;margin:0 -14px;padding:2px 14px 14px;scrollbar-width:none}
.marcas-strip::-webkit-scrollbar{display:none}
.marcas-strip .brand-pill{min-width:96px}
.marcas-search{display:flex;align-items:center;gap:8px;background:var(--bg-soft);border:1px solid var(--line);border-radius:22px;padding:0 10px 0 13px;height:40px;margin-bottom:12px}
.marcas-search svg{width:17px;height:17px;color:var(--faint);min-width:17px}
.marcas-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;font:inherit;font-size:14px;color:var(--ink)}
.marcas-search input::placeholder{color:var(--faint)}
.marcas-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.marca-card{display:flex;align-items:center;gap:10px;background:var(--paper);border:1px solid var(--line-soft);border-radius:var(--radius);padding:12px;min-width:0}
.marca-card:active{background:var(--bg-soft)}
.marca-card .brand-logo{width:46px;height:46px;border-radius:12px}
.marca-card .mc-main{display:grid;gap:2px;min-width:0}
.marca-card .mc-name{font-size:12.5px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.marca-card .mc-count{font-size:11px;color:var(--green);font-weight:700}
.marca-card .mc-count.coming{color:var(--faint);font-weight:600}
.marca-card.em-breve{opacity:.72}
.marcas-empty{font-size:13px;color:var(--muted);text-align:center;padding:12px 0}
@media (max-width:420px){.marcas-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px}.marca-card{padding:10px;gap:8px}.marca-card .brand-logo{width:40px;height:40px}}

/* ============ VITRINE / RAIL ============ */
.vitrine{margin-top:20px}
.vitrine-head{display:flex;align-items:center;justify-content:space-between;padding:0 14px;margin-bottom:10px}
.vitrine-head h2{font-size:17px;font-weight:800;line-height:1.2;padding-right:8px}
.vitrine-head a{font-size:12px;font-weight:600;color:var(--green);white-space:nowrap}
.cat-filters{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;align-items:center;padding:0 12px 10px}
@media (max-width:540px){
  .dept-scroll,.cat-filters{gap:6px;padding-left:10px;padding-right:10px}
  .dept-chip{font-size:clamp(9.5px,2.9vw,11px);padding:6px clamp(7px,2.1vw,10px)}
}
.cat-filters::-webkit-scrollbar{display:none}
.rail{display:flex;gap:10px;overflow-x:auto;padding:2px 12px 14px;scroll-snap-type:x proximity;scrollbar-width:none}
.rail::-webkit-scrollbar{display:none}

/* ============ PRODUCT CARD ============ */
.pcard{min-width:150px;width:150px;scroll-snap-align:start;background:var(--paper);border:1px solid var(--line-soft);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;box-shadow:0 3px 10px rgba(38,37,29,.05)}
.pcard-img{position:relative;aspect-ratio:1;background:linear-gradient(135deg,#faf6f3,#f0e9e4);display:grid;place-items:center}
.pcard-img img{width:100%;height:100%;object-fit:cover}
.pcard-img .pcard-placeholder{color:var(--faint);font-size:11px;font-weight:600}
.pcard-badge{position:absolute;top:8px;left:8px;background:var(--green-soft);color:var(--green-deep);font-size:9px;font-weight:700;padding:4px 7px;border-radius:6px;display:inline-flex;align-items:center;gap:3px}
.pcard-badge svg{width:11px;height:11px;flex:none}
.pcard-fav{position:absolute;top:6px;right:6px;width:28px;height:28px;border-radius:50%;background:rgba(255,255,255,.9);display:grid;place-items:center;color:var(--faint);box-shadow:0 2px 6px rgba(0,0,0,.12)}
.pcard-fav.on{color:#e5484d}
.pcard-fav svg{width:15px;height:15px}
.pcard-body{padding:9px 10px 11px;display:flex;flex-direction:column;gap:4px;flex:1}
.pcard-title{font-size:12px;line-height:1.3;font-weight:500;color:var(--ink);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:31px}
.pcard-rating{display:flex;align-items:center;gap:4px;font-size:11px}
.stars{color:var(--star);letter-spacing:1px;font-size:9px}
.pcard-rating .vs-rating{color:var(--muted)}
.pcard-new{display:inline-flex;background:var(--primary-soft);color:var(--primary-deep);font-size:9px;font-weight:700;padding:2px 6px;border-radius:5px}
.off-tag{display:inline-flex;background:var(--green-soft);color:var(--green-deep);font-size:11px;font-weight:800;border-radius:6px;padding:3px 6px;align-self:flex-start}
.pcard-price{display:flex;align-items:baseline;gap:4px;flex-wrap:wrap}
.pcard-price strong{font-size:17px;font-weight:800;color:var(--ink)}
.pcard-price .pcard-pix{font-size:10px;color:var(--green-deep);font-weight:700}
.pcard-old{font-size:11px;color:var(--faint);text-decoration:line-through}
.pcard-install{font-size:10px;color:var(--muted)}
.pcard-add{margin-top:auto;padding:7px 0;border-radius:9px;background:var(--primary);color:#26251d;font-size:12px;font-weight:600;text-align:center}
.pcard-add:active{background:var(--primary-deep);color:#fff}

/* ============ MID BANNER ============ */
.mid-banner{margin:2px 12px 4px;position:relative;border-radius:var(--radius);overflow:hidden;min-height:120px;background:linear-gradient(120deg,#14592f,#23a455);color:#fff;display:flex;align-items:center;padding:16px 18px;box-shadow:var(--shadow-pop)}
.mid-banner .mb-copy{display:grid;gap:5px;position:relative;z-index:1}
.mid-banner small{text-transform:uppercase;letter-spacing:.13em;font-size:9px;font-weight:700;color:#d9f6e5}
.mid-banner h2{font-size:19px;font-weight:800;line-height:1.15;max-width:280px}
.mid-banner p{font-size:11px;color:#eafbe8;max-width:260px}
.mid-banner a{justify-self:start;margin-top:6px;background:#fff;color:var(--green-deep);font-weight:700;font-size:12px;padding:8px 14px;border-radius:18px}
.mid-banner img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

/* ============ MARCA CHIP ============ */
.brand-chip{min-width:120px;display:flex;align-items:center;gap:10px;background:var(--paper);border:1px solid var(--line-soft);border-radius:var(--radius);padding:12px;box-shadow:0 3px 10px rgba(38,37,29,.05)}
.brand-chip .bc-thumb{width:44px;height:44px;min-width:44px;border-radius:10px;background:linear-gradient(135deg,#faf6f3,#ece5d9);display:grid;place-items:center;overflow:hidden;font-size:14px;font-weight:800;color:var(--primary-deep)}
.brand-chip .bc-thumb img{width:100%;height:100%;object-fit:cover}
.brand-chip .bc-name{font-size:12px;font-weight:700;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.brand-chip .bc-tag{font-size:10px;color:var(--green);font-weight:600}

/* ============ SEARCH OVERLAY ============ */
.search-overlay{position:fixed;top:126px;left:0;right:0;z-index:45;max-width:560px;margin:0 auto;background:var(--paper);border-radius:0 0 var(--radius) var(--radius);box-shadow:var(--shadow-pop);max-height:70dvh;overflow:auto;padding:14px}
.search-overlay-label{font-size:12px;color:var(--muted);font-weight:600;margin-bottom:10px}
.search-result{display:flex;gap:10px;align-items:center;padding:8px;border-radius:10px}
.search-result:active{background:var(--bg-soft)}
.search-result .sr-img{width:44px;height:44px;min-width:44px;border-radius:8px;overflow:hidden;background:var(--bg-soft)}
.search-result .sr-img img{width:100%;height:100%;object-fit:cover}
.search-result strong{font-size:12px;font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.search-result small{font-size:12px;color:var(--green-deep);font-weight:700}

/* ============ SHEETS ============ */
.sheet-backdrop{position:fixed;inset:0;background:rgba(36,24,28,.45);z-index:50}
.sheet{position:fixed;z-index:51;left:0;right:0;bottom:0;max-width:560px;margin:0 auto;background:var(--paper);border-radius:18px 18px 0 0;max-height:82dvh;display:flex;flex-direction:column;transform:translateY(110%);transition:transform .3s ease}
.sheet.is-open{transform:translateY(0)}
.sheet-head{display:flex;align-items:center;justify-content:space-between;padding:18px 18px 12px;border-bottom:1px solid var(--line-soft)}
.sheet-head h2{font-size:17px;font-weight:800}
.sheet-close{width:32px;height:32px;border-radius:50%;background:var(--bg-soft);font-size:20px;line-height:1;color:var(--muted)}
.sheet-sub{padding:10px 18px 0;font-size:12px;color:var(--muted)}
.sheet-body{padding:14px 18px;overflow:auto;display:grid;gap:12px}
.sheet-body:empty::after{content:"Sua sacola está vazia.";color:var(--faint);font-size:13px;padding:30px 0;justify-self:center}
.sheet-foot{padding:14px 18px 22px;border-top:1px solid var(--line-soft);display:grid;gap:10px}
.cart-item{display:flex;gap:10px;align-items:center;padding:8px;border:1px solid var(--line-soft);border-radius:var(--radius-sm)}
.cart-item .ci-img{width:52px;height:52px;min-width:52px;border-radius:8px;overflow:hidden;background:var(--bg-soft)}
.cart-item .ci-img img{width:100%;height:100%;object-fit:cover}
.cart-item .ci-main{flex:1;min-width:0}
.cart-item .ci-main strong{display:block;font-size:12px;font-weight:600;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.cart-item .ci-main small{font-size:11px;color:var(--green-deep);font-weight:700}
.cart-item .ci-remove{color:var(--faint);font-size:18px;padding:6px}
.cart-item .ci-qty{display:inline-flex;align-items:center;gap:8px;margin-top:4px;font-size:12px}
.cart-item .ci-qty button{width:22px;height:22px;border-radius:50%;background:var(--bg-soft);font-size:15px;line-height:1;color:var(--muted)}
.cart-total{display:flex;justify-content:space-between;align-items:baseline}
.cart-total span{font-size:13px;color:var(--muted)}
.cart-total strong{font-size:20px;font-weight:800}
.btn-checkout{display:flex;align-items:center;justify-content:center;gap:8px;background:linear-gradient(120deg,#218c62,#1d7a45);color:#fff;font-weight:700;font-size:14px;padding:13px;border-radius:12px;box-shadow:0 6px 14px rgba(29,122,69,.25);border:none;cursor:pointer;text-decoration:none}
.btn-checkout svg{width:18px;height:18px;flex:none}
.btn-checkout.mp{background:linear-gradient(120deg,#009ee3,#02a6f0);box-shadow:0 6px 14px rgba(2,140,220,.25)}
.btn-checkout.mp[hidden]{display:none}
.sheet-foot .btn-checkout{width:100%}
.cart-note{font-size:11px;color:var(--muted)}

/* ============ BOTTOM NAV ============ */
.bottom-nav{position:fixed;z-index:40;bottom:0;left:0;right:0;max-width:560px;margin:0 auto;background:#fdfbf7;border-top:1px solid var(--line);display:flex;padding-bottom:env(safe-area-inset-bottom)}
.bottom-nav a{flex:1;display:grid;justify-items:center;gap:1px;padding:8px 0 7px;color:var(--muted);font-size:9px;font-weight:600;position:relative}
.bottom-nav a.active{color:#0b6fa8}
.bottom-nav a svg{width:22px;height:22px}
.bottom-nav a .badge{position:absolute;top:4px;right:calc(50% - 14px);min-width:15px;height:15px;padding:0 3px;border-radius:8px;background:var(--amber);color:#3c2400;font-size:9px;font-style:normal;font-weight:800;display:grid;place-items:center}
@media (max-width:340px){
  .bottom-nav a{font-size:0;padding:7px 0 6px}
  .bottom-nav a span{display:none}
  .bottom-nav a svg{width:21px;height:21px}
}

/* ============ TOAST ============ */
.toast{position:fixed;z-index:60;bottom:calc(78px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);background:var(--ink);color:#fff;font-size:12px;font-weight:600;padding:11px 18px;border-radius:24px;box-shadow:var(--shadow-pop);white-space:nowrap}

/* ============ ACCOUNT PAGES ============ */
.account-page{background:linear-gradient(180deg,#f7f3ea 0,#fcfaf7 38%,#fcfaf7 38%);min-height:100dvh;padding-bottom:110px}

/* Rodapé institucional (index) */
.rail.is-loading{display:flex;gap:10px;overflow:hidden}
.rail.is-loading.rail-grid{display:grid;grid-template-columns:repeat(2,1fr)}
.rail-shimmer{flex:0 0 150px;height:240px;border-radius:14px;background:
  linear-gradient(100deg,var(--bg-soft) 40%,#fff 50%,var(--bg-soft) 60%);
  background-size:200% 100%;animation:shimmer 1.2s infinite}
@keyframes shimmer{to{background-position:-200% 0}}
@media (min-width:600px){.rail-shimmer{flex:0 0 190px}}
.site-footer{max-width:560px;margin:0 auto;padding:112px 18px 58px;background:var(--bg-soft);display:grid;gap:30px}
.site-footer-brand{display:grid;gap:12px;color:var(--muted)}
.site-footer-brand picture{display:block}
.site-footer-logo{width:150px;height:50px;border-radius:0;object-fit:contain;object-position:left center;flex:0 0 auto}
.site-footer-brand p{font-size:12px;line-height:1.65;margin:0;max-width:320px}
.site-footer-links{display:grid;grid-template-columns:1fr;gap:0;margin-top:24px;padding-top:24px}
.site-footer-links h2{grid-column:1/-1;margin:0 0 12px;font-size:11px;line-height:1;text-transform:uppercase;letter-spacing:.16em;color:var(--faint);font-weight:800}
.site-footer-links a{font-size:12.5px;font-weight:600;color:var(--primary-deep);text-decoration:none;padding:4px 0}
.site-footer-links a:hover{text-decoration:underline}
.site-footer-bottom{display:grid;gap:7px;padding-top:16px}
.site-footer-meta,.site-footer-copyright{font-size:11px;color:var(--muted);margin:0;line-height:1.5}
.site-footer-copyright{color:var(--faint);font-size:10.5px}
.site-footer-copyright span{padding:0 4px;color:var(--primary)}
.account-page .bottom-nav{display:flex}
.account-appbar{display:grid;grid-template-columns:38px 1fr 38px;align-items:center;height:56px;padding:0 14px;color:var(--ink);position:sticky;top:0;z-index:20;background:linear-gradient(120deg,#f7f3ea,#fbf9f3)}
.appbar-back{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;color:var(--ink);justify-self:start}
.appbar-back:active{background:rgba(184,148,79,.16)}
.appbar-back svg{width:20px;height:20px}
.appbar-title{font-size:16px;font-weight:700;letter-spacing:.02em;text-align:center}
.appbar-side{width:38px;height:38px}
.account-view{max-width:440px;margin:0 auto;padding:22px 16px 0}
.account-intro{color:var(--ink)}
.account-intro h1{font-size:26px;font-weight:800;line-height:1.1}
.account-intro>p:not(.eyebrow){color:#6b6656;font-size:13px;margin-top:6px}
.profile-head{display:flex;flex-direction:column;align-items:center;gap:9px;color:var(--ink);margin:10px 2px 0;text-align:center}
.profile-avatar{width:64px;height:64px;border-radius:50%;background:#fff;display:grid;place-items:center;overflow:hidden;box-shadow:0 4px 12px rgba(38,37,29,.10)}
.profile-avatar img{width:100%;height:100%;object-fit:cover}
.profile-silhouette{width:100%;height:100%;display:grid;place-items:center;font-weight:800;font-size:22px;color:var(--primary-deep)}
.profile-head strong{font-size:17px;font-weight:800;line-height:1.2}
.profile-head small{font-size:12px;color:#6b6656}
.account-card{background:var(--paper);border:1px solid var(--line-soft);border-radius:16px;padding:22px;margin-top:20px;box-shadow:0 14px 30px rgba(38,37,29,.06)}
.policy-note{margin-top:18px;background:var(--primary-soft);border:1px solid color-mix(in srgb,var(--primary) 25%,transparent);border-radius:14px;padding:14px 16px;font-size:13px;line-height:1.55;color:var(--ink)}
.policy-note strong{font-weight:700}
.policy-note em{font-style:normal;font-weight:800;color:var(--primary-deep)}
.policy-card{background:var(--paper);border:1px solid var(--line-soft);border-radius:16px;padding:20px 22px;margin-top:14px}
.policy-card h2{font-size:16px;font-weight:800;color:var(--ink);margin-bottom:8px}
.policy-card p{font-size:13px;line-height:1.65;color:#6b6656}
.policy-card ul,.policy-card ol{margin:6px 0 0;padding-inline-start:18px;display:grid;gap:8px}
.policy-card li{font-size:13px;line-height:1.6;color:#6b6656}
.policy-card li::marker{color:var(--primary)}
.policy-foot{margin:20px 2px 0;font-size:12.5px;line-height:1.6;color:#6b6656}
.policy-foot em{font-style:normal;font-weight:700;color:var(--ink)}
.orders-list{display:grid;gap:12px;margin-top:20px}
.order-card{background:var(--paper);border:1px solid var(--line-soft);border-radius:16px;padding:16px 18px}
.order-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.order-head strong{font-size:14px}.order-head span{font-size:11px;font-weight:700;color:var(--primary-deep);text-align:right}
.order-card p,.order-card small{font-size:12px;color:var(--muted);margin:7px 0 0}.order-items{display:grid;gap:4px;margin-top:12px;font-size:12px;color:var(--ink)}
.order-troca-wrap{margin-top:12px}.order-troca{font-size:12.5px}
.order-empty{text-align:center}.account-loading{font-size:13px;color:var(--muted);text-align:center;padding:18px}
.profile-form{display:grid;gap:12px}.profile-form h2{font-size:16px;margin:0 0 2px}.profile-form label{display:grid;gap:6px;font-size:12px;font-weight:600;color:var(--muted)}.profile-form label small{font-weight:400}.profile-form input{width:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:10px;background:#fff;padding:11px;font:inherit;font-size:14px}.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.profile-grid label:nth-child(3),.profile-grid label:nth-child(6),.profile-grid label:nth-child(7){grid-column:1/-1}
.notifications-list{display:grid;gap:12px;margin-top:20px}.notification-card{background:var(--paper);border:1px solid var(--line-soft);border-radius:16px;padding:16px 18px}.notification-card>div{display:flex;justify-content:space-between;gap:12px}.notification-card strong{font-size:14px}.notification-card span,.notification-card p{font-size:12px;color:var(--muted)}.notification-card p{margin:8px 0}.notification-card a{font-size:12px;font-weight:700;color:var(--primary-deep)}
.account-card form{display:grid;gap:14px}
.account-card-heading{font-size:18px;font-weight:700;color:var(--ink);margin:0 0 14px}
.account-card label{display:grid;gap:7px;font-size:12px;font-weight:600;color:var(--muted)}
.account-card input{width:100%;border:1px solid var(--line);border-radius:10px;background:#fff;padding:12px;font:inherit;font-size:14px;outline-color:var(--primary)}
.account-card input:focus{border-color:var(--primary)}
.account-tabs{display:grid;grid-template-columns:1fr 1fr;background:var(--bg-soft);border-radius:12px;padding:4px;margin-bottom:20px}
.account-tabs button{padding:11px 5px;color:var(--muted);font-size:12px;font-weight:600;border-radius:9px}
.account-tabs button.active{background:#fff;color:var(--primary-deep);box-shadow:0 2px 8px rgba(38,37,29,.06)}
.forgot-link{font-size:12px;color:var(--primary);font-weight:600;text-align:right}
.account-submit{padding:13px;border-radius:12px;background:linear-gradient(120deg,#b8944f,#a5823f);color:#26251d;font-weight:700;font-size:14px;box-shadow:0 6px 14px rgba(165,130,63,.30)}
.account-note{font-size:11px;color:var(--muted);text-align:center}
.account-divider{text-align:center;font-size:10px;color:var(--faint);letter-spacing:.12em;display:flex;align-items:center;gap:10px}
.account-divider:before,.account-divider:after{content:"";flex:1;height:1px;background:var(--line-soft)}
.guest-link{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:12px;border:1px solid var(--line);border-radius:12px;font-weight:700;font-size:13px;color:var(--ink)}
.guest-link:active{background:var(--bg-soft)}
.guest-link svg{width:17px;height:17px}
.logout-button{width:100%;padding:15px;border-radius:14px;border:1px solid #e8dfce;color:#8f6e2c;font-weight:700;font-size:14px;background:#fff;margin-top:24px}
.profile-menu{margin-top:20px}
.menu-group{font-size:12px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.08em;padding:18px 4px 8px}
.menu-block{background:var(--paper);border:1px solid var(--line-soft);border-radius:16px;overflow:hidden;box-shadow:0 14px 30px rgba(38,37,29,.05)}
.menu-block .menu-item + .menu-item{border-top:1px solid var(--line-soft)}
.menu-item{display:flex;align-items:center;gap:12px;padding:15px 16px;color:var(--ink);font-size:14px;font-weight:500}
.menu-item:active{background:var(--bg-soft)}
.menu-item > svg:first-child{width:20px;height:20px;min-width:20px;color:var(--primary)}
.menu-item span{flex:1;min-width:0}
.menu-item .menu-badge{flex:none;min-width:20px;width:20px}
.menu-badge{flex:none;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--amber);color:#3c2400;font-size:11px;font-weight:800;display:grid;place-items:center}
.menu-arrow{width:16px;height:16px;min-width:16px;color:var(--faint)}
.club-card{background:linear-gradient(120deg,#fdfaf4,#f7f1e4);border:1px solid var(--line-soft);border-radius:16px;padding:22px;color:var(--ink);margin-top:20px;position:relative;overflow:hidden}
.club-card:before{content:"";position:absolute;right:-40px;top:-40px;width:140px;height:140px;border:1px solid rgba(184,148,79,.28);border-radius:50%}
.club-eyebrow{font-size:9px;letter-spacing:.18em;text-transform:uppercase;font-weight:700;color:#a5823f;margin-bottom:4px}
.club-card strong{font-size:15px;font-weight:800}
.club-card>p:not(.club-eyebrow){font-size:13px;color:#6b6656;margin-top:6px}
.club-cta{display:inline-block;margin-top:12px;background:var(--primary);color:#26251d;font-weight:700;font-size:12px;padding:9px 16px;border-radius:18px}
.form-feedback{font-size:12px;font-weight:600}
.form-feedback.ok,.form-feedback.success{color:var(--green)}
.form-feedback.err,.form-feedback.error{color:#b3261e}

/* ============ TABLET / CELULARES MAIORES (>=600px) ============ */
@media(min-width:600px){
  .home,.bottom-nav,.search-overlay,.sheet{max-width:720px}
  .hero-slide{min-height:190px}
  .hero-slide h2{font-size:26px;max-width:360px}
  .shortcut{min-width:70px;font-size:11px}
  .sc-icon{width:58px;height:58px}
  .sc-icon svg{width:26px;height:26px}
  .pcard{flex:1;min-width:168px;max-width:196px}
  .pcard-title{font-size:12px}
  .vitrine-head h2{font-size:18px}
  .brand-chip{min-width:140px}
}

/* ============ DESKTOP / TABLET PAISAGEM (>=1024px) ============ */
@media(min-width:1024px){
  .home,.bottom-nav,.search-overlay,.sheet{max-width:1120px}
  .hero-slide{min-height:300px;padding:28px 26px}
  .hero-slide h2{font-size:34px;max-width:460px}
  .hero-slide p{font-size:15px;max-width:420px}
  .shortcuts{gap:16px;padding:18px 16px 8px}
  .shortcut{min-width:88px;font-size:12px}
  .sc-icon{width:70px;height:70px}
  .sc-icon svg{width:30px;height:30px}
  .pcard{flex:1;min-width:205px;max-width:255px}
  .pcard-title{font-size:13px}
  .vitrine-head h2{font-size:21px}
  .vitrine-head{padding:0 16px}
  .brand-chip{min-width:165px}
  .mid-banner h2{font-size:26px}
}
body{padding-bottom:calc(72px + env(safe-area-inset-bottom))}

/* ============ PDP / extras ============ */
.stars{position:relative;display:inline-block;color:#e6dfd2;letter-spacing:1px;font-size:10px;line-height:1}
.stars>span{position:absolute;inset-inline-start:0;top:0;overflow:hidden;color:var(--star);white-space:nowrap}
.pcard-img.noimg{background:repeating-linear-gradient(45deg,#f6f2ef,#f6f2ef 8px,#efe8e3 8px,#efe8e3 16px)}
.pdp-imgs{overflow:hidden;border-radius:var(--radius);border:1px solid var(--line-soft)}
.pdp-img{min-width:100%;width:100%;aspect-ratio:1/1;object-fit:cover}
.pdp-name{font-size:17px;font-weight:800;line-height:1.25}
.pdp-notes{font-size:12px;color:var(--muted)}
.pdp-label{font-size:11px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}
.pdp-variants{display:grid;gap:6px}
.variant-chip{flex:1;min-width:92px;border:1px solid var(--line);border-radius:10px;padding:9px;display:grid;gap:2px;text-align:left;background:#fff}
.variant-chip.on{border-color:var(--primary);background:var(--primary-soft)}
.variant-chip b{font-size:12px;font-weight:700}
.variant-chip small{font-size:11px;color:var(--green-deep);font-weight:700}
.brand-chip .bc-grid{display:grid;gap:2px;min-width:0}
.sheet-body .rail{flex-wrap:nowrap}

/* PDP rico: selos de confiança, descrição, relacionados e FAQ */
.pdp-extra{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:4px 0}
.pdp-trust{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:600;color:var(--muted);
  background:var(--bg-soft);border:1px solid var(--line-soft);border-radius:10px;padding:9px 10px}
.pdp-trust svg{width:15px;height:15px;flex:0 0 auto;color:var(--primary-deep)}
.pdp-desc{border:1px solid var(--line-soft);border-radius:12px;background:#fff;margin-top:12px}
.pdp-desc summary,.pdp-faq summary{list-style:none;font-size:13px;font-weight:700;color:var(--ink);padding:12px 14px;cursor:pointer;display:flex;justify-content:space-between;align-items:center}
.pdp-desc summary::after,.pdp-faq summary::after{content:"";width:8px;height:8px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg);transition:transform .2s;flex:0 0 auto}
.pdp-desc[open] summary::after,.pdp-faq[open] summary::after{transform:rotate(-135deg)}
.pdp-desc>div{padding:0 14px 14px;font-size:12.5px;line-height:1.6;color:var(--ink)}
.pdp-desc>div *{font-size:12.5px;line-height:1.6}
.pdp-relblock,.pdp-faqblock{margin-top:16px;padding-top:14px;border-top:1px solid var(--line-soft)}
.pdp-relblock h4,.pdp-faqblock h4{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.4px;color:var(--muted);margin-bottom:10px}
.pdp-faq{border:1px solid var(--line-soft);border-radius:10px;background:#fff}
.pdp-faq+.pdp-faq{margin-top:8px}
.pdp-faq>div{padding:0 14px 12px;font-size:12.5px;line-height:1.6;color:var(--muted)}

/* ============ CATÁLOGO EM GRADE (rola pra baixo) ============ */
.rail-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;padding:2px 12px 14px;overflow:visible;scroll-snap-type:none}
.rail-grid .pcard{min-width:0;width:auto;max-width:none;scroll-snap-align:start}
.vitrine-note{font-size:12px;font-weight:600;color:var(--muted);white-space:nowrap}
.cat-empty{grid-column:1/-1;text-align:center;color:var(--muted);font-size:13px;padding:28px 12px}
@media(min-width:600px){
  .rail-grid{grid-template-columns:repeat(3,1fr)}
  .rail-grid .pcard{min-width:0;width:auto;max-width:none}
}
@media(min-width:1024px){
  .rail-grid{grid-template-columns:repeat(4,1fr)}
  .rail-grid .pcard{min-width:0;width:auto;max-width:none}
}

/* ============ AVALIAÇÕES (compra verificada) ============ */
.rv-page{display:grid;gap:12px;margin-top:8px}
.rv-hero .rv-summary{background:var(--paper);border:1px solid var(--line-soft);border-radius:14px;padding:14px 16px}
.rv-box{display:grid;gap:10px}
.rv-head{display:flex;align-items:baseline;gap:8px}
.rv-head strong{font-size:15px;font-weight:800}
.rv-count{font-size:11px;color:var(--muted);font-weight:700}
.rv-summary{display:flex;align-items:center;gap:8px;font-size:13px}
.rv-summary .stars{font-size:13px}
.rv-summary b{font-weight:800}
.rv-list{display:grid;gap:10px}
.rv-item{background:#fff;border:1px solid var(--line-soft);border-radius:12px;padding:11px 12px;display:grid;gap:4px}
.rv-stars{color:var(--star);letter-spacing:1px;font-size:11px}
.rv-text{font-size:13px;line-height:1.45;color:var(--ink)}
.rv-meta{font-size:11px;color:var(--muted)}
.rv-meta b{font-weight:700}
.rv-empty{font-size:13px;color:var(--muted)}
.rv-cta{justify-self:start;margin-top:2px;background:var(--primary);color:#26251d;font-weight:700;font-size:12px;padding:9px 16px;border-radius:18px}
.rv-cta:active{background:var(--primary-deep);color:#fff}
.rv-form{display:grid;gap:10px;margin-top:2px}
.rv-fnotes{font-size:11px;color:var(--muted);line-height:1.45}
.rv-starpick{display:flex;gap:4px}
.rv-starpick button{font-size:26px;line-height:1;color:var(--line);cursor:pointer;transition:color .15s}
.rv-starpick button.on{color:var(--star)}
.rv-field{display:grid;gap:5px}
.rv-field span{font-size:11px;font-weight:700;color:var(--muted)}
.rv-field input,.rv-field textarea{width:100%;border:1px solid var(--line);border-radius:10px;background:#fff;padding:10px 12px;font:inherit;font-size:13px;outline-color:var(--primary);color:var(--ink);resize:vertical}
.rv-field input:focus,.rv-field textarea:focus{border-color:var(--primary)}
.rv-err{font-size:12px;font-weight:600;color:#b3261e}
.rv-submit{justify-self:start;background:linear-gradient(120deg,#b8944f,#a5823f);color:#26251d;font-weight:700;font-size:13px;padding:11px 18px;border-radius:20px}
.rv-submit:disabled{opacity:.55;pointer-events:none}
