body { padding-bottom: 120px; }
.topo {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 20px;
  background: color-mix(in srgb, #fcfdfe 80%, transparent);
  backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid rgba(25, 35, 43, 0.06);
}
.topo .marca { font-size: 18px; }
.topo-dir { display: flex; align-items: center; gap: 8px; }
.chip-mesa { background: var(--ink); color: #fff; }
.btn-pedidos {
  position: relative; width: 42px; height: 42px; border-radius: 999px; display: grid; place-items: center;
  background: #fff; box-shadow: var(--sombra); font-size: 20px;
}
.btn-pedidos b { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; display: grid; place-items: center; padding: 0 5px; }
.btn-pedidos b[hidden] { display: none; }

.intro { padding: 30px 20px 6px; max-width: 920px; margin: 0 auto; }
.intro h1 { font-size: clamp(34px, 9vw, 52px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 600; margin: 0 0 8px; }
.intro p { margin: 0; color: var(--muted); font-size: 17px; }

.filtros { padding: 18px 0 4px; max-width: 920px; margin: 0 auto; }
.filtros .rol { display: flex; gap: 8px; overflow-x: auto; padding: 4px 20px; scrollbar-width: none; }
.filtros .rol::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-radius: 999px;
  background: #fff; color: var(--ink-2); font-weight: 500; font-size: 15px; box-shadow: 0 1px 0 rgba(25,35,43,.06), 0 6px 16px -12px rgba(25,35,43,.4);
  transition: transform .15s, background .15s, color .15s;
}
.chip:active { transform: scale(.96); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.rotulo { padding: 0 20px 4px; font-size: 13px; color: var(--muted); letter-spacing: .02em; }

.abas { position: sticky; top: 71px; z-index: 15; max-width: 920px; margin: 8px auto 0; padding: 8px 0; background: linear-gradient(#fcfdfe 60%, transparent); }
.abas .rol { display: flex; gap: 22px; overflow-x: auto; padding: 0 20px; scrollbar-width: none; }
.aba { flex: none; font-size: 19px; font-weight: 500; color: var(--muted); padding: 6px 0; position: relative; }
.aba[aria-selected="true"] { color: var(--ink); font-weight: 600; }
.aba[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 3px; background: var(--accent); }

main { max-width: 920px; margin: 0 auto; padding: 14px 20px 0; }
.secao h2 { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin: 26px 0 14px; }
.grade { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 720px) { .grade { grid-template-columns: 1fr 1fr; gap: 26px; } }

.cartao { background: #fff; border-radius: var(--radius-card); box-shadow: var(--sombra); overflow: hidden; display: flex; flex-direction: column; }
.foto { position: relative; aspect-ratio: 4 / 3; background: #e6ecf0; }
.foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.add {
  position: absolute; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 2px;
  height: 46px; min-width: 46px; border-radius: 999px; background: var(--accent); color: #fff; justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(221, 119, 24, .7); font-size: 22px; font-weight: 600;
}
.add svg { width: 22px; height: 22px; }
.add.com-qtd { background: #fff; color: var(--ink); padding: 0 4px; box-shadow: 0 10px 24px -10px rgba(25,35,43,.6); }
.add.com-qtd button { width: 38px; height: 38px; border-radius: 99px; display: grid; place-items: center; }
.add.com-qtd button:active { background: #eef2f5; }
.add.com-qtd span { min-width: 22px; text-align: center; font-size: 18px; }
.corpo { padding: 16px 18px 18px; display: grid; gap: 6px; }
.linha1 { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.linha1 h3 { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; }
.preco { font-size: 19px; font-weight: 500; white-space: nowrap; }
.desc { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.4; }
.meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; align-items: center; }
.meta .tempo { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 13px; margin-right: 4px; }
.tag { font-size: 12px; font-weight: 500; padding: 3px 9px; border-radius: 999px; background: #eef3f6; color: var(--ink-2); }
.tag.verde { background: #e3f5ec; color: #11704a; }
.vazio { text-align: center; color: var(--muted); padding: 50px 10px; }
.rodape-info { color: var(--muted); font-size: 13px; text-align: center; padding: 34px 20px 0; }

/* barra do pedido */
.barra {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%) translateY(140%); z-index: 30;
  width: min(560px, calc(100% - 28px)); height: 62px; border-radius: 999px; background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: space-between; padding: 0 12px 0 24px;
  box-shadow: 0 20px 40px -14px rgba(25,35,43,.7); transition: transform .35s cubic-bezier(.2,.9,.3,1.1);
}
.barra.on { transform: translateX(-50%) translateY(0); }
.barra .txt { font-weight: 500; font-size: 17px; }
.barra .txt small { color: #aab7c0; font-weight: 400; margin-left: 8px; }
.barra .go { height: 44px; padding: 0 20px; border-radius: 999px; background: var(--accent); display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }

/* sheets */
.fundo { position: fixed; inset: 0; background: rgba(15,22,28,.45); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 40; }
.fundo.on { opacity: 1; pointer-events: auto; }
.sheet {
  position: fixed; left: 50%; bottom: 0; width: min(640px, 100%); max-height: 88vh; z-index: 41; overflow: auto;
  background: #fcfdfe; border-radius: 28px 28px 0 0; padding: 10px 22px 30px; transform: translate(-50%, 105%); transition: transform .35s cubic-bezier(.2,.9,.3,1);
  box-shadow: 0 -30px 60px -30px rgba(25,35,43,.5);
}
.sheet.on { transform: translate(-50%, 0); }
.sheet .alca { width: 44px; height: 5px; border-radius: 9px; background: #d3dce2; margin: 4px auto 14px; }
.sheet h2 { margin: 0 0 4px; font-size: 28px; letter-spacing: -0.025em; font-weight: 600; }
.sheet .sub { color: var(--muted); margin: 0 0 18px; }
.item-l { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid rgba(25,35,43,.07); }
.item-l img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; }
.item-l b { font-weight: 600; display: block; }
.item-l .q { color: var(--muted); font-size: 14px; }
.item-l input { width: 100%; margin-top: 6px; height: 36px; border: 1px solid #dbe3e8; border-radius: var(--radius-input); padding: 0 12px; font: inherit; font-size: 14px; background: #fff; }
.step { display: flex; align-items: center; gap: 2px; background: #eef3f6; border-radius: 99px; }
.step button { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 99px; }
.step span { min-width: 20px; text-align: center; font-weight: 600; }
.campo { display: grid; gap: 6px; margin: 18px 0 6px; }
.campo label { color: var(--muted); font-size: 13px; }
.campo input { height: 48px; border: 1px solid #dbe3e8; border-radius: var(--radius-input); padding: 0 14px; font: inherit; font-size: 17px; background: #fff; }
.total { display: flex; justify-content: space-between; font-size: 22px; font-weight: 600; margin: 16px 0 14px; }
.btn { width: 100%; height: 56px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; font-size: 18px; display: flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 14px 28px -12px rgba(221,119,24,.7); }
.btn:disabled { opacity: .5; box-shadow: none; }
.btn.sec { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px #d5dee4; margin-top: 10px; }
.btn.ok { background: var(--ok); box-shadow: none; }
.linkbtn { display: block; text-align: center; margin: 14px auto 0; color: var(--ink-2); font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }

.ped { padding: 16px 0; border-top: 1px solid rgba(25,35,43,.07); }
.ped-topo { display: flex; justify-content: space-between; align-items: baseline; }
.ped-topo b { font-size: 18px; }
.ped ul { margin: 6px 0 12px; padding: 0; list-style: none; color: var(--ink-2); font-size: 15px; }
.trilho { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.trilho i { height: 5px; border-radius: 9px; background: #dfe7ec; }
.trilho i.on { background: var(--accent); }
.trilho-leg { margin-top: 8px; font-weight: 500; display: flex; justify-content: space-between; align-items: center; }
.trilho-leg span { color: var(--muted); font-weight: 400; font-size: 14px; }
.paga { display: grid; place-items: center; gap: 8px; text-align: center; padding: 20px 0 6px; }
.paga .selo { width: 74px; height: 74px; border-radius: 99px; background: var(--ok); color: #fff; display: grid; place-items: center; box-shadow: 0 16px 30px -14px rgba(31,166,106,.8); }
.paga .selo svg { width: 38px; height: 38px; stroke-width: 2.4; }
.mesas-grade { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 8px 0 18px; }
.mesas-grade button { height: 56px; border-radius: 16px; background: #fff; box-shadow: var(--sombra); font-size: 20px; font-weight: 600; }
.mesas-grade button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.tema-claro .conexao{display:none}
