/* =========================================================
   NEXA — camada da loja sobre o kit (system.css + layout.css + motion.css)
   Só componentes que o kit não tem: carrinho, cartão de compra, filtros,
   comparativo, formulários de consulta, checkout, banner de cookies.
   Usa apenas os tokens do kit (--bg, --ink, --muted, --line, --action, --s-*, --t-*, --r-*).
   ========================================================= */
@font-face { font-family: "Hanken Grotesk"; src: url("/fonts/HankenGrotesk-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap;
  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: "Hanken Grotesk"; src: url("/fonts/HankenGrotesk-latin-ext.woff2") format("woff2"); font-weight: 400 700; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root { --n-paper: #f3ecdf; --n-ok: #1d6b3a; --n-err: #a01b1b; --n-warn-bg: #fff1c7; --n-warn-ink: #5c3b00; }
[hidden] { display: none !important; }
picture { display: contents; }
.nav__logo img { height: 22px; width: auto; display: block; }
@media (min-width: 1024px) { .nav__logo img { height: 26px; } }
.footer .nav__logo img { height: 28px; }
.demo-flag { position: relative; z-index: 11; background: var(--n-warn-bg); color: var(--n-warn-ink); font-size: var(--t-label); text-align: center; padding: 6px var(--gut); }
.preencher { outline: 2px dashed #c0392b; outline-offset: 2px; color: #a01b1b; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: var(--ink); border-radius: var(--r-sm); position: relative; cursor: pointer; }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--action); color: var(--action-ink); font-size: 11px; font-weight: 500; display: grid; place-items: center; }
.cart-count[data-n="0"] { display: none; }

/* ---------- Cards de produto (line-up) ---------- */
.tile__media { aspect-ratio: 1; background: var(--n-paper); overflow: hidden; border-radius: var(--r-md); }
.tile__media img { width: 100%; height: 100%; object-fit: cover; }
.tile__media--contain { background: #fff; }
.tile__media--contain img { object-fit: contain; padding: var(--s-4); }
.tile__facts { color: var(--muted); }
.tile__price { font-variant-numeric: tabular-nums; }
.tag-row { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.tag { display: inline-flex; align-items: center; min-height: 28px; padding: 0 var(--s-3); border: 1px solid var(--line-strong); border-radius: 14px; font-size: var(--t-label); font-weight: 500; }

/* ---------- Filtros do catálogo ---------- */
.filters { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-6); margin-bottom: var(--s-6); }
.filters fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }
.filters legend { float: left; margin-right: var(--s-3); font-size: var(--t-label); font-weight: 500; color: var(--muted); padding: 0; }
.chip { min-height: 44px; padding: 0 var(--s-4); border: 1px solid var(--line-strong); background: transparent; color: var(--ink); border-radius: 22px; font: 500 var(--t-small)/1 var(--font-text); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filters__count { font-size: var(--t-small); color: var(--muted); align-self: center; margin-left: auto; }
.empty-note { padding: var(--s-7) 0; color: var(--muted); }

/* ---------- Comparativo ---------- */
.compare { width: 100%; border-collapse: collapse; font-size: var(--t-small); }
.compare th, .compare td { text-align: left; padding: var(--s-3) var(--s-3) var(--s-3) 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font: 500 var(--t-body)/1.3 var(--font-text); }
.compare thead a { color: inherit; }
.compare tbody th { font-weight: 500; color: var(--muted); width: 18%; }
.compare .na { color: var(--muted); }
.compare-wrap { overflow: visible; }
@media (max-width: 899px) {
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare td, .compare th { display: block; width: 100%; }
  .compare tr { padding: var(--s-2) 0; border-bottom: 1px solid var(--line); }
  .compare tr:last-child { border-bottom: 0; }
  .compare tbody th { border: 0; padding: 0 0 var(--s-2); color: var(--ink); }
  .compare td { border: 0; padding: 1px 0; display: grid; grid-template-columns: 45% 1fr; gap: var(--s-3); font-size: var(--t-label); }
  .compare td::before { content: attr(data-model); color: var(--muted); }
}

/* ---------- Guia ---------- */
.guide { display: grid; gap: var(--s-5); }
.guide__row { display: grid; gap: var(--s-1); padding-bottom: var(--s-4); border-bottom: 1px solid var(--line); }
.guide__row h3 { font: 500 var(--t-card)/1.3 var(--font-text); }
.guide__row p { max-width: 56ch; }
.guide__row a { font-weight: 500; }
.split-photo { border-radius: var(--r-lg); overflow: hidden; background: var(--n-paper); }
.split-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Página de produto ---------- */
.pdp-buy { display: grid; gap: var(--s-6); }
@media (min-width: 1024px) { .pdp-buy { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-7); align-items: start; } }
.gal { display: grid; gap: var(--s-3); }
.gal__main { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.gal__main img { width: 100%; height: 100%; object-fit: contain; }
.gal__main.is-zoom img { transform: scale(2); cursor: zoom-out; }
.gal__main img { cursor: zoom-in; transition: transform .2s; }
.gal__thumbs { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.gal__thumbs button { width: 64px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: var(--r-sm); overflow: hidden; background: #fff; cursor: pointer; }
.gal__thumbs button[aria-current="true"] { border-color: var(--ink); }
.gal__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.order { display: grid; gap: var(--s-5); padding: var(--s-6); background: var(--n-paper); border-radius: var(--r-lg); }
.order__price { font: var(--display-weight) var(--t-stat)/1.1 var(--font-display); letter-spacing: var(--display-tracking); font-variant-numeric: tabular-nums; }
.order__price s { font-size: var(--t-body); color: var(--muted); margin-right: var(--s-2); }
.order__sub { color: var(--muted); font-size: var(--t-small); }
.order__status { display: inline-flex; align-items: center; gap: var(--s-2); font-weight: 500; font-size: var(--t-small); }
.order__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.order__status[data-state="ok"]::before { background: var(--n-ok); }
.swatches { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.swatch { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--line-strong); padding: 3px; background: transparent; cursor: pointer; }
.swatch i { display: block; width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.swatch[aria-checked="true"] { border-color: var(--ink); }
.opt-label { font-size: var(--t-label); font-weight: 500; margin-bottom: var(--s-2); color: var(--muted); }
.opt-label span { color: var(--ink); }
.qty-pick { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--r-btn); }
.qty-pick button { width: 44px; height: 44px; border: 0; background: none; font-size: 20px; color: var(--ink); cursor: pointer; }
.qty-pick output { min-width: 32px; text-align: center; font-weight: 500; }
.order .btn { width: 100%; justify-content: center; }
.order__trust { display: grid; gap: var(--s-2); font-size: var(--t-small); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.order__trust li { list-style: none; }
.order ul { margin: 0; padding: 0; }
.bullets { display: grid; gap: var(--s-2); margin: 0; padding: 0; }
.bullets li { list-style: none; padding-left: 22px; position: relative; }
.bullets li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }

/* ---------- Fotos em composição (pair / trio / strip) ---------- */
.ph { border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.ph--43 { aspect-ratio: 4 / 3; } .ph--11 { aspect-ratio: 1; } .ph--45 { aspect-ratio: 4 / 5; }
.ph--contain img { object-fit: contain; }

/* ---------- Formulários (consulta, encomenda, contato) ---------- */
.form-card { display: grid; gap: var(--s-4); padding: var(--s-6); background: var(--n-paper); border-radius: var(--r-lg); color: var(--p-ink); }
.ground-inverse .form-card { --ink: var(--p-ink); --muted: var(--p-muted); --line: rgba(6,43,138,.15); --line-strong: rgba(6,43,138,.3); --action: var(--p-action); --action-ink: var(--p-action-ink); color: var(--p-ink); }
.fld { display: grid; gap: 6px; }
.fld label { font-size: var(--t-label); font-weight: 500; }
.fld .hint { font-size: var(--t-label); color: var(--muted); }
.input { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: #fffdf8; color: var(--ink); font: 400 16px/1.4 var(--font-text); }
.input:focus { outline: 2px solid var(--action); outline-offset: 1px; }
.input.is-invalid { border-color: var(--n-err); }
.input.is-valid { border-color: var(--n-ok); }
textarea.input { min-height: 96px; resize: vertical; }
select.input { appearance: auto; }
.field-msg { font-size: var(--t-label); color: var(--n-err); }
.field-msg:empty { display: none; }
.form-ok { padding: var(--s-5); border-radius: var(--r-md); background: #e5f2e8; color: #123d22; }
.row-2 { display: grid; gap: var(--s-3); grid-template-columns: 1fr 1fr; }
.row-3 { display: grid; gap: var(--s-3); grid-template-columns: 2fr 1fr; }
@media (max-width: 479px) { .row-2 { grid-template-columns: 1fr; } }
.legal-note { font-size: var(--t-label); color: var(--muted); }

/* ---------- Painéis (carrinho) ---------- */
.overlay { position: fixed; inset: 0; background: rgba(6, 20, 60, .45); z-index: 60; opacity: 0; pointer-events: none; transition: opacity .25s; }
.overlay.is-open { opacity: 1; pointer-events: auto; }
.panel-side { position: fixed; top: 0; bottom: 0; right: 0; z-index: 70; width: min(420px, 92vw); background: var(--bg); color: var(--ink); display: flex; flex-direction: column; transform: translateX(105%); transition: transform .3s cubic-bezier(.2,.8,.2,1); box-shadow: 0 16px 48px rgba(0,0,0,.18); }
.panel-side.is-open { transform: none; }
.panel-side__head { display: flex; align-items: center; justify-content: space-between; padding: var(--s-3) var(--s-3) var(--s-3) var(--s-5); border-bottom: 1px solid var(--line); }
.panel-side__body { flex: 1; overflow-y: auto; padding: var(--s-4) var(--s-5); }
.panel-side__foot { border-top: 1px solid var(--line); padding: var(--s-4) var(--s-5) calc(var(--s-4) + env(safe-area-inset-bottom)); }
.c-item { display: grid; grid-template-columns: 72px 1fr auto; gap: var(--s-3); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.c-item img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--r-sm); background: #fff; }
.c-item h4 { font-size: var(--t-small); font-weight: 500; line-height: 1.3; }
.c-item .var, .c-item .tag-motivo { font-size: var(--t-label); color: var(--muted); }
.c-price { text-align: right; font-size: var(--t-small); font-weight: 500; font-variant-numeric: tabular-nums; }
.c-price s { display: block; font-weight: 400; color: var(--muted); font-size: var(--t-label); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--r-sm); margin-top: var(--s-2); }
.qty button { width: 36px; height: 36px; border: 0; background: none; font-size: 18px; color: var(--ink); cursor: pointer; }
.qty span { min-width: 24px; text-align: center; font-size: var(--t-small); font-weight: 500; }
.c-remove { font-size: var(--t-label); color: var(--muted); background: none; border: 0; text-decoration: underline; padding: 4px 0; margin-top: 6px; cursor: pointer; }
.c-upsell { margin-top: var(--s-5); padding: var(--s-3); border: 1px solid var(--line); border-radius: var(--r-md); display: grid; grid-template-columns: 56px 1fr auto; gap: var(--s-3); align-items: center; font-size: var(--t-small); }
.c-upsell img { width: 56px; height: 56px; border-radius: var(--r-sm); object-fit: cover; }
.c-totals { display: grid; gap: 6px; margin-bottom: var(--s-3); font-size: var(--t-small); }
.c-totals div { display: flex; justify-content: space-between; }
.c-totals .big { font-size: var(--t-lead); font-weight: 500; }
.c-empty { text-align: center; padding: var(--s-8) 0; }
.c-empty p { margin: var(--s-2) 0 var(--s-5); color: var(--muted); }
.ship-bar { margin-bottom: var(--s-4); font-size: var(--t-small); }
.progress { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; margin-top: var(--s-2); }
.progress span { display: block; height: 100%; background: var(--action); }
.panel-side .btn { width: 100%; justify-content: center; }
.trust-mini { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2) var(--s-4); font-size: var(--t-label); color: var(--muted); margin-top: var(--s-3); }

/* ---------- WhatsApp, cookies, pop-up, toast ---------- */
.wa { position: fixed; right: 16px; bottom: calc(16px + var(--bar)); z-index: 30; width: 52px; height: 52px; border-radius: 50%; background: var(--p-ink); color: var(--p-bg); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.wa svg { width: 26px; height: 26px; }
.consent { position: fixed; left: 12px; right: 12px; bottom: calc(12px + var(--bar)); z-index: 75; background: var(--n-paper); color: var(--p-ink); border: 1px solid var(--line-strong); border-radius: var(--r-md); box-shadow: 0 16px 48px rgba(0,0,0,.18); padding: var(--s-5); font-size: var(--t-small); display: none; gap: var(--s-4); max-width: 560px; }
.consent.is-on { display: grid; }
.consent__actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.consent__actions .btn { flex: 1 1 140px; justify-content: center; }
.consent__prefs { display: grid; gap: var(--s-3); }
.consent__prefs label { display: grid; grid-template-columns: 22px 1fr; gap: var(--s-2); align-items: start; }
.consent__prefs input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--p-ink); }
@media (min-width: 768px) { .consent { left: 24px; bottom: 24px; } }
.modal { position: fixed; inset: 0; z-index: 80; display: none; place-items: center; padding: var(--s-4); background: rgba(6, 20, 60, .5); }
.modal.is-open { display: grid; }
.modal__box { position: relative; background: var(--bg); color: var(--ink); border-radius: var(--r-lg); padding: var(--s-7) var(--s-5) var(--s-5); width: 100%; max-width: 420px; display: grid; gap: var(--s-3); }
.modal__box .icon-btn { position: absolute; top: 8px; right: 8px; }
.coupon-code { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); border: 2px dashed var(--ink); border-radius: var(--r-sm); padding: 10px 10px 10px 16px; font-weight: 500; font-size: 20px; letter-spacing: .06em; }
.toast { position: fixed; left: 50%; bottom: calc(24px + var(--bar)); transform: translate(-50%, 200%); visibility: hidden; background: var(--p-ink); color: var(--p-bg); padding: 12px 18px; border-radius: var(--r-sm); font-size: var(--t-small); z-index: 90; transition: transform .25s; }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; }

/* ---------- Páginas internas (políticas, sobre, contato) ---------- */
.page-plain { padding: calc(var(--nav) + var(--s-8)) 0 var(--s-9); }
.prose { max-width: 720px; }
.prose h1 { font: var(--display-weight) var(--t-h2)/1.1 var(--font-display); letter-spacing: var(--display-tracking); margin: 0 0 var(--s-5); }
.prose h2 { font: 500 var(--t-card)/1.3 var(--font-text); margin: var(--s-7) 0 var(--s-3); }
.prose p, .prose li { margin: 0 0 var(--s-3); }
.prose ul { padding-left: 20px; }
.summary-box { background: var(--n-paper); border-radius: var(--r-md); padding: var(--s-5); margin: var(--s-4) 0 var(--s-6); }
.summary-box ul { margin: 0; }

/* =========================================================
   CHECKOUT e OBRIGADO — mesma fonte, cores e botões; sem menu
   ========================================================= */
.co-hdr { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.co-hdr .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.co-secure { display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-label); font-weight: 500; }
.co-secure svg { width: 16px; height: 16px; }
.co-main { padding-bottom: var(--s-9); }
.co-steps { display: flex; gap: 6px; margin: var(--s-5) 0 var(--s-4); padding: 0; list-style: none; }
.co-steps li { flex: 1; font-size: var(--t-label); font-weight: 500; color: var(--muted); }
.co-steps li::before { content: ""; display: block; height: 4px; border-radius: 2px; background: var(--line); margin-bottom: var(--s-2); }
.co-steps li.on, .co-steps li.done { color: var(--ink); }
.co-steps li.on::before, .co-steps li.done::before { background: var(--ink); }
.co-grid { display: grid; gap: var(--s-4); }
@media (min-width: 960px) { .co-grid { grid-template-columns: 1fr 400px; gap: var(--s-7); align-items: start; } .co-aside { position: sticky; top: 88px; order: 2; } }
.co-card { background: var(--n-paper); border-radius: var(--r-lg); padding: var(--s-5); margin-bottom: var(--s-3); }
@media (min-width: 768px) { .co-card { padding: var(--s-6); } }
.co-card-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); }
.co-card-head h2 { font: 500 var(--t-card)/1.3 var(--font-text); display: flex; align-items: center; gap: var(--s-3); margin: 0; }
.co-num { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 13px; display: grid; place-items: center; }
.co-card.is-locked { opacity: .55; }
.co-card.is-locked .co-body, .co-card.is-done .co-body { display: none; }
.co-card:not(.is-done) .co-recap, .co-card:not(.is-done) .co-edit { display: none; }
.co-card.is-done .co-num { background: var(--n-ok); }
.co-recap { font-size: var(--t-small); margin-top: var(--s-3); line-height: 1.5; }
.co-body { display: grid; gap: var(--s-4); margin-top: var(--s-5); }
.co-hint { font-size: var(--t-label); color: var(--muted); }
.co-edit { background: none; border: 0; text-decoration: underline; color: var(--ink); font: 500 var(--t-small)/1 var(--font-text); cursor: pointer; }
.ship-opts, .pay-opts { display: grid; gap: var(--s-2); }
.radio-card { display: grid; grid-template-columns: 22px 1fr auto; gap: var(--s-3); align-items: center; padding: var(--s-3) var(--s-4); border: 1px solid var(--line-strong); border-radius: var(--r-md); cursor: pointer; background: #fffdf8; }
.radio-card input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); }
.radio-card:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.radio-card .rc-t { font-weight: 500; }
.radio-card .rc-s { font-size: var(--t-label); color: var(--muted); }
.radio-card .rc-r { font-weight: 500; font-size: var(--t-small); text-align: right; }
.radio-card .rc-r.free { color: var(--n-ok); }
.pill-pix { display: inline-block; margin-left: 6px; background: var(--ink); color: var(--bg); font-size: 11px; font-weight: 500; padding: 2px 7px; border-radius: 10px; vertical-align: 1px; }
.pay-panel { padding: var(--s-4); background: #fffdf8; border-radius: var(--r-sm); font-size: var(--t-small); }
.pay-slot { border: 2px dashed var(--line-strong); border-radius: var(--r-sm); padding: var(--s-5); text-align: center; color: var(--muted); font-size: var(--t-label); }
.bump { border: 2px dashed var(--ink); border-radius: var(--r-md); padding: var(--s-3); display: grid; grid-template-columns: 22px 56px 1fr; gap: var(--s-3); align-items: center; cursor: pointer; background: #fffdf8; }
.bump input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); }
.bump img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--r-sm); }
.bump strong { display: block; font-size: var(--t-small); font-weight: 500; }
.bump span { font-size: var(--t-label); }
.coupon-form { display: grid; grid-template-columns: 1fr auto; gap: var(--s-2); margin-top: var(--s-2); }
.co-final .btn--primary { width: 100%; justify-content: center; min-height: 56px; }
.co-legal { font-size: var(--t-label); color: var(--muted); text-align: center; }
.btn-text { background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; font: 500 var(--t-small)/1.4 var(--font-text); cursor: pointer; }
.sum-toggle { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: var(--s-3) var(--gut); background: var(--n-paper); border: 0; border-bottom: 1px solid var(--line); font: 500 var(--t-small)/1 var(--font-text); color: var(--ink); cursor: pointer; }
.sum-toggle .chev { display: inline-block; margin-left: 6px; transition: transform .2s; }
.sum-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
@media (min-width: 960px) { .sum-toggle { display: none; } }
@media (max-width: 959px) { .co-aside { display: none; } .co-aside.is-open { display: block; } }
.sum-item { display: grid; grid-template-columns: 60px 1fr auto; gap: var(--s-3); align-items: center; padding: var(--s-2) 0; font-size: var(--t-small); }
.sum-item .ph-s { position: relative; }
.sum-item img { width: 60px; height: 60px; object-fit: cover; border-radius: var(--r-sm); background: #fff; }
.sum-item .q { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--ink); color: var(--bg); font-size: 11px; display: grid; place-items: center; padding: 0 5px; }
.sum-item .v { font-size: var(--t-label); color: var(--muted); }
.sum-lines { display: grid; gap: var(--s-2); border-top: 1px solid var(--line); padding-top: var(--s-3); margin-top: var(--s-2); font-size: var(--t-small); }
.sum-lines div { display: flex; justify-content: space-between; }
.sum-lines .disc { color: var(--n-ok); }
.sum-lines .total { font-size: var(--t-lead); font-weight: 500; border-top: 1px solid var(--line); padding-top: var(--s-3); }
.sum-lines .inst { font-size: var(--t-label); color: var(--muted); justify-content: flex-end; }
.ty { max-width: 720px; margin: 0 auto; padding: var(--s-6) 0; }
.ty-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--n-ok); color: #fff; display: grid; place-items: center; margin-bottom: var(--s-4); font-size: 24px; }
.ty-icon.wait { background: #8a5a00; }
.timeline { display: grid; margin: 0; padding: 0; }
.timeline li { list-style: none; position: relative; padding: 0 0 var(--s-5) var(--s-6); font-size: var(--t-small); }
.timeline li::before { content: ""; position: absolute; left: 6px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--line-strong); }
.timeline li.on::before { background: var(--n-ok); }
.timeline strong { display: block; font-size: var(--t-body); font-weight: 500; }
.co-footer { font-size: var(--t-label); color: var(--muted); text-align: center; padding: var(--s-5) var(--gut) var(--s-7); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* hero de produto com foto recortada em fundo branco: produto inteiro, sem cortar */
.hero--product .hero__stage--white { background: #fff; }
.hero--product .hero__stage--white > img { object-fit: contain !important; }

/* hero: a foto termina 24 px acima da dobra; no celular, 4:3 para caber com o texto */
.hero--product .hero__stage:has(> img:not(.is-cutout), > picture) { margin-bottom: calc(var(--s-5) - var(--hpadb, 64px)); }
@media (max-width: 639px) { .hero--product .hero__stage { aspect-ratio: 4 / 3; } .hero--product .hero__stage:has(> img:not(.is-cutout)) { margin-bottom: 0; } }
/* cards: 4:3; no celular, dois por linha */
.tile__media { aspect-ratio: 4 / 3; }
@media (max-width: 639px) { #barracas .grid, #lista .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } #barracas .tile, #lista .tile { grid-column: auto !important; } .tile .t-card { font-size: var(--t-small); } .tile__facts, .tile__price { font-size: var(--t-label); } }
/* fotos do split na proporção delas (sem ampliar) */
.split-photo { align-self: start; }
.split-photo img { height: auto; }
.faq-photo { margin-top: var(--s-5); max-width: 410px; }
@media (max-width: 639px) { .faq-photo { display: none; } }
/* comparativo: miniatura de cada modelo */
.compare__head { display: grid; gap: var(--s-2); text-decoration: none; }
.compare__img { display: block; aspect-ratio: 4 / 3; border-radius: var(--r-sm); overflow: hidden; background: var(--p-inv-surface); }
.compare__img.is-white { background: #fff; }
.compare__img img { width: 100%; height: 100%; object-fit: cover; }
.compare__img.is-white img { object-fit: contain; }
/* filtros: as duas linhas começam na margem */
.filters fieldset { flex: 1 1 100%; }
@media (min-width: 1024px) { .filters fieldset { flex: 0 1 auto; } }


/* hero de produto: a foto fica dentro das margens da página (linhas do .wrap) */
.hero--product .hero__stage:has(> img:not(.is-cutout), > picture) { margin-inline: 0; border-radius: var(--r-lg); }
@media (max-width: 639px) { .hero--product .hero__stage { aspect-ratio: 16 / 10; } }
/* alturas: telefone e tablet */
@media (max-width: 639px) { #guia, #comparar, #encomenda { --hm: 2; } }
@media (min-width: 640px) and (max-width: 1023px) {
  #guia, #encomenda, #duvidas, #comparar { --h: 2; }
  #barracas .grid > .tile, #lista .grid > .tile { grid-column: auto / span 4 !important; }
  .tile .t-card { font-size: var(--t-body); }
}

/* home: coleções em fotos verticais */
.colecao .colecao__media { aspect-ratio: 1 / 1; }
.colecao .t-card { font-size: var(--t-h3); }
@media (max-width: 639px) { #colecoes .grid > .colecao { grid-column: 1 / -1 !important; } .colecao .colecao__media { aspect-ratio: 16 / 10; } }
@media (min-width: 640px) and (max-width: 1023px) { #colecoes .grid > .colecao { grid-column: auto / span 4 !important; } }
@media (max-width: 639px) { #colecoes { --hm: 2; } }

/* ---------- polish (impeccable) ---------- */
/* superfícies do navegador na paleta */
::selection { background: var(--p-ink); color: var(--p-bg); }
.ground-inverse ::selection { background: var(--p-inv-ink); color: var(--p-inv-bg); }
html { caret-color: var(--p-ink); accent-color: var(--p-ink); }
:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; }
.tile__price, .order__price, .c-price, .sum-lines, .rows__value, .compare td { font-variant-numeric: tabular-nums; }
/* título longo do produto: no máximo 3 linhas */
.hero h1.h1--long { font-size: clamp(30px, 2.4vw + 18px, 52px); line-height: 1.05; text-wrap: balance; }
/* compra: galeria 4:3; uma tela no desktop, duas abaixo */
#comprar { --h: 2; }
@media (min-width: 1024px) { #comprar { --h: 1; } .gal__main { aspect-ratio: 4 / 3; } .gal__thumbs button { width: 56px; height: 56px; } }
/* ficha técnica longa ocupa duas telas */
.ficha--longa { --h: 2; --hm: 3; }
@media (min-width: 640px) and (max-width: 1023px) { .ficha--longa { --h: 2; } }
.ty-icon svg, .sum-toggle .chev svg { display: block; }

/* banner promocional do cliente no hero da home (imagem inteira, sem corte) */
.hero-banner { display: block; margin-top: var(--s-6); border-radius: var(--r-lg); overflow: hidden; background: #05070f; aspect-ratio: 2048 / 768; }
.hero-banner img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.hero-banner:hover img { transform: scale(1.015); }
@media (prefers-reduced-motion: reduce) { .hero-banner:hover img { transform: none; } }
/* rodapé com fechamento: duas telas no celular (o kit permite .g2m no footer.closing) */
@media (max-width: 639px) { footer.closing { --hm: 2; } }

/* ---------- home no formato de loja (inspiração: grandes marketplaces), paleta Nexa ---------- */
.ml { padding-bottom: clamp(48px, 6vw, 96px); }
.ml-band { padding: calc(var(--nav) + clamp(24px, 3vw, 40px)) 0 clamp(120px, 13vw, 190px); }
.ml-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: 20px 48px; align-items: end; }
.ml-top h1 { font-size: clamp(28px, 1.9vw + 16px, 46px); line-height: 1.04; letter-spacing: -0.03em; margin: 0; max-width: 17ch; text-wrap: balance; color: inherit; }
.ml-top p { margin: 10px 0 0; color: var(--muted); max-width: 48ch; }
.ml-search { display: flex; align-items: center; gap: 6px; background: #f6f1e7; border-radius: 999px; padding: 5px; box-shadow: 0 1px 2px rgba(3, 20, 70, .18); }
.ml-search:focus-within { outline: 2px solid var(--p-inv-ink); outline-offset: 3px; }
.ml-search input { flex: 1; min-width: 0; height: 46px; border: 0; background: transparent; padding: 0 18px; font: inherit; font-size: 16px; color: var(--p-ink); outline: none; }
.ml-search input::placeholder { color: #6b7aa6; }
.ml-search input::-webkit-search-cancel-button { display: none; }
.ml-search button { flex: none; height: 46px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--p-ink); color: var(--p-bg); font: inherit; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; transition: transform .16s cubic-bezier(.2,.8,.2,1), background-color .2s; }
.ml-search button svg { width: 18px; height: 18px; }
.ml-search button:hover { background: #0a3aa8; }
.ml-search button:active { transform: scale(.97); }
.ml-over { margin-top: calc(-1 * clamp(96px, 11vw, 160px)); position: relative; }
.ml-over .hero-banner { margin-top: 0; box-shadow: 0 24px 48px -28px rgba(6, 43, 138, .55); }
.ml-perks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ml-perk { background: #f6f1e7; border-radius: var(--r-md, 12px); padding: 16px 18px; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 2px; align-items: center; box-shadow: 0 1px 2px rgba(6, 43, 138, .08); }
.ml-perk svg { width: 30px; height: 30px; grid-row: span 2; color: var(--p-ink); }
.ml-perk strong { font-weight: 600; color: var(--p-ink); line-height: 1.25; }
.ml-perk span { font-size: 14px; line-height: 1.35; color: var(--p-muted); }
.ml-block { margin-top: clamp(40px, 5vw, 72px); }
.ml-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.ml-head h2, .ml-head h1 { font-size: clamp(22px, .8vw + 17px, 30px); letter-spacing: -0.02em; margin: 0; }
.ml-circles { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: clamp(16px, 3vw, 44px); }
.ml-circle a { display: grid; justify-items: center; gap: 10px; width: 116px; text-align: center; font-size: 15px; font-weight: 500; line-height: 1.25; color: var(--p-ink); text-decoration: none; }
.ml-circle__img { display: block; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: #f6f1e7; box-shadow: inset 0 0 0 1px rgba(6, 43, 138, .14); transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s; }
.ml-circle__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ml-circle a:hover .ml-circle__img { transform: translateY(-2px); box-shadow: inset 0 0 0 2px var(--p-ink); }
#colecoes .colecao .colecao__media { aspect-ratio: 1 / 1; }
.ml-cta { border-radius: var(--r-lg); padding: clamp(24px, 3vw, 44px); display: flex; justify-content: space-between; align-items: center; gap: 20px 40px; flex-wrap: wrap; }
.ml-cta h2 { font-size: clamp(22px, .8vw + 17px, 30px); letter-spacing: -0.02em; margin: 0; color: inherit; }
.ml-cta p { margin: 8px 0 0; color: var(--muted); max-width: 56ch; }
.ml-page { padding-top: calc(var(--nav) + clamp(24px, 3vw, 48px)); padding-bottom: clamp(48px, 6vw, 96px); }
.ml-search--page { max-width: 640px; box-shadow: inset 0 0 0 1px rgba(6, 43, 138, .2); }
.ml-count { margin: 16px 0 20px; color: var(--p-muted); }
[data-busca-lista] > .tile[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { .ml-circle__img, .ml-search button { transition: none; } .ml-circle a:hover .ml-circle__img { transform: none; } }
@media (max-width: 1023px) { .ml-top { grid-template-columns: 1fr; } .ml-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) {
  .ml-band { padding-bottom: 88px; }
  .ml-over { margin-top: -64px; }
  .ml-perks { gap: 8px; }
  .ml-perk { grid-template-columns: 1fr; padding: 14px; }
  .ml-perk svg { grid-row: auto; width: 26px; height: 26px; margin-bottom: 6px; }
  .ml-perk span { font-size: 13px; }
  .ml-search button span { display: none; }
  .ml-search button { padding: 0 16px; }
  .ml-circles { flex-wrap: nowrap; overflow-x: auto; gap: 14px; margin-inline: calc(-1 * var(--pad, 20px)); padding-inline: var(--pad, 20px); scrollbar-width: none; }
  .ml-circle a { width: 96px; font-size: 14px; }
  .ml-circle__img { width: 80px; height: 80px; }
  #colecoes .grid > .colecao { grid-column: 1 / -1 !important; }
  .ml-cta .btn { width: 100%; justify-content: center; }
}
.ml-head .link { white-space: nowrap; flex: none; }
@media (max-width: 639px) { .ml-head { flex-wrap: wrap; row-gap: 6px; } #colecoes .colecao .colecao__media { aspect-ratio: 4 / 3; } }

/* ---------- página de produto simples (galeria + compra na primeira tela) ---------- */
.pd-page { padding-top: calc(var(--nav) + 16px); padding-bottom: clamp(48px, 6vw, 96px); }
.pd-crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--p-muted); margin-bottom: 16px; }
.pd-crumbs a { color: inherit; text-decoration: none; }
.pd-crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pd-grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "gal" "buy" "info"; }
.pd-gal { grid-area: gal; }
.pd-buy { grid-area: buy; scroll-margin-top: calc(var(--nav) + 12px); }
.pd-info { grid-area: info; display: grid; gap: 12px; }
.pd .gal__main { aspect-ratio: 1 / 1; background: #fff; }
.pd .gal__thumbs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.pd .gal__thumbs button { flex: none; width: 60px; height: 60px; border: 2px solid rgba(6, 43, 138, .12); transition: border-color .2s; }
.pd .gal__thumbs button:hover { border-color: rgba(6, 43, 138, .45); }
.pd .gal__thumbs button[aria-current="true"] { border-color: var(--p-ink); }
.pd .order { background: #f6f1e7; gap: 18px; box-shadow: 0 1px 2px rgba(6, 43, 138, .08); }
.pd-brand { margin: 0 0 6px; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--p-muted); }
.pd-title h1 { font-size: clamp(22px, .9vw + 16px, 30px); line-height: 1.15; letter-spacing: -0.02em; margin: 0; text-wrap: pretty; }
.pd .order__price { font-size: clamp(32px, 1.4vw + 22px, 42px); }
.pd .order__sub strong { color: var(--p-ink); }
.pd-trust { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid rgba(6, 43, 138, .14); display: grid; gap: 12px; font-size: 14px; line-height: 1.4; }
.pd-trust li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; }
.pd-trust svg { width: 22px; height: 22px; color: var(--p-ink); }
.pd-trust strong { font-weight: 600; }
.pd-block { background: #f6f1e7; border-radius: var(--r-lg); padding: clamp(20px, 2.4vw, 32px); scroll-margin-top: calc(var(--nav) + 12px); }
.pd-block h2 { font-size: clamp(20px, .6vw + 16px, 26px); letter-spacing: -0.02em; margin: 0 0 16px; }
.pd-block > p { margin: 12px 0 0; max-width: 68ch; }
.pd-block .bullets { margin: 0; }
.pd-spec { margin: 0; }
.pd-spec li:nth-child(odd) { background: rgba(6, 43, 138, .045); }
.pd-spec li { padding-inline: 12px; border-radius: 6px; }
.pd-note { font-size: 14px; color: var(--p-muted); }
.pd-related { margin-top: clamp(40px, 5vw, 72px); }
@media (min-width: 1024px) {
  .pd-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "gal buy" "info buy"; column-gap: clamp(24px, 3vw, 48px); row-gap: 24px; align-items: start; }
  .pd-buy { position: sticky; top: calc(var(--nav) + 16px); }
  .pd-gal { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: start; }
  .pd .gal__main { grid-column: 2; grid-row: 1; aspect-ratio: 1 / 1; }
  .pd .gal__thumbs { grid-column: 1; grid-row: 1; flex-direction: column; overflow-y: auto; overflow-x: hidden; max-height: min(680px, calc(100svh - var(--nav) - 80px)); }
}
@media (max-width: 639px) {
  .pd-page { padding-top: calc(var(--nav) + 10px); }
  .pd-grid { gap: 16px; }
  .pd .gal { margin-inline: calc(-1 * var(--pad, 20px)); }
  .pd .gal__main { border-radius: 0; }
  .pd .gal__thumbs { padding-inline: var(--pad, 20px); }
  .pd .order { padding: 20px; }
  .pd-related .grid > .tile { grid-column: span 6 !important; }
}
.pd-info { grid-template-columns: minmax(0, 1fr); min-width: 0; }
.pd-spec li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 12px; align-items: baseline; }
.pd-spec .rows__value { text-align: right; overflow-wrap: anywhere; }
@media (max-width: 639px) { .pd-spec li { grid-template-columns: minmax(0, 1fr); gap: 2px; padding-block: 10px; } .pd-spec .rows__value { text-align: left; font-weight: 500; } }
.pd .pd-spec > li { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); padding-block: 12px; border-bottom: 0; }
.pd .pd-spec > li:first-child { padding-top: 12px; }
.pd .pd-spec .rows__value { white-space: normal; text-align: right; color: var(--p-ink); }
@media (max-width: 639px) { .pd .pd-spec > li { grid-template-columns: minmax(0, 1fr); gap: 2px; } .pd .pd-spec .rows__value { grid-column: 1; grid-row: 2; text-align: left; } }
@media (max-width: 639px) { .pd-related .grid > .tile:nth-child(3) { display: none; } }

/* ---------- promoção (só produtos com "promo" em produtos.json) ---------- */
.promo-top { display: flex; flex-wrap: wrap; gap: 8px; }
.promo-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: #e11d48; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.promo-badge i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: promo-dot 1.2s ease-in-out infinite; }
.promo-frete { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: #0f7a3d; color: #fff; font-size: 13px; font-weight: 700; }
.promo-frete svg { width: 18px; height: 18px; }
.promo-box { display: grid; gap: 4px; padding: 16px 18px; border-radius: var(--r-md, 12px); background: #fff; box-shadow: inset 0 0 0 2px #e11d48; }
.promo-price { display: grid; gap: 2px; }
.promo-price__de { margin: 0; font-size: 15px; color: var(--p-muted); }
.promo-price__de s { color: var(--p-muted); }
.pd .promo-price__pix { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: clamp(40px, 2vw + 28px, 56px); font-weight: 700; color: var(--p-ink); line-height: 1; letter-spacing: -0.03em; }
.promo-off { font-size: 16px; font-weight: 800; letter-spacing: 0; padding: 4px 9px; border-radius: 8px; background: #e11d48; color: #fff; }
.promo-price__sub { margin: 4px 0 0; font-size: 14px; font-weight: 600; color: #0f7a3d; }
.btn--pulse { position: relative; font-weight: 700; animation: promo-pulse 1.8s cubic-bezier(.4,0,.6,1) infinite; }
.tile-promo { display: inline-block; margin-top: 6px; padding: 4px 9px; border-radius: 999px; background: #e11d48; color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
@keyframes promo-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(6, 43, 138, .45); } 60% { box-shadow: 0 0 0 12px rgba(6, 43, 138, 0); } }
@keyframes promo-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
@media (prefers-reduced-motion: reduce) { .btn--pulse, .promo-badge i { animation: none; } }

/* ---------- CRO da página promocional (body.is-promo) ---------- */
/* cabeçalho sem saídas: logo, busca e carrinho */
.is-promo .nav__links, .is-promo .nav__actions > .btn, .is-promo .nav__toggle { display: none !important; }
.is-promo .nav__bar { justify-content: space-between; }
/* verde só para comprar */
.is-promo .btn--buy, .is-promo .actionbar .btn { background: #16a34a; color: #fff; border-color: #16a34a; }
.is-promo .btn--buy:hover, .is-promo .actionbar .btn:hover { background: #15803d; border-color: #15803d; }
.is-promo .btn--buy { min-height: 58px; font-size: 18px; gap: 10px; margin-block: 8px; }
.is-promo .btn--pulse { animation-name: promo-pulse-green; }
@keyframes promo-pulse-green { 0%, 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .5); } 60% { box-shadow: 0 0 0 14px rgba(22, 163, 74, 0); } }
.is-promo [data-buy="cart"] { background: none; border: 0; box-shadow: none; min-height: 0; padding: 4px; font-size: 14px; font-weight: 500; color: var(--p-muted); text-decoration: underline; text-underline-offset: 3px; }
.is-promo .promo-frete { background: #fff; color: var(--p-ink); box-shadow: inset 0 0 0 1px rgba(6, 43, 138, .15); }
.is-promo .promo-frete svg { color: #16a34a; }
/* preço manda mais que o título */
.is-promo .pd-title h1 { font-size: clamp(19px, .6vw + 15px, 24px); }
.is-promo .promo-box .order__status { display: none; }
/* números-chave */
.promo-chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.promo-chips li { background: #fff; border-radius: 10px; padding: 10px 6px; text-align: center; font-size: 14px; font-weight: 700; color: var(--p-ink); line-height: 1.2; box-shadow: inset 0 0 0 1px rgba(6, 43, 138, .1); }
/* garantias 2x2 */
.is-promo .pd-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; font-size: 13px; }
/* recolhíveis */
.pd-more { margin-top: 12px; }
.pd-more > summary { cursor: pointer; font-weight: 600; color: var(--p-ink); list-style: none; display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; }
.pd-more > summary::-webkit-details-marker { display: none; }
.pd-more > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.pd-more[open] > summary::after { transform: rotate(-135deg); }
.pd-more[open] > summary { margin-bottom: 8px; }
/* celular: oferta na primeira tela */
@media (max-width: 639px) {
  .is-promo .pd-crumbs { display: none; }
  .is-promo .pd-page { padding-top: calc(var(--nav) + 4px); }
  .is-promo .pd .gal__main { aspect-ratio: 4 / 3; }
  .is-promo .pd .gal__thumbs button { width: 46px; height: 46px; }
  .is-promo .pd-grid { gap: 10px; }
  .is-promo .pd .order { padding: 16px; gap: 12px; }
  .is-promo .promo-badge, .is-promo .promo-frete { font-size: 11.5px; padding: 6px 10px; }
  .is-promo .pd .promo-price__pix { font-size: 40px; }
  .is-promo .promo-box { padding: 12px 14px; }
  .promo-chips li { font-size: 12.5px; padding: 8px 4px; }
  .is-promo .pd-trust { grid-template-columns: 1fr 1fr; }
}
/* aviso de cookies mais baixo no celular (todas as páginas) */
@media (max-width: 639px) {
  .consent { left: 8px; right: 8px; padding: 12px 14px; gap: 10px; font-size: 13px; line-height: 1.4; }
  .consent__actions .btn { flex: 1 1 0; min-height: 40px; padding-inline: 8px; font-size: 14px; }
}
.btn--buy svg { width: 20px !important; height: 20px !important; flex: none; }
@media (max-width: 639px) {
  .is-promo .pd .gal__main { aspect-ratio: 16 / 11; }
  .consent { padding: 10px 12px; gap: 8px; font-size: 12px; }
  .consent__actions .btn { min-height: 36px; font-size: 13px; }
}

/* preço nos cards das coleções */
.tile-price { display: grid; gap: 2px; margin-top: 4px; }
.tile-price__de { font-size: 13px; color: var(--p-muted); }
.tile-price__pix { font-size: 15px; color: var(--p-ink); }
.tile-price__pix strong { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.tile-price__frete { font-size: 13px; font-weight: 600; color: #0f7a3d; }
.tile__price--consulta { color: var(--p-muted); }
@media (max-width: 639px) { .tile-price__pix strong { font-size: 17px; } .tile-price__pix { font-size: 13px; } }

.enc-min { margin: 0; display: inline-block; padding: 8px 14px; border-radius: 999px; background: #fff; color: var(--p-ink); font-size: 15px; box-shadow: inset 0 0 0 1px rgba(6, 43, 138, .15); }

/* adicionais opcionais (Complete o kit) */
.addons { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.addons legend { padding: 0; margin-bottom: 8px; font-weight: 700; color: var(--p-ink); }
.addon { display: grid; grid-template-columns: 22px 56px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px rgba(6, 43, 138, .14); cursor: pointer; transition: box-shadow .2s; }
.addon:hover { box-shadow: inset 0 0 0 1px rgba(6, 43, 138, .4); }
.addon:has(input:checked) { box-shadow: inset 0 0 0 2px #16a34a; }
.addon input { width: 20px; height: 20px; accent-color: #16a34a; margin: 0; }
.addon__img { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; background: #f3f3f3; }
.addon__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.addon__t { font-size: 14px; font-weight: 600; color: var(--p-ink); line-height: 1.3; }
.addon__p { font-size: 15px; color: var(--p-ink); white-space: nowrap; }
.addon__p s { font-size: 12px; font-weight: 400; color: var(--p-muted); display: block; text-align: right; }

/* quantidade de cada adicional */
.addon-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; gap: 8px; }
.addon__qty { display: inline-flex; align-items: center; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px rgba(6, 43, 138, .14); overflow: hidden; }
.addon__qty button { width: 34px; height: 100%; min-height: 40px; border: 0; background: none; font-size: 18px; color: var(--p-ink); cursor: pointer; }
.addon__qty button:hover { background: rgba(6, 43, 138, .06); }
.addon__qty output { min-width: 22px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--p-ink); }
.addon-row:not(:has(input:checked)) .addon__qty { opacity: .55; }
@media (max-width: 639px) { .addon-row { grid-template-columns: 1fr; } .addon__qty { justify-self: end; height: 38px; } .addon { grid-template-columns: 22px 48px minmax(0, 1fr) auto; } .addon__img { width: 48px; height: 48px; } }

/* =========================================================
   BLACK FRIDAY (html[data-bf]; data/site.json → blackFriday.ativo)
   data-bf-dark = páginas da loja com a paleta preta/amarela (o checkout fica claro, só ganha a faixa)
   ========================================================= */
:root { --bf-y: #ffd400; --bf-r: #ff2d55; --bf-h: 36px; }
.bf-bar { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--bf-h); background: #000; color: #fff; border-bottom: 1px solid #222; font-size: 13px; line-height: 1.2; }
.bf-bar__in { height: 100%; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 0 16px; white-space: nowrap; overflow: hidden; }
.bf-bar__tag { background: var(--bf-y); color: #000; font-weight: 800; letter-spacing: .08em; padding: 3px 8px; border-radius: 4px; font-size: 12px; flex: none; }
.bf-bar__txt { overflow: hidden; text-overflow: ellipsis; }
.bf-bar__clock { flex: none; color: var(--bf-y); }
.bf-bar__clock b { font-variant-numeric: tabular-nums; font-weight: 700; }
html[data-bf] body { padding-top: var(--bf-h); }
html[data-bf] .nav { top: var(--bf-h); }
html[data-bf] .co-hdr { top: var(--bf-h); }
@media (max-width: 1023px) { html[data-bf] .nav.is-open .nav__links { top: calc(var(--nav) + var(--bf-h)); } }
@media (max-width: 639px) { .bf-bar__txt { display: none; } .bf-bar__in { gap: 10px; } }

/* selo nos cards de produto */
.tile { position: relative; }
.bf-ribbon { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--bf-y); color: #000; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 5px 9px; border-radius: 6px; box-shadow: 0 6px 16px -6px rgba(0,0,0,.6); pointer-events: none; }
.bf-badge { background: #000; color: var(--bf-y); box-shadow: inset 0 0 0 1px var(--bf-y); }
.bf-badge i { background: var(--bf-y); }
html[data-bf] .tile-promo { background: var(--bf-r); }

/* hero da home */
.bf-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 32px; align-items: center; margin-top: 0; padding: clamp(28px, 4vw, 56px); border-radius: var(--r-lg); background: radial-gradient(120% 140% at 100% 0%, #2a2400 0%, #0b0b0c 55%) #0b0b0c; color: #fff; text-decoration: none; overflow: hidden; box-shadow: inset 0 0 0 1px #2a2a2a, 0 30px 60px -30px rgba(0,0,0,.9); }
.bf-hero::before { content: ""; position: absolute; inset: auto -10% -60% auto; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,212,0,.18), transparent); pointer-events: none; }
.bf-hero__kicker { margin: 0 0 10px; color: var(--bf-y); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; }
.bf-hero__title { margin: 0; font-size: clamp(56px, 7vw, 112px); line-height: .86; font-weight: 800; letter-spacing: -0.04em; }
.bf-hero__title::first-line { color: #fff; }
.bf-hero__sub { margin: 18px 0 22px; max-width: 38ch; color: #cfcfca; font-size: 17px; }
.bf-hero__cta { display: inline-flex; align-items: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 999px; background: var(--bf-y); color: #000; font-weight: 800; transition: transform .2s cubic-bezier(.2,.8,.2,1); }
.bf-hero__cta svg { width: 18px; height: 18px; }
.bf-hero:hover .bf-hero__cta { transform: translateX(3px); }
.bf-hero__pts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; position: relative; }
.bf-hero__pts li { display: grid; gap: 8px; background: #161618; border-radius: 14px; padding: 8px 8px 12px; box-shadow: inset 0 0 0 1px #2a2a2a; }
.bf-hero__img { display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #fff; }
.bf-hero__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bf-hero__p { display: grid; font-size: 12px; color: #a8a8a3; padding: 0 4px; }
.bf-hero__p s { font-size: 12px; }
.bf-hero__p b { color: var(--bf-y); font-size: 18px; letter-spacing: -0.02em; }
@media (max-width: 899px) { .bf-hero { grid-template-columns: 1fr; } }
@media (max-width: 639px) { .bf-hero__pts { gap: 8px; } .bf-hero__p b { font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { .bf-hero__cta { transition: none; } }
@media (min-width: 640px) { .bf-deals .grid > .tile { grid-column: auto / span 4 !important; } }

/* ---------- paleta escura: troca os painéis claros fixos ---------- */
html[data-bf-dark] { --n-paper: #161618; }
html[data-bf-dark] body { background: var(--p-bg); }
html[data-bf-dark] .ml-band { background: linear-gradient(180deg, #000 0%, #0b0b0c 100%); }
html[data-bf-dark] :is(.ml-perk, .pd .order, .pd-block) { background: #161618; box-shadow: inset 0 0 0 1px #26262a; }
html[data-bf-dark] .ml-perk svg { color: var(--bf-y); }
html[data-bf-dark] .ml-search { background: #1c1c1f; box-shadow: inset 0 0 0 1px #2e2e33; }
html[data-bf-dark] .ml-search button { background: var(--bf-y); color: #000; }
html[data-bf-dark] .ml-circle__img { background: #fff; box-shadow: inset 0 0 0 1px #2a2a2a; }
html[data-bf-dark] .ml-cta { background: var(--bf-y); --bg: var(--bf-y); --ink: #000; --muted: #3a3200; --action: #000; --action-ink: var(--bf-y); color: #000; }
html[data-bf-dark] :is(.promo-box, .promo-chips li, .addon, .addon__qty, .enc-min, .is-promo .promo-frete) { background: #1c1c1f; }
html[data-bf-dark] .promo-box { box-shadow: inset 0 0 0 2px var(--bf-y); }
html[data-bf-dark] :is(.promo-chips li, .addon, .addon__qty, .enc-min, .is-promo .promo-frete) { box-shadow: inset 0 0 0 1px #2e2e33; }
html[data-bf-dark] .promo-off { background: var(--bf-y); color: #000; }
html[data-bf-dark] .promo-price__sub { color: #4ade80; }
html[data-bf-dark] .addon__img { background: #fff; }
html[data-bf-dark] .input { background: #111113; color: var(--ink); }
html[data-bf-dark] .pay-panel { background: #111113; }
html[data-bf-dark] .tile-price__pix strong, html[data-bf-dark] .pd .order__price { color: var(--bf-y); }
html[data-bf-dark] .tile__media { background: #fff; }
html[data-bf-dark] .wa { background: #25d366; color: #fff; }
html[data-bf-dark] .consent { background: #161618; color: var(--p-ink); }
html[data-bf-dark] .nav { background: rgba(11,11,12,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid #1f1f22; }
html[data-bf-dark] .nav__logo img { filter: brightness(0) invert(1); }
html[data-bf-dark] .nav__menu { --bg: #111113; --ink: #f5f5f4; --muted: #a8a8a3; }
@media (max-width: 639px) { .bf-deals .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bf-deals .grid > .tile { grid-column: auto !important; } .bf-deals .t-card { font-size: var(--t-small); } .bf-deals :is(.tile__facts, .tile__price) { font-size: var(--t-label); } .bf-ribbon { top: 6px; left: 6px; font-size: 10.5px; padding: 4px 7px; } .tile-promo { font-size: 10.5px; } }
