/* Salmaris · site e loja.
   Linguagem: títulos condensados em caixa alta (Oswald), itálico serifado de apoio
   (Playfair Display), texto em Inter; botões retos; seções claras e escuras
   alternadas. Cores da marca: azul-marinho + laranja. */
:root {
  --navy: #081643;
  --navy-2: #13275f;
  --noite: #060d24;          /* seções escuras */
  --noite-2: #0c1638;
  --laranja: #EB6F30;
  --laranja-esc: #cf5a1e;
  --laranja-claro: #fdeee4;
  --verde: #16a34a;
  --vermelho: #dc2626;
  --bg: #f1eee9;             /* claro quente */
  --bg-2: #f7f5f1;
  --card: #ffffff;
  --linha: #e2ddd5;
  --linha-2: #cfc8bd;
  --texto: #0d1530;
  --suave: #5a6380;
  --fraco: #8d93a8;
  --claro-sobre-escuro: #aab4d0;
  --f-display: "Oswald", "Arial Narrow", sans-serif;
  --f-serif: "Playfair Display", Georgia, serif;
  --f: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sombra: 0 24px 50px -24px rgba(8, 22, 67, .35);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --caixa: 1240px;
  --topo: 76px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topo) + 70px); -webkit-text-size-adjust: 100%; }
body { font-family: var(--f); background: var(--bg); color: var(--texto); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
[hidden] { display: none !important; }
::selection { background: var(--laranja); color: #fff; }
:focus-visible { outline: 2px solid var(--laranja); outline-offset: 3px; }
.caixa { max-width: var(--caixa); margin: 0 auto; padding: 0 20px; }
@media (min-width: 900px) { .caixa { padding: 0 48px; } }

/* ── Tipografia ─────────────────────────────────────────── */
.display { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; line-height: .92; letter-spacing: -.01em; color: var(--navy); }
.display .ac { color: var(--laranja); }
.h2 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
.italico { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--navy-2); }
.rotulo-linhas { display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 11.5px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--fraco); }
.rotulo-linhas::before, .rotulo-linhas::after { content: ""; width: 44px; height: 1px; background: currentColor; opacity: .6; }
.rotulo { font-size: 11.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--laranja); }
.lead { color: var(--suave); font-size: 1.08rem; max-width: 560px; }

/* ── Botões (retos) ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 2px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-escuro { background: var(--navy); color: #fff; }
.btn-escuro:hover { background: var(--laranja); }
.btn-laranja { background: var(--laranja); color: #fff; }
.btn-laranja:hover { background: var(--laranja-esc); }
.btn-linha { border-color: var(--navy); color: var(--navy); }
.btn-linha:hover { background: var(--navy); color: #fff; }
.btn-linha-claro { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-linha-claro:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-whats { background: #25d366; color: #fff; }
.btn-whats:hover { background: #1fb855; }
.btn-texto { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); display: inline-flex; gap: 8px; align-items: center; }
.btn-texto:hover { color: var(--laranja); }
.btn-bloco { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ── Topo ───────────────────────────────────────────────── */
.topo { position: sticky; top: 0; z-index: 50; background: rgba(241, 238, 233, .88); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s; }
.topo.rolou { border-bottom-color: var(--linha); }
.topo-in { height: var(--topo); display: flex; align-items: center; gap: 24px; }
.marca { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.marca img { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 2px #fff; }
.marca span { font-family: var(--f-display); font-weight: 700; font-size: 24px; letter-spacing: .02em; text-transform: uppercase; color: var(--navy); }
.menu { display: none; gap: 36px; }
.menu a { position: relative; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--suave); padding: 8px 0; }
.menu a::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 5px; height: 5px; background: var(--laranja); transform: translateX(-50%) scale(0); transition: transform .25s var(--ease); }
.menu a:hover, .menu a[aria-current="page"] { color: var(--navy); }
.menu a:hover::after, .menu a[aria-current="page"]::after { transform: translateX(-50%) scale(1); }
@media (min-width: 960px) { .menu { display: flex; } }
.sacola-btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px; background: var(--navy); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; border-radius: 2px; transition: background .25s; }
.sacola-btn:hover { background: var(--laranja); }
.sacola-btn svg { width: 18px; height: 18px; }
.sacola-num { color: var(--laranja); font-variant-numeric: tabular-nums; }
.sacola-btn:hover .sacola-num { color: #fff; }
.sacola-rotulo { display: none; }
@media (min-width: 560px) { .sacola-rotulo { display: inline; } }

/* ── Hero ───────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 40px 0 72px; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 600px at 85% 30%, rgba(235, 111, 48, .12), transparent 70%); pointer-events: none; }
.hero-in { position: relative; display: grid; gap: 44px; align-items: center; }
.hero-titulo { font-size: clamp(3.6rem, 13vw, 8.6rem); }
.hero-titulo .linha { display: block; }
.hero-tag { display: inline-block; vertical-align: middle; margin-left: .18em; transform: translateY(-.12em); background: var(--laranja); color: #fff; font-family: var(--f); font-size: clamp(11px, 1.3vw, 14px); font-weight: 700; letter-spacing: .32em; padding: 7px 10px 7px 13px; line-height: 1; }
.hero-frase { font-size: clamp(1.25rem, 2.6vw, 1.6rem); margin: 22px 0 10px; }
.hero .lead { margin-bottom: 30px; }
.acoes { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--verde); margin-bottom: 22px; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(22, 163, 74, .18); }
.status.fechado { color: var(--vermelho); }
.status.fechado::before { box-shadow: 0 0 0 4px rgba(220, 38, 38, .15); }

/* Painéis fatiados (a foto do banner em tiras), mais delicados e sem ampliar demais */
.fatias { position: relative; width: 100%; max-width: 540px; margin: 0 auto; height: clamp(320px, 80vw, 480px); }
.fatia { position: absolute; background: var(--laranja-claro) center / cover no-repeat; border-radius: 10px; box-shadow: 0 22px 44px -26px rgba(8, 22, 67, .45); transition: transform .8s var(--ease); }
.fatia:nth-child(1) { left: 0;     width: 16%; top: 16%; height: 68%; }
.fatia:nth-child(2) { left: 17.5%; width: 19%; top: 7%;  height: 84%; }
.fatia:nth-child(3) { left: 38%;   width: 24%; top: 0;   height: 100%; }
.fatia:nth-child(4) { left: 63.5%; width: 19%; top: 7%;  height: 84%; }
.fatia:nth-child(5) { left: 84%;   width: 16%; top: 16%; height: 68%; }
.fatias:hover .fatia:nth-child(odd) { transform: translateY(-6px); }
.fatias:hover .fatia:nth-child(even) { transform: translateY(6px); }
.fatias.sem-foto .fatia { background-image: linear-gradient(160deg, #fdf0e6, #f3d6c1); }
.fatias.sem-foto .fatia:nth-child(3) { background: var(--card) url("/assets/img/salmaris-logo-224.webp") center / 70% auto no-repeat; }
@media (min-width: 960px) {
  .hero { padding: 56px 0 96px; }
  .hero-in { grid-template-columns: 1fr 1fr; gap: 40px; }
  .fatias { height: 500px; }
}

/* ── Seção escura (manifesto) ───────────────────────────── */
.escura { background: var(--noite); color: #fff; position: relative; overflow: hidden; }
.escura .display { color: #fff; }
.escura .lead { color: var(--claro-sobre-escuro); }
.manifesto { text-align: center; padding: 96px 0 88px; }
.manifesto .display { font-size: clamp(2.6rem, 7vw, 5rem); margin: 22px auto 22px; max-width: 900px; }
.manifesto .lead { margin: 0 auto; text-align: center; }
.manifesto .traco { width: 80px; height: 1px; background: var(--laranja); margin: 36px auto 0; }
.escura::before { content: ""; position: absolute; width: 700px; height: 700px; left: 50%; top: -420px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(235, 111, 48, .16), transparent); pointer-events: none; }

/* Setores (cards escuros com ícone, sem foto ampliada) */
.setores { display: grid; grid-template-columns: 1fr; gap: 1px; background: rgba(255, 255, 255, .08); border-top: 1px solid rgba(255, 255, 255, .08); }
.setor { background: var(--noite); padding: 34px 28px 32px; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; transition: background .35s var(--ease); }
.setor::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--laranja); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.setor:hover { background: var(--noite-2); }
.setor:hover::after { transform: scaleX(1); }
.setor-topo { display: flex; align-items: center; justify-content: space-between; }
.setor-ic { width: 44px; height: 44px; padding: 10px; border-radius: 50%; border: 1px solid rgba(235, 111, 48, .45); color: var(--laranja); }
.setor-num { font-size: 11px; font-weight: 700; letter-spacing: .26em; color: var(--claro-sobre-escuro); text-transform: uppercase; }
.setor-nome { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.9rem, 3vw, 2.4rem); line-height: 1; text-transform: uppercase; color: #fff; margin-top: 10px; }
.setor-texto { display: flex; flex-direction: column; gap: 14px; flex: 1; }
.setor-texto p { color: var(--claro-sobre-escuro); font-size: 15px; line-height: 1.55; flex: 1; }
.setor-texto a { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--laranja); }
.setor-texto a:hover { color: #fff; }
@media (min-width: 760px) { .setores { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .setores { grid-template-columns: repeat(4, 1fr); } .setor { padding: 40px 32px 36px; } }

/* Números */
.numeros { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255, 255, 255, .08); }
.numero { text-align: center; padding: 44px 16px; border-right: 1px solid rgba(255, 255, 255, .08); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.numero b { font-family: var(--f-display); font-weight: 700; font-size: clamp(3rem, 8vw, 5.2rem); line-height: 1; color: #fff; }
.numero b small { font-size: .4em; color: var(--laranja); margin-left: 6px; letter-spacing: .02em; }
.numero span { display: block; margin-top: 12px; font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--claro-sobre-escuro); }
@media (min-width: 900px) { .numeros { grid-template-columns: repeat(4, 1fr); } .numero { border-bottom: 0; } .numero:last-child { border-right: 0; } }

/* ── Seções claras ──────────────────────────────────────── */
.secao { padding: 88px 0; }
@media (min-width: 900px) { .secao { padding: 120px 0; } }
.cab { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 22px 40px; margin-bottom: 44px; }
.cab .lead { margin-top: 14px; }

/* ── Cards de produto ─────────────────────────────────────
   Vertical (destaques): foto em cima. Horizontal (lista): texto à esquerda,
   foto quadrada à direita. Brancos, cantos suaves, preço com desconto em verde. */
.grade { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.grade-h { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .grade-h { grid-template-columns: 1fr 1fr; } }

.prod { position: relative; display: flex; flex-direction: column; width: 100%; text-align: left; background: var(--card); border: 1px solid var(--linha); border-radius: 12px; padding: 10px; transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s; }
.prod:hover { box-shadow: 0 14px 34px -18px rgba(8, 22, 67, .35); transform: translateY(-2px); border-color: var(--linha-2); }
.prod-foto { position: relative; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: linear-gradient(140deg, #fdf0e6, #f6dcc8); flex: none; }
.prod-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.prod:hover .prod-foto img { transform: scale(1.04); }
.prod-foto.vazio { display: grid; place-items: center; }
.prod-foto.vazio img { width: 34%; height: auto; border-radius: 50%; box-shadow: 0 6px 18px -8px rgba(8, 22, 67, .35); }
.prod:hover .prod-foto.vazio img { transform: scale(1.05); }
.mais { position: absolute; right: 8px; bottom: 8px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--laranja); color: #fff; box-shadow: 0 6px 14px -6px rgba(235, 111, 48, .9); transition: transform .25s var(--ease), background .25s; }
.mais svg { width: 18px; height: 18px; }
.prod:hover .mais { transform: scale(1.08); background: var(--laranja-esc); }
.no-carrinho { position: absolute; left: 8px; top: 8px; z-index: 2; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 999px; display: grid; place-items: center; background: var(--navy); color: #fff; font-size: 12px; font-weight: 800; }
.prod-corpo { display: flex; flex-direction: column; gap: 6px; padding: 12px 6px 6px; flex: 1; min-width: 0; }
.tag { align-self: flex-start; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; background: #fdeee4; color: #b4501c; }
.tag.oferta { background: #e3f6e9; color: #15803d; }
.tag.combo { background: #e8ecf8; color: var(--navy-2); }
.prod-nome { font-weight: 800; font-size: 15px; line-height: 1.3; letter-spacing: .01em; text-transform: uppercase; color: var(--texto); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prod-desc { font-size: 13.5px; line-height: 1.45; color: var(--suave); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prod-preco { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-top: auto; padding-top: 10px; }
.preco { font-size: 16px; font-weight: 700; color: var(--texto); font-variant-numeric: tabular-nums; }
.preco.promo { color: #15803d; }
.preco-de { font-size: 13px; color: var(--fraco); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.desconto { font-size: 11.5px; font-weight: 800; color: #15803d; background: #e3f6e9; padding: 3px 7px; border-radius: 6px; }
.minimo { font-size: 12px; color: var(--suave); font-weight: 600; }

/* Horizontal */
.prod.h { flex-direction: row-reverse; align-items: stretch; gap: 14px; padding: 14px; }
.prod.h .prod-foto { width: 120px; aspect-ratio: 1; align-self: flex-start; }
.prod.h .prod-corpo { padding: 2px 0 0; }
.prod.h .prod-desc { -webkit-line-clamp: 3; }
@media (min-width: 900px) { .prod.h .prod-foto { width: 132px; } }

/* ── Citação (objetivo) ─────────────────────────────────── */
.citacao { padding: 96px 0; text-align: center; }
.citacao blockquote { font-family: var(--f); font-weight: 500; font-size: clamp(1.7rem, 4.2vw, 3.1rem); line-height: 1.18; letter-spacing: -.02em; color: #fff; max-width: 1000px; margin: 26px auto 0; }
.citacao blockquote em { font-style: normal; color: var(--laranja); }
.citacao cite { display: block; margin-top: 28px; font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--claro-sobre-escuro); }

/* Passos (cards escuros, estilo bento) */
.passos { list-style: none; display: grid; gap: 16px; counter-reset: p; }
.passo { background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .1); padding: 28px; counter-increment: p; display: flex; flex-direction: column; gap: 10px; }
.passo::before { content: "PASSO 0" counter(p); font-size: 11px; font-weight: 700; letter-spacing: .24em; color: var(--laranja); }
.passo h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.9rem; text-transform: uppercase; line-height: 1; color: #fff; }
.passo p { color: var(--claro-sobre-escuro); }
.passo-ic { width: 34px; height: 34px; color: var(--laranja); margin: 8px 0 10px; }
@media (min-width: 900px) { .passos { grid-template-columns: repeat(3, 1fr); } }

/* Chamada final */
.final { text-align: center; padding: 104px 0; background: var(--bg-2); }
.final .display { font-size: clamp(2.6rem, 7vw, 5rem); margin: 18px 0; }
.final .lead { margin: 0 auto 26px; }
.cats-texto { font-size: 12px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--navy-2); margin-bottom: 34px; }
.final .acoes { justify-content: center; }

/* Contato */
.contato { display: grid; gap: 28px; }
.infos { border-top: 2px solid var(--navy); }
.infos div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--linha); }
.infos dt { font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--fraco); padding-top: 3px; }
.infos dd { font-weight: 600; color: var(--navy); }
@media (min-width: 900px) { .contato { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } }

/* Rodapé */
.rodape { background: var(--noite); color: var(--claro-sobre-escuro); border-top: 3px solid var(--laranja); padding: 64px 0 110px; }
.rodape-grade { display: grid; gap: 36px; }
.rodape .marca span { color: #fff; }
.rodape p { margin-top: 14px; max-width: 360px; }
.rodape h4 { font-size: 11px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--laranja); margin-bottom: 16px; }
.rodape ul { list-style: none; display: grid; gap: 10px; }
.rodape li a:hover { color: #fff; }
.rodape-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; }
@media (min-width: 900px) { .rodape { padding-bottom: 56px; } .rodape-grade { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* Revelar ao rolar */
/* Só esconde quando há JavaScript; e nunca por mais de 2,5 s (inicio.js). */
.js .revela { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .revela.visivel, .tudo-visivel .revela { opacity: 1; transform: none; }

/* ── Loja (/cardapio/) ──────────────────────────────────── */
.loja-cab { background: var(--noite); color: #fff; padding: 44px 0 36px; position: relative; overflow: hidden; }
.loja-cab::before { content: ""; position: absolute; width: 640px; height: 640px; right: -200px; top: -360px; background: radial-gradient(closest-side, rgba(235, 111, 48, .22), transparent); }
.loja-cab .caixa { position: relative; display: grid; gap: 22px; }
.loja-cab .display { color: #fff; font-size: clamp(3rem, 9vw, 6rem); }
.loja-info { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--claro-sobre-escuro); }
.loja-info span { display: inline-flex; align-items: center; gap: 8px; }
.loja-info span::before { content: ""; width: 5px; height: 5px; background: var(--laranja); }
/* Barra fixa: busca + categorias (acompanham a rolagem) */
.cats { position: sticky; top: var(--topo); z-index: 40; background: rgba(241, 238, 233, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--linha); }
.cats-barra { display: flex; flex-direction: column; gap: 4px; padding-top: 10px; }
.busca { position: relative; }
.busca input { width: 100%; height: 44px; border-radius: 10px; border: 1px solid var(--linha-2); background: var(--card); color: var(--texto); padding: 0 14px 0 42px; font-size: 16px; outline: none; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.busca input::placeholder { color: var(--fraco); }
.busca input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(235, 111, 48, .2); }
.busca svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--fraco); pointer-events: none; }
.cats-in { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.cats-in::-webkit-scrollbar { display: none; }
@media (min-width: 900px) {
  .cats-barra { flex-direction: row-reverse; align-items: center; justify-content: space-between; gap: 28px; padding-top: 0; }
  .busca { flex: 0 0 340px; }
}
.cat { flex: none; position: relative; padding: 14px 0; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--suave); transition: color .2s; }
.cat::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--laranja); transform: scaleX(0); transition: transform .3s var(--ease); }
.cat:hover { color: var(--navy); }
.cat[aria-current="true"] { color: var(--navy); }
.cat[aria-current="true"]::after { transform: scaleX(1); }
.loja-corpo { display: grid; gap: 32px; padding-top: 40px; padding-bottom: 130px; align-items: start; }
.cat-secao { scroll-margin-top: calc(var(--topo) + 120px); }
.cat-secao + .cat-secao { margin-top: 60px; }
@media (min-width: 900px) { .cat-secao { scroll-margin-top: calc(var(--topo) + 72px); } }
.cat-titulo { font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 4vw, 2.8rem); text-transform: uppercase; line-height: 1; color: var(--navy); margin-bottom: 22px; display: flex; align-items: baseline; gap: 14px; }
.cat-titulo small { font-family: var(--f); font-size: 11px; font-weight: 700; letter-spacing: .22em; color: var(--fraco); }
.lista-vazia { text-align: center; color: var(--suave); padding: 56px 20px; border: 1px dashed var(--linha-2); }
.skel { aspect-ratio: 3 / 4.4; background: linear-gradient(90deg, #e7e2da 25%, #f3f0eb 50%, #e7e2da 75%); background-size: 200% 100%; animation: brilho 1.2s linear infinite; }
@keyframes brilho { to { background-position: -200% 0; } }
@media (min-width: 1100px) { .loja-corpo { grid-template-columns: minmax(0, 1fr) 360px; gap: 44px; padding-bottom: 80px; } }

/* Sacola (painel escuro) */
.sacola { background: var(--noite); color: #fff; display: flex; flex-direction: column; max-height: calc(100vh - var(--topo) - 100px); }
.sacola-lateral { display: none; position: sticky; top: calc(var(--topo) + 80px); border-top: 3px solid var(--laranja); }
@media (min-width: 1100px) { .sacola-lateral { display: flex; } }
.sacola-cab { padding: 22px 22px 16px; display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.sacola-cab h2 { font-family: var(--f-display); font-weight: 700; font-size: 1.7rem; text-transform: uppercase; line-height: 1; }
.sacola-cab span { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--laranja); }
.sacola-itens { overflow-y: auto; padding: 6px 22px; flex: 1; }
.sacola-vazia { text-align: center; color: var(--claro-sobre-escuro); padding: 40px 8px; font-size: 14px; }
.sacola-vazia span { display: block; font-family: var(--f-display); font-size: 1.4rem; text-transform: uppercase; color: #fff; margin-bottom: 6px; }
.s-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 16px 0; }
.s-item + .s-item { border-top: 1px solid rgba(255, 255, 255, .08); }
.s-nome { font-weight: 700; font-size: 14.5px; }
.s-extra { font-size: 12.5px; color: var(--claro-sobre-escuro); grid-column: 1 / -1; }
.s-preco { font-weight: 800; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.s-acoes { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.s-remover { margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--claro-sobre-escuro); }
.s-remover:hover { color: var(--laranja); }
.passo-qtd { display: inline-flex; align-items: center; border: 1px solid currentColor; height: 36px; opacity: .95; }
.passo-qtd button { width: 34px; height: 100%; font-size: 17px; font-weight: 700; }
.passo-qtd button:hover { color: var(--laranja); }
.passo-qtd input { width: 46px; text-align: center; border: 0; font-weight: 700; font-size: 15px; background: transparent; outline: none; -moz-appearance: textfield; }
.passo-qtd input::-webkit-outer-spin-button, .passo-qtd input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.passo-qtd.g { height: 52px; color: var(--navy); }
.passo-qtd.g button { width: 46px; }
.sacola-pe { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 22px 22px; display: grid; gap: 14px; }
.linha-total { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; }
.linha-total.forte { font-family: var(--f-display); font-size: 1.5rem; font-weight: 600; text-transform: uppercase; }
.aviso { font-size: 13px; font-weight: 600; color: var(--laranja); }

/* Barra fixa (celular) */
.barra-sacola { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--noite); color: #fff; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 3px solid var(--laranja); transform: translateY(110%); transition: transform .4s var(--ease); }
.barra-sacola.ativa { transform: none; }
.barra-sacola strong { display: block; font-family: var(--f-display); font-size: 1.4rem; font-weight: 600; line-height: 1.1; }
.barra-sacola small { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--claro-sobre-escuro); }
@media (min-width: 1100px) { .barra-sacola { display: none; } }

/* Diálogos */
dialog.janela { border: 0; padding: 0; margin: auto auto 0; width: 100%; max-width: 100%; max-height: 94dvh; background: var(--bg-2); color: var(--texto); overflow: hidden; }
dialog.janela[open] { display: flex; flex-direction: column; animation: sobe .4s var(--ease); }
dialog.janela::backdrop { background: rgba(6, 13, 36, .66); backdrop-filter: blur(3px); }
@keyframes sobe { from { transform: translateY(48px); opacity: 0; } }
@media (min-width: 720px) { dialog.janela { margin: auto; max-width: 600px; max-height: 90vh; } }
dialog.janela.escuro { background: var(--noite); color: #fff; }
.j-cab { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--linha); }
.escuro .j-cab { border-color: rgba(255, 255, 255, .1); }
.j-cab h2 { font-size: 11.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--laranja); }
.fechar { width: 40px; height: 40px; display: grid; place-items: center; font-size: 24px; line-height: 1; color: var(--suave); border: 1px solid var(--linha); }
.escuro .fechar { color: #fff; border-color: rgba(255, 255, 255, .2); }
.fechar:hover { border-color: var(--laranja); color: var(--laranja); }
.j-corpo { overflow-y: auto; padding: 22px; flex: 1; display: grid; gap: 20px; align-content: start; }
.j-pe { padding: 14px 22px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--linha); background: var(--card); display: flex; gap: 12px; align-items: center; }
.escuro .j-pe { background: var(--noite-2); border-color: rgba(255, 255, 255, .1); }
.j-pe .btn { flex: 1; }
.det-foto { aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(165deg, var(--navy-2), var(--noite)); display: grid; place-items: center; }
.det-foto img { width: 100%; height: 100%; object-fit: cover; }
.det-foto.vazio img { width: 30%; height: auto; border-radius: 50%; }
.det-nome { font-family: var(--f-display); font-weight: 700; font-size: 2.2rem; line-height: 1; text-transform: uppercase; color: var(--navy); }
.det-desc { color: var(--suave); }
.grupo { background: var(--card); border: 1px solid var(--linha); }
.grupo-cab { padding: 12px 16px; display: flex; justify-content: space-between; gap: 10px; align-items: center; border-bottom: 1px solid var(--linha); }
.grupo-cab strong { font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; text-transform: uppercase; color: var(--navy); }
.grupo-cab span { font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--suave); }
.grupo-cab span.obrig { color: #fff; background: var(--laranja); padding: 4px 8px; }
.opcao { display: flex; align-items: center; gap: 12px; padding: 13px 16px; cursor: pointer; }
.opcao + .opcao { border-top: 1px solid var(--linha); }
.opcao input { width: 19px; height: 19px; accent-color: var(--laranja); flex: none; }
.opcao span { flex: 1; font-weight: 600; }
.opcao small { color: var(--suave); font-weight: 700; }
.opcao-qtd { display: flex; align-items: center; gap: 12px; padding: 10px 16px; }
.opcao-qtd + .opcao-qtd { border-top: 1px solid var(--linha); }
.opcao-qtd span { flex: 1; font-weight: 600; }
.opcao-qtd .passo-qtd { color: var(--navy); }

/* Formulário */
.campo { display: grid; gap: 7px; }
.campo label, .legenda { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--navy); }
.campo input, .campo textarea { width: 100%; min-height: 50px; border-radius: 2px; border: 1px solid var(--linha-2); background: var(--card); padding: 12px 14px; font-size: 16px; outline: none; transition: border-color .2s, box-shadow .2s; }
.campo textarea { min-height: 84px; resize: vertical; }
.campo input:focus, .campo textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(235, 111, 48, .25); }
.campo .erro { font-size: 12.5px; color: var(--vermelho); font-weight: 600; }
.campo [aria-invalid="true"] { border-color: var(--vermelho); }
.duas { display: grid; gap: 16px; }
@media (min-width: 560px) { .duas { grid-template-columns: 1fr 1fr; } }
.escolhas { display: grid; grid-template-columns: repeat(auto-fit, minmax(88px, 1fr)); gap: 8px; }
.escolha { position: relative; }
.escolha input { position: absolute; opacity: 0; inset: 0; }
.escolha span { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 50px; border: 1px solid var(--linha-2); background: var(--card); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--suave); text-align: center; padding: 0 10px; transition: all .2s; }
.escolha input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; }
.escolha input:focus-visible + span { outline: 2px solid var(--laranja); outline-offset: 2px; }
.resumo { border-top: 2px solid var(--navy); padding-top: 12px; display: grid; gap: 8px; }
.resumo .linha-total { font-size: 14.5px; color: var(--suave); }
.resumo .linha-total.forte { color: var(--navy); border-top: 1px solid var(--linha); padding-top: 10px; }
.resumo small { color: var(--suave); }
.erro-geral { background: #fdecec; color: var(--vermelho); padding: 12px 14px; font-weight: 600; font-size: 14px; border-left: 3px solid var(--vermelho); }
.isca { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Confirmação */
.ok { text-align: center; display: grid; gap: 12px; justify-items: center; }
.ok .display { color: #fff; font-size: 2.8rem; }
.ok p { color: var(--claro-sobre-escuro); }
.codigo { font-family: var(--f-display); font-size: 3rem; font-weight: 700; letter-spacing: .16em; color: var(--laranja); border: 1px solid rgba(235, 111, 48, .5); padding: 6px 22px; line-height: 1.2; }
.escuro .resumo { border-color: var(--laranja); }
.escuro .resumo .linha-total { color: var(--claro-sobre-escuro); }
.escuro .resumo .linha-total.forte { color: #fff; border-color: rgba(255, 255, 255, .1); }
.escuro .resumo small { color: var(--claro-sobre-escuro); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .revela { opacity: 1; transform: none; }
}
@media (min-width: 900px) { .grade.g3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 559px) { .grade.g3 { grid-template-columns: 1fr; } }

/* Celular: setores empilhados e cards mais baixos */
@media (max-width: 759px) {
}

/* Celular: destaques também no formato deitado (mais compacto) */
@media (max-width: 559px) {
  .grade { gap: 12px; }
  .grade .prod { flex-direction: row-reverse; align-items: stretch; gap: 14px; padding: 12px; }
  .grade .prod .prod-foto { width: 112px; aspect-ratio: 1; align-self: flex-start; }
  .grade .prod .prod-corpo { padding: 2px 0 0; }
  .grade .prod .prod-desc { -webkit-line-clamp: 3; }
}
.sacola-lateral { border-radius: 12px; overflow: hidden; }

/* ── Janelas no celular: tela cheia que acompanha teclado e barras do navegador.
   --vv-h / --vv-top vêm do visualViewport (cardapio.js). ── */
.j-corpo, .sacola-itens { min-height: 0; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
html.travado, html.travado body { overflow: hidden; }
@media (max-width: 719px) {
  dialog.janela {
    position: fixed; margin: 0; left: 0; right: 0; bottom: auto;
    top: var(--vv-top, 0px);
    width: 100%; max-width: 100%;
    height: 100vh; height: 100dvh; height: var(--vv-h, 100dvh);
    max-height: none; border-radius: 0;
  }
  dialog.janela[open] { animation: none; }
  .j-cab { flex: none; padding: 12px 16px; }
  .j-corpo { padding: 18px 16px 24px; }
  .j-pe { flex: none; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
  #dlgSacola .sacola-pe { flex: none; padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
}

/* ── Sacola com foto + checkout em 3 etapas (regras do Precifood) ── */
.s-item { display: flex; gap: 12px; padding: 14px 0; align-items: flex-start; }
.s-foto { width: 58px; height: 58px; flex: none; border-radius: 10px; overflow: hidden; background: linear-gradient(140deg, #fdf0e6, #f6dcc8); display: grid; place-items: center; }
.s-foto img { width: 100%; height: 100%; object-fit: cover; }
.s-foto.vazio img { width: 62%; height: auto; border-radius: 50%; }
.s-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.s-topo { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.s-nome { font-weight: 700; font-size: 14.5px; line-height: 1.3; }
.s-preco { font-weight: 800; font-size: 14.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.s-extra { font-size: 12.5px; color: var(--claro-sobre-escuro); }
.s-acoes { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
dialog.janela:not(.escuro) .s-extra { color: var(--suave); }
dialog.janela:not(.escuro) .s-item + .s-item { border-top: 1px solid var(--linha); }
dialog.janela:not(.escuro) .s-remover { color: var(--fraco); }
dialog.janela:not(.escuro) .passo-qtd { color: var(--navy); }
dialog.janela:not(.escuro) .sacola-vazia { color: var(--suave); }
dialog.janela:not(.escuro) .sacola-vazia span { color: var(--navy); }
.pd-total1 { margin-top: 14px; padding-top: 14px; border-top: 2px solid var(--navy); color: var(--navy); }
#pdVoltar { font-size: 20px; }
#pdTitulo { margin-right: auto; }

.pd-telefone { text-align: center; display: grid; gap: 10px; justify-items: center; padding: 18px 0 6px; }
.pd-tel-ic { width: 56px; height: 56px; padding: 13px; border-radius: 50%; background: var(--laranja-claro); color: var(--laranja); }
.pd-telefone .display { font-size: 2.2rem; }
.pd-telefone p { color: var(--suave); max-width: 320px; }
.pd-telefone .campo { width: 100%; max-width: 340px; }
.pd-telefone input { text-align: center; font-size: 20px !important; letter-spacing: .04em; }
.pd-aviso { font-size: 13.5px; font-weight: 600; color: var(--suave); }
.pd-aviso.erro { color: var(--vermelho); }

.pd-boas { background: var(--verde-claro, #e3f6e9); color: #15803d; font-weight: 700; padding: 12px 14px; border-radius: 10px; margin-bottom: 18px; }
#formPedido { display: grid; gap: 22px; }
.pd-secao { border: 0; display: grid; gap: 12px; }
.pd-secao .legenda { margin-bottom: 2px; }
.duas-col { grid-template-columns: 1fr 1fr; }
.duas-col .escolha span { text-transform: none; letter-spacing: 0; font-size: 13.5px; line-height: 1.25; padding: 8px 10px; }
.pd-linha { display: flex; gap: 12px; }
.pd-f1 { flex: 1; min-width: 0; }
.pd-f3 { flex: 3; min-width: 0; }
.opcional { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--fraco); }
.pd-end-salvo { background: var(--card); border: 1px solid var(--linha); border-left: 3px solid var(--laranja); border-radius: 10px; padding: 14px 16px; display: grid; gap: 4px; }
.pd-end-salvo p { font-weight: 600; color: var(--navy); }
.pd-end-salvo .btn-texto { justify-self: start; margin-top: 4px; font-size: 12px; color: var(--laranja); }
.linha-cupom { display: flex; gap: 8px; }
.linha-cupom input { flex: 1; min-width: 0; height: 50px; border-radius: 2px; border: 1px solid var(--linha-2); background: var(--card); padding: 0 14px; font-size: 16px; outline: none; text-transform: uppercase; }
.linha-cupom input[type="email"], .linha-cupom .codigo-6 { text-transform: none; }
.linha-cupom input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(235, 111, 48, .2); }
.linha-cupom .btn { flex: none; padding: 0 18px; }
.codigo-6 { letter-spacing: 6px; text-align: center; }
.cupom-aviso { font-size: 13.5px; font-weight: 600; color: var(--suave); min-height: 0; }
.cupom-aviso:empty { display: none; }
.cupom-aviso.ok { color: #15803d; }
.cupom-aviso.erro { color: var(--vermelho); }
.pd-verifica { background: var(--card); border: 1px solid var(--linha); border-radius: 10px; padding: 14px; display: grid; gap: 10px; }
.verifica-tit { font-weight: 600; color: var(--navy); }
.verifica-dica { font-size: 13px; color: var(--suave); }
.desconto-linha { color: #15803d !important; }
#dlgPedido .j-pe .btn { flex: 1; }
#okCodigoBox { display: grid; gap: 8px; justify-items: center; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
fieldset { min-width: 0; }
.j-corpo { overflow-x: hidden; }
.pd-secao > .legenda { font-family: var(--f-display); font-size: 1.35rem; font-weight: 600; letter-spacing: .01em; color: var(--navy); }

/* ── Acompanhar pedido ── */
.acomp-cab { background: var(--noite); color: #fff; padding: 44px 0 90px; position: relative; overflow: hidden; }
.acomp-cab::before { content: ""; position: absolute; width: 560px; height: 560px; right: -180px; top: -320px; background: radial-gradient(closest-side, rgba(235, 111, 48, .22), transparent); }
.acomp-cab .caixa { position: relative; }
.acomp-cab .display { color: #fff; font-size: clamp(2.8rem, 9vw, 4.6rem); margin-top: 8px; }
.acomp-num { margin-top: 10px; font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--claro-sobre-escuro); }
.acomp-corpo { margin-top: -64px; padding-bottom: 80px; position: relative; }
.acomp-cartao { max-width: 560px; background: var(--card); border: 1px solid var(--linha); border-radius: 14px; box-shadow: var(--sombra); padding: 22px; display: grid; gap: 20px; }
.acomp-carregando { color: var(--suave); text-align: center; padding: 30px 0; }
.acomp-status { background: var(--laranja-claro); border: 1px solid rgba(235, 111, 48, .3); border-radius: 12px; padding: 16px 18px; display: grid; gap: 4px; color: var(--suave); }
.acomp-status-tit { font-family: var(--f-display); font-weight: 600; font-size: 1.7rem; text-transform: uppercase; line-height: 1.05; color: var(--laranja-esc); }
.acomp-conf { background: var(--navy); color: #fff; border-radius: 12px; padding: 18px; display: grid; gap: 4px; justify-items: center; text-align: center; font-size: 13px; }
.acomp-conf-num { font-family: var(--f-display); font-size: 2.6rem; font-weight: 700; letter-spacing: .3em; color: var(--laranja); line-height: 1.1; }
.acomp-linha { list-style: none; display: grid; }
.acomp-linha li { display: flex; gap: 14px; align-items: flex-start; position: relative; padding-bottom: 20px; color: var(--fraco); font-weight: 500; }
.acomp-linha li:not(:last-child)::before { content: ""; position: absolute; left: 12px; top: 26px; bottom: 0; width: 2px; background: var(--linha); }
.acomp-linha li.feito:not(:last-child)::before { background: var(--laranja); }
.acomp-bola { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: var(--linha); color: var(--suave); position: relative; z-index: 1; }
.acomp-linha li.feito .acomp-bola { background: var(--laranja); color: #fff; }
.acomp-linha li.atual .acomp-bola { box-shadow: 0 0 0 5px rgba(235, 111, 48, .2); }
.acomp-linha li.feito .acomp-et { color: var(--navy); font-weight: 700; }
.acomp-et { padding-top: 3px; }
.acomp-itens { border-top: 1px solid var(--linha); padding-top: 14px; display: grid; gap: 6px; }
.acomp-itens .linha-total { font-size: 14.5px; color: var(--texto); font-weight: 500; }
.acomp-itens .linha-total.forte { font-size: 1.3rem; border-top: 1px solid var(--linha); padding-top: 10px; margin-top: 4px; color: var(--navy); }
.acomp-vazio { text-align: center; display: grid; gap: 10px; justify-items: center; padding: 20px 0; }
.acomp-vazio .display { font-size: 2rem; }
.acomp-vazio p { color: var(--suave); }
.acomp-rodape { max-width: 560px; text-align: center; color: var(--fraco); font-size: 12.5px; margin-top: 14px; }

/* ── Promoções ── */
.cat-promo { color: var(--laranja) !important; }
.promo-lista { gap: 12px; }
.promo-item { display: flex; gap: 14px; align-items: stretch; width: 100%; text-align: left; background: var(--card); border: 1px solid var(--linha); border-radius: 12px; padding: 14px; transition: border-color .2s, box-shadow .2s; }
.promo-item:hover { border-color: var(--laranja); box-shadow: 0 10px 24px -16px rgba(8, 22, 67, .35); }
.promo-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.promo-item .prod-foto { width: 96px; aspect-ratio: 1; flex: none; align-self: flex-start; }
.prod.piscar { animation: piscar 1.4s var(--ease); }
@keyframes piscar { 0%, 100% { box-shadow: none; } 20%, 60% { box-shadow: 0 0 0 3px var(--laranja); } }
.ultimo-pedido { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 10px; font-size: 13.5px; font-weight: 700; color: #fff; }
.ultimo-pedido:hover { border-color: var(--laranja); color: var(--laranja); }
@media (max-width: 719px) { #dlgPromo { top: auto; bottom: 0; height: auto; max-height: calc(var(--vv-h, 100dvh) - 48px); border-radius: 16px 16px 0 0; } #dlgPromo .j-corpo { padding-bottom: calc(24px + env(safe-area-inset-bottom)); } }

/* ── Menu do celular, etiquetas e Meus pedidos ── */
.menu-btn { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--linha-2); border-radius: 2px; color: var(--navy); }
.menu-btn svg { width: 22px; height: 22px; }
@media (min-width: 960px) { .menu-btn { display: none; } }
.menu-lista { display: grid; padding: 8px 22px 24px; }
.menu-lista a { font-family: var(--f-display); font-weight: 600; font-size: 1.9rem; text-transform: uppercase; color: var(--navy); padding: 14px 0; border-bottom: 1px solid var(--linha); }
.menu-lista a[aria-current="page"] { color: var(--laranja); }
@media (max-width: 719px) { #dlgMenu { top: 0; height: auto; max-height: var(--vv-h, 100dvh); } }
.topo-in { gap: 12px; }
@media (min-width: 960px) { .topo-in { gap: 24px; } }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.meus-pedidos { display: grid; gap: 10px; }
.meu-pedido { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--linha); border-radius: 12px; transition: border-color .2s; }
.meu-pedido:hover { border-color: var(--laranja); }
.meu-pedido strong { display: block; color: var(--navy); }
.meu-pedido small { color: var(--suave); }
.meu-pedido-ir { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--laranja); white-space: nowrap; }

/* Meus pedidos pelo WhatsApp */
.busca-pedidos { display: grid; gap: 12px; text-align: center; justify-items: center; padding: 8px 0; }
.busca-pedidos .display { font-size: 2rem; }
.busca-pedidos p { color: var(--suave); max-width: 360px; }
.busca-pedidos .campo { width: 100%; max-width: 340px; }
.busca-pedidos input { text-align: center; font-size: 18px !important; }
.busca-pedidos .btn { max-width: 340px; }
.meus-cab { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.meus-cab .display { font-size: 1.8rem; }
.meus-cab > span:last-child { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--suave); }
.meu-pedido { align-items: flex-start; }
.meu-pedido-info { display: grid; gap: 2px; min-width: 0; }
.meu-pedido-itens { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.meu-pedido-dir { display: grid; justify-items: end; gap: 4px; flex: none; }
.meu-pedido-dir b { color: var(--navy); }
.meus-outro { justify-self: center; margin-top: 4px; color: var(--laranja); font-size: 12px; }

/* ── Acompanhar: animações ─────────────────────────────── */
.acomp-status { display: flex; align-items: center; gap: 16px; }
.acomp-status-txt { display: grid; gap: 4px; min-width: 0; }
.acomp-status.mudou { animation: mudou 1.2s var(--ease); }
@keyframes mudou { 0% { transform: scale(.96); box-shadow: 0 0 0 0 rgba(235, 111, 48, .5); } 40% { transform: scale(1.02); box-shadow: 0 0 0 10px rgba(235, 111, 48, 0); } 100% { transform: none; } }

.cena { position: relative; width: 84px; height: 84px; flex: none; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; box-shadow: inset 0 0 0 2px rgba(235, 111, 48, .25); }
.cena-ic { font-size: 40px; line-height: 1; position: relative; z-index: 2; }

/* recebido: ondas saindo do recibo */
.cena-recebido .cena-ic { animation: quica 1.8s ease-in-out infinite; }
.onda { position: absolute; inset: 18px; border-radius: 50%; border: 2px solid var(--laranja); opacity: 0; animation: onda 2.2s ease-out infinite; }
.onda.o2 { animation-delay: 1.1s; }
@keyframes onda { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes quica { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* produção: frigideira mexendo + vapor */
.cena-producao .cena-ic { animation: mexe 1.1s ease-in-out infinite; transform-origin: 70% 70%; }
@keyframes mexe { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg) translateY(-2px); } }
.vapor { position: absolute; top: 10px; left: 50%; width: 40px; height: 34px; transform: translateX(-50%); z-index: 1; }
.vapor i { position: absolute; bottom: 0; width: 8px; height: 8px; border-radius: 50%; background: rgba(90, 99, 128, .35); animation: vapor 1.8s ease-in infinite; }
.vapor i:nth-child(1) { left: 4px; }
.vapor i:nth-child(2) { left: 16px; animation-delay: .6s; }
.vapor i:nth-child(3) { left: 28px; animation-delay: 1.2s; }
@keyframes vapor { 0% { transform: translateY(14px) scale(.6); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(-14px) scale(1.4); opacity: 0; } }

/* saiu para entrega: moto andando na estrada */
.cena-entrega .cena-ic { animation: anda 1.6s ease-in-out infinite; }
@keyframes anda { 0%, 100% { transform: translateX(-6px) rotate(-2deg); } 50% { transform: translateX(6px) rotate(2deg); } }
.estrada { position: absolute; left: 0; right: 0; bottom: 18px; height: 3px; background: repeating-linear-gradient(90deg, var(--laranja) 0 10px, transparent 10px 18px); background-size: 36px 3px; animation: estrada .6s linear infinite; opacity: .6; }
@keyframes estrada { to { background-position: -36px 0; } }

/* pronto para retirada: sacola pulando + brilhos */
.cena-retirada .cena-ic { animation: pula 1.2s cubic-bezier(.3, 1.6, .5, 1) infinite; }
@keyframes pula { 0%, 100% { transform: translateY(0) scale(1); } 40% { transform: translateY(-8px) scale(1.05); } }
.brilho { position: absolute; font-size: 14px; animation: brilho 1.6s ease-in-out infinite; }
.brilho.b1 { top: 14px; left: 14px; }
.brilho.b2 { bottom: 14px; right: 14px; animation-delay: .8s; }
@keyframes brilho { 0%, 100% { opacity: 0; transform: scale(.5); } 50% { opacity: 1; transform: scale(1.1); } }

/* entregue: confete */
.cena-fim .cena-ic { animation: entrega 3s ease-in-out infinite; }
@keyframes entrega { 0%, 100% { transform: scale(1); } 10% { transform: scale(1.15); } 20% { transform: scale(1); } }
.confete { position: absolute; inset: 0; }
.confete i { position: absolute; top: -8px; width: 6px; height: 10px; border-radius: 2px; background: var(--laranja); animation: confete 2.4s linear infinite; }
.confete i:nth-child(odd) { background: var(--navy); }
.confete i:nth-child(3n) { background: #16a34a; }
.confete i:nth-child(1) { left: 10%; animation-delay: 0s; }
.confete i:nth-child(2) { left: 22%; animation-delay: .4s; }
.confete i:nth-child(3) { left: 34%; animation-delay: .9s; }
.confete i:nth-child(4) { left: 46%; animation-delay: .2s; }
.confete i:nth-child(5) { left: 58%; animation-delay: 1.1s; }
.confete i:nth-child(6) { left: 70%; animation-delay: .6s; }
.confete i:nth-child(7) { left: 82%; animation-delay: 1.4s; }
.confete i:nth-child(8) { left: 90%; animation-delay: .8s; }
@keyframes confete { 0% { transform: translateY(0) rotate(0); opacity: 1; } 100% { transform: translateY(100px) rotate(360deg); opacity: 0; } }

/* linha do tempo viva */
.acomp-linha li { animation: entra .5s var(--ease) both; animation-delay: calc(var(--i) * 90ms); }
@keyframes entra { from { opacity: 0; transform: translateX(-8px); } }
.acomp-linha li.atual .acomp-bola { animation: bola 1.6s ease-in-out infinite; }
@keyframes bola { 0%, 100% { box-shadow: 0 0 0 0 rgba(235, 111, 48, .45); } 50% { box-shadow: 0 0 0 9px rgba(235, 111, 48, 0); } }
.acomp-linha li.atual:not(:last-child)::before { background: repeating-linear-gradient(180deg, var(--laranja) 0 6px, transparent 6px 12px); background-size: 2px 24px; animation: tracos .8s linear infinite; }
@keyframes tracos { to { background-position: 0 24px; } }
.agora { font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--laranja); padding: 2px 7px; border-radius: 999px; margin-left: 6px; vertical-align: 2px; animation: piscaAgora 1.6s ease-in-out infinite; }
@keyframes piscaAgora { 50% { opacity: .55; } }

/* contador da próxima atualização */
.acomp-atualiza { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 10px; font-size: 12.5px; color: var(--suave); background: var(--bg-2); border-radius: 10px; padding: 10px 12px; }
.pulso { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; animation: bola-verde 1.6s ease-in-out infinite; }
@keyframes bola-verde { 0%, 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .5); } 50% { box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); } }
.acomp-barra { grid-column: 1 / -1; height: 3px; border-radius: 3px; background: var(--linha); overflow: hidden; }
.acomp-barra i { display: block; height: 100%; background: var(--laranja); transform-origin: left; animation: esvazia 20s linear forwards; }
@keyframes esvazia { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.acomp-barra.buscando i { animation: buscando 1s ease-in-out infinite; transform-origin: center; }
@keyframes buscando { 0%, 100% { transform: scaleX(.2) translateX(-200%); } 50% { transform: scaleX(.4) translateX(150%); } }

/* esqueleto enquanto carrega */
.acomp-esqueleto { display: grid; gap: 12px; }
.sk { display: block; border-radius: 10px; background: linear-gradient(90deg, #eee8e0 25%, #f7f3ee 50%, #eee8e0 75%); background-size: 200% 100%; animation: brilho-sk 1.2s linear infinite; height: 18px; }
.sk-status { height: 110px; border-radius: 12px; }
.sk.curta { width: 60%; }
@keyframes brilho-sk { to { background-position: -200% 0; } }

@media (max-width: 420px) { .cena { width: 70px; height: 70px; } .cena-ic { font-size: 34px; } }

/* Aguardando motoboy + nome de quem pegou */
.cena-aguardando .cena-ic { animation: ampulheta 2.4s ease-in-out infinite; }
@keyframes ampulheta { 0%, 40% { transform: rotate(0); } 50%, 90% { transform: rotate(180deg); } 100% { transform: rotate(360deg); } }
.pontos { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 4px; }
.pontos i { width: 5px; height: 5px; border-radius: 50%; background: var(--laranja); animation: ponto 1.2s ease-in-out infinite; }
.pontos i:nth-child(2) { animation-delay: .2s; }
.pontos i:nth-child(3) { animation-delay: .4s; }
@keyframes ponto { 0%, 100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.motoboy { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; justify-self: start; background: #fff; border: 1px solid rgba(235, 111, 48, .35); border-radius: 999px; padding: 4px 12px 4px 6px; font-size: 13px; color: var(--navy); }
.motoboy-ic { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--laranja-claro); font-size: 13px; }
