/* Cardápio Digital Hero7 — visual
   As cores da loja vêm do config.js (variáveis --primaria, --fundo, --texto, --destaque). */

:root {
  --primaria: #222222;
  --fundo: #ffffff;
  --texto: #1a1a1a;
  --destaque: #2e7d32;
  --sobre-primaria: #ffffff;
  --sobre-destaque: #ffffff;
  --superficie: #ffffff;
  --suave: color-mix(in srgb, var(--texto) 62%, transparent);
  --linha: color-mix(in srgb, var(--texto) 12%, transparent);
  --campo: color-mix(in srgb, var(--texto) 5%, #ffffff);
  --erro: #c62828;
  --raio: 16px;
  --sombra: 0 1px 2px rgba(0, 0, 0, .06), 0 6px 18px rgba(0, 0, 0, .06);
  --barra-h: 132px;
  --fonte: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font: 16px/1.4 var(--fonte);
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
}
body.travado { overflow: hidden; }
img { max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--primaria) 55%, transparent); outline-offset: 2px; }

.pagina { max-width: 720px; margin: 0 auto; padding-bottom: 112px; }

/* ---------- Topo ---------- */
.topo { padding: 22px 16px 14px; }
.topo-in { display: flex; gap: 14px; align-items: center; }
.logo { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: var(--sombra); background: var(--superficie); }
.loja-nome { margin: 0; font-size: 24px; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }
.slogan { margin: 3px 0 0; color: var(--suave); font-size: 15px; }
.cidade { margin: 4px 0 0; color: var(--suave); font-size: 13.5px; display: flex; align-items: center; gap: 4px; }
.cidade svg { width: 14px; height: 14px; flex: none; }
.topo-acoes { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; }
.status {
  display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 6px 12px;
  border-radius: 999px; font-size: 13.5px; font-weight: 650;
  background: color-mix(in srgb, var(--texto) 7%, transparent); color: var(--suave);
}
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.status.aberto { background: color-mix(in srgb, var(--destaque) 13%, transparent); color: var(--destaque); }
.status.neutro::before { display: none; }
.btn-insta {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px; border-radius: 999px;
  background: var(--superficie); color: var(--texto); text-decoration: none; font-size: 13.5px; font-weight: 650;
  border: 1px solid var(--linha);
}
.btn-insta svg { width: 16px; height: 16px; }

/* ---------- Barra fixa: busca + categorias ---------- */
.barra {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--fundo) 92%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding: 10px 0 6px;
  border-bottom: 1px solid transparent;
  transition: border-color .15s;
}
.barra.colada { border-bottom-color: var(--linha); }
.busca { position: relative; margin: 0 16px; }
.busca svg { position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--suave); pointer-events: none; }
.busca input {
  width: 100%; height: 48px; padding: 0 44px; border-radius: 14px; border: 1px solid var(--linha);
  background: var(--superficie); font-size: 16px; outline: none; -webkit-appearance: none; appearance: none;
}
.busca input:focus { border-color: var(--primaria); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primaria) 20%, transparent); }
.busca input::-webkit-search-cancel-button { display: none; }
.busca-limpar {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px;
  border: 0; background: none; border-radius: 50%; color: var(--suave); font-size: 22px; line-height: 1;
}
.cats { display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px 6px; scrollbar-width: none; scroll-padding: 0 16px; }
.cats::-webkit-scrollbar { display: none; }
.cat {
  flex: none; display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px;
  background: var(--superficie); border: 1px solid var(--linha); color: var(--texto);
  text-decoration: none; font-size: 15px; font-weight: 650; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s;
}
.cat.ativa { background: var(--primaria); border-color: var(--primaria); color: var(--sobre-primaria); }

/* ---------- Seções e cards ---------- */
.secao { scroll-margin-top: calc(var(--barra-h) + 4px); padding-top: 6px; }
.secao-titulo { margin: 18px 16px 12px; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.grade { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 16px; }

.card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: var(--superficie); border-radius: var(--raio); box-shadow: var(--sombra); overflow: hidden;
}
.card-main {
  display: flex; flex-direction: column; flex: 1; width: 100%; padding: 0; margin: 0; border: 0;
  background: none; text-align: left; min-width: 0;
}
.foto {
  position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; flex: none;
  background: linear-gradient(100deg, #eee 30%, #f6f6f6 50%, #eee 70%) 0 0 / 300% 100%;
  animation: brilho 1.2s linear infinite;
}
.foto.ok, .foto.sem-foto { animation: none; }
.foto img { display: block; width: 100%; height: 100%; object-fit: cover; }
.foto.sem-foto { background: var(--primaria); }
.foto.sem-foto img { display: none; }
.foto.sem-foto::before {
  content: attr(data-inicial); position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--sobre-primaria); font-size: 44px; font-weight: 800; opacity: .9;
}
@keyframes brilho { to { background-position: -300% 0; } }

.selo {
  position: absolute; top: 8px; left: 8px; z-index: 1; padding: 4px 9px; border-radius: 999px;
  font-size: 12px; font-weight: 750; line-height: 1.3;
}
.selo-economia { background: var(--destaque); color: var(--sobre-destaque); }
.selo-esgotado { background: #3d3d3d; color: #fff; }

.card-txt { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 12px; flex: 1; min-width: 0; }
.card-nome { font-size: 15.5px; font-weight: 750; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-desc { font-size: 13px; color: var(--suave); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-preco { margin-top: auto; padding-top: 6px; padding-right: 50px; min-height: 44px; display: flex; flex-direction: column; justify-content: flex-end; }
.preco { font-weight: 800; color: var(--primaria); font-size: 16.5px; white-space: nowrap; }
.preco-antigo { font-size: 12.5px; color: var(--suave); text-decoration: line-through; white-space: nowrap; }

.btn-add {
  position: absolute; right: 8px; bottom: 8px; width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: var(--primaria); color: var(--sobre-primaria); display: grid; place-items: center;
  box-shadow: 0 3px 10px color-mix(in srgb, var(--primaria) 40%, transparent);
  transition: transform .12s;
}
.btn-add svg { width: 22px; height: 22px; }
.btn-add::after { content: ""; position: absolute; inset: -6px; }
.btn-add:active { transform: scale(.9); }

.card.esgotado .foto img { filter: grayscale(1); opacity: .55; }
.card.esgotado .preco { color: var(--suave); }
.card.esgotado .card-preco { padding-right: 0; }

.vazio-busca { margin: 32px 16px; text-align: center; color: var(--suave); font-size: 16px; }

@media (min-width: 560px) {
  .grade { grid-template-columns: 1fr; gap: 14px; }
  .card-main { flex-direction: row; }
  .card .foto { width: 210px; }
  .card-txt { padding: 14px 16px; gap: 6px; }
  .card-nome { font-size: 17px; }
  .card-desc { font-size: 14px; }
  .card-preco { flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 8px; padding-right: 64px; }
  .preco { font-size: 18px; }
  .btn-add { right: 14px; bottom: 14px; width: 48px; height: 48px; }
}

/* ---------- Rodapé ---------- */
.rodape { margin: 36px 16px 0; padding: 20px 0 8px; border-top: 1px solid var(--linha); color: var(--suave); font-size: 14px; }
.rodape p { margin: 0 0 8px; }
.rodape strong { color: var(--texto); }
.rodape a { color: var(--texto); }
.btn-whats-nojs {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: 14px;
  background: var(--primaria); color: var(--sobre-primaria) !important; font-weight: 750; text-decoration: none; margin: 6px 0 12px;
}
.credito { font-size: 12px; opacity: .7; }

/* Sem JavaScript: some o que depende dele */
.no-js .btn-add, .no-js .busca { display: none; }
.no-js .card-main { cursor: default; }
.no-js .card-preco { padding-right: 0; }
.js .so-nojs { display: none; }

/* ---------- Botão do pedido (rodapé fixo) ---------- */
.barra-pedido {
  position: fixed; z-index: 30; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom));
  transform: translateX(-50%); width: min(688px, calc(100% - 24px)); min-height: 58px;
  display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 18px;
  border: 0; border-radius: 16px; background: var(--primaria); color: var(--sobre-primaria);
  font-size: 16.5px; font-weight: 750; box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
}
.barra-pedido svg { width: 22px; height: 22px; flex: none; }
.barra-pedido.pulo { animation: pulo .2s ease-out; }
@keyframes pulo { 50% { transform: translateX(-50%) scale(1.05); } }

.aviso-toast {
  position: fixed; z-index: 70; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom));
  transform: translate(-50%, 8px); opacity: 0; pointer-events: none;
  background: #1f1f1f; color: #fff; padding: 11px 18px; border-radius: 999px; font-size: 15px; font-weight: 650;
  transition: opacity .15s, transform .15s; max-width: calc(100% - 32px); text-align: center;
}
.aviso-toast.visivel { opacity: 1; transform: translate(-50%, 0); }
body.travado .aviso-toast { bottom: auto; top: calc(72px + env(safe-area-inset-top)); }

/* ---------- Aviso do dono ---------- */
.aviso-dono {
  max-width: 720px; margin: 0 auto; padding: 14px 16px; background: #fff7d6; color: #4a3b00;
  border-bottom: 2px solid #e8c547; font-size: 14px; line-height: 1.45;
}
.aviso-dono strong { display: block; font-size: 15px; margin-bottom: 4px; }
.aviso-dono ul { margin: 6px 0 0; padding-left: 18px; }
.aviso-dono li { margin: 3px 0; }
.aviso-dono.previa { background: #e3f0ff; color: #0b3364; border-color: #5b9be6; }

/* ---------- Telas sobrepostas (detalhe, pedido, checkout) ---------- */
.ov { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.ov-fundo { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); opacity: 0; transition: opacity .2s; }
.folha {
  position: relative; width: 100%; max-height: 94dvh; display: flex; flex-direction: column;
  background: var(--fundo); border-radius: 20px 20px 0 0; overflow: hidden; outline: none;
  transform: translateY(100%); transition: transform .2s ease-out;
}
.ov.aberto .ov-fundo { opacity: 1; }
.ov.aberto .folha { transform: none; }
.folha.cheia { height: 100dvh; max-height: 100dvh; border-radius: 0; }
.folha-topo {
  flex: none; display: flex; align-items: center; gap: 8px; min-height: 60px; padding: 6px 8px 6px 16px;
  border-bottom: 1px solid var(--linha); background: var(--fundo);
}
.folha-topo h2 { margin: 0; font-size: 19px; font-weight: 800; flex: 1; }
.folha-topo .icone + h2 { margin-left: -4px; }
.icone {
  width: 48px; height: 48px; border: 0; border-radius: 50%; background: none; display: grid; place-items: center; flex: none; color: var(--texto);
}
.icone svg { width: 24px; height: 24px; }
.icone:active { background: var(--linha); }
.folha-corpo { flex: 1; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.folha-pe {
  flex: none; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--linha);
  background: var(--fundo); display: flex; flex-direction: column; gap: 8px;
}
.pe-linha { display: flex; gap: 10px; align-items: center; }
.pe-linha .btn-prim { flex: 1; }

@media (min-width: 720px) {
  .ov { align-items: center; padding: 24px; }
  .folha, .folha.cheia { max-width: 560px; border-radius: 20px; height: auto; max-height: min(92vh, 900px); transform: translateY(24px); opacity: 0; transition: transform .2s ease-out, opacity .2s; }
  .folha.cheia { height: min(92vh, 900px); }
  .ov.aberto .folha { opacity: 1; }
}

/* Detalhe do item */
.det-foto { position: relative; aspect-ratio: 4 / 3; max-height: 42dvh; width: 100%; background: #eee; overflow: hidden; }
.det-foto.sem-foto { background: var(--primaria); }
.det-foto.sem-foto img { display: none; }
.det-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.det-fechar {
  position: absolute; top: 10px; right: 10px; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .92); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); color: #1a1a1a;
}
.det-fechar svg { width: 22px; height: 22px; }
.det-info { padding: 16px 16px 4px; }
.det-info h2 { margin: 0 0 6px; font-size: 22px; font-weight: 800; line-height: 1.2; }
.det-info p { margin: 0 0 10px; color: var(--suave); font-size: 15.5px; }
.det-info .preco { font-size: 20px; }
.det-info .selo { position: static; display: inline-block; margin-left: 8px; vertical-align: 2px; }

.bloco { margin: 12px 16px; padding: 14px 16px; background: var(--superficie); border-radius: var(--raio); box-shadow: var(--sombra); }
.bloco > h3, .bloco legend { margin: 0 0 8px; padding: 0; font-size: 16.5px; font-weight: 800; }
.bloco legend small, .bloco h3 small { font-weight: 500; color: var(--suave); font-size: 13.5px; margin-left: 6px; }
fieldset.bloco { border: 0; min-width: 0; }

.opcao {
  display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 0; border-top: 1px solid var(--linha); cursor: pointer;
}
.opcao:first-of-type { border-top: 0; }
.opcao input { width: 22px; height: 22px; accent-color: var(--primaria); flex: none; margin: 0; }
.opcao span { flex: 1; font-size: 16px; }
.opcao b { font-weight: 700; color: var(--suave); white-space: nowrap; font-size: 15px; }

textarea, .campo input, .campo select {
  width: 100%; border: 1px solid var(--linha); border-radius: 12px; background: var(--campo); padding: 12px 14px;
  font-size: 16px; outline: none; -webkit-appearance: none; appearance: none;
}
.campo input, .campo select { height: 52px; }
textarea { min-height: 76px; resize: vertical; }
textarea:focus, .campo input:focus { border-color: var(--primaria); background: var(--superficie); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primaria) 18%, transparent); }
.contador { text-align: right; font-size: 12.5px; color: var(--suave); margin-top: 4px; }

.qtd { display: inline-flex; align-items: center; border: 1px solid var(--linha); border-radius: 999px; background: var(--superficie); flex: none; }
.qtd button { width: 48px; height: 48px; border: 0; background: none; border-radius: 50%; display: grid; place-items: center; color: var(--primaria); }
.qtd button svg { width: 20px; height: 20px; }
.qtd button:disabled { color: var(--linha); cursor: default; }
.qtd output { min-width: 28px; text-align: center; font-weight: 800; font-size: 17px; }
.qtd.pequena button { width: 44px; height: 44px; }

.btn-prim {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 18px;
  border: 0; border-radius: 14px; background: var(--primaria); color: var(--sobre-primaria);
  font-size: 17px; font-weight: 800; width: 100%; text-decoration: none; transition: transform .1s, opacity .15s;
}
.btn-prim:active:not(:disabled) { transform: scale(.98); }
.btn-prim:disabled { opacity: .42; cursor: not-allowed; }
.btn-prim svg { width: 22px; height: 22px; }
.btn-sec {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 16px;
  border: 1px solid var(--linha); border-radius: 14px; background: var(--superficie); color: var(--texto);
  font-size: 16px; font-weight: 700; text-decoration: none; width: 100%;
}
.btn-sec svg { width: 20px; height: 20px; }

/* Carrinho */
.lista { list-style: none; margin: 0; padding: 0; }
.linha { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid var(--linha); }
.linha:first-child { border-top: 0; padding-top: 4px; }
.linha-foto { width: 76px; height: 57px; border-radius: 10px; object-fit: cover; flex: none; background: var(--primaria); }
.linha-foto.sem-foto { display: grid; place-items: center; color: var(--sobre-primaria); font-weight: 800; font-size: 22px; }
.linha-info { flex: 1; min-width: 0; }
.linha-topo { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.linha-topo strong { font-size: 15.5px; line-height: 1.25; }
.linha-preco { font-weight: 800; white-space: nowrap; }
.linha-extra, .linha-obs { font-size: 13.5px; color: var(--suave); margin-top: 2px; overflow-wrap: anywhere; }
.linha-acoes { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-top: 8px; gap: 8px; row-gap: 4px; }
.link-remover { border: 0; background: none; color: var(--erro); font-weight: 650; font-size: 14.5px; min-height: 44px; padding: 0 4px; }
.link-editar { border: 0; background: none; color: var(--primaria); font-weight: 650; font-size: 14.5px; min-height: 44px; padding: 0 4px; }

.vazio { text-align: center; padding: 48px 24px; color: var(--suave); font-size: 16.5px; }
.vazio svg { width: 56px; height: 56px; opacity: .45; display: block; margin: 0 auto 12px; }
.vazio .btn-sec { margin-top: 18px; }

.cupom-linha { display: flex; gap: 8px; }
.cupom-linha input {
  flex: 1; min-width: 0; height: 50px; border: 1px solid var(--linha); border-radius: 12px; background: var(--campo);
  padding: 0 14px; font-size: 16px; text-transform: uppercase; outline: none;
}
.cupom-linha input:focus { border-color: var(--primaria); }
.cupom-linha .btn-sec { width: auto; min-height: 50px; }
.cupom-msg { margin: 8px 0 0; font-size: 14.5px; font-weight: 600; }
.cupom-msg:empty { display: none; }
.ok-txt { color: var(--destaque); }
.erro-txt { color: var(--erro); }
.nota { font-size: 13.5px; color: var(--suave); margin: 8px 0 0; }
.link-txt { border: 0; background: none; padding: 0 4px; min-height: 40px; color: var(--suave); text-decoration: underline; font-size: 14px; }

.totais { margin: 0; }
.totais div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 15.5px; }
.totais dt { color: var(--suave); }
.totais dd { margin: 0; font-weight: 650; white-space: nowrap; }
.totais .desconto dd, .totais .desconto dt { color: var(--destaque); }
.totais .total { border-top: 1px solid var(--linha); margin-top: 6px; padding-top: 10px; font-size: 19px; }
.totais .total dt { color: var(--texto); font-weight: 800; }
.totais .total dd { font-weight: 850; }
.alerta { margin: 0; padding: 10px 12px; border-radius: 12px; font-size: 14.5px; font-weight: 600; background: color-mix(in srgb, var(--erro) 9%, transparent); color: var(--erro); }
.alerta.info { background: color-mix(in srgb, var(--texto) 6%, transparent); color: var(--texto); font-weight: 500; }

/* Checkout */
.escolhas { display: grid; gap: 10px; }
.escolhas.duas { grid-template-columns: 1fr 1fr; }
.escolha { position: relative; display: block; cursor: pointer; }
.escolha input { position: absolute; opacity: 0; pointer-events: none; }
.escolha span {
  display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 64px; padding: 10px 14px; height: 100%;
  border: 2px solid var(--linha); border-radius: 14px; background: var(--superficie); transition: border-color .15s, background-color .15s;
}
.escolha strong { font-size: 16px; }
.escolha small { font-size: 13px; color: var(--suave); }
.escolha input:checked + span { border-color: var(--primaria); background: color-mix(in srgb, var(--primaria) 7%, var(--superficie)); }
.escolha input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--primaria) 55%, transparent); outline-offset: 2px; }
.escolhas.tres { grid-template-columns: repeat(3, 1fr); }
.escolhas.tres .escolha span { align-items: center; text-align: center; min-height: 56px; padding: 8px 6px; }

.campo { margin-top: 12px; }
.campo:first-child { margin-top: 0; }
.campo label { display: block; font-size: 14.5px; font-weight: 650; margin-bottom: 6px; }
.campo label small { font-weight: 500; color: var(--suave); }
.campo.erro input, .campo.erro textarea { border-color: var(--erro); background: color-mix(in srgb, var(--erro) 5%, #fff); }
.msg-erro { color: var(--erro); font-size: 13.5px; font-weight: 600; margin: 6px 0 0; }
.msg-erro:empty { display: none; }
.duas-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.duas-col .campo:nth-child(2) { margin-top: 0; }

.pix-box { margin-top: 12px; padding: 12px; border-radius: 12px; background: var(--campo); }
.pix-chave { display: flex; align-items: center; gap: 10px; }
.pix-chave code { flex: 1; min-width: 0; font: 600 15px/1.3 var(--fonte); overflow-wrap: anywhere; }
.pix-chave .btn-sec { width: auto; flex: none; min-height: 44px; }
.resumo-itens { margin: 0 0 10px; padding: 0; list-style: none; font-size: 14.5px; }
.resumo-itens li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.resumo-itens li span:last-child { white-space: nowrap; }

/* Confirmação */
.conf-topo { text-align: center; padding: 28px 20px 8px; }
.conf-check {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center;
  background: var(--destaque); color: var(--sobre-destaque);
}
.conf-check svg { width: 38px; height: 38px; }
.conf-topo h2 { margin: 0 0 6px; font-size: 24px; font-weight: 850; }
.conf-topo p { margin: 0; color: var(--suave); font-size: 16px; }
.qr { width: 216px; height: 216px; margin: 6px auto 12px; display: block; background: #fff; padding: 8px; border-radius: 12px; }
.pix-valor { text-align: center; font-size: 15px; margin: 0 0 10px; }
.pix-valor strong { font-size: 20px; }
.botoes { display: grid; gap: 8px; margin-top: 10px; }
.msg-pronta {
  white-space: pre-wrap; overflow-wrap: anywhere; font: 13.5px/1.45 ui-monospace, Consolas, monospace; background: var(--campo);
  border-radius: 12px; padding: 12px; margin: 10px 0 0; max-height: 260px; overflow: auto;
}
details.bloco summary { cursor: pointer; font-weight: 750; min-height: 32px; display: flex; align-items: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Modo demonstração (afiliados) ---------- */
.demo-selo { display: inline-block; margin-top: 10px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .04em; background: color-mix(in srgb, var(--texto) 8%, transparent); color: var(--suave); }
.demo-selo-topo { margin: 0 0 0 8px; }
.demo-quero { margin-top: 12px; }
.demo-cta { border: 2px solid var(--destaque); }

/* ---------- acabamento visual ---------- */
.rodape { text-align: center; line-height: 1.5; padding-bottom: 96px; }
.rodape p:first-child { font-size: 15px; }
.credito { margin-top: 18px !important; font-size: 11px; letter-spacing: .02em; opacity: .55; }
.secao-titulo { display: flex; align-items: center; gap: 10px; }
.secao-titulo::after { content: ""; flex: 1; height: 1px; background: var(--linha); }
.card { transition: transform .18s ease, box-shadow .18s ease; }
@media (hover: hover) { .card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(0,0,0,.06), 0 12px 28px rgba(0,0,0,.09); } }
.card-main:active { transform: scale(.985); }
.preco { font-variant-numeric: tabular-nums; }
.btn-add { transition: transform .15s ease; }
.btn-add:active { transform: scale(.9); }
@media (prefers-reduced-motion: reduce) { .card, .btn-add { transition: none; } }

/* ---------- acabamento visual v2 ---------- */
:root {
  --fonte: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fonte-titulo: ui-rounded, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Roboto, Arial, sans-serif;
  --sombra: 0 1px 2px color-mix(in srgb, var(--texto) 6%, transparent), 0 8px 24px color-mix(in srgb, var(--texto) 7%, transparent);
  --sombra-forte: 0 2px 4px color-mix(in srgb, var(--texto) 8%, transparent), 0 16px 36px color-mix(in srgb, var(--texto) 12%, transparent);
}
body { text-rendering: optimizeLegibility; }
.loja-nome, .secao-titulo, .folha-topo h2, .det-info h2, .bloco > h3, .bloco legend { font-family: var(--fonte-titulo); letter-spacing: -.02em; }

/* topo */
.topo { padding: 26px 16px 16px; background: linear-gradient(180deg, color-mix(in srgb, var(--primaria) 7%, var(--fundo)) 0%, var(--fundo) 100%); }
.logo { width: 76px; height: 76px; box-shadow: 0 0 0 3px var(--fundo), 0 0 0 5px color-mix(in srgb, var(--primaria) 35%, transparent), var(--sombra); }
.loja-nome { font-size: 26px; font-weight: 850; }
.slogan { font-size: 15.5px; }
.status, .btn-insta { min-height: 34px; font-size: 13px; }
.status.aberto::before { box-shadow: 0 0 0 0 currentColor; animation: pulso 2s ease-out infinite; }
@keyframes pulso { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--destaque) 55%, transparent); } 100% { box-shadow: 0 0 0 8px transparent; } }
.btn-insta { transition: border-color .15s, background-color .15s; }
@media (hover: hover) { .btn-insta:hover { border-color: color-mix(in srgb, var(--primaria) 45%, transparent); } }

/* busca e categorias */
.busca input { border-radius: 999px; box-shadow: 0 1px 2px color-mix(in srgb, var(--texto) 5%, transparent); }
.cat { min-height: 40px; font-size: 14.5px; }
.cat.ativa { box-shadow: 0 4px 12px color-mix(in srgb, var(--primaria) 30%, transparent); }
@media (hover: hover) { .cat:not(.ativa):hover { border-color: color-mix(in srgb, var(--primaria) 45%, transparent); } }

/* cards */
.secao-titulo { font-size: 21px; margin-top: 26px; }
.card { border: 1px solid color-mix(in srgb, var(--texto) 6%, transparent); }
.foto img { transition: transform .35s ease; }
@media (hover: hover) { .card:hover .foto img { transform: scale(1.04); } .card:hover { box-shadow: var(--sombra-forte); } }
.card-nome { letter-spacing: -.01em; }
.preco { font-size: 17px; letter-spacing: -.01em; }
.selo { box-shadow: 0 2px 6px rgba(0,0,0,.15); backdrop-filter: blur(4px); }
.selo-esgotado { background: rgba(30,30,30,.85); }

/* computador: página mais larga e cards em duas colunas */
@media (min-width: 900px) {
  .pagina { max-width: 980px; }
  .grade { grid-template-columns: 1fr 1fr; gap: 16px; }
  .card .foto { width: 180px; }
  .aviso-dono { max-width: 980px; }
}

/* telas sobrepostas */
.ov-fundo { background: rgba(15, 12, 10, .5); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.folha:not(.cheia)::before {
  content: ""; position: absolute; top: 8px; left: 50%; z-index: 2; width: 40px; height: 5px; margin-left: -20px;
  border-radius: 999px; background: rgba(255,255,255,.85); box-shadow: 0 1px 3px rgba(0,0,0,.25);
}
@media (min-width: 720px) { .folha:not(.cheia)::before { display: none; } }
.bloco { border: 1px solid color-mix(in srgb, var(--texto) 6%, transparent); }
/* fieldset com borda: o título (legend) fica dentro do bloco, não em cima da linha */
fieldset.bloco > legend { float: left; width: 100%; }
fieldset.bloco > legend + * { clear: both; }

/* botão do pedido */
.barra-pedido { border-radius: 999px; box-shadow: 0 10px 30px color-mix(in srgb, var(--primaria) 38%, rgba(0,0,0,.2)); letter-spacing: -.005em; }
.barra-pedido::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(255,255,255,.16), transparent 55%); pointer-events: none; }
.aviso-toast { box-shadow: 0 8px 24px rgba(0,0,0,.25); }
@media (prefers-reduced-motion: reduce) { .foto img, .status.aberto::before { transition: none; animation: none; } }

/* ---------- fontes próprias (arquivos em fonts/, sem depender da internet de terceiros) ---------- */
@font-face { font-family: "Hero7 Titulo"; src: url("fonts/titulo.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Hero7 Texto"; src: url("fonts/texto.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --fonte: "Hero7 Texto", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --fonte-titulo: "Hero7 Titulo", "Hero7 Texto", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
.loja-nome, .secao-titulo, .det-info h2, .folha-topo h2 { font-weight: 800; letter-spacing: -.025em; }
.card-nome { font-family: var(--fonte-titulo); font-weight: 700; letter-spacing: -.01em; }
.preco, .barra-pedido, .btn-prim { font-family: var(--fonte-titulo); }

/* ---------- Funções novas (01/12): base ---------- */
.det-compartilhar {
  position: absolute; top: 10px; left: 10px; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .92); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); color: #1a1a1a;
}
.det-compartilhar svg { width: 22px; height: 22px; }
.busca-adic { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--linha); border-radius: 10px; margin-bottom: 6px; font: inherit; font-size: 15px; background: var(--fundo); color: var(--texto); }
.frete-banner { margin: 0; padding: 10px 16px; text-align: center; font-size: 14.5px; font-weight: 600; color: var(--texto); background: color-mix(in srgb, var(--primaria) 10%, transparent); }
.mesa-banner { margin: 0; padding: 10px 16px; text-align: center; font-size: 14.5px; font-weight: 600; color: var(--texto); background: color-mix(in srgb, var(--primaria) 10%, transparent); }
.ultimo-pedido { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 16px 0; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--primaria) 8%, transparent); border: 1px solid color-mix(in srgb, var(--primaria) 25%, transparent); }
.ultimo-pedido strong { display: block; font-size: 14.5px; }
.ultimo-pedido span { font-size: 13px; color: var(--suave); }
.prato-dia { margin: 12px 16px 0; }
.prato-dia h2 { margin: 0 0 8px; font-size: 17px; font-weight: 800; }
.selo-prato { background: var(--destaque); color: var(--sobre-destaque); }
.selo-fav { background: #fff; color: var(--texto); box-shadow: 0 1px 4px rgb(0 0 0 / .25); }
.favoritos { margin: 12px 16px 0; }
.favoritos h2 { margin: 0 0 8px; font-size: 17px; font-weight: 800; }
.fav-carrossel { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 10px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.fav-card { flex: 0 0 148px; scroll-snap-align: start; position: relative; background: var(--superficie); border-radius: var(--raio); box-shadow: var(--sombra); overflow: hidden; cursor: pointer; }
.fav-card img { display: block; width: 100%; height: 104px; object-fit: cover; }
.fav-info { padding: 8px 10px 10px; }
.fav-info strong { display: block; font-size: 14px; line-height: 1.3; }
.fav-info span { display: block; margin-top: 2px; font-size: 13.5px; font-weight: 700; color: var(--suave); }
.fav-add { position: absolute; right: 8px; bottom: 8px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--primaria); color: var(--sobre-primaria); display: grid; place-items: center; box-shadow: 0 3px 10px color-mix(in srgb, var(--primaria) 40%, transparent); }
.fav-add svg { width: 20px; height: 20px; }
.fav-add:active { transform: scale(.9); }
.fidelidade { margin: 12px 16px 0; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--primaria) 8%, transparent); border: 1px solid color-mix(in srgb, var(--primaria) 25%, transparent); }
.fidelidade h2 { margin: 0 0 6px; font-size: 17px; font-weight: 800; }
.fidelidade p { margin: 0 0 8px; font-size: 14px; }
.fidelidade details { margin-top: 8px; font-size: 13px; }
.fidelidade details summary { cursor: pointer; font-weight: 650; }
.fidelidade details p { margin: 6px 0 0; color: var(--suave); }
.prog { height: 8px; border-radius: 99px; background: color-mix(in srgb, var(--texto) 10%, transparent); overflow: hidden; margin-top: 8px; }
.prog span { display: block; height: 100%; border-radius: 99px; background: var(--primaria); }

/* ---------- Revisão visual (01/12): topo mais compacto e organizado ---------- */
.prato-dia, .favoritos, .fidelidade { margin-top: 14px; }
.prato-dia h2, .favoritos h2, .fidelidade h2 { display: flex; align-items: center; gap: 6px; letter-spacing: -.01em; }
/* Prato do dia: cartão horizontal (foto à esquerda), em vez de foto gigante */
.prato-dia .card { flex-direction: row; border: 1.5px solid color-mix(in srgb, var(--destaque) 55%, transparent); }
.prato-dia .card-main { flex-direction: row; align-items: stretch; }
.prato-dia .foto { width: 42%; aspect-ratio: auto; min-height: 132px; }
.prato-dia .card-txt { justify-content: center; padding: 12px 14px; }
.prato-dia .card-nome { font-size: 17px; }
.prato-dia .card-desc { -webkit-line-clamp: 2; }
.prato-dia .card-preco { margin-top: 4px; min-height: 0; padding-right: 54px; }
.prato-dia .btn-add { right: 10px; bottom: 10px; }
/* Favoritos: sem barra de rolagem feia, e a borda do próximo card aparece (convida a deslizar) */
.fav-carrossel { scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 10px; scroll-padding-left: 16px; }
.fav-carrossel::-webkit-scrollbar { display: none; }
.fav-card { flex-basis: 140px; }
.fav-info strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
/* Fidelidade: faixa compacta */
.fidelidade { padding: 10px 14px; }
.fidelidade h2 { font-size: 15px; margin-bottom: 4px; }
.fidelidade p { font-size: 13.5px; margin-bottom: 6px; line-height: 1.4; }
.fidelidade .prog { margin: 6px 0 4px; }
.fidelidade details { margin-top: 4px; }
.fidelidade details summary { min-height: 32px; display: flex; align-items: center; }

/* ---------- Acabamento das funções novas (01/12) — no mesmo estilo dos exemplos ---------- */
.prato-dia h2, .favoritos h2, .fidelidade h2 { font-family: var(--fonte-titulo); letter-spacing: -.02em; }
.prato-dia .card { border-color: color-mix(in srgb, var(--destaque) 55%, transparent); }
/* Frete grátis e mesa: aviso arredondado, alinhado ao resto */
.frete-banner, .mesa-banner {
  margin: 4px 16px 0; padding: 10px 14px; border-radius: 14px; font-size: 14px;
  background: color-mix(in srgb, var(--destaque) 10%, var(--superficie));
  border: 1px solid color-mix(in srgb, var(--destaque) 28%, transparent);
  color: color-mix(in srgb, var(--destaque) 55%, var(--texto));
}
/* Títulos das seções com a quantidade de itens (a linha do título continua depois) */
.secao-titulo small { font-family: var(--fonte); font-size: 13px; font-weight: 600; color: var(--suave); letter-spacing: 0; white-space: nowrap; }
/* Fidelidade como cartela de selos */
.cartela { display: grid; grid-template-columns: repeat(auto-fill, minmax(26px, 1fr)); gap: 6px; margin: 8px 0 6px; max-width: 360px; }
.selo-fid {
  aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-size: 14px; line-height: 1;
  border: 2px dashed color-mix(in srgb, var(--primaria) 35%, transparent); color: var(--sobre-primaria);
  background: var(--superficie);
}
.selo-fid.cheio { border: 0; background: var(--primaria); box-shadow: 0 2px 6px color-mix(in srgb, var(--primaria) 35%, transparent); }
.selo-fid.premio:not(.cheio) { border-style: solid; border-color: var(--destaque); font-size: 13px; }
/* Último pedido e favoritos com o mesmo contorno dos cards */
.ultimo-pedido .btn-prim, .ultimo-pedido .btn-sec { width: auto; min-height: 44px; flex: none; }
.fav-card { border: 1px solid color-mix(in srgb, var(--texto) 6%, transparent); }
.fav-info strong { font-family: var(--fonte-titulo); font-weight: 700; }
@media (hover: hover) { .fav-card { transition: transform .15s, box-shadow .15s; } .fav-card:hover { transform: translateY(-2px); box-shadow: var(--sombra-forte); } }
@media (prefers-reduced-motion: reduce) { .fav-card { transition: none; } .fav-card:hover { transform: none; } }
/* Computador: prato do dia e fidelidade não esticam demais */
@media (min-width: 900px) {
  .prato-dia .card { max-width: 640px; }
  .prato-dia .foto { width: 220px; }
}
/* Preço "a partir de" não fica embaixo do botão + */
.prato-dia .preco { white-space: normal; font-size: 16px; line-height: 1.25; }
.fav-info { padding-right: 50px; min-height: 74px; }
.fav-info span { line-height: 1.3; }
/* Pizza com mais de um sabor */
.sab-regra { margin: 0 0 8px; }
.bloco-sab .opcao b { font-weight: 700; color: var(--suave); }
.bloco-sab .opcao input:checked ~ span { font-weight: 700; }
.bloco-sab .opcao input:checked ~ b { color: var(--primaria); }
.opcao.indisponivel { opacity: .5; }
.opcao.indisponivel b { font-weight: 500; font-size: 13px; }
.opcao input:disabled { cursor: not-allowed; }
.bloco-sab .opcao:has(input:disabled) { opacity: .45; }
.sab-resumo { margin: 0 0 10px; padding: 10px 12px; border-radius: 12px; font-size: 14.5px; background: color-mix(in srgb, var(--primaria) 9%, var(--superficie)); border: 1px solid color-mix(in srgb, var(--primaria) 22%, transparent); }
.sab-resumo strong { color: var(--primaria); }
.sab-resumo small { color: var(--suave); }
/* Complementos (monte do seu jeito) */
.comp-regra { margin: 0 0 8px; }
.bloco-comp .opcao b { font-weight: 700; color: var(--suave); font-size: 14px; }
.bloco-comp .opcao b.gratis { color: var(--destaque); }
.bloco-comp .opcao input:checked ~ span { font-weight: 700; }
.bloco-comp .opcao:has(input:disabled) { opacity: .45; }
/* Venda por peso */
.por-kg { font-size: .78em; font-weight: 700; opacity: .8; margin-left: 1px; }
.por-kg-det { font-weight: 700; color: var(--primaria); font-size: 15px; margin-left: 2px; }
.peso-linha { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 8px; }
.peso-qtd output { min-width: 78px; font-size: 18px; }
.peso-valor { text-align: right; }
.peso-valor small { display: block; font-size: 12.5px; color: var(--suave); }
.peso-valor strong { font-family: var(--fonte-titulo); font-size: 20px; color: var(--primaria); }
.nota-peso { margin: 8px 0 0; padding: 8px 10px; border-radius: 10px; background: color-mix(in srgb, var(--destaque) 10%, var(--superficie)); color: var(--texto); }

/* ===== v2.1 lote 2: "Meus pedidos" e "Já pediu aqui?" ===== */
.meus-pedidos { margin: 12px 16px 0; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--primaria) 8%, transparent); border: 1px solid color-mix(in srgb, var(--primaria) 25%, transparent); }
.meus-pedidos h2 { margin: 0 0 6px; font-size: 17px; font-weight: 800; }
.meu-pedido { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid color-mix(in srgb, var(--primaria) 25%, transparent); }
.meu-pedido:first-of-type { border-top: 0; }
.meu-pedido strong { display: block; font-size: 14.5px; }
.meu-pedido span { font-size: 13px; color: var(--suave); }
.meu-pedido .btn-sec { width: auto; min-height: 44px; flex: none; }
.ja-pediu { margin: 12px 16px 0; text-align: center; }
.ja-pedido-form { display: flex; gap: 8px; margin-top: 10px; }
.ja-pedido-form input { flex: 1; min-width: 0; min-height: 48px; padding: 10px 14px; border: 1.5px solid #c9ced5; border-radius: 10px; font-size: 16px; }

/* v2.1 lote 4: avaliação do pedido (5 estrelas na tela de confirmação). */
.aval-estrelas { display: flex; gap: 2px; margin: 6px 0 10px; }
.aval-estrela { background: none; border: 0; padding: 4px 2px; font-size: 34px; line-height: 1; color: #c9ced5; cursor: pointer; }
.aval-estrela.on { color: #f5a623; }
#aval-comentario { width: 100%; box-sizing: border-box; margin-bottom: 10px; }

/* =====================================================================
   Redesenho 02/12 — cardápio do cliente (só visual; a lógica não muda)
   As cores continuam vindo do config da loja. Papéis:
   --texto   = faixa escura do topo (a "chapa")
   --primaria = botão +, aba ativa e botão do pedido
   ===================================================================== */

/* Topo: faixa escura, nome da loja grande */
.topo {
  background: var(--texto); color: var(--fundo);
  padding: 22px 16px 20px;
}
.topo-in { flex-direction: column; align-items: flex-start; gap: 14px; }
.logo {
  width: 64px; height: 64px;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--fundo) 22%, transparent);
}
.loja-nome {
  font-size: clamp(34px, 10.5vw, 48px); line-height: .96; font-weight: 800;
  letter-spacing: -.035em; text-wrap: balance;
}
.slogan { margin-top: 8px; font-size: 16px; color: color-mix(in srgb, var(--fundo) 78%, transparent); }
.cidade { color: color-mix(in srgb, var(--fundo) 62%, transparent); }
.topo-acoes { margin-top: 16px; }
.status {
  background: color-mix(in srgb, var(--fundo) 12%, transparent);
  color: color-mix(in srgb, var(--fundo) 86%, transparent);
}
.status.aberto { background: var(--destaque); color: var(--sobre-destaque); }
.status.aberto::before { animation: none; box-shadow: none; }
.btn-insta {
  background: transparent; color: var(--fundo);
  border-color: color-mix(in srgb, var(--fundo) 30%, transparent);
}
@media (hover: hover) { .btn-insta:hover { border-color: var(--fundo); } }

/* Frete grátis / mesa: faixa logo abaixo do topo, sem caixa */
.frete-banner, .mesa-banner {
  margin: 0; border: 0; border-radius: 0; text-align: left;
  padding: 11px 16px; font-size: 14.5px; font-weight: 650;
  background: color-mix(in srgb, var(--destaque) 12%, var(--fundo));
  color: color-mix(in srgb, var(--destaque) 60%, var(--texto));
}

/* Busca e categorias: abas sublinhadas */
.barra { background: var(--fundo); padding-top: 12px; padding-bottom: 0; }
.barra.colada { border-bottom-color: transparent; box-shadow: 0 6px 14px -10px color-mix(in srgb, var(--texto) 40%, transparent); }
.busca input { height: 46px; border-radius: 12px; box-shadow: none; background: var(--superficie); }
.cats {
  gap: 22px; padding: 4px 16px 0; margin-top: 6px;
  border-bottom: 1px solid var(--linha);
}
.cat, .cat.ativa {
  min-height: 46px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
  color: var(--suave); font-size: 15.5px; font-weight: 700;
}
/* (abas sublinhadas de 02/12 substituídas pelas pílulas Comanda7 no fim do arquivo) */
.cat.ativa { color: var(--texto); }
@media (hover: hover) { .cat:not(.ativa):hover { color: var(--texto); } }

/* Títulos das seções */
.secao-titulo { display: block; margin: 30px 16px 2px; font-size: 27px; line-height: 1.1; }
.secao-titulo::after { content: none; }
.secao-titulo small { margin-left: 6px; font-size: 14px; vertical-align: 3px; }

/* Itens: lista de cardápio (texto à esquerda, foto à direita) */
.secao .grade { display: block; padding: 0 16px; }
.secao .card {
  background: none; border: 0; border-radius: 0; box-shadow: none; overflow: visible;
  border-top: 1px solid var(--linha); transform: none;
}
.secao .card:first-child { border-top: 0; }
@media (hover: hover) { .secao .card:hover { transform: none; box-shadow: none; } .secao .card:hover .foto img { transform: none; } }
.secao .card-main { flex-direction: row-reverse; align-items: flex-start; gap: 14px; padding: 16px 0; }
.secao .card-main:active { transform: none; background: color-mix(in srgb, var(--texto) 4%, transparent); }
.secao .foto { width: 108px; aspect-ratio: 1; border-radius: 14px; }
.secao .card-txt { padding: 2px 0 0; gap: 5px; }
.secao .card-nome { font-size: 17px; line-height: 1.2; }
.secao .card-desc { font-size: 14px; line-height: 1.4; }
.secao .card-preco {
  flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: flex-start; column-gap: 8px;
  min-height: 0; padding: 6px 0 0;
}
.secao .preco { color: var(--texto); font-size: 17px; }
.secao .btn-add {
  right: 6px; bottom: 22px; width: 40px; height: 40px;
  box-shadow: 0 4px 10px color-mix(in srgb, var(--texto) 25%, transparent);
}
.secao .btn-add svg { width: 20px; height: 20px; }
.secao .selo { top: 6px; left: 6px; right: 6px; width: fit-content; font-size: 11px; padding: 3px 7px; white-space: normal; }
.secao .card.esgotado .card-preco { padding-right: 0; }
@media (min-width: 560px) {
  .secao .card .foto { width: 132px; }
  .secao .card-preco { padding-right: 0; }
  .secao .btn-add { width: 44px; height: 44px; }
}
@media (min-width: 900px) {
  .secao .grade { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .secao .card:nth-child(2) { border-top: 0; }
}

/* Prato do dia, favoritos e fidelidade: mais calmos */
.prato-dia h2, .favoritos h2, .fidelidade h2 { font-size: 19px; }
.prato-dia .card { border: 1.5px solid var(--primaria); box-shadow: none; }
.prato-dia .preco { color: var(--texto); }
.fav-card { box-shadow: none; }
.fav-info span { color: var(--texto); }
.fidelidade, .meus-pedidos {
  background: var(--superficie); border: 1px solid var(--linha);
}
.meu-pedido { border-top-color: var(--linha); }
/* "Meus pedidos" vazio não ocupa a tela: só aparece quando há pedido */
.meus-pedidos:not(:has(.meu-pedido)) { display: none; }
/* Na lista, o preço riscado já mostra a economia: o selo sai da foto */
.secao .selo-economia { display: none; }
.secao .preco-antigo + .preco { color: var(--destaque); }
.topo { padding-top: 20px; }
.logo { width: 58px; height: 58px; }
.topo-in { gap: 12px; }
/* Correção: o valor da entrega (span dentro do small) herdava a caixa da opção */
.escolha small span { display: inline; min-height: 0; padding: 0; border: 0; background: none; height: auto; }

/* Revisão no celular (375px) — 02/12 */
/* Toque: Instagram e o + dos favoritos com área de toque de pelo menos 44px */
.btn-insta { min-height: 44px; }
.fav-add::after { content: ""; position: absolute; inset: -6px; }
/* Tela do item: "Adicionar — R$ 00,00" numa linha só */
.folha-pe .pe-linha { gap: 8px; }
.folha-pe .qtd button { width: 44px; height: 48px; }
.folha-pe .pe-linha .btn-prim { padding: 0 12px; font-size: 16px; white-space: nowrap; }
.det-info .preco { color: var(--texto); }
.barra-pedido { white-space: nowrap; }
.frete-banner, .mesa-banner { text-wrap: pretty; }
@media (max-width: 360px) { .barra-pedido { font-size: 15px; padding: 0 14px; gap: 8px; } }

/* Nota no Google (selo no topo, opção do dono) */
.nota-google {
  display: inline-flex; align-items: center; gap: 5px; min-height: 44px; padding: 6px 14px; border-radius: 999px;
  background: color-mix(in srgb, var(--fundo) 10%, transparent); color: var(--fundo);
  border: 1px solid color-mix(in srgb, var(--fundo) 30%, transparent);
  font-size: 13.5px; font-weight: 600; text-decoration: none; line-height: 1.25;
}
.nota-google strong { font-weight: 800; }
.nota-google .nota-estrela { color: #F5B301; font-size: 15px; }
.nota-google em { font-style: normal; font-weight: 600; color: color-mix(in srgb, var(--fundo) 70%, transparent); }
@media (hover: hover) { a.nota-google:hover { border-color: var(--fundo); } }
.nota-google { display: inline-block; padding: 11px 14px; border-radius: 22px; max-width: 100%; }
.nota-google em { white-space: nowrap; }
.busca-adic { min-height: 44px; }
.cat, .cat.ativa { min-width: 44px; justify-content: center; }
/* Botão Adicionar: quando não cabe ao lado da quantidade, desce para a linha de baixo inteiro */
.folha-pe .pe-linha { flex-wrap: wrap; }
.folha-pe .pe-linha .btn-prim { flex: 1 1 auto; }

/* =====================================================================
   v3 (03/12) — topo no padrão dos concorrentes (Kame, Do Cheff, ID3)
   Capa com foto · logo sobre a capa · nome numa linha · status, nota e
   Instagram numa linha · faixa de fatos · fidelidade compacta · promoções.
   Fundo claro no topo (a faixa escura saiu).
   ===================================================================== */
.topo3 { background: var(--fundo); color: var(--texto); padding: 18px 16px 6px; }
.topo3.com-capa { padding-top: 0; }
.topo3 .capa { margin: 0 -16px; height: clamp(132px, 38vw, 220px); overflow: hidden; background: color-mix(in srgb, var(--texto) 10%, var(--fundo)); }
.topo3 .capa img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 721px) { .topo3 .capa { margin: 0; border-radius: 0 0 18px 18px; } .topo3.com-capa { padding: 0 16px 6px; } }
.topo3 .topo-in { flex-direction: row; align-items: flex-end; gap: 12px; }
.topo3.com-capa .topo-in { margin-top: -30px; }
.topo3 .logo {
  width: 72px; height: 72px; border-radius: 50%;
  box-shadow: 0 0 0 4px var(--fundo), 0 2px 10px rgba(0,0,0,.18);
}
.topo3 .topo-id { min-width: 0; padding-bottom: 2px; }
.topo3.com-capa .topo-id { padding-top: 34px; }
.topo3 .loja-nome {
  font-size: clamp(21px, 6.2vw, 28px); line-height: 1.1; letter-spacing: -.02em;
  text-wrap: balance;
}
.topo3 .slogan { margin: 2px 0 0; font-size: 14px; line-height: 1.3; color: var(--suave); }
.topo3 .cidade { margin: 2px 0 0; font-size: 13px; color: var(--suave); }
.topo3 .topo-acoes { margin-top: 12px; gap: 6px; flex-wrap: wrap; }
.topo3 .topo-acoes::-webkit-scrollbar { display: none; }
.topo3 .status, .topo3 .nota-google, .topo3 .btn-insta {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  min-height: 36px; padding: 0 12px; border-radius: 999px;
  font-size: 13px; font-weight: 650; white-space: nowrap; line-height: 1;
  background: var(--superficie); color: var(--texto);
  border: 1px solid var(--linha);
}
.topo3 .status { background: color-mix(in srgb, var(--texto) 7%, var(--fundo)); border-color: transparent; color: var(--texto); }
.topo3 .status.aberto { background: color-mix(in srgb, var(--destaque) 14%, var(--fundo)); color: color-mix(in srgb, var(--destaque) 75%, var(--texto)); }
.topo3 .status:not(.aberto):not(.neutro) { color: color-mix(in srgb, var(--erro) 80%, var(--texto)); background: color-mix(in srgb, var(--erro) 9%, var(--fundo)); }
.topo3 .nota-google em { color: var(--suave); font-weight: 600; }
.topo3 .nota-google .nota-qtd { color: var(--suave); font-weight: 600; }
.topo3 .btn-insta svg { width: 16px; height: 16px; }
/* área de toque de 44px sem aumentar o desenho */
.topo3 .btn-insta, .topo3 a.nota-google { position: relative; }
.topo3 .btn-insta::after, .topo3 a.nota-google::after { content: ""; position: absolute; inset: -4px 0; }
@media (max-width: 400px) { .topo3 .btn-insta span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .topo3 .btn-insta { padding: 0 10px; } }

/* Faixa de fatos: entrega · taxa · pedido mínimo (como a Kame) */
.fatos {
  list-style: none; margin: 12px 16px 0; padding: 0;
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  border: 1px solid var(--linha); border-radius: 14px; background: var(--superficie);
}
.fatos li { padding: 10px 6px; text-align: center; display: flex; flex-direction: column; gap: 1px; justify-content: center; min-width: 0; }
.fatos li + li { border-left: 1px solid var(--linha); }
.fatos span { font-size: 12px; color: var(--suave); }
.fatos strong { font-size: 14px; font-weight: 750; }
.fatos small { font-size: 11.5px; line-height: 1.2; color: color-mix(in srgb, var(--destaque) 75%, var(--texto)); font-weight: 650; }
.mesa-banner { margin: 12px 16px 0; border-radius: 14px; }

/* Fidelidade compacta */
.slot:empty { display: none; }
.fidelidade { margin: 12px 16px 0; padding: 10px 14px 6px; border-radius: 14px; background: var(--superficie); border: 1px solid var(--linha); }
.fidelidade h2 { display: flex; align-items: center; justify-content: space-between; margin: 0 0 2px; font-size: 15px; }
.fid-conta { font-family: var(--fonte); font-size: 12.5px; font-weight: 750; padding: 3px 9px; border-radius: 999px; background: color-mix(in srgb, var(--primaria) 12%, var(--fundo)); color: color-mix(in srgb, var(--primaria) 80%, var(--texto)); letter-spacing: 0; }
.fidelidade p { margin: 0; font-size: 13.5px; color: var(--suave); }
.fidelidade p strong { color: var(--texto); }
.fidelidade .cartela { display: flex; gap: 5px; margin: 8px 0 2px; max-width: none; }
.fidelidade .selo-fid { width: 22px; height: 22px; min-width: 0; flex: 1 1 0; max-width: 28px; aspect-ratio: auto; font-size: 11px; }
.fidelidade details summary { min-height: 36px; font-size: 12.5px; color: var(--suave); }

/* Promoções e destaques: carrossel com cartões iguais */
.promocoes { margin: 18px 16px 0; }
.promocoes h2, .favoritos h2, .prato-dia h2 { font-size: 18px; margin: 0 0 8px; }
.promo-card { position: relative; }
.promo-selo {
  position: absolute; z-index: 1; top: 8px; left: 8px;
  padding: 3px 8px; border-radius: 999px; font-size: 12px; font-weight: 800;
  background: var(--destaque); color: var(--sobre-destaque);
}
.promo-card .fav-info span { color: var(--destaque); font-weight: 800; }
.promo-card .fav-info s { display: block; color: var(--suave); font-weight: 500; font-size: 12.5px; }
.fav-sem-foto { display: grid; place-items: center; height: 104px; font-size: 34px; font-weight: 800; color: var(--suave); background: color-mix(in srgb, var(--texto) 6%, var(--fundo)); }
.favoritos { margin-top: 18px; }

/* v3 cores firmes (03/12): selos e status com a cor cheia da loja, sem tons lavados */
.topo3 .status.aberto { background: var(--destaque); color: var(--sobre-destaque); }
.topo3 .status:not(.aberto):not(.neutro) { background: color-mix(in srgb, var(--erro) 12%, var(--fundo)); color: #9F1D1D; }
.fatos small { color: var(--destaque); font-weight: 750; }
.fid-conta { background: var(--primaria); color: var(--sobre-primaria); }
.fidelidade .selo-fid:not(.cheio) { border-color: color-mix(in srgb, var(--primaria) 55%, var(--fundo)); }
.promo-selo { background: var(--destaque); color: var(--sobre-destaque); }
.promo-card .fav-info span { color: var(--destaque); }
/* v3 sem cara de modelo: o desconto é uma etiqueta de preço (furo + ponta), com a fonte de título da loja */
.promo-selo {
  top: 10px; left: 0; padding: 4px 10px 4px 16px; border-radius: 0 6px 6px 0;
  font-family: var(--fonte-titulo, inherit); font-size: 13px; letter-spacing: -.01em;
  clip-path: polygon(9px 0, 100% 0, 100% 100%, 9px 100%, 0 50%);
}
.promo-selo::before { content: ""; position: absolute; left: 7px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--superficie); }
.fidelidade h2, .promocoes h2, .favoritos h2 { font-family: var(--fonte-titulo, inherit); }

/* ---------- FoodControl (Cardápio Digital Hero7 dentro do FoodControl) ---------- */
.det-favorito {
  position: absolute; top: 10px; right: 68px; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .92); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); color: #1a1a1a; cursor: pointer;
}
.det-favorito svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.det-favorito.on { color: #E0475B; }
.det-favorito.on svg { fill: currentColor; }
.credito .h7-sete { color: #FF6A3D; font-weight: 800; }
.h7-jogos-link { font-weight: 600; }

/* =====================================================================
   Comanda7 (05/12) — redesign do cardápio do cliente
   Claro, com a cor da loja (--primaria) e o acabamento Comanda7:
   capa com cor da loja quando não há foto, abas em pílula, itens com
   foto arredondada, movimento suave (entrada, rolagem, folhas com mola).
   Tudo respeita "reduzir movimento".
   ===================================================================== */
:root {
  --c7-mola: cubic-bezier(.32, .72, 0, 1);
  --c7-saida: cubic-bezier(.23, 1, .32, 1);
  --raio: 18px;
  --sombra: 0 1px 2px color-mix(in srgb, var(--texto) 5%, transparent), 0 10px 30px -14px color-mix(in srgb, var(--texto) 22%, transparent);
}
body { background: var(--fundo); }
::selection { background: color-mix(in srgb, var(--primaria) 28%, transparent); }

/* Topo: capa (foto ou cor da loja), logo sobre a capa */
.topo3.com-capa { padding-bottom: 4px; }
.topo3 .capa { position: relative; height: clamp(124px, 34vw, 210px); }
.topo3 .capa img { animation: c7-capa 1.1s var(--c7-saida) both; }
.topo3 .capa::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, color-mix(in srgb, var(--fundo) 35%, transparent) 100%);
}
.capa-auto {
  background:
    radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1.6px) 0 0 / 16px 16px,
    radial-gradient(90% 130% at 88% -10%, color-mix(in srgb, var(--primaria) 70%, #ffd9a0) 0%, transparent 60%),
    radial-gradient(70% 120% at 0% 110%, color-mix(in srgb, var(--primaria) 60%, #000) 0%, transparent 70%),
    linear-gradient(135deg, color-mix(in srgb, var(--primaria) 92%, #000) 0%, color-mix(in srgb, var(--primaria) 62%, #000) 100%) !important;
}
.capa-auto::before {
  content: ""; position: absolute; right: -40px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .22), transparent);
  animation: c7-brilho 7s ease-in-out infinite;
}
.topo3.com-capa .topo-in { margin-top: -34px; position: relative; z-index: 1; }
.topo3.com-capa .topo-id { padding-top: 40px; }
.topo3 .logo {
  width: 76px; height: 76px;
  box-shadow: 0 0 0 4px var(--fundo), 0 8px 22px -6px rgba(0, 0, 0, .35);
  animation: c7-pop .6s .1s var(--c7-saida) both;
}
.topo3 .loja-nome { font-size: clamp(23px, 6.6vw, 30px); letter-spacing: -.03em; animation: c7-sobe-in .6s .16s var(--c7-saida) both; }
.topo3 .slogan, .topo3 .cidade { animation: c7-sobe-in .6s .22s var(--c7-saida) both; }
.topo3 .topo-acoes { animation: c7-sobe-in .6s .28s var(--c7-saida) both; }
.topo3 .status, .topo3 .nota-google, .topo3 .btn-insta { min-height: 34px; font-weight: 700; }
.topo3 .status.aberto::before { animation: pulso 2s ease-out infinite; box-shadow: 0 0 0 0 currentColor; }

/* Faixa de fatos (entrega · taxa · mínimo) */
.fatos {
  border: 0; border-radius: var(--raio); box-shadow: var(--sombra); margin-top: 14px;
  animation: c7-sobe-in .6s .34s var(--c7-saida) both;
}
.fatos li { padding: 12px 6px; }
.fatos li + li { border-left-color: color-mix(in srgb, var(--texto) 8%, transparent); }
.fatos span { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; font-weight: 650; }
.fatos strong { font-family: var(--fonte-titulo); font-size: 15px; margin-top: 2px; }

/* Cartões do topo (fidelidade, meus pedidos, último pedido) */
.fidelidade, .meus-pedidos { border: 0; border-radius: var(--raio); box-shadow: var(--sombra); }
.fidelidade .selo-fid.cheio { animation: c7-carimbo .5s var(--c7-saida) both; }
.fidelidade .selo-fid.cheio:nth-child(2) { animation-delay: .06s; }
.fidelidade .selo-fid.cheio:nth-child(3) { animation-delay: .12s; }
.fidelidade .selo-fid.cheio:nth-child(4) { animation-delay: .18s; }
.fidelidade .selo-fid.cheio:nth-child(5) { animation-delay: .24s; }
.fidelidade .selo-fid.cheio:nth-child(n+6) { animation-delay: .3s; }

/* Carrosséis (promoções, favoritos) */
.fav-card { border: 0; border-radius: var(--raio); box-shadow: var(--sombra); }
.fav-card img, .fav-sem-foto { height: 112px; }
.fav-add { width: 38px; height: 38px; box-shadow: 0 0 0 3px var(--superficie), 0 6px 14px -4px color-mix(in srgb, var(--primaria) 60%, transparent); transition: transform .2s var(--c7-saida); }
.fav-add:active { transform: scale(.86); }

/* Barra fixa: busca + abas em pílula */
.barra { padding-top: 12px; background: color-mix(in srgb, var(--fundo) 88%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); }
.barra.colada { box-shadow: 0 10px 20px -16px color-mix(in srgb, var(--texto) 45%, transparent); }
.busca input { height: 48px; border-radius: 999px; border-color: transparent; background: var(--superficie); box-shadow: var(--sombra); transition: box-shadow .2s, border-color .2s; }
.cats { gap: 8px; border-bottom: 0; padding: 10px 16px 10px; margin-top: 0; }
.cat, .cat.ativa {
  min-height: 40px; padding: 0 16px; border-radius: 999px; margin: 0;
  border: 1px solid color-mix(in srgb, var(--texto) 10%, transparent);
  background: var(--superficie); color: var(--texto); font-size: 14.5px; font-weight: 700;
  transition: background-color .25s var(--c7-saida), color .25s, border-color .25s, transform .15s;
}
.cat:active { transform: scale(.95); }
.cat.ativa { background: var(--texto); border-color: var(--texto); color: var(--fundo); box-shadow: 0 6px 14px -6px color-mix(in srgb, var(--texto) 55%, transparent); }
@media (hover: hover) { .cat:not(.ativa):hover { border-color: color-mix(in srgb, var(--texto) 30%, transparent); color: var(--texto); } }

/* Seções e itens */
.secao-titulo { font-size: 25px; margin-top: 28px; letter-spacing: -.03em; }
.secao .card-main { gap: 14px; padding: 16px 0; border-radius: 14px; transition: background-color .2s; }
.secao .foto { width: 112px; border-radius: 18px; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .45); }
.secao .foto img { transition: transform .5s var(--c7-saida); }
@media (hover: hover) {
  .secao .card-main:hover { background: color-mix(in srgb, var(--texto) 3%, transparent); }
  .secao .card:hover .foto img { transform: scale(1.06); }
}
.secao .card-nome { font-size: 17px; }
.secao .preco { font-size: 17.5px; }
.secao .btn-add {
  width: 40px; height: 40px; right: 6px; bottom: 22px;
  box-shadow: 0 8px 16px -6px color-mix(in srgb, var(--primaria) 70%, transparent);
  transition: transform .25s var(--c7-saida);
}
.btn-add:active, .secao .btn-add:active { transform: scale(.84); }
.secao .selo { border-radius: 999px; font-weight: 800; }
.selo-esgotado { background: rgba(22, 19, 15, .82); }

/* Itens aparecem ao rolar (onde o navegador suporta) */
@supports (animation-timeline: view()) {
  .secao .card { animation: c7-item linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
}

/* Botão do pedido */
.barra-pedido { border-radius: 20px; min-height: 60px; transition: transform .25s var(--c7-saida); }
.barra-pedido:not([hidden]) { animation: c7-barra .5s var(--c7-saida) both; }
.barra-pedido:active { transform: translateX(-50%) scale(.97); }
.barra-pedido.pulo { animation: c7-pulo .35s var(--c7-saida); }

/* Folhas (item, sacola, finalizar): entram com mola */
.folha { border-radius: 26px 26px 0 0; transition: transform .45s var(--c7-mola); }
.ov-fundo { transition: opacity .35s ease; background: rgba(14, 13, 12, .5); }
@media (min-width: 720px) {
  .folha, .folha.cheia { border-radius: 26px; transition: transform .4s var(--c7-mola), opacity .25s; }
}
.det-foto { max-height: 46dvh; }
.det-foto img { animation: c7-capa .8s var(--c7-saida) both; }
.det-info h2 { font-size: 24px; letter-spacing: -.03em; }
.bloco { border: 0; border-radius: var(--raio); box-shadow: var(--sombra); }
.btn-prim { border-radius: 16px; min-height: 56px; box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--primaria) 75%, transparent); transition: transform .15s var(--c7-saida), opacity .15s; }
.btn-prim:active:not(:disabled) { transform: scale(.97); }
.btn-sec { border-radius: 16px; transition: transform .15s var(--c7-saida), border-color .15s; }
.btn-sec:active { transform: scale(.97); }
.escolha span { border-radius: 16px; }
.conf-check { animation: c7-pop .6s var(--c7-saida) both; }

/* Rodapé */
.credito { opacity: .7; }
.c7-marca { font-family: var(--fonte-titulo); font-weight: 800; letter-spacing: -.02em; color: var(--texto); }

/* Movimento */
@keyframes c7-capa { from { transform: scale(1.08); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes c7-pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes c7-sobe-in { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes c7-brilho { 0%, 100% { transform: translate(0, 0); opacity: .8; } 50% { transform: translate(-30px, 20px); opacity: 1; } }
@keyframes c7-carimbo { from { transform: scale(1.7) rotate(-14deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes c7-item { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes c7-barra { from { transform: translate(-50%, 120%); } to { transform: translate(-50%, 0); } }
@keyframes c7-pulo { 40% { transform: translateX(-50%) scale(1.06); } 100% { transform: translateX(-50%) scale(1); } }

@media (prefers-reduced-motion: reduce) {
  .topo3 .capa img, .topo3 .logo, .topo3 .loja-nome, .topo3 .slogan, .topo3 .cidade, .topo3 .topo-acoes,
  .fatos, .fidelidade .selo-fid.cheio, .capa-auto::before, .secao .card, .barra-pedido, .det-foto img, .conf-check { animation: none !important; }
}

/* ---------- Comanda7 (05/12): nada que o cliente toca empurra a tela ---------- */
/* Compartilhar: menu flutuante preso ao botão da foto (não entra no fluxo da folha) */
.folha-corpo { position: relative; }
.compartilhar-painel {
  position: absolute; z-index: 6; top: 64px; left: 10px; width: 228px; margin: 0; padding: 6px;
  background: var(--superficie); border-radius: 18px;
  box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 18px 40px -12px rgba(0,0,0,.35);
  transform-origin: 24px -8px;
}
.compartilhar-painel:not([hidden]) { animation: c7-menu .22s var(--c7-saida) both; }
.compartilhar-painel .botoes { display: flex; flex-direction: column; gap: 2px; margin: 0; }
.compartilhar-painel .btn-sec {
  justify-content: flex-start; min-height: 48px; padding: 0 12px; border: 0; border-radius: 12px;
  background: none; font-size: 15.5px; font-weight: 650; box-shadow: none;
}
.compartilhar-painel .btn-sec:hover, .compartilhar-painel .btn-sec:focus-visible { background: color-mix(in srgb, var(--texto) 6%, transparent); }
.det-compartilhar[aria-expanded="true"] { background: var(--texto); color: var(--fundo); }
@keyframes c7-menu { from { opacity: 0; transform: scale(.92) translateY(-6px); } to { opacity: 1; transform: none; } }

/* Fidelidade: "Como funciona e termos" abre por cima, sem empurrar o cardápio */
.fidelidade { position: relative; }
.fidelidade details { position: static; }
.fidelidade details[open] > p {
  position: absolute; z-index: 15; left: 8px; right: 8px; top: calc(100% - 8px); margin: 0;
  padding: 14px 16px; border-radius: 16px; background: var(--superficie); color: var(--texto);
  font-size: 14px; line-height: 1.45; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 18px 40px -12px rgba(0,0,0,.35);
  animation: c7-menu .22s var(--c7-saida) both; transform-origin: 30% 0;
}
.fidelidade details summary { list-style: none; }
.fidelidade details summary::-webkit-details-marker { display: none; }
.fidelidade details summary::after { content: "›"; margin-left: 6px; font-size: 16px; transition: transform .2s var(--c7-saida); }
.fidelidade details[open] summary::after { transform: rotate(90deg); }

/* Rodapé Comanda7: cartão da loja + atalhos em pílula + assinatura */
.rodape-c7 { margin: 40px 16px 0; padding: 0 0 110px; border-top: 0; text-align: left; color: var(--texto); font-size: 14.5px; }
.rod-cartao { padding: 18px; border-radius: 22px; background: var(--superficie); box-shadow: var(--sombra); }
.rod-topo { display: flex; align-items: center; gap: 12px; }
.rod-logo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.rod-nome { display: block; font-family: var(--fonte-titulo); font-size: 19px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.rod-cidade { display: block; margin-top: 2px; font-size: 13.5px; color: var(--suave); }
.rod-info { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--linha); display: grid; gap: 12px; }
.rod-info li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; color: var(--suave); }
.rod-info svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--primaria); }
.rod-horas { display: grid; gap: 3px; }
.rod-horas b { display: inline-block; min-width: 76px; color: var(--texto); font-weight: 700; }
.rod-atalhos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.rod-chip {
  display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 16px; border-radius: 999px;
  background: color-mix(in srgb, var(--texto) 6%, var(--superficie)); color: var(--texto) !important;
  text-decoration: none; font-weight: 700; font-size: 14px; transition: transform .15s var(--c7-saida), background-color .2s;
}
.rod-chip svg { width: 18px; height: 18px; flex: none; }
.rod-chip:active { transform: scale(.96); }
@media (hover: hover) { .rod-chip:hover { background: color-mix(in srgb, var(--texto) 11%, var(--superficie)); } }
.rod-chip-jogos { background: var(--primaria); color: var(--sobre-primaria) !important; }
@media (hover: hover) { .rod-chip-jogos:hover { background: color-mix(in srgb, var(--primaria) 88%, #000); } }
.rodape-c7 .credito { margin: 22px 0 0 !important; text-align: center; font-size: 12px; opacity: .75; }
.rodape-c7 .so-nojs { margin-top: 14px; }
@media (prefers-reduced-motion: reduce) { .compartilhar-painel, .fidelidade details[open] > p { animation: none !important; } }
