/* ============ Sr. Kascudo — estação submarina: sistema visual ============ */
:root {
  --baunilha: #fff3de;
  --baunilha-2: #f6e4c3;
  --ceramica: #0c6b64;
  --ceramica-2: #0a5752;
  --turquesa: #62d8d1;
  --profundo: #143c4a;
  --coral: #f16d50;
  --coral-2: #c9513a;
  --mostarda: #f4c35a;
  --alga: #c7de91;
  --cobre: #b87652;
  --texto: #143c4a;
  --texto-2: #46636c;
  --borda: 3px solid var(--profundo);
  --raio: 20px;
  --sombra: 0 5px 0 rgba(20, 60, 74, .9);
  --t-titulo: 'Fraunces', Georgia, serif;
  --t-texto: 'Figtree', system-ui, sans-serif;
  --t-carimbo: 'Special Elite', 'Courier New', monospace;
  /* luz da janela (muda com a hora) */
  --agua-a: #8ff0e6; --agua-b: #2fbfc0; --agua-c: #0f7f86;
  color-scheme: light;
}
html.tarde { --agua-a: #ffe3a6; --agua-b: #62d8d1; --agua-c: #13808a; }
html.noite { --agua-a: #5fd0d6; --agua-b: #1f8aa0; --agua-c: #0f5a72; }
html.noite .agua::after { content: ""; position: absolute; inset: 0; background: radial-gradient(3px 3px at 20% 30%, #fff9 60%, transparent), radial-gradient(2px 2px at 70% 22%, #fff8 60%, transparent), radial-gradient(3px 3px at 45% 55%, #c7de91aa 60%, transparent), radial-gradient(2px 2px at 82% 60%, #fff7 60%, transparent), radial-gradient(40% 30% at 50% 0%, #f4c35a33, transparent); }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 9.5rem; }
body {
  margin: 0; font: 500 1rem/1.45 var(--t-texto); color: var(--texto);
  background-color: var(--ceramica);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='240' viewBox='0 0 360 240'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='2'%3E%3Cpath d='M-20 60c60-30 110 20 170 0s110-40 230 10'/%3E%3Cpath d='M-20 90c60-30 110 20 170 0s110-40 230 10'/%3E%3Cpath d='M-20 170c80 20 120-40 200-20s100 40 200 0'/%3E%3Cpath d='M-20 200c80 20 120-40 200-20s100 40 200 0'/%3E%3Cellipse cx='280' cy='120' rx='26' ry='14'/%3E%3Cellipse cx='280' cy='120' rx='12' ry='6'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(180deg, var(--ceramica) 0%, var(--ceramica-2) 100%);
  min-height: 100vh;
  padding-bottom: 7rem;
}
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--mostarda); outline-offset: 3px; border-radius: 6px; }
.pular { position: absolute; left: -999px; top: 0; z-index: 99; background: var(--mostarda); padding: .6rem 1rem; }
.pular:focus { left: 1rem; }
h1, h2, h3 { font-family: var(--t-titulo); font-variation-settings: 'SOFT' 100, 'WONK' 1; letter-spacing: -.01em; }
.tnum { font-variant-numeric: tabular-nums; }

/* ============ Fachada ============ */
.fachada { position: relative; padding: 1.1rem 1rem .4rem; max-width: 1240px; margin: 0 auto; }
.cupula {
  position: absolute; inset: 0 .5rem auto; height: 8rem; border-radius: 0 0 50% 50% / 0 0 100% 100%;
  background: linear-gradient(180deg, #0f8077, var(--ceramica)); border-bottom: 4px solid var(--profundo); opacity: .55;
}
.fachada-grade { position: relative; display: grid; gap: .9rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .fachada-grade { grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; } .janela { grid-row: span 2; align-self: center; aspect-ratio: 400 / 235; } }

.placa-marca {
  position: relative; display: flex; gap: .9rem; align-items: center; padding: 1rem 1.1rem;
  background: linear-gradient(180deg, #fffaf0, var(--baunilha)); border: var(--borda); border-radius: 26px;
  box-shadow: var(--sombra), inset 0 -6px 0 rgba(20, 60, 74, .06), inset 0 3px 0 #fff;
}
.parafuso { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #e4b08f, var(--cobre) 60%); box-shadow: 0 0 0 2px var(--profundo); }
.p1 { top: 9px; left: 9px; } .p2 { top: 9px; right: 9px; } .p3 { bottom: 9px; left: 9px; } .p4 { bottom: 9px; right: 9px; }
.selo-logo { width: 4.2rem; height: 4.2rem; flex: none; border-radius: 50%; object-fit: cover; background: #fff; border: var(--borda); box-shadow: 0 0 0 4px var(--mostarda), 0 0 0 7px var(--profundo); }
.sobre-marca { margin: 0; font: 700 .72rem/1 var(--t-texto); letter-spacing: .14em; text-transform: uppercase; color: var(--ceramica); }
.placa-marca h1 { margin: .2rem 0 .15rem; font-size: clamp(1.7rem, 6.2vw, 2.7rem); line-height: .98; font-weight: 900; color: var(--profundo); }
.lema { margin: 0; color: var(--texto-2); font-weight: 600; }

/* Janela para o oceano */
.janela {
  position: relative; min-height: 8.5rem; border-radius: 48% 48% 42% 42% / 60% 60% 40% 40%; overflow: hidden;
  border: 6px solid var(--profundo); box-shadow: 0 0 0 6px var(--cobre), 0 0 0 9px var(--profundo), var(--sombra);
  margin: 9px;
}
.agua { position: absolute; inset: 0; background: radial-gradient(120% 90% at 30% 0%, var(--agua-a), var(--agua-b) 45%, var(--agua-c)); transition: background 1s; }
.raios { position: absolute; inset: -20% 0 0; background: repeating-linear-gradient(100deg, rgba(255,255,255,.18) 0 18px, transparent 18px 70px); mask-image: linear-gradient(180deg, #000, transparent 75%); animation: raios 9s ease-in-out infinite alternate; }
@keyframes raios { to { transform: translateX(-30px); } }
.vidro { position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(60% 40% at 30% 20%, rgba(255,255,255,.35), transparent 60%); pointer-events: none; }

.painel-status { display: grid; gap: .55rem; align-content: start; }
.lampada { display: flex; align-items: center; gap: .55rem; margin: 0; width: fit-content; padding: .45rem .9rem .45rem .6rem; border-radius: 99px; background: var(--profundo); color: #fff; font-weight: 800; }
.luz { width: 14px; height: 14px; border-radius: 50%; background: #7ddf8a; box-shadow: 0 0 0 3px #0e2a33, 0 0 12px #7ddf8a; animation: respirar 2.8s ease-in-out infinite; }
.lampada.fechada .luz { background: var(--coral); box-shadow: 0 0 0 3px #0e2a33, 0 0 12px var(--coral); }
.lampada.fora .luz { background: var(--mostarda); box-shadow: 0 0 0 3px #0e2a33, 0 0 12px var(--mostarda); }
@keyframes respirar { 50% { opacity: .55; } }
.horario { margin: 0; color: #e7fffb; font-weight: 700; }
.info-entrega { margin: 0; color: #e7fffb; font-size: .9rem; font-weight: 600; }
.aviso-dia { margin: 0; width: fit-content; max-width: 100%; padding: .35rem .8rem; background: var(--alga); border: 2px solid var(--profundo); border-radius: 8px;
  font: .9rem var(--t-carimbo); transform: rotate(-1.2deg); box-shadow: 2px 3px 0 var(--profundo); }

/* ============ Busca e guichês ============ */
.balcao { max-width: 1240px; margin: 0 auto; padding: .6rem 1rem 0; }
.busca { display: block; }
.busca-rotulo { display: inline-block; margin-left: 1rem; padding: .15rem .7rem; background: var(--profundo); color: var(--baunilha); border-radius: 8px 8px 0 0; font-weight: 800; font-size: .85rem; }
.busca-campo { display: flex; align-items: center; gap: .6rem; padding: 0 1rem; min-height: 52px; background: var(--baunilha); border: var(--borda); border-radius: 18px; box-shadow: var(--sombra); }
.busca-campo svg { width: 22px; flex: none; fill: none; stroke: var(--profundo); stroke-width: 2.4; stroke-linecap: round; }
.busca-campo input { flex: 1; min-width: 0; border: 0; background: none; font-weight: 700; font-size: 1rem; padding: .8rem 0; outline: none; }

.guiches { position: sticky; top: 0; z-index: 20; display: flex; gap: .55rem; overflow-x: auto; scrollbar-width: none;
  padding: .8rem 1rem; max-width: 1240px; margin: 0 auto; background: linear-gradient(180deg, var(--ceramica) 70%, rgba(12,107,100,0)); }
.guiches::-webkit-scrollbar { display: none; }
.guiche { flex: none; display: flex; align-items: center; gap: .5rem; min-height: 52px; padding: .35rem .8rem .35rem .45rem; text-align: left; text-decoration: none; color: var(--texto);
  background: var(--baunilha); border: var(--borda); border-radius: 14px 14px 14px 4px; box-shadow: 0 4px 0 var(--profundo); transition: transform .14s, background .14s; }
.guiche:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--profundo); }
.guiche .picto { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--ceramica); }
.guiche .picto svg { width: 24px; height: 24px; fill: none; stroke: var(--baunilha); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.guiche b { display: block; font-size: .92rem; line-height: 1.1; }
.guiche small { display: block; font-size: .72rem; color: var(--texto-2); line-height: 1.1; white-space: nowrap; }
.guiche.ativo { background: var(--mostarda); }
.guiche.ativo .picto { background: var(--coral); box-shadow: 0 0 0 3px var(--baunilha), 0 0 14px var(--coral); }

/* ============ Layout estação ============ */
.estacao { max-width: 1240px; margin: 0 auto; padding: 0 1rem; display: grid; gap: 1.2rem; }
@media (min-width: 1024px) { .estacao { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } .barra-comanda, .tubo { display: none !important; } }
main { min-width: 0; outline: none; }
.estado-carregando { color: var(--baunilha); font-weight: 800; text-align: center; padding: 3rem 0; }

/* ============ Vitrine do guichê ============ */
.vitrine { position: relative; margin: .4rem 0 1.4rem; display: grid; gap: 0; border: var(--borda); border-radius: 28px; overflow: hidden; background: var(--baunilha); box-shadow: var(--sombra); }
@media (min-width: 700px) { .vitrine { grid-template-columns: 1.1fr 1fr; } }
.vitrine-foto { position: relative; min-height: 13rem; background: linear-gradient(180deg, var(--turquesa), #2b9e9d); }
.vitrine-foto img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.vitrine-foto::after { content: ''; position: absolute; inset: 10px; border: 2px dashed rgba(255,243,222,.8); border-radius: 18px; pointer-events: none; }
.vitrine-texto { padding: 1.2rem 1.2rem 1.3rem; display: grid; gap: .55rem; align-content: center; }
.placa-dia { width: fit-content; padding: .25rem .7rem; border-radius: 6px; background: var(--coral); color: #fff; font: 700 .78rem/1.2 var(--t-texto); letter-spacing: .1em; text-transform: uppercase; transform: rotate(-2deg); }
.vitrine h2 { margin: 0; font-size: clamp(1.7rem, 4.5vw, 2.4rem); line-height: 1; }
.vitrine p { margin: 0; color: var(--texto-2); }
.vitrine .linha-acao { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin-top: .3rem; }
.preco { font: 800 1.35rem/1 var(--t-texto); font-variant-numeric: tabular-nums; }
.preco-antigo { color: var(--texto-2); text-decoration: line-through; font-weight: 600; margin-left: .3rem; font-size: .9rem; }

/* ============ Seções (setores) ============ */
.setor { margin: 0 0 1.8rem; }
.placa-setor { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .8rem; margin-bottom: .8rem; }
.placa-setor h2 { margin: 0; padding: .35rem 1rem .45rem; background: var(--baunilha); border: var(--borda); border-radius: 14px 14px 14px 4px; box-shadow: var(--sombra); font-size: 1.55rem; line-height: 1; }
.placa-setor .apelido { font: .95rem var(--t-carimbo); color: var(--mostarda); }
.placa-setor .micro { flex-basis: 100%; margin: .3rem 0 0; color: #dff6f2; font-weight: 600; font-size: .92rem; }

.lista { display: grid; gap: .9rem; grid-template-columns: minmax(0, 1fr); } /* minmax(0,…): card nunca alarga a página */
@media (min-width: 620px) { .lista { grid-template-columns: repeat(auto-fill, minmax(21rem, 1fr)); } } /* 2 ou 3 colunas, só quando cabem */

/* Ficha base */
.ficha-produto { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 7.4rem; gap: .8rem; padding: .85rem; border: var(--borda); border-radius: var(--raio);
  background: var(--baunilha); box-shadow: var(--sombra); }
.ficha-produto h3 { margin: 0 0 .25rem; font-size: 1.15rem; line-height: 1.1; }
.ficha-produto .ingredientes { margin: 0; color: var(--texto-2); font-size: .9rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ficha-produto .regra { display: block; margin-top: .35rem; font: .78rem var(--t-carimbo); color: var(--ceramica); }
.ficha-produto .rodape-ficha { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .6rem; grid-column: 1 / -1; }
.ficha-produto .foto { position: relative; align-self: start; }
.ficha-produto .foto img, .ficha-produto .foto .sem-foto { width: 7.4rem; height: 7.4rem; object-fit: cover; border-radius: 16px; border: var(--borda); background: #fff; }
.sem-foto { display: grid; place-items: center; background: repeating-linear-gradient(45deg, var(--baunilha-2) 0 8px, var(--baunilha) 8px 16px) !important; font: .7rem var(--t-carimbo); color: var(--texto-2); text-align: center; }
.ampliar { position: absolute; left: 6px; bottom: 6px; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--profundo); background: rgba(255,243,222,.92); display: grid; place-items: center; }
.ampliar svg { width: 18px; fill: none; stroke: var(--profundo); stroke-width: 2.4; stroke-linecap: round; }

/* Famílias */
.chapa .ficha-produto { background: linear-gradient(180deg, #fff6e6, var(--baunilha)); }
.chapa .ficha-produto::before { content: ''; position: absolute; left: 14px; right: 14px; top: -3px; height: 6px; border-radius: 0 0 6px 6px; background: var(--coral); }
.combo .ficha-produto { background: linear-gradient(90deg, var(--baunilha) 60%, #fde9c2); border-style: solid; }
.combo .ficha-produto::after { content: 'BANDEJA'; position: absolute; right: 9.2rem; top: .7rem; font: .65rem var(--t-carimbo); color: var(--cobre); letter-spacing: .2em; }
@media (max-width: 420px) { .combo .ficha-produto::after { display: none; } }
.refresco .ficha-produto { background: linear-gradient(160deg, #eafffb, var(--baunilha) 60%); }
.refresco .ficha-produto .foto img { box-shadow: inset 0 0 0 4px rgba(255,255,255,.6); }
.crocante .ficha-produto { background: repeating-linear-gradient(0deg, var(--baunilha) 0 22px, #f8ead0 22px 23px); }
.final-feliz .ficha-produto { background: radial-gradient(circle at 92% 18%, #ffe0d6, var(--baunilha) 55%); }
.ajustes .lista { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 620px) { .ajustes .lista { grid-template-columns: repeat(auto-fill, minmax(18.5rem, 1fr)); } } /* 3 colunas só quando cabem */
.ajustes .ficha-produto { grid-template-columns: 3.6rem minmax(0, 1fr); align-items: center; padding: .6rem; }
.ajustes .ficha-produto .foto { order: -1; }
.ajustes .ficha-produto .foto img, .ajustes .ficha-produto .foto .sem-foto { width: 3.6rem; height: 3.6rem; border-radius: 12px; }
.ajustes .ingredientes, .ajustes .ampliar { display: none; }
.ajustes .rodape-ficha { grid-column: 2; margin-top: .2rem; }

/* Botões */
.botao-acao { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 48px; padding: .6rem 1.2rem; border: var(--borda); border-radius: 14px;
  background: var(--coral); color: #fff; font-weight: 800; box-shadow: 0 4px 0 var(--profundo); transition: transform .14s, box-shadow .14s; }
.botao-acao:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 1px 0 var(--profundo); }
.botao-acao:disabled { background: #b9aa98; cursor: not-allowed; }
.botao-acao.pequeno { min-height: 44px; padding: .4rem .9rem; font-size: .92rem; }
.botao-acao.claro { background: var(--mostarda); color: var(--profundo); }
.botao-acao.largo { width: 100%; margin-top: 1rem; }
.botao-sec { min-height: 48px; padding: .6rem 1.1rem; border: var(--borda); border-radius: 14px; background: var(--baunilha); font-weight: 800; }
.vazio { color: var(--baunilha); font-weight: 700; }

/* ============ Mural ============ */
.parede { display: grid; gap: 1rem; grid-template-columns: 1fr; margin: 2.2rem 0 1rem; }
@media (min-width: 700px) { .parede { grid-template-columns: 1.3fr 1fr 1fr; align-items: center; } }
.funcionario { margin: 0; display: grid; grid-template-columns: 5.5rem 1fr; gap: .2rem 1rem; align-items: center; padding: 1rem; background: #fff8ea; border: 6px solid var(--cobre);
  outline: 3px solid var(--profundo); border-radius: 6px; box-shadow: var(--sombra); transform: rotate(-1.2deg); }
.funcionario figcaption { grid-column: 1 / -1; font: .8rem var(--t-carimbo); letter-spacing: .12em; text-transform: uppercase; color: var(--coral-2); }
.funcionario p { margin: 0; font-size: .92rem; }
.espatula { width: 5.5rem; }
.placa-vira { position: relative; min-height: 64px; padding: .8rem; border: var(--borda); border-radius: 12px; background: var(--alga); font: 1rem var(--t-carimbo); perspective: 600px; box-shadow: var(--sombra); }
.placa-vira .verso { display: none; }
.placa-vira.virada .frente { display: none; }
.placa-vira.virada .verso { display: inline; }
.placa-vira.virada { animation: virar .35s; }
@keyframes virar { 50% { transform: rotateX(90deg); } }
.jornal-botao { min-height: 64px; border: var(--borda); border-radius: 12px; background: var(--baunilha); font-weight: 800; box-shadow: var(--sombra); }

.rodape { padding: 1rem 0 2rem; color: #dff6f2; }
.aviso-legal { font-size: .82rem; opacity: .85; }

/* ============ Comanda lateral ============ */
.comanda-lateral { display: none; }
@media (min-width: 1024px) {
  .comanda-lateral { display: block; position: sticky; top: 5.6rem; }
}

/* ============ Papel de comanda ============ */
.papel { position: relative; padding: 1.4rem 1.1rem 1.1rem; background: #fffdf7; color: var(--texto);
  border-left: var(--borda); border-right: var(--borda);
  -webkit-mask: radial-gradient(9px at 50% 0, #0000 98%, #000) 50% 0 / 18px 51% repeat-x, radial-gradient(9px at 50% 100%, #0000 98%, #000) 50% 100% / 18px 51% repeat-x;
  mask: radial-gradient(9px at 50% 0, #0000 98%, #000) 50% 0 / 18px 51% repeat-x, radial-gradient(9px at 50% 100%, #0000 98%, #000) 50% 100% / 18px 51% repeat-x;
  filter: drop-shadow(0 4px 0 rgba(20,60,74,.35)); }
.carimbo { display: inline-block; margin: 0 0 .4rem; padding: .15rem .5rem; border: 2px solid var(--coral-2); border-radius: 6px; color: var(--coral-2); font: .78rem var(--t-carimbo); letter-spacing: .12em; text-transform: uppercase; transform: rotate(-3deg); opacity: .9; }
.papel h2, .painel h2 { margin: .1rem 0 .6rem; font-size: 1.6rem; line-height: 1.05; }
.papel h2 small, .painel h2 small { display: block; font: 600 .85rem var(--t-texto); color: var(--texto-2); }
.linhas { list-style: none; margin: 0; padding: 0; }
.linhas li { display: grid; grid-template-columns: 1fr auto; gap: .2rem .8rem; padding: .7rem 0; border-bottom: 2px dashed #e3d4b5; }
.linhas .nome-item { font-weight: 800; }
.linhas .det { grid-column: 1; color: var(--texto-2); font-size: .85rem; }
.linhas .valor { font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; }
.linhas .controles-item { grid-column: 1 / -1; display: flex; gap: .5rem; align-items: center; }
.vazio-comanda { padding: 1rem 0; color: var(--texto-2); font-family: var(--t-carimbo); }
.total-linha { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.total-linha.grande { font-size: 1.3rem; border-top: 2px solid var(--profundo); margin-top: .4rem; padding-top: .6rem; }
.lateral-cartao { padding: 1rem; background: var(--baunilha); border: var(--borda); border-radius: var(--raio); box-shadow: var(--sombra); }
.lateral-cartao .papel { margin: 0 -.2rem; }

/* ============ Contador ============ */
.contador { display: inline-flex; align-items: center; gap: .2rem; padding: .2rem; border: 2px solid var(--profundo); border-radius: 99px; background: #fff; }
.contador button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--mostarda); font-weight: 900; font-size: 1.25rem; }
.contador button:disabled { opacity: .35; cursor: not-allowed; }
.contador output { min-width: 1.8rem; text-align: center; font-weight: 900; font-variant-numeric: tabular-nums; }
.contador.mini button { width: 36px; height: 36px; font-size: 1.05rem; }
.remover { border: 0; background: none; color: var(--coral-2); font-weight: 800; text-decoration: underline; min-height: 40px; }

/* ============ Painéis (diálogos) ============ */
dialog.painel { width: min(640px, 100%); max-height: 94vh; margin: auto auto 0; padding: 0; border: var(--borda); border-bottom: 0; border-radius: 30px 30px 0 0;
  background: var(--baunilha); color: var(--texto); box-shadow: 0 -10px 50px rgba(0,0,0,.35); }
@media (min-width: 700px) { dialog.painel { margin: auto; border-bottom: var(--borda); border-radius: 30px; } }
dialog.painel::backdrop { background: rgba(20, 60, 74, .62); }
dialog[open] { animation: abrir .24s ease-out; }
@keyframes abrir { from { transform: translateY(28px); opacity: .4; } }
.painel-corpo { position: relative; padding: 1.2rem 1.1rem 1.1rem; }
.fechar { position: absolute; top: .8rem; right: .8rem; z-index: 3; width: 48px; height: 48px; border-radius: 50%; border: var(--borda); background: var(--mostarda); font-weight: 900; font-size: 1.1rem; }

/* Bancada */
.bancada-foto { position: relative; margin: 2.6rem 0 .8rem; padding: 10px; border-radius: 24px; border: var(--borda);
  background: repeating-linear-gradient(90deg, #e9f6f4 0 28px, #d5ece9 28px 30px), #e9f6f4; }
.bancada-foto img { width: 100%; max-height: 17rem; object-fit: cover; border-radius: 16px; border: 2px solid var(--profundo); }
.bancada-foto img[src=""] { display: none; }
.etiqueta-bancada { position: absolute; top: -14px; left: 18px; padding: .1rem .6rem; background: var(--mostarda); border: 2px solid var(--profundo); border-radius: 6px; font: .8rem var(--t-carimbo); transform: rotate(-2deg); }
.sobre-titulo { margin: 0; font: .85rem var(--t-carimbo); color: var(--ceramica); }
.p-desc { color: var(--texto-2); margin: .2rem 0 .6rem; }
.bandeja { display: flex; flex-wrap: wrap; gap: .4rem; min-height: 0; }
.bandeja:not(:empty) { padding: .6rem; margin: .4rem 0; border-radius: 14px; background: #e9f6f4; border: 2px dashed var(--ceramica); }
.bandeja .slot { padding: .3rem .6rem; border-radius: 10px; border: 2px dashed var(--texto-2); font-size: .85rem; font-weight: 700; color: var(--texto-2); }
.bandeja .slot.cheio { border-style: solid; border-color: var(--profundo); background: var(--mostarda); color: var(--profundo); animation: encaixar .25s ease-out; }
.bandeja .camada, .bandeja .slot { white-space: nowrap; line-height: 1.25; }
.bandeja .camada { padding: .3rem .6rem; border-radius: 99px; background: var(--alga); border: 2px solid var(--profundo); font-size: .85rem; font-weight: 700; animation: encaixar .25s ease-out; }
.bandeja .camada.tirar { background: #fff; text-decoration: line-through; color: var(--coral-2); }
@keyframes encaixar { from { transform: translateY(-10px) scale(.9); opacity: 0; } }

.grupo { margin: .9rem 0; padding: .8rem; border-radius: 16px; background: #fff; border: 2px solid var(--profundo); }
.grupo-topo { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin-bottom: .2rem; }
.grupo-topo h3 { margin: 0; font-size: 1.1rem; }
.regra-grupo { padding: .15rem .6rem; border-radius: 6px; font: .78rem var(--t-carimbo); white-space: nowrap; background: var(--baunilha-2); }
.regra-grupo.obrig { background: var(--coral); color: #fff; }
.regra-grupo.ok { background: var(--ceramica); color: #fff; }
.opcao { display: flex; align-items: center; gap: .7rem; min-height: 52px; padding: .3rem .2rem; border-top: 1px dashed #e3d4b5; }
.opcao:first-of-type { border-top: 0; }
.opcao .nome { flex: 1; font-weight: 700; }
.opcao .acrescimo { color: var(--texto-2); font-weight: 700; font-size: .9rem; font-variant-numeric: tabular-nums; }
.opcao input { width: 24px; height: 24px; accent-color: var(--coral); }
.tirar { margin: .9rem 0; }
.tirar h3 { margin: 0 0 .1rem; font-size: 1.05rem; }
.tirar p { margin: 0 0 .5rem; font-size: .82rem; color: var(--texto-2); }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { min-height: 40px; padding: .3rem .8rem; border: 2px solid var(--profundo); border-radius: 99px; background: #fff; font-weight: 700; font-size: .88rem; }
.chip[aria-pressed="true"] { background: var(--profundo); color: var(--baunilha); text-decoration: line-through; }

.bilhete { position: relative; display: block; margin: 1rem 0 .4rem; padding: 1rem .9rem .8rem; background: #fffbe8; border: 2px solid var(--profundo); border-radius: 4px; transform: rotate(-.6deg); box-shadow: 3px 4px 0 rgba(20,60,74,.35); }
.clipe { position: absolute; top: -12px; left: 22px; width: 16px; height: 34px; border: 3px solid var(--cobre); border-radius: 8px; }
.bilhete-rotulo { display: block; font: .9rem var(--t-carimbo); }
.bilhete textarea { width: 100%; margin-top: .3rem; border: 0; border-bottom: 2px solid #e3d4b5; background: transparent; font-weight: 600; resize: vertical; min-height: 3rem; }
.bilhete textarea:focus { outline: none; border-color: var(--ceramica); }
.rodape-painel { position: sticky; bottom: -1.1rem; display: flex; gap: .7rem; align-items: center; margin: .8rem -1.1rem -1.1rem; padding: .9rem 1.1rem calc(.9rem + env(safe-area-inset-bottom)); background: var(--baunilha); border-top: var(--borda); }
.rodape-painel .botao-acao { flex: 1; }
.pendente { margin: .9rem 0 0; color: var(--coral-2); font-weight: 800; min-height: 1px; font-size: .9rem; }

/* Formulário */
.ficha { margin: 1rem 0; padding: .9rem; border: 2px solid var(--profundo); border-radius: 16px; background: #fff; }
.ficha legend { padding: .1rem .6rem; background: var(--ceramica); color: var(--baunilha); border-radius: 6px; font: 700 .9rem var(--t-texto); }
.ficha legend small { font-weight: 500; opacity: .85; }
.campo { display: block; margin: .6rem 0; font-weight: 700; font-size: .92rem; }
.campo small { font-weight: 500; color: var(--texto-2); }
.campo input, .campo select { display: block; width: 100%; min-height: 48px; margin-top: .25rem; padding: .6rem .8rem; border: 2px solid #c9b48f; border-radius: 12px; background: #fffdf7; font-weight: 600; font-size: 1rem; }
.campo input:focus, .campo select:focus { border-color: var(--ceramica); outline: 3px solid rgba(98,216,209,.5); }
.duas { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.escolhas { display: grid; gap: .5rem; grid-template-columns: 1fr 1fr; }
.escolhas.pagamentos { grid-template-columns: 1fr; }
@media (min-width: 520px) { .escolhas.pagamentos { grid-template-columns: 1fr 1fr; } }
.escolha { display: flex; align-items: center; gap: .6rem; min-height: 52px; padding: .5rem .8rem; border: 2px solid #c9b48f; border-radius: 12px; background: #fffdf7; font-weight: 700; }
.escolha:has(input:checked) { border-color: var(--profundo); background: #fff1d1; box-shadow: inset 0 0 0 2px var(--mostarda); }
.escolha input { width: 22px; height: 22px; accent-color: var(--coral); }
.escolha small { display: block; color: var(--texto-2); font-weight: 500; }
.nota-modo { margin: .5rem 0 0; font-size: .88rem; color: var(--texto-2); }
.aviso-taxa { margin: .5rem 0 0; font-weight: 800; }
.aviso-taxa.ok { color: var(--ceramica); }
.aviso-taxa.ruim { color: var(--coral-2); }
.resumo { margin-top: 1rem; }
.erro { color: var(--coral-2); font-weight: 800; min-height: 1em; }
.acoes { display: flex; gap: .6rem; margin-top: .6rem; }
.acoes .botao-acao { flex: 1; }

/* Status */
.selo-final { position: absolute; top: 1.2rem; right: 4.4rem; padding: .2rem .7rem; border: 3px solid var(--coral-2); border-radius: 8px; color: var(--coral-2);
  font: 1.1rem var(--t-carimbo); letter-spacing: .15em; transform: rotate(-8deg); }
.selo-final.bater { animation: bater .45s ease-out; }
@keyframes bater { from { transform: rotate(-8deg) scale(2.2); opacity: 0; } }
.st-numero { font-weight: 800; font-size: 1.05rem; margin: 0 0 .8rem; font-variant-numeric: tabular-nums; }
.setores { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.setores li { display: flex; align-items: center; gap: .8rem; min-height: 52px; padding: .5rem .8rem; border: 2px solid #c9b48f; border-radius: 12px; background: #fff; font-weight: 700; color: var(--texto-2); }
.setores li .lamp { width: 18px; height: 18px; flex: none; border-radius: 50%; background: #d9cdb6; box-shadow: inset 0 0 0 2px var(--profundo); }
.setores li .estado { margin-left: auto; font: .78rem var(--t-carimbo); }
.setores li.feito { color: var(--texto); border-color: var(--profundo); }
.setores li.feito .lamp { background: #7ddf8a; }
.setores li.atual { color: var(--texto); border-color: var(--profundo); background: #fff6db; }
.setores li.atual .lamp { background: var(--mostarda); animation: respirar 1.6s infinite; }
.setores li.cancelado .lamp { background: var(--coral); }
.st-dica { color: var(--texto-2); font-size: .88rem; }


/* Jornal da Maré: cara de jornal impresso */
.jornal .painel-corpo { background: #fbf6ea repeating-linear-gradient(0deg, transparent 0 3px, rgba(20, 60, 74, .025) 3px 4px); }
.jn-topo { text-align: center; border-bottom: 4px double var(--profundo); padding-bottom: .5rem; margin-bottom: .8rem; }
.jn-edicao { margin: 0 3rem; padding-bottom: .3rem; border-bottom: 1px solid var(--profundo); font: .76rem var(--t-carimbo); color: var(--texto-2); }
.jn-nome { margin: .35rem 0 .1rem; font-size: clamp(2rem, 7vw, 2.8rem); font-weight: 900; line-height: 1; letter-spacing: -.02em; }
.jn-lema { margin: 0; font: italic .82rem/1.3 var(--t-titulo); color: var(--texto-2); }
.jn-manchete { padding-bottom: .8rem; margin-bottom: .8rem; border-bottom: 2px solid var(--profundo); }
.jn-chapeu { margin: 0; font: 800 .72rem var(--t-texto); letter-spacing: .14em; text-transform: uppercase; color: var(--coral-2); }
.jn-manchete h3 { margin: .15rem 0 .55rem; font-size: clamp(1.3rem, 4.6vw, 1.75rem); line-height: 1.08; font-weight: 900; }
.jn-foto { margin: 0 0 .55rem; border: 2px solid var(--profundo); background: radial-gradient(120% 90% at 30% 0%, #8ff0e6, #2fbfc0 45%, #0f7f86); }
.cena.foto-jornal { position: static; display: block; width: 100%; height: auto; aspect-ratio: 400 / 220; }
.jn-foto figcaption { padding: .3rem .55rem; border-top: 2px solid var(--profundo); background: #fbf6ea; font: italic .8rem/1.3 var(--t-texto); color: var(--texto-2); }
.jn-linha { margin: 0; font-size: .95rem; line-height: 1.45; }
.jn-colunas { display: grid; gap: .9rem; }
@media (min-width: 620px) { .jn-colunas { grid-template-columns: 1.25fr 1fr; } .jn-lateral { padding-left: .9rem; border-left: 1px solid var(--profundo); } }
.jornal h3:not(.jn-manchete h3) { margin: 0 0 .45rem; padding-bottom: .15rem; border-bottom: 2px solid var(--profundo); font-size: .92rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.jornal ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .55rem; }
.jn-curtas li { padding-bottom: .5rem; border-bottom: 1px dotted rgba(20, 60, 74, .45); font-size: .9rem; line-height: 1.35; }
.jn-curtas li:last-child { border-bottom: 0; padding-bottom: 0; }
.jn-tempo p { margin: 0 0 .9rem; font-size: .9rem; line-height: 1.35; }
.jn-classificados li { padding: .4rem .5rem; border: 1px dashed var(--profundo); background: #fff; font: .8rem/1.35 var(--t-carimbo); }
.jn-classificados b { font: 800 .78rem var(--t-texto); letter-spacing: .06em; }
.jn-horoscopo { margin-top: .9rem; padding-top: .6rem; border-top: 2px solid var(--profundo); }
.jn-horoscopo ul { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.jn-horoscopo li { font-size: .88rem; line-height: 1.35; }
.jn-horoscopo li b { display: block; font-family: var(--t-titulo); }
.jn-horoscopo li.casa { padding: .4rem .55rem; border-radius: 8px; background: #ffe7a8; }
.jn-rodape { margin: 1rem 0 0; padding-top: .5rem; border-top: 1px solid var(--profundo); text-align: center; font: .74rem var(--t-carimbo); color: var(--texto-2); }

/* ============ Tubo e barra (celular) ============ */
.tubo { position: fixed; z-index: 29; left: 0; right: 0; bottom: calc(3.2rem + env(safe-area-inset-bottom)); height: 10px; pointer-events: none;
  background: linear-gradient(180deg, #8fb7bb, #d8ecec 40%, #6f9da2); border-top: 2px solid var(--profundo); border-bottom: 2px solid var(--profundo); opacity: 0; transition: opacity .2s; }
body.com-itens .tubo { opacity: 1; }
.barra-comanda { position: fixed; z-index: 30; left: 50%; bottom: calc(.8rem + env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; align-items: center; gap: .7rem;
  width: min(560px, calc(100% - 2rem)); min-height: 62px; padding: .4rem 1.1rem .4rem .6rem; border: var(--borda); border-radius: 18px; background: var(--profundo); color: var(--baunilha); box-shadow: 0 5px 0 #0a222b; }
.manometro { width: 54px; flex: none; background: var(--baunilha); border-radius: 50% 50% 8px 8px; padding: 3px 3px 0; }
#ponteiro { transform-origin: 30px 32px; transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.barra-texto { display: grid; text-align: left; line-height: 1.1; }
.barra-texto small { opacity: .85; font-weight: 600; }
.barra-total { margin-left: auto; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.selo-voando { position: fixed; z-index: 60; width: 30px; height: 30px; border-radius: 50%; background: var(--coral); border: 2px solid var(--profundo); color: #fff; display: grid; place-items: center; font: 800 .8rem var(--t-texto); pointer-events: none; }

.aviso-toque { position: fixed; z-index: 70; left: 50%; bottom: 6.2rem; transform: translateX(-50%); margin: 0; padding: .5rem 1rem; border-radius: 10px; background: var(--profundo); color: var(--baunilha); font-weight: 700; opacity: 0; pointer-events: none; transition: opacity .2s; }
.aviso-toque.mostrar { opacity: 1; }

/* Telas grandes: janelas laterais da estação. Só com folga real nas laterais: conteúdo de 1240px +
   2 x (22px de margem + 102px da janela + 9px de borda + respiro) ≈ 1600px; abaixo disso cobriam o cardápio. */
@media (min-width: 1600px) {
  body::before, body::after { content: ''; position: fixed; top: 22vh; width: 90px; height: 56vh; border-radius: 45px; border: 6px solid var(--profundo);
    box-shadow: 0 0 0 6px var(--cobre), 0 0 0 9px var(--profundo); background: radial-gradient(120% 70% at 50% 0%, var(--agua-a), var(--agua-b) 50%, var(--agua-c)); }
  body::before { left: 22px; } body::after { right: 22px; }
}

/* Efeitos reduzidos (preferência do sistema) */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
.ficha-produto h3 a { color: inherit; text-decoration: none; }
.ficha-produto h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.ficha-produto h3 a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; } /* ficha inteira abre a bancada */
.ficha-produto .botao-acao { position: relative; z-index: 1; }

/* ============ Celular: a janela é a estrela (painel largo no topo, placa sobreposta) ============ */
@media (max-width: 759px) {
  .fachada { padding: .7rem .7rem .2rem; }
  .cupula { display: none; }
  .fachada-grade { gap: .6rem; }
  .janela { order: -1; position: relative; width: auto; height: auto; aspect-ratio: 400 / 228; margin: 6px 6px 0;
    border-radius: 38px; border-width: 5px; box-shadow: 0 0 0 5px var(--cobre), 0 0 0 8px var(--profundo), 0 6px 0 rgba(20,60,74,.9); }
  .placa-marca { position: relative; z-index: 3; margin: -2.6rem .9rem 0; padding: .65rem .9rem; gap: .6rem; border-radius: 18px; transform: rotate(-1.2deg); }
  .selo-logo { width: 2.9rem; height: 2.9rem; box-shadow: 0 0 0 3px var(--mostarda), 0 0 0 5px var(--profundo); }
  .placa-marca h1 { font-size: 1.85rem; }
  .sobre-marca { font-size: .6rem; letter-spacing: .1em; }
  .lema { font-size: .8rem; line-height: 1.25; }
  .painel-status { grid-template-columns: auto 1fr; gap: .45rem .6rem; align-items: center; }
  .lampada { font-size: .85rem; padding: .35rem .7rem .35rem .5rem; }
  .horario { grid-column: 1 / -1; font-size: .82rem; } /* detalhe do status inteiro, numa linha própria */
  .info-entrega { grid-column: 1 / -1; font-size: .8rem; }
  .aviso-dia { grid-column: 1 / -1; justify-self: center; font-size: .8rem; }
  .balcao { padding-top: .4rem; }
  .busca-rotulo { font-size: .75rem; }
  .busca-campo { min-height: 50px; }
  .guiche small { display: none; }
  .guiche { min-height: 48px; }
  .vitrine-foto { min-height: 0; }
  .vitrine-foto img { aspect-ratio: 16 / 10; }
  .ficha-produto { grid-template-columns: minmax(0, 1fr) 6.8rem; }
  .ficha-produto .foto img, .ficha-produto .foto .sem-foto { width: 6.8rem; height: 6.8rem; }
  .placa-setor h2 { font-size: 1.35rem; }
}

/* ============ Cena da janela: Sr. Kascudo e Baiacu caçando água-viva ============ */
.cena { position: absolute; inset: 0; width: 100%; height: 100%; }
/* fill-box só nas peças animadas (têm class); grupos de posição/escala usam o sistema de coordenadas normal */
.cena [class] { transform-box: fill-box; }
.cn-alga { transform-origin: 50% 100%; animation: cnAlga 4.6s ease-in-out infinite alternate; }
.cn-alga2 { animation-duration: 3.8s; animation-delay: -2s; }
@keyframes cnAlga { from { transform: rotate(-6deg); } to { transform: rotate(6deg); } }
.cn-boiar { animation: cnBoiar 1.5s ease-in-out infinite alternate; }
.cn-lento { animation-duration: 3.2s; } .cn-lento2 { animation-duration: 2.6s; animation-delay: -1s; }
@keyframes cnBoiar { to { transform: translateY(-12px); } }
.cn-pulso { transform-origin: 50% 100%; animation: cnPulso .75s ease-in-out infinite alternate; }
@keyframes cnPulso { to { transform: scale(1.08, .86); } }
.cn-tentaculos { transform-origin: 50% 0; animation: cnTentaculos 1.1s ease-in-out infinite alternate; }
@keyframes cnTentaculos { from { transform: skewX(-8deg); } to { transform: skewX(8deg) scaleY(1.05); } }
.cn-fugir { animation: cnFugir 2.4s ease-in-out infinite alternate; }
@keyframes cnFugir { 0% { transform: translate(0, 0) rotate(-6deg); } 100% { transform: translate(14px, -10px) rotate(6deg); } }
@keyframes cnRede { from { transform: rotate(-9deg); } to { transform: rotate(7deg); } }
.cn-rede-b { transform-origin: 0% 100%; animation: cnRede .5s ease-in-out infinite alternate-reverse; }
.cn-nadadeira { transform-origin: 100% 0; animation: cnNadadeira .25s ease-in-out infinite alternate; }
@keyframes cnNadadeira { to { transform: rotate(-25deg); } }
.cn-bolha { animation: cnBolha 2.2s ease-out infinite; }
.cn-b2 { animation-delay: -.8s; } .cn-b3 { animation-delay: -1.5s; }
@keyframes cnBolha { from { transform: translateY(0); opacity: 1; } to { transform: translateY(-60px); opacity: 0; } }
.cn-patas-a, .cn-patas-b { animation: cnPasso .3s ease-in-out infinite; }
.cn-patas-b { animation-delay: -.15s; }
@keyframes cnPasso { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(2px, -4px); } }
.cn-siri-corpo { animation: cnBalanco .3s ease-in-out infinite alternate; }
@keyframes cnBalanco { to { transform: translateY(-2px) rotate(1.2deg); } }
.cn-olhos { transform-origin: 50% 100%; animation: cnOlhos .6s ease-in-out infinite alternate; }
@keyframes cnOlhos { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
.cn-garra-acena { transform-origin: 50% 100%; animation: cnAcena .45s ease-in-out infinite alternate; }
@keyframes cnAcena { from { transform: rotate(-14deg); } to { transform: rotate(10deg); } }
.cn-quicar { transform-origin: 50% 100%; animation: cnQuicar .6s ease-in-out infinite; }
@keyframes cnQuicar { 0%, 100% { transform: translateY(0) scale(1.07, .9); } 50% { transform: translateY(-22px) scale(.97, 1.04) rotate(4deg); } }
.cn-sombra-b { transform-origin: 50% 50%; animation: cnSombra .6s ease-in-out infinite; }
@keyframes cnSombra { 50% { transform: scale(.55); opacity: .15; } }

/* Caça à água-viva (11.5 s, uma trilha por personagem; .cc-* ficam FORA dos ids clonados pelas outras cenas).
   Chegam; o siri vem na ponta das patas e ergue a rede; bote! a água-viva desvia por cima e a rede crava na
   areia; o Baiacu, distraído, tromba nas costas do siri (estrelinhas, olhos em espiral); a água-viva dança na
   cara dele e dispara; os dois correm atrás. Sem animação, cada um fica na composição de base. */
.cena .cc-av { transform-box: view-box; transform-origin: 326px 60px; animation: ccAv 11.5s both; }
.cena .cc-siri { animation: ccSiri 11.5s both; }
.cena .cc-baiacu { animation: ccBaiacu 11.5s both; }
.cena .cc-tonto { transform-box: view-box; transform-origin: 196px 176px; animation: ccTonto 11.5s both; }
.cena .cn-rede { transform-origin: 0% 100%; animation: ccRede 11.5s both; }
.cc-estrelas, .cc-espiral, .cc-zunido, .cc-poeira { opacity: 0; }
.cena .cc-estrelas { transform-box: view-box; transform-origin: 198px 70px; animation: ccEstrelas 11.5s both; }
.cena .cc-espiral { animation: ccEspiral 11.5s both; }
.cena .cc-zunido { animation: ccZunido 11.5s both; }
.cena .cc-poeira { transform-box: view-box; transform-origin: 322px 176px; animation: ccPoeira 11.5s both; }
.cc-gira { transform-origin: 50% 50%; animation: ccGira .7s linear infinite; }
@keyframes ccGira { to { transform: rotate(360deg); } }
@keyframes ccAv {
  0% { transform: translate(-406px, 26px) rotate(0deg) scale(1, 1); animation-timing-function: cubic-bezier(.3, .6, .4, 1); }
  20.87% { transform: translate(-64px, 44px) rotate(0deg) scale(1, 1); animation-timing-function: ease-in-out; }
  34.35% { transform: translate(-40px, 54px) rotate(0deg) scale(1, 1); animation-timing-function: ease-out; }
  35.83% { transform: translate(-38px, 56px) rotate(0deg) scale(1.1, 0.88); animation-timing-function: cubic-bezier(.2, .9, .3, 1); }
  38.26% { transform: translate(-58px, -18px) rotate(-12deg) scale(0.86, 1.18); animation-timing-function: ease-out; }
  40.87% { transform: translate(-60px, -14px) rotate(0deg) scale(1, 1); animation-timing-function: ease-in-out; }
  46.96% { transform: translate(-120px, 0px) rotate(0deg) scale(1, 1); animation-timing-function: ease-in-out; }
  49.57% { transform: translate(-120px, 0px) rotate(14deg) scale(1, 1); animation-timing-function: ease-in-out; }
  52.17% { transform: translate(-120px, 0px) rotate(-14deg) scale(1, 1); animation-timing-function: ease-in-out; }
  54.78% { transform: translate(-120px, 0px) rotate(14deg) scale(1, 1); animation-timing-function: ease-in-out; }
  57.39% { transform: translate(-120px, 0px) rotate(-14deg) scale(1, 1); animation-timing-function: ease-in-out; }
  60% { transform: translate(-120px, 0px) rotate(0deg) scale(1, 1); animation-timing-function: ease-out; }
  61.3% { transform: translate(-128px, 4px) rotate(-8deg) scale(1, 1); animation-timing-function: cubic-bezier(.55, 0, .8, .45); }
  73.04% { transform: translate(144px, -42px) rotate(10deg) scale(1.12, 0.9); }
  100% { transform: translate(144px, -42px) rotate(10deg) scale(1.12, 0.9); }
}
@keyframes ccSiri {
  0% { transform: translateX(-366px); animation-timing-function: cubic-bezier(.3, .6, .4, 1); }
  20.87% { transform: translateX(-68px); animation-timing-function: linear; }
  34.35% { transform: translateX(-60px); }
  35.48% { transform: translateX(-60px); animation-timing-function: ease-out; }
  36.96% { transform: translateX(-46px); }
  67.39% { transform: translateX(-46px); animation-timing-function: ease-out; }
  69.13% { transform: translateX(-52px); animation-timing-function: cubic-bezier(.55, 0, .8, .45); }
  95.65% { transform: translateX(304px); }
  100% { transform: translateX(304px); }
}
@keyframes ccBaiacu {
  0% { transform: translateX(-324px); animation-timing-function: cubic-bezier(.3, .6, .4, 1); }
  22.61% { transform: translateX(-44px); animation-timing-function: linear; }
  38.7% { transform: translateX(-30px); animation-timing-function: cubic-bezier(.5, 0, .9, .6); }
  41.3% { transform: translateX(-8px); animation-timing-function: cubic-bezier(.2, .8, .3, 1); }
  44.78% { transform: translateX(-30px); }
  70.43% { transform: translateX(-30px); animation-timing-function: cubic-bezier(.55, 0, .8, .45); }
  99.13% { transform: translateX(386px); }
  100% { transform: translateX(386px); }
}
@keyframes ccRede {
  0% { transform: rotate(-8deg); animation-timing-function: ease-in-out; }
  3.48% { transform: rotate(6deg); animation-timing-function: ease-in-out; }
  6.96% { transform: rotate(-8deg); animation-timing-function: ease-in-out; }
  10.43% { transform: rotate(6deg); animation-timing-function: ease-in-out; }
  13.91% { transform: rotate(-8deg); animation-timing-function: ease-in-out; }
  17.39% { transform: rotate(6deg); animation-timing-function: ease-in-out; }
  20.87% { transform: rotate(-4deg); animation-timing-function: ease-in-out; }
  34.35% { transform: rotate(-34deg); animation-timing-function: ease-in-out; }
  35.48% { transform: rotate(-38deg); animation-timing-function: cubic-bezier(.6, 0, .9, .5); }
  36.7% { transform: rotate(40deg); animation-timing-function: ease-out; }
  37.74% { transform: rotate(72deg); animation-timing-function: ease-in-out; }
  39.13% { transform: rotate(68deg); animation-timing-function: ease-in-out; }
  40.17% { transform: rotate(74deg); animation-timing-function: ease-in-out; }
  41.3% { transform: rotate(72deg); }
  60% { transform: rotate(72deg); animation-timing-function: ease-in-out; }
  61.3% { transform: rotate(65deg); animation-timing-function: ease-in-out; }
  62.61% { transform: rotate(74deg); animation-timing-function: ease-in-out; }
  63.91% { transform: rotate(64deg); animation-timing-function: ease-in-out; }
  65.22% { transform: rotate(72deg); animation-timing-function: cubic-bezier(.2, .8, .3, 1); }
  67.39% { transform: rotate(-14deg); animation-timing-function: ease-in-out; }
  70.87% { transform: rotate(6deg); animation-timing-function: ease-in-out; }
  74.35% { transform: rotate(-10deg); animation-timing-function: ease-in-out; }
  77.83% { transform: rotate(6deg); animation-timing-function: ease-in-out; }
  81.3% { transform: rotate(-10deg); animation-timing-function: ease-in-out; }
  84.78% { transform: rotate(6deg); animation-timing-function: ease-in-out; }
  88.26% { transform: rotate(-10deg); animation-timing-function: ease-in-out; }
  91.74% { transform: rotate(6deg); animation-timing-function: ease-in-out; }
  95.22% { transform: rotate(-10deg); animation-timing-function: ease-in-out; }
  100% { transform: rotate(-10deg); }
}
@keyframes ccTonto {
  0% { transform: rotate(0deg); }
  41.3% { transform: rotate(0deg); animation-timing-function: ease-out; }
  42.17% { transform: rotate(10deg); animation-timing-function: ease-in-out; }
  43.91% { transform: rotate(-8deg); animation-timing-function: ease-in-out; }
  46.09% { transform: rotate(7deg); animation-timing-function: ease-in-out; }
  48.26% { transform: rotate(-6deg); animation-timing-function: ease-in-out; }
  50.43% { transform: rotate(5deg); animation-timing-function: ease-in-out; }
  52.61% { transform: rotate(-4deg); animation-timing-function: ease-in-out; }
  54.78% { transform: rotate(3deg); animation-timing-function: ease-in-out; }
  56.96% { transform: rotate(-2deg); animation-timing-function: ease-in-out; }
  59.13% { transform: rotate(1deg); animation-timing-function: ease-in-out; }
  60.87% { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}
@keyframes ccEstrelas {
  0% { opacity: 0; transform: rotate(0deg); }
  41.3% { opacity: 0; transform: rotate(0deg); animation-timing-function: ease-out; }
  42.61% { opacity: 1; transform: rotate(60deg); animation-timing-function: linear; }
  58.26% { opacity: 1; transform: rotate(600deg); animation-timing-function: ease-in; }
  60.87% { opacity: 0; transform: rotate(700deg); }
  100% { opacity: 0; transform: rotate(700deg); }
}
@keyframes ccEspiral {
  0% { opacity: 0; }
  41.57% { opacity: 0; }
  42.17% { opacity: 1; }
  58.7% { opacity: 1; }
  60% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes ccZunido {
  0% { opacity: 0; }
  35.65% { opacity: 0; }
  36.17% { opacity: 0.9; animation-timing-function: ease-in; }
  38.43% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes ccPoeira {
  0% { opacity: 0; transform: scale(0.3); }
  37.57% { opacity: 0; transform: scale(0.3); }
  37.91% { opacity: 1; transform: scale(0.7); animation-timing-function: ease-out; }
  42.61% { opacity: 0; transform: scale(1.5); }
  100% { opacity: 0; transform: scale(1.5); }
}

/* Vida de fundo (sempre na janela, inclusive na pausa entre as cenas): sombras de cardume, arraia,
   cavalos-marinhos e bolhinhas saindo da areia. */
.amb-cardume1 { animation: ambCardume1 26s linear infinite; }
@keyframes ambCardume1 { from { transform: translateX(-110px); } to { transform: translateX(380px); } }
.amb-cardume2 { animation: ambCardume2 34s linear -12s infinite; }
@keyframes ambCardume2 { from { transform: translateX(120px); } to { transform: translateX(-360px); } }
.amb-peixe3 { animation: ambPeixe3 40s linear -25s infinite; }
@keyframes ambPeixe3 { from { transform: translateX(-200px); } to { transform: translateX(300px); } }
.amb-ondula { animation: ambOndula 3s ease-in-out infinite alternate; }
.amb-ondula.o2 { animation-duration: 3.8s; animation-delay: -1.5s; }
@keyframes ambOndula { from { transform: translateY(-3px); } to { transform: translateY(3px); } }
.amb-arraia { animation: ambArraia 48s linear -18s infinite; }
@keyframes ambArraia { from { transform: translate(-280px, 12px); } to { transform: translate(240px, -6px); } }
.amb-asa { transform-origin: 50% 50%; animation: ambAsa 1.8s ease-in-out infinite alternate; }
@keyframes ambAsa { from { transform: scaleY(1); } to { transform: scaleY(.55); } }
.amb-cavalo { transform-origin: 50% 50%; animation: ambCavalo 3.4s ease-in-out infinite alternate; }
.amb-cavalo.c2 { animation-duration: 4.1s; animation-delay: -2s; }
@keyframes ambCavalo { from { transform: translateY(0) rotate(-3deg); } to { transform: translateY(-7px) rotate(3deg); } }
.amb-barbatana { transform-origin: 100% 50%; animation: ambBarbatana .3s ease-in-out infinite alternate; }
@keyframes ambBarbatana { from { transform: scaleX(1); } to { transform: scaleX(.55); } }
.amb-bolha { opacity: 0; animation: ambBolha 4.2s ease-in infinite; }
.amb-bolha.b2 { animation-delay: -1.4s; } .amb-bolha.b3 { animation-delay: -2.8s; }
.amb-bolha.b4 { animation-duration: 5s; animation-delay: -.7s; } .amb-bolha.b5 { animation-duration: 5s; animation-delay: -3.2s; }
@keyframes ambBolha {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: .9; }
  50% { transform: translate(3px, -70px); }
  100% { transform: translate(-2px, -140px); opacity: 0; }
}

/* ============ Cenas extras da janela (revezam via cenas.js) ============ */
/* Sem fade: cada cena ENTRA pela esquerda e SAI pela direita; a próxima entra enquanto a anterior sai. */
.cena-quadro { display: none; }
.cena-quadro.visivel { display: inline; }
.parado .cn-patas-a, .parado .cn-patas-b { animation: none; }

/* Food truck: chega (0-16%, freando), cozinha (viradas em ~30% e ~59%), vai embora (82-100%, acelerando).
   Rodas no mesmo ritmo do carrinho: rolam, não patinam. */
.ch-mover { animation: chMover 11s both; }
@keyframes chMover {
  0% { transform: translateX(-340px); animation-timing-function: cubic-bezier(.25, .6, .35, 1); }
  16%, 82% { transform: translateX(0); animation-timing-function: cubic-bezier(.55, 0, .75, .4); }
  100% { transform: translateX(340px); }
}
.ch-roda { transform-origin: 50% 50%; animation: chRoda 11s both; }
@keyframes chRoda {
  0% { transform: rotate(0deg); animation-timing-function: cubic-bezier(.25, .6, .35, 1); }
  16%, 82% { transform: rotate(1080deg); animation-timing-function: cubic-bezier(.55, 0, .75, .4); }
  100% { transform: rotate(2160deg); }
}
.ch-carne { transform-origin: 50% 50%; animation: chCarne 11s ease-in-out both; }
@keyframes chCarne {
  0%, 27% { transform: translate(0, 0) rotate(0deg) scale(1, 1); }
  29% { transform: translate(0, -4px) rotate(-8deg) scale(1, 1); }
  33% { transform: translate(12px, -36px) rotate(180deg) scale(1, 1); }
  37% { transform: translate(0, 0) rotate(360deg) scale(1, 1); }
  38.5% { transform: translate(0, 1px) rotate(360deg) scale(1.14, .8); }
  40%, 56% { transform: translate(0, 0) rotate(360deg) scale(1, 1); }
  58% { transform: translate(0, -4px) rotate(352deg) scale(1, 1); }
  62% { transform: translate(12px, -36px) rotate(540deg) scale(1, 1); }
  66% { transform: translate(0, 0) rotate(720deg) scale(1, 1); }
  67.5% { transform: translate(0, 1px) rotate(720deg) scale(1.14, .8); }
  69%, 100% { transform: translate(0, 0) rotate(720deg) scale(1, 1); }
}
.ch-espatula { transform-origin: 100% 0%; animation: chEsp 11s ease-in-out both; }
@keyframes chEsp {
  0%, 26% { transform: rotate(0deg); } 28.5% { transform: rotate(-6deg); } 31% { transform: rotate(28deg); } 35%, 55% { transform: rotate(0deg); }
  57.5% { transform: rotate(-6deg); } 60% { transform: rotate(28deg); } 64%, 100% { transform: rotate(0deg); }
}
.ch-vapor { animation: chVapor 1.8s ease-out infinite; }
.ch-vapor.v2 { animation-delay: -.6s; } .ch-vapor.v3 { animation-delay: -1.2s; }
@keyframes chVapor { from { transform: translateY(0); opacity: .85; } to { transform: translateY(-16px); opacity: 0; } }
.ch-fogo { transform-origin: 50% 100%; animation: chFogo .35s ease-in-out infinite alternate; }
@keyframes chFogo { from { transform: scaleY(1); } to { transform: scaleY(1.3); } }
.ch-brasa { animation: chBrasa 1.4s ease-in-out infinite alternate; }
@keyframes chBrasa { from { opacity: .45; } to { opacity: .95; } }

/* Hambúrguer gigante: chega, para no meio para se equilibrar (40-52%), segue */
.gg-travessia { animation: ggTravessia 11s both; }
@keyframes ggTravessia {
  0% { transform: translateX(-300px); animation-timing-function: cubic-bezier(.3, .5, .5, 1); }
  40%, 52% { transform: translateX(-10px); animation-timing-function: cubic-bezier(.5, 0, .7, .5); }
  100% { transform: translateX(310px); }
}
.gg-equilibrio { transform-origin: 50% 100%; animation: ggEquilibrio 11s ease-in-out both; }
@keyframes ggEquilibrio {
  0%, 40% { transform: rotate(0deg); } 43% { transform: rotate(-9deg); } 46% { transform: rotate(8deg); }
  49% { transform: rotate(-4deg); } 51%, 100% { transform: rotate(0deg); }
}
.gg-burger { transform-origin: 50% 100%; animation: ggBurger .6s ease-in-out infinite alternate; }
@keyframes ggBurger { from { transform: rotate(-2.5deg) translateY(0); } to { transform: rotate(2.5deg) translateY(-2px); } }
.gg-gotas path { animation: ggGota 1.1s ease-in infinite; }
.gg-gotas .d2 { animation-delay: -.5s; }
@keyframes ggGota { from { transform: translateY(0); opacity: 1; } to { transform: translateY(14px); opacity: 0; } }

/* Submarino: chega freando, passa devagar pelo meio (siri acenando na escotilha), acelera para sair */
.sb-mover { animation: sbMover 10s both; }
@keyframes sbMover {
  0% { transform: translateX(-330px); animation-timing-function: cubic-bezier(.25, .6, .4, 1); }
  38% { transform: translateX(-14px); animation-timing-function: linear; }
  62% { transform: translateX(14px); animation-timing-function: cubic-bezier(.6, 0, .75, .4); }
  100% { transform: translateX(330px); }
}
.sb-boiar { animation: sbBoiar 1.6s ease-in-out infinite alternate; }
@keyframes sbBoiar { from { transform: translateY(0) rotate(1.5deg); } to { transform: translateY(-6px) rotate(-1.5deg); } }
.sb-helice { transform-origin: 50% 50%; animation: sbHelice .16s linear infinite alternate; }
@keyframes sbHelice { from { transform: scaleY(1); } to { transform: scaleY(.15); } }
.sb-caixa { transform-origin: 50% 0%; animation: sbCaixa 1.3s ease-in-out infinite alternate; }
@keyframes sbCaixa { from { transform: rotate(-8deg); } to { transform: rotate(8deg); } }
.sb-rastro { animation: sbRastro 1.5s ease-out infinite; }
.sb-rastro.r2 { animation-delay: -.5s; } .sb-rastro.r3 { animation-delay: -1s; }
@keyframes sbRastro { from { transform: translate(0, 0); opacity: 1; } to { transform: translate(-18px, -26px); opacity: 0; } }

/* Susto do Baiacu: chega (0-18%), a água-viva encosta (30%), ele treme e as pupilas encolhem (32-37%),
   infla de baixo para cima sem afundar na areia (40%), a água-viva bate nos espinhos e foge (44%+),
   ele desinfla soltando bolhas (64-71%) e segue nadando para a direita (70-100%). */
.bc-nado { animation: bcNado 9s both; }
@keyframes bcNado {
  0% { transform: translateX(-320px); animation-timing-function: cubic-bezier(.25, .6, .4, 1); }
  18%, 70% { transform: translateX(0); animation-timing-function: cubic-bezier(.5, 0, .7, .45); }
  100% { transform: translateX(300px); }
}
.bc-sacode { animation: bcSacode 9s linear both; }
@keyframes bcSacode {
  0%, 32% { transform: translateX(0) rotate(0deg); }
  33% { transform: translateX(-3px) rotate(-7deg); } 34% { transform: translateX(3px) rotate(7deg); }
  35% { transform: translateX(-3px) rotate(-5deg); } 36% { transform: translateX(2px) rotate(4deg); }
  37%, 100% { transform: translateX(0) rotate(0deg); }
}
.bc-inflar { transform-origin: 50% 100%; animation: bcInflar 9s ease-in-out both; }
@keyframes bcInflar {
  0%, 37% { transform: scale(1) rotate(0deg); }
  40% { transform: scale(1.9) rotate(0deg); } 42% { transform: scale(1.74) rotate(0deg); }
  44% { transform: scale(1.8) rotate(-3deg); } 52% { transform: scale(1.8) rotate(3deg); }
  60% { transform: scale(1.8) rotate(-2deg); } 64% { transform: scale(1.8) rotate(0deg); }
  68% { transform: scale(.92) rotate(0deg); } 71%, 100% { transform: scale(1) rotate(0deg); }
}
.bc-pupila { transform-origin: 50% 50%; animation: bcPupila 9s ease-in-out both; }
@keyframes bcPupila { 0%, 32% { transform: scale(1); } 34% { transform: scale(.5); } 62% { transform: scale(.6); } 68%, 100% { transform: scale(1); } }
.bc-sombra { transform-origin: 50% 50%; animation: bcSombra 9s ease-in-out both; }
@keyframes bcSombra { 0%, 37% { transform: scale(1); } 40%, 64% { transform: scale(1.7); } 71%, 100% { transform: scale(1); } }
.bc-av { animation: bcAv 9s ease-in-out both; }
@keyframes bcAv {
  0% { transform: translate(70px, -90px); } 30% { transform: translate(-58px, 28px); } 39% { transform: translate(-52px, 24px); }
  44% { transform: translate(-18px, -16px); } 56% { transform: translate(24px, -56px); } 100% { transform: translate(120px, -170px); }
}
.bc-pff { opacity: 0; animation: bcPff 9s ease-out both; }
.bc-pff.p2 { animation-delay: .12s; } .bc-pff.p3 { animation-delay: .24s; }
@keyframes bcPff {
  0%, 65% { opacity: 0; transform: translate(0, 0); } 68% { opacity: 1; transform: translate(2px, -4px); }
  82%, 100% { opacity: 0; transform: translate(16px, -38px); }
}

/* ============ Comemoração do pedido finalizado ============ */
.festa { display: block; width: min(260px, 72%); margin: -.2rem auto .1rem; overflow: visible; }
.festa [class] { transform-box: fill-box; }
.fs-pulo { transform-origin: 50% 100%; animation: fsPulo 1.3s cubic-bezier(.3, .6, .4, 1) both, fsIdle 1.1s ease-in-out 1.35s infinite alternate; }
@keyframes fsPulo {
  0% { transform: translateY(0) scale(1); } 16% { transform: translateY(0) scale(1.14, .8); }
  46% { transform: translateY(-58px) scale(.94, 1.1); } 74% { transform: translateY(0) scale(1.12, .84); }
  87% { transform: translateY(-9px) scale(1); } 100% { transform: translateY(0) scale(1); }
}
@keyframes fsIdle { from { transform: translateY(0) rotate(-2deg); } to { transform: translateY(-5px) rotate(2deg); } }
.fs-giro { transform-origin: 50% 50%; animation: fsGiro 1.3s ease-in-out both; }
@keyframes fsGiro { 0%, 20% { transform: rotate(0); } 70%, 100% { transform: rotate(360deg); } }
.fs-felizes { opacity: 0; animation: fsFeliz .15s 1.05s forwards; }
@keyframes fsFeliz { to { opacity: 1; } }
.fs-sombra { transform-origin: 50% 50%; animation: fsSombra 1.3s ease-in-out both; }
@keyframes fsSombra { 46% { transform: scale(.5); opacity: .15; } }
.fs-confete { opacity: 0; animation: fsConfete 1.5s cubic-bezier(.15, .7, .3, 1) .5s both; }
@keyframes fsConfete {
  0% { opacity: 1; transform: translate(0, 0) rotate(0); }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); }
}
@media (prefers-reduced-motion: reduce) { .fs-felizes { opacity: 1; } .fs-confetes { display: none; } }
@media (max-width: 759px) {
  .sobre-marca .extra { display: none; }
  .placa-marca h1 { font-size: 1.75rem; white-space: nowrap; }
  .horario { font-size: .78rem; }
}
@media (max-width: 759px) {
  .lampada { white-space: nowrap; }
}
/* Placa do balcão: pendurada por correntinhas, com dica discreta de que vira */
.placa-vira { position: relative; margin-top: 14px; font-size: .92rem; line-height: 1.3; transform: rotate(-1.5deg); }
.placa-vira::before { content: ''; position: absolute; left: 18%; right: 18%; top: -16px; height: 16px;
  border-left: 2px dashed var(--cobre); border-right: 2px dashed var(--cobre); }
.placa-vira::after { content: '↻'; position: absolute; right: 8px; bottom: 4px; font: 700 .85rem var(--t-texto); opacity: .55; }

/* ============ Revisão de toque e celular (95% do público) ============ */
/* Toque: sem o "flash" azul do Android, sem espera de duplo toque; hover só onde existe mouse. */
a, button, label, summary, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a, button, label, summary { touch-action: manipulation; }
@media (hover: none) { .ficha-produto h3 a:hover { text-decoration: none; } }
.contador button:active:not(:disabled), .chip:active, .fechar:active { transform: scale(.92); }
body:has(dialog[open]) { overflow: hidden; } /* a página não rola por trás da folha */
html { scrollbar-gutter: stable; } /* no computador a página não "pula" quando a folha abre */

/* Painéis: no celular são folhas na largura toda; a altura usa a área VISÍVEL (dvh desconta as
   barras do navegador; com vh o topo e o rodapé ficavam escondidos atrás delas). */
dialog.painel { max-width: 100%; max-height: 92vh; max-height: calc(100dvh - .75rem); overscroll-behavior: contain; }
@media (min-width: 700px) { dialog.painel { max-width: calc(100% - 2rem); max-height: calc(100dvh - 2rem); } }
/* ✕ acompanha a rolagem (antes sumia ao descer pelas opções) */
.fechar { position: sticky; top: .6rem; right: auto; display: grid; place-items: center; margin: -.4rem -.35rem -48px auto; }
/* Rodapés de ação fixos no pé da folha: aviso + botões sempre à vista */
/* grade: [quantidade ou Voltar] [botão principal ocupa o resto]; aviso/erro numa linha acima */
.rodape-painel { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .55rem .6rem; }
.rodape-painel > .pendente, .rodape-painel > .erro, .rodape-painel > .botao-acao:only-child { grid-column: 1 / -1; }
.rodape-painel .botao-acao { margin: 0; white-space: nowrap; padding-inline: 1rem; }
.rodape-painel .pendente, .rodape-painel .erro { margin: 0; min-height: 0; font-size: .88rem; line-height: 1.3; }
.rodape-painel .pendente:empty, .rodape-painel .erro:empty { display: none; }
.rodape-painel .erro.dica { color: var(--texto-2); }
.rodape-painel .contador button { width: 40px; height: 40px; }
#pAdicionar { justify-content: space-between; gap: .6rem; }
.papel.resumo { margin-bottom: .4rem; }

/* Contadores, chips e "Remover" com área de toque de dedo (≥ 40–44px) */
.contador.mini button { width: 40px; height: 40px; }
.chip { min-height: 44px; }
.remover { min-height: 44px; padding: 0 .4rem; }

/* Fichas: foto à direita ocupando as duas linhas, preço e botão logo abaixo do texto
   (antes sobrava um vão grande entre o texto e o preço). */
.ficha-produto { grid-template-rows: auto 1fr; row-gap: .3rem; }
.ficha-produto .texto { grid-column: 1; grid-row: 1; }
.ficha-produto .foto { grid-column: 2; grid-row: 1 / 3; }
.ficha-produto .rodape-ficha { grid-column: 1; grid-row: 2; align-self: end; margin-top: .3rem; flex-wrap: wrap; }
@media (max-width: 759px) {
  .ficha-produto { grid-template-columns: minmax(0, 1fr) 5.75rem; gap: .3rem .75rem; padding: .75rem; }
  .ficha-produto .foto img, .ficha-produto .foto .sem-foto { width: 5.75rem; height: 5.75rem; border-radius: 14px; }
  .ficha-produto h3 { font-size: 1.08rem; }
  .ficha-produto .ingredientes { -webkit-line-clamp: 2; font-size: .86rem; }
  .ficha-produto .preco { font-size: 1.12rem; }
  .ficha-produto .botao-acao.pequeno { padding: .4rem .85rem; font-size: .9rem; }
  .bancada-foto { margin-top: 2.9rem; }
  .bancada-foto img { max-height: 11rem; }
  .painel-corpo { padding: 1rem .95rem .95rem; }
  .rodape-painel { margin: .8rem -.95rem -.95rem; padding: .75rem .95rem calc(.75rem + env(safe-area-inset-bottom)); bottom: -.95rem; }
}
/* Adicionais: uma linha só (foto · nome e preço · botão); antes cada um ocupava um card alto */
.ajustes .ficha-produto { grid-template-columns: 3rem minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: .05rem .7rem; align-items: center; padding: .5rem .6rem; }
.ajustes .ficha-produto .foto { grid-column: 1; grid-row: 1 / 3; }
.ajustes .ficha-produto .foto img, .ajustes .ficha-produto .foto .sem-foto { width: 3rem; height: 3rem; border-radius: 10px; }
.ajustes .ficha-produto .texto { grid-column: 2; grid-row: 1; align-self: end; }
.ajustes .ficha-produto h3 { margin: 0; font-size: 1rem; }
.ajustes .rodape-ficha { display: contents; }
.ajustes .rodape-ficha > span { grid-column: 2; grid-row: 2; align-self: start; }
.ajustes .rodape-ficha .preco { font-size: 1rem; }
.ajustes .rodape-ficha .botao-acao { grid-column: 3; grid-row: 1 / 3; }
/* Resumo do checkout: itens do pedido acima do subtotal */
.resumo-titulo { margin: 0 0 .1rem; font-size: 1.05rem; }
.resumo .linhas { margin-bottom: .4rem; border-bottom: 2px solid #e3d4b5; }
.resumo .linhas li { padding: .45rem 0; }
.resumo .linhas li:last-child { border-bottom: 0; }
