/* Catálogo Virtual — estilos da loja */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,700;12..96,800&family=Figtree:wght@400;500;600;700&display=swap');

:root {
  --primary: #0f3d3e;
  --accent: #e5a823;
  --bg: #f4f6f6;
  --surface: #ffffff;
  --ink: #142022;
  --ink-2: #4b5a5c;
  --line: #dfe5e5;
  --sale: #c8322b;
  --ok: #1f8a4c;
  --wa: #1fa855;
  --radius-lg: 18px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(15, 40, 42, .06), 0 8px 24px -12px rgba(15, 40, 42, .18);
  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --text: 'Figtree', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --wrap: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--text); -webkit-font-smoothing: antialiased; }
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg.fill { fill: currentColor; stroke: none; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 80%, white); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.01em; line-height: 1.15; margin: 0; }
.muted { color: var(--ink-2); }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.boot { min-height: 100vh; display: grid; place-items: center; }
.boot-spin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--primary); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); background: var(--surface);
  padding: 10px 18px; border-radius: 999px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .15s, transform .1s; min-height: 44px; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover:not(:disabled) { background: color-mix(in srgb, var(--primary) 85%, black); }
.btn-accent { background: var(--accent); color: #1d1704; border-color: var(--accent); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-wa { background: var(--wa); color: #fff; border-color: var(--wa); }
.btn-wa:hover:not(:disabled) { background: #188f47; }
.btn-line { background: transparent; }
.btn-lg { min-height: 52px; font-size: 1rem; padding: 12px 22px; }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: .9rem; }
.btn.block { display: flex; width: 100%; }
.icon-btn { background: none; border: 0; padding: 8px; border-radius: 50%; cursor: pointer; display: inline-grid; place-items: center; color: var(--ink-2); }
.icon-btn:hover { background: var(--bg); color: var(--ink); }
.icon-btn.light { color: #fff; } .icon-btn.light:hover { background: rgba(255,255,255,.12); }
.link-btn { background: none; border: 0; color: var(--ink-2); text-decoration: underline; cursor: pointer; padding: 6px 0; font-size: .9rem; }

/* Cabeçalho */
.top { position: sticky; top: 0; z-index: 30; background: var(--primary); color: #fff; }
.top-in { max-width: var(--wrap); margin: 0 auto; padding: 12px 20px; display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand img { height: 42px; width: auto; max-width: 160px; object-fit: contain; border-radius: 6px; }
.logo-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: #1d1704; display: grid; place-items: center; font: 800 1.3rem var(--display); }
.brand-name { font: 700 1.25rem var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
.search { display: flex; background: #fff; border-radius: 999px; overflow: hidden; max-width: 640px; width: 100%; justify-self: center; }
.search input { flex: 1; border: 0; padding: 12px 18px; min-width: 0; outline: none; color: var(--ink); background: transparent; }
.search button { border: 0; background: var(--accent); color: #1d1704; padding: 0 18px; cursor: pointer; }
.cart-btn { position: relative; display: flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff;
  padding: 9px 16px; border-radius: 999px; cursor: pointer; font-weight: 600; }
.cart-btn:hover { background: rgba(255,255,255,.1); }
.cart-btn b { background: var(--accent); color: #1d1704; min-width: 22px; height: 22px; border-radius: 11px; font-size: .78rem; display: grid; place-items: center; padding: 0 6px; }
.cart-btn.bump { animation: bump .45s ease; }
@keyframes bump { 30% { transform: scale(1.12); } 60% { transform: scale(.96); } }
.cats { background: color-mix(in srgb, var(--primary) 88%, black); }
.cats-in { max-width: var(--wrap); margin: 0 auto; padding: 0 12px; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.cats-in::-webkit-scrollbar { display: none; }
.cats a { padding: 11px 12px; color: rgba(255,255,255,.82); text-decoration: none; white-space: nowrap; font-size: .93rem; font-weight: 500; border-bottom: 3px solid transparent; }
.cats a:hover { color: #fff; }
.cats a.on { color: #fff; border-bottom-color: var(--accent); }
.cats a.nav-promo { color: var(--accent); }

/* Hero */
.hero { position: relative; color: #fff; background: var(--primary); overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0;
  background: radial-gradient(1200px 400px at 90% 120%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 60%),
              linear-gradient(115deg, var(--primary) 30%, color-mix(in srgb, var(--primary) 70%, black)); }
.hero.has-img::before { background: linear-gradient(90deg, color-mix(in srgb, var(--primary) 92%, transparent) 0%, color-mix(in srgb, var(--primary) 55%, transparent) 55%, transparent 100%), var(--banner) center/cover no-repeat; }
.hero-in { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 72px 20px 80px; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.8rem); font-weight: 800; max-width: 14ch; line-height: 1.02; letter-spacing: -.025em; }
.hero p { font-size: 1.15rem; max-width: 46ch; opacity: .9; margin: 18px 0 0; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* Prateleiras e grade */
.shelf { margin: 44px 0; }
.shelf-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.shelf-head h2 { font-size: 1.6rem; }
.shelf-head a { color: var(--primary); font-weight: 600; text-decoration: none; white-space: nowrap; }
.shelf-head a:hover { text-decoration: underline; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); text-decoration: none; overflow: hidden; border: 1px solid var(--line); transition: border-color .15s, box-shadow .15s; }
.card:hover { border-color: color-mix(in srgb, var(--primary) 35%, var(--line)); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 1; background: #fff; }
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.card.is-out .card-media img { opacity: .5; }
.noimg { width: 100%; height: 100%; display: grid; place-items: center; color: #b7c2c3; background: #f7f9f9; }
.noimg svg { width: 40px; height: 40px; }
.noimg.big { aspect-ratio: 1; border-radius: var(--radius-lg); }
.tag-off { position: absolute; top: 10px; left: 10px; background: var(--sale); color: #fff; font-weight: 700; font-size: .8rem; padding: 3px 8px; border-radius: 6px; }
.buy-price .tag-off { position: static; }
.tag-out { position: absolute; bottom: 10px; left: 10px; background: var(--ink); color: #fff; font-size: .78rem; padding: 3px 8px; border-radius: 6px; }
.card-body { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; border-top: 1px solid var(--line); }
.card-brand { font-size: .78rem; color: var(--ink-2); }
.card-name { font: 600 .98rem/1.35 var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.card-price { margin-top: auto; padding-top: 6px; display: flex; flex-direction: column; }
.card-price s { color: var(--ink-2); font-size: .85rem; }
.card-price strong { font: 700 1.3rem var(--display); color: var(--ink); }
.card-price small { font: 500 .78rem var(--text); color: var(--ink-2); }
.cash-chip { align-self: flex-start; margin-top: 6px; background: color-mix(in srgb, var(--accent) 22%, white); color: #4a3800; border-radius: 6px; padding: 3px 8px; font-size: .8rem; line-height: 1.35; }
.cash-chip b { color: #2c2100; }

.catgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.catcard { display: grid; grid-template-columns: 52px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.catcard:hover { border-color: var(--primary); }
.catcard img, .caticon { grid-row: span 2; width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.caticon { display: grid; place-items: center; background: color-mix(in srgb, var(--primary) 10%, white); color: var(--primary); font: 700 1.4rem var(--display); }
.catname { font-weight: 700; line-height: 1.2; }
.catcount { color: var(--ink-2); font-size: .85rem; }

.how { margin: 56px 0; padding: 32px; background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--line); }
.how h2 { font-size: 1.5rem; margin-bottom: 18px; }
.how ol { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.how li { counter-increment: s; display: flex; flex-direction: column; gap: 4px; padding-left: 48px; position: relative; }
.how li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font: 700 1rem var(--display); }
.how span { color: var(--ink-2); font-size: .95rem; }

.empty { text-align: center; padding: 56px 20px; background: var(--surface); border-radius: var(--radius-lg); border: 1px dashed var(--line); }
.empty p { color: var(--ink-2); margin: 0 0 16px; }

/* Listagem */
.crumbs { font-size: .88rem; color: var(--ink-2); padding: 18px 0 6px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.list-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin: 6px 0 18px; }
.list-head h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.list-head p { margin: 4px 0 0; }
.cat-desc { color: var(--ink-2); max-width: 65ch; }
.list-tools { display: flex; gap: 10px; align-items: center; }
.sort { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink-2); }
.sort select { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 10px 14px; color: var(--ink); min-height: 44px; }
.f-open { display: none; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chip { padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-size: .9rem; }
.chip.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.list-body { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; margin-bottom: 56px; }
.filters { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 18px 18px; position: sticky; top: 130px; }
.filters-head { display: none; }
.f-block { padding: 14px 0; border-bottom: 1px solid var(--line); }
.f-block:last-of-type { border-bottom: 0; }
.f-block h3 { font: 700 .95rem var(--text); margin-bottom: 10px; }
.f-cats, .f-cats ul { list-style: none; margin: 0; padding: 0; }
.f-cats ul { padding-left: 14px; }
.f-cats a { display: block; padding: 5px 0; text-decoration: none; color: var(--ink-2); font-size: .95rem; }
.f-cats a:hover { color: var(--ink); }
.f-cats a.on { color: var(--primary); font-weight: 700; }
.f-price { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.f-price label span { display: block; font-size: .78rem; color: var(--ink-2); }
.f-price input { width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px 10px; }
.check { display: flex; align-items: center; gap: 8px; padding: 5px 0; cursor: pointer; font-size: .95rem; }
.check input { width: 18px; height: 18px; accent-color: var(--primary); }
.f-clear { display: inline-block; margin-top: 12px; color: var(--sale); font-size: .9rem; }

/* Página do produto */
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; background: var(--surface); border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--line); margin-top: 8px; }
.gallery { min-width: 0; }
.g-main { position: relative; border-radius: var(--radius); background: #fff; overflow: hidden; }
.g-zoom { display: block; width: 100%; border: 0; padding: 0; background: none; cursor: zoom-in; position: relative; }
.g-zoom img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.g-zoom-ic { position: absolute; right: 12px; bottom: 12px; background: rgba(255,255,255,.92); border-radius: 50%; padding: 8px; display: grid; box-shadow: var(--shadow); }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); border: 0; background: rgba(255,255,255,.92); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); }
.g-nav.prev { left: 10px; } .g-nav.next { right: 10px; }
.g-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.g-thumb { flex: 0 0 76px; height: 76px; border: 2px solid var(--line); border-radius: 10px; background: #fff; padding: 3px; cursor: pointer; }
.g-thumb img { width: 100%; height: 100%; object-fit: contain; }
.g-thumb.on { border-color: var(--primary); }
.buy { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.buy-brand { color: var(--ink-2); font-weight: 600; }
.buy h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.buy-sku { font-size: .88rem; color: var(--ink-2); margin-top: -6px; }
.buy-price { padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.buy-price .was { display: flex; align-items: center; gap: 10px; color: var(--ink-2); }
.buy-price .now { font: 800 2.3rem/1.1 var(--display); margin-top: 4px; letter-spacing: -.02em; }
.buy-price .now small { font: 500 .9rem var(--text); color: var(--ink-2); }
.buy-price .save { color: var(--ok); font-weight: 600; font-size: .92rem; margin-top: 2px; }
.cash { margin-top: 14px; padding: 12px 14px; border-radius: var(--radius); background: color-mix(in srgb, var(--accent) 20%, white); border-left: 4px solid var(--accent); display: grid; gap: 2px; }
.cash b { font: 800 1.45rem var(--display); color: #2c2100; }
.cash span { font-weight: 600; color: #4a3800; }
.cash small { color: #6b5713; font-size: .82rem; }
.vset { border: 0; padding: 0; margin: 0 0 6px; }
.vset legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.vset legend b { font-weight: 500; color: var(--ink-2); }
.vopts { display: flex; flex-wrap: wrap; gap: 8px; }
.vopt { min-width: 48px; min-height: 42px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; font-weight: 600; }
.vopt:hover:not(:disabled) { border-color: var(--primary); }
.vopt.on { border-color: var(--primary); background: var(--primary); color: #fff; }
.vopt.nostock:not(.on) { color: var(--ink-2); text-decoration: line-through; }
.vopt:disabled { opacity: .35; cursor: not-allowed; }
.stock { font-size: .93rem; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.stock::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.stock.ok::before { background: var(--ok); } .stock.ok { color: var(--ok); }
.stock.low::before { background: var(--accent); } .stock.low { color: #8a6200; }
.stock.out::before { background: var(--sale); } .stock.out { color: var(--sale); }
.buy-row { display: flex; gap: 10px; }
.buy-row .btn { flex: 1; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--surface); }
.qty button { width: 44px; height: 50px; border: 0; background: none; cursor: pointer; font-size: 1.25rem; }
.qty button:hover { background: var(--bg); }
.qty input { width: 48px; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; background: transparent; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty.sm button { width: 34px; height: 36px; font-size: 1.05rem; }
.qty.sm input { width: 36px; }
.buy-note { font-size: .85rem; color: var(--ink-2); margin: 0; }
.pdp-more { display: grid; gap: 20px; margin-top: 20px; }
.pdp-sec { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 28px; }
.pdp-sec h2 { font-size: 1.3rem; margin-bottom: 12px; }
.desc { max-width: 75ch; color: #263638; }
.video { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #000; max-width: 860px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.specs { border-collapse: collapse; width: 100%; max-width: 640px; }
.specs th, .specs td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { font-weight: 500; color: var(--ink-2); width: 45%; padding-right: 16px; }

/* Preços de atacado (página do produto e carrinho) */
.ws-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: grid; gap: 8px; background: #fbfcfc; }
.ws-title { font: 700 1rem var(--display); }
.ws-normal { font-size: .93rem; color: var(--ink-2); }
.ws-normal b { color: var(--ink); }
.ws-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ws-list li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 10px; border-radius: var(--radius-sm); font-size: .93rem; }
.ws-list li:nth-child(odd) { background: var(--bg); }
.ws-list li.on { background: color-mix(in srgb, var(--primary) 12%, white); color: var(--primary); box-shadow: inset 3px 0 0 var(--primary); }
.ws-list li span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.ws-next { font-size: .88rem; color: #8a6200; font-weight: 600; }
.ws-sub { font-size: .93rem; }
.ws-box small { color: var(--ink-2); font-size: .8rem; }
.ws-now { display: inline-block; margin-top: 6px; background: color-mix(in srgb, var(--primary) 12%, white); color: var(--primary); font-weight: 600; font-size: .85rem; padding: 3px 9px; border-radius: 6px; }
.c-ws { background: var(--primary); color: #fff; border-radius: 4px; padding: 0 5px; font-size: .72rem; }
.c-ws-note { font-size: .78rem; }
.c-ws-hint { font-size: .78rem; color: #8a6200; margin-top: 2px; }
#keepShopping { font-size: .92rem; }

/* Esgotado, reposição e Avise-me */
.stock .restock { display: block; font-weight: 500; color: var(--ink-2); font-size: .88rem; margin-top: 2px; }
.stock.out b { color: var(--sale); }
.buy-row.is-out .qty { opacity: .5; pointer-events: none; }
.btn-notify { background: color-mix(in srgb, var(--accent) 22%, white); border-color: var(--accent); color: #3b2c00; }
.btn-notify:hover { background: color-mix(in srgb, var(--accent) 35%, white); }
.notify-modal { position: fixed; inset: 0; z-index: 85; background: rgba(8, 24, 25, .5); display: grid; place-items: center; padding: 16px; }
.notify-box { background: var(--surface); border-radius: var(--radius-lg); padding: 20px 22px 22px; width: min(420px, 100%); display: grid; gap: 12px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.45); }
.notify-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.notify-head h2 { font-size: 1.25rem; display: flex; align-items: center; gap: 8px; }
.notify-what { margin: 0; padding: 10px 12px; background: var(--bg); border-radius: var(--radius-sm); }
.notify-what span { color: var(--ink-2); font-size: .9rem; }
.notify-box label span { display: block; font-size: .85rem; color: var(--ink-2); margin-bottom: 4px; }
.notify-box input { width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 11px 12px; }
.notify-box p { margin: 0; }
.notify-err { color: var(--sale); font-weight: 600; font-size: .9rem; }
.notify-box small { color: var(--ink-2); text-align: center; }

/* Gaveta do carrinho */
.drawer { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.drawer-bg { position: absolute; inset: 0; background: rgba(8, 24, 25, .45); opacity: 0; transition: opacity .2s; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--surface); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .25s ease; outline: none; }
.drawer.open { pointer-events: auto; }
.drawer.open .drawer-bg { opacity: 1; }
.drawer.open .drawer-panel { transform: none; }
.d-head { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.d-head h2 { font-size: 1.3rem; }
.d-head .icon-btn { margin-left: auto; }
.d-body { flex: 1; overflow-y: auto; padding: 4px 18px 16px; }
.c-lines { list-style: none; margin: 0; padding: 0; }
.c-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.c-img { width: 72px; height: 72px; border-radius: 10px; border: 1px solid var(--line); overflow: hidden; background: #fff; }
.c-img img { width: 100%; height: 100%; object-fit: contain; }
.c-name { font-weight: 600; text-decoration: none; line-height: 1.3; display: block; }
.c-var { font-size: .86rem; color: var(--ink-2); }
.c-sku { font-size: .78rem; color: var(--ink-2); }
.c-promo { background: var(--sale); color: #fff; border-radius: 4px; padding: 0 5px; font-size: .72rem; }
.c-unit { font-size: .86rem; color: var(--ink-2); }
.c-unit s { opacity: .8; }
.c-row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; gap: 8px; }
.c-sub { font: 700 1.05rem var(--display); }
.c-del { align-self: start; }
.c-form { margin-top: 16px; display: grid; gap: 10px; }
.c-form h3 { font: 700 .95rem var(--text); }
.c-form label span { display: block; font-size: .82rem; color: var(--ink-2); margin-bottom: 3px; }
.c-form input, .c-form textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; resize: vertical; }
.d-foot { border-top: 1px solid var(--line); padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); display: grid; gap: 8px; background: #fbfcfc; }
.t-row { display: flex; justify-content: space-between; font-size: .92rem; }
.t-row.total { font-size: 1.05rem; align-items: baseline; }
.t-row.total strong { font: 800 1.6rem var(--display); }
.t-cash { background: color-mix(in srgb, var(--accent) 20%, white); border-radius: var(--radius-sm); padding: 8px 12px; font-size: .9rem; color: #4a3800; }
.t-cash b { font: 800 1.1rem var(--display); color: #2c2100; }
.t-cash small { display: block; color: #6b5713; }
.d-note { font-size: .8rem; color: var(--ink-2); text-align: center; margin: 0; }
.d-empty { flex: 1; display: grid; place-content: center; text-align: center; gap: 14px; padding: 40px; color: var(--ink-2); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(5, 14, 15, .94); display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 94vw; max-height: 86vh; object-fit: contain; }
.lb-top { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; color: #fff; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.lb-nav.prev { left: 16px; } .lb-nav.next { right: 16px; }

/* WhatsApp flutuante, toast e rodapé */
.wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.4); }
.wa-float svg { width: 32px; height: 32px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; z-index: 90;
  transition: transform .25s, visibility .25s; visibility: hidden; max-width: calc(100vw - 32px); display: flex; gap: 12px; align-items: center; font-size: .95rem; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast-link { background: none; border: 0; color: var(--accent); font-weight: 700; cursor: pointer; padding: 0; white-space: nowrap; }
.foot { background: #0d1d1e; color: rgba(255,255,255,.78); margin-top: 40px; font-size: .93rem; }
.foot-in { max-width: var(--wrap); margin: 0 auto; padding: 44px 20px 24px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot strong { color: #fff; font: 700 1.25rem var(--display); }
.foot h4 { color: #fff; margin: 0 0 10px; font-size: .95rem; }
.foot p { margin: 0 0 6px; }
.foot a { text-decoration: none; } .foot a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { max-width: var(--wrap); margin: 0 auto; padding: 18px 20px 90px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .84rem; }

/* Responsivo */
/* Preço sob consulta ("Consultar") */
.card-price strong.ask { color: var(--primary); }
.buy-price .now.ask { font-size: 1.9rem; color: var(--primary); }
.ask-note { font-size: .92rem; color: var(--ink-2); margin-top: 4px; }
/* Sugestão de compra com desconto ("compre junto") */
.bundle { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: grid; gap: 10px; background: #fbfcfc; }
.bundle-title { font: 700 1rem var(--display); }
.bundle-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bundle-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.bundle-img { width: 56px; height: 56px; border-radius: var(--radius-sm); overflow: hidden; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; }
.bundle-img img { width: 100%; height: 100%; object-fit: cover; }
.bundle-img .noimg { width: 100%; height: 100%; }
.bundle-name { font-weight: 600; text-decoration: none; color: var(--ink); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; line-height: 1.3; }
.bundle-price { font-size: .9rem; color: var(--ink-2); }
.bundle-price b { color: var(--ink); font-variant-numeric: tabular-nums; }
.bundle-price small { font-size: .78rem; }
.bundle-off { color: var(--ok); font-weight: 600; white-space: nowrap; }
.bundle-had { font-size: .82rem; color: var(--ink-2); white-space: nowrap; }
.bundle small { color: var(--ink-2); font-size: .8rem; }
.ws-now.junto { background: color-mix(in srgb, var(--ok) 14%, white); color: var(--ok); }
.c-ws.junto { background: var(--ok); }
.c-sugg { margin-top: 14px; padding: 12px; border: 1px dashed var(--line); border-radius: var(--radius); display: grid; gap: 10px; }
.c-sugg h3 { font: 700 .95rem var(--display); margin: 0; }
.c-sugg-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.c-sugg-item .c-unit b { color: var(--ink); }
.c-sugg-item .c-img { width: 56px; height: 56px; }

/* Forma de pagamento no carrinho */
.pay-opts { display: grid; gap: 6px; }
.c-form label.pay-opt { display: flex; flex-direction: row; align-items: center; gap: 12px; padding: 10px 12px; margin: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; background: #fff; }
.c-form label.pay-opt.on { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); background: color-mix(in srgb, var(--primary) 4%, white); }
.c-form label.pay-opt input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--primary); }
.c-form label.pay-opt > span { display: block; font-weight: 600; font-size: .95rem; color: var(--ink); text-align: left; margin: 0; }
.c-form label.pay-opt small { display: block; font-weight: 400; color: var(--ink-2); font-size: .8rem; margin-top: 1px; }

@media (max-width: 980px) {
  .list-body { grid-template-columns: 1fr; }
  .f-open { display: inline-flex; }
  .filters { position: fixed; inset: 0 auto 0 0; width: min(340px, 88vw); z-index: 70; border-radius: 0; transform: translateX(-105%); transition: transform .25s; overflow-y: auto; top: 0; box-shadow: 20px 0 40px rgba(0,0,0,.2); }
  .filters.open { transform: none; }
  .filters-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .pdp { grid-template-columns: 1fr; gap: 24px; padding: 18px; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .how ol { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .top-in { grid-template-columns: 1fr auto; gap: 10px 12px; padding: 10px 14px; }
  .search { grid-column: 1 / -1; grid-row: 2; }
  .cart-btn span { display: none; }
  .brand-name { font-size: 1.1rem; max-width: 52vw; }
  .wrap { padding: 0 14px; }
  .hero-in { padding: 44px 16px 52px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-body { padding: 10px 10px 12px; }
  .card-price strong { font-size: 1.12rem; }
  .shelf { margin: 32px 0; }
  .shelf-head h2 { font-size: 1.3rem; }
  .list-tools { width: 100%; }
  .sort { flex: 1; } .sort span { display: none; } .sort select { width: 100%; }
  .buy-row { flex-direction: column; }
  .buy-row .qty { align-self: flex-start; }
  .pdp-sec { padding: 18px; }
  .how { padding: 22px; }
  .foot-in { grid-template-columns: 1fr; }
  .wa-float { width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
