/* Fontes hospedadas na própria loja (SIL Open Font License) — sem depender do Google Fonts */
@font-face { font-family: "Anton"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/anton-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/inter-latin-var.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* ==========================================================
   Passi Móveis — loja
   Identidade: vermelho Passi + preto, tipografia condensada.
   ========================================================== */
:root {
  --red: #d7141c;
  --red-600: #b80f16;
  --red-700: #930c12;
  --red-50: #fff1f1;
  --ink: #141414;
  --ink-2: #2a2a2a;
  --text: #2b2b2b;
  --muted: #6b6b6b;
  --line: #e7e4e1;
  --bg: #ffffff;
  --soft: #f6f4f2;
  --cream: #fbf7f2;
  --green: #0b8a4a;
  --green-50: #e8f7ee;
  --amber: #f5a524;
  --blue: #1d6fd8;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 6px 20px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.14);
  --display: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1280px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--text); background: var(--bg); font-size: 15px; line-height: 1.5; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.mt-0 { margin-top: 0 } .mt-1 { margin-top: 8px } .mt-2 { margin-top: 16px } .mt-3 { margin-top: 24px } .mt-4 { margin-top: 40px }
.mb-0 { margin-bottom: 0 } .mb-2 { margin-bottom: 16px }
.icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon.sm { width: 16px; height: 16px; } .icon.lg { width: 30px; height: 30px; } .icon.xl { width: 40px; height: 40px; }
.icon.fill { fill: currentColor; stroke: none; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 2px solid transparent; border-radius: 999px; padding: 11px 22px; font-weight: 700; font-size: 15px; cursor: pointer; transition: transform .12s, background .15s, box-shadow .15s, color .15s; white-space: nowrap; line-height: 1.2; text-align: center; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 4px 14px rgba(215,20,28,.28); }
.btn-primary:hover { background: var(--red-600); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #087a40; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: #fff; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--ink); color: #fff; }
.btn-lg { padding: 15px 30px; font-size: 17px; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link { color: var(--red); font-weight: 600; }
.link:hover { text-decoration: underline; }

/* ---------- Barra superior ---------- */
.topbar { background: var(--ink); color: #fff; font-size: 13px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.topbar-rotator { position: relative; flex: 1; height: 20px; overflow: hidden; }
.topbar-rotator span { position: absolute; inset: 0; display: flex; align-items: center; gap: 8px; opacity: 0; transform: translateY(100%); transition: .45s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-rotator span.on { opacity: 1; transform: none; }
.topbar-rotator b { color: #ffd2d3; }
.topbar-links { display: flex; gap: 18px; }
.topbar-links a { opacity: .85; display: inline-flex; align-items: center; gap: 6px; }
.topbar-links a:hover { opacity: 1; }

/* ---------- Cabeçalho ---------- */
.header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--line); }
.header.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.header-main { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding: 14px 16px; }
.logo { display: inline-flex; align-items: center; }
.logo svg { height: 54px; width: auto; }
.search { position: relative; display: flex; }
.search input { width: 100%; height: 48px; border: 2px solid var(--ink); border-radius: 999px; padding: 0 56px 0 22px; background: #fff; outline: none; font-size: 15px; }
.search input:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(215,20,28,.12); }
.search button { position: absolute; right: 5px; top: 5px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--red); color: #fff; display: grid; place-items: center; cursor: pointer; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.hact { position: relative; display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 12px; color: var(--ink); line-height: 1.15; }
.hact:hover { background: var(--soft); }
.hact small { display: block; color: var(--muted); font-size: 12px; }
.hact strong { font-size: 14px; }
.badge-count { position: absolute; top: 2px; left: 24px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }

/* Navegação por categorias */
.nav { background: var(--red); color: #fff; }
.nav .wrap { display: flex; align-items: stretch; gap: 2px; }
.nav-item { position: static; }
.nav-item > a { display: flex; align-items: center; gap: 7px; padding: 13px 14px; font-weight: 700; font-size: 14px; letter-spacing: .01em; white-space: nowrap; }
.nav-item > a:hover, .nav-item:focus-within > a, .nav-item:hover > a { background: var(--red-700); }
.nav-item.highlight > a { background: var(--ink); }
.nav-all > a { background: var(--red-700); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; color: var(--text); box-shadow: var(--shadow-lg); border-top: 3px solid var(--ink); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; z-index: 40; }
.nav-item:hover .mega, .nav-item:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega .wrap { display: grid; grid-template-columns: 1fr 300px; gap: 32px; padding: 28px 16px; }
.mega h4 { font-family: var(--display); font-weight: 400; font-size: 26px; text-transform: uppercase; margin-bottom: 14px; }
.mega ul { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 24px; }
.mega li a { display: block; padding: 6px 0; color: var(--ink-2); }
.mega li a:hover { color: var(--red); }
.mega-promo { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.mega-promo strong { font-family: var(--display); font-size: 26px; font-weight: 400; line-height: 1.05; text-transform: uppercase; }

/* ---------- Alertas ---------- */
.flash { padding: 13px 16px; border-radius: var(--radius-sm); margin: 18px 0; display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.flash-success { background: var(--green-50); color: #075e33; border: 1px solid #bfe8cf; }
.flash-error { background: var(--red-50); color: var(--red-700); border: 1px solid #f6c5c7; }
.flash-info { background: #eef5ff; color: #164e99; border: 1px solid #cfe0fb; }
.flash ul { margin: 0; padding-left: 18px; }

/* ---------- Topo da home: carrossel + banners laterais ---------- */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 14px; margin-top: 16px; }
.hero { position: relative; border-radius: 18px; overflow: hidden; min-width: 0; background: var(--ink); }
.slides { position: relative; height: 430px; }
.slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 52px 48px; color: #fff; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; overflow: hidden; }
.slide.on { opacity: 1; visibility: visible; }
.slide-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 8s ease-out; }
.slide.on .slide-photo { transform: scale(1); }
.slide-shade { position: absolute; inset: 0; }
.theme-red .slide-shade { background: linear-gradient(90deg, rgba(140,6,12,.97) 0%, rgba(196,14,22,.9) 36%, rgba(215,20,28,.35) 64%, rgba(215,20,28,0) 88%); }
.theme-dark .slide-shade { background: linear-gradient(90deg, rgba(10,10,10,.95) 0%, rgba(14,14,14,.84) 38%, rgba(14,14,14,.2) 66%, rgba(0,0,0,0) 88%); }
.theme-wood .slide-shade { background: linear-gradient(90deg, rgba(58,32,14,.96) 0%, rgba(88,52,26,.86) 38%, rgba(88,52,26,.2) 66%, rgba(0,0,0,0) 88%); }
.theme-light .slide-shade { background: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.9) 38%, rgba(255,255,255,.25) 64%, rgba(255,255,255,0) 86%); }
.no-photo.theme-red { background: radial-gradient(circle at 78% 40%, #ff3b41, var(--red) 45%, var(--red-700)); }
.no-photo.theme-dark { background: radial-gradient(circle at 78% 40%, #3a3a3a, #161616 55%); }
.no-photo.theme-wood { background: linear-gradient(120deg, #5a3519, #8d5b36 60%, #a8723f); }
.no-photo.theme-light { background: linear-gradient(120deg, #fff, var(--cream)); }
.no-photo .slide-shade { display: none; }
.theme-light { color: var(--ink); }
.slide-copy, .slide-visual { position: relative; z-index: 2; }
.slide-copy { max-width: 520px; flex: 1 1 auto; }
.slide-eyebrow { display: inline-block; background: #fff; color: var(--red); font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 11px; border-radius: 6px; margin-bottom: 10px; }
.theme-light .slide-eyebrow { background: var(--red); color: #fff; }
.slide-title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(30px, 3.3vw, 46px); line-height: .98; margin: 0 0 10px; color: inherit; letter-spacing: .005em; }
.slide-sub { font-size: 15px; opacity: .92; margin: 0 0 12px; max-width: 420px; }
.slide-price { display: flex; flex-direction: column; gap: 1px; margin-bottom: 16px; }
.slide-old { font-size: 14px; opacity: .85; }
.slide-price strong { font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.slide-price strong sup { font-size: .44em; vertical-align: top; position: relative; top: .28em; margin-left: 1px; }
.slide-inst { font-size: 15px; }
.slide-pix { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: 6px; background: var(--green); color: #fff; font-weight: 700; font-size: 14px; padding: 5px 12px; border-radius: 999px; }
.slide-perks { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.slide-perks li { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.38); padding: 7px 12px; border-radius: 999px; font-weight: 600; font-size: 13.5px; }
.slide-cta { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); font-weight: 800; padding: 12px 24px; border-radius: 999px; box-shadow: 0 8px 20px rgba(0,0,0,.2); transition: transform .15s; }
.theme-light .slide-cta { background: var(--red); color: #fff; }
.slide:hover .slide-cta { transform: translateX(4px); }
.slide-visual { align-self: stretch; display: flex; align-items: flex-end; justify-content: center; width: 40%; flex: none; }
.slide-mascot { height: 410px; width: auto; max-width: none; margin-bottom: -48px; filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)); }
.slide-product { max-height: 300px; width: auto; margin: auto; filter: drop-shadow(0 20px 30px rgba(0,0,0,.25)); }
.slide-seal { position: absolute; top: 0; right: 4%; z-index: 3; width: 112px; height: 112px; border-radius: 50%; background: #fff; color: var(--red); display: grid; place-content: center; text-align: center; transform: rotate(-8deg); box-shadow: 0 10px 30px rgba(0,0,0,.25); outline: 3px solid rgba(255,255,255,.6); outline-offset: 5px; }
.slide-seal b { font-family: var(--display); font-weight: 400; font-size: 44px; line-height: .9; }
.slide-seal small { font-weight: 800; text-transform: uppercase; font-size: 12px; letter-spacing: .12em; color: var(--ink); }
.slide-stamp { position: absolute; top: 0; right: 2%; width: 124px; height: 124px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-content: center; text-align: center; transform: rotate(8deg); border: 4px solid #fff; box-shadow: 0 12px 30px rgba(0,0,0,.3); }
.slide-stamp b { font-family: var(--display); font-weight: 400; font-size: 42px; line-height: .9; }
.slide-stamp small { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.slide-free { position: absolute; right: 0; bottom: 0; background: #fff; color: var(--ink); font-weight: 700; font-size: 13px; padding: 9px 14px; border-radius: 999px; display: inline-flex; gap: 6px; align-items: center; box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.slide-free .icon { color: var(--red); }
.hero-dots { position: absolute; left: 56px; bottom: 18px; display: flex; gap: 6px; z-index: 3; }
.hero-dots button { position: relative; width: 30px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.45); border: 0; padding: 0; cursor: pointer; overflow: hidden; }
.hero-dots button i { position: absolute; inset: 0 auto 0 0; width: 0; background: #fff; }
.hero-dots button.on i { animation: dot-fill 6.5s linear forwards; }
.hero:hover .hero-dots button.on i { animation-play-state: paused; }
.hero:has(.theme-light.on) .hero-dots button { background: rgba(0,0,0,.18); }
.hero:has(.theme-light.on) .hero-dots button i { background: var(--ink); }
@keyframes dot-fill { to { width: 100%; } }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); color: var(--ink); display: grid; place-items: center; cursor: pointer; z-index: 3; box-shadow: var(--shadow); opacity: 0; transition: opacity .2s; }
.hero:hover .hero-arrow, .hero-arrow:focus-visible { opacity: 1; }
.hero-arrow.prev { left: 12px; } .hero-arrow.next { right: 12px; }

.hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; min-width: 0; }
.side-card { position: relative; border-radius: 18px; overflow: hidden; display: flex; padding: 20px 22px; color: #fff; transition: transform .2s, box-shadow .2s; }
.side-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.side-dark { background: radial-gradient(circle at 100% 100%, #5a0c10, var(--ink) 62%); }
.side-text { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 4px; max-width: 56%; }
.side-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #ff9a9e; }
.side-card strong { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 25px; line-height: 1; }
.side-card strong em { font-style: normal; color: #ff5a60; }
.side-sub { font-size: 12.5px; opacity: .88; }
.side-link { margin-top: auto; font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; gap: 4px; }
.side-mascot { position: absolute; right: -8px; bottom: 0; width: 46%; height: auto; max-width: none; z-index: 1; filter: drop-shadow(-6px 6px 18px rgba(0,0,0,.4)); }
.side-photo .side-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.side-photo:hover .side-bg { transform: scale(1.05); }
.side-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,80,44,.96), rgba(11,138,74,.82) 55%, rgba(11,138,74,.2)); }
.side-photo .side-text { max-width: 80%; }
.side-photo .side-eyebrow { color: #b8f5d2; }
.side-big { font-size: 48px; display: block; line-height: .9; }

/* ---------- Diferenciais ---------- */
.perks { display: grid; grid-template-columns: repeat(5, 1fr); margin: 16px 0 0; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.perk { display: flex; gap: 12px; align-items: center; padding: 14px 16px; min-width: 0; }
.perk + .perk { border-left: 1px solid var(--line); }
.perk-ico { width: 42px; height: 42px; border-radius: 50%; background: var(--red-50); color: var(--red); display: grid; place-items: center; flex: none; }
.perk strong { display: block; color: var(--ink); font-size: 14px; line-height: 1.2; }
.perk span { font-size: 12.5px; color: var(--muted); }

/* ---------- Ofertas do dia ---------- */
.section-tight { margin: 28px 0; }
.cat-hot { background: var(--red) !important; color: #fff; }
.deals { background: linear-gradient(180deg, var(--red) 0, var(--red) 150px, var(--red-50) 150px); border-radius: 20px; padding: 18px 20px 6px; }
.deals-head { display: flex; align-items: center; gap: 18px; color: #fff; margin-bottom: 14px; flex-wrap: wrap; }
.deals-title { display: flex; align-items: center; gap: 10px; }
.deals-title h2 { color: #fff; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 34px; margin: 0; line-height: 1; }
.countdown { display: flex; align-items: center; gap: 4px; font-weight: 700; }
.countdown span { margin-right: 6px; font-size: 14px; opacity: .92; }
.countdown b { background: var(--ink); color: #fff; border-radius: 6px; padding: 4px 6px; font-variant-numeric: tabular-nums; font-size: 18px; min-width: 34px; text-align: center; }
.deals-all { margin-left: auto; color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.deals-all:hover { text-decoration: underline; }
.deals .rail-btn.prev { left: -10px; } .deals .rail-btn.next { right: -10px; }

/* ---------- Mini banners por ambiente ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; color: #fff; display: block; background: var(--soft); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tile:hover img { transform: scale(1.06); }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 38%, rgba(0,0,0,.85)); }
.tile-badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--red); color: #fff; font-weight: 800; font-size: 12px; padding: 5px 10px; border-radius: 6px; text-transform: uppercase; }
.tile-body { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2; display: flex; flex-direction: column; gap: 2px; }
.tile-body strong { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 28px; line-height: 1; margin-bottom: 4px; }
.tile-body b { font-size: 20px; }
.tile-body small { opacity: .85; }

/* ---------- Seções ---------- */
.section { margin: 56px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-title { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3.4vw, 40px); text-transform: uppercase; margin: 0; line-height: 1; }
.section-title em { font-style: normal; color: var(--red); }
.section-sub { color: var(--muted); margin: 6px 0 0; }

/* Categorias */
.cat-grid { display: grid; grid-template-columns: repeat(9, 1fr); gap: 14px; }
.cat-tile { max-width: 120px; width: 100%; justify-self: center; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-weight: 700; color: var(--ink); font-size: 14px; }
.cat-circle { width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--soft); display: grid; place-items: center; transition: .2s; border: 2px solid transparent; }
.cat-circle img { width: 62%; }
.cat-tile:hover .cat-circle { background: var(--red-50); border-color: var(--red); transform: translateY(-3px); }

/* Carrossel */
.rail { position: relative; }
.rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 16px; }
.rail-track::-webkit-scrollbar { display: none; }
.rail-track > * { scroll-snap-align: start; }
.rail-btn { position: absolute; top: 38%; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; cursor: pointer; z-index: 2; color: var(--ink); }
.rail-btn.prev { left: -18px; } .rail-btn.next { right: -18px; }
.rail-btn:hover { background: var(--ink); color: #fff; }

/* ---------- Card de produto ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; min-width: 0; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.card-media { position: relative; aspect-ratio: 1 / 1; background: var(--cream); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: opacity .3s, transform .4s; }
.card-media img.alt { position: absolute; inset: 0; opacity: 0; }
.card:hover .card-media img.alt { opacity: 1; }
.card:hover .card-media img:not(.alt) { transform: scale(1.04); }
.card-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 2; align-items: flex-start; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 6px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.tag-red { background: var(--red); color: #fff; }
.tag-dark { background: var(--ink); color: #fff; }
.tag-green { background: var(--green); color: #fff; }
.tag-soft { background: var(--soft); color: var(--ink); }
.fav { position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; cursor: pointer; color: var(--ink); transition: .15s; }
.fav:hover { color: var(--red); transform: scale(1.08); }
.fav.on { color: var(--red); }
.fav.on .icon { fill: var(--red); }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-cat { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.card-title { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; margin: 0; }
.card-title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.stars { display: inline-flex; align-items: center; gap: 2px; color: var(--amber); font-size: 13px; }
.stars .icon { width: 14px; height: 14px; }
.stars .off { color: #d9d4cf; }
.stars small { color: var(--muted); margin-left: 4px; }
.price-old { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.price { font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; line-height: 1.1; }
.price-pix { font-size: 13px; color: var(--green); font-weight: 700; display: flex; align-items: center; gap: 5px; }
.price-inst { font-size: 13px; color: var(--muted); }
.price-inst b { color: var(--ink); }
.card-foot { margin-top: auto; padding-top: 10px; position: relative; z-index: 2; }
.card-perks { display: flex; gap: 10px; font-size: 11.5px; color: var(--green); font-weight: 700; flex-wrap: wrap; }
.card-perks span { display: inline-flex; align-items: center; gap: 4px; }
.out { color: var(--red); font-weight: 700; font-size: 13px; }

/* ---------- Faixa de destaque (mascote) ---------- */
.band { position: relative; border-radius: 22px; background: var(--ink); color: #fff; overflow: hidden; display: grid; grid-template-columns: 260px 1fr auto; align-items: center; gap: 32px; padding: 0 48px; }
.band::after { content: ''; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: var(--red); opacity: .9; }
.band > * { position: relative; z-index: 1; }
.band .mascot { height: 300px; width: auto; margin: 20px auto 0; align-self: end; }
.band h2 { color: #fff; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(30px, 3.6vw, 46px); line-height: 1; }
.band p { opacity: .85; font-size: 17px; margin: 0; }
.band-list { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.band-list li { display: flex; align-items: center; gap: 7px; font-weight: 600; }
.band-list .icon { color: #ff6b70; }

/* Depoimentos */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review-card { background: var(--soft); border-radius: var(--radius); padding: 22px; }
.review-card p { margin: 10px 0; color: var(--ink-2); }

/* ---------- Breadcrumb / listagem ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); margin: 20px 0 12px; }
.crumbs a:hover { color: var(--red); }
.page-title { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 4vw, 48px); text-transform: uppercase; margin: 0 0 6px; line-height: 1; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
.chip { padding: 8px 16px; border-radius: 99px; border: 1.5px solid var(--line); font-weight: 600; font-size: 14px; background: #fff; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.listing { display: grid; grid-template-columns: 250px 1fr; gap: 28px; margin-bottom: 60px; }
.filters { position: sticky; top: 150px; align-self: start; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.filters h3 { font-size: 15px; margin: 0 0 10px; }
.filters .group { padding: 14px 0; border-top: 1px solid var(--line); }
.filters .group:first-of-type { border-top: 0; padding-top: 0; }
.filters ul { list-style: none; padding: 0; margin: 0; }
.filters li a { display: block; padding: 5px 0; color: var(--ink-2); font-size: 14px; }
.filters li a.on, .filters li a:hover { color: var(--red); font-weight: 600; }
.range { display: flex; gap: 8px; align-items: center; }
.range input { width: 100%; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.pager { display: flex; justify-content: center; gap: 6px; margin: 32px 0; flex-wrap: wrap; }
.pager a, .pager span { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); font-weight: 700; padding: 0 12px; }
.pager .on { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { text-align: center; padding: 60px 20px; border: 2px dashed var(--line); border-radius: var(--radius); }
.empty .icon { width: 56px; height: 56px; color: var(--muted); margin: 0 auto 10px; }
.filters-toggle { display: none; }

/* ---------- Página de produto ---------- */
.pdp { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; margin-bottom: 40px; }
.gallery { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-self: start; position: sticky; top: 150px; }
.thumbs { display: flex; flex-direction: column; gap: 10px; }
.thumbs button { border: 2px solid var(--line); border-radius: 10px; padding: 4px; background: var(--cream); cursor: pointer; aspect-ratio: 1; }
.thumbs button.on { border-color: var(--red); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.stage { position: relative; background: var(--cream); border-radius: 18px; aspect-ratio: 1; overflow: hidden; cursor: zoom-in; }
.stage img { width: 100%; height: 100%; object-fit: contain; padding: 24px; transition: transform .2s; }
.stage.zoom img { transform: scale(1.8); }
.buybox h1 { font-size: clamp(24px, 2.5vw, 30px); font-weight: 800; letter-spacing: -.01em; margin: 6px 0 8px; }
.sku { font-size: 12px; color: var(--muted); }
.price-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 18px 0; }
.price-box .price { font-size: 36px; }
.pix-line { display: flex; align-items: center; gap: 10px; background: var(--green-50); color: #075e33; border-radius: 10px; padding: 11px 14px; margin: 12px 0; font-weight: 600; }
.pix-line strong { font-size: 20px; color: var(--green); }
.inst-table { display: none; grid-template-columns: 1fr 1fr; gap: 4px 20px; font-size: 13px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.inst-table.open { display: grid; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; height: 50px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; font-size: 20px; cursor: pointer; }
.qty input { width: 44px; text-align: center; border: 0; font-weight: 700; outline: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-row { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.buy-row .btn { flex: 1; min-height: 50px; }
.benefit-list { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.benefit-list li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; background: var(--soft); border-radius: 12px; }
.benefit-list .icon { color: var(--red); }
.benefit-list strong { display: block; font-size: 14px; color: var(--ink); }
.benefit-list span { font-size: 13px; color: var(--muted); }
.cep-check { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.cep-check form { display: flex; gap: 8px; margin-top: 8px; }
.cep-result { margin-top: 10px; font-size: 14px; }
.cep-result.ok { color: var(--green); font-weight: 600; }
.cep-result.bad { color: var(--red-700); font-weight: 600; }
.tabs { border-bottom: 2px solid var(--line); display: flex; gap: 6px; overflow-x: auto; margin-top: 20px; }
.tabs button { background: none; border: 0; padding: 14px 18px; font-weight: 700; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; color: var(--muted); white-space: nowrap; }
.tabs button.on { color: var(--ink); border-color: var(--red); }
.tab-panel { display: none; padding: 26px 0; }
.tab-panel.on { display: block; }
.specs { width: 100%; border-collapse: collapse; max-width: 640px; }
.specs th, .specs td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.specs th { width: 42%; color: var(--muted); font-weight: 600; background: var(--soft); }
.description { white-space: pre-line; max-width: 820px; }
.rating-summary { display: grid; grid-template-columns: 220px 1fr; gap: 30px; align-items: center; margin-bottom: 24px; }
.rating-big { font-size: 56px; font-weight: 800; color: var(--ink); line-height: 1; }
.bar-row { display: grid; grid-template-columns: 50px 1fr 30px; gap: 10px; align-items: center; font-size: 13px; }
.bar { height: 8px; background: var(--soft); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--amber); }
.review { border-top: 1px solid var(--line); padding: 18px 0; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input input { display: none; }
.star-input label { cursor: pointer; color: #d9d4cf; }
.star-input label .icon { width: 30px; height: 30px; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--amber); }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; box-shadow: 0 -6px 20px rgba(0,0,0,.1); padding: 10px 16px; display: none; z-index: 45; align-items: center; gap: 12px; }

/* ---------- Formulários ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label, .label { font-weight: 600; font-size: 14px; color: var(--ink); }
.input, .field input, .field select, .field textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; background: #fff; outline: none; transition: border-color .15s, box-shadow .15s; font-size: 15px; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20,20,20,.08); }
.field textarea { min-height: 110px; resize: vertical; }
.field .hint { font-size: 12.5px; color: var(--muted); }
.row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.row-3 { display: grid; gap: 14px; grid-template-columns: 1fr 1fr 1fr; }
.row-cep { display: grid; gap: 14px; grid-template-columns: 180px 1fr; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--red); flex: none; }
.pw-wrap { position: relative; }
.pw-wrap button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; cursor: pointer; color: var(--muted); padding: 6px; }

/* ---------- Autenticação ---------- */
.auth { display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 1040px; margin: 40px auto 70px; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); }
.auth-side { background: var(--ink); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; position: relative; overflow: hidden; }
.auth-side::before { content: ''; position: absolute; width: 340px; height: 340px; border-radius: 50%; background: var(--red); bottom: -140px; right: -120px; }
.auth-side > * { position: relative; }
.auth-side h2 { color: #fff; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 40px; line-height: 1; }
.auth-side .mascot { height: 300px; width: auto; align-self: flex-end; margin-bottom: -48px; }
.auth-form { padding: 48px; background: #fff; }
.auth-form h1 { font-size: 28px; font-weight: 800; }

/* ---------- Carrinho / checkout ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; margin-bottom: 60px; }
.cart-item { display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-item img { width: 110px; height: 110px; object-fit: contain; background: var(--cream); border-radius: 12px; padding: 8px; }
.cart-item h3 { font-size: 16px; margin: 0 0 4px; }
.cart-item .qty { height: 40px; }
.cart-item .qty button { width: 36px; }
.summary { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: 150px; background: #fff; }
.summary h2 { font-size: 20px; }
.sum-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 15px; gap: 12px; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 19px; font-weight: 800; color: var(--ink); }
.sum-row .green { color: var(--green); font-weight: 700; }
.coupon-form { display: flex; gap: 8px; margin: 14px 0; }
.coupon-form input { flex: 1; text-transform: uppercase; }
.steps { display: flex; gap: 0; margin: 24px 0; counter-reset: step; }
.step { flex: 1; text-align: center; position: relative; font-size: 13px; font-weight: 600; color: var(--muted); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; margin: 0 auto 6px; border-radius: 50%; background: var(--soft); color: var(--muted); font-weight: 800; position: relative; z-index: 1; }
.step::after { content: ''; position: absolute; top: 16px; left: -50%; right: 50%; height: 2px; background: var(--line); }
.step:first-child::after { display: none; }
.step.on { color: var(--ink); }
.step.on::before { background: var(--red); color: #fff; }
.step.done::before { background: var(--ink); color: #fff; content: '✓'; }
.step.on::after, .step.done::after { background: var(--ink); }
.box { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; background: #fff; }
.box h2 { font-size: 19px; display: flex; align-items: center; gap: 10px; }
.box h2 .num { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 14px; }
.option { display: flex; gap: 14px; align-items: flex-start; border: 2px solid var(--line); border-radius: 12px; padding: 16px; cursor: pointer; margin-bottom: 10px; transition: .15s; }
.option:hover { border-color: #bbb; }
.option:has(input:checked) { border-color: var(--red); background: var(--red-50); }
.option input { accent-color: var(--red); width: 18px; height: 18px; margin-top: 3px; flex: none; }
.option .grow { flex: 1; }
.option.disabled { opacity: .55; }
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini-items { display: grid; gap: 10px; margin-bottom: 14px; }
.mini-item { display: grid; grid-template-columns: 54px 1fr auto; gap: 10px; align-items: center; font-size: 13px; }
.mini-item img { width: 54px; height: 54px; object-fit: contain; background: var(--cream); border-radius: 8px; padding: 4px; }
.secure { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 12.5px; color: var(--muted); margin-top: 12px; }

/* Sucesso / pagamento */
.success { max-width: 760px; margin: 40px auto 70px; text-align: center; }
.success .mascot { height: 260px; width: auto; margin: 0 auto; }
.pix-box { border: 2px dashed var(--green); border-radius: var(--radius); padding: 22px; background: var(--green-50); }

/* ---------- Portal do cliente ---------- */
.account { display: grid; grid-template-columns: 260px 1fr; gap: 28px; margin: 24px 0 60px; align-items: start; }
.acc-nav { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; position: sticky; top: 150px; }
.acc-user { background: var(--ink); color: #fff; padding: 20px; display: flex; gap: 12px; align-items: center; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-weight: 800; font-size: 18px; color: #fff; flex: none; }
.acc-nav a, .acc-nav button { display: flex; align-items: center; gap: 12px; padding: 13px 20px; border-top: 1px solid var(--line); font-weight: 600; font-size: 14px; width: 100%; background: none; border-left: 0; border-right: 0; border-bottom: 0; cursor: pointer; text-align: left; }
.acc-nav a:hover, .acc-nav button:hover { background: var(--soft); }
.acc-nav a.on { color: var(--red); background: var(--red-50); box-shadow: inset 3px 0 var(--red); }
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 24px; }
.stat { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.stat:hover { border-color: var(--ink); }
.stat b { font-size: 28px; color: var(--ink); line-height: 1; }
.stat .icon { color: var(--red); }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 99px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-ok { background: var(--green-50); color: var(--green); }
.status-warn { background: #fff6e5; color: #a8670a; }
.status-info { background: #eef5ff; color: var(--blue); }
.status-bad { background: var(--red-50); color: var(--red-700); }
.order-row { display: grid; grid-template-columns: 64px 1fr auto auto; gap: 16px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
.order-row:hover { border-color: var(--ink); }
.order-row img { width: 64px; height: 64px; object-fit: contain; background: var(--cream); border-radius: 10px; padding: 4px; }
.timeline { display: flex; justify-content: space-between; position: relative; margin: 26px 0 34px; }
.timeline::before { content: ''; position: absolute; top: 17px; left: 6%; right: 6%; height: 3px; background: var(--line); }
.timeline .bar-fill { position: absolute; top: 17px; left: 6%; height: 3px; background: var(--green); }
.tl-step { position: relative; flex: 1; text-align: center; font-size: 12px; font-weight: 600; color: var(--muted); padding: 0 4px; }
.tl-step .dot { width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 3px solid var(--line); margin: 0 auto 8px; display: grid; place-items: center; }
.tl-step.done { color: var(--ink); }
.tl-step.done .dot { background: var(--green); border-color: var(--green); color: #fff; }
.tl-step.current .dot { border-color: var(--green); color: var(--green); box-shadow: 0 0 0 5px var(--green-50); }
.history { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.history li { padding: 0 0 16px 18px; position: relative; }
.history li::before { content: ''; position: absolute; left: -7px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); }
.addr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.addr { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 18px; }
.addr.default { border-color: var(--ink); }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.table th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }

/* ---------- Páginas institucionais ---------- */
.prose { max-width: 820px; margin: 0 auto 60px; }
.prose h2 { margin-top: 1.6em; font-size: 22px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.city-list { columns: 3; column-gap: 24px; list-style: none; padding: 0; }
.city-list li { padding: 6px 0; border-bottom: 1px dashed var(--line); display: flex; justify-content: space-between; break-inside: avoid; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 10px; }
.faq summary { font-weight: 700; cursor: pointer; color: var(--ink); }
.faq details[open] summary { color: var(--red); margin-bottom: 8px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 60px; }
.map { border: 0; width: 100%; height: 280px; border-radius: var(--radius); }

/* ---------- Rodapé ---------- */
.trust { background: var(--soft); padding: 34px 0; margin-top: 40px; }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-item { display: flex; gap: 12px; align-items: center; }
.trust-item .icon { color: var(--red); width: 34px; height: 34px; }
.trust-item strong { display: block; color: var(--ink); }
.trust-item span { font-size: 13px; color: var(--muted); }
.footer { background: var(--ink); color: #cfcfcf; padding: 54px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 9px; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .logo svg { height: 52px; }
.footer .logo-chip img { height: 46px; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: #262626; display: grid; place-items: center; color: #fff; }
.socials a:hover { background: var(--red); text-decoration: none; }
.pay-icons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pay-icons span { background: #fff; color: var(--ink); border-radius: 6px; padding: 5px 9px; font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.pay-icons span.pix { background: #32bcad; color: #fff; }
.footer-bottom { border-top: 1px solid #2a2a2a; margin-top: 40px; padding: 20px 0; font-size: 12.5px; color: #8c8c8c; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Toast */
.toast { position: fixed; left: 50%; top: 20px; transform: translate(-50%, -150%); background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 12px; z-index: 100; box-shadow: var(--shadow-lg); display: flex; gap: 14px; align-items: center; transition: transform .35s cubic-bezier(.2,1.2,.4,1); max-width: calc(100% - 32px); }
.toast.show { transform: translate(-50%, 0); }
.toast a { color: #ffb3b5; font-weight: 700; white-space: nowrap; }

/* ---------- WhatsApp ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; background: #25d366; color: #fff; border-radius: 999px; padding: 6px; box-shadow: 0 10px 28px rgba(37,211,102,.4); }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 999px; animation: wa-pulse 2.6s infinite; }
.wa-ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.wa-ico .icon { width: 30px; height: 30px; }
.wa-label { display: flex; flex-direction: column; line-height: 1.15; max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .35s ease, padding .35s ease; }
.wa-label small { font-size: 11px; opacity: .92; }
.wa-label strong { font-size: 15px; }
.wa-float:hover .wa-label, .wa-float:focus-visible .wa-label { max-width: 220px; padding: 0 16px 0 4px; }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70%, 100% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } }

/* ---------- Mascote ---------- */
:where(img.mascot) { display: block; height: auto; max-width: 100%; animation: mascot-in .9s cubic-bezier(.2,1,.3,1) both; }
@keyframes mascot-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.logo-img { display: inline-flex; align-items: center; }
.logo-img img { height: 54px; width: auto; display: block; }
.logo-chip { background: #fff; border-radius: 12px; padding: 8px 12px; }
.logo-chip img { height: 44px; }

/* ---------- +25 anos ---------- */
.since { display: inline-flex; align-items: center; gap: 10px; background: rgba(0,0,0,.28); color: #fff; border-radius: 999px; padding: 5px 16px 5px 5px; font-weight: 700; font-size: 14px; }
.since b { background: #fff; color: var(--red); border-radius: 999px; padding: 4px 12px; font-family: var(--display); font-weight: 400; font-size: 17px; letter-spacing: .03em; }
.years { position: relative; display: grid; grid-template-columns: 1fr 1.35fr; gap: 44px; align-items: center; background: linear-gradient(120deg, var(--red-700), var(--red) 60%); color: #fff; border-radius: 22px; padding: 46px 54px; overflow: hidden; }
.years::before, .years::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,.07); pointer-events: none; }
.years::before { width: 380px; height: 380px; right: -120px; top: -140px; }
.years::after { width: 220px; height: 220px; left: 34%; bottom: -130px; }
.years > * { position: relative; z-index: 1; }
.years-num { font-family: var(--display); font-size: clamp(86px, 10vw, 140px); line-height: .85; margin-top: 16px; }
.years-num span { font-size: .4em; }
.years-lead { font-size: 21px; font-weight: 700; margin: 6px 0 0; }
.years-right p { font-size: 17px; opacity: .95; }
.years-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0 24px; }
.years-stats div { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 2px; }
.years-stats .icon { margin-bottom: 6px; }
.years-stats strong { font-size: 16px; }
.years-stats span { font-size: 12.5px; opacity: .88; }
.story { display: grid; grid-template-columns: 230px 1fr; gap: 28px; align-items: end; background: var(--cream); border-radius: 20px; padding: 0 32px; overflow: hidden; }
.story .mascot { height: 300px; width: auto; margin-top: 18px; }
.story-num { font-family: var(--display); font-size: 104px; line-height: .85; color: var(--red); }
.story-num small { display: block; font-size: 22px; color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media (min-width: 1180px) { .rail-track { grid-auto-columns: calc((100% - 4 * 16px) / 5); } }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .rail-track { grid-auto-columns: calc((100% - 2 * 16px) / 3); }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust .wrap { grid-template-columns: repeat(2, 1fr); }
  .band { grid-template-columns: 200px 1fr; padding: 0 32px; }
  .band > .band-cta { grid-column: 2; padding-bottom: 28px; }
  .band .mascot { height: 240px; }
  .hact small, .hact strong { display: none; }
}
@media (max-width: 900px) {
  .header-main { grid-template-columns: auto 1fr auto; gap: 12px; padding: 10px 16px; }
  .logo svg, .logo-img img { height: 40px; }
  .search { grid-column: 1 / -1; grid-row: 2; }
  .search input { height: 44px; }
  .search button { width: 34px; height: 34px; }
  .menu-toggle { display: block; }
  .nav { display: none; }
  .nav.open { display: block; position: fixed; inset: 0; z-index: 80; background: #fff; color: var(--ink); overflow-y: auto; }
  .nav.open .wrap { flex-direction: column; padding: 0; }
  .nav.open .nav-item > a { padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav.open .nav-item > a:hover { background: var(--soft); }
  .nav.open .nav-item.highlight > a, .nav.open .nav-all > a { background: none; color: var(--red); }
  .nav.open .mega { display: none; }
  .nav-close { display: flex !important; justify-content: space-between; align-items: center; padding: 14px 20px; background: var(--ink); color: #fff; font-weight: 700; }
  .topbar-links { display: none; }
  .listing { grid-template-columns: 1fr; }
  .filters { display: none; position: static; }
  .filters.open { display: block; }
  .filters-toggle { display: inline-flex; }
  .pdp { grid-template-columns: 1fr; gap: 20px; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .thumbs { flex-direction: row; order: 2; overflow-x: auto; }
  .thumbs button { width: 70px; flex: none; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .account { grid-template-columns: 1fr; }
  .acc-nav { position: static; display: flex; overflow-x: auto; }
  .acc-user { display: none; }
  .acc-nav a, .acc-nav button { border-top: 0; white-space: nowrap; width: auto; }
  .acc-nav a.on { box-shadow: inset 0 -3px var(--red); }
  .auth { grid-template-columns: 1fr; margin: 20px 0 40px; }
  .auth-side { display: none; }
  .auth-form { padding: 28px 20px; }
  .contact-grid { grid-template-columns: 1fr; }
  .rating-summary { grid-template-columns: 1fr; }
  .sticky-buy { display: flex; }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .grid, .grid.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .rail-track { grid-auto-columns: 72%; gap: 10px; }
  .rail-btn { display: none; }
  .cat-grid { grid-auto-flow: column; grid-auto-columns: 26%; grid-template-columns: none; overflow-x: auto; scrollbar-width: none; }
  .cat-grid::-webkit-scrollbar { display: none; }
  .card-body { padding: 10px 11px 12px; }
  .card-title { font-size: 13.5px; }
  .price { font-size: 18px; }
  .price-pix, .price-inst { font-size: 12px; }
  .fav { width: 32px; height: 32px; }
  .card-perks { display: none; }
  .row, .row-3, .row-cep, .pay-grid { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 80px 1fr; }
  .cart-item img { width: 80px; height: 80px; }
  .cart-item .cart-line-total { grid-column: 2; }
  .band { grid-template-columns: 1fr; padding: 28px 22px; text-align: left; }
  .band .mascot { display: none; }
  .band > .band-cta { grid-column: 1; padding: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .trust .wrap { grid-template-columns: 1fr; }
  .addr-grid { grid-template-columns: 1fr; }
  .order-row { grid-template-columns: 54px 1fr; }
  .order-row > :nth-child(n+3) { grid-column: 2; }
  .timeline { flex-direction: column; gap: 12px; }
  .timeline::before, .timeline .bar-fill { display: none; }
  .tl-step { display: flex; align-items: center; gap: 12px; text-align: left; }
  .tl-step .dot { margin: 0; width: 30px; height: 30px; }
  .city-list { columns: 2; }
  .table-wrap { overflow-x: auto; }
  .hide-sm { display: none !important; }
}
.nav-close { display: none; }
.nav-mobile-only { display: none; }
.nav.open .nav-mobile-only { display: block; }
@media print { .adm-side, .adm-top, .wa-float, form { display: none !important; } .adm { display: block; } }

/* ---------- Responsivo: topo da home e novas seções ---------- */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { grid-template-columns: 1fr 1fr; grid-template-rows: 170px; }
  .perks { display: flex; overflow-x: auto; scrollbar-width: none; }
  .perks::-webkit-scrollbar { display: none; }
  .perk { flex: 0 0 auto; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tile { aspect-ratio: 16 / 10; }
  .years { grid-template-columns: 1fr; gap: 20px; padding: 36px; }
}
@media (max-width: 900px) {
  .slides { height: 470px; }
  .slide { flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 24px 22px 44px; }
  .slide-visual { display: none; }
  .slide-title { font-size: 34px; }
  .slide-sub { font-size: 14.5px; }
  .slide-price strong { font-size: 40px; }
  .theme-red .slide-shade { background: linear-gradient(0deg, rgba(150,8,14,.97) 0%, rgba(196,14,22,.85) 52%, rgba(215,20,28,.1) 100%); }
  .theme-dark .slide-shade { background: linear-gradient(0deg, rgba(10,10,10,.96) 0%, rgba(14,14,14,.8) 52%, rgba(0,0,0,.05) 100%); }
  .theme-wood .slide-shade { background: linear-gradient(0deg, rgba(58,32,14,.97) 0%, rgba(88,52,26,.82) 52%, rgba(0,0,0,.05) 100%); }
  .theme-light .slide-shade { background: linear-gradient(0deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.9) 52%, rgba(255,255,255,.1) 100%); }
  .no-photo .slide-visual { display: flex; position: absolute; right: 0; top: 0; width: 46%; height: 48%; }
  .no-photo .slide-mascot { height: 100%; margin: 0; }
  .no-photo .slide-seal { display: none; }
  .hero-dots { left: 22px; bottom: 16px; }
  .hero-arrow { display: none; }
  .side-card strong { font-size: 20px; }
  .side-big { font-size: 38px; }
}
@media (max-width: 640px) {
  .hero-side { grid-template-columns: 1fr; grid-template-rows: none; }
  .side-card { min-height: 150px; }
  .deals { padding: 14px 12px 4px; border-radius: 16px; }
  .deals-title h2 { font-size: 24px; }
  .countdown b { font-size: 15px; min-width: 28px; }
  .tiles { gap: 10px; }
  .tile { aspect-ratio: 3 / 4; }
  .tile-body { left: 12px; right: 12px; bottom: 12px; }
  .tile-body strong { font-size: 19px; }
  .tile-body b { font-size: 16px; }
  .years { padding: 28px 22px; }
  .years-stats { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; padding: 24px 20px 0; }
  .story .mascot { order: 2; height: 240px; margin: 0 auto; }
  .wa-float { right: 14px; bottom: 14px; }
  .page-product .wa-float { bottom: 84px; }
}
.prose .since { background: var(--ink); }

/* ---------- Barra de frete grátis ---------- */
.ship-progress { background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 0 0 14px; }
.ship-progress-msg { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--ink); }
.ship-progress-msg small { display: block; color: var(--muted); font-size: 12px; margin-top: 1px; }
.ship-progress-msg strong { color: var(--red); }
.ship-progress-ico { width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; flex: none; }
.ship-progress-bar { height: 8px; border-radius: 99px; background: #e5e0db; overflow: hidden; margin-top: 10px; }
.ship-progress-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--red), #ff5a60); transition: width .6s cubic-bezier(.2,1,.3,1); position: relative; }
.ship-progress-bar i::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); animation: shine 2.2s infinite; }
@keyframes shine { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.ship-progress.is-free { background: var(--green-50); border-color: #bfe8cf; }
.ship-progress.is-free .ship-progress-ico { background: var(--green); }
.ship-progress.is-free strong { color: #075e33; }
.ship-progress.is-free .ship-progress-bar i { background: var(--green); }
.ship-note { font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.ship-note:hover { color: var(--red); }

/* ---------- Carrinho lateral ---------- */
.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 90; opacity: 0; transition: opacity .3s; }
.drawer-overlay.open { opacity: 1; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; z-index: 91; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .32s cubic-bezier(.2,.9,.3,1); box-shadow: -20px 0 50px rgba(0,0,0,.18); outline: none; }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.drawer-head strong { display: flex; align-items: center; gap: 8px; font-size: 17px; color: var(--ink); }
.drawer-x { background: var(--soft); border: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.drawer-x:hover { background: var(--line); }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 18px; }
.drawer-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; color: var(--muted); }
.drawer-empty strong { color: var(--ink); font-size: 17px; }
.drawer-added { display: flex; gap: 8px; align-items: center; background: var(--green-50); color: #075e33; border-radius: 10px; padding: 10px 12px; font-size: 13.5px; margin-bottom: 12px; animation: pop .4s cubic-bezier(.2,1.4,.4,1); }
.drawer-items { list-style: none; padding: 0; margin: 0; }
.drawer-item { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.drawer-item.is-new { animation: flash-in 1.2s ease; }
@keyframes flash-in { from { background: #fff4d6; } to { background: transparent; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
.drawer-item img { width: 76px; height: 76px; object-fit: contain; background: var(--cream); border-radius: 10px; padding: 4px; }
.drawer-name { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.drawer-row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.qty-sm { height: 34px; }
.qty-sm button { width: 32px; font-size: 17px; }
.qty-sm button[disabled] { opacity: .35; cursor: not-allowed; }
.qty-sm span { min-width: 26px; text-align: center; font-weight: 700; }
.drawer-remove { background: none; border: 0; color: var(--muted); font-size: 12.5px; cursor: pointer; padding: 4px 0 0; text-decoration: underline; }
.drawer-remove:hover { color: var(--red); }
.drawer-sugg { margin-top: 18px; display: grid; gap: 10px; }
.drawer-sugg-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; font-size: 13px; }
.drawer-sugg-item img { width: 52px; height: 52px; object-fit: contain; background: var(--cream); border-radius: 8px; padding: 3px; }
.drawer-sugg-item a { display: block; color: var(--ink); line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.drawer-sugg-item b { display: block; margin-top: 2px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 14px 18px 18px; background: #fff; box-shadow: 0 -8px 20px rgba(0,0,0,.04); }
.drawer-foot .sum-row { padding: 4px 0; }
.drawer-foot .sum-row.total { margin-top: 4px; padding-top: 10px; }
.drawer-pay { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--muted); margin: 2px 0 12px; }

/* ---------- Sugestões de busca ---------- */
.suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); z-index: 70; overflow: hidden; max-height: 70vh; overflow-y: auto; }
.suggest-cats { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.suggest-cats a { background: var(--soft); border-radius: 99px; padding: 5px 12px; font-size: 13px; font-weight: 600; }
.suggest-cats a:hover, .suggest-cats a.on { background: var(--ink); color: #fff; }
.suggest-item { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; padding: 9px 14px; font-size: 13.5px; }
.suggest-item:hover, .suggest-item.on { background: var(--soft); }
.suggest-item img { width: 52px; height: 52px; object-fit: contain; background: var(--cream); border-radius: 8px; padding: 3px; }
.suggest-name { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.suggest-item s { color: var(--muted); font-size: 12px; }
.suggest-item b { color: var(--ink); }
.suggest-item em { font-style: normal; color: var(--green); font-weight: 600; font-size: 12px; }
.suggest-all { display: block; padding: 12px 14px; border-top: 1px solid var(--line); font-weight: 700; color: var(--red); font-size: 14px; }
.suggest-all:hover, .suggest-all.on { background: var(--red-50); }
.suggest-empty { padding: 16px; font-size: 14px; color: var(--muted); }
.suggest-empty a { color: var(--red); font-weight: 600; }

/* ---------- Compre junto / ações do produto ---------- */
.buy-alt { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.buy-alt .btn { flex: 1; }
.together { border: 1px solid var(--line); border-radius: 18px; padding: 22px; margin: 10px 0 30px; background: linear-gradient(180deg, #fff, var(--cream)); }
.together-row { display: grid; grid-template-columns: 1fr auto 1fr auto 1.1fr; gap: 16px; align-items: center; margin-top: 12px; }
.together-item { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; font-size: 13.5px; color: var(--ink); height: 100%; }
.together-item img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--cream); border-radius: 10px; padding: 8px; }
.together-item span { line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.together-plus { font-family: var(--display); font-size: 40px; color: var(--red); }
.together-total { display: flex; flex-direction: column; gap: 3px; }
.together-total small { color: var(--muted); }
.together-total strong { font-size: 30px; color: var(--ink); font-weight: 800; letter-spacing: -.01em; }

/* ---------- Newsletter / cookies ---------- */
.newsletter { background: var(--ink); color: #fff; margin-top: 56px; }
.newsletter-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 26px; padding-bottom: 26px; flex-wrap: wrap; }
.newsletter-copy { display: flex; align-items: center; gap: 14px; }
.newsletter-copy .icon { color: #ff5a60; }
.newsletter-copy strong { display: block; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 26px; line-height: 1.05; }
.newsletter-copy span { opacity: .8; font-size: 14px; }
.newsletter-form { display: flex; gap: 8px; flex: 1; max-width: 560px; }
.newsletter-form .input { background: #fff; border: 0; }
.newsletter-form .input:first-of-type { max-width: 160px; }
.newsletter-form .btn-dark { background: var(--red); }
.newsletter-form .btn-dark:hover { background: var(--red-600); }
.newsletter + .trust { margin-top: 0; }
.cookie-bar { position: fixed; left: 16px; bottom: 16px; z-index: 80; max-width: 460px; background: var(--ink); color: #fff; border-radius: 14px; padding: 14px 16px; display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow-lg); font-size: 13px; animation: pop .4s ease both; }
.cookie-bar p { margin: 0; opacity: .9; }
.cookie-bar .link { color: #ff9a9e; }

@media (max-width: 900px) {
  .together-row { grid-template-columns: 1fr auto 1fr; }
  .together-row > :nth-child(4) { display: none; }
  .together-total { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .newsletter-form { flex-direction: column; max-width: none; }
  .newsletter-form .input:first-of-type { max-width: none; }
  .cookie-bar { left: 12px; right: 12px; bottom: 12px; flex-direction: column; align-items: stretch; }
  .together { padding: 16px; }
  .together-plus { font-size: 28px; }
}

@media (max-width: 900px) { .page-product .wa-float { bottom: 84px; } }

/* ---------- Marcas / CEP ---------- */
.facet { list-style: none; padding: 0; margin: 0; max-height: 260px; overflow-y: auto; }
.facet-opt { display: flex !important; align-items: center; gap: 8px; padding: 5px 0 !important; }
.facet-opt small { margin-left: auto; color: var(--muted); font-size: 12px; }
.facet-box { width: 18px; height: 18px; border: 1.5px solid #c9c3bd; border-radius: 5px; display: grid; place-items: center; flex: none; }
.facet-opt.on .facet-box { background: var(--red); border-color: var(--red); color: #fff; }
.facet-box .icon { width: 12px; height: 12px; stroke-width: 3; }
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.brand-tile { border: 1px solid var(--line); border-radius: 14px; padding: 22px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; transition: .2s; }
.brand-tile:hover { border-color: var(--ink); box-shadow: var(--shadow); transform: translateY(-2px); }
.brand-tile img { height: 48px; width: auto; max-width: 100%; object-fit: contain; }
.brand-tile strong { font-family: var(--display); font-weight: 400; font-size: 24px; text-transform: uppercase; color: var(--ink); }
.brand-tile span { color: var(--muted); font-size: 13px; }
.cep-result small { display: block; margin-top: 4px; }
.cep-ok-title { display: block; margin-bottom: 6px; }
.cep-lines { display: grid; gap: 3px; font-weight: 500; color: var(--text); font-size: 13.5px; }
.cep-lines small { display: inline; color: var(--muted); }
.cep-result select { max-width: 100%; }

/* ---------- Poses do mascote ---------- */
.hero { display: flex; flex-direction: column; }
.slides { flex: 1; height: auto; min-height: 430px; }
/* Newsletter: o mascote "sai" da faixa preta, inteiro, apontando para o formulário */
.newsletter { position: relative; margin-top: 110px; }
.newsletter-in { position: relative; padding-left: 250px; min-height: 120px; }
.news-mascot { position: absolute; left: 0; bottom: 0; height: 215px; width: auto; max-width: none; pointer-events: none; filter: drop-shadow(0 -6px 18px rgba(0,0,0,.25)); }
/* Página de ofertas */
.offers-hero { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; background: radial-gradient(circle at 85% 40%, #ff3b41, var(--red) 45%, var(--red-700)); color: #fff; border-radius: 20px; padding: 30px 40px 0; margin: 4px 0 16px; overflow: hidden; min-height: 210px; }
.offers-hero > div { padding-bottom: 30px; }
.offers-hero .page-title { color: #fff; font-size: clamp(34px, 4.4vw, 56px); }
.offers-hero p { margin: 4px 0 0; font-size: 17px; opacity: .95; }
.offers-mascot { height: 230px; width: auto; max-width: none; align-self: flex-end; }
.mascot-empty { width: 200px; height: auto; margin: 0 auto 6px; }
.success .mascot.mascot-err { width: 260px; height: auto; }
.side-card .side-mascot.pose-surpreso-busto { width: 50%; right: -14px; }
@media (max-width: 900px) {
  .slides { min-height: 470px; }
  .newsletter { margin-top: 56px; }
  .newsletter-in { padding-left: 16px; }
  .news-mascot { display: none; }
  .offers-hero { padding: 24px 22px 0; }
  .offers-mascot { height: 150px; }
}
@media (max-width: 640px) { .offers-mascot { display: none; } .offers-hero > div { padding-bottom: 24px; } }

/* ---------- Login com Google ---------- */
.btn-google { background: #fff; color: #1f1f1f; border: 1.5px solid #dadce0; font-weight: 600; }
.btn-google:hover { background: #f8f9fa; border-color: #c4c7c5; }
.or-sep { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 16px 0; }
.or-sep::before, .or-sep::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* Newsletter: texto dos campos legível sobre a faixa escura */
.newsletter-form .input { color: var(--ink); background: #fff; border: 2px solid transparent; }
.newsletter-form .input::placeholder { color: #8a8a8a; opacity: 1; }
.newsletter-form .input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(215,20,28,.25); }
.news-mascot { filter: none; }

/* Newsletter sem mascote (página que já tem mascote) */
.newsletter-in:not(:has(.news-mascot)) { padding-left: 16px; }
.newsletter:not(:has(.news-mascot)) { margin-top: 56px; }

/* Banner da página de ofertas: foto de ambiente + gradiente vermelho */
.offers-hero {
  background:
    linear-gradient(90deg, rgba(140,6,12,.97) 0%, rgba(196,14,22,.9) 38%, rgba(215,20,28,.55) 68%, rgba(215,20,28,.25) 100%),
    url('https://images.unsplash.com/photo-1724582586529-62622e50c0b3?w=1600&q=75&auto=format&fit=crop') center 60% / cover no-repeat;
  min-height: 250px;
}
.offers-hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(0deg, rgba(0,0,0,.25), transparent); pointer-events: none; }
.offers-hero > * { position: relative; z-index: 1; }
.offers-hero .offers-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.offers-hero .offers-chips span { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.4); padding: 6px 12px; border-radius: 999px; font-weight: 600; font-size: 13.5px; backdrop-filter: blur(3px); }
.offers-mascot { height: 260px; filter: drop-shadow(0 14px 24px rgba(0,0,0,.35)); }

/* Banner das categorias: foto do ambiente + gradiente vermelho */
.cat-hero { position: relative; border-radius: 20px; overflow: hidden; color: #fff; padding: 34px 40px; margin: 4px 0 10px; min-height: 180px; display: flex; align-items: flex-end;
  background: linear-gradient(90deg, rgba(140,6,12,.96) 0%, rgba(196,14,22,.86) 42%, rgba(215,20,28,.35) 78%, rgba(215,20,28,.15) 100%), var(--cat-photo, linear-gradient(120deg, var(--red-700), var(--red))) center 55% / cover no-repeat; }
.cat-hero .page-title { color: #fff; font-size: clamp(32px, 4vw, 52px); margin: 0 0 6px; }
.cat-hero p { margin: 0; opacity: .95; font-weight: 500; }
.cat-hero .slide-eyebrow { margin-bottom: 10px; }
@media (max-width: 640px) { .cat-hero { padding: 24px 20px; min-height: 150px; } }

/* ---------- Cores do produto ---------- */
.swatches { margin: 16px 0 4px; }
.swatch-label { font-size: 14px; color: var(--ink); margin-bottom: 8px; }
.swatch-list { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border: 2px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.swatch i { width: 26px; height: 26px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); flex: none; }
.swatch:hover { border-color: #bbb; }
.swatch.on { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink) inset; }
.swatch.is-out { opacity: .55; }
.swatch.is-out span { text-decoration: line-through; }
.swatch:focus-visible { outline: 3px solid rgba(215,20,28,.4); outline-offset: 2px; }
/* Bolinhas de cor nos cards */
.card-swatches { display: flex; align-items: center; gap: 4px; position: relative; z-index: 2; }
.card-swatches i { width: 14px; height: 14px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18), 0 0 0 2px #fff; }
.card-swatches small { color: var(--muted); font-size: 12px; margin-left: 4px; }
.item-variant { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--muted); }
.item-variant i { width: 11px; height: 11px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }

/* Filtros com rolagem própria (fixos ao lado dos produtos) */
@media (min-width: 901px) {
  .filters { position: sticky; top: 150px; max-height: calc(100vh - 170px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #cfc9c3 transparent; }
  .filters::-webkit-scrollbar { width: 6px; }
  .filters::-webkit-scrollbar-thumb { background: #cfc9c3; border-radius: 99px; }
  .filters .facet { max-height: none; overflow: visible; }
  .filters form > button[type=submit] { position: sticky; bottom: -18px; box-shadow: 0 -10px 14px #fff; }
}

/* ---------- Prazo de entrega e "Vai caber?" ---------- */
.eta { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink); margin: 4px 0 12px; }
.eta .icon { color: var(--red); margin-top: 2px; }
.eta small { display: block; color: var(--muted); font-size: 12px; }
.fit-link { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; margin: 0 0 14px; cursor: pointer; font-size: 14px; color: var(--ink); font-weight: 600; }
.fit-link .icon { color: var(--red); }
.fit-link u { color: var(--red); text-underline-offset: 3px; }
.fit { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: center; background: var(--cream); border-radius: 18px; padding: 22px 26px; margin-top: 22px; max-width: 900px; }
.fit h3 { margin: 0 0 4px; font-size: 19px; }
.fit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 12px 0; }
.fit-grid label { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.fit-grid input { border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 15px; background: #fff; width: 100%; }
.fit-grid input:focus { outline: none; border-color: var(--ink); }
.fit-line { font-size: 14px; padding: 4px 0; }
.fit-line.bad { color: var(--red-700); font-weight: 600; }
.fit-line.warn { color: #a8670a; }
.fit-verdict { margin-top: 8px; padding: 10px 14px; border-radius: 10px; font-weight: 700; }
.fit-verdict.ok { background: var(--green-50); color: #075e33; }
.fit-verdict.bad { background: var(--red-50); color: var(--red-700); }
.fit-verdict a { color: inherit; text-decoration: underline; }
@media (max-width: 760px) { .fit { grid-template-columns: 1fr; padding: 18px; } .fit-diagram { max-width: 220px; margin: 0 auto; } .fit-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Filtro por cor e filtros ativos ---------- */
.color-facet { display: flex; flex-wrap: wrap; gap: 8px; }
.color-opt { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--ink); }
.color-opt i { width: 20px; height: 20px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); }
.color-opt:hover { border-color: #bbb; }
.color-opt.on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink) inset; font-weight: 700; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: -4px 0 14px; }
.af-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--ink); color: #fff; border-radius: 999px; padding: 6px 10px 6px 14px; font-size: 13px; font-weight: 600; }
.af-chip .icon { width: 14px; height: 14px; }
.af-chip:hover { background: var(--red); }
.notify-form { display: flex; gap: 8px; margin-top: 6px; }
.notify-form .input { flex: 1; min-width: 0; }

/* =====================================================================
   Animações e micro-interações
   ===================================================================== */

/* Transição suave entre páginas (Chrome, Edge, Safari recentes) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .18s ease both; }
::view-transition-new(root) { animation: vt-in .28s cubic-bezier(.2,.8,.2,1) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }
.header { view-transition-name: header; }

/* Conteúdo surge suavemente ao rolar (sem JS; navegadores sem suporte mostram direto) */
@supports (animation-timeline: view()) {
  .section-head, .card, .tile, .perk, .years, .review-card, .brand-tile, .together, .fit, .cat-tile, .trust-item, .box, .offers-hero, .cat-hero, .deals-head {
    animation: reveal-up linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 55%;
  }
}
@keyframes reveal-up { from { opacity: 0; transform: translateY(26px) scale(.985); } to { opacity: 1; transform: none; } }

/* Banner principal: textos entram em sequência a cada slide */
.slide.on .slide-eyebrow, .slide.on .slide-title, .slide.on .slide-sub, .slide.on .slide-price, .slide.on .slide-perks, .slide.on .slide-cta {
  animation: slide-in .7s cubic-bezier(.2,.8,.2,1) both;
}
.slide.on .slide-title { animation-delay: .08s; }
.slide.on .slide-sub { animation-delay: .16s; }
.slide.on .slide-price, .slide.on .slide-perks { animation-delay: .24s; }
.slide.on .slide-cta { animation-delay: .32s; }
.slide.on .slide-stamp, .slide.on .slide-seal { animation: stamp-in .6s .35s cubic-bezier(.2,1.6,.4,1) both; }
.slide.on .slide-free { animation: slide-in .6s .45s both; }
@keyframes slide-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes stamp-in { from { opacity: 0; transform: scale(.4) rotate(-20deg); } }

/* Botões: resposta ao toque e brilho sutil */
.btn { transition: transform .15s cubic-bezier(.2,.8,.2,1), background .2s, box-shadow .2s, color .2s, border-color .2s; position: relative; overflow: hidden; }
.btn:hover:not([disabled]) { transform: translateY(-1px); }
.btn:active:not([disabled]) { transform: translateY(1px) scale(.98); }
.btn-primary::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.28) 50%, transparent 65%); transform: translateX(-120%); transition: transform .7s; }
.btn-primary:hover::after { transform: translateX(120%); }

/* Cards: elevação mais macia e zoom da foto */
.card { transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s; will-change: transform; }
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(20,20,20,.12); }
.card-media img { transition: opacity .4s, transform .6s cubic-bezier(.2,.8,.2,1); }

/* Fotos aparecem com fade ao carregar (fundo com brilho enquanto carrega) */
.card-media, .stage, .tile, .side-photo, .slide { background-color: var(--cream); }
.card-media::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.6) 50%, transparent 70%); background-size: 200% 100%; animation: shimmer 1.4s infinite; z-index: 0; }
.card-media.loaded::before { display: none; }
.card-media img { position: relative; z-index: 1; }
@keyframes shimmer { from { background-position: 150% 0; } to { background-position: -50% 0; } }
img.fade-img { opacity: 0; }
img.fade-img.loaded { opacity: 1; transition: opacity .45s ease; }

/* Favoritar: coração "pula" */
.fav.pop .icon { animation: heart-pop .5s cubic-bezier(.2,1.8,.4,1); }
@keyframes heart-pop { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }

/* Carrinho: produto "voa" até o ícone e o contador pula */
.fly-img { position: fixed; z-index: 120; width: 90px; height: 90px; object-fit: contain; border-radius: 14px; background: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.25); pointer-events: none; transition: transform .75s cubic-bezier(.5,-0.2,.6,1), opacity .75s ease; }
.badge-count.bump { animation: bump .5s cubic-bezier(.2,1.8,.4,1); }
@keyframes bump { 0% { transform: scale(1); } 50% { transform: scale(1.6); } 100% { transform: scale(1); } }

/* Cabeçalho some ao rolar para baixo no celular e volta ao rolar para cima */
@media (max-width: 900px) {
  .header { transition: transform .3s cubic-bezier(.2,.8,.2,1); }
  .header.hide { transform: translateY(-100%); }
}

/* Links e chips com transição */
.chip, .color-opt, .facet-opt, .af-chip, .cat-circle, .swatch { transition: all .2s cubic-bezier(.2,.8,.2,1); }
.swatch:active { transform: scale(.95); }

/* =====================================================================
   Navegação inferior (celular), estilo aplicativo
   ===================================================================== */
.bottom-nav { display: none; }
@media (max-width: 640px) {
  .bottom-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .bottom-nav a, .bottom-nav button { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10.5px; font-weight: 600; color: var(--muted); background: none; border: 0; padding: 4px 0; position: relative; cursor: pointer; }
  .bottom-nav .icon { width: 23px; height: 23px; }
  .bottom-nav .on { color: var(--red); }
  .bottom-nav .bn-badge { position: absolute; top: 0; left: 55%; min-width: 17px; height: 17px; border-radius: 99px; background: var(--red); color: #fff; font-size: 10px; display: grid; place-items: center; padding: 0 4px; border: 2px solid #fff; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .wa-float { bottom: calc(76px + env(safe-area-inset-bottom)); }
  .cookie-bar { bottom: calc(76px + env(safe-area-inset-bottom)); }
  .page-product .bottom-nav { display: none; }
  .page-product body, body.page-product { padding-bottom: 72px; }
  .page-product .wa-float { bottom: 84px; }
  .header-actions .hact:nth-child(2) { display: none; }
}

/* Abas da página de produto no celular: menores, com rolagem suave e dica de continuação */
@media (max-width: 640px) {
  .tabs { gap: 0; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); scroll-snap-type: x proximity; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { padding: 12px 12px; font-size: 14px; scroll-snap-align: start; }
}

/* =====================================================================
   Detalhes e animações (rodada 2)
   ===================================================================== */

/* Botão "Adicionar" que sobe no card ao passar o mouse */
.card-quick { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 8px; height: 42px; border: 0; border-radius: 99px; background: var(--ink); color: #fff; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; box-shadow: 0 10px 24px rgba(0,0,0,.22); transform: translateY(calc(100% + 16px)); opacity: 0; transition: transform .35s cubic-bezier(.2,.9,.25,1.2), opacity .25s, background .2s; }
.card:hover .card-quick, .card-quick:focus-visible { transform: none; opacity: 1; }
.card-quick:hover { background: var(--red); }
.card-quick.busy { pointer-events: none; }
.card-quick.busy .icon { animation: cq-spin .7s linear infinite; }
.card-quick.done { background: var(--green); }
.card-quick.done span { font-size: 0; }
.card-quick.done span::after { content: 'Adicionado!'; font-size: 14px; }
@keyframes cq-spin { to { transform: rotate(360deg); } }
@media (hover: none) {
  /* Toque: botão redondo sempre visível no canto da foto */
  .card-quick { left: auto; right: 10px; bottom: 10px; width: 40px; height: 40px; padding: 0; transform: none; opacity: 1; background: #fff; color: var(--ink); box-shadow: var(--shadow); }
  .card-quick span { display: none; }
  .card-quick.done { background: var(--green); color: #fff; }
}

/* Luz suave que acompanha o mouse nos cards */
.card, .tile { --mx: 50%; --my: 50%; }
.card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(215,20,28,.07), transparent 45%); opacity: 0; transition: opacity .3s; z-index: 0; }
.card:hover::after { opacity: 1; }
.card { position: relative; }

/* Títulos de seção: sublinhado que se desenha ao aparecer */
.section-title em { background: linear-gradient(var(--red), var(--red)) no-repeat 0 100% / 0 4px; padding-bottom: 4px; transition: background-size .9s cubic-bezier(.2,.8,.2,1); }
@supports (animation-timeline: view()) {
  .section-title em { animation: underline-draw linear both; animation-timeline: view(); animation-range: entry 20% cover 35%; }
}
@supports not (animation-timeline: view()) { .section-title em { background-size: 100% 4px; } }
@keyframes underline-draw { to { background-size: 100% 4px; } }

/* Confete da entrega grátis */
.confetti-layer { position: fixed; inset: 0; pointer-events: none; z-index: 200; overflow: hidden; }
.confetti-layer i { position: absolute; width: 8px; height: 12px; border-radius: 2px; animation: confetti 1.4s cubic-bezier(.15,.7,.3,1) both; }
@keyframes confetti {
  0% { transform: translate(0, 0) rotate(0) scale(.6); opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translate(var(--dx), calc(var(--dy) + 260px)) rotate(var(--rot)) scale(1); opacity: 0; }
}
.ship-progress.celebrate { animation: celebrate .8s cubic-bezier(.2,1.6,.4,1); }
.ship-progress.celebrate .ship-progress-ico { animation: heart-pop .7s .1s cubic-bezier(.2,1.8,.4,1); }
@keyframes celebrate { 0% { transform: scale(.96); } 50% { transform: scale(1.02); } 100% { transform: none; } }
/* A barra enche a partir do zero ao aparecer */
.ship-progress-bar i { animation: bar-fill 1s cubic-bezier(.2,1,.3,1) both; }
@keyframes bar-fill { from { width: 0; } }

/* Barra de carregamento no topo */
.load-bar { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 300; background: linear-gradient(90deg, var(--red), #ff7a7f); box-shadow: 0 0 10px rgba(215,20,28,.6); opacity: 0; pointer-events: none; }
.load-bar.go { opacity: 1; animation: load-go 8s cubic-bezier(.1,.8,.2,1) forwards; }
@keyframes load-go { 0% { width: 0; } 10% { width: 45%; } 100% { width: 92%; } }

/* Onda ao clicar */
.ripple { position: absolute; border-radius: 50%; background: currentColor; opacity: .25; transform: scale(0); pointer-events: none; animation: ripple .6s ease-out forwards; }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

/* Voltar ao topo com anel de progresso */
.to-top { position: fixed; right: 28px; bottom: 96px; z-index: 55; width: 48px; height: 48px; border: 0; padding: 0; border-radius: 50%; background: #fff; box-shadow: 0 10px 26px rgba(0,0,0,.16); cursor: pointer; display: grid; place-items: center; opacity: 0; transform: translateY(16px) scale(.8); pointer-events: none; transition: opacity .3s, transform .35s cubic-bezier(.2,1.4,.4,1); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }
.to-top svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top circle { fill: none; stroke-width: 3; }
.to-top .tt-track { stroke: var(--line); }
.to-top .tt-ring { stroke: var(--red); stroke-dasharray: 125.7; stroke-dashoffset: 125.7; stroke-linecap: round; }
.to-top .tt-arrow { position: static; width: 20px; height: 20px; transform: none; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) { .to-top { display: none; } }

/* Toast entra com leve elasticidade e mostra o tempo restante */
.toast::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.35); transform-origin: left; transform: scaleX(0); }
.toast.show::after { animation: toast-time 4.2s linear forwards; }
@keyframes toast-time { from { transform: scaleX(1); } to { transform: scaleX(0); } }

/* Categorias: ícone flutua e gira levemente */
.cat-tile:hover .cat-circle img { animation: float-tilt 1.2s ease-in-out infinite alternate; }
@keyframes float-tilt { from { transform: translateY(0) rotate(0); } to { transform: translateY(-5px) rotate(-3deg); } }

/* Selo de desconto pulsa sutilmente */
.card-badges .tag-red { animation: tag-pulse 2.8s ease-in-out infinite; }
@keyframes tag-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(215,20,28,.35); } 50% { box-shadow: 0 0 0 6px rgba(215,20,28,0); } }

/* Cards entram em cascata nas grades */
@supports (animation-timeline: view()) {
  .grid > .card:nth-child(4n+2), .rail-track > .card:nth-child(4n+2) { animation-range: entry 5% entry 60%; }
  .grid > .card:nth-child(4n+3), .rail-track > .card:nth-child(4n+3) { animation-range: entry 10% entry 65%; }
  .grid > .card:nth-child(4n+4), .rail-track > .card:nth-child(4n+4) { animation-range: entry 15% entry 70%; }
}

/* Carrinho lateral: itens entram em sequência */
.drawer.open .drawer-item { animation: slide-in .45s cubic-bezier(.2,.8,.2,1) both; }
.drawer.open .drawer-item:nth-child(2) { animation-delay: .05s; }
.drawer.open .drawer-item:nth-child(3) { animation-delay: .1s; }
.drawer.open .drawer-item:nth-child(4) { animation-delay: .15s; }
.drawer-added { animation: pop .5s cubic-bezier(.2,1.4,.4,1) both; }

@media (prefers-reduced-motion: reduce) {
  .card-quick { transition: none; }
  .section-title em { background-size: 100% 4px; }
}

/* =====================================================================
   Pedido confirmado: experiência de comemoração
   ===================================================================== */
.ok-hero { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; align-items: end; gap: 24px; margin: 28px 0 18px; padding: 36px 40px 0; border-radius: 24px; overflow: hidden; color: #fff; background: radial-gradient(900px 400px at 85% 120%, rgba(255,255,255,.18), transparent 60%), linear-gradient(120deg, #a30d14 0%, var(--red) 55%, #ff4b52 100%); box-shadow: 0 24px 60px rgba(215,20,28,.25); }
.ok-hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.14) 1.5px, transparent 1.6px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent, #000 70%); pointer-events: none; }
.ok-copy { position: relative; padding-bottom: 36px; }
.ok-check { width: 74px; height: 74px; display: block; margin-bottom: 14px; fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 6px 14px rgba(0,0,0,.2)); }
.ok-check circle { stroke-dasharray: 183; stroke-dashoffset: 183; animation: ok-draw .7s .1s cubic-bezier(.6,0,.2,1) forwards; fill: rgba(255,255,255,0); transition: fill .4s; }
.ok-check path { stroke-dasharray: 50; stroke-dashoffset: 50; animation: ok-draw .45s .7s cubic-bezier(.3,1.4,.5,1) forwards; }
.ok-check { animation: ok-pop .5s .95s cubic-bezier(.2,1.8,.4,1); }
@keyframes ok-draw { to { stroke-dashoffset: 0; } }
@keyframes ok-pop { 50% { transform: scale(1.12); } }
.ok-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(0,0,0,.18); padding: 5px 12px; border-radius: 99px; animation: slide-in .6s .3s both; }
.ok-title { color: #fff; text-shadow: 0 4px 18px rgba(0,0,0,.18); font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(36px, 5vw, 60px); line-height: .95; margin: 12px 0 10px; animation: slide-in .6s .4s both; }
.ok-sub { font-size: 17px; max-width: 520px; opacity: .95; margin: 0 0 20px; animation: slide-in .6s .5s both; }
.ok-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; animation: slide-in .6s .6s both; }
.ok-hero .btn-primary { background: #fff; color: var(--red); }
.ok-hero .btn-primary:hover { background: #fff3f3; }
.ok-hero .btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.45); }
.ok-hero .btn-ghost:hover { background: rgba(255,255,255,.22); }
.ok-hero .muted { color: rgba(255,255,255,.8); }
.ok-hero .muted strong { color: #fff; }
.ok-mascot { position: relative; display: flex; justify-content: center; align-self: end; }
.ok-mascot .mascot { height: 320px; width: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,.25)); }
.ok-bubble { position: absolute; top: 14px; left: 0; z-index: 2; background: #fff; color: var(--ink); font-weight: 800; font-size: 15px; padding: 10px 16px; border-radius: 18px 18px 18px 4px; box-shadow: 0 10px 24px rgba(0,0,0,.18); animation: bubble-in .6s 1.1s cubic-bezier(.2,1.6,.4,1) both, bubble-float 3s 1.8s ease-in-out infinite; }
@keyframes bubble-in { from { opacity: 0; transform: scale(.4) translateY(20px); } }
@keyframes bubble-float { 50% { transform: translateY(-6px); } }

.ok-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; position: relative; counter-reset: s; }
.ok-steps::before { content: ''; position: absolute; top: 21px; left: 10%; right: 10%; height: 3px; background: var(--line); border-radius: 3px; }
.ok-steps li { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 14px; animation: slide-in .5s calc(.9s + var(--i) * .12s) both; }
.ok-steps small { color: var(--muted); font-size: 12px; }
.ok-dot { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 3px solid var(--line); color: var(--muted); margin-bottom: 6px; position: relative; z-index: 1; transition: .3s; }
.ok-steps li.done .ok-dot { background: var(--green); border-color: var(--green); color: #fff; }
.ok-steps li.now .ok-dot { border-color: var(--red); color: var(--red); box-shadow: 0 0 0 0 rgba(215,20,28,.4); animation: now-pulse 1.8s infinite; }
.ok-steps li.now strong { color: var(--red); }
@keyframes now-pulse { 70%, 100% { box-shadow: 0 0 0 12px rgba(215,20,28,0); } 0% { box-shadow: 0 0 0 0 rgba(215,20,28,.4); } }

.ok-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; align-items: start; }
.ok-eta { display: flex; gap: 14px; align-items: center; background: linear-gradient(120deg, var(--green-50), #fff); border-color: #bfe8cf; }
.ok-eta-ico { width: 54px; height: 54px; border-radius: 16px; background: var(--green); color: #fff; display: grid; place-items: center; flex: none; animation: truck-go 2.4s ease-in-out infinite; }
@keyframes truck-go { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
.ok-eta small { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.ok-eta strong { display: block; font-size: 18px; color: #075e33; margin: 2px 0; }
.ok-tips ul { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.ok-tips li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.ok-tips li .icon { color: var(--green); flex: none; margin-top: 2px; }

@media (max-width: 900px) {
  .ok-hero { grid-template-columns: 1fr; padding: 28px 22px 0; text-align: left; }
  .ok-mascot { justify-content: flex-end; margin-top: -40px; }
  .ok-mascot .mascot { height: 220px; }
  .ok-bubble { left: auto; right: 150px; top: 30px; }
  .ok-copy { padding-bottom: 0; }
  .ok-grid { grid-template-columns: 1fr; }
  .ok-steps { grid-template-columns: 1fr; gap: 0; text-align: left; }
  .ok-steps::before { top: 22px; bottom: 22px; left: 21px; right: auto; width: 3px; height: auto; }
  .ok-steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; text-align: left; align-items: center; padding: 6px 0; }
  .ok-steps .ok-dot { grid-row: span 2; margin: 0; }
}
@media (max-width: 640px) {
  .ok-actions .btn { flex: 1 1 100%; }
  .ok-mascot .mascot { height: 180px; }
  .ok-bubble { right: 120px; font-size: 13px; }
}
/* Toast escondido não "espia" no topo da tela */
.toast { visibility: hidden; opacity: 0; transform: translate(-50%, calc(-100% - 30px)); transition: transform .4s cubic-bezier(.2,1.3,.4,1), opacity .25s, visibility 0s .4s; }
.toast.show { visibility: visible; opacity: 1; transform: translate(-50%, 0); transition: transform .4s cubic-bezier(.2,1.3,.4,1), opacity .2s, visibility 0s; }

/* =====================================================================
   Página de pagamento
   ===================================================================== */
.pay-wrap { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; align-items: start; margin: 18px 0 50px; }
.pay-main { padding: 30px; animation: pop .5s cubic-bezier(.2,1.2,.4,1) both; }
.pay-eyebrow { display: inline-flex; align-items: center; gap: 6px; background: var(--green-50); color: #075e33; font-weight: 700; font-size: 13px; padding: 6px 12px; border-radius: 99px; }
.pay-eyebrow .icon { color: var(--green); }
.pay-title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(30px, 4vw, 44px); line-height: 1; margin: 14px 0 6px; }
.pay-reserve { display: inline-flex; align-items: center; gap: 8px; background: #fff7e6; border: 1px solid #f5d999; color: #7a5200; padding: 8px 14px; border-radius: 12px; font-size: 14px; margin-bottom: 16px; }
.pay-reserve strong { font-variant-numeric: tabular-nums; font-size: 15px; color: #5c3d00; }
.pay-reserve .icon { animation: tick-tock 2s ease-in-out infinite; }
@keyframes tick-tock { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 75% { transform: rotate(12deg); } }
.pay-amount { display: flex; flex-direction: column; gap: 2px; padding: 18px 20px; border-radius: 16px; background: linear-gradient(120deg, var(--soft), #fff); border: 1px solid var(--line); margin-bottom: 16px; }
.pay-amount small { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.pay-amount strong { font-size: 36px; letter-spacing: -.02em; line-height: 1.1; }
.pay-save { display: inline-flex; align-items: center; gap: 6px; color: #075e33; font-weight: 700; font-size: 14px; margin-top: 4px; }
.pay-how { margin: 16px 0 0; padding: 0; list-style: none; counter-reset: how; display: grid; gap: 10px; }
.pay-how li { counter-increment: how; display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; }
.pay-how li::before { content: counter(how); flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.pay-waiting { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; margin: 16px 0 0; }
.dot-pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--green); animation: now-pulse 1.4s infinite; box-shadow: 0 0 0 0 rgba(22,163,74,.5); }
.pay-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.pay-trust span { display: inline-flex; align-items: center; gap: 6px; }
.pay-side { position: sticky; top: 90px; animation: slide-in .5s .15s both; }
.pay-help { display: flex; gap: 14px; align-items: flex-end; overflow: hidden; padding-bottom: 0; }
.pay-help > div { padding-bottom: 18px; }
.pay-help p { margin: 4px 0 10px; }
.pay-mascot { height: 140px; width: auto; flex: none; margin-left: -6px; }
@media (max-width: 900px) {
  .pay-wrap { grid-template-columns: 1fr; }
  .pay-main { padding: 22px 18px; }
  .pay-side { position: static; }
  .pay-amount strong { font-size: 30px; }
}

/* Checkout: detalhes */
.co-eta { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: #075e33; background: var(--green-50); border-radius: 10px; padding: 9px 12px; margin-top: 14px; }
.co-eta .icon { color: var(--green); flex: none; }
.flash-total { animation: total-flash .6s ease; }
@keyframes total-flash { 0% { color: var(--green); transform: scale(1.06); } 100% { color: inherit; transform: none; } }
[data-total] { display: inline-block; transform-origin: right center; font-variant-numeric: tabular-nums; }
.option { position: relative; }
.option:has(input:checked) { box-shadow: 0 8px 22px rgba(215,20,28,.12); }
.option:has(input:checked)::after { content: ''; position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; box-shadow: 0 3px 8px rgba(215,20,28,.35); animation: stamp-in .35s cubic-bezier(.2,1.6,.4,1); }
.option.disabled::after { display: none; }
.btn.is-loading { pointer-events: none; opacity: .92; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: cq-spin .7s linear infinite; display: inline-block; }
.btn-ghost .spin { border-color: rgba(0,0,0,.15); border-top-color: var(--ink); }
[data-new-address]:not([hidden]) { animation: slide-in .4s cubic-bezier(.2,.8,.2,1); }
[data-pix-info]:not([hidden]), [data-installments]:not([hidden]) { animation: slide-in .35s cubic-bezier(.2,.8,.2,1); }

/* =====================================================================
   Momentos de alegria: balões, emojis e mascote interativo
   ===================================================================== */
.emoji-bit { position: absolute; transform: translate(-50%, -50%); line-height: 1; animation: emoji-fly 1.3s cubic-bezier(.15,.75,.3,1) both; will-change: transform, opacity; }
@keyframes emoji-fly {
  0% { transform: translate(-50%, -50%) scale(.3); opacity: 0; }
  15% { opacity: 1; }
  60% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) rotate(var(--rot)) scale(1.1); opacity: 1; }
  100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy) + 40px)) rotate(var(--rot)) scale(.9); opacity: 0; }
}

/* Balão de fala fixo (estados vazios, erro) */
.say-wrap { position: relative; display: inline-flex; flex-direction: column; align-items: center; }
.say { position: relative; z-index: 2; background: #fff; color: var(--ink); font-weight: 800; font-size: 15px; padding: 10px 16px; border-radius: 18px; box-shadow: 0 10px 26px rgba(0,0,0,.12); border: 1px solid var(--line); margin-bottom: 4px; white-space: nowrap; animation: bubble-in .6s .3s cubic-bezier(.2,1.6,.4,1) both, bubble-float 3s 1s ease-in-out infinite; }
.say::after { content: ''; position: absolute; left: 50%; bottom: -8px; width: 16px; height: 16px; background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: translateX(-50%) rotate(45deg); }
.mascot-sm { width: 130px; }

/* Balão que aparece ao clicar no mascote */
.mascot-say { position: absolute; z-index: 150; width: 220px; text-align: center; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; padding: 10px 14px; border-radius: 16px; box-shadow: 0 12px 28px rgba(0,0,0,.25); pointer-events: none; animation: bubble-in .45s cubic-bezier(.2,1.6,.4,1) both; transform-origin: bottom center; }
.mascot-say::after { content: ''; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; background: var(--ink); transform: translateX(-50%) rotate(45deg); }
.mascot-say.out { opacity: 0; transform: translateY(-8px) scale(.95); transition: .35s; }
img.mascot, .drawer-mascot { cursor: pointer; }
.hop { animation: mascot-hop .6s cubic-bezier(.3,1.6,.5,1) !important; }
@keyframes mascot-hop { 0% { transform: translateY(0) scale(1, 1); } 25% { transform: translateY(0) scale(1.06, .92); } 55% { transform: translateY(-18px) scale(.96, 1.05) rotate(-2deg); } 80% { transform: translateY(0) scale(1.03, .97); } 100% { transform: none; } }

/* Carrinho lateral: mascote comemora */
.drawer-added { display: flex; gap: 12px; align-items: center; }
.drawer-mascot { width: 56px; height: auto; flex: none; border-radius: 50%; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.12); animation: stamp-in .55s .1s cubic-bezier(.2,1.6,.4,1) both; }
.drawer-cheer { display: block; font-size: 15px; color: var(--ink); margin-bottom: 1px; animation: slide-in .45s .25s both; }

/* Barra de frete grátis: caminhãozinho que anda e frase "falta pouquinho" */
.ship-progress-bar { position: relative; overflow: visible; }
.ship-progress-bar i { overflow: hidden; }
.sp-truck { position: absolute; top: 50%; font-size: 16px; line-height: 1; transform: translate(-60%, -58%) scaleX(-1); transition: left .6s cubic-bezier(.2,1,.3,1); animation: truck-ride 1s cubic-bezier(.2,1,.3,1) both, truck-bump .5s 1s ease-in-out infinite alternate; filter: drop-shadow(0 2px 2px rgba(0,0,0,.15)); }
@keyframes truck-ride { from { left: 0; } }
@keyframes truck-bump { to { transform: translate(-60%, -68%) scaleX(-1); } }
.ship-progress.is-free .sp-truck { display: none; }
.ship-progress-bar { margin-top: 14px; }
.ship-progress.is-close { background: #fff7e6; border-color: #f5d999; }
.ship-progress.is-close .ship-progress-ico { background: #f59e0b; animation: heart-pop 1.6s ease-in-out infinite; }
.ship-progress.is-close strong { color: #9a5b00; }
.ship-progress.is-close .ship-progress-bar i { background: linear-gradient(90deg, #f59e0b, #fbbf24); }

/* Prova social real no produto */
.social-proof { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.social-proof span { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; padding: 6px 12px; border-radius: 99px; animation: pop .5s cubic-bezier(.2,1.4,.4,1) both; }
.sp-hot { background: #fff1ec; color: #9a2b00; }
.sp-eye { background: #eef4ff; color: #1e3a8a; animation-delay: .1s !important; }

@media (prefers-reduced-motion: reduce) { .say, .mascot-say, .sp-truck { animation: none !important; } }

/* Card "Entrega e montagem grátis": foto de montagem com sobreposição vermelha */
.side-assembly { background: var(--ink); isolation: isolate; }
.side-assembly .side-bg-assembly { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% center; z-index: 0; filter: grayscale(.2) contrast(1.1) brightness(1.05); transform: scale(1.04); transition: transform 6s ease-out; }
.side-assembly:hover .side-bg-assembly { transform: scale(1.12); }
.side-overlay { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(100deg, rgba(17,17,17,.88) 0%, rgba(40,10,12,.62) 38%, rgba(140,10,16,.42) 65%, rgba(215,20,28,.5) 100%),
              radial-gradient(circle at 100% 100%, rgba(215,20,28,.45), transparent 55%); }
.side-assembly .side-mascot { z-index: 1; }
.side-assembly .side-text { z-index: 2; text-shadow: 0 2px 10px rgba(0,0,0,.35); }

/* =====================================================================
   Rodada 4: sinais reais, contagem de separação, compras recentes
   ===================================================================== */
.social-proof span { animation-delay: calc(var(--i, 0) * .08s) !important; }
.social-proof i { font-style: normal; }
.sp-top { background: #fff8db; color: #7a5b00; }
.sp-fav { background: #fff0f3; color: #9d1238; }
.sp-low { background: #fff1f1; color: var(--red); }
.sp-low i { animation: heart-pop 1.4s ease-in-out infinite; display: inline-block; }

.cutoff { display: flex; align-items: center; gap: 8px; font-size: 14px; margin: 8px 0 2px; padding: 9px 12px; border-radius: 10px; background: #f3f7ff; color: #1e3a8a; border: 1px solid #dbe6ff; animation: pop .45s cubic-bezier(.2,1.4,.4,1) both; }
.cutoff strong { font-variant-numeric: tabular-nums; }
.cutoff.urgent { background: #fff1f1; border-color: #ffd0d2; color: var(--red); }
.cutoff.urgent strong { animation: tick-pulse 1s ease-in-out infinite; }
@keyframes tick-pulse { 50% { opacity: .55; } }

/* Foto do produto: troca suave */
[data-stage-img] { transition: opacity .16s ease, transform .4s cubic-bezier(.2,.8,.2,1); }
[data-stage-img].swap-out { opacity: 0; transform: scale(.97); }
[data-stage-img].swap-in { animation: swap-in .42s cubic-bezier(.2,.8,.2,1); }
@keyframes swap-in { from { opacity: 0; transform: scale(1.03); } }

/* Botão "Adicionar ao carrinho": sucesso */
.btn.is-added { background: var(--green) !important; border-color: var(--green) !important; color: #fff !important; animation: heart-pop .5s cubic-bezier(.2,1.8,.4,1); }

/* Aviso de compra recente */
.recent-pop { position: fixed; left: 20px; bottom: 20px; z-index: 58; display: flex; align-items: center; gap: 4px; max-width: 340px; background: #fff; border-radius: 16px; box-shadow: 0 16px 40px rgba(0,0,0,.18); border: 1px solid var(--line); padding: 8px 8px 8px 8px; transform: translateY(140%); opacity: 0; transition: transform .5s cubic-bezier(.2,1.2,.4,1), opacity .3s; pointer-events: none; }
.recent-pop.show { transform: none; opacity: 1; pointer-events: auto; }
.recent-pop a { display: flex; gap: 10px; align-items: center; color: var(--ink); min-width: 0; }
.recent-pop img { width: 54px; height: 54px; object-fit: contain; background: var(--cream); border-radius: 10px; flex: none; padding: 4px; }
.recent-pop span { display: flex; flex-direction: column; min-width: 0; }
.recent-pop strong { font-size: 13.5px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.recent-pop small { font-size: 12px; color: var(--muted); }
.recent-pop .rp-ago { color: var(--green); font-weight: 600; }
.recent-pop button { align-self: flex-start; background: none; border: 0; font-size: 18px; line-height: 1; color: var(--muted); cursor: pointer; padding: 2px 6px; }
@media (max-width: 640px) { .recent-pop { left: 10px; right: 10px; max-width: none; bottom: calc(76px + env(safe-area-inset-bottom)); } .page-product .recent-pop { bottom: 84px; } }

/* Lembrete do carrinho: ícone chacoalha e o mascote fala */
.cart-shake { animation: cart-shake .9s cubic-bezier(.36,.07,.19,.97) 2; transform-origin: 50% 80%; }
@keyframes cart-shake {
  0%, 100% { transform: rotate(0); }
  10%, 50% { transform: rotate(-14deg) scale(1.12); }
  20%, 60% { transform: rotate(12deg) scale(1.12); }
  30%, 70% { transform: rotate(-8deg); }
  40%, 80% { transform: rotate(6deg); }
}
.cart-nudge { position: fixed; z-index: 160; display: flex; align-items: flex-start; gap: 10px; width: min(330px, calc(100vw - 20px)); padding: 12px 12px 12px 10px; background: #fff; color: var(--ink); border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 18px 44px rgba(0,0,0,.22); animation: bubble-in .5s cubic-bezier(.2,1.6,.4,1) both; }
.cart-nudge::before { content: ''; position: absolute; left: var(--arrow, 50%); width: 14px; height: 14px; background: #fff; border: 1px solid var(--line); transform: translateX(-50%) rotate(45deg); }
.cart-nudge.below { transform-origin: top right; }
.cart-nudge.below::before { top: -8px; border-right: 0; border-bottom: 0; }
.cart-nudge.above { transform-origin: bottom center; }
.cart-nudge.above::before { bottom: -8px; border-left: 0; border-top: 0; }
.cart-nudge img { width: 54px; height: auto; flex: none; border-radius: 50%; background: var(--red-50); animation: mascot-hop .7s .3s cubic-bezier(.3,1.6,.5,1) both; }
.cart-nudge > div { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.cart-nudge strong { font-size: 14.5px; line-height: 1.3; }
.cart-nudge button { background: none; border: 0; font-size: 18px; line-height: 1; color: var(--muted); cursor: pointer; padding: 0 2px; margin-left: auto; }
.cart-nudge.out { opacity: 0; transform: translateY(-6px) scale(.96); transition: .3s; }
@media (prefers-reduced-motion: reduce) { .cart-shake, .cart-nudge, .cart-nudge img { animation: none !important; } }

/* Banner de categoria: mascote no canto direito apontando para os produtos */
.cat-hero { overflow: visible; isolation: isolate; }
.cat-hero::before, .cat-hero::after { border-radius: inherit; }
.cat-hero-mascot { position: absolute; right: 34px; bottom: 0; height: calc(100% + 26px); display: flex; align-items: flex-end; pointer-events: none; z-index: 1; }
.cat-mascot { height: 100%; width: auto; max-width: none; pointer-events: auto; filter: drop-shadow(-8px 10px 18px rgba(0,0,0,.28)); transform-origin: bottom center; }
.cat-hero-mascot .cat-mascot { animation: mascot-in .9s cubic-bezier(.2,1,.3,1) both, point-bob 1.6s 1s ease-in-out infinite; }
@keyframes point-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
.cat-say { position: absolute; right: calc(100% - 26px); top: 22px; white-space: nowrap; background: #fff; color: var(--ink); font-weight: 800; font-size: 14px; padding: 9px 14px; border-radius: 16px 16px 4px 16px; box-shadow: 0 10px 24px rgba(0,0,0,.2); animation: bubble-in .6s .8s cubic-bezier(.2,1.6,.4,1) both, bubble-float 3s 1.5s ease-in-out infinite; }
@media (max-width: 900px) { .cat-hero-mascot { right: 14px; height: calc(100% + 14px); } .cat-say { display: none; } }
@media (max-width: 640px) { .cat-hero { padding-right: 130px; } .cat-hero-mascot { right: 6px; height: 112%; } }
.cat-hero:has(.cat-hero-mascot) { padding-right: 300px; }
@media (max-width: 900px) { .cat-hero:has(.cat-hero-mascot) { padding-right: 210px; } }
@media (max-width: 640px) { .cat-hero:has(.cat-hero-mascot) { padding-right: 140px; } .cat-hero-mascot { height: 118%; } }
/* Tamanhos fixos do mascote no banner (evita cobrir o texto) */
.cat-hero-mascot { height: 214px; }
@media (max-width: 900px) { .cat-hero-mascot { height: 190px; right: 10px; } .cat-hero:has(.cat-hero-mascot) { padding-right: 236px; } }
@media (max-width: 640px) { .cat-hero-mascot { height: 128px; right: 0; } .cat-hero:has(.cat-hero-mascot) { padding-right: 132px; min-height: 140px; } .cat-hero:has(.cat-hero-mascot) p { font-size: 13px; } }
/* Mascote do banner: parado (sem flutuar), rente à base e com a cabeça saindo levemente por cima */
.cat-hero-mascot .cat-mascot { animation: mascot-in .9s cubic-bezier(.2,1,.3,1) both; filter: drop-shadow(-8px 6px 14px rgba(0,0,0,.25)); }
.cat-say { animation: bubble-in .6s .8s cubic-bezier(.2,1.6,.4,1) both; }
.cat-hero-mascot { height: calc(100% + 22px); }
@media (max-width: 900px) { .cat-hero-mascot { height: calc(100% + 16px); } }
@media (max-width: 640px) { .cat-hero-mascot { height: calc(100% + 12px); max-height: 150px; } }
@media (max-width: 640px) { .cat-hero-mascot { height: 136px; max-height: none; } .cat-hero:has(.cat-hero-mascot) { padding-right: 150px; } }

/* =====================================================================
   Galeria do produto: setas, contador, tela cheia e arrastar
   ===================================================================== */
.stage { touch-action: pan-y; }
.stage-nav { position: absolute; top: 50%; z-index: 3; width: 42px; height: 42px; margin-top: -21px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); box-shadow: 0 6px 16px rgba(0,0,0,.12); font-size: 26px; line-height: 1; color: var(--ink); cursor: pointer; opacity: 0; transition: opacity .2s, transform .2s; }
.stage-nav.prev { left: 12px; } .stage-nav.next { right: 12px; }
.stage:hover .stage-nav { opacity: 1; }
.stage-nav:hover { transform: scale(1.08); }
.stage-full { position: absolute; right: 12px; bottom: 12px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 99px; border: 0; background: rgba(255,255,255,.92); box-shadow: 0 6px 16px rgba(0,0,0,.12); font: inherit; font-size: 13px; font-weight: 700; color: var(--ink); cursor: pointer; transition: transform .2s; }
.stage-full:hover { transform: translateY(-1px); }
.stage-full svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.stage-count { position: absolute; left: 12px; bottom: 12px; z-index: 3; background: rgba(17,17,17,.7); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; }
.stage-count:empty { display: none; }
.stage.single .stage-nav { display: none; }
.stage.zoom .stage-nav, .stage.zoom .stage-full, .stage.zoom .stage-count { opacity: 0; pointer-events: none; }
@media (hover: none) { .stage-nav { display: none; } .stage-full span { display: none; } .stage-full { width: 36px; padding: 0; justify-content: center; } }

.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(12,12,12,.94); display: grid; grid-template-columns: 70px 1fr 70px; grid-template-rows: 1fr auto; align-items: center; opacity: 0; transition: opacity .25s; }
.lightbox.open { opacity: 1; }
.lb-stage { grid-column: 2; height: calc(100vh - 130px); display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: pan-y; }
.lb-img { max-width: 100%; max-height: 100%; object-fit: contain; background: #fbf8f4; border-radius: 14px; padding: 20px; cursor: zoom-in; transition: transform .35s cubic-bezier(.2,.8,.2,1); animation: swap-in .35s cubic-bezier(.2,.8,.2,1); }
.lightbox.zoomed .lb-img { transform: scale(1.8); cursor: zoom-out; }
.lb-nav { width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 32px; cursor: pointer; justify-self: center; transition: background .2s; }
.lb-nav:hover { background: rgba(255,255,255,.25); }
.lb-close { position: absolute; top: 14px; right: 16px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.lb-count { position: absolute; top: 24px; left: 20px; color: rgba(255,255,255,.8); font-weight: 700; font-size: 14px; }
.lb-strip { grid-column: 1 / -1; display: flex; gap: 8px; justify-content: center; padding: 12px; overflow-x: auto; }
.lb-strip button { width: 64px; height: 64px; flex: none; border-radius: 10px; border: 2px solid transparent; background: #fbf8f4; padding: 3px; cursor: pointer; opacity: .55; transition: .2s; }
.lb-strip button.on { border-color: var(--red); opacity: 1; }
.lb-strip img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 640px) { .lightbox { grid-template-columns: 0 1fr 0; } .lb-nav { display: none; } .lb-stage { height: calc(100vh - 120px); padding: 0 8px; } }

/* =====================================================================
   Comparar produtos
   ===================================================================== */
.card-cmp { position: relative; z-index: 2; margin-top: 8px; align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line); background: #fff; color: var(--muted); font: inherit; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; cursor: pointer; transition: .2s; }
.card-cmp:hover { color: var(--ink); border-color: #bbb; }
.card-cmp.on, .pdp-cmp.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.card-cmp span, .pdp-cmp span { font-size: 14px; }
.pdp-cmp.on { padding: 4px 12px; border-radius: 99px; }

.cmp-bar { position: fixed; left: 50%; bottom: 18px; z-index: 65; display: flex; align-items: center; gap: 14px; padding: 10px 12px 10px 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 44px rgba(0,0,0,.2); transform: translate(-50%, 160%); transition: transform .45s cubic-bezier(.2,1.2,.4,1); max-width: calc(100vw - 24px); }
.cmp-bar.show { transform: translate(-50%, 0); }
.cmp-bar-title { font-weight: 800; font-size: 14px; white-space: nowrap; }
.cmp-slots { display: flex; gap: 8px; }
.cmp-slot { position: relative; width: 48px; height: 48px; border-radius: 10px; background: var(--cream); border: 1px solid var(--line); display: grid; place-items: center; animation: pop .35s cubic-bezier(.2,1.4,.4,1); }
.cmp-slot img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.cmp-slot.empty { border-style: dashed; color: var(--muted); font-weight: 700; background: #fff; animation: none; }
.cmp-slot button { position: absolute; top: -7px; right: -7px; width: 20px; height: 20px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 13px; line-height: 1; cursor: pointer; }
.cmp-bar .is-disabled { opacity: .55; }
.link-clear { background: none; border: 0; color: var(--muted); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
@media (max-width: 640px) {
  .cmp-bar { bottom: calc(72px + env(safe-area-inset-bottom)); gap: 8px; padding: 8px 10px; left: 10px; right: 10px; transform: translateY(200%); }
  .cmp-bar.show { transform: none; }
  .cmp-bar-title, .link-clear { display: none; }
  .cmp-slot { width: 40px; height: 40px; }
  .cmp-bar .btn { margin-left: auto; }
  .page-product .cmp-bar { bottom: 80px; }
}
body.has-cmp .wa-float { bottom: 96px; }
@media (max-width: 640px) { body.has-cmp .wa-float { bottom: calc(140px + env(safe-area-inset-bottom)); } }

/* Página de comparação */
.cmp-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.cmp-scroll { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
.cmp { width: 100%; border-collapse: collapse; min-width: calc(170px + var(--cols) * 220px); }
.cmp th, .cmp td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 14px; }
.cmp tbody tr:nth-child(even) td, .cmp tbody tr:nth-child(even) th { background: #fbfaf8; }
.cmp-label { width: 170px; position: sticky; left: 0; z-index: 1; background: #fff; font-weight: 700; color: var(--muted); font-size: 13px; }
.cmp-prod { position: relative; vertical-align: bottom; animation: pop .45s cubic-bezier(.2,1.4,.4,1) both; }
.cmp-img { position: relative; display: block; aspect-ratio: 1; background: var(--cream); border-radius: 14px; margin-bottom: 10px; overflow: hidden; }
.cmp-img img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .4s; }
.cmp-img:hover img { transform: scale(1.05); }
.cmp-img .tag { position: absolute; top: 8px; left: 8px; }
.cmp-name { font-weight: 700; color: var(--ink); line-height: 1.3; display: block; }
.cmp-best { display: inline-block; margin-top: 6px; background: var(--green-50); color: #075e33; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 99px; }
.cmp-win { color: #075e33; font-weight: 800; }
.cmp-x { position: absolute; top: 8px; right: 10px; z-index: 2; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 16px; cursor: pointer; }
.cmp tr.diff td { font-weight: 600; }
.cmp.only-diff tr.same { display: none; }
.cmp-actions td { border-bottom: 0; }
.cmp-actions .link { display: inline-block; margin-top: 8px; }

/* =====================================================================
   Oferta de boas-vindas
   ===================================================================== */
.welcome { position: fixed; inset: 0; z-index: 380; display: grid; place-items: center; padding: 16px; background: rgba(17,17,17,.55); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s; }
.welcome.open { opacity: 1; }
.welcome-card { position: relative; width: min(420px, 100%); background: #fff; border-radius: 26px; padding: 120px 28px 22px; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.35); transform: translateY(30px) scale(.94); transition: transform .5s cubic-bezier(.2,1.4,.4,1); overflow: visible;
  background-image: radial-gradient(500px 220px at 50% -40px, #ffe1e2, transparent 70%); }
.welcome.open .welcome-card { transform: none; }
.welcome-mascot { position: absolute; left: 50%; top: -86px; width: 220px; transform: translateX(-50%); filter: drop-shadow(0 14px 22px rgba(0,0,0,.25)); animation: mascot-in .8s .15s cubic-bezier(.2,1,.3,1) both; }
.welcome-x { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--soft); font-size: 20px; line-height: 1; cursor: pointer; z-index: 2; }
.welcome-eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--red); }
.welcome h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 32px; line-height: 1; margin: 8px 0 8px; }
.welcome h2 em { font-style: normal; color: var(--red); }
.welcome p { color: var(--muted); margin: 0 0 16px; font-size: 15px; }
.welcome-code { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 6px 6px 6px 18px; margin-bottom: 12px; border: 2px dashed var(--red); border-radius: 14px; background: #fff7f7; font: inherit; cursor: pointer; transition: .2s; animation: code-glow 2s 1s ease-in-out infinite; }
.welcome-code span { font-size: 22px; font-weight: 900; letter-spacing: .08em; color: var(--ink); }
.welcome-code b { background: var(--red); color: #fff; padding: 9px 14px; border-radius: 10px; font-size: 14px; }
.welcome-code.copied { border-style: solid; border-color: var(--green); background: var(--green-50); animation: none; }
.welcome-code.copied b { background: var(--green); }
@keyframes code-glow { 50% { box-shadow: 0 0 0 6px rgba(215,20,28,.12); } }
.welcome-no { margin-top: 10px; background: none; border: 0; color: var(--muted); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
@media (max-width: 640px) { .welcome-card { padding-top: 104px; } .welcome-mascot { width: 180px; top: -70px; } .welcome h2 { font-size: 27px; } }

/* Etiqueta de promoção e contagem de término (loja) */
.tag-promo { background: var(--ink); color: #fff; letter-spacing: .02em; }
.card-badges { display: flex; flex-wrap: wrap; gap: 4px; max-width: calc(100% - 56px); }
.promo-ends { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: #7a5200; background: #fff7e6; border: 1px solid #f5d999; padding: 6px 12px; border-radius: 99px; margin-bottom: 8px; }
.promo-ends strong { font-variant-numeric: tabular-nums; }
.promo-ends.urgent { color: var(--red); background: #fff1f1; border-color: #ffd0d2; }
.promo-ends.urgent strong { animation: tick-pulse 1s ease-in-out infinite; }

/* Mega menu: quadro com a foto do departamento e sobreposição vermelha */
.mega .wrap { grid-template-columns: 1fr 320px; align-items: stretch; }
.mega-photo { position: relative; display: block; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: linear-gradient(135deg, var(--red-700, #a30d14), var(--red)); color: #fff; isolation: isolate; }
.mega-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.04); transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.mega-photo-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(17,17,17,0) 30%, rgba(120,8,14,.55) 62%, rgba(150,10,16,.92) 100%), linear-gradient(120deg, rgba(215,20,28,.28), transparent 55%); }
.mega-photo-text { position: absolute; left: 20px; right: 20px; bottom: 18px; display: flex; flex-direction: column; gap: 4px; }
.mega-photo-text small { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; opacity: .92; }
.mega-photo-text strong { font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1; text-transform: uppercase; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.mega-photo-cta { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; align-self: flex-start; background: #fff; color: var(--red); font-weight: 800; font-size: 13px; padding: 7px 14px; border-radius: 99px; transition: transform .25s; }
.mega-photo:hover img { transform: scale(1.12); }
.mega-photo:hover .mega-photo-cta { transform: translateX(4px); }
.nav-item:hover .mega-photo-text, .nav-item:focus-within .mega-photo-text { animation: slide-in .45s .08s cubic-bezier(.2,.8,.2,1) both; }
.mega-photo img { z-index: 0; }
.mega-photo-shade { z-index: 1; }
.mega-photo-text { z-index: 2; }

/* Pagamento a combinar (Pix da loja) */
.pix-key { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 10px 10px 10px 16px; border: 2px dashed var(--green); background: var(--green-50); border-radius: 14px; font: inherit; cursor: pointer; text-align: left; }
.pix-key span { display: flex; flex-direction: column; min-width: 0; }
.pix-key small { color: var(--muted); font-size: 12px; }
.pix-key b { font-size: 17px; word-break: break-all; }
.pix-key em { font-style: normal; background: var(--green); color: #fff; font-weight: 800; padding: 8px 14px; border-radius: 10px; flex: none; }

/* Busca: "você quis dizer" e resultados parecidos */
.search-hint { background: #f3f7ff; border: 1px solid #dbe6ff; color: #1e3a8a; border-radius: 12px; padding: 10px 14px; margin: 4px 0 10px; font-size: 14.5px; animation: pop .4s cubic-bezier(.2,1.4,.4,1) both; }
.search-hint a { color: var(--red); text-decoration: underline; }

/* =====================================================================
   "Espiar" (visualização rápida)
   ===================================================================== */
.card-peek { position: absolute; left: 50%; top: 42%; z-index: 3; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border: 0; border-radius: 99px; background: rgba(255,255,255,.95); color: var(--ink); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; box-shadow: 0 8px 22px rgba(0,0,0,.16); transform: translate(-50%, -50%) scale(.85); opacity: 0; transition: opacity .25s, transform .3s cubic-bezier(.2,1.4,.4,1), background .2s; }
.card-peek svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; }
.card:hover .card-peek, .card-peek:focus-visible { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.card-peek:hover { background: var(--ink); color: #fff; }
@media (hover: none) { .card-peek { display: none; } }

.qv-modal { position: fixed; inset: 0; z-index: 390; display: grid; place-items: center; padding: 16px; background: rgba(17,17,17,.55); backdrop-filter: blur(3px); opacity: 0; transition: opacity .25s; }
.qv-modal.open { opacity: 1; }
.qv-card { position: relative; width: min(940px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.35); transform: translateY(24px) scale(.97); transition: transform .4s cubic-bezier(.2,1.3,.4,1); }
.qv-modal.open .qv-card { transform: none; }
.qv-x { position: absolute; top: 12px; right: 12px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--soft); font-size: 22px; line-height: 1; cursor: pointer; }
.qv-loading { display: grid; place-items: center; min-height: 360px; }
.qv-loading .spin { width: 36px; height: 36px; border-color: var(--line); border-top-color: var(--red); }
.qv { display: grid; grid-template-columns: 1.05fr 1fr; gap: 26px; padding: 24px; animation: pop .35s cubic-bezier(.2,1.2,.4,1) both; }
.qv-stage { position: relative; aspect-ratio: 1; background: var(--cream); border-radius: 16px; overflow: hidden; }
.qv-stage img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: opacity .16s, transform .4s; }
.qv-stage img.swap-out { opacity: 0; transform: scale(.97); }
.qv-off { position: absolute; top: 12px; left: 12px; z-index: 1; }
.qv-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.qv-thumbs button { width: 64px; height: 64px; flex: none; border: 2px solid var(--line); border-radius: 10px; background: var(--cream); padding: 3px; cursor: pointer; }
.qv-thumbs button.on { border-color: var(--red); }
.qv-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.qv-info { display: flex; flex-direction: column; gap: 10px; padding-right: 20px; }
.qv-name { font-size: 22px; line-height: 1.2; margin: 0; }
.qv-sub { margin: 0; }
.qv-price .price { font-size: 30px; }
.qv-colors { display: flex; flex-direction: column; gap: 8px; }
.qv-perks { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); }
.qv-perks li { display: flex; align-items: center; gap: 8px; }
.qv-perks .icon { color: var(--green); }
@media (max-width: 760px) { .qv { grid-template-columns: 1fr; padding: 16px; } .qv-info { padding-right: 0; } }

/* =====================================================================
   Celular: experiência de aplicativo (rodada de refinamento)
   ===================================================================== */
.sheet-head, .sheet-done, .sheet-grip { display: none; }
.sheet-bg { position: fixed; inset: 0; z-index: 180; background: rgba(17,17,17,.45); opacity: 0; pointer-events: none; transition: opacity .3s; }
@media (max-width: 900px) {
  /* Filtros em folha que sobe de baixo */
  .filters { display: block !important; position: fixed !important; left: 0; right: 0; bottom: 0; top: auto; z-index: 190; max-height: 86vh; overflow-y: auto; background: #fff; border-radius: 22px 22px 0 0; padding: 0 18px calc(18px + env(safe-area-inset-bottom)); box-shadow: 0 -20px 50px rgba(0,0,0,.2); transform: translateY(105%); transition: transform .38s cubic-bezier(.2,1,.3,1); visibility: hidden; }
  .filters.open { transform: none; visibility: visible; }
  .sheet-bg.open { opacity: 1; pointer-events: auto; }
  .sheet-head { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 2; background: #fff; padding: 18px 0 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
  .sheet-head strong { font-size: 18px; }
  .sheet-done { display: flex; position: sticky; bottom: 0; margin-top: 14px; box-shadow: 0 -10px 20px #fff; }
  .filters-apply { display: none; }
  .filters .group { padding: 14px 0; }

  /* Barra Filtros/Ordenar fica fixa ao rolar a lista */
  .toolbar { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); margin: 0 -16px 14px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
  .filters-toggle { font-weight: 700; }
}
.sheet-grip { width: 42px; height: 5px; border-radius: 99px; background: #d6d1cc; }

@media (max-width: 640px) {
  /* Carrinho em folha que sobe de baixo */
  .drawer { top: auto; left: 0; right: 0; width: 100%; height: min(88vh, 100%); border-radius: 22px 22px 0 0; transform: translateY(100%); box-shadow: 0 -20px 50px rgba(0,0,0,.22); }
  .drawer.open { transform: none; }
  .drawer-head { position: relative; padding-top: 22px; touch-action: none; }
  .sheet-grip { display: block; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); }
  .sheet-head .sheet-grip { top: 7px; }
  .drawer-foot { padding-bottom: calc(14px + env(safe-area-inset-bottom)); }

  /* Banner da home mais compacto: vantagens em linha */
  .slides { min-height: 400px; height: 400px; }
  .slide { padding: 20px 20px 40px; }
  .slide-sub { font-size: 14.5px; margin-bottom: 12px; }
  .slide-perks { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -2px 16px; gap: 6px; }
  .slide-perks::-webkit-scrollbar { display: none; }
  .slide-perks li { flex: none; font-size: 12.5px; padding: 6px 10px; }
  .slide-title { font-size: 30px; }

  /* Categorias menores: mais ambientes visíveis de uma vez */
  .cat-grid { grid-auto-columns: 21%; gap: 10px; }
  .cat-tile { font-size: 12.5px; gap: 6px; line-height: 1.2; }
  .cat-circle img { width: 66%; }

  /* Subcategorias deslizam de lado (sem quebrar em várias linhas) */
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 12px -16px; padding: 2px 16px; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; white-space: nowrap; }
  .listing .muted .ship-note { display: none; }

  /* Cards: menos poluição */
  .card-cmp { display: none; }

  /* Produto: área de compra cabe certinho */
  .buy-row { flex-wrap: nowrap; }
  .buy-row .qty { flex: none; height: 52px; }
  .buy-row .qty button { width: 38px; }
  .buy-row .qty input { width: 34px; }
  .buy-row .btn { min-width: 0; padding: 0 12px; font-size: 16px; white-space: nowrap; }
  .buy-alt { display: grid; grid-template-columns: 1fr 1fr; }
  .buy-alt .btn { min-width: 0; padding: 0 8px; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .fit-link { display: flex; flex-wrap: wrap; gap: 4px 6px; text-align: left; }
  .fit-link u { white-space: nowrap; }
  .pdp-cmp { display: none; }
  .cep-check form { flex-wrap: nowrap; }
  .cep-check form .input, .cep-check form input { min-width: 0; flex: 1; }
  .cep-check form .btn { flex: none; padding: 0 14px; }
  .social-proof { gap: 6px; }
  .social-proof span { font-size: 12.5px; padding: 5px 10px; }

  /* WhatsApp flutuante mais discreto */
  .wa-float { padding: 4px; box-shadow: 0 8px 20px rgba(37,211,102,.35); }
  .wa-ico { width: 46px; height: 46px; }
  .wa-ico .icon { width: 26px; height: 26px; }
  .wa-float::before { animation: none; }
}
@media (max-width: 640px) { .no-sm { display: none; } }

/* Produto: dúvidas frequentes */
.pdp-faq { margin: 40px 0; display: grid; grid-template-columns: 300px 1fr; gap: 24px 40px; align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; transition: box-shadow .2s, border-color .2s; }
.faq-list details[open] { border-color: #f3c2c4; box-shadow: 0 10px 24px rgba(0,0,0,.06); }
.faq-list summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--red); transition: transform .25s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { margin: 0 0 16px; color: var(--ink-2, #444); line-height: 1.6; animation: slide-in .3s both; }
.faq-list a { color: var(--red); text-decoration: underline; }
.faq-wa { grid-column: 2; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: var(--green-50); border: 1px solid #bfe8cf; color: #075e33; }
.faq-wa img { border-radius: 50%; background: #fff; flex: none; }
.faq-wa .icon { color: var(--green); margin-left: auto; flex: none; }
@media (max-width: 900px) { .pdp-faq { grid-template-columns: 1fr; } .faq-wa { grid-column: 1; } }

/* =====================================================================
   Menu do celular: gaveta lateral animada
   ===================================================================== */
.nav-ico, .nav-exp, .nav-backdrop { display: none; }
@media (max-width: 900px) {
  .menu-open .header { z-index: 300; transform: none !important; }
  .nav-backdrop { display: block; position: fixed; inset: 0; z-index: 1; background: rgba(17,17,17,.5); backdrop-filter: blur(2px); opacity: 0; pointer-events: none; transition: opacity .35s; }
  .menu-open .nav-backdrop { opacity: 1; pointer-events: auto; }
  .nav, .nav.open { display: flex !important; flex-direction: column; position: fixed; top: 0; bottom: 0; left: 0; right: auto; inset: 0 auto 0 0; z-index: 2; width: min(88vw, 380px); background: #fff; color: var(--ink); overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(-104%); visibility: hidden; transition: transform .42s cubic-bezier(.2,1,.25,1), visibility 0s .42s; box-shadow: 20px 0 50px rgba(0,0,0,.25); border-radius: 0 22px 22px 0; }
  .nav.open { transform: none; visibility: visible; transition: transform .42s cubic-bezier(.2,1,.25,1), visibility 0s; }
  .nav .wrap, .nav.open .wrap { display: flex; flex-direction: column; padding: 8px 0 24px; gap: 0; }

  /* Topo com o mascote */
  .nav-close, .nav.open .nav-close { display: flex !important; align-items: center; gap: 12px; padding: 18px 16px 18px 18px; background: linear-gradient(120deg, #a30d14, var(--red) 60%, #ff4b52); color: #fff; position: sticky; top: 0; z-index: 2; border-radius: 0 22px 0 0; }
  .nav-mascot { width: 54px; height: auto; border-radius: 50%; background: rgba(255,255,255,.18); flex: none; }
  .nav.open .nav-mascot { animation: mascot-hop .7s .25s cubic-bezier(.3,1.6,.5,1) both; }
  .nav-hello { display: flex; flex-direction: column; line-height: 1.2; flex: 1; min-width: 0; }
  .nav-hello small { font-size: 13px; opacity: .9; }
  .nav-hello strong { font-family: var(--display); font-weight: 400; font-size: 21px; text-transform: uppercase; letter-spacing: .01em; }
  .nav-x { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; transition: transform .25s; }
  .nav-x:active { transform: scale(.9) rotate(90deg); }

  /* Itens entram em sequência */
  .nav-item { position: relative; display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line); }
  .nav.open .nav-item, .nav.open .nav-extras { animation: nav-in .45s calc(.08s + var(--i, 0) * .04s) cubic-bezier(.2,1,.3,1) both; }
  @keyframes nav-in { from { opacity: 0; transform: translateX(-18px); } }
  .nav-item > a, .nav.open .nav-item > a { flex: 1; display: flex; align-items: center; gap: 12px; padding: 12px 18px; font-size: 16px; font-weight: 700; color: var(--ink); border: 0; background: none; }
  .nav-item > a .icon.hide-sm { display: none; }
  .nav-ico { display: block; width: 36px; height: 36px; padding: 4px; border-radius: 12px; background: var(--soft); object-fit: contain; flex: none; }
  .nav-item > a:active { background: var(--soft); }
  .nav.open .nav-item.highlight > a, .nav-item.highlight > a { color: var(--red); background: none; }
  .nav-item.highlight > a .icon { width: 36px; height: 36px; padding: 8px; border-radius: 12px; background: var(--red-50); color: var(--red); }
  .nav-exp { display: grid; place-items: center; width: 44px; height: 44px; margin-right: 8px; border: 0; border-radius: 12px; background: none; color: var(--muted); cursor: pointer; transition: transform .3s cubic-bezier(.2,1.4,.4,1), background .2s; }
  .nav-exp:active { background: var(--soft); }
  .nav-item.expanded .nav-exp { transform: rotate(180deg); color: var(--red); }

  /* Subcategorias em sanfona */
  .nav .mega, .nav.open .mega { display: grid !important; grid-template-rows: 0fr; position: static; width: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: var(--soft); transition: grid-template-rows .35s cubic-bezier(.2,1,.3,1); }
  .nav-item.expanded .mega { grid-template-rows: 1fr; }
  .nav .mega > .wrap { min-height: 0; overflow: hidden; display: block; padding: 0; }
  .nav .mega h4, .nav .mega-photo { display: none; }
  .nav .mega ul { columns: 1; padding: 6px 0 10px 66px; }
  .nav .mega li a { padding: 10px 0; font-size: 15px; color: var(--ink-2, #333); }
  .nav .mega li a.link { color: var(--red); font-weight: 700; }
  .nav-item.expanded .mega li { animation: nav-in .35s cubic-bezier(.2,1,.3,1) both; }
  .nav-item.expanded .mega li:nth-child(2) { animation-delay: .04s; } .nav-item.expanded .mega li:nth-child(3) { animation-delay: .08s; } .nav-item.expanded .mega li:nth-child(4) { animation-delay: .12s; } .nav-item.expanded .mega li:nth-child(n+5) { animation-delay: .16s; }

  /* Atalhos no fim do menu */
  .nav-extras { display: block; padding: 16px 16px 0; }
  .nav-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .nav-quick a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border-radius: 14px; background: var(--soft); font-size: 12.5px; font-weight: 700; color: var(--ink); }
  .nav-quick .icon { color: var(--red); }
  .nav-wa { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--green-50); border: 1px solid #bfe8cf; color: #075e33; }
  .nav-wa .icon { width: 30px; height: 30px; color: var(--green); flex: none; }
  .nav-wa span { display: flex; flex-direction: column; font-size: 14px; }
  .nav-wa small { color: var(--muted); font-size: 12px; }
  .nav-store { display: flex; gap: 8px; margin: 14px 2px 0; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
  .nav-store .icon { color: var(--red); flex: none; margin-top: 2px; }
}

/* =====================================================================
   Mascote nos banners também no celular
   ===================================================================== */
@media (max-width: 900px) {
  /* Banner principal: mascote no canto superior direito dos slides institucionais */
  .slide:has(.slide-mascot) .slide-visual { display: flex; position: absolute; right: -4px; top: 6px; width: auto; height: 46%; z-index: 2; pointer-events: none; }
  .slide .slide-mascot { height: 100%; width: auto; margin: 0; filter: drop-shadow(-6px 8px 16px rgba(0,0,0,.35)); }
  .slide.on .slide-mascot { animation: mascot-in .8s .2s cubic-bezier(.2,1,.3,1) both; }
  .slide .slide-seal { display: none; }
}
@media (max-width: 640px) {
  .slides { height: 440px; min-height: 440px; }
  /* Banner de ofertas: mascote surpreso no canto */
  .offers-hero { position: relative; overflow: hidden; }
  .offers-mascot { display: block; position: absolute; right: -10px; bottom: 0; height: 150px; z-index: 1; filter: drop-shadow(-6px 8px 16px rgba(0,0,0,.3)); }
  .offers-hero > div { padding-right: 110px; position: relative; z-index: 2; }
}
@media (max-width: 900px) {
  .slide:has(.slide-mascot) .slide-visual { top: auto; bottom: 0; right: -14px; height: 64%; }
  .slide:has(.slide-mascot) .slide-copy { max-width: 64%; position: relative; z-index: 3; }
  .slide:has(.slide-mascot) .slide-perks { flex-wrap: wrap; overflow: visible; }
}
@media (max-width: 640px) {
  .slide:has(.slide-mascot) .slide-title { font-size: 26px; }
  .slide:has(.slide-mascot) .slide-sub { font-size: 13.5px; }
}
@media (max-width: 900px) {
  .slide:has(.slide-mascot) .slide-perks { flex-wrap: nowrap; overflow-x: auto; }
  .slide:has(.slide-mascot) .slide-visual { height: 58%; }
}
@media (max-width: 640px) {
  .slides { height: 460px; min-height: 460px; }
  .slide:has(.slide-mascot) .slide-sub { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
}

/* Banner principal: o slide entra pelo lado do gesto (arrastar/setas) */
.hero[data-dir="next"] .slide.on .slide-photo { animation: hero-in-r .7s cubic-bezier(.2,.9,.25,1) backwards; }
.hero[data-dir="prev"] .slide.on .slide-photo { animation: hero-in-l .7s cubic-bezier(.2,.9,.25,1) backwards; }
@keyframes hero-in-r { from { transform: translateX(6%) scale(1.08); } }
@keyframes hero-in-l { from { transform: translateX(-6%) scale(1.08); } }

@media (max-width: 640px) {
  /* Cards laterais viram carrossel deslizante (menos rolagem, mais moderno) */
  .hero-side { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; grid-template-columns: none; grid-template-rows: none; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 6px; scroll-padding: 0 16px; }
  .hero-side::-webkit-scrollbar { display: none; }
  .hero-side .side-card { scroll-snap-align: start; min-height: 168px; }
  .hero-grid { gap: 12px; }
}

/* Busca: atalhos ao tocar no campo (recentes e mais buscados) */
.suggest-sec { padding: 12px 14px 4px; }
.suggest-sec + .suggest-sec { border-top: 1px solid var(--line); }
.suggest-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 13px; color: var(--muted); }
.suggest-head b { color: var(--ink); }
.suggest-chips { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 10px; }
.suggest-chip { display: inline-flex; align-items: center; gap: 4px; padding: 7px 12px; border-radius: 99px; background: var(--soft); font-size: 13.5px; font-weight: 600; color: var(--ink); transition: background .2s, transform .2s; animation: pop .3s cubic-bezier(.2,1.4,.4,1) both; }
.suggest-chip:hover, .suggest-chip.on { background: var(--red-50); color: var(--red); transform: translateY(-1px); }

/* Barra inferior do celular: aba ativa em "pílula" e resposta ao toque */
@media (max-width: 640px) {
  .bottom-nav a, .bottom-nav button { -webkit-tap-highlight-color: transparent; transition: color .2s, transform .15s; }
  .bottom-nav a::before, .bottom-nav button::before { content: ''; position: absolute; top: 2px; left: 50%; width: 52px; height: 30px; border-radius: 99px; background: var(--red-50); transform: translateX(-50%) scale(.4); opacity: 0; transition: transform .3s cubic-bezier(.2,1.4,.4,1), opacity .2s; z-index: -1; }
  .bottom-nav .on::before { transform: translateX(-50%) scale(1); opacity: 1; }
  .bottom-nav a:active, .bottom-nav button:active { transform: scale(.9); }
  .bottom-nav .icon { transition: transform .3s cubic-bezier(.2,1.4,.4,1); }
  .bottom-nav .on .icon { transform: translateY(-1px) scale(1.06); }
  .bottom-nav { isolation: isolate; }
  /* Toque em botões e cards: leve "afundar" (sensação de app) */
  .btn:active, .card:active, .cat-tile:active, .chip:active { transform: scale(.97); }
}

/* Pré-visualização da equipe (produtos/banners inativos) */
.preview-bar { position: sticky; top: 0; z-index: 45; background: repeating-linear-gradient(135deg, #fff7e6 0 14px, #fff1d4 14px 28px); border-bottom: 1px solid #f5d999; color: #7a5200; text-align: center; font-size: 13.5px; padding: 8px 16px; }
.preview-bar a { color: var(--red); font-weight: 700; text-decoration: underline; }
/* Banner com produto + mascote */
.slide-visual:has(.slide-mascot) .slide-free { z-index: 3; }

/* Banner com produto + mascote: o mascote cabe na coluna da imagem (algumas poses são largas) */
@media (min-width: 901px) {
  .slide-visual:has(.slide-free) .slide-mascot { max-width: 100%; height: auto; max-height: 410px; object-fit: contain; object-position: bottom center; }
}
