:root{
  --bg:#F3F1EC;
  --surface:#FFFFFF;
  --surface-2:#EAE6DD;
  --text:#18181A;
  --text-muted:#66625A;
  --border:#DEDAD0;
  --red:#C81C15;
  --red-deep:#8C0F0C;
  --red-tint:#F3D9D6;
  --dust:#A85A28;
  --on-red:#FBEAE8;
  --wa:#1EA952;
  --wa-deep:#157A3B;
  --shadow: 0 18px 40px -20px rgba(20,16,12,0.35);
  --focus: #1B6FE0;
  color-scheme: light;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#0B0B0C;
    --surface:#17171A;
    --surface-2:#1F1F22;
    --text:#F2F0EA;
    --text-muted:#9C978E;
    --border:#2B2B2E;
    --red:#E3241C;
    --red-deep:#7A140F;
    --red-tint:#3A1613;
    --dust:#C97A3D;
    --on-red:#FBEAE8;
    --wa:#25D366;
    --wa-deep:#189146;
    --shadow: 0 24px 60px -20px rgba(0,0,0,0.6);
    --focus:#5CA0FF;
    color-scheme: dark;
  }
}
:root[data-theme="dark"]{
  --bg:#0B0B0C;
  --surface:#17171A;
  --surface-2:#1F1F22;
  --text:#F2F0EA;
  --text-muted:#9C978E;
  --border:#2B2B2E;
  --red:#E3241C;
  --red-deep:#7A140F;
  --red-tint:#3A1613;
  --dust:#C97A3D;
  --on-red:#FBEAE8;
  --wa:#25D366;
  --wa-deep:#189146;
  --shadow: 0 24px 60px -20px rgba(0,0,0,0.6);
  --focus:#5CA0FF;
  color-scheme: dark;
}

*{box-sizing:border-box;}
/* regras de display dos componentes (flex/grid) vencem o [hidden] do navegador */
[hidden]{ display:none !important; }
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important;}
}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
img,svg{max-width:100%;display:block;}
a{color:inherit;}
.font-display{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:-0.01em;
  text-wrap:balance;
}
.font-mono{
  font-family:ui-monospace,"SFMono-Regular","Roboto Mono","Cascadia Code","Courier New",monospace;
}
.eyebrow{
  font-family:ui-monospace,"SFMono-Regular","Roboto Mono","Cascadia Code","Courier New",monospace;
  font-size:0.78rem;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--red);
  font-weight:700;
  margin:0 0 0.75rem;
}
.wrap{
  max-width:1160px;
  margin:0 auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
:focus-visible{
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:0.55rem;
  padding: 0.85rem 1.5rem;
  font-weight:700;
  font-size:0.95rem;
  border-radius:2px;
  border:2px solid transparent;
  cursor:pointer;
  text-decoration:none;
  white-space:nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color .15s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{
  background:var(--red);
  color:var(--on-red);
  box-shadow: 0 10px 24px -10px rgba(200,28,21,0.55);
}
.btn-primary:hover{ background:var(--red-deep); }
.btn-ghost{
  background:transparent;
  border-color:var(--border);
  color:var(--text);
}
.btn-ghost:hover{ border-color:var(--text); }
.btn-whatsapp{
  background:var(--wa);
  color:#06210F;
}
.btn-whatsapp:hover{ background:var(--wa-deep); color:#EAFBF1; }
.btn-whatsapp-outline{
  background:transparent;
  border-color:var(--wa);
  color:var(--text);
}
.btn-whatsapp-outline:hover{ background:var(--wa); border-color:var(--wa); color:#06210F; }
.btn-ml{
  background:var(--surface-2);
  border-color:var(--border);
  color:var(--text);
}
.btn-ml:hover{ border-color:var(--dust); }
.btn-sm{ padding:0.6rem 1rem; font-size:0.85rem; width:100%; justify-content:center; }
.btn-icon svg{ width:18px; height:18px; flex:none; }

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding-block:0.85rem;
  gap:1rem;
}
.logo{
  display:flex; flex-direction:column; text-decoration:none; line-height:1;
}
.logo-mark{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  font-weight:900;
  font-size:1.35rem;
  letter-spacing:-0.02em;
  color:var(--text);
}
.logo-mark span{ color:var(--red); }
.logo-sub{
  font-family:ui-monospace,"SFMono-Regular","Roboto Mono",monospace;
  font-size:0.6rem;
  letter-spacing:0.28em;
  color:var(--text-muted);
  margin-top:0.2rem;
}
.main-nav{ display:none; }
.main-nav ul{ list-style:none; display:flex; gap:1.75rem; margin:0; padding:0; }
.main-nav a{
  text-decoration:none; font-size:0.9rem; font-weight:600; color:var(--text-muted);
  transition:color .15s ease;
}
.main-nav a:hover{ color:var(--text); }
.header-actions{ display:flex; align-items:center; gap:0.75rem; }
.icon-link{
  display:inline-flex; align-items:center; justify-content:center;
  width:38px; height:38px; border-radius:2px; border:1px solid var(--border);
  color:var(--text); text-decoration:none; transition:border-color .15s ease, color .15s ease;
}
.icon-link:hover{ border-color:var(--red); color:var(--red); }
.icon-link svg{ width:18px; height:18px; }
.header-cta-text{ display:none; }
.nav-toggle{
  display:inline-flex; flex-direction:column; justify-content:center; gap:5px;
  width:38px; height:38px; border:1px solid var(--border); background:transparent;
  border-radius:2px; cursor:pointer; padding:0;
}
.nav-toggle span{ display:block; width:18px; height:2px; background:var(--text); margin-inline:auto; transition:transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
.mobile-nav{
  display:none;
  border-bottom:1px solid var(--border);
  background:var(--bg);
}
.mobile-nav.open{ display:block; }
.mobile-nav ul{ list-style:none; margin:0; padding:0.75rem clamp(1.25rem,4vw,2.5rem) 1.1rem; display:flex; flex-direction:column; gap:0.15rem; }
.mobile-nav a{
  display:block; padding:0.65rem 0; text-decoration:none; font-weight:600; color:var(--text);
  border-bottom:1px solid var(--border);
}
@media (min-width:860px){
  .main-nav{ display:block; }
  .header-cta-text{ display:inline; }
  .nav-toggle{ display:none; }
  .mobile-nav{ display:none !important; }
}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  overflow:hidden;
  background:var(--text);
  color:var(--bg);
  isolation:isolate;
}
:root:not([data-theme="light"]) .hero{ background:#0B0B0C; color:#F2F0EA; }
:root[data-theme="dark"] .hero{ background:#0B0B0C; color:#F2F0EA; }
.hero-wedge{
  position:absolute; inset:0;
  background: linear-gradient(115deg, transparent 46%, var(--red) 46%, var(--red-deep) 100%);
  opacity:0.94;
  z-index:0;
}
.hero-wedge::after{
  content:"";
  position:absolute; inset:0;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 34px);
}
.hero-inner{
  position:relative; z-index:1;
  padding-block: clamp(4.5rem, 12vw, 7.5rem) clamp(3.5rem, 9vw, 5.5rem);
  max-width:640px;
}
.hero .eyebrow{ color:#F7C9C6; }
:root[data-theme="light"] .hero .eyebrow{ color:#FFD9D6; }
.hero h1{
  margin:0 0 1.1rem;
  font-size:clamp(2.6rem, 6.4vw, 4.4rem);
  line-height:0.98;
  color:#F5F3ED;
}
.hero-sub{
  font-size:clamp(1rem, 1.6vw, 1.15rem);
  color:#D9D5CC;
  max-width:34ch;
  margin:0 0 2rem;
}
.hero-actions{ display:flex; flex-wrap:wrap; gap:0.9rem; margin-bottom:0.85rem; }
.hero .btn-ghost{ border-color:rgba(245,243,237,0.4); color:#F5F3ED; }
.hero .btn-ghost:hover{ border-color:#F5F3ED; }
.hero-fitment{
  font-family:ui-monospace,"SFMono-Regular","Roboto Mono",monospace;
  font-size:0.78rem;
  letter-spacing:0.06em;
  color:#B9B4A9;
  border-top:1px solid rgba(245,243,237,0.18);
  padding-top:1rem;
}
.hero-fitment b{ color:#F5F3ED; }

/* ---------- Trust strip ---------- */
.trust-strip{
  border-bottom:1px solid var(--border);
  background:var(--surface);
}
.trust-strip ul{
  list-style:none; margin:0; padding:0;
  display:grid; grid-template-columns:repeat(2,1fr); gap:1px;
  background:var(--border);
}
@media (min-width:720px){ .trust-strip ul{ grid-template-columns:repeat(4,1fr); } }
.trust-strip li{
  background:var(--surface);
  padding:1.1rem 1rem;
  display:flex; align-items:center; gap:0.6rem;
  font-family:ui-monospace,"SFMono-Regular","Roboto Mono",monospace;
  font-size:0.78rem;
  letter-spacing:0.04em;
  text-transform:uppercase;
  color:var(--text-muted);
}
.trust-strip svg{ width:16px; height:16px; color:var(--red); flex:none; }

/* ---------- Section shell ---------- */
#top, #produtos, #por-que, #faq{ scroll-margin-top: 84px; }
section{ padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-head{ max-width:56ch; margin-bottom:2.75rem; }
.section-head h2{ margin:0 0 0.85rem; font-size:clamp(1.8rem, 3.6vw, 2.5rem); }
.section-head p{ color:var(--text-muted); font-size:1rem; margin:0; }

/* ---------- Products ---------- */
.product-grid{
  display:grid; grid-template-columns:1fr; gap:1.25rem;
}
@media (min-width:700px){ .product-grid{ grid-template-columns:repeat(2,1fr); } }
.product-card{
  background:var(--surface);
  border:1px solid var(--border);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  padding:1.75rem 1.75rem 1.5rem;
  display:flex; flex-direction:column; gap:1rem;
  box-shadow:var(--shadow);
  position:relative;
}
.product-card.featured{
  border-color:var(--red);
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface) 70%, var(--red-tint) 180%);
}
@media (min-width:700px){ .product-card.featured{ grid-column: span 2; flex-direction:row; align-items:stretch; } }
.badge{
  position:absolute; top:0; right:0;
  background:var(--red); color:var(--on-red);
  font-family:ui-monospace,"SFMono-Regular","Roboto Mono",monospace;
  font-size:0.68rem; font-weight:700; letter-spacing:0.08em;
  padding:0.4rem 1.6rem 0.4rem 0.9rem;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 12px 100%);
  z-index:1;
}
.card-icon{
  width:100%;
  aspect-ratio: 4 / 3;
  border-radius:2px;
  background:var(--surface-2);
  border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
}
.card-icon img{ width:100%; height:100%; object-fit:contain; padding:0.85rem; }
@media (min-width:700px){ .product-card.featured .card-icon{ flex:none; width:230px; aspect-ratio:1; } }
.card-body{ flex:1; }
.product-card h3{ margin:0 0 0.4rem; font-size:1.18rem; line-height:1.25; }
.product-card .fitment{
  font-family:ui-monospace,"SFMono-Regular","Roboto Mono",monospace;
  font-size:0.72rem; letter-spacing:0.05em; text-transform:uppercase;
  color:var(--dust); margin:0 0 0.6rem; font-weight:700;
}
.product-card p.desc{ margin:0; color:var(--text-muted); font-size:0.92rem; }
.price-block{ margin:0.75rem 0 0.15rem; }
.price-line{
  display:flex; align-items:baseline; gap:0.5rem; margin:0;
  font-variant-numeric: tabular-nums;
}
.price-line b{
  font-family:ui-monospace,"SFMono-Regular","Roboto Mono",monospace;
  color:var(--text); font-size:1.15rem; font-variant-numeric: tabular-nums;
}
.price-was{
  font-family:ui-monospace,"SFMono-Regular","Roboto Mono",monospace;
  color:var(--text-muted); font-size:0.85rem; font-weight:400;
}
.off-tag{
  background:var(--red); color:var(--on-red);
  font-size:0.65rem; font-weight:700; letter-spacing:0.03em;
  padding:0.15rem 0.4rem; border-radius:2px;
}
.price-installments{
  margin:0.3rem 0 0;
  font-family:ui-monospace,"SFMono-Regular","Roboto Mono",monospace;
  font-size:0.72rem; color:var(--text-muted);
}
.hero-note{
  font-size:0.85rem; color:#B9B4A9; margin:0 0 2.25rem;
}
.final-cta .hero-note{ color:var(--on-red); opacity:0.85; margin:1.25rem 0 0; text-align:center; }
.card-actions{ display:flex; flex-direction:column; gap:0.6rem; margin-top:0.35rem; }
@media (min-width:420px){ .card-actions{ flex-direction:row; } }
.featured .card-actions{ max-width:340px; }

/* ---------- Why ---------- */
.why-grid{
  display:grid; grid-template-columns:1fr; gap:1px;
  background:var(--border);
  border:1px solid var(--border);
}
@media (min-width:640px){ .why-grid{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:980px){ .why-grid{ grid-template-columns:repeat(4,1fr); } }
.why-card{
  background:var(--bg);
  padding:1.75rem 1.5rem;
  display:flex; flex-direction:column; gap:0.85rem;
}
.why-card .why-icon{ color:var(--red); width:26px; height:26px; }
.why-card h3{ margin:0; font-size:1.02rem; }
.why-card p{ margin:0; color:var(--text-muted); font-size:0.88rem; }

/* ---------- Instagram ---------- */
.insta-panel{
  background:var(--surface);
  border:1px solid var(--border);
  padding:clamp(1.75rem,4vw,3rem);
  display:flex; flex-wrap:wrap; gap:2rem; align-items:center; justify-content:space-between;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
}
.insta-info{ max-width:46ch; }
.insta-handle{ display:flex; align-items:center; gap:0.7rem; margin-bottom:0.9rem; }
.insta-handle svg{ width:26px; height:26px; color:var(--red); }
.insta-handle span{ font-family:ui-monospace,"SFMono-Regular","Roboto Mono",monospace; font-weight:700; }
.insta-quote{ font-size:1.15rem; margin:0 0 0.5rem; text-wrap:balance; }
.insta-info p.small{ color:var(--text-muted); font-size:0.9rem; margin:0; }

/* ---------- FAQ ---------- */
.faq-list{ display:flex; flex-direction:column; gap:0.75rem; max-width:820px; }
details{
  background:var(--surface); border:1px solid var(--border);
  padding:1.1rem 1.35rem;
}
summary{
  cursor:pointer; font-weight:700; list-style:none; display:flex; align-items:center; justify-content:space-between; gap:1rem;
}
summary::-webkit-details-marker{ display:none; }
summary::after{
  content:"+"; font-size:1.4rem; color:var(--red); flex:none; line-height:1;
}
details[open] summary::after{ content:"–"; }
details p{ margin:0.85rem 0 0; color:var(--text-muted); font-size:0.94rem; }

/* ---------- Final CTA ---------- */
.final-cta{
  background:var(--red);
  color:var(--on-red);
  text-align:center;
}
.final-cta h2{ margin:0 0 0.75rem; font-size:clamp(1.8rem,4vw,2.6rem); color:#fff; }
.final-cta p{ margin:0 0 2rem; color:var(--on-red); opacity:0.92; }
.final-cta .btn-primary{ background:#0B0B0C; color:#fff; box-shadow:none; }
.final-cta .btn-primary:hover{ background:#000; }
.final-cta .btn-whatsapp:hover{ background:var(--wa-deep); }

/* ---------- Footer ---------- */
footer{
  border-top:1px solid var(--border);
  padding-block:2.5rem;
  background:var(--surface);
}
.footer-inner{
  display:flex; flex-wrap:wrap; justify-content:space-between; gap:1.75rem;
}
.footer-tag{ color:var(--text-muted); font-size:0.85rem; max-width:32ch; margin:0.4rem 0 0; }
.footer-links{ display:flex; gap:1.25rem; list-style:none; margin:0; padding:0; }
.footer-links a{ text-decoration:none; color:var(--text-muted); font-size:0.85rem; }
.footer-links a:hover{ color:var(--red); }
.footer-bottom{
  margin-top:2rem; padding-top:1.5rem; border-top:1px solid var(--border);
  font-size:0.78rem; color:var(--text-muted);
  display:flex; flex-wrap:wrap; gap:0.75rem; justify-content:space-between;
  font-family:ui-monospace,"SFMono-Regular","Roboto Mono",monospace;
}

/* ---------- Floating WhatsApp ---------- */
.wa-float{
  position:fixed; right:1.25rem; bottom:1.25rem; z-index:60;
  width:56px; height:56px; border-radius:50%;
  background:var(--wa); color:#06210F;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 14px 30px -10px rgba(0,0,0,0.45);
  text-decoration:none;
  transition:transform .15s ease;
}
.wa-float:hover{ transform:scale(1.06); }
.wa-float svg{ width:28px; height:28px; }

/* ---------- Reveal ---------- */
.reveal{ opacity:0; transform:translateY(16px); transition:opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:none; }

/* ==========================================================================
   Catálogo, página de produto e carrinho
   ========================================================================== */

/* ---------- Breadcrumb ---------- */
.breadcrumb{
  font-family:ui-monospace,"SFMono-Regular","Roboto Mono",monospace;
  font-size:0.74rem; letter-spacing:0.04em; text-transform:uppercase;
  color:var(--text-muted); padding-block:1.5rem 0; margin:0;
}
.breadcrumb a{ text-decoration:none; color:var(--text-muted); }
.breadcrumb a:hover{ color:var(--red); }
.breadcrumb span{ color:var(--text); }

/* ---------- Page head ---------- */
.page-head{ padding-block: clamp(2rem,5vw,3.25rem) 0; }
.page-head h1{ margin:0 0 0.75rem; font-size:clamp(2rem,4.6vw,3rem); }
.page-head p{ margin:0; color:var(--text-muted); max-width:60ch; }

/* ---------- Filtros de categoria ---------- */
.filter-bar{
  display:flex; flex-wrap:wrap; gap:0.5rem;
  margin: 2rem 0 2.25rem;
}
.filter-btn{
  font-family:ui-monospace,"SFMono-Regular","Roboto Mono",monospace;
  font-size:0.78rem; letter-spacing:0.06em; text-transform:uppercase; font-weight:700;
  padding:0.6rem 1.1rem; border:1px solid var(--border); background:var(--surface);
  color:var(--text-muted); cursor:pointer; border-radius:2px;
  transition:border-color .15s ease, color .15s ease, background .15s ease;
}
.filter-btn:hover{ border-color:var(--text); color:var(--text); }
.filter-btn[aria-pressed="true"]{
  background:var(--red); border-color:var(--red); color:var(--on-red);
}
.empty-state{
  border:1px dashed var(--border); background:var(--surface);
  padding:2.5rem 1.75rem; text-align:center; color:var(--text-muted);
}
.empty-state p{ margin:0 0 1.25rem; }

/* ---------- Card: link + ações de carrinho ---------- */
.product-card .card-link{ text-decoration:none; color:inherit; display:block; }
.product-card .card-link:hover h3{ color:var(--red); }
.product-card h3{ transition:color .15s ease; }
.card-actions .btn-cart{
  background:var(--text); color:var(--bg); border-color:var(--text);
}
.card-actions .btn-cart:hover{ background:var(--red); border-color:var(--red); color:var(--on-red); }

/* ---------- Página de produto ---------- */
.product-layout{
  display:grid; grid-template-columns:1fr; gap:clamp(1.75rem,4vw,3rem);
  padding-block: clamp(1.75rem,4vw,2.5rem) clamp(3rem,7vw,4.5rem);
  align-items:start;
}
@media (min-width:880px){ .product-layout{ grid-template-columns: 1fr 1fr; } }
.product-gallery{
  background:var(--surface-2); border:1px solid var(--border);
  aspect-ratio:1; display:flex; align-items:center; justify-content:center;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
  position:relative;
}
.product-gallery img{ width:100%; height:100%; object-fit:contain; padding:clamp(1rem,3vw,2.25rem); }
.product-gallery .badge{ top:0; right:0; }
.product-info h1{ margin:0 0 0.5rem; font-size:clamp(1.6rem,3.4vw,2.35rem); line-height:1.12; }
.product-info .fitment{
  font-family:ui-monospace,"SFMono-Regular","Roboto Mono",monospace;
  font-size:0.74rem; letter-spacing:0.05em; text-transform:uppercase;
  color:var(--dust); font-weight:700; margin:0 0 0.9rem;
}
.product-info .lead{ color:var(--text-muted); margin:0 0 1.5rem; font-size:1rem; }
.product-info .price-line b{ font-size:1.8rem; }
.product-info .price-block{ margin:0 0 1.5rem; }
.product-highlights{ list-style:none; margin:0 0 1.75rem; padding:0; display:flex; flex-direction:column; gap:0.6rem; }
.product-highlights li{ display:flex; gap:0.6rem; align-items:flex-start; font-size:0.92rem; color:var(--text-muted); }
.product-highlights svg{ width:16px; height:16px; color:var(--red); flex:none; margin-top:0.22rem; }
.product-desc{ border-top:1px solid var(--border); margin-top:2rem; padding-top:1.75rem; }
.product-desc h2{ font-size:1.1rem; margin:0 0 0.75rem; }
.product-desc p{ color:var(--text-muted); font-size:0.94rem; margin:0 0 0.85rem; }
.product-desc p:last-child{ margin-bottom:0; }

/* ---------- Seletor de quantidade ---------- */
.qty-row{ display:flex; flex-wrap:wrap; gap:0.75rem; align-items:center; margin-bottom:1rem; }
.qty-stepper{
  display:inline-flex; align-items:center; border:1px solid var(--border);
  background:var(--surface); border-radius:2px; overflow:hidden;
}
.qty-stepper button{
  width:40px; height:44px; border:0; background:transparent; cursor:pointer;
  font-size:1.2rem; font-weight:700; color:var(--text); line-height:1;
}
.qty-stepper button:hover{ background:var(--surface-2); color:var(--red); }
.qty-stepper output{
  min-width:40px; text-align:center; font-weight:700;
  font-family:ui-monospace,"SFMono-Regular","Roboto Mono",monospace;
  font-variant-numeric: tabular-nums;
}
.buy-actions{ display:flex; flex-direction:column; gap:0.65rem; }
@media (min-width:520px){ .buy-actions{ flex-direction:row; flex-wrap:wrap; } }
.buy-actions .btn{ flex:1 1 auto; justify-content:center; }

/* ---------- Escada de desconto ---------- */
.tier-box{
  border:1px solid var(--border); background:var(--surface);
  padding:1.1rem 1.25rem; margin:1.5rem 0 0;
}
.tier-box h3{
  margin:0 0 0.85rem; font-size:0.76rem; letter-spacing:0.1em; text-transform:uppercase;
  font-family:ui-monospace,"SFMono-Regular","Roboto Mono",monospace; color:var(--text-muted);
}
.tier-list{ list-style:none; margin:0; padding:0; display:grid; gap:0.4rem; }
.tier-list li{
  display:flex; justify-content:space-between; gap:1rem; align-items:baseline;
  font-size:0.88rem; padding:0.3rem 0;
}
.tier-list li + li{ border-top:1px solid var(--border); }
.tier-list .tier-qty{ color:var(--text-muted); }
.tier-list .tier-pct{
  font-family:ui-monospace,"SFMono-Regular","Roboto Mono",monospace;
  font-weight:700; color:var(--red);
}
.tier-note{ margin:0.85rem 0 0; font-size:0.8rem; color:var(--text-muted); }

/* ---------- Botão de carrinho no header ---------- */
.cart-btn{
  position:relative;
  display:inline-flex; align-items:center; justify-content:center;
  width:38px; height:38px; border-radius:2px; border:1px solid var(--border);
  background:transparent; color:var(--text); cursor:pointer;
  transition:border-color .15s ease, color .15s ease;
}
.cart-btn:hover{ border-color:var(--red); color:var(--red); }
.cart-btn svg{ width:19px; height:19px; }
.cart-count{
  position:absolute; top:-7px; right:-7px;
  min-width:19px; height:19px; padding:0 5px;
  background:var(--red); color:var(--on-red);
  border-radius:999px;
  font-family:ui-monospace,"SFMono-Regular","Roboto Mono",monospace;
  font-size:0.66rem; font-weight:700; line-height:19px; text-align:center;
}
.cart-count[hidden]{ display:none; }

/* ---------- Gaveta do carrinho ---------- */
.cart-overlay{
  position:fixed; inset:0; z-index:90;
  background:rgba(8,8,10,0.55);
  opacity:0; pointer-events:none; transition:opacity .22s ease;
}
.cart-overlay.open{ opacity:1; pointer-events:auto; }
.cart-drawer{
  position:fixed; top:0; right:0; bottom:0; z-index:100;
  width:min(420px, 100vw);
  background:var(--bg); border-left:1px solid var(--border);
  display:flex; flex-direction:column;
  transform:translateX(100%); transition:transform .26s cubic-bezier(.4,0,.2,1);
  box-shadow:-24px 0 60px -30px rgba(0,0,0,0.5);
}
.cart-drawer.open{ transform:none; }
.cart-header{
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
  padding:1.15rem 1.35rem; border-bottom:1px solid var(--border);
}
.cart-header h2{ margin:0; font-size:1.02rem; }
.cart-close{
  border:1px solid var(--border); background:transparent; color:var(--text);
  width:34px; height:34px; border-radius:2px; cursor:pointer; font-size:1.1rem; line-height:1;
}
.cart-close:hover{ border-color:var(--red); color:var(--red); }
.cart-body{ flex:1; overflow-y:auto; padding:1.1rem 1.35rem; }
.cart-empty{ color:var(--text-muted); font-size:0.92rem; text-align:center; padding:2.5rem 0; }
.cart-item{
  display:grid; grid-template-columns:56px 1fr; gap:0.85rem;
  padding:0.95rem 0; border-bottom:1px solid var(--border);
}
.cart-item:first-child{ padding-top:0; }
.cart-item-thumb{
  width:56px; height:56px; background:var(--surface-2);
  border:1px solid var(--border); display:flex; align-items:center; justify-content:center;
}
.cart-item-thumb img{ width:100%; height:100%; object-fit:contain; padding:4px; }
.cart-item-name{
  margin:0 0 0.15rem; font-size:0.88rem; font-weight:700; line-height:1.3;
}
.cart-item-name a{ text-decoration:none; }
.cart-item-name a:hover{ color:var(--red); }
.cart-item-price{
  margin:0 0 0.5rem; font-size:0.78rem; color:var(--text-muted);
  font-family:ui-monospace,"SFMono-Regular","Roboto Mono",monospace;
}
.cart-item-controls{ display:flex; align-items:center; justify-content:space-between; gap:0.75rem; }
.cart-item-controls .qty-stepper button{ width:30px; height:30px; font-size:1rem; }
.cart-item-controls .qty-stepper output{ min-width:30px; font-size:0.85rem; }
.cart-remove{
  border:0; background:transparent; color:var(--text-muted); cursor:pointer;
  font-size:0.76rem; text-decoration:underline; padding:0;
}
.cart-remove:hover{ color:var(--red); }
.cart-foot{ border-top:1px solid var(--border); padding:1.15rem 1.35rem; background:var(--surface); }
.cart-line{
  display:flex; justify-content:space-between; gap:1rem;
  font-size:0.88rem; margin-bottom:0.45rem;
  font-variant-numeric: tabular-nums;
}
.cart-line span:last-child{ font-family:ui-monospace,"SFMono-Regular","Roboto Mono",monospace; }
.cart-line.discount{ color:var(--wa); font-weight:700; }
.cart-line.total{
  font-size:1.08rem; font-weight:900; margin:0.7rem 0 0;
  padding-top:0.7rem; border-top:1px solid var(--border);
}
.cart-nudge{
  margin:0.85rem 0 0; padding:0.65rem 0.8rem;
  background:var(--red-tint); color:var(--text);
  font-size:0.8rem; border-left:3px solid var(--red);
}
.cart-foot .btn{ width:100%; justify-content:center; margin-top:0.9rem; }
.cart-disclaimer{ margin:0.75rem 0 0; font-size:0.72rem; color:var(--text-muted); text-align:center; }

/* ---------- Toast de "adicionado" ---------- */
.toast{
  position:fixed; left:50%; bottom:1.5rem; transform:translate(-50%, 16px);
  z-index:110; background:var(--text); color:var(--bg);
  padding:0.75rem 1.2rem; border-radius:2px; font-size:0.86rem; font-weight:700;
  opacity:0; pointer-events:none; transition:opacity .2s ease, transform .2s ease;
  box-shadow:0 18px 40px -18px rgba(0,0,0,0.6);
}
.toast.show{ opacity:1; transform:translate(-50%, 0); }

/* ---------- Ajustes de rodapé/relacionados ---------- */
.related{ border-top:1px solid var(--border); }
.related h2{ font-size:1.3rem; margin:0 0 1.75rem; }
