:root {
  --bg: #F3EEE7;
  --fg: #1c1917;
  --muted: #78716c;
  --card: #fbf8f4;
  --border: #e2dbd0;
  --accent: #b0802a;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.topbar {
  position: sticky; top: 0; z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex; flex-direction: column; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.logo {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: 20px;
}
h1 { margin: 0; font-size: 20px; }
.subtitle { margin: 2px 0 0; color: var(--muted); font-size: 14px; }

.search input {
  width: 100%; height: 44px; padding: 0 14px;
  border-radius: 12px; border: 1px solid var(--border);
  background: var(--card); color: var(--fg); font-size: 16px;
}
.search input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

main { max-width: 960px; margin: 0 auto; padding: 16px; }

.grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 12px;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) { .grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  display: flex; align-items: center; gap: 14px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 10px;
  text-decoration: none; color: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.card:focus-visible { outline: 2px solid var(--accent); }

.cover {
  width: 84px; height: 84px; flex: none; border-radius: 12px;
  display: grid; place-items: center; font-size: 36px;
  background: linear-gradient(135deg, var(--accent), #fbbf24);
}
.card h3 { margin: 0; font-size: 17px; }
.card p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.chevron { margin-left: auto; color: var(--muted); font-size: 22px; }

.empty { text-align: center; color: var(--muted); padding: 40px 0; }

.footer {
  max-width: 960px; margin: 16px auto 0; padding: 24px 16px 32px;
  border-top: 1px solid var(--border);
}
.footer h2 { font-size: 16px; margin: 0 0 12px; }
.hours { list-style: none; padding: 0; margin: 0 0 12px; }
.hours li {
  display: flex; justify-content: space-between;
  padding: 6px 0; font-size: 14px;
}
.muted { color: var(--muted); font-size: 13px; }

.back { background: none; border: 0; color: var(--accent); font-size: 16px; padding: 4px 0 12px; cursor: pointer; }
.section-title { margin: 0 0 12px; font-size: 22px; }
.dishes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dish { display: flex; justify-content: space-between; gap: 16px; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 14px; }
.dish h3 { margin: 0; font-size: 16px; }
.dish p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.price { font-weight: 600; white-space: nowrap; }

.group { margin: 12px 0 0; font-weight: 700; color: var(--accent); font-size: 15px; text-transform: uppercase; letter-spacing: .04em; }

.dish-img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; flex: none; }
.dish-info { flex: 1; }

html[data-theme="dark"] { --bg: #0d0d0d; --fg: #f5ecd6; --muted: #a8a290; --card: #1a1a1a; --border: #2c2a24; }
html[data-theme="dark"] .logo { color: #0d0d0d; }
.note { color: var(--accent); font-size: 14px; letter-spacing: .04em; margin-bottom: 4px; }

/* ===== Stories ===== */
.no-scroll { overflow: hidden; }
.stories { position: fixed; inset: 0; z-index: 100; background: #000; color: #fff; overflow: hidden; user-select: none; -webkit-touch-callout: none; touch-action: manipulation; }
.stories[hidden] { display: none; }
.st-media { position: absolute; inset: 0; }
.st-img { width: 100%; height: 100%; object-fit: cover; }
.st-noimg { width: 100%; height: 100%; display: grid; place-items: center; font-size: 120px; background: radial-gradient(circle at 50% 35%, #3a3326, #0b0b0b 70%); }
.st-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.55) 0, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 45%, rgba(0,0,0,.92) 100%); }
.st-bars { position: absolute; top: max(10px, env(safe-area-inset-top)); left: 10px; right: 10px; z-index: 5; display: flex; gap: 4px; }
.st-bar { flex: 1; height: 3px; background: rgba(255,255,255,.35); border-radius: 2px; overflow: hidden; }
.st-fill { height: 100%; width: 0; background: #fff; }
.st-close { position: absolute; z-index: 6; top: max(22px, calc(env(safe-area-inset-top) + 12px)); right: 8px; width: 44px; height: 44px; border: 0; background: none; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }
.st-list { position: absolute; z-index: 6; top: max(28px, calc(env(safe-area-inset-top) + 18px)); left: 12px; color: #fff; text-decoration: none; font-size: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(0,0,0,.45); backdrop-filter: blur(6px); }
.st-tapleft, .st-tapright { position: absolute; z-index: 4; top: 70px; bottom: 150px; width: 35%; cursor: pointer; }
.st-tapleft { left: 0; }
.st-tapright { right: 0; width: 65%; }
.st-info { position: absolute; z-index: 5; left: 0; right: 0; bottom: 64px; padding: 0 20px 14px; pointer-events: none; }
.st-cat-name { margin: 0 0 6px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.st-dish { margin: 0 0 8px; font-size: 28px; line-height: 1.15; }
.st-desc { margin: 0 0 12px; font-size: 15px; line-height: 1.4; color: rgba(255,255,255,.85); max-height: 30vh; overflow: hidden; }
.st-price { margin: 0; font-size: 24px; font-weight: 700; }
.st-note { margin: 8px 0 0; font-size: 13px; color: rgba(255,255,255,.7); }
.st-cats { position: absolute; z-index: 6; left: 0; right: 0; bottom: 0; display: flex; gap: 18px; overflow-x: auto; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(to top, #000 60%, rgba(0,0,0,0)); scrollbar-width: none; }
.st-cats::-webkit-scrollbar { display: none; }
.st-cat { flex: none; background: none; border: 0; color: #fff; opacity: .43; font-size: 16px; white-space: nowrap; cursor: pointer; padding: 6px 0; }
.st-cat.active { opacity: 1; font-weight: 600; }
@media (min-width: 700px) {
  .stories { display: grid; place-items: center; background: #050505; }
  .stories[hidden] { display: none; }
  .stories > * { max-width: none; }
}
/* ===== Desbloquear cardápio ===== */
.gate { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: radial-gradient(circle at 50% 20%, #2a241a, #0a0a0a 70%); overflow-y: auto; }
.gate-card { width: 100%; max-width: 380px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; color: #f5ecd6; }
.gate-card .logo { width: 72px; height: 72px; font-size: 26px; color: #0d0d0d; }
.gate-title { margin: 8px 0 0; font-size: 24px; }
.gate-sub { margin: 0 0 8px; color: #b9b29c; font-size: 15px; }
.gate-field { width: 100%; display: block; }
.gate-input { width: 100%; height: 50px; padding: 0 14px; border-radius: 12px; border: 1px solid #3a3529; background: #17150f; color: #f5ecd6; font-size: 16px; }
.gate-input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.gate-phone { display: flex; align-items: center; gap: 8px; }
.gate-prefix { flex: none; height: 50px; display: grid; place-items: center; padding: 0 12px; border-radius: 12px; border: 1px solid #3a3529; background: #17150f; font-size: 16px; white-space: nowrap; }
.gate-error { margin: 0; width: 100%; color: #ff8a7a; font-size: 14px; text-align: left; }
.gate-btn { width: 100%; height: 52px; margin-top: 4px; border: 0; border-radius: 12px; background: var(--accent); color: #0d0d0d; font-size: 17px; font-weight: 700; cursor: pointer; }
.gate-btn:active { transform: scale(.98); }
.gate-legal { margin: 6px 0 0; font-size: 12.5px; line-height: 1.45; color: #9a947f; }
.gate-legal a { color: var(--accent); }
/* ===== Layout estilo ClipFood ===== */
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(fonts/inter-400.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(fonts/inter-500.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(fonts/inter-600.woff2) format("woff2"); }

:root { --icon: 41px; --glyph: 25px; --gap: 8px; --p: 0; }
@media (max-width: 380px) { :root { --icon: 34px; --glyph: 20px; --gap: 6px; } }
body { font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }

.app { max-width: 448px; margin: 0 auto; min-height: 100dvh; position: relative; }

/* topo fixo que encolhe ao rolar (--p vai de 0 a 1 nos primeiros 100px) */
.hero { display: contents; }
.hero[hidden] { display: none; }
.fx { position: fixed; left: 50%; transform: translateX(-50%); width: 100%; max-width: 448px; }
.hero-bg {
  top: 0; z-index: 10; height: calc(268px - 157px * var(--p)); overflow: hidden; background: var(--bg);
}
.hero-bg i, .hero-bg video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; background: #1a1a1a center 42% / cover no-repeat; transform: scale(1.08);
  -webkit-mask-image: linear-gradient(#000 50%, transparent 96%); mask-image: linear-gradient(#000 50%, transparent 96%);
}
.hero-fade {
  top: 0; z-index: 8; height: calc(268px - 157px * var(--p)); pointer-events: none;
  background: linear-gradient(transparent 0%, var(--bg) 50%, var(--bg) 100%);
}
.logo-box {
  z-index: 20; top: calc(117px - 101px * var(--p));
  width: calc(108px - 35px * var(--p)); height: calc(105px - 43px * var(--p));
  border-radius: 8px; overflow: hidden; background: #111418;
}
.logo-box img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.5); }

.col { position: fixed; top: calc(26px + env(safe-area-inset-top)); z-index: 40; left: 50%; width: 100%; max-width: 448px; transform: translateX(-50%); pointer-events: none; display: flex; flex-direction: column; gap: var(--gap); }
.col.left { align-items: flex-start; padding-left: 20px; }
.col.right { align-items: flex-end; padding-right: 20px; }
@media (max-width: 380px) { .col.left { padding-left: 12px; } .col.right { padding-right: 12px; } }
.slot { pointer-events: auto; }
.round {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px; overflow: hidden;
  height: var(--icon); min-width: var(--icon); padding: 0 7px; border-radius: 999px;
  color: #fff; background: rgba(27, 24, 28, .5); border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  text-decoration: none; cursor: pointer; font: inherit; font-size: 10px; font-weight: 600; white-space: nowrap;
  transition: transform .15s ease;
}
.round:active { transform: scale(.95); }
.round[hidden], .slot[hidden] { display: none; }
.round svg { width: var(--glyph); height: var(--glyph); flex: none; }
.round .txt { overflow: hidden; max-width: 0; margin-left: -4px; opacity: 0; transition: max-width .45s ease, opacity .35s ease, margin-left .45s ease; }
/* rotulos "Ver lista" e "Avalie-nos no Google" aparecem so de vez em quando (ver script no index.html) */
body.show-list #btnList .txt, body.show-google #btnGoogle .txt { max-width: calc(140px * (1 - var(--p))); margin-left: 0; opacity: calc(1 - var(--p) * 1.4); }
/* os ícones da esquerda viram uma fileira ao rolar */
.col.left .slot { transform: translate(calc((var(--icon) + var(--gap)) * var(--i) * var(--p)), calc(-1 * (var(--icon) + var(--gap)) * var(--i) * var(--p))); }
/* ao rolar: "Ver lista"/voltar assume o lugar do Instagram (topo) e o Instagram vai para a direita dele */
.col.left #slotInsta { transform: translate(calc((var(--icon) + var(--gap)) * var(--p)), 0); }
.col.left #slotList, .col.left #slotBack { transform: translate(0, calc(-1 * (var(--icon) + var(--gap)) * var(--p))); }
/* google: recolhe e sobe ao lado da bandeira */
.col.right .slot.g { transform: translate(calc(-1 * (var(--icon) + var(--gap)) * var(--p)), calc(-1 * (var(--icon) + var(--gap)) * var(--p))); }
.col.right .slot.g .round { max-width: calc(500px - (500px - var(--icon)) * var(--p)); }
.flag { width: var(--glyph); height: var(--glyph); border-radius: 50%; }

main { max-width: none; padding: 0 20px; margin-top: calc(326px - 172px * var(--p)); }
.grid { gap: 16px; grid-template-columns: 1fr !important; padding-bottom: 32px; }

.card {
  position: relative; display: block; overflow: hidden; height: 207px;
  border-radius: 28px; padding: 0; border: 0; background: linear-gradient(135deg, #2a241a, #111);
  color: #fff; transition: transform .2s ease;
}
.card:hover { transform: scale(1.02); box-shadow: none; }
.card:active { transform: scale(.98); }
.card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-shade {
  position: absolute; inset: -1px;
  background-image:
    linear-gradient(90deg, rgba(0,0,0,.4), rgba(0,0,0,.4)),
    linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.8) 100%);
}
.card-text { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; }
.card-text h3 { margin: 0 0 8px; font-size: 22px; font-weight: 500; line-height: 1.15; color: #fff; }
.card-text p { margin: 0; font-size: 12px; color: #fff; }

.footer { max-width: none; margin: 0; padding: 24px 20px 40px; }

/* ===== Lista de pratos: sem o topo grande ===== */
body.is-list main { margin-top: 0; padding-top: 24px; }

/* ===== Desbloquear cardápio (estilo vidro) ===== */
.gate { background: none; position: fixed; inset: 0; z-index: 45; pointer-events: none; overflow: hidden; }
.gate-wrap { pointer-events: auto; position: absolute; top: 240px; left: 50%; transform: translateX(-50%); width: 100%; max-width: 448px; padding: 0 20px; z-index: 30; }
.gate-card {
  position: relative; width: 100%; max-width: 393px; margin: 0 auto; max-height: 75vh; overflow-y: auto;
  display: flex; flex-direction: column; align-items: stretch; gap: 12px; text-align: left;
  padding: 24px; border-radius: 16px; color: #fff;
  background: rgba(27, 24, 28, .8); border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.gate-lock { width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; margin: 0 auto; }
.gate-lock svg { width: 26px; height: 26px; }
.gate-title { margin: 0; text-align: center; font-size: 20px; font-weight: 500; color: #fff; }
.gate-sub { margin: 0 0 4px; text-align: center; font-size: 13px; color: rgba(255,255,255,.5); }
.gate-field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: #fff; width: 100%; }
.gate-input {
  width: 100%; height: 38px; padding: 0 12px; border-radius: 8px; font-size: 14px; font-family: inherit;
  border: 1px solid rgba(255,255,255,.1); background: rgba(27, 24, 28, .5); color: #fff;
}
.gate-input::placeholder { color: rgba(255,255,255,.4); }
.gate-input:focus { outline: 2px solid rgba(255,255,255,.35); outline-offset: 0; }
.gate-phone { flex-direction: row; gap: 8px; }
.gate-prefix { height: 38px; padding: 0 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,.1); background: rgba(27,24,28,.5); font-size: 14px; display: flex; align-items: center; gap: 6px; flex: none; color: #fff; }
.gate-btn { width: 100%; height: 38px; margin-top: 4px; border: 0; border-radius: 8px; background: #fff; color: #030003; font-size: 15px; font-family: inherit; cursor: pointer; }
.gate-error { margin: 0; color: #ff8a7a; font-size: 13px; }
.gate-legal { margin: 0; text-align: center; font-size: 11px; line-height: 1.6; color: rgba(255,255,255,.55); }
.gate-legal a { color: rgba(255,255,255,.8); text-decoration: underline; text-underline-offset: 2px; }
.gate-close { position: absolute; top: 15px; right: 15px; width: 18px; height: 18px; padding: 0; border: 0; background: none; color: #fff; opacity: .7; cursor: pointer; }
body.no-scroll main { visibility: hidden; }

/* ===== Pílula de horário e abas de categorias (estilo Alma) ===== */
.hours-pill {
  z-index: 21; top: calc(226px - 144px * var(--p)); width: auto; max-width: none;
  display: flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px;
  background: #1c1917; color: #fff; font-size: 10px; font-weight: 600; white-space: nowrap;
  opacity: calc(1 - var(--p) * 2);
}
.hours-pill svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.hours-pill i { width: 1px; height: 10px; background: rgba(255,255,255,.35); }
.hours-pill.closed { background: #7f1d1d; }

.tabs {
  z-index: 30; top: calc(270px - 172px * var(--p)); width: calc(100% - 40px); max-width: 408px; height: 48px;
  display: flex; align-items: center; gap: 22px; padding: 0 24px; overflow-x: auto; scrollbar-width: none;
  border-radius: 8px; background: rgba(214, 210, 205, .92); border: 1px solid rgba(0,0,0,.08);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: none; font-size: 16px; color: var(--muted); text-decoration: none; white-space: nowrap; cursor: pointer; }
.tabs a.active { color: var(--fg); }
.card { scroll-margin-top: 160px; }
body.no-scroll .tabs, body.no-scroll .hours-pill { visibility: hidden; }

/* ===== Fechar a tela de desbloqueio ===== */
.gate-close { font-size: 16px; line-height: 18px; z-index: 2; }

/* Sem zoom: nem toque duplo nem pinça (só rolagem) */
html, body { touch-action: pan-x pan-y; }

/* ===== Seletor de idiomas ===== */
.round .lang-x { display: none; }
.round .lang-ico { display: inline-flex; }
.col.lang-open #btnLang .lang-ico { display: none; }
.col.lang-open #btnLang .lang-x { display: inline-flex; }
.col.lang-open .slot.g { display: none; }
.lang-slot { display: none; }
.col.lang-open .lang-slot { display: block; }
.lang-panel {
  list-style: none; margin: 0; padding: 6px 4px; display: flex; flex-direction: column; gap: 6px;
  border-radius: 999px; background: rgba(27, 24, 28, .5); border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
}
.lang-opt { display: grid; place-items: center; width: 33px; height: 33px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.lang-opt .flag { width: 25px; height: 25px; }
.lang-opt:active { transform: scale(.92); }

/* ===== Bebidas ===== */
body.is-bev main { padding: 0; }
.bev { display: flex; align-items: flex-start; min-height: 60vh; padding-bottom: 32px; }
.bev[hidden] { display: none; }
.bev-side {
  position: sticky; top: calc(326px - 172px * var(--p)); flex: none; width: 77px;
  height: calc(100dvh - 326px + 172px * var(--p)); overflow-y: auto; scrollbar-width: none;
  display: flex; flex-direction: column; gap: 16px; padding: 20px 0;
  background: rgba(60, 56, 52, .62); color: #fff; border-radius: 8px 0 0 0;
}
.bev-side::-webkit-scrollbar { display: none; }
.bev-side[hidden] { display: none; }
.bev-tab { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 4px; border: 0; background: none; color: #fff; cursor: pointer; font: inherit; font-size: 10px; line-height: 12px; text-align: center; opacity: .55; }
.bev-tab.active { opacity: 1; font-weight: 600; }
.bev-circle { width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, .3) center / cover no-repeat; flex: none; }
.bev-main { flex: 1; min-width: 0; padding: 0 0 0 24px; }
.bev-sec { scroll-margin-top: 170px; margin-bottom: 24px; }
.bev-sec h2 { margin: 12px 0 16px; font-size: 22px; font-weight: 500; }
.bev-row { display: flex; gap: 16px; overflow-x: auto; scrollbar-width: none; padding-right: 20px; }
.bev-row::-webkit-scrollbar { display: none; }
.bev-item { flex: none; width: 101px; padding: 0; border: 0; background: none; color: var(--fg); font: inherit; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 6px; }
.bev-img { display: block; width: 101px; height: 96px; border-radius: 12px; overflow: hidden; background: #fff; }
.bev-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bev-name { font-size: 14px; line-height: 17px; margin-top: 8px; }
.bev-price { font-size: 13px; font-weight: 500; }

/* ===== Detalhes do item (folha inferior) ===== */
.sheet { position: fixed; inset: 0; z-index: 90; }
.sheet[hidden] { display: none; }
.sheet-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); }
.sheet-box {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 100%; max-width: 448px; max-height: 80dvh; overflow-y: auto;
  padding: 24px 16px calc(32px + env(safe-area-inset-bottom)); border-radius: 16px 16px 0 0; color: #fff;
  background: rgba(27, 24, 28, .92); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
}
.sheet-x { position: absolute; top: 16px; right: 16px; width: 24px; height: 24px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; }
.sheet-x svg { width: 24px; height: 24px; }
.sheet-head { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; padding-right: 32px; }
.sheet-img { flex: none; width: 70px; height: 70px; border-radius: 12px; background: #fff center / cover no-repeat; }
.sheet-img[hidden] { display: none; }
.sheet-name { margin: 0; font-size: 22px; font-weight: 500; line-height: 1.2; }
.sheet-price { margin: 4px 0 0; font-size: 16px; font-weight: 500; }
.sheet-desc { margin: 0; font-size: 16px; line-height: 23px; color: rgba(255, 255, 255, .85); white-space: pre-line; }
.sheet-desc[hidden] { display: none; }

[hidden] { display: none !important; }

/* ===== Stories no estilo do original ===== */
.stories { left: 50%; right: auto; width: 100%; max-width: 448px; transform: translateX(-50%); }
@media (min-width: 700px) { .stories { display: block; background: #000; } }
.st-media::after { background: linear-gradient(to bottom, rgba(0,0,0,.5) 0, rgba(0,0,0,0) 20%, rgba(0,0,0,0) 55%, rgba(0,0,0,.9) 100%); }
.st-top { position: absolute; z-index: 6; top: calc(28px + env(safe-area-inset-top)); left: 20px; right: 20px; display: flex; align-items: center; gap: 12px; }
.st-back { flex: none; width: 31px; height: 31px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: #fff; color: #000; cursor: pointer; }
.st-back svg { width: 18px; height: 18px; }
.st-cats {
  position: static; flex: 1; min-width: 0; display: flex; gap: 22px; padding: 6px 14px; overflow-x: auto; scrollbar-width: none;
  border-radius: 999px; background: rgba(27, 24, 28, .5); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
}
.st-cat { padding: 2px 0; font-size: 16px; font-weight: 400; color: #fff; opacity: .5; font-family: inherit; }
.st-cat.active { opacity: 1; font-weight: 400; }
.st-list {
  position: static; flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px;
  background: #fff; color: #000; font-size: 13px; font-weight: 500; text-decoration: none; backdrop-filter: none;
}
.st-list svg { width: 14px; height: 14px; }
.st-row { position: absolute; z-index: 6; top: calc(88px + env(safe-area-inset-top)); left: 20px; right: 20px; display: flex; align-items: center; gap: 12px; }
.st-bars { position: static; flex: 1; display: flex; gap: 4px; }
.st-bar { height: 3px; background: rgba(255,255,255,.4); }
.st-like, .st-pause { flex: none; width: 28px; height: 28px; display: grid; place-items: center; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; }
.st-like svg, .st-pause svg { width: 24px; height: 24px; }
.st-like.on svg { fill: #ef4444; stroke: #ef4444; }
.st-tapleft, .st-tapright { top: 130px; bottom: 180px; }
.st-hint { position: absolute; z-index: 5; right: 16px; top: 42%; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; color: #fff; font-size: 14px; pointer-events: none; transition: opacity .4s; }
.st-hint svg { width: 26px; height: 26px; }
.st-hint.gone { opacity: 0; }
.st-info { bottom: 0; padding: 0 20px calc(28px + env(safe-area-inset-bottom)); pointer-events: auto; }
.st-close { position: absolute; top: 0; right: 16px; width: 28px; height: 28px; display: grid; place-items: center; padding: 0; font-size: 0; }
.st-close svg { width: 24px; height: 24px; }
.st-cat-name { margin: 0 0 6px; font-size: 13px; letter-spacing: 0; text-transform: none; color: #fff; }
.st-dish { margin: 0 40px 4px 0; font-size: 24px; font-weight: 500; line-height: 1.2; }
.st-price { margin: 0 0 16px; font-size: 16px; font-weight: 600; }
.st-desc { margin: 0; font-size: 16px; line-height: 23px; color: rgba(255,255,255,.85); max-height: 30vh; overflow-y: auto; }
.st-note { margin: 10px 0 0; }

/* ===== Cardápio em lista ===== */
.lst { position: fixed; inset: 0; z-index: 110; }
.lst-bg { position: absolute; left: 50%; top: 0; bottom: 0; width: 100%; max-width: 448px; transform: translateX(-50%); background: #111 center / cover no-repeat; }
.lst-box {
  position: absolute; left: 50%; transform: translateX(-50%); top: calc(20px + env(safe-area-inset-top)); bottom: 20px;
  width: calc(100% - 40px); max-width: 408px; display: flex; flex-direction: column; padding: 16px; border-radius: 20px; color: #fff;
  background: rgba(27, 24, 28, .55); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
}
.lst-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.lst-head h2 { margin: 0; font-size: 22px; font-weight: 400; }
.lst-x { width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: #fff; color: #000; cursor: pointer; }
.lst-x svg { width: 20px; height: 20px; }
.lst-tabs {
  flex: none; display: flex; gap: 22px; padding: 6px 14px; margin-bottom: 16px; overflow-x: auto; scrollbar-width: none;
  border-radius: 999px; background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .08);
}
.lst-tabs::-webkit-scrollbar, .lst-scroll::-webkit-scrollbar { display: none; }
.lst-tabs button { flex: none; padding: 2px 0; border: 0; background: none; color: #fff; opacity: .5; font: inherit; font-size: 15px; white-space: nowrap; cursor: pointer; }
.lst-tabs button.active { opacity: 1; }
.lst-scroll { position: relative; flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.lst-sec { margin-bottom: 24px; }
.lst-sec h3 { margin: 0 0 16px; font-size: 20px; font-weight: 500; }
.lst-note { margin: -8px 0 14px; font-size: 13px; color: rgba(255,255,255,.6); }
.lst-group { margin: 4px 0 12px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.7); }
.lst-item { display: flex; gap: 16px; margin-bottom: 18px; }
.lst-img { flex: none; width: 84px; height: 84px; border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, .1); }
.lst-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lst-name { margin: 0 0 4px; font-size: 15px; }
.lst-desc { margin: 0 0 4px; font-size: 13px; line-height: 19px; color: rgba(255,255,255,.55); white-space: pre-line; }
.lst-price { margin: 0; font-size: 15px; }
body.lst-open { overflow: hidden; }
