/* ════════════════════════════════════════════════════════════════
   DISK PEPSI PIZZA — sistema de pedidos
   Identidade própria da pizzaria (tirada do logo): vinho escuro, laranja queimado,
   dourado e creme. Títulos em Baloo 2, texto em Nunito.
   Celular primeiro; a partir de 1024px vira layout de computador (sacola fixa na lateral).
   ════════════════════════════════════════════════════════════════ */

:root {
  --vinho: #3a0b07;
  --vinho-2: #55120c;
  --vinho-3: #7a1e12;
  --laranja: #c2410c;      /* ação principal (contraste 5,2:1 com branco) */
  --laranja-2: #e2570f;    /* detalhes, ícones */
  --laranja-escuro: #9a3209;
  --vermelho: #c81e0c;
  --dourado: #efa93b;
  --creme: #fff8ef;
  --creme-2: #f7ebdd;
  --creme-3: #efdcc6;
  --branco: #ffffff;
  --texto: #2a130e;
  --texto-2: #6e5148;
  --texto-3: #86685e;
  --linha: #eadccd;
  --linha-2: #f2e7da;
  --verde: #1e7f45;
  --verde-o: #e3f3e9;
  --vermelho-o: #fbe5e1;
  --whats: #128c7e;

  --fonte: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --fonte-titulo: 'Baloo 2', 'Nunito', system-ui, sans-serif;

  --cab-h: 60px;
  --cats-h: 58px;
  --nav-h: 64px;
  --sacbar-h: 68px;
  --larg: 1200px;
  --pad: 16px;
  --raio: 16px;
  --sombra-1: 0 1px 2px rgba(58, 11, 7, 0.06), 0 2px 8px rgba(58, 11, 7, 0.05);
  --sombra-2: 0 10px 30px rgba(58, 11, 7, 0.16);
  --sombra-3: 0 18px 50px rgba(26, 6, 4, 0.32);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}
@media (min-width: 1024px) {
  :root { --cab-h: 72px; --cats-h: 64px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; background: var(--creme); scroll-padding-top: calc(var(--cab-h) + var(--cats-h)); }
body {
  margin: 0;
  font-family: var(--fonte);
  font-size: 15px;
  line-height: 1.5;
  color: var(--texto);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, p { margin: 0; font-weight: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.i { width: 1em; height: 1em; display: block; flex-shrink: 0; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
:focus-visible { outline: 3px solid var(--laranja-2); outline-offset: 2px; border-radius: 6px; }
.pular { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; background: var(--branco); color: var(--vinho); font-weight: 800; border-radius: 10px; box-shadow: var(--sombra-2); }
.pular:focus { top: 12px; }

.so-desk { display: none !important; }
@media (min-width: 1024px) {
  .so-desk { display: flex !important; }
  .so-mobile { display: none !important; }
}

body.app { padding-bottom: calc(var(--nav-h) + var(--safe-b)); }
body.app.com-sacola { padding-bottom: calc(var(--nav-h) + var(--sacbar-h) + var(--safe-b)); }
body.travado { overflow: hidden; }
@media (min-width: 1024px) {
  body.app, body.app.com-sacola { padding-bottom: 0; }
}

/* ─────────────── cabeçalho (vinho) ─────────────── */
.cab { position: sticky; top: 0; z-index: 30; background: var(--vinho); color: var(--creme); box-shadow: 0 2px 12px rgba(26, 6, 4, 0.25); }
.cab__in {
  max-width: var(--larg); margin: 0 auto;
  height: var(--cab-h);
  padding: 0 12px;
  display: flex; align-items: center; gap: 10px;
}
.cab__marca { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.cab__marca img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--dourado); background: var(--vinho-2); }
.cab__marca span { font-family: var(--fonte-titulo); font-size: 20px; font-weight: 800; line-height: 1; color: var(--branco); white-space: nowrap; }
.chip-end {
  flex: 1 1 auto; min-width: 0;
  display: flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  color: var(--creme);
  text-align: left;
  transition: background 0.15s;
}
.chip-end:hover { background: rgba(255, 255, 255, 0.16); }
.chip-end__pin { width: 18px; height: 18px; color: var(--dourado); }
.chip-end__txt { flex: 1; min-width: 0; font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip-end__chev { width: 16px; height: 16px; opacity: 0.75; }
.chip-end.preenchido { background: rgba(239, 169, 59, 0.16); border-color: rgba(239, 169, 59, 0.45); }
.cab__dir { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.cab__lupa {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--laranja); color: var(--branco);
}
.cab__lupa .i { width: 20px; height: 20px; }
.cab__lupa:active { transform: scale(0.95); }
.busca-desk {
  align-items: center; gap: 10px;
  width: 300px; height: 44px; padding: 0 14px;
  background: var(--branco); border-radius: 12px; color: var(--texto-3);
}
.busca-desk .i { width: 18px; height: 18px; }
.busca-desk input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 15px; color: var(--texto); }
.busca-desk input::placeholder { color: var(--texto-3); }
.busca-desk input::-webkit-search-cancel-button { display: none; }
.busca-desk:focus-within { box-shadow: 0 0 0 3px rgba(239, 169, 59, 0.6); }
.btn-cupons {
  align-items: center; gap: 8px;
  height: 44px; padding: 0 16px;
  border: 1.5px solid var(--dourado); border-radius: 12px;
  color: var(--dourado); font-size: 14px; font-weight: 800;
}
.btn-cupons .i { width: 18px; height: 18px; }
.btn-cupons:hover { background: rgba(239, 169, 59, 0.12); }
.btn-entrar { align-items: center; gap: 8px; height: 44px; padding: 0 6px; font-size: 14px; font-weight: 800; color: var(--creme); }
.btn-entrar .i { width: 20px; height: 20px; }
.btn-entrar:hover { color: var(--dourado); }
@media (min-width: 1024px) {
  .cab__in { padding: 0 var(--pad); gap: 18px; }
  .chip-end { flex: 0 1 340px; height: 44px; }
  .cab__dir { margin-left: auto; }
}

/* busca no celular: ocupa a barra */
.cab__busca {
  display: flex; align-items: center; gap: 10px;
  height: var(--cab-h); padding: 0 12px;
}
.cab__busca > .i { width: 20px; height: 20px; color: var(--dourado); }
.cab__busca input {
  flex: 1; min-width: 0; height: 44px; padding: 0 14px;
  border: 0; outline: 0; border-radius: 12px;
  background: var(--branco); color: var(--texto); font-size: 16px;
}
.cab__busca input::-webkit-search-cancel-button { display: none; }
.cab__busca button { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--creme); }
.cab__busca button .i { width: 22px; height: 22px; }
.cab.buscando .cab__in { display: none; }

/* ─────────────── capa + resumo da loja ─────────────── */
.main { max-width: var(--larg); margin: 0 auto; }
.topo { padding: 0; }
.capa { position: relative; overflow: hidden; background: var(--vinho); color: var(--branco); min-height: 220px; display: flex; align-items: flex-end; }
.capa > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.capa::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(58, 11, 7, 0.1) 0%, rgba(58, 11, 7, 0.55) 45%, rgba(42, 8, 5, 0.94) 100%); }
.capa__share {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(26, 6, 4, 0.45); color: var(--branco);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.capa__share .i { width: 20px; height: 20px; }
.resumo { position: relative; z-index: 1; display: flex; align-items: flex-end; gap: 14px; width: 100%; padding: 96px var(--pad) 18px; cursor: pointer; }
.resumo__logo { width: 76px; height: 76px; flex-shrink: 0; border-radius: 50%; overflow: hidden; border: 3px solid var(--dourado); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4); background: var(--vinho-2); }
.resumo__logo img { width: 100%; height: 100%; object-fit: cover; }
.resumo__info { flex: 1; min-width: 0; }
.resumo__nome { font-family: var(--fonte-titulo); font-size: 26px; font-weight: 800; line-height: 1.1; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35); }
.resumo__status {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 6px; padding: 3px 10px;
  border-radius: 999px; background: rgba(30, 127, 69, 0.9);
  font-size: 12px; font-weight: 800; line-height: 1.4; color: var(--branco);
}
.resumo__status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.resumo__status.fechado { background: rgba(200, 30, 12, 0.92); }
.resumo__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 12.5px; font-weight: 700; line-height: 1; white-space: nowrap; color: var(--creme);
}
.chip .i { width: 14px; height: 14px; color: var(--dourado); }
.chip b { font-weight: 900; color: var(--branco); }
.chip--link { background: transparent; border-color: rgba(239, 169, 59, 0.55); color: var(--dourado); }
.resumo__chev { width: 14px; height: 14px; }
@media (min-width: 1024px) {
  .topo { padding: 16px var(--pad) 0; }
  .capa { min-height: 260px; border-radius: 22px; }
  .resumo { padding: 120px 28px 24px; gap: 20px; }
  .resumo__logo { width: 96px; height: 96px; }
  .resumo__nome { font-size: 36px; }
  .capa__share { top: 16px; right: 16px; }
}

/* ─────────────── área do cardápio ─────────────── */
@media (min-width: 1024px) {
  .loja { padding: 0 var(--pad); }
}

/* ─────────────── categorias (pílulas) ─────────────── */
.cats {
  position: sticky; top: var(--cab-h); z-index: 20;
  display: flex; align-items: center; gap: 8px;
  height: var(--cats-h); padding: 0 0 0 var(--pad);
  background: var(--creme);
  border-bottom: 1px solid var(--linha);
}
.cats__abrir {
  width: 40px; height: 40px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--branco); border: 1px solid var(--linha); border-radius: 12px;
  color: var(--vinho);
}
.cats__abrir .i { width: 20px; height: 20px; }
.cats__rolagem {
  flex: 1; min-width: 0; height: 100%;
  display: flex; align-items: center; gap: 8px;
  overflow-x: auto; scrollbar-width: none;
  scroll-snap-type: x proximity;
  padding-right: var(--pad);
}
.cats__rolagem::-webkit-scrollbar { display: none; }
.cats__item {
  flex-shrink: 0; scroll-snap-align: start;
  display: inline-flex; align-items: center;
  height: 40px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--linha);
  background: var(--branco); color: var(--texto-2);
  font-size: 14px; font-weight: 800; white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.cats__item:hover { border-color: var(--laranja-2); color: var(--laranja); }
.cats__item.ativo { background: var(--laranja); border-color: var(--laranja); color: var(--branco); box-shadow: 0 4px 12px rgba(194, 65, 12, 0.3); }
@media (min-width: 1024px) {
  .cats { padding-left: 0; top: var(--cab-h); }
  .cats__rolagem { padding-right: 0; }
}

/* ─────────────── cardápio ─────────────── */
.cardapio { padding: 18px var(--pad) 28px; }
.cat { margin-bottom: 30px; scroll-margin-top: calc(var(--cab-h) + var(--cats-h) + 8px); }
.cat__cab { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-bottom: 14px; text-align: left; }
.cat__titulo { font-family: var(--fonte-titulo); font-size: 24px; font-weight: 800; line-height: 1.15; color: var(--vinho); }
.cat__sub { display: block; margin-top: 3px; font-family: var(--fonte); font-size: 13px; font-weight: 600; color: var(--texto-3); }
.cat__seta { width: 36px; height: 36px; padding: 9px; flex-shrink: 0; border-radius: 50%; background: var(--branco); border: 1px solid var(--linha); color: var(--vinho); transition: transform 0.2s; }
.cat.fechada .cat__seta { transform: rotate(180deg); }
.cat.fechada .cat__lista { display: none; }
.cat.sem-itens { display: none; }
.cat__lista { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .cat__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .cardapio { padding: 22px 0 40px; }
  .cat__titulo { font-size: 28px; }
  .cat__lista { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}

.prod {
  position: relative;
  display: flex; align-items: stretch; gap: 12px;
  width: 100%; min-height: 136px; padding: 12px;
  background: var(--branco);
  border: 1px solid var(--linha); border-radius: var(--raio);
  box-shadow: var(--sombra-1);
  text-align: left;
  transition: transform 0.15s var(--ease), border-color 0.2s, box-shadow 0.2s;
  -webkit-user-select: none; user-select: none;
}
.prod:active { transform: scale(0.99); }
.prod.oculto { display: none; }
.prod__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.prod__nome { display: flex; align-items: baseline; gap: 6px; font-size: 16px; font-weight: 800; line-height: 1.3; color: var(--texto); }
.prod__num {
  flex-shrink: 0; align-self: center;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 26px; height: 22px; padding: 0 6px;
  border-radius: 6px; background: var(--vinho); color: var(--dourado);
  font-size: 12px; font-weight: 900; line-height: 1;
}
.prod__desc {
  font-size: 13px; line-height: 1.45; color: var(--texto-2);
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.prod__preco { margin-top: auto; padding-top: 6px; font-size: 16px; font-weight: 900; color: var(--laranja); }
.prod__preco small { font-size: 12px; font-weight: 700; color: var(--texto-3); }
.prod__img { position: relative; width: 112px; height: 112px; flex-shrink: 0; align-self: center; border-radius: 12px; overflow: hidden; background: var(--creme-2); }
.prod__img img { width: 100%; height: 100%; object-fit: cover; }
.prod__img--bebida { background: var(--branco); }
.prod__mais {
  position: absolute; right: 6px; bottom: 6px;
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--branco); color: var(--laranja);
  box-shadow: 0 3px 10px rgba(42, 19, 14, 0.25);
}
.prod__mais .i { width: 20px; height: 20px; stroke-width: 2.6; }
@media (hover: hover) {
  .prod:hover { border-color: rgba(194, 65, 12, 0.55); box-shadow: 0 8px 24px rgba(58, 11, 7, 0.12); transform: translateY(-1px); }
  .prod:hover .prod__mais { background: var(--laranja); color: var(--branco); }
}
@media (min-width: 1280px) { .prod__img { width: 120px; height: 120px; } }
.sem-resultado { padding: 40px var(--pad); text-align: center; color: var(--texto-2); font-weight: 700; }

/* ─────────────── barra flutuante da sacola (computador) ─────────────── */
.dsac { display: none; }
@media (min-width: 1024px) {
  .dsac {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: flex; justify-content: center;
    padding: 14px 16px 16px;
    background: rgba(255, 248, 239, 0.86);
    border-top: 1px solid var(--linha);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    animation: subirFolha 0.2s var(--ease) forwards;
  }
  body.app.com-sacola { padding-bottom: 100px; }
}
.dsac__card {
  display: flex; align-items: center; gap: 16px;
  width: 400px; height: 68px; padding: 0 12px 0 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--laranja-2) 0%, var(--laranja) 55%, var(--laranja-escuro) 100%);
  color: var(--branco); text-align: left;
  box-shadow: 0 10px 26px rgba(194, 65, 12, 0.32);
  transition: transform 0.15s var(--ease), filter 0.15s;
}
.dsac__card:hover { filter: brightness(1.05); transform: translateY(-1px); }
.dsac__bag { position: relative; width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; background: rgba(255, 255, 255, 0.18); display: flex; align-items: center; justify-content: center; }
.dsac__bag .i { width: 24px; height: 24px; }
.dsac__badge { position: absolute; top: -7px; right: -7px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 999px; background: var(--dourado); color: var(--vinho); font-size: 12px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.dsac__info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.dsac__lbl { font-size: 13.5px; font-weight: 700; }
.dsac__preco { font-family: var(--fonte-titulo); font-size: 22px; font-weight: 800; line-height: 1.1; }
.dsac__seta { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: rgba(255, 255, 255, 0.18); display: flex; align-items: center; justify-content: center; }
.dsac__seta .i { width: 20px; height: 20px; }

/* ─────────────── rodapé institucional ─────────────── */
.rodape { background: var(--vinho); color: rgba(255, 248, 239, 0.82); margin-top: 8px; }
.rodape__in { max-width: var(--larg); margin: 0 auto; padding: 28px var(--pad); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.rodape__logo { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--dourado); }
.rodape__txt { display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; flex: 1 1 220px; }
.rodape__txt b { font-family: var(--fonte-titulo); font-size: 19px; font-weight: 800; color: var(--branco); line-height: 1.2; }
.rodape__txt a { color: var(--dourado); font-weight: 800; }
.rodape__links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; font-weight: 700; }
.rodape__links a { text-decoration: underline; text-underline-offset: 3px; }
.rodape__links a:hover { color: var(--dourado); }
@media (max-width: 1023px) {
  .rodape__in { flex-direction: column; justify-content: center; text-align: center; }
  .rodape__txt { flex: 0 1 auto; align-items: center; }
  .rodape__links { justify-content: center; }
}

/* ─────────────── navegação inferior (celular) ─────────────── */
.mfooter { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding-bottom: var(--safe-b); background: var(--vinho); }
@media (min-width: 1024px) { .mfooter { display: none; } }
.sacbar { position: absolute; left: 0; right: 0; bottom: 100%; padding: 8px 12px; background: linear-gradient(180deg, rgba(255, 248, 239, 0) 0%, rgba(255, 248, 239, 0.95) 35%); }
.sacbar__btn {
  width: 100%; height: 52px; padding: 0 16px 0 10px;
  display: flex; align-items: center; gap: 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--laranja-2) 0%, var(--laranja) 60%, var(--laranja-escuro) 100%);
  color: var(--branco);
  box-shadow: 0 8px 20px rgba(194, 65, 12, 0.35);
}
.sacbar__btn:active { transform: scale(0.99); }
.sacbar__bag { position: relative; width: 36px; height: 36px; border-radius: 10px; background: rgba(255, 255, 255, 0.18); display: flex; align-items: center; justify-content: center; }
.sacbar__bag .i { width: 20px; height: 20px; }
.sacbar__qtd { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--dourado); color: var(--vinho); font-size: 11.5px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.sacbar__lbl { flex: 1; text-align: left; font-size: 16px; font-weight: 800; }
.sacbar__val { font-size: 16px; font-weight: 900; }
.mnav { display: flex; height: var(--nav-h); }
.mnav__item {
  position: relative; flex: 1 1; min-width: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: rgba(255, 248, 239, 0.62);
  transition: color 0.15s;
}
.mnav__item .i { width: 23px; height: 23px; }
.mnav__item span { font-size: 11.5px; font-weight: 800; line-height: 1.2; }
.mnav__item.ativo { color: var(--dourado); }
.mnav__item.ativo::before { content: ''; position: absolute; top: 0; left: 50%; width: 28px; height: 3px; margin-left: -14px; border-radius: 0 0 3px 3px; background: var(--dourado); }

/* ─────────────── botões ─────────────── */
.btn-prim {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 52px; padding: 0 18px;
  border-radius: 14px; border: 0;
  background: linear-gradient(135deg, var(--laranja-2) 0%, var(--laranja) 55%, var(--laranja-escuro) 100%);
  color: var(--branco); font-size: 16px; font-weight: 800;
  box-shadow: 0 6px 16px rgba(194, 65, 12, 0.28);
  transition: filter 0.15s, transform 0.1s;
}
.btn-prim:hover { filter: brightness(1.05); }
.btn-prim:active { transform: scale(0.99); }
.btn-prim:disabled { opacity: 0.6; cursor: default; filter: none; }
.btn-prim .i { width: 22px; height: 22px; }
.btn-sec {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 50px; padding: 0 16px;
  border-radius: 14px; border: 1.5px solid var(--linha);
  background: var(--branco); color: var(--texto); font-size: 15px; font-weight: 800;
}
.btn-sec:hover { border-color: var(--laranja-2); color: var(--laranja); }
.btn-whats { background: var(--whats); box-shadow: 0 6px 16px rgba(18, 140, 126, 0.3); }
.btn-voltar {
  width: 40px; height: 40px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px; background: rgba(255, 255, 255, 0.12); color: var(--creme);
}
.btn-voltar .i { width: 24px; height: 24px; }
.btn-voltar:hover { background: rgba(255, 255, 255, 0.2); }
.btn-fechar {
  width: 40px; height: 40px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--creme-2); color: var(--vinho);
  transition: background 0.15s;
}
.btn-fechar .i { width: 20px; height: 20px; }
.btn-fechar:hover { background: var(--creme-3); }

/* ─────────────── painéis (folhas que sobem / janelas) ─────────────── */
.fundo { position: fixed; inset: 0; z-index: 90; background: rgba(26, 6, 4, 0.6); animation: aparecer 0.18s linear forwards; }
@keyframes aparecer { from { opacity: 0; } to { opacity: 1; } }
@keyframes subirFolha { from { transform: translateY(40px); opacity: 0.4; } to { transform: translateY(0); opacity: 1; } }
@keyframes surgir { from { opacity: 0; transform: translate(-50%, -48%) scale(0.97); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes daDireita { from { transform: translateX(40px); opacity: 0.4; } to { transform: translateX(0); opacity: 1; } }
.painel {
  position: fixed; z-index: 100;
  left: 0; right: 0; bottom: 0;
  max-height: 92dvh;
  background: var(--creme);
  border-radius: 22px 22px 0 0;
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  display: flex; flex-direction: column;
  box-shadow: var(--sombra-3);
  animation: subirFolha 0.22s var(--ease) forwards;
}
.painel::before { content: ''; position: sticky; top: 0; z-index: 5; display: block; flex-shrink: 0; width: 44px; height: 5px; margin: 8px auto -13px; border-radius: 3px; background: rgba(255, 255, 255, 0.75); box-shadow: 0 0 0 1px rgba(58, 11, 7, 0.12); }
.painel--cheio { max-height: 80dvh; }
@media (min-width: 1024px) {
  .painel::before { display: none; }
  .painel--centro, .painel--cheio {
    left: 50%; top: 50%; right: auto; bottom: auto;
    width: 560px; max-height: min(880px, calc(100vh - 48px));
    border-radius: 22px;
    transform: translate(-50%, -50%);
    animation: surgir 0.2s var(--ease) forwards;
  }
  .painel--cheio { width: 440px; }
  .painel--lado { left: auto; top: 0; right: 0; bottom: 0; width: 440px; max-height: none; border-radius: 22px 0 0 22px; animation: daDireita 0.2s var(--ease) forwards; }
}

/* ─── produto ─── */
.pd__foto { position: relative; flex-shrink: 0; height: 240px; background: var(--creme-2); }
.pd__foto img { width: 100%; height: 100%; object-fit: cover; }
.pd__foto--bebida { background: var(--branco); }
.pd__foto--bebida img { object-fit: contain; }
.pd__foto::after { content: ''; position: absolute; inset: auto 0 0 0; height: 70px; background: linear-gradient(180deg, rgba(255, 248, 239, 0), var(--creme)); pointer-events: none; }
.pd__x { position: absolute; top: 14px; right: 14px; z-index: 2; background: rgba(255, 248, 239, 0.92); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); }
.pd__acao {
  position: absolute; left: 14px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(26, 6, 4, 0.5); color: var(--branco);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.pd__acao .i { width: 20px; height: 20px; }
.pd__acao--1 { top: 14px; }
.pd__acao--2 { top: 62px; }
@media (min-width: 1024px) { .pd__foto { height: 300px; } }
.pd__corpo { position: relative; flex: 1 0 auto; }
.pd__info { padding: 4px var(--pad) 0; }
.pd__nome { font-family: var(--fonte-titulo); font-size: 26px; font-weight: 800; line-height: 1.15; color: var(--vinho); }
.pd__desc { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--texto-2); }
.pd__grupos { padding: 20px var(--pad) 0; display: flex; flex-direction: column; gap: 22px; }
.grp { background: var(--branco); border: 1px solid var(--linha); border-radius: var(--raio); overflow: hidden; }
.grp__cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; background: var(--creme-2); }
.grp__titulo { display: block; font-size: 15.5px; font-weight: 900; line-height: 1.3; color: var(--texto); }
.grp__info { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; color: var(--texto-2); }
.grp__req {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  height: 26px; padding: 0 10px; border-radius: 999px;
  background: var(--vinho); color: var(--dourado);
  font-size: 11px; font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase;
  transition: background 0.2s;
}
.grp__req.ok { width: 26px; padding: 0; background: var(--verde); color: var(--branco); }
.grp__req.ok .i { width: 15px; height: 15px; }
.grp--erro { border-color: var(--vermelho); animation: tremer 0.4s; }
.grp--erro .grp__req { background: var(--vermelho); color: var(--branco); }
@keyframes tremer { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
.grp__resps { padding: 0 14px; }
.resp {
  display: flex; align-items: center; gap: 10px;
  width: 100%; min-height: 58px; padding: 10px 0;
  border-bottom: 1px solid var(--linha-2);
  text-align: left; cursor: pointer;
  transition: opacity 0.2s;
}
.resp:last-child { border-bottom: 0; }
.resp__titulo { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--texto); }
.resp__titulo small { font-size: 12.5px; font-weight: 600; color: var(--texto-3); line-height: 1.4; }
.resp.marcada .resp__titulo { font-weight: 900; }
.resp__preco { font-size: 14px; font-weight: 800; color: var(--laranja); white-space: nowrap; }
.resp__radio {
  position: relative; width: 24px; height: 24px; flex-shrink: 0;
  border-radius: 50%; border: 2px solid var(--creme-3); background: var(--branco);
  transition: background 0.15s, border-color 0.15s;
}
.resp.marcada .resp__radio { border-color: var(--laranja); background: var(--laranja); }
.resp.marcada .resp__radio::after { content: ''; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid var(--branco); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.resp.desativada { opacity: 0.4; pointer-events: none; }
.qopc { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.qopc__btn {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--laranja); background: var(--branco); color: var(--laranja);
}
.qopc__btn .i { width: 16px; height: 16px; stroke-width: 2.6; }
.qopc__btn:hover { background: var(--laranja); color: var(--branco); }
.qopc__btn:disabled { opacity: 0.35; pointer-events: none; }
.qopc__n { min-width: 16px; text-align: center; font-size: 15px; font-weight: 900; }
.pd__obs {
  display: block; width: calc(100% - 2 * var(--pad)); margin: 20px var(--pad) 22px;
  min-height: 84px; padding: 12px 14px;
  border: 1.5px solid var(--linha); border-radius: 14px; background: var(--branco);
  resize: vertical; outline: 0; font-size: 15px; color: var(--texto);
}
.pd__obs:focus { border-color: var(--laranja-2); }
.pd__obs::placeholder { color: var(--texto-3); }
.pd__pe {
  position: sticky; bottom: 0; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  padding: 12px var(--pad) calc(12px + var(--safe-b));
  background: var(--branco); border-top: 1px solid var(--linha);
  box-shadow: 0 -8px 20px rgba(58, 11, 7, 0.08);
}
.pd__pe .btn-prim { flex: 1; justify-content: space-between; }
.pd__pe .btn-prim b { font-weight: 900; }
.qtd {
  display: flex; align-items: center; flex-shrink: 0;
  height: 52px; padding: 0 4px;
  border: 1.5px solid var(--linha); border-radius: 14px; background: var(--branco);
}
.qtd button { width: 40px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--laranja); border-radius: 10px; }
.qtd button .i { width: 20px; height: 20px; stroke-width: 2.6; }
.qtd button:hover { background: var(--creme-2); }
.qtd button:disabled { opacity: 0.3; cursor: default; background: none; }
.qtd__n { min-width: 26px; text-align: center; font-size: 17px; font-weight: 900; }

/* foto em tela cheia */
.zoom { position: fixed; inset: 0; z-index: 120; background: rgba(15, 4, 2, 0.94); display: flex; align-items: center; justify-content: center; padding: 16px; animation: aparecer 0.15s linear; }
.zoom img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; }
.zoom .btn-fechar { position: absolute; top: calc(16px + var(--safe-t)); right: 16px; }

/* ─── gavetas: sacola, perfil, pedidos ─── */
.gav__cab {
  position: sticky; top: 0; z-index: 4;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 64px; padding: 14px var(--pad) 10px;
  background: var(--creme); border-bottom: 1px solid var(--linha);
}
.gav__titulo { font-family: var(--fonte-titulo); font-size: 24px; font-weight: 800; color: var(--vinho); }
.gav__corpo { flex: 1 0 auto; padding: 14px var(--pad) 20px; }
.gav__pe {
  position: sticky; bottom: 0; z-index: 4;
  display: flex; flex-direction: column; gap: 12px;
  padding: 14px var(--pad) calc(16px + var(--safe-b));
  background: var(--branco); border-top: 1px solid var(--linha);
  box-shadow: 0 -8px 20px rgba(58, 11, 7, 0.08);
}
.gav__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; font-weight: 700; color: var(--texto-2); }
.gav__total span:last-child { font-family: var(--fonte-titulo); font-size: 26px; font-weight: 800; color: var(--texto); }

.sac-item { padding: 12px; margin-bottom: 10px; background: var(--branco); border: 1px solid var(--linha); border-radius: 14px; }
.sac-item__topo { display: flex; gap: 12px; align-items: flex-start; }
.sac-item__img { width: 58px; height: 58px; flex-shrink: 0; border-radius: 10px; overflow: hidden; background: var(--creme-2); }
.sac-item__img img { width: 100%; height: 100%; object-fit: cover; }
.sac-item__desc { flex: 1; min-width: 0; }
.sac-item__nome { font-size: 15px; font-weight: 800; line-height: 1.35; }
.sac-item__nome b { color: var(--laranja); }
.sac-item__comp { display: block; font-size: 13px; line-height: 1.45; color: var(--texto-2); }
.sac-item__comp b { font-weight: 800; color: var(--texto); }
.sac-item__ident { margin-top: 2px; padding-left: 10px; border-left: 2px solid var(--creme-3); }
.sac-item__obs { display: block; font-size: 13px; font-style: italic; color: var(--texto-2); line-height: 1.45; }
.sac-item__lixo { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--vermelho); background: var(--vermelho-o); }
.sac-item__lixo .i { width: 18px; height: 18px; }
.sac-item__baixo { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding-left: 70px; }
.btn-duplicar { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; background: var(--creme-2); color: var(--laranja); font-size: 13px; font-weight: 800; }
.btn-duplicar .i { width: 16px; height: 16px; }
.sac-item__preco { font-size: 16px; font-weight: 900; white-space: nowrap; }
.cupom { margin-top: 6px; padding: 4px 14px; background: var(--branco); border: 1px dashed var(--creme-3); border-radius: 14px; }
.cupom__cab { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 46px; font-size: 14px; font-weight: 800; color: var(--laranja); }
.cupom__cab .i { width: 16px; height: 16px; margin-left: auto; transition: transform 0.2s; }
.cupom.aberto .cupom__cab .i { transform: rotate(180deg); }
.cupom__corpo { padding-bottom: 12px; }
.cupom__form { display: flex; gap: 8px; }
.cupom__form input { flex: 1; min-width: 0; height: 46px; padding: 0 12px; border: 1.5px solid var(--linha); border-radius: 12px; outline: 0; text-transform: uppercase; font-size: 16px; }
.cupom__form input:focus { border-color: var(--laranja-2); }
.cupom__form button { height: 46px; padding: 0 16px; border-radius: 12px; background: var(--vinho); color: var(--creme); font-size: 14px; font-weight: 800; }
.cupom__msg { margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--vermelho); }

/* perfil e pedidos */
.campo { display: block; margin-bottom: 16px; }
.campo > span { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 800; color: var(--texto-2); }
.campo__caixa {
  display: flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 14px;
  border: 1.5px solid var(--linha); border-radius: 12px; background: var(--branco);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.campo__caixa:focus-within { border-color: var(--laranja-2); box-shadow: 0 0 0 3px rgba(226, 87, 15, 0.15); }
.campo__caixa input, .campo__caixa select, .campo__caixa textarea { flex: 1; min-width: 0; min-height: 48px; border: 0; outline: 0; background: transparent; font-size: 16px; color: var(--texto); }
.campo__caixa input::placeholder, .campo__caixa textarea::placeholder { color: var(--texto-3); }
.campo__caixa select { cursor: pointer; }
.campo__caixa .i-whats { width: 28px; height: 28px; }
.campo__caixa > span { font-weight: 800; color: var(--texto-2); }
.campo--erro .campo__caixa { border-color: var(--vermelho); box-shadow: 0 0 0 3px rgba(200, 30, 12, 0.15); animation: tremer 0.35s; }
.conta__ola { display: flex; align-items: center; gap: 14px; padding: 6px 0 18px; border-bottom: 1px solid var(--linha); }
.conta__avatar { width: 54px; height: 54px; flex-shrink: 0; border-radius: 50%; background: var(--laranja); color: var(--branco); display: flex; align-items: center; justify-content: center; font-family: var(--fonte-titulo); font-size: 24px; font-weight: 800; }
.conta__nome { font-size: 17px; font-weight: 900; }
.conta__tel { font-size: 14px; color: var(--texto-2); }
.lista-linha { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px; padding: 12px 2px; border-bottom: 1px solid var(--linha); font-size: 15px; font-weight: 700; text-align: left; }
.lista-linha .i { width: 22px; height: 22px; color: var(--laranja); }
.lista-linha span { flex: 1; min-width: 0; }
.lista-linha .seta { width: 18px; height: 18px; color: var(--texto-3); }
.lista-linha:hover { color: var(--laranja); }
.ped { display: block; width: 100%; padding: 14px; margin-bottom: 10px; background: var(--branco); border: 1px solid var(--linha); border-radius: 14px; text-align: left; }
.ped:hover { border-color: var(--laranja-2); }
.ped__topo { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ped__cod { font-size: 15px; font-weight: 900; letter-spacing: 0.02em; }
.ped__status { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; background: var(--creme-2); color: var(--texto-2); white-space: nowrap; }
.ped__status--novo { background: #fff1d6; color: #8a5300; }
.ped__status--aceito, .ped__status--preparando, .ped__status--pronto { background: var(--verde-o); color: var(--verde); }
.ped__status--entregue { background: var(--creme-2); color: var(--texto-2); }
.ped__status--cancelado { background: var(--vermelho-o); color: var(--vermelho); }
.ped__meta { margin-top: 4px; font-size: 13px; color: var(--texto-2); }
.vazio { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 40px var(--pad); text-align: center; }
.vazio__ic { width: 84px; height: 60px; }
.vazio p { max-width: 300px; font-size: 15px; font-weight: 600; color: var(--texto-2); line-height: 1.55; }

/* ─── "Entrega ou retirada?" ─── */
.pop {
  position: fixed; z-index: 95;
  width: 330px; max-width: calc(100vw - 24px);
  padding: 16px 16px 8px;
  background: var(--branco); color: var(--texto);
  border: 1px solid var(--linha); border-radius: 18px;
  box-shadow: var(--sombra-3);
  animation: aparecer 0.12s linear;
}
.pop__titulo { margin-bottom: 6px; font-family: var(--fonte-titulo); font-size: 19px; font-weight: 800; color: var(--vinho); }
.pop__op { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 60px; padding: 8px 4px; border-bottom: 1px solid var(--linha-2); text-align: left; }
.pop__op:last-child { border-bottom: 0; }
.pop__op .i { width: 24px; height: 24px; color: var(--laranja); }
.pop__op .ic-verm { color: var(--laranja); }
.pop__txt { flex: 1; min-width: 0; }
.pop__txt b { display: block; font-size: 15.5px; font-weight: 900; line-height: 1.3; }
.pop__txt small { display: block; font-size: 13px; color: var(--texto-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pop__radio { position: relative; width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; border: 2px solid var(--creme-3); }
.pop__op.marcada .pop__radio { border-color: var(--laranja); background: var(--laranja); }
.pop__op.marcada .pop__radio::after { content: ''; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid var(--branco); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.pop__voltar { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; margin-bottom: 4px; font-size: 13.5px; font-weight: 800; color: var(--laranja); }
.pop__voltar .i { width: 14px; height: 14px; transform: rotate(180deg); }
.pop__lista { max-height: 320px; overflow-y: auto; }
.pop__bairro { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 50px; padding: 0 4px; border-bottom: 1px solid var(--linha-2); font-size: 15px; font-weight: 700; text-align: left; }
.pop__bairro:last-child { border-bottom: 0; }
.pop__bairro:hover { color: var(--laranja); }
.pop__bairro small { font-size: 14px; font-weight: 900; color: var(--laranja); white-space: nowrap; }

/* ─── informações da pizzaria ─── */
.inf__img { position: relative; height: 190px; flex-shrink: 0; background: var(--vinho); }
.inf__img > img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.inf__x { position: absolute; top: 14px; right: 14px; z-index: 2; background: rgba(255, 248, 239, 0.92); }
.inf__logo {
  position: absolute; left: 50%; bottom: -48px; z-index: 2;
  width: 100px; height: 100px; margin-left: -50px;
  border-radius: 50%; overflow: hidden; border: 4px solid var(--dourado);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); background: var(--vinho-2);
}
.inf__logo img { width: 100%; height: 100%; object-fit: cover; }
.inf__nome { padding: 58px var(--pad) 8px; background: var(--vinho); color: var(--branco); text-align: center; font-family: var(--fonte-titulo); font-size: 28px; font-weight: 800; line-height: 1.15; }
.inf__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 6px var(--pad) 18px; background: var(--vinho); }
.inf__sec { padding: 20px var(--pad) 0; }
.inf__sec:last-child { padding-bottom: 24px; }
.inf__titulo { margin-bottom: 12px; font-family: var(--fonte-titulo); font-size: 21px; font-weight: 800; color: var(--vinho); }
.inf__ops { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.inf__op { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; height: 92px; background: var(--branco); border: 1px solid var(--linha); border-radius: 14px; font-size: 14px; font-weight: 800; }
.inf__op .i { width: 30px; height: 30px; color: var(--laranja); }
.inf__linha { display: flex; align-items: center; gap: 12px; padding: 14px; margin-bottom: 8px; background: var(--branco); border: 1px solid var(--linha); border-radius: 14px; font-size: 14px; font-weight: 700; }
.inf__linha .i { width: 26px; height: 26px; flex-shrink: 0; color: var(--laranja); }
.inf__linha:hover { border-color: var(--laranja-2); }
.inf__badge { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; margin-bottom: 12px; border-radius: 999px; background: var(--verde-o); color: var(--verde); font-size: 13px; font-weight: 900; }
.inf__badge.fechado { background: var(--vermelho-o); color: var(--vermelho); }
.inf__dias { display: grid; gap: 6px; padding: 12px 14px; background: var(--branco); border: 1px solid var(--linha); border-radius: 14px; }
.inf__dia { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; color: var(--texto-2); }
.inf__dia.hoje { font-weight: 900; color: var(--laranja); }
.inf__pag-t { margin-bottom: 8px; font-size: 14px; font-weight: 800; }
.inf__pags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.inf__pags span { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; background: var(--branco); border: 1px solid var(--linha); border-radius: 999px; font-size: 13px; font-weight: 700; }

/* ─── lista de categorias ─── */
.menu__cab { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px var(--pad) 12px; background: var(--creme); border-bottom: 1px solid var(--linha); }
.menu__titulo { font-family: var(--fonte-titulo); font-size: 24px; font-weight: 800; color: var(--vinho); }
.menu__lista { display: flex; flex-direction: column; padding: 8px var(--pad) calc(20px + var(--safe-b)); }
.menu__lista button { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 4px; border-bottom: 1px solid var(--linha); font-size: 16px; font-weight: 800; text-align: left; }
.menu__lista button::after { content: '›'; font-size: 22px; color: var(--laranja); }
.menu__lista button:hover { color: var(--laranja); }

/* ─── aviso flutuante ─── */
.aviso {
  position: fixed; left: 50%; z-index: 200;
  bottom: calc(var(--nav-h) + var(--safe-b) + 16px);
  transform: translateX(-50%);
  width: max-content; max-width: calc(100vw - 32px);
  padding: 12px 18px;
  background: var(--vinho); color: var(--creme);
  border-radius: 12px; border-left: 4px solid var(--dourado);
  font-size: 14px; font-weight: 800;
  box-shadow: var(--sombra-2);
  pointer-events: none;
  animation: aparecer 0.15s linear;
}
body.com-sacola .aviso { bottom: calc(var(--nav-h) + var(--sacbar-h) + var(--safe-b) + 12px); }
body.travado .aviso { top: calc(16px + var(--safe-t)); bottom: auto; }
@media (min-width: 1024px) {
  .aviso { bottom: 32px; }
  body.com-sacola .aviso { bottom: 112px; }
  body.travado .aviso { top: 24px; bottom: auto; }
}

/* ─────────────── páginas internas ─────────────── */
.pag-cab {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 12px;
  height: var(--cab-h); padding: 0 12px;
  background: var(--vinho); color: var(--creme);
  box-shadow: 0 2px 12px rgba(26, 6, 4, 0.25);
}
.pag-cab__titulo { flex: 1; min-width: 0; font-family: var(--fonte-titulo); font-size: 21px; font-weight: 800; color: var(--branco); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pag-cab__logo img { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--dourado); }
@media (min-width: 1024px) { .pag-cab { padding: 0 max(var(--pad), calc((100% - var(--larg)) / 2 + var(--pad))); } }
.pag-corpo { max-width: 680px; margin: 0 auto; padding: 8px var(--pad) 24px; }

/* etapas do pedido */
.etapas { list-style: none; margin: 0; padding: 14px var(--pad) 4px; max-width: 680px; display: flex; justify-content: space-between; gap: 8px; }
.etapas li { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; color: var(--texto-3); text-align: center; }
.etapas li span { position: relative; z-index: 1; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--branco); border: 2px solid var(--creme-3); font-size: 14px; font-weight: 900; color: var(--texto-3); }
.etapas li + li::before { content: ''; position: absolute; top: 14px; right: 50%; width: 100%; height: 2px; background: var(--creme-3); }
.etapas li.feito span { background: var(--verde); border-color: var(--verde); color: var(--branco); }
.etapas li.feito + li::before, .etapas li.ativo::before { background: var(--verde); }
.etapas li.ativo { color: var(--texto); }
.etapas li.ativo span { background: var(--laranja); border-color: var(--laranja); color: var(--branco); box-shadow: 0 0 0 4px rgba(194, 65, 12, 0.18); }
@media (min-width: 1024px) { .etapas { margin: 0 auto; max-width: var(--larg); padding: 20px var(--pad) 0; justify-content: flex-start; } .etapas li { flex: 0 0 160px; } }

/* checkout */
.app--checkout { padding-bottom: 0; }
.ck { max-width: var(--larg); margin: 0 auto; padding: 12px var(--pad) 40px; }
.ck__esq { min-width: 0; padding: 18px 16px; background: var(--branco); border: 1px solid var(--linha); border-radius: 18px; box-shadow: var(--sombra-1); }
.ck__dir { display: none; }
@media (min-width: 1024px) {
  .ck { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; padding-top: 20px; }
  .ck__esq { padding: 24px 28px; }
  .ck__dir { display: block; position: sticky; top: calc(var(--cab-h) + 20px); padding: 22px; background: var(--branco); border: 1px solid var(--linha); border-radius: 18px; box-shadow: var(--sombra-1); }
}
.ck__t { font-family: var(--fonte-titulo); font-size: 21px; font-weight: 800; line-height: 1.25; color: var(--vinho); }
.ck__p { margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--texto-2); line-height: 1.5; }
.ck__bloco { margin-top: 24px; }
.ck__bloco > .ck__t { margin-bottom: 6px; }
.ck__bloco .resp { padding: 10px 2px; }
.ck__campos { margin-top: 20px; }
.ck__grade { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 0 12px; }
.ck__aviso { margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: var(--vermelho-o); color: var(--vermelho); font-size: 14px; font-weight: 700; }
.ck__acoes { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.res__t { margin-bottom: 12px; font-family: var(--fonte-titulo); font-size: 22px; font-weight: 800; color: var(--vinho); }
.res__item { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--linha); font-size: 14px; }
.res__item b { font-weight: 800; }
.res__item small { display: block; margin-top: 2px; color: var(--texto-2); font-size: 12.5px; }
.res__item > span { font-weight: 800; white-space: nowrap; }
.res__linha { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 14px; color: var(--texto-2); font-weight: 700; }
.res__linha--total { margin-top: 8px; padding-top: 12px; border-top: 2px solid var(--linha); color: var(--texto); }
.res__linha--total span:last-child { font-family: var(--fonte-titulo); font-size: 24px; font-weight: 800; }
.res__mobile { margin-top: 24px; padding: 16px; background: var(--creme); border: 1px solid var(--linha); border-radius: 14px; }
@media (min-width: 1024px) { .res__mobile { display: none; } }

/* acompanhamento */
.acomp { max-width: 680px; margin: 0 auto; padding: 16px var(--pad) 32px; display: flex; flex-direction: column; gap: 12px; }
.acomp__carregando { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 48px 0; color: var(--texto-2); font-weight: 700; }
.girando { width: 20px; height: 20px; flex-shrink: 0; border: 2.5px solid var(--creme-3); border-top-color: var(--laranja); border-radius: 50%; animation: girar 0.8s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }
.st { padding: 24px 16px; text-align: center; background: var(--branco); border: 1px solid var(--linha); border-radius: 18px; }
.st__ic { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--verde-o); color: var(--verde); }
.st__ic .i { width: 34px; height: 34px; }
.st__ic--aguardando { background: #fff1d6; color: #8a5300; }
.st__ic--cancelado { background: var(--vermelho-o); color: var(--vermelho); }
.st__t { font-family: var(--fonte-titulo); font-size: 24px; font-weight: 800; color: var(--vinho); line-height: 1.2; }
.st__p { margin-top: 6px; font-size: 14.5px; color: var(--texto-2); font-weight: 600; }
.passos { list-style: none; margin: 0; padding: 18px 16px; display: flex; flex-direction: column; gap: 14px; background: var(--branco); border: 1px solid var(--linha); border-radius: 18px; }
.passo { display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 700; color: var(--texto-3); }
.passo__b { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--creme-3); flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--branco); }
.passo__b .i { width: 14px; height: 14px; }
.passo.feito { color: var(--texto); }
.passo.feito .passo__b { background: var(--verde); border-color: var(--verde); color: var(--branco); }
.passo.agora { color: var(--texto); font-weight: 900; }
.passo.agora .passo__b { border: 7px solid var(--laranja); }
.acomp__bloco { padding: 16px; background: var(--branco); border: 1px solid var(--linha); border-radius: 18px; }
.acomp__t { margin-bottom: 8px; font-family: var(--fonte-titulo); font-size: 19px; font-weight: 800; color: var(--vinho); }
.acomp__txt { font-size: 14.5px; line-height: 1.55; }
.acomp__acoes { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }

/* créditos das fotos */
.creditos__intro { margin: 12px 0 18px; font-size: 14.5px; line-height: 1.6; color: var(--texto-2); }
.creditos__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.creditos__lista li { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; background: var(--branco); border: 1px solid var(--linha); border-radius: 14px; font-size: 13.5px; }
.creditos__lista b { font-size: 14px; font-weight: 800; word-break: break-word; }
.creditos__lista span { color: var(--texto-2); }
.creditos__lista a { color: var(--laranja); font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.creditos__lista small { color: var(--texto-3); font-weight: 700; }

/* respeita quem pediu menos movimento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}