/* Nativa Tabacaria & Head Shop: catálogo
   Cores e fontes seguem identidade/design-guide.md */

:root {
  --preto: #010301;
  --fundo-2: #060c05;
  --card: #0b1409;
  --card-2: #101c0d;
  --linha: rgba(186, 247, 9, 0.14);
  --linha-forte: rgba(186, 247, 9, 0.35);
  --neon: #BAF709;
  --eletrico: #73E910;
  --floresta: #154E06;
  --texto: #F7FAE6;
  --texto-2: rgba(247, 250, 230, 0.7);
  --texto-3: rgba(247, 250, 230, 0.5);
  --perigo: #ff8a7a;
  --glow: 0 0 24px rgba(115, 233, 16, 0.35);
  --raio: 18px;
  --raio-sm: 12px;
  --topo-h: 68px;
  --fonte: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fonte-titulo: "League Spartan", "Montserrat", system-ui, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topo-h) + 12px); -webkit-text-size-adjust: 100%; }
html.travado { overflow: hidden; }
body {
  margin: 0;
  background: var(--preto);
  color: var(--texto);
  font-family: var(--fonte);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 28px; } }

h1, h2, h3 { font-family: var(--fonte-titulo); line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; text-decoration: none; letter-spacing: .01em;
  border: 1.5px solid transparent; transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:active { transform: scale(.98); }
.btn-neon { background: var(--neon); color: var(--preto); box-shadow: var(--glow); }
.btn-neon:hover { box-shadow: 0 0 34px rgba(186, 247, 9, .55); }
.btn-contorno { border-color: var(--linha-forte); color: var(--texto); background: transparent; }
.btn-contorno:hover { border-color: var(--neon); color: var(--neon); }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.link-btn { background: none; border: 0; color: var(--neon); text-decoration: underline; text-underline-offset: 3px; padding: 8px 0; font-weight: 600; }
.icone-btn {
  position: relative; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: transparent; border: 1px solid var(--linha); color: var(--texto);
  transition: border-color .2s, color .2s;
}
.icone-btn:hover { border-color: var(--neon); color: var(--neon); }

/* ---------- Aviso de demonstração ---------- */
.demo-aviso {
  background: var(--floresta); color: var(--texto); text-align: center;
  font-size: .8rem; font-weight: 600; padding: 7px 16px; letter-spacing: .02em;
}

/* ---------- Topo ---------- */
.topo {
  position: sticky; top: 0; z-index: 40;
  background: rgba(1, 3, 1, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--linha);
}
.topo-inner { height: var(--topo-h); display: flex; align-items: center; gap: 16px; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.marca img { width: 44px; height: 44px; border-radius: 50%; box-shadow: var(--glow); }
.marca span { font-family: var(--fonte-titulo); font-weight: 800; font-size: 1.35rem; color: var(--neon); letter-spacing: .02em; }
.nav { display: none; gap: 28px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--texto-2); transition: color .2s; }
.nav a:hover { color: var(--neon); }
.topo-acoes { display: flex; gap: 8px; }
.sacola-qtd {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--neon); color: var(--preto);
  font-size: .72rem; font-weight: 800; display: grid; place-items: center;
}
@media (min-width: 860px) { .nav { display: flex; margin-right: 24px; } .marca { margin-right: 0; } .nav { margin-left: auto; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 40px 0 36px; border-bottom: 1px solid var(--linha); }
.hero::before {
  content: ""; position: absolute; inset: auto -20% -40% -20%; height: 70%;
  background: radial-gradient(ellipse at center, rgba(115, 233, 16, .16), transparent 65%);
  pointer-events: none;
}
.estrelas {
  position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, var(--neon), transparent),
    radial-gradient(1px 1px at 28% 72%, var(--texto), transparent),
    radial-gradient(1.5px 1.5px at 46% 12%, var(--eletrico), transparent),
    radial-gradient(1px 1px at 63% 48%, var(--texto), transparent),
    radial-gradient(1.5px 1.5px at 78% 22%, var(--neon), transparent),
    radial-gradient(1px 1px at 88% 66%, var(--texto), transparent),
    radial-gradient(1px 1px at 7% 58%, var(--eletrico), transparent),
    radial-gradient(1.5px 1.5px at 55% 88%, var(--neon), transparent);
}
.hero-inner { position: relative; display: grid; gap: 28px; align-items: center; }
.eyebrow { display: block; margin: 0 0 14px; color: var(--neon); font-family: var(--fonte); font-weight: 600; font-size: .78rem; line-height: 1.5; letter-spacing: .22em; text-transform: uppercase; }
.hero h1 { font-size: clamp(2.5rem, 9vw, 4.6rem); font-weight: 800; }
.hero h1 .destaque { color: var(--neon); text-shadow: 0 0 28px rgba(186, 247, 9, .45); }
.hero-sub { color: var(--texto-2); font-size: 1.05rem; max-width: 34em; margin: 18px 0 26px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-ctas .btn { flex: 1 1 180px; }
.hero-logo { justify-self: center; width: min(78vw, 340px); }
.hero-logo img { width: 100%; height: auto; border-radius: 50%; filter: drop-shadow(0 0 40px rgba(115, 233, 16, .35)); animation: flutuar 7s ease-in-out infinite; }
@keyframes flutuar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hero-logo img { animation: none; } html { scroll-behavior: auto; } }
@media (min-width: 860px) {
  .hero { padding: 72px 0 56px; }
  .hero-inner { grid-template-columns: 1.15fr .85fr; gap: 48px; }
  .hero-ctas .btn { flex: 0 0 auto; }
  .hero-logo { width: 400px; }
}

.passos { list-style: none; margin-top: 36px; display: grid; gap: 12px; position: relative; }
.passos li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--linha); border-radius: var(--raio); background: rgba(11, 20, 9, .6); }
.passos strong { display: block; font-size: .98rem; }
.passos span:not(.passo-n) { color: var(--texto-2); font-size: .88rem; }
.passo-n {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--fonte-titulo); font-weight: 800; color: var(--preto); background: var(--neon);
}
@media (min-width: 720px) { .passos { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Seções ---------- */
.secao { padding: 48px 0; }
@media (min-width: 860px) { .secao { padding: 72px 0; } }
.secao-topo { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.secao-topo p { margin: 0; }
.contagem { color: var(--texto-3); font-size: .88rem; }

/* ---------- Categorias ---------- */
.categorias { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 720px) { .categorias { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.cat-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px; text-align: left;
  padding: 18px; min-height: 140px; border-radius: var(--raio);
  background: linear-gradient(160deg, var(--card-2), var(--card));
  border: 1px solid var(--linha); transition: border-color .2s, transform .2s, box-shadow .2s;
}
.cat-card:hover { border-color: var(--linha-forte); transform: translateY(-2px); box-shadow: var(--glow); }
.cat-icone { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(186, 247, 9, .08); color: var(--neon); }
.cat-icone svg { width: 28px; height: 28px; stroke-width: 1.6; }
.cat-nome { font-weight: 700; font-size: .98rem; line-height: 1.25; margin-top: auto; }
.cat-qtd { color: var(--texto-3); font-size: .8rem; }

/* ---------- Vitrines ---------- */
.vitrine { padding: 8px 0 40px; }
.vitrine .secao-topo h2 { font-size: clamp(1.35rem, 3.5vw, 1.75rem); }
.trilho {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 62%); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 12px; margin: 0 -16px;
  scrollbar-width: thin; scrollbar-color: var(--floresta) transparent;
}
.trilho > * { scroll-snap-align: start; }
@media (min-width: 720px) { .trilho { grid-auto-columns: minmax(220px, 31%); margin: 0 -28px; padding: 4px 28px 12px; } }
@media (min-width: 1100px) { .trilho { grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; margin: 0; padding: 4px 0 12px; } }

/* ---------- Ferramentas do catálogo ---------- */
.ferramentas { display: flex; gap: 10px; margin-bottom: 14px; }
.busca {
  flex: 1; display: flex; align-items: center; gap: 10px;
  height: 50px; padding: 0 16px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--linha); color: var(--texto-3);
  transition: border-color .2s;
}
.busca:focus-within { border-color: var(--neon); color: var(--neon); }
.busca input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: none; color: var(--texto); font-size: 1rem; }
.busca input::placeholder { color: var(--texto-3); }
.btn-filtros {
  display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 18px;
  border-radius: 999px; background: var(--card); border: 1px solid var(--linha); font-weight: 600; font-size: .92rem;
}
.btn-filtros[aria-expanded="true"] { border-color: var(--neon); color: var(--neon); }
.filtros-n { background: var(--neon); color: var(--preto); border-radius: 999px; min-width: 20px; height: 20px; font-size: .72rem; font-weight: 800; display: inline-grid; place-items: center; padding: 0 6px; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 16px 12px; margin: 0 -16px 8px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
@media (min-width: 720px) { .chips { flex-wrap: wrap; overflow: visible; margin: 0 0 8px; padding: 2px 0 12px; } }
.chip {
  flex-shrink: 0; height: 38px; padding: 0 16px; border-radius: 999px;
  background: transparent; border: 1px solid var(--linha); color: var(--texto-2);
  font-size: .86rem; font-weight: 600; white-space: nowrap; transition: all .2s;
}
.chip:hover { border-color: var(--linha-forte); color: var(--texto); }
.chip[aria-pressed="true"] { background: var(--neon); border-color: var(--neon); color: var(--preto); }

.painel-filtros {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; align-items: end;
  padding: 18px; margin-bottom: 20px; border: 1px solid var(--linha); border-radius: var(--raio); background: var(--card);
}
.painel-filtros .campo:nth-child(2) { grid-column: 1 / -1; }
@media (min-width: 860px) {
  .painel-filtros { grid-template-columns: 1fr 1.4fr 1fr auto auto; }
  .painel-filtros .campo:nth-child(2) { grid-column: auto; }
}
.campo { display: flex; flex-direction: column; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--texto-2); }
.campo output { color: var(--neon); }
select, .campo input:not([type="range"]), textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border-radius: var(--raio-sm);
  background: var(--preto); border: 1px solid var(--linha); font-size: 1rem; color: var(--texto); outline: none;
}
select:focus, .campo input:focus, textarea:focus { border-color: var(--neon); }
textarea { resize: vertical; min-height: 72px; }
input[type="range"] { width: 100%; accent-color: var(--neon); height: 46px; margin: 0; }
.check { display: flex; align-items: center; gap: 10px; min-height: 46px; font-size: .9rem; font-weight: 600; color: var(--texto-2); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--neon); }

/* ---------- Grade e card ---------- */
.grade { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 720px) { .grade { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1100px) { .grade { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

.card {
  position: relative; display: flex; flex-direction: column; border-radius: var(--raio); overflow: hidden;
  background: var(--card); border: 1px solid var(--linha); transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--linha-forte); transform: translateY(-2px); }
.card-midia { position: relative; display: block; width: 100%; aspect-ratio: 1; border: 0; padding: 0; background: none; }
.card-corpo { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; flex: 1; }
.card-marca { font-size: .72rem; color: var(--texto-3); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.card-nome { font-family: var(--fonte); font-size: .95rem; font-weight: 600; line-height: 1.3; }
.card-nome button { all: unset; cursor: pointer; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-nome button:focus-visible { outline: 2px solid var(--neon); }
.card-rodape { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; }
.btn-add {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--neon); color: var(--preto); border: 0; transition: box-shadow .2s, transform .15s;
}
.btn-add svg { stroke-width: 2.4; }
.btn-add:hover { box-shadow: var(--glow); }
.btn-add:active { transform: scale(.92); }
.btn-add[disabled] { background: var(--card-2); color: var(--texto-3); cursor: not-allowed; }
.btn-add.consultar { width: auto; padding: 0 12px; border-radius: 999px; font-size: .76rem; font-weight: 700; background: transparent; color: var(--neon); border: 1px solid var(--linha-forte); }

.preco { display: flex; flex-direction: column; line-height: 1.15; }
.preco-de { font-size: .76rem; color: var(--texto-3); text-decoration: line-through; }
.preco-por { font-weight: 700; font-size: 1.08rem; color: var(--texto); }
.preco-consulta { font-size: .85rem; color: var(--texto-2); font-weight: 600; }

.midia, .midia-vazia { width: 100%; height: 100%; object-fit: cover; }
.midia-vazia {
  display: grid; place-items: center; color: var(--neon);
  background:
    radial-gradient(circle at 50% 40%, rgba(115, 233, 16, .16), transparent 62%),
    linear-gradient(160deg, var(--card-2), var(--preto));
}
.midia-vazia svg { width: 38%; height: 38%; stroke-width: 1.1; opacity: .85; filter: drop-shadow(0 0 10px rgba(115, 233, 16, .45)); }

.selos { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.selo { font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 4px 8px; border-radius: 999px; background: var(--neon); color: var(--preto); }
.selo-escuro { background: rgba(1, 3, 1, .8); color: var(--neon); border: 1px solid var(--linha-forte); }
.selo-esgotado { background: rgba(1, 3, 1, .85); color: var(--texto-2); border: 1px solid rgba(247, 250, 230, .2); }
.card.esgotado .card-midia { opacity: .55; }

/* ---------- Estado vazio ---------- */
.vazio { text-align: center; padding: 48px 16px; border: 1px dashed var(--linha-forte); border-radius: var(--raio); color: var(--texto-2); }
.vazio p { margin: 0 0 8px; }
.vazio strong { color: var(--texto); }
.vazio-acoes { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }

/* ---------- Sobre ---------- */
.sobre { border-top: 1px solid var(--linha); background: radial-gradient(ellipse at 20% 50%, rgba(21, 78, 6, .35), transparent 60%); }
.sobre-inner { display: grid; gap: 28px; align-items: center; }
.sobre-logo { width: 140px; height: 140px; border-radius: 50%; box-shadow: var(--glow); }
.sobre p { color: var(--texto-2); max-width: 40em; margin: 14px 0 20px; font-size: 1.02rem; }
@media (min-width: 720px) { .sobre-inner { grid-template-columns: auto 1fr; gap: 44px; } .sobre-logo { width: 180px; height: 180px; } }
.info-loja { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.info-loja li { display: flex; gap: 10px; align-items: flex-start; color: var(--texto-2); font-size: .95rem; }
.info-loja svg { color: var(--neon); margin-top: 2px; }
.info-loja a { color: var(--neon); }

/* ---------- Dúvidas ---------- */
.duvidas { border-top: 1px solid var(--linha); }
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { border: 1px solid var(--linha); border-radius: var(--raio); background: var(--card); transition: border-color .2s; }
.faq details[open] { border-color: var(--linha-forte); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; position: relative;
  font-weight: 600; font-size: .98rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  color: var(--neon); font-size: 1.4rem; font-weight: 400; transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--texto-2); }

/* ---------- Rodapé ---------- */
.rodape { border-top: 1px solid var(--linha); padding: 28px 0 120px; }
.rodape-inner { display: grid; gap: 6px; text-align: center; }
.rodape p { margin: 0; }
.rodape-marca { font-weight: 700; color: var(--neon); }
.rodape-legal { font-size: .8rem; color: var(--texto-3); }

/* ---------- Flutuantes ---------- */
.whats-flutuante {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 35;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--neon); color: var(--preto); box-shadow: 0 6px 24px rgba(0, 0, 0, .5), var(--glow);
  transition: bottom .25s, transform .2s;
}
.whats-flutuante:hover { transform: scale(1.06); }
.whats-flutuante svg { width: 28px; height: 28px; stroke-width: 2; }
body.com-barra .whats-flutuante { bottom: calc(88px + env(safe-area-inset-bottom)); }

.barra-sacola {
  position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 36;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 58px; padding: 0 20px; border-radius: 999px; border: 0;
  background: var(--neon); color: var(--preto); font-size: .92rem; font-weight: 600;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .55), var(--glow);
}
.barra-sacola strong { font-weight: 800; }
@media (min-width: 860px) { .barra-sacola { left: auto; width: 360px; right: 88px; } body.com-barra .whats-flutuante { bottom: calc(16px + env(safe-area-inset-bottom)); } }

/* ---------- Diálogos ---------- */
.dlg {
  padding: 0; border: 1px solid var(--linha-forte); background: var(--fundo-2); color: var(--texto);
  width: 100%; max-width: 100%; max-height: 92dvh; margin: auto auto 0; border-radius: 22px 22px 0 0;
  box-shadow: 0 -10px 60px rgba(0, 0, 0, .6);
}
.dlg::backdrop { background: rgba(0, 0, 0, .72); backdrop-filter: blur(4px); }
.dlg[open] { animation: subir .28s ease-out; }
@keyframes subir { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 720px) {
  .dlg { margin: auto; border-radius: 22px; max-width: 860px; max-height: 88vh; }
  .dlg-sacola { margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; max-width: 440px; border-radius: 0; border-width: 0 0 0 1px; }
  .dlg-sacola[open] { animation: lateral .28s ease-out; }
}
@keyframes lateral { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .dlg[open] { animation: none; } }

.dlg-fechar { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(1, 3, 1, .75); }
.dlg-cabeca { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--linha); position: sticky; top: 0; background: var(--fundo-2); z-index: 2; }
.dlg-cabeca h2 { font-size: 1.4rem; }
.dlg-cabeca .dlg-fechar { position: static; }

/* Produto */
.produto { display: grid; }
@media (min-width: 720px) { .produto { grid-template-columns: 1fr 1fr; } }
.produto-midia { aspect-ratio: 1; position: relative; }
.produto-info { padding: 22px 20px 26px; display: flex; flex-direction: column; gap: 14px; }
.produto-trilha { font-size: .76rem; color: var(--texto-3); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.produto-info h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
.produto-info .preco-por { font-size: 1.5rem; color: var(--neon); }
.produto-info .preco-de { font-size: .9rem; }
.produto-desc { color: var(--texto-2); margin: 0; }
.disp { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 600; }
.disp::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--eletrico); box-shadow: 0 0 8px var(--eletrico); }
.disp.nao { color: var(--texto-3); }
.disp.nao::before { background: var(--texto-3); box-shadow: none; }
.produto-comprar { display: flex; gap: 10px; align-items: center; margin-top: 4px; }
.produto-comprar .btn { flex: 1; }
.duvida { font-size: .86rem; color: var(--texto-2); }
.duvida a { color: var(--neon); }

.qtd { display: inline-flex; align-items: center; border: 1px solid var(--linha); border-radius: 999px; height: 48px; }
.qtd button { width: 42px; height: 100%; background: none; border: 0; font-size: 1.2rem; color: var(--texto); }
.qtd button:hover { color: var(--neon); }
.qtd span { min-width: 28px; text-align: center; font-weight: 700; }
.qtd.pequena { height: 36px; }
.qtd.pequena button { width: 34px; font-size: 1rem; }

/* Sacola */
.dlg-sacola { display: none; }
.dlg-sacola[open] { display: flex; flex-direction: column; }
.sacola-corpo { flex: 1; overflow-y: auto; padding: 8px 20px 20px; }
.sacola-pe { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--linha); background: var(--fundo-2); display: grid; gap: 12px; }
.sacola-total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; }
.sacola-total strong { font-size: 1.3rem; color: var(--neon); }
.sacola-nota { font-size: .8rem; color: var(--texto-3); margin: 0; }
.item { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--linha); }
.item-midia { width: 64px; height: 64px; border-radius: var(--raio-sm); overflow: hidden; }
.item-nome { font-weight: 600; font-size: .94rem; line-height: 1.3; }
.item-var { font-size: .8rem; color: var(--texto-3); }
.item-linha { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.item-preco { font-weight: 700; }
.item-remover { background: none; border: 0; color: var(--texto-3); font-size: .78rem; text-decoration: underline; padding: 4px 0; }
.sacola-vazia { text-align: center; padding: 48px 8px; color: var(--texto-2); }
.sacola-vazia svg { width: 56px; height: 56px; color: var(--neon); stroke-width: 1.2; margin-bottom: 12px; }

.form { display: grid; gap: 16px; padding-top: 14px; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.form legend { font-size: .8rem; font-weight: 600; color: var(--texto-2); margin-bottom: 8px; padding: 0; }
.opcoes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opcao { position: relative; }
.opcao input { position: absolute; opacity: 0; inset: 0; }
.opcao span {
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: 8px 10px;
  border: 1px solid var(--linha); border-radius: var(--raio-sm); font-size: .88rem; font-weight: 600; cursor: pointer; transition: all .15s;
}
.opcao input:checked + span { border-color: var(--neon); background: rgba(186, 247, 9, .1); color: var(--neon); }
.opcao input:focus-visible + span { outline: 2px solid var(--neon); outline-offset: 2px; }
.linha-2 { display: grid; grid-template-columns: 1fr 110px; gap: 10px; }
.erro-form { color: var(--perigo); font-size: .86rem; margin: 0; }
.voltar { background: none; border: 0; color: var(--texto-2); font-size: .88rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; }
.voltar:hover { color: var(--neon); }

.pronto { text-align: center; padding: 32px 8px; display: grid; gap: 14px; justify-items: center; }
.pronto .icone-ok { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--neon); color: var(--preto); box-shadow: var(--glow); }
.pronto .icone-ok svg { width: 36px; height: 36px; stroke-width: 2.4; }
.pronto p { color: var(--texto-2); margin: 0; max-width: 26em; }

/* Idade */
.dlg-idade { max-width: 420px; text-align: center; padding: 30px 24px 26px; margin: auto; border-radius: 22px; }
.dlg-idade img { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 16px; box-shadow: var(--glow); }
.dlg-idade h2 { font-size: 1.6rem; }
.dlg-idade p { color: var(--texto-2); }
.idade-acoes { display: grid; gap: 10px; margin-top: 18px; }
.idade-msg { color: var(--neon) !important; font-weight: 600; }

/* Toast */
.toast {
  position: fixed; left: 50%; top: calc(var(--topo-h) + 14px); z-index: 60; transform: translate(-50%, -10px);
  background: var(--card-2); border: 1px solid var(--linha-forte); color: var(--texto); padding: 12px 18px; border-radius: 999px;
  font-size: .88rem; font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s; white-space: nowrap; max-width: calc(100vw - 32px); overflow: hidden; text-overflow: ellipsis;
}
.toast.visivel { opacity: 1; transform: translate(-50%, 0); }
