/* =====================================================================
   Cardápio do cliente — visual premium (limpo, guiado por fotos)
   Carrega depois de app.css e só vale na página da loja (body.loja).
   ===================================================================== */
body.loja {
  --bg: #faf7f2;
  --surface: #ffffff;
  --surface-2: #f3eee7;
  --text: #1c1714;
  --muted: #71675f;
  --line: #ebe4db;
  --brand: #c2410c;
  --brand-ink: #ffffff;
  --brand-soft: #fcefe6;
  --brand-strong: #9a3412;
  --ink: #1c1714;
  --gold: #e8a317;
  --ok: #15803d;
  --shadow: 0 1px 2px rgba(28, 23, 20, .05), 0 8px 30px rgba(28, 23, 20, .07);
  --shadow-lg: 0 2px 6px rgba(28, 23, 20, .06), 0 24px 60px rgba(28, 23, 20, .14);
  --radius: 20px;
  --serif: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  background: var(--bg);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body.loja {
    --bg: #14110f; --surface: #1d1916; --surface-2: #27211d; --text: #f6f0ea; --muted: #aa9f96; --line: #332b25;
    --brand: #f07338; --brand-ink: #1a0f08; --brand-soft: #3a2116; --brand-strong: #ff9a66; --ink: #f6f0ea; --ok: #4ade80;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 30px rgba(0,0,0,.3); --shadow-lg: 0 24px 60px rgba(0,0,0,.5);
  }
}
:root[data-theme="dark"] body.loja {
  --bg: #14110f; --surface: #1d1916; --surface-2: #27211d; --text: #f6f0ea; --muted: #aa9f96; --line: #332b25;
  --brand: #f07338; --brand-ink: #1a0f08; --brand-soft: #3a2116; --brand-strong: #ff9a66; --ink: #f6f0ea; --ok: #4ade80;
}

.loja #app { max-width: 1120px; margin: 0 auto; padding: 0 16px 130px; }
.loja .ico-svg { width: 1.1em; height: 1.1em; flex: none; display: inline-block; vertical-align: -.18em; }
.loja a { color: inherit; }
.titulo-serif { font-family: var(--serif); font-weight: 700; letter-spacing: -.01em; }

/* ---------- esqueleto (primeira pintura) ---------- */
.esqueleto { padding-top: 12px; }
.esq-hero, .esq-linha, .esq-grade i { background: linear-gradient(90deg, var(--surface-2), var(--line), var(--surface-2)); background-size: 300% 100%; animation: brilho 1.4s infinite; border-radius: 18px; }
.esq-hero { aspect-ratio: 16 / 9; max-height: 380px; width: 100%; }
.esq-linha { height: 22px; width: 40%; margin-top: 18px; } .esq-linha.largo { width: 70%; height: 30px; }
.esq-grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.esq-grade i { aspect-ratio: 3 / 4; }
@keyframes brilho { to { background-position: -100% 0; } }

/* ---------- barra do topo ---------- */
.topo-loja { position: sticky; top: 0; z-index: 30; margin: 0 -16px; padding: 10px 16px; display: flex; align-items: center; gap: 10px;
  background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s; }
.topo-loja.rolou { border-bottom-color: var(--line); }
.topo-loja .mini-logo { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; flex: none; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-weight: 800; font-size: .8rem; }
.topo-loja .nome-topo { font-weight: 800; font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; opacity: 0; transition: opacity .2s; }
.topo-loja.rolou .nome-topo { opacity: 1; }
.botao-topo { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; font-size: .88rem; color: var(--text); white-space: nowrap; cursor: pointer; }
.botao-topo:hover { border-color: var(--text); }
.botao-topo .ponto { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }

/* ---------- capa com banners ---------- */
.hero { position: relative; margin-top: 4px; border-radius: 24px; overflow: hidden; background: var(--surface-2); aspect-ratio: 16 / 10; max-height: 440px; width: 100%; box-shadow: var(--shadow); }
@media (min-width: 800px) { .hero { aspect-ratio: 21 / 8; } }
.hero-trilho { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hero-trilho::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; height: 100%; scroll-snap-align: start; margin: 0; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 7, 5, .62), rgba(10, 7, 5, 0) 55%); pointer-events: none; }
.slide figcaption { position: absolute; left: 20px; right: 20px; bottom: 34px; z-index: 1; color: #fff; }
.slide figcaption strong { display: block; font-family: var(--serif); font-size: clamp(1.35rem, 4.5vw, 2.3rem); line-height: 1.1; text-shadow: 0 2px 16px rgba(0,0,0,.3); }
.slide figcaption span { display: block; margin-top: 6px; font-size: .95rem; opacity: .92; max-width: 46ch; }
.pontos { position: absolute; left: 0; right: 0; bottom: 12px; z-index: 2; display: flex; justify-content: center; gap: 6px; }
.pontos button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 99px; background: rgba(255,255,255,.55); transition: width .25s, background .25s; cursor: pointer; }
.pontos button[aria-current="true"] { width: 22px; background: #fff; }
.hero-vazio { display: grid; place-items: center; height: 100%; font-size: 4rem; background: linear-gradient(135deg, var(--brand-soft), var(--surface-2)); }

/* ---------- identidade da loja ---------- */
.identidade { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: end; margin-top: -38px; padding: 0 8px; position: relative; z-index: 3; }
.identidade .logo-grande { width: 84px; height: 84px; border-radius: 22px; object-fit: cover; border: 4px solid var(--bg); background: var(--ink); color: var(--bg); display: grid; place-items: center; font-weight: 800; font-size: 1.6rem; box-shadow: var(--shadow); grid-row: span 2; }
.identidade h1 { font-family: var(--serif); font-size: clamp(1.55rem, 5vw, 2.25rem); line-height: 1.08; font-weight: 700; padding-top: 44px; }
.identidade .slogan { margin: 0; color: var(--muted); font-size: .95rem; }
.chips-loja { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip-loja { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 650; font-size: .86rem; color: var(--text); text-decoration: none; cursor: pointer; white-space: nowrap; }
button.chip-loja:hover, a.chip-loja:hover { border-color: var(--text); }
.chip-loja .seta-mini { opacity: .45; margin-left: -2px; }
.chip-loja.status .bola { width: 8px; height: 8px; border-radius: 50%; background: #a8a29e; }
.chip-loja.status.aberto .bola { background: #16a34a; box-shadow: 0 0 0 0 rgba(22,163,74,.5); animation: pulsar 1.8s infinite; }
.chip-loja.status.aberto { color: var(--ok); border-color: color-mix(in srgb, #16a34a 30%, var(--line)); }
.chip-loja .estrela { color: var(--gold); }
@keyframes pulsar { 70% { box-shadow: 0 0 0 7px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }

/* ---------- avisos e faixas ---------- */
.faixas { display: grid; gap: 10px; margin-top: 18px; }
.faixa { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); font-size: .93rem; text-decoration: none; color: var(--text); text-align: left; width: 100%; font: inherit; }
.faixa .ico-faixa { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-strong); font-size: 1.1rem; }
.faixa strong { display: block; font-size: .96rem; }
.faixa small { display: block; color: var(--muted); font-size: .84rem; }
.faixa > span:nth-child(2) { flex: 1; min-width: 0; }
.faixa .acao { font-weight: 800; font-size: .88rem; color: var(--brand-strong); white-space: nowrap; }
.faixa.escura { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.faixa.escura small { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.faixa.escura .ico-faixa { background: rgba(255,255,255,.12); color: var(--bg); }
.faixa.escura .acao { color: var(--bg); }
.faixa.verde .ico-faixa { background: #dcfce7; color: #166534; }
button.faixa { cursor: pointer; }
.cupom-tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border: 1.5px dashed currentColor; border-radius: 8px; font-weight: 800; font-size: .8rem; letter-spacing: .04em; }

/* aviso de fechado */
.fechado-card { margin-top: 18px; padding: 22px 20px; border-radius: 22px; background: var(--ink); color: var(--bg); display: grid; gap: 6px; }
.fechado-card h2 { font-family: var(--serif); font-size: 1.45rem; }
.fechado-card p { margin: 0; opacity: .8; }
.fechado-card .btn { margin-top: 10px; justify-self: start; background: var(--bg); color: var(--ink); }

/* ---------- fotos de hoje (panelas) ---------- */
.bloco { margin-top: 30px; }
.cab-bloco { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.cab-bloco h2 { font-family: var(--serif); font-size: 1.45rem; font-weight: 700; }
.cab-bloco p { margin: 2px 0 0; color: var(--muted); font-size: .88rem; }
.cab-bloco .ao-vivo { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 800; color: var(--brand-strong); white-space: nowrap; text-transform: uppercase; letter-spacing: .05em; }
.cab-bloco .ao-vivo::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.panelas { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 8px; cursor: grab; }
.panelas::-webkit-scrollbar { display: none; }
.panelas.arrastando { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.panela { position: relative; flex: 0 0 72%; max-width: 330px; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; scroll-snap-align: start; border: 0; padding: 0; background: var(--surface-2); cursor: pointer; text-align: left; box-shadow: var(--shadow); }
@media (min-width: 800px) { .panela { flex-basis: 260px; } }
.panela img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; pointer-events: none; }
.panela:hover img { transform: scale(1.04); }
.panela::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,7,5,.7), transparent 50%); }
.panela .leg { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1; color: #fff; }
.panela .leg strong { display: block; font-family: var(--serif); font-size: 1.15rem; line-height: 1.15; }
.panela .leg small { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.92); color: #1c1714; font-weight: 800; font-size: .75rem; }

/* ---------- abas do cardápio ---------- */
.abas-menu { position: sticky; top: 54px; z-index: 20; margin: 30px -16px 0; padding: 10px 16px; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.abas-menu::-webkit-scrollbar { display: none; }
.abas-menu button { flex: none; height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-weight: 750; font-size: .92rem; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.abas-menu button:hover { border-color: var(--text); }
.abas-menu button[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.abas-menu button .n { margin-left: 6px; font-size: .75rem; opacity: .6; }
.painel-aba { scroll-margin-top: 110px; padding-top: 8px; }

/* ---------- tamanhos de marmita (os três numa linha) ---------- */
.tamanhos-linha { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 10px; }
@media (min-width: 800px) { .tamanhos-linha { gap: 16px; } }
.tamanho { display: flex; flex-direction: column; padding: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); color: var(--text); text-align: left; font: inherit; cursor: pointer; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s, border-color .15s; }
.tamanho:hover:not(:disabled) { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.tamanho .img { position: relative; aspect-ratio: 1; background: var(--surface-2); overflow: hidden; }
.tamanho .img img { width: 100%; height: 100%; object-fit: cover; }
.tamanho .selo-tam { position: absolute; left: 8px; top: 8px; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.94); color: #1c1714; font-size: .68rem; font-weight: 800; letter-spacing: .02em; }
.tamanho .txt { padding: 10px 10px 12px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.tamanho strong { font-size: .98rem; font-weight: 800; line-height: 1.15; }
.tamanho small { color: var(--muted); font-size: .76rem; line-height: 1.3; }
.tamanho .preco { margin-top: auto; padding-top: 8px; font-weight: 850; font-size: 1.02rem; }
.tamanho .preco em { display: block; font-style: normal; font-size: .7rem; font-weight: 700; color: var(--danger); }
.tamanho:disabled { opacity: .5; cursor: not-allowed; }
@media (min-width: 800px) {
  .tamanho .img { aspect-ratio: 4 / 3; }
  .tamanho .txt { padding: 14px 16px 16px; }
  .tamanho strong { font-size: 1.12rem; } .tamanho small { font-size: .85rem; } .tamanho .preco { font-size: 1.2rem; }
}
@media (max-width: 380px) { .tamanho small { display: none; } }

/* prato do dia em destaque */
.destaque { display: grid; grid-template-columns: 1fr; margin-top: 18px; border-radius: 24px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); cursor: pointer; text-align: left; padding: 0; font: inherit; color: var(--text); width: 100%; }
@media (min-width: 700px) { .destaque { grid-template-columns: 1.1fr 1fr; } }
.destaque .img { aspect-ratio: 16 / 10; background: var(--surface-2); }
.destaque .img img { width: 100%; height: 100%; object-fit: cover; }
.destaque .txt { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.destaque .rotulo { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-strong); }
.destaque h3 { font-family: var(--serif); font-size: 1.6rem; line-height: 1.1; }
.destaque p { margin: 0; color: var(--muted); }
.destaque .btn { margin-top: 10px; align-self: flex-start; }

/* pratos de hoje (grade com fotos) */
.sub-bloco { margin-top: 26px; }
.sub-bloco > h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 4px; }
.sub-bloco > p { margin: 0 0 12px; color: var(--muted); font-size: .86rem; }
.grade-pratos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 800px) { .grade-pratos { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.prato { display: flex; flex-direction: column; padding: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); font: inherit; color: var(--text); text-align: left; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.prato:hover:not(:disabled) { transform: translateY(-2px); box-shadow: var(--shadow); }
.prato .img { position: relative; aspect-ratio: 4 / 3; background: var(--surface-2); }
.prato .img img { width: 100%; height: 100%; object-fit: cover; }
.prato .txt { padding: 10px 12px 12px; display: grid; gap: 3px; }
.prato strong { font-size: .93rem; line-height: 1.2; }
.prato small { color: var(--muted); font-size: .78rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prato .meta { display: flex; gap: 8px; align-items: center; font-size: .75rem; font-weight: 750; }
.prato .meta .mais { color: var(--brand-strong); }
.prato:disabled { opacity: .5; cursor: not-allowed; }
.prato .esgotou { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(255,255,255,.6); color: #1c1714; font-weight: 800; }
.sem-foto { display: grid; place-items: center; width: 100%; height: 100%; font-size: 2.2rem; background: linear-gradient(135deg, var(--brand-soft), var(--surface-2)); }
.lista-simples { display: flex; flex-wrap: wrap; gap: 8px; }
.lista-simples span { padding: 7px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .86rem; font-weight: 600; }
.lista-simples span b { color: var(--brand-strong); font-weight: 750; margin-left: 4px; }
.coracoes { color: #e11d48; white-space: nowrap; }

/* ---------- produtos das outras abas (bebidas, sobremesas, porções) ---------- */
.lista-produtos { display: grid; gap: 12px; }
@media (min-width: 800px) { .lista-produtos { grid-template-columns: 1fr 1fr; gap: 16px; } }
.item { display: flex; gap: 14px; padding: 12px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); align-items: stretch; transition: border-color .15s, box-shadow .2s; }
.item.escolhido { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.item.piscar { animation: piscar 1.2s ease 2; }
@keyframes piscar { 50% { box-shadow: 0 0 0 5px var(--brand-soft); border-color: var(--brand); } }
.item .img { flex: none; width: 96px; height: 96px; border-radius: 14px; overflow: hidden; background: var(--surface-2); }
.item .img img { width: 100%; height: 100%; object-fit: cover; }
.item .txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.item strong { font-size: .98rem; }
.item small { color: var(--muted); font-size: .82rem; line-height: 1.35; }
.item .peso { font-size: .74rem; font-weight: 750; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.item .rodape-item { margin-top: auto; padding-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.item .preco { font-weight: 850; }
.item.esgotado { opacity: .55; }
.botao-mais { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--ink); color: var(--bg); display: grid; place-items: center; cursor: pointer; flex: none; transition: transform .1s; }
.botao-mais:active { transform: scale(.92); }
.passos { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: var(--surface-2); }
.passos button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.passos output { min-width: 24px; text-align: center; font-weight: 800; font-size: .92rem; }

/* ---------- avaliações ---------- */
.nota-geral { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.nota-geral .num { font-family: var(--serif); font-size: 2.8rem; font-weight: 700; line-height: 1; }
.nota-geral .estrelas { color: var(--gold); letter-spacing: 2px; }
.nota-geral small { display: block; color: var(--muted); font-size: .85rem; }
.nota-geral .btn { margin-left: auto; }
.trilho-opinioes { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 12px -16px 0; padding: 2px 16px 6px; }
.trilho-opinioes::-webkit-scrollbar { display: none; }
.opiniao { flex: 0 0 82%; max-width: 340px; scroll-snap-align: start; margin: 0; padding: 16px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.opiniao .estrelas, .estrelas-ouro { color: var(--gold); letter-spacing: 1px; font-size: .9rem; }
.opiniao p { margin: 8px 0 0; font-size: .95rem; line-height: 1.5; }
.opiniao cite { display: block; margin-top: 10px; font-style: normal; font-weight: 750; font-size: .82rem; color: var(--muted); }
.opiniao .resposta { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); font-size: .85rem; }
.opiniao .resposta b { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 2px; }
.lista-opinioes { display: grid; gap: 10px; }
.lista-opinioes .opiniao { max-width: none; }

/* ---------- clube (conta, fidelidade, cupons) ---------- */
.clube { margin-top: 30px; border-radius: 26px; padding: 24px 20px; background: var(--ink); color: var(--bg); position: relative; overflow: hidden; }
.clube::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 55%, transparent), transparent 70%); opacity: .7; }
.clube > * { position: relative; }
.clube .rotulo { font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.clube h2 { font-family: var(--serif); font-size: clamp(1.5rem, 4.6vw, 2rem); line-height: 1.1; margin-top: 6px; max-width: 22ch; }
.beneficios { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 800px) { .beneficios { grid-template-columns: repeat(3, 1fr); } }
.beneficios li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.07); }
.beneficios li > span { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.1); font-size: 1.15rem; }
.beneficios strong { display: block; font-size: .96rem; }
.beneficios small { display: block; opacity: .75; font-size: .84rem; line-height: 1.4; margin-top: 2px; }
.clube .acoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.clube .btn.claro { background: var(--bg); color: var(--ink); }
.clube .btn.vazado { background: transparent; color: var(--bg); border: 1px solid rgba(255,255,255,.3); }
.progresso { height: 8px; border-radius: 99px; background: rgba(255,255,255,.15); overflow: hidden; margin-top: 12px; max-width: 360px; }
.progresso i { display: block; height: 100%; background: var(--brand); border-radius: 99px; }

/* ---------- rodapé ---------- */
.rodape { margin-top: 40px; padding: 26px 0 10px; border-top: 1px solid var(--line); display: grid; gap: 22px; font-size: .9rem; }
@media (min-width: 800px) { .rodape { grid-template-columns: 1.3fr 1fr 1fr; } }
.rodape h3 { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.rodape p { margin: 0 0 6px; }
.redes { display: flex; flex-wrap: wrap; gap: 8px; }
.redes a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.redes a:hover { border-color: var(--text); }
.apps-entrega { display: flex; flex-wrap: wrap; gap: 8px; }
.apps-entrega a { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; text-decoration: none; }
.creditos { color: var(--muted); font-size: .78rem; text-align: center; padding-top: 6px; }

/* ---------- barra flutuante da sacola ---------- */
.barra-sacola { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); transform: translateY(130%); transition: transform .3s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.barra-sacola.visivel { transform: none; }
.barra-sacola button { pointer-events: auto; display: flex; align-items: center; gap: 12px; width: 100%; max-width: 520px; margin: 0 auto; height: 58px; padding: 0 10px 0 10px; border: 0; border-radius: 18px; background: var(--ink); color: var(--bg); font: inherit; font-weight: 800; font-size: 1rem; box-shadow: var(--shadow-lg); cursor: pointer; }
.barra-sacola .qtd { min-width: 38px; height: 38px; padding: 0 8px; border-radius: 12px; display: grid; place-items: center; background: var(--brand); color: #fff; }
.barra-sacola .txt { flex: 1; text-align: left; }
.barra-sacola strong { padding-right: 8px; }
.barra-sacola button.pulo { animation: pulo .45s ease; }

/* ---------- janelas ---------- */
.loja dialog.folha { background: var(--bg); }
.loja .folha-topo { background: var(--bg); }
.loja .folha-topo h2 { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; }
.loja .folha-rodape { background: var(--bg); }
@media (min-width: 900px) {
  .loja dialog.gaveta { margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; max-width: 460px; border-radius: 24px 0 0 24px; }
  .loja dialog.gaveta[open] { animation: lado .28s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; }
  .loja dialog.gaveta .folha-corpo { flex: 1; overflow: auto; }
}
@keyframes lado { from { transform: translateX(60px); opacity: .3; } }
.loja .btn.primario { background: var(--ink); color: var(--bg); }
.loja .btn.primario:hover:not(:disabled) { background: color-mix(in srgb, var(--ink) 85%, var(--brand)); }
.loja .btn.marca { background: var(--brand); color: #fff; }
.loja .btn { border-radius: 14px; }

/* montar marmita */
.loja .montar-capa { height: 190px; border-radius: 0; }
.loja .montar-cab strong { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; }
.loja .montar-cab b { color: var(--text); }
.loja .passo h3 span { background: var(--ink); color: var(--bg); }
.loja .marcar[aria-pressed="true"] { border-color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--ink); }
.loja .marcar[aria-pressed="true"] .caixa { background: var(--ink); border-color: var(--ink); }
.loja .marcar[aria-pressed="true"] .caixa::after { color: var(--bg); }
.loja .marcar .desc { display: block; font-weight: 500; font-size: .74rem; color: var(--muted); margin-top: 1px; }
.loja .troca-tamanho button[aria-pressed="true"] { color: var(--text); }
.loja .stepper.grande { border-radius: 14px; }
.loja .stepper button.mais { border-color: var(--ink); color: var(--text); }

/* sacola */
.linha-sacola { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.linha-sacola .img { flex: none; width: 56px; height: 56px; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.linha-sacola .img img { width: 100%; height: 100%; object-fit: cover; }
.linha-sacola .info { flex: 1; min-width: 0; }
.linha-sacola strong { display: block; font-size: .95rem; }
.linha-sacola small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.35; }
.linha-sacola .valor { font-weight: 800; font-size: .9rem; margin-top: 4px; }
.sugestoes { margin-top: 18px; }
.sugestoes h3 { font-size: 1rem; font-weight: 800; }
.sugestoes > p { margin: 2px 0 10px; color: var(--muted); font-size: .84rem; }
.trilho-sug { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 4px; }
.trilho-sug::-webkit-scrollbar { display: none; }
.sug { flex: 0 0 132px; border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.sug .img { aspect-ratio: 1; background: var(--surface-2); position: relative; }
.sug .img img { width: 100%; height: 100%; object-fit: cover; }
.sug .img .botao-mais { position: absolute; right: 6px; bottom: 6px; width: 34px; height: 34px; }
.sug .txt { padding: 8px 10px 10px; }
.sug strong { display: block; font-size: .82rem; line-height: 1.2; }
.sug span { font-size: .8rem; font-weight: 800; }
.caixa-cupom { margin-top: 18px; padding: 14px; border-radius: 16px; background: var(--surface); border: 1px dashed color-mix(in srgb, var(--brand) 45%, var(--line)); }
.caixa-cupom .linha-cupom { display: flex; gap: 8px; }
.caixa-cupom input { margin: 0; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.caixa-cupom .btn { flex: none; }
.cupons-disp { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cupons-disp button { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 7px 11px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); font: inherit; cursor: pointer; text-align: left; }
.cupons-disp button b { font-size: .8rem; letter-spacing: .05em; }
.cupons-disp button small { font-size: .72rem; color: var(--muted); }
.cupom-ok { display: flex; align-items: center; gap: 10px; color: var(--ok); font-weight: 750; }
.cupom-ok .tirar-cupom { margin-left: auto; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-weight: 700; }
.cupom-erro { margin: 8px 0 0; color: var(--danger); font-size: .85rem; font-weight: 600; }
.marcar-linha { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: .9rem; cursor: pointer; }
.marcar-linha input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.dica-conta { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); font-size: .86rem; display: flex; gap: 10px; align-items: center; }
.dica-conta button { margin-left: auto; border: 0; background: none; font-weight: 800; color: var(--brand-strong); cursor: pointer; white-space: nowrap; }

/* janela de informações */
.info-lista { display: grid; gap: 4px; }
.info-linha { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-linha:last-child { border-bottom: 0; }
.info-linha .ic { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); }
.info-linha strong { display: block; }
.info-linha p, .info-linha li { margin: 2px 0 0; color: var(--muted); font-size: .9rem; }
.info-linha ul { list-style: none; margin: 4px 0 0; padding: 0; }
.info-linha li.hoje { color: var(--text); font-weight: 750; }
.info-linha a { font-weight: 750; color: var(--brand-strong); }

/* conta */
.abas-conta { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface-2); margin-top: 6px; }
.abas-conta button { height: 40px; border: 0; border-radius: 10px; background: transparent; font-weight: 800; cursor: pointer; color: var(--muted); }
.abas-conta button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.codigo-cliente { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding: 16px; border-radius: 18px; background: var(--ink); color: var(--bg); }
.codigo-cliente small { display: block; opacity: .7; font-size: .78rem; }
.codigo-cliente strong { font-family: ui-monospace, Consolas, monospace; font-size: 1.4rem; letter-spacing: .12em; }
.codigo-cliente button { border: 1px solid rgba(255,255,255,.3); background: transparent; color: var(--bg); border-radius: 10px; padding: 8px 12px; font-weight: 700; cursor: pointer; }
.cupons-conta { display: grid; gap: 8px; }
.cupom-cartao { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px dashed color-mix(in srgb, var(--brand) 45%, var(--line)); }
.cupom-cartao .v { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: var(--brand-strong); min-width: 70px; }
.cupom-cartao small { display: block; color: var(--muted); font-size: .8rem; }
.cupom-cartao .btn { margin-left: auto; }
.pedido-antigo { display: flex; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pedido-antigo .info { flex: 1; min-width: 0; }
.pedido-antigo small { display: block; color: var(--muted); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* janela "adicionado" (sugestão logo depois de pôr a marmita) */
.adicionado { display: flex; align-items: center; gap: 12px; padding: 4px 0 6px; }
.adicionado .ok { width: 44px; height: 44px; border-radius: 50%; background: #dcfce7; color: #166534; display: grid; place-items: center; font-size: 1.3rem; flex: none; }

.toast { background: var(--ink); color: var(--bg); }
.loja .vazio .grande { font-size: 3rem; }

@media (min-width: 800px) {
  .loja #app { padding-left: 24px; padding-right: 24px; }
  .topo-loja, .abas-menu { margin-left: -24px; margin-right: -24px; padding-left: 24px; padding-right: 24px; }
  .panelas, .trilho-opinioes { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
  .identidade { padding: 0 20px; }
}

/* fotos sempre do mesmo tamanho, cards com mesma altura */
.prato .img, .sug .img { overflow: hidden; }
.prato .img img, .sug .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.prato .img .sem-foto, .sug .img .sem-foto { position: absolute; inset: 0; font-size: 2.4rem; }
.prato .txt { flex: 1; align-content: start; }
.grade-pratos { align-items: stretch; }
.tamanho small, .prato small, .prato strong { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 520px) { .tamanho small { font-size: .7rem; } .tamanho .txt { padding: 9px 8px 10px; } }

/* janela de horário: só o horário, limpa */
.horario-pop { display: grid; gap: 16px; padding-bottom: 6px; }
.horario-status { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 20px; background: linear-gradient(135deg, #ecfdf3, #f6fef9); border: 1px solid #c6f0d5; }
.horario-status.fechado { background: linear-gradient(135deg, #fff1ec, #fff8f5); border-color: #fbd5c4; }
.horario-status strong { display: block; font-family: var(--serif); font-size: 1.35rem; line-height: 1.15; }
.horario-status small { display: block; margin-top: 3px; color: var(--muted); font-weight: 650; font-size: .88rem; }
.pulso { position: relative; flex: none; width: 14px; height: 14px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 5px rgba(22, 163, 74, .16); }
.pulso::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #16a34a; opacity: 0; animation: pulso 2s ease-out infinite; }
.fechado .pulso { background: #c2410c; box-shadow: 0 0 0 5px rgba(194, 65, 12, .14); }
.fechado .pulso::after { display: none; }
@keyframes pulso { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pulso::after { animation: none; } }
.semana-horas { list-style: none; margin: 0; padding: 6px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.semana-horas li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; font-size: .98rem; }
.semana-horas li + li { border-top: 1px solid var(--line); }
.semana-horas li.hoje { background: #1c1714; color: #fff; border-color: transparent; font-weight: 800; }
.semana-horas li.hoje + li { border-top-color: transparent; }
.semana-horas .dia { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.semana-horas em { font-style: normal; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; padding: 2px 7px; border-radius: 999px; background: var(--brand, #c2410c); color: #fff; }
.semana-horas .horas { font-variant-numeric: tabular-nums; font-weight: 700; }
.semana-horas li.folga .horas { color: var(--muted); font-weight: 600; }
.semana-horas li.hoje.folga .horas { color: #fecaca; }
.nota-horario { margin: 0; text-align: center; color: var(--muted); font-size: .88rem; }
.feriados-pop { display: grid; gap: 4px; padding: 14px 16px; border-radius: 16px; background: var(--surface-2); font-size: .88rem; }
.feriados-pop strong { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .horario-status { background: #13261b; border-color: #1f4630; }
  :root:not([data-theme="light"]) .horario-status.fechado { background: #2a1810; border-color: #4a2a1a; }
  :root:not([data-theme="light"]) .semana-horas li.hoje { background: var(--brand); color: #1a0f08; }
  :root:not([data-theme="light"]) .semana-horas li.hoje em { background: #1a0f08; }
}
