/* NA PRESSA — cardápio online.
 * Design v2: dark premium, quente e apetitoso. Mobile-first.
 * Display: Bricolage Grotesque · Texto: system stack. */
* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }

:root {
  --bg: #0f0c09;            /* quase-preto café */
  --bg-2: #16110c;
  --card: #1a1410;
  --card-hi: #241c15;
  --line: #2c231b;
  --line-hi: #3d3126;
  --ink: #f7f1e8;           /* creme */
  --muted: #a5978a;
  --brand: #ff5a2e;         /* chama */
  --brand-2: #ffb03a;       /* âmbar */
  --grad: linear-gradient(100deg, var(--brand) 10%, var(--brand-2) 90%);
  --verde: #2fd670;
  --verde-whats: #25d366;
  --erro: #ff6b5e;
  --radius: 18px;
  --sombra: 0 10px 30px rgba(0, 0, 0, .35);
  --font-display: "Bricolage Grotesque", -apple-system, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(60% 30% at 80% -5%, rgba(255, 90, 46, .12), transparent 60%),
    radial-gradient(50% 25% at 10% 0%, rgba(255, 176, 58, .07), transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.page { max-width: 560px; margin: 0 auto; min-height: 100vh; }

:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 2px; border-radius: 6px; }

/* ===== capa ===== */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, #221409 0%, #140d07 55%, #26150a 100%);
  border-bottom: 1px solid var(--line);
  padding: 30px 18px 22px;
  border-radius: 0 0 26px 26px;
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(45% 60% at 85% 10%, rgba(255, 90, 46, .22), transparent 65%),
    radial-gradient(35% 45% at 15% 90%, rgba(255, 176, 58, .10), transparent 60%);
}
.hero-art {
  position: absolute; right: -34px; top: -30px; width: 210px; height: 210px;
  opacity: .09; transform: rotate(12deg); pointer-events: none;
  background: url("img/logo.png") no-repeat center / contain;
}
.hero-body { position: relative; }
.logo-row { display: flex; align-items: center; gap: 14px; }
.logo {
  width: 74px; height: 74px; flex: none; border-radius: 22px;
  background: radial-gradient(120% 120% at 30% 15%, #33190a, #150c05);
  padding: 6px;
  display: grid; place-items: center;
  box-shadow: 0 0 0 1.5px rgba(255, 120, 40, .55), 0 0 22px rgba(255, 90, 46, .45),
              0 10px 26px rgba(0, 0, 0, .5);
}
.logo img { width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255, 110, 30, .35)); }
.store-name {
  font-family: var(--font-display);
  font-size: 30px; font-weight: 800; letter-spacing: .4px; line-height: 1;
  background: linear-gradient(90deg, #fff 30%, #ffd9a8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.store-tag { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
  padding: 6px 12px; border-radius: 99px; font-size: 12.5px; font-weight: 600;
  backdrop-filter: blur(4px);
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--verde); animation: pulsa 1.6s infinite; box-shadow: 0 0 8px var(--verde); }
.chip.fechado .dot { background: var(--erro); box-shadow: none; animation: none; }
@keyframes pulsa { 50% { opacity: .35; } }

.banner-fechado {
  margin: 12px 14px 0; padding: 11px 14px; border-radius: 13px;
  background: rgba(255, 176, 58, .08); border: 1px solid rgba(255, 176, 58, .25);
  color: #ffd9a8; font-size: 13.5px;
}

/* Pausa manual: vermelho e mais forte que o âmbar do "fechado", porque não é
   "abrimos 17:45" — é "não dá pra pedir agora". Tem que parar o olho. */
.banner-pausado {
  margin: 12px 14px 0; padding: 13px 14px; border-radius: 13px;
  background: rgba(255, 107, 94, .1); border: 1px solid rgba(255, 107, 94, .38);
  color: #ffcac4; font-size: 13.5px; line-height: 1.45;
}
.banner-pausado b { color: #fff0ee; }

/* ===== separador dentro da categoria =====
   Divide uma seção em blocos — as promoções de pizza em cima, os sabores de
   preço cheio embaixo — sem precisar inventar uma categoria nova só pra isso
   (a barra de categorias já tem chip demais pra rolar). */
.separador {
  display: flex; align-items: center; gap: 10px;
  margin: 20px 2px 13px; color: var(--muted);
  font-family: var(--font-display); font-size: 11.5px; font-weight: 800;
  letter-spacing: 1.2px; text-transform: uppercase;
}
.separador::before, .separador::after {
  content: ""; height: 1px; background: var(--line-hi); flex: 1;
}
.separador span { white-space: nowrap; }

/* ===== faixa de lançamento (novidade) =====
   Mesma silhueta do "pedir de novo" — o cliente já sabe que aquela faixa larga
   é clicável —, só que quente e com um brilho passando: tem que ganhar o olho
   na primeira dobra sem virar pop-up. */
.novidade {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
  width: calc(100% - 28px); margin: 12px 14px 0;
  background: linear-gradient(120deg, rgba(255, 90, 46, .17), rgba(255, 176, 58, .08));
  color: var(--ink);
  border: 1.5px solid rgba(255, 90, 46, .5); border-radius: 15px;
  padding: 12px 14px; position: relative; overflow: hidden;
  box-shadow: 0 8px 22px rgba(255, 90, 46, .14);
}
.novidade:active { transform: scale(.985); }
.novidade-txt { min-width: 0; }
.novidade-txt b { display: block; font-size: 14px; letter-spacing: .1px; }
.novidade-txt small { color: var(--brand-2); font-size: 12.5px; font-weight: 700; }
.novidade-ico { font-size: 26px; line-height: 1; }
.novidade-seta { margin-left: auto; color: var(--brand-2); font-size: 22px; font-weight: 800; }
/* brilho atravessando: mesmo truque do selo de economia */
.novidade::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 38%, rgba(255, 255, 255, .17) 50%, transparent 62%);
  transform: translateX(-140%);
  animation: brilho-novidade 5s ease-in-out infinite;
}
@keyframes brilho-novidade {
  0%, 70% { transform: translateX(-140%); }
  100%    { transform: translateX(140%); }
}
@media (prefers-reduced-motion: reduce) {
  .novidade::after { animation: none; }
}

/* ===== pedir de novo ===== */
.repetir {
  display: flex; align-items: center; gap: 12px; text-align: left;
  width: calc(100% - 28px); margin: 12px 14px 0;
  background: var(--card); color: var(--ink);
  border: 1.5px dashed rgba(255, 176, 58, .45); border-radius: 15px;
  padding: 12px 14px; cursor: pointer; font-family: inherit; font-size: 13.5px;
  transition: border-color .15s, background .15s;
}
.repetir:active { background: var(--card-hi); }
.repetir small { color: var(--muted); font-size: 12px; }
.repetir-ico { font-size: 22px; }
.repetir-seta { margin-left: auto; color: var(--brand-2); font-size: 22px; font-weight: 800; }

/* ===== busca + categorias (sticky) ===== */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: rgba(15, 12, 9, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(44, 35, 27, .6);
  padding: 10px 14px 0;
  margin-top: 8px;
}
.busca input {
  width: 100%; background: var(--card); color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 13px;
  padding: 11px 14px 11px 38px; font-size: 14.5px; font-family: inherit; outline: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23a5978a' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='m11 11 3.5 3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 13px center;
}
.busca input:focus { border-color: var(--brand-2); }
.busca input::placeholder { color: var(--muted); }
.catnav {
  display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 12px;
  scrollbar-width: none;
}
.catnav::-webkit-scrollbar { display: none; }
.catnav a {
  flex: none; text-decoration: none; color: var(--muted);
  background: var(--card); border: 1.5px solid var(--line);
  padding: 8px 15px; border-radius: 99px; font-size: 13.5px; font-weight: 700;
  transition: color .15s, border-color .15s;
}
.catnav a.ativo {
  background: var(--grad); color: #fff; border-color: transparent;
  box-shadow: 0 4px 14px rgba(255, 90, 46, .35);
}

/* ===== cardápio ===== */
main { padding: 6px 14px 140px; }
.secao h2 {
  font-family: var(--font-display);
  font-size: 21px; font-weight: 800; margin: 26px 2px 12px;
  display: flex; align-items: center; gap: 10px;
}
.secao h2::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--line-hi), transparent);
}
.card {
  display: flex; gap: 13px; align-items: stretch;
  background: linear-gradient(180deg, var(--card), #171209);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; margin-bottom: 11px; cursor: pointer; position: relative;
  box-shadow: var(--sombra);
  transition: transform .14s ease, border-color .14s ease;
  -webkit-tap-highlight-color: transparent;
}
.card:hover { border-color: var(--line-hi); }
.card:active { transform: scale(.982); }
.card-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.card-nome { font-weight: 800; font-size: 15.5px; letter-spacing: .1px; }
.card-desc {
  color: var(--muted); font-size: 13px; line-height: 1.4; margin-top: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-preco {
  margin-top: auto; padding-top: 8px;
  font-family: var(--font-display); color: var(--brand-2); font-weight: 800; font-size: 16.5px;
}
/* Bloco de oferta. Hierarquia: o que ele PAGA primeiro e maior, o quanto ele
   GANHA em destaque logo abaixo, e o valor riscado pequeno — é só a referência
   que sustenta a conta, não a mensagem. O rótulo ("Separado") é o que deixa o
   riscado honesto: não é preço antigo, é a soma dos itens avulsos. */
.card-preco.com-oferta { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.preco-linha { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.preco-agora { font-size: 21px; line-height: 1; color: var(--brand-2); font-weight: 800; }
.preco-antes {
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  color: var(--muted); letter-spacing: .2px;
}
/* o valor riscado precisa ser LIDO: se o traço for grosso demais ele tampa os
   dígitos e a comparação se perde. Número grande e claro, traço fino e
   translúcido — corta sem esconder. */
.preco-antes s {
  font-size: 15.5px; color: #cdbdae;
  text-decoration-color: rgba(255, 90, 46, .9);
  text-decoration-thickness: 1.5px;
}
.selo-economia {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center;
  background: linear-gradient(100deg, #17a355 5%, var(--verde) 95%);
  color: #032a14; font-size: 11.5px; font-weight: 900; letter-spacing: .5px;
  padding: 6px 12px; border-radius: 99px;
  box-shadow: 0 5px 16px rgba(47, 214, 112, .34), inset 0 1px 0 rgba(255, 255, 255, .28);
}
/* brilho atravessando: é o que faz o olho parar no valor economizado */
.selo-economia::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 36%, rgba(255, 255, 255, .55) 50%, transparent 64%);
  transform: translateX(-140%);
  animation: brilho-economia 4.2s ease-in-out infinite;
}
@keyframes brilho-economia {
  0%, 65% { transform: translateX(-140%); }
  100%    { transform: translateX(140%); }
}
@media (prefers-reduced-motion: reduce) {
  .selo-economia::after { animation: none; }
}
.card-foto {
  width: 88px; height: 88px; flex: none; border-radius: 14px; align-self: center;
  background: radial-gradient(120% 120% at 30% 20%, #2e2117, #1c1510);
  border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 40px; overflow: hidden;
}
.card-foto img { width: 100%; height: 100%; object-fit: cover; }
.selo {
  position: absolute; top: -9px; left: 12px;
  background: var(--grad); color: #fff;
  font-size: 10px; font-weight: 900; letter-spacing: .5px;
  padding: 4px 10px; border-radius: 99px;
  box-shadow: 0 4px 12px rgba(255, 90, 46, .45);
}
.card.esgotado { opacity: .45; pointer-events: none; }
.card.esgotado::after {
  content: "ESGOTADO"; position: absolute; top: 10px; right: 10px;
  background: rgba(255, 107, 94, .15); color: var(--erro);
  font-size: 10px; font-weight: 900; letter-spacing: .5px;
  padding: 4px 9px; border-radius: 99px;
}

.rodape { text-align: center; color: var(--muted); font-size: 12.5px; padding: 20px 14px 150px; }
.rodape-logo {
  width: 74px; height: auto; margin: 0 auto 10px; display: block;
  opacity: .85; filter: drop-shadow(0 0 14px rgba(255, 100, 30, .3));
}

/* ===== barra do carrinho ===== */
.cartbar {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: max(14px, env(safe-area-inset-bottom)); z-index: 40;
  width: min(92%, 530px);
  display: flex; align-items: center; gap: 10px; justify-content: space-between;
  background: var(--grad); color: #fff; border: none; cursor: pointer;
  padding: 16px 18px; border-radius: 17px;
  font-size: 15px; font-weight: 800; font-family: inherit;
  box-shadow: 0 12px 34px rgba(255, 90, 46, .45), 0 4px 12px rgba(0, 0, 0, .4);
  animation: sobe .25s ease;
}
@keyframes sobe { from { transform: translate(-50%, 80px); opacity: 0; } }
.cartbar.bump { animation: bump .32s ease; }
@keyframes bump { 35% { transform: translateX(-50%) scale(1.045); } }
.cartbar-qtd {
  background: rgba(0, 0, 0, .3); border-radius: 99px; min-width: 27px; height: 27px;
  display: grid; place-items: center; font-size: 13px; font-weight: 900;
}

/* ===== overlays / bottom-sheets ===== */
.overlay {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(6, 4, 2, .72);
  backdrop-filter: blur(4px);
  display: flex; align-items: flex-end; justify-content: center;
}
.sheet {
  width: min(100%, 560px); max-height: 92dvh; overflow-y: auto;
  background: var(--bg-2); border: 1px solid var(--line); border-bottom: none;
  border-radius: 24px 24px 0 0;
  padding: 10px 18px calc(24px + env(safe-area-inset-bottom));
  position: relative; animation: sheet-sobe .3s cubic-bezier(.2, .9, .3, 1);
}
.sheet-alta { min-height: 62dvh; }
@keyframes sheet-sobe { from { transform: translateY(70px); opacity: .4; } }
.alca { width: 44px; height: 5px; border-radius: 99px; background: var(--line-hi); margin: 6px auto 14px; }
.sheet-fechar {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); cursor: pointer;
  background: var(--card-hi); color: var(--muted); font-size: 14px; font-weight: 700;
}
.sheet h2 { font-family: var(--font-display); font-size: 22px; font-weight: 800; margin-bottom: 4px; padding-right: 40px; }
.sheet-emoji {
  width: 94px; height: 94px; border-radius: 18px; margin-bottom: 12px;
  background: radial-gradient(120% 120% at 30% 20%, #2e2117, #1c1510);
  border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 48px; overflow: hidden;
}
.sheet-emoji.com-foto { width: 100%; height: 200px; }
.sheet-emoji img { width: 100%; height: 100%; object-fit: cover; }
.sheet-desc { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 4px 0 14px; }

/* Bloco de oferta dentro do modal: aqui a conta aparece aberta, porque é o
   momento da decisão e o cliente consegue conferir os avulsos no cardápio. */
.oferta {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
  background: linear-gradient(150deg, rgba(47, 214, 112, .12), rgba(47, 214, 112, .03) 70%);
  border: 1.5px solid rgba(47, 214, 112, .45); border-radius: 15px;
  padding: 12px 14px; margin: 4px 0 14px;
}
.oferta-topo { display: flex; flex-direction: column; gap: 2px; }
.oferta-antes { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.oferta-antes s {
  font-size: 17px; color: #cdbdae;
  text-decoration-color: rgba(255, 90, 46, .9);
  text-decoration-thickness: 1.5px;
}
.oferta-agora {
  font-family: var(--font-display); font-size: 27px; line-height: 1.05;
  font-weight: 800; color: var(--brand-2);
}

/* Escolhas obrigatórias (ex: montar o trio). O bloco fica ANTES dos adicionais
   porque é decisão, não upsell: o cliente resolve o que vem no produto e só
   depois pensa em gastar mais. */
.escolha {
  border: 1.5px solid var(--line); border-radius: 15px;
  background: var(--bg-2); padding: 13px; margin: 4px 0 14px;
}
.escolha.falta { border-color: var(--brand-2); }
.escolha-head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 3px; }
.escolha-titulo { font-weight: 800; font-size: 14.5px; }
.escolha-sub { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.escolha-tag {
  margin-left: auto; flex: none; font-size: 10.5px; font-weight: 800;
  letter-spacing: .04em; padding: 4px 8px; border-radius: 7px;
  background: var(--card-hi); color: var(--muted);
}
.escolha.falta .escolha-tag { background: var(--grad); color: #fff; }
.escolha-conta { font-size: 12.5px; color: var(--muted); margin: 8px 0 10px; font-weight: 700; }
.escolha-conta b { color: var(--brand-2); }
.escolha.completa .escolha-conta b { color: var(--verde); }
.escolha-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1.5px solid var(--line); border-radius: 13px;
  padding: 10px 12px; margin-bottom: 8px; transition: border-color .15s, background .15s;
}
.escolha-item.ativo { border-color: var(--brand-2); background: var(--card-hi); }
.escolha-item:last-child { margin-bottom: 0; }
.escolha-info { min-width: 0; }
.escolha-nome { font-weight: 700; font-size: 14px; }
.escolha-desc { color: var(--muted); font-size: 12px; margin-top: 2px; line-height: 1.35; }
.escolha-item .stepper { margin-left: auto; padding: 3px; }
.escolha-item .stepper button { width: 32px; height: 32px; font-size: 19px; }
.escolha-item .stepper button:disabled { opacity: .3; cursor: default; }
.escolha-item .stepper b { min-width: 20px; font-size: 15px; }
.btn-off { filter: grayscale(.85); opacity: .75; cursor: not-allowed; box-shadow: none; }
.btn-off:active { transform: none; }

.adicionais-titulo {
  font-weight: 800; font-size: 14.5px; margin: 14px 0 10px;
  display: flex; align-items: center; gap: 8px;
}
.adicionais-titulo::before {
  content: ""; width: 3px; height: 15px; border-radius: 2px; background: var(--grad);
}
.adicional {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 11px;
  background: linear-gradient(165deg, var(--card-hi), var(--card) 70%);
  border: 1.5px solid var(--line-hi); border-radius: 15px;
  padding: 11px 12px; margin-bottom: 9px; font-size: 14px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .22);
  transition: border-color .18s, box-shadow .18s, transform .12s;
}
.adicional.ativo {
  border-color: var(--brand-2);
  box-shadow: 0 4px 16px rgba(255, 176, 58, .16);
}
.adicional-chip {
  width: 38px; height: 38px; flex: none; border-radius: 50%;
  display: grid; place-items: center; font-size: 19px;
  background: radial-gradient(120% 120% at 30% 20%, #2e2117, #1b1410);
  border: 1px solid var(--line-hi);
}
/* foto do item: é ela que faz o adicional virar produto na cabeça do cliente */
.adicional-foto {
  width: 54px; height: 54px; flex: none; border-radius: 12px;
  overflow: hidden; border: 1px solid var(--line-hi);
  background: radial-gradient(120% 120% at 30% 20%, #2e2117, #1b1410);
  box-shadow: 0 3px 10px rgba(0, 0, 0, .3);
}
.adicional-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.adicional.tem-desconto .adicional-foto { border-color: rgba(47, 214, 112, .45); }
.adicional-info { min-width: 0; flex: 1; }
.adicional-nome { font-weight: 700; font-size: 14px; line-height: 1.25; }
.adicional-preco { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 3px; }
.adicional-preco s { color: var(--muted); font-size: 12px; text-decoration-thickness: 1.5px; }

/* botão vira stepper depois do primeiro toque */
.adicional-add {
  flex: none; border: none; cursor: pointer; font-family: inherit;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 13.5px;
  padding: 10px 14px; border-radius: 11px; white-space: nowrap;
  box-shadow: 0 5px 14px rgba(255, 90, 46, .32);
  transition: transform .12s;
}
.adicional-add:active { transform: scale(.94); }
/* .stepper genérico vem depois no arquivo e é display:flex — por isso estas
   duas precisam de especificidade maior pra vencer. */
.adicional .adicional-stepper { display: none; margin-left: auto; flex: none; padding: 3px; }
.adicional.ativo .adicional-add { display: none; }
.adicional.ativo .adicional-stepper { display: flex; }
.adicional-stepper button { width: 32px; height: 32px; font-size: 19px; }
.adicional-stepper button:disabled { opacity: .3; cursor: default; }
.adicional-stepper b { min-width: 20px; font-size: 15px; }

/* Só quem tem desconto REAL (precoDe > preco) ganha o verde e o brilho. Usar
   isso onde não há desconto queima a credibilidade de todos os outros. */
.adicional.tem-desconto {
  border-color: rgba(47, 214, 112, .55);
  background: linear-gradient(165deg, rgba(47, 214, 112, .1), var(--card) 72%);
  box-shadow: 0 0 0 1px rgba(47, 214, 112, .1), 0 6px 20px rgba(47, 214, 112, .13);
}
.adicional.tem-desconto.ativo { border-color: var(--verde); }
.adicional.tem-desconto .adicional-chip {
  border-color: rgba(47, 214, 112, .4);
  background: radial-gradient(120% 120% at 30% 20%, #172c1e, #10190f);
}
.adicional.tem-desconto .adicional-add {
  background: linear-gradient(100deg, #1ea85a 10%, var(--verde) 90%);
  color: #04331a; box-shadow: 0 5px 14px rgba(47, 214, 112, .3);
}
.adicional-off {
  background: rgba(47, 214, 112, .16); color: var(--verde);
  font-size: 10.5px; font-weight: 900; letter-spacing: .3px;
  padding: 3px 8px; border-radius: 99px; white-space: nowrap;
}
/* brilho que atravessa o card de tempos em tempos, pra o olho pegar o desconto */
.adicional.tem-desconto::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .11) 48%, transparent 58%);
  transform: translateX(-130%);
  animation: brilho-desconto 5s ease-in-out infinite;
}
@keyframes brilho-desconto {
  0%, 68% { transform: translateX(-130%); }
  100%    { transform: translateX(130%); }
}
@media (prefers-reduced-motion: reduce) {
  .adicional.tem-desconto::after { animation: none; }
}

.campo { display: block; margin-bottom: 12px; }
.campo > span, .campo-titulo { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 6px; }
.campo em { color: var(--muted); font-style: normal; font-weight: 500; }
.campo small { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }
.campo input, .campo textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 13px;
  background: var(--card); color: var(--ink);
  padding: 13px; font-size: 15px; font-family: inherit; outline: none;
  transition: border-color .15s;
}
.campo input:focus, .campo textarea:focus { border-color: var(--brand-2); }
.campo input::placeholder, .campo textarea::placeholder { color: #6e6156; }
.campo input.invalido { border-color: var(--erro); background: rgba(255, 107, 94, .06); }

.sheet-acao { display: flex; gap: 12px; align-items: center; margin-top: 14px; }
.stepper {
  display: flex; align-items: center; gap: 4px; flex: none;
  background: var(--card); border: 1.5px solid var(--line); border-radius: 13px; padding: 4px;
}
.stepper button {
  width: 38px; height: 38px; border: none; border-radius: 10px; cursor: pointer;
  background: transparent; color: var(--brand-2); font-size: 22px; font-weight: 800;
}
.stepper button:active { background: var(--card-hi); }
.stepper b { min-width: 26px; text-align: center; font-size: 16px; }

.btn {
  border: none; cursor: pointer; border-radius: 14px;
  font-size: 15.5px; font-weight: 800; font-family: inherit;
  padding: 15px 18px; transition: transform .12s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn-brand { background: var(--grad); color: #fff; flex: 1; box-shadow: 0 8px 22px rgba(255, 90, 46, .35); }
.btn-verde { background: var(--verde-whats); color: #04421d; box-shadow: 0 8px 22px rgba(37, 211, 102, .3); font-size: 16.5px; }
.btn-fantasma { background: transparent; color: var(--muted); }
.btn-larga { width: 100%; margin-top: 10px; }

/* carrinho */
.item-carrinho {
  display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: 13px;
  padding: 12px 13px; margin-bottom: 8px;
}
.item-carrinho .info { flex: 1; min-width: 0; }
.item-carrinho .nome { font-weight: 700; font-size: 14px; }
.item-carrinho .extra { color: var(--muted); font-size: 12px; margin-top: 2px; }
.item-carrinho .preco { font-weight: 800; font-size: 13.5px; color: var(--brand-2); margin-top: 2px; }
.item-carrinho .stepper { transform: scale(.82); transform-origin: right center; }
.upsell-card {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255, 176, 58, .06); border: 1.5px dashed rgba(255, 176, 58, .4);
  border-radius: 13px; padding: 12px 13px; margin: 12px 0 4px; font-size: 13.5px;
}
.upsell-card button {
  margin-left: auto; flex: none; border: none; cursor: pointer;
  background: var(--grad); color: #fff; font-weight: 800;
  border-radius: 10px; padding: 9px 13px; font-size: 13px; font-family: inherit;
}

.linha-total {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 16px; font-weight: 800; margin-top: 14px;
}

/* checkout */
.voltar { background: none; border: none; color: var(--muted); font-size: 14px; font-weight: 700; cursor: pointer; margin-bottom: 8px; font-family: inherit; }
.toggle { display: flex; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 4px; margin: 12px 0 16px; }
.toggle button {
  flex: 1; border: none; cursor: pointer; border-radius: 11px;
  padding: 11px; font-size: 14px; font-weight: 800; font-family: inherit;
  background: transparent; color: var(--muted);
}
.toggle button.ativo { background: var(--grad); color: #fff; box-shadow: 0 4px 12px rgba(255, 90, 46, .3); }

.campo-bairro { position: relative; }
.bairro-lista {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 5;
  background: var(--card-hi); border: 1.5px solid var(--line-hi); border-radius: 13px;
  max-height: 210px; overflow-y: auto; box-shadow: var(--sombra); margin-top: 4px;
}
.bairro-lista div { padding: 12px 14px; font-size: 14px; cursor: pointer; display: flex; justify-content: space-between; gap: 8px; }
.bairro-lista div:hover, .bairro-lista div.ativo { background: var(--line); }
.bairro-lista small { color: var(--brand-2); font-weight: 700; }

.pagamentos { display: flex; gap: 8px; }
.pagamentos button {
  flex: 1; border: 1.5px solid var(--line); background: var(--card); color: var(--muted);
  border-radius: 13px; padding: 13px 6px; font-size: 13.5px; font-weight: 700;
  font-family: inherit; cursor: pointer; transition: border-color .15s, color .15s;
}
.pagamentos button.ativo { border-color: var(--brand-2); background: var(--card-hi); color: var(--brand-2); }
#campo-troco { margin-top: 10px; }

.resumo { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin: 16px 0 4px; }
.resumo .linha { display: flex; justify-content: space-between; font-size: 14px; padding: 3px 0; color: var(--muted); }
.resumo .linha-total { color: var(--ink); font-size: 17px; margin-top: 6px; border-top: 1px dashed var(--line-hi); padding-top: 9px; }

.erro {
  background: rgba(255, 107, 94, .08); border: 1px solid rgba(255, 107, 94, .3);
  color: var(--erro); border-radius: 12px; padding: 11px 13px; font-size: 13.5px; margin-top: 10px;
}
.nota-seguranca { text-align: center; color: var(--muted); font-size: 12px; margin-top: 10px; }

/* confirmação */
.fim-check { font-size: 64px; text-align: center; margin-top: 12px; animation: pula .5s ease; }
@keyframes pula { 0% { transform: scale(.3); } 70% { transform: scale(1.15); } }
#passo-fim h2 { text-align: center; margin-top: 6px; }
.fim-sub { text-align: center; color: var(--muted); font-size: 14.5px; line-height: 1.5; margin: 8px 0 16px; }
.fim-resumo {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px; font-size: 13.5px; line-height: 1.6; white-space: pre-wrap; color: var(--muted);
}

/* desktop */
@media (min-width: 600px) {
  body { background-color: #0a0806; }
  .page {
    box-shadow: 0 0 0 1px var(--line), 0 0 80px rgba(255, 90, 46, .06);
    background: var(--bg);
  }
  .overlay { align-items: center; }
  .sheet { border-radius: 24px; max-height: 88vh; border-bottom: 1px solid var(--line); }
  .card:hover { transform: translateY(-2px); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
