/* ===== Jhony's — cardápio estilo feed ===== */
:root {
  --bg: #ffffff;
  --page: #fafafa;
  --fg: #0f0f0f;
  --muted: #737373;
  --line: #dbdbdb;
  --chip: #efefef;
  --wine: #7a2631;
  --wine-2: #5e1a24;
  --gold: #f2c230;
  --link: #00376b;
  --heart: #ff3040;
  --sheet: #ffffff;
  --shadow: 0 10px 40px rgba(0,0,0,.18);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000; --page: #000000; --fg: #f5f5f5; --muted: #a8a8a8; --line: #262626;
    --chip: #262626; --link: #e0f1ff; --sheet: #1c1c1c; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #000000; --page: #000000; --fg: #f5f5f5; --muted: #a8a8a8; --line: #262626;
  --chip: #262626; --link: #e0f1ff; --sheet: #1c1c1c; color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body { background: var(--page); color: var(--fg); font: 14px/1.4 var(--font); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
svg.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.app { max-width: 470px; margin: 0 auto; background: var(--bg); min-height: 100vh; min-height: 100dvh;
  border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
@media (max-width: 470px) { .app { border: 0; } }

/* ---- Logo ---- */
/* Logo oficial em imagem (img/logo-jhonys.png e img/logo-jhonys-branco.png) */
.logo-img { display: block; line-height: 0; }
.logo-img img { height: 40px; width: auto; }

/* Círculo vinho liso com o logo branco, como a foto de perfil do Instagram */
.avatar { border-radius: 50%; background: var(--wine); display: grid; place-items: center; color: #fff; overflow: hidden; flex: none; }
.avatar img { width: 76%; height: auto; }
.ring { padding: 3px; border-radius: 50%; background: conic-gradient(from 200deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75); flex: none; }
.ring > .avatar { border: 3px solid var(--bg); }

/* ---- Top bar ---- */
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  padding: 8px 16px; height: 56px; background: var(--bg); border-bottom: 1px solid var(--line); }
.topbar .actions { display: flex; gap: 18px; }
.icon-btn { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; position: relative; }
.icon-btn:active { opacity: .5; }
.badge { position: absolute; top: 2px; right: 0; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px;
  background: var(--heart); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; }
.badge[hidden] { display: none; }

/* ---- Profile ---- */
.profile { padding: 16px 16px 4px; }
.profile-top { display: flex; align-items: center; gap: 22px; }
.stats { flex: 1; display: grid; gap: 4px; text-align: center; }
.stats-row { display: flex; justify-content: space-around; }
.stats-row > * { padding: 2px 6px; border-radius: 8px; min-width: 64px; }
.stats-row button:active, .stats-row a:active { background: var(--chip); }
/* segunda linha (curtidas e seguidores) um pouco menor, separada por uma linha fina */
.stats-row.sub { border-top: 1px solid var(--line); padding-top: 4px; justify-content: space-evenly; }
.stats-row.sub b { font-size: 14px; }
.stats-row.sub span { font-size: 12px; color: var(--muted); }
.stats b { display: block; font-size: 16px; }
.stats span { font-size: 13px; color: var(--fg); }
.bio { margin-top: 12px; }
.bio h1 { font-size: 14px; margin: 0 0 2px; font-weight: 600; }
.bio p { margin: 0; white-space: pre-line; }
.bio .cat { color: var(--muted); }
.profile-btns { display: flex; gap: 8px; margin-top: 8px; }
.btn { flex: 1; height: 34px; border-radius: 8px; background: var(--chip); font-weight: 600; font-size: 14px;
  display: grid; place-items: center; }
.btn.primary { background: var(--wine); color: #fff; }
.btn:active { filter: brightness(.92); }
/* botão do Instagram ocupando a linha inteira */
.btn-ig { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; height: 38px; }
.btn-ig svg { width: 18px; height: 18px; }

/* selo do dia da semana (Pratos do Dia): amarelo da marca com texto vinho */
.dia { display: inline-block; background: var(--gold); color: #5e1a24; font: 800 11px/1 var(--font); letter-spacing: .05em;
  text-transform: uppercase; padding: 4px 8px; border-radius: 999px; margin-right: 6px; vertical-align: 2px; }

/* ---- Highlights ---- */
/* círculos fixos logo abaixo da barra do topo enquanto a página rola */
.highlights { position: sticky; top: 56px; z-index: 16; background: var(--bg); border-bottom: 1px solid var(--line);
  display: flex; gap: 12px; overflow-x: auto; padding: 10px 16px 8px; scrollbar-width: none; }
.highlights::-webkit-scrollbar { display: none; }
.hl { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 66px; flex: none; }
.hl .ring { padding: 2px; background: var(--line); }
/* círculo da categoria aberta: anel colorido e nome em destaque */
.hl.on .ring { background: conic-gradient(from 200deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75); }
.hl.on span { font-weight: 700; color: var(--wine); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hl.on span { color: #f08c99; } }
.hl .avatar { width: 54px; height: 54px; font-size: 24px; border-width: 2px; }
.hl span { font-size: 12px; max-width: 70px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---- Tabs ---- */
.tabs { display: flex; background: var(--bg); border-top: 1px solid var(--line); }
.tab { flex: 1; height: 46px; display: grid; place-items: center; color: var(--muted); border-bottom: 1px solid var(--line); }
.tab[aria-selected="true"] { color: var(--fg); border-bottom: 1.5px solid var(--fg); }

/* ---- Post ---- */
.post { border-bottom: 1px solid var(--line); padding-bottom: 12px; scroll-margin-top: 150px; }
.post.flash { animation: flash 1.6s ease; }
@keyframes flash { 0%,40% { background: color-mix(in srgb, var(--gold) 22%, var(--bg)); } 100% { background: var(--bg); } }
.post-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.post-head .ring { padding: 2px; }
.post-head .avatar { width: 32px; height: 32px; border-width: 2px; }
.post-head .who { flex: 1; line-height: 1.2; min-width: 0; }
.post-head .who b { font-size: 14px; }
.post-head .who span { display: block; font-size: 12px; color: var(--muted); }
.verified { display: inline-block; width: 13px; height: 13px; vertical-align: -1px; margin-left: 2px; }

.media { position: relative; background: #111; user-select: none; -webkit-user-select: none; }
.track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 3 / 2; }
.track::-webkit-scrollbar { display: none; }
.track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: center; -webkit-user-drag: none; }
.spin-slide { flex: 0 0 100%; width: 100%; height: 100%; scroll-snap-align: center; background: #111; }
.spin-slide video { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.spin-badge { position: absolute; top: 12px; left: 12px; display: flex; align-items: center; gap: 6px; padding: 5px 10px 5px 6px;
  border-radius: 16px; background: rgba(0,0,0,.65); color: #fff; font-size: 12px; font-weight: 600; }
.spin-badge b { background: var(--gold); color: #111; border-radius: 10px; padding: 2px 6px; font-size: 11px; }
.grid .g-360 { position: absolute; top: 6px; right: 6px; background: var(--gold); color: #111; font-size: 10px; font-weight: 800;
  padding: 2px 5px; border-radius: 8px; }

/* ---- Visualizador 360° ---- */
.spin-view { position: fixed; inset: 0; z-index: 60; background: #000; color: #fff; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 16px; animation: fade .2s ease; }
.spin-top { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between;
  padding: 12px 12px 12px 16px; max-width: 470px; margin: 0 auto; }
.spin-top .icon-btn { color: #fff; }
.spin-stage { position: relative; width: min(100%, 470px); aspect-ratio: 3 / 2; border-radius: 12px; overflow: hidden;
  touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.spin-stage:active { cursor: grabbing; }
.spin-stage video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.spin-hand { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); font-size: 26px; background: rgba(0,0,0,.5);
  width: 52px; height: 36px; border-radius: 18px; display: grid; place-items: center; animation: sway 1.6s ease-in-out infinite; }
@keyframes sway { 50% { transform: translateX(calc(-50% + 14px)); } }
.spin-help { color: #bbb; font-size: 13px; margin: 12px 0 0; }
.spin-info { max-width: 440px; text-align: center; margin-top: 10px; font-size: 14px; color: #ddd; }
.spin-info b { display: block; color: #fff; font-size: 20px; margin-bottom: 4px; }

.counter { position: absolute; top: 12px; right: 12px; background: rgba(0,0,0,.65); color: #fff; font-size: 12px;
  padding: 3px 8px; border-radius: 12px; }
.price-tag { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.94); color: #111; font-weight: 700;
  padding: 6px 10px; border-radius: 6px; font-size: 14px; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.price-tag small { font-weight: 500; color: #555; }
.burst { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.burst svg { width: 96px; height: 96px; fill: #fff; filter: drop-shadow(0 4px 18px rgba(0,0,0,.35)); opacity: 0; transform: scale(.2); }
.burst.go svg { animation: burst .9s ease forwards; }
@keyframes burst { 15% { opacity: 1; transform: scale(1.15); } 30% { transform: scale(.95); } 45%,75% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.1) translateY(-30px); } }
.dots { display: flex; justify-content: center; gap: 4px; height: 0; position: relative; top: 18px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.dots i.on { background: #0095f6; }

.actions-row { display: flex; align-items: center; gap: 14px; padding: 8px 12px 4px; }
.actions-row .sp { flex: 1; }
.act { display: grid; place-items: center; }
.act:active { transform: scale(.88); }
.act.liked svg { fill: var(--heart); stroke: var(--heart); animation: pop .35s ease; }
.act.saved svg { fill: currentColor; }
@keyframes pop { 50% { transform: scale(1.25); } }
.likes { padding: 2px 12px; font-weight: 600; }
.caption { padding: 2px 12px; margin: 0; }
.caption .dish { font-weight: 700; color: var(--wine); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .caption .dish { color: #f08c99; } }
:root[data-theme="dark"] .caption .dish { color: #f08c99; }
.caption .tags { color: var(--link); }
.pair { padding: 4px 12px 0; margin: 0; font-size: 13px; color: var(--muted); }
.view-comments { display: block; padding: 4px 12px 0; color: var(--muted); }
.c-preview { list-style: none; margin: 2px 0 0; padding: 0 12px; }
.c-preview li { padding: 1px 0; overflow-wrap: anywhere; }
.add-comment { display: block; width: 100%; text-align: left; padding: 6px 12px 0; color: var(--muted); }
.when { padding: 4px 12px 0; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .02em; }

/* ---- Grid ---- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.grid button { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #111; }
.grid img { width: 100%; height: 100%; object-fit: cover; }
.grid .multi { position: absolute; top: 6px; right: 6px; width: 18px; height: 18px; fill: #fff; filter: drop-shadow(0 1px 2px rgba(0,0,0,.6)); }
.grid .g-name { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 6px 5px; color: #fff; font-size: 11px; font-weight: 600;
  text-align: left; background: linear-gradient(transparent, rgba(0,0,0,.7)); line-height: 1.2; }

/* ---- Menu list ---- */
.menu-head { background: var(--bg); padding: 10px 12px 8px; border-bottom: 1px solid var(--line); }
.search { display: flex; align-items: center; gap: 8px; background: var(--chip); border-radius: 10px; padding: 0 12px; height: 38px; color: var(--muted); }
.search input { flex: 1; border: 0; outline: 0; background: transparent; color: var(--fg); font: inherit; font-size: 16px; min-width: 0; }
/* aviso de categoria filtrada + atalho para o cardápio completo */
.filtro { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 8px; font-size: 13px; color: var(--muted); }
.filtro button { color: #0095f6; font-weight: 600; }
.msec { padding: 18px 12px 6px; scroll-margin-top: 150px; }
.msec h2 { font-size: 18px; margin: 0; display: flex; align-items: center; gap: 8px; }
.msec .nota { color: var(--muted); font-size: 13px; margin: 4px 0 0; }
.msec h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--wine); margin: 16px 0 2px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .msec h3 { color: #f08c99; } }
:root[data-theme="dark"] .msec h3 { color: #f08c99; }
.mi { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.mi .thumb { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; flex: none; }
.mi .txt { flex: 1; min-width: 0; }
.mi .nm { font-weight: 600; }
.mi .ds { color: var(--muted); font-size: 13px; margin-top: 1px; }
/* sempre na própria linha, abaixo das estrelas/descrição */
.mi .see { color: #0095f6; font-size: 13px; font-weight: 600; margin-top: 3px; display: block; width: fit-content; text-align: left; }
.mi .pr { font-weight: 700; white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.mi .pr small { display: block; font-weight: 400; color: var(--muted); font-size: 11px; }
.mi .sv { color: var(--muted); padding: 2px; margin-left: 2px; }
.mi .sv.saved { color: var(--fg); }
.mi .sv.saved svg { fill: currentColor; }
.mi .sv svg { width: 20px; height: 20px; }
.empty { text-align: center; color: var(--muted); padding: 48px 24px; }
.empty b { display: block; color: var(--fg); font-size: 16px; margin-bottom: 4px; }

/* Janela "Pedido pronto" (abre o WhatsApp na mesma aba) */
.o-pronto p { padding: 4px 20px 0; margin: 0 0 14px; font-size: 14px; text-align: center; line-height: 1.4; }
.o-pronto #o-wa { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 16px; height: 46px; font-size: 15px; text-decoration: none; }

/* Histórico de pedidos enviados */
.hist { padding: 8px 12px 24px; border-top: 8px solid var(--chip); }
.hist h3 { font-size: 16px; margin: 8px 0 10px; }
.h-card { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-bottom: 10px; }
.h-top { display: flex; justify-content: space-between; align-items: baseline; }
.h-top small, .h-sub { color: var(--muted); font-size: 12px; }
.h-card ul { list-style: none; margin: 8px 0; padding: 0; font-size: 13px; }
.h-card li { display: flex; justify-content: space-between; gap: 8px; padding: 2px 0; }
.h-card li small { color: var(--muted); }
.h-bot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 8px; font-size: 13px; }
.h-bot button { font-weight: 600; color: var(--accent, #0095f6); font-size: 13px; }

.saved-total { margin: 12px; padding: 12px; border-radius: 12px; background: var(--chip); display: flex; justify-content: space-between; align-items: center; }
.saved-total small { display: block; color: var(--muted); }

.footer { padding: 28px 16px 40px; text-align: center; color: var(--muted); font-size: 12px; }
.footer .demo { margin: 10px auto 0; max-width: 340px; padding: 8px 12px; border: 1px dashed var(--line); border-radius: 10px; }

/* ---- Sheets ---- */
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 50; display: flex; align-items: flex-end; justify-content: center;
  animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } }
.sheet { width: 100%; max-width: 470px; background: var(--sheet); border-radius: 14px 14px 0 0; max-height: 86dvh; display: flex; flex-direction: column;
  animation: up .25s cubic-bezier(.2,.8,.2,1); padding-bottom: env(safe-area-inset-bottom); }
@keyframes up { from { transform: translateY(100%); } }
.grab { width: 40px; height: 4px; border-radius: 2px; background: var(--line); margin: 8px auto 4px; }
.sheet h4 { text-align: center; margin: 4px 0 8px; font-size: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.c-list { overflow-y: auto; padding: 8px 16px; flex: 1; min-height: 120px; list-style: none; margin: 0; }
.c-list li { display: flex; gap: 10px; padding: 8px 0; }
.c-av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; flex: none; font-size: 13px; }
.c-list .c-body { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.c-list .c-meta { color: var(--muted); font-size: 12px; }
.c-form { border-top: 1px solid var(--line); padding: 10px 12px 12px; display: grid; gap: 8px; }
.c-form input { width: 100%; border: 1px solid var(--line); border-radius: 22px; background: var(--bg); color: var(--fg);
  padding: 10px 14px; font: inherit; font-size: 16px; outline: none; }
.c-form input:focus { border-color: var(--muted); }
.c-form .row { display: flex; gap: 8px; align-items: center; }
.c-form .row input { flex: 1; }
.c-form .send { color: #0095f6; font-weight: 700; padding: 8px 6px; }
.c-form .send:disabled { opacity: .4; }
.c-form .hint { font-size: 11px; color: var(--muted); padding: 0 6px; }
.emojis { display: flex; justify-content: space-around; font-size: 22px; padding: 0 4px; }

.share-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 16px 22px; }
.share-opts button { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; }
.share-opts .circ { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--chip); }
.share-opts .wa { background: #25d366; color: #fff; }
.share-opts .wa svg { fill: #fff; stroke: none; width: 30px; height: 30px; }
.share-prev { display: flex; gap: 12px; align-items: center; margin: 4px 16px 0; padding: 10px; border-radius: 12px; background: var(--chip); }
.share-prev img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; }
.share-prev small { color: var(--muted); display: block; }

/* ---- Stories ---- */
.story { position: fixed; inset: 0; z-index: 60; background: #000; display: flex; justify-content: center; animation: fade .2s ease; }
.story-in { position: relative; width: 100%; max-width: 470px; height: 100%; color: #fff; overflow: hidden;
  background: radial-gradient(120% 80% at 20% 0%, #9b3443 0%, var(--wine) 45%, #2a0b10 100%); }
.story-in::before { content: ""; position: absolute; inset: 0; background-image: var(--bgimg); background-size: cover; background-position: center;
  opacity: .22; filter: blur(2px) saturate(1.1); }
.bars { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; gap: 4px; z-index: 3; }
.bars i { flex: 1; height: 2.5px; border-radius: 2px; background: rgba(255,255,255,.35); overflow: hidden; }
.bars i b { display: block; height: 100%; width: 0; background: #fff; }
.bars i.done b { width: 100%; }
.story-top { position: absolute; top: 22px; left: 12px; right: 8px; z-index: 3; display: flex; align-items: center; gap: 10px; }
.story-top .avatar { width: 32px; height: 32px; border: 0; }
.story-top b { font-size: 14px; }
.story-top span { opacity: .75; font-size: 13px; }
.story-top .x { margin-left: auto; color: #fff; }
/* Destaques com foto: fundo desfocado + a foto inteira (sem cortar) */
.story-in.photo::before { opacity: .7; filter: blur(24px) saturate(1.2); transform: scale(1.15); }
.story-in.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.35), transparent 25%, rgba(0,0,0,.25) 55%, rgba(0,0,0,.88)); }
.story-photo { position: absolute; z-index: 1; left: 0; width: 100%; top: 18%; aspect-ratio: 3 / 2; object-fit: cover;
  box-shadow: 0 12px 40px rgba(0,0,0,.45); pointer-events: none; }
.story-body { position: absolute; inset: 72px 18px 70px; z-index: 2; display: flex; flex-direction: column; justify-content: center; pointer-events: none; }
.story-body h2 { font: 400 40px/1.05 "Kaushan Script", cursive; margin: 0 0 6px; text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.story-body h2 em { font-style: normal; display: block; font: 600 13px/1.2 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.story-body .nota { opacity: .85; margin: 0 0 10px; font-size: 13px; }
.story-list { list-style: none; margin: 0; padding: 14px 16px; background: rgba(0,0,0,.28); border-radius: 16px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.story-list li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed rgba(255,255,255,.18); }
.story-list li:last-child { border: 0; }
.story-list li.sub { color: var(--gold); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; border: 0; padding: 10px 0 2px; }
.story-list .n { font-weight: 600; }
.story-list .d { display: block; font-weight: 400; font-size: 12px; opacity: .78; }
.story-list .p { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.story-list .p small { display: block; font-weight: 400; font-size: 10px; opacity: .7; text-align: right; }
.story-tap { position: absolute; top: 60px; bottom: 70px; z-index: 1; width: 35%; }
.story-tap.l { left: 0; } .story-tap.r { right: 0; width: 65%; }
.story-foot { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 14px 16px calc(18px + env(safe-area-inset-bottom));
  display: flex; gap: 10px; }
.story-foot button { flex: 1; height: 42px; border-radius: 22px; border: 1px solid rgba(255,255,255,.6); color: #fff; font-weight: 600; }
.story-foot button.solid { background: #fff; color: var(--wine); border-color: #fff; }

/* ---- Toast ---- */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: #262626; color: #fff; padding: 10px 16px;
  border-radius: 10px; font-size: 14px; opacity: 0; transition: .25s; z-index: 90; pointer-events: none; max-width: 90vw; text-align: center; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---- Itens sem foto: espaço da foto vazio e botão apagado (fica tudo alinhado igual) ---- */
.mi .thumb.vazio { display: grid; place-items: center; background: var(--chip); color: var(--muted); border: 1px dashed var(--line); }
.mi .thumb.vazio svg { width: 22px; height: 22px; opacity: .6; }
.mi .see.off { color: var(--muted); opacity: .45; cursor: default; }

/* ---- Pratos do Dia: o dia aparece uma vez, como selo, com os pratos embaixo ---- */
.msec h3.dia-h { margin: 18px 0 4px; }
.msec h3.dia-h .dia { font-size: 12px; padding: 5px 10px; }

/* ---- Avaliação com estrelas ---- */
.st { color: #f5a623; letter-spacing: 1px; font-size: 14px; }
.st.off { color: var(--line); }
.st.sm { font-size: 12px; }
/* estrelas ao lado do nome, na lista do cardápio */
.rate-mini { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); margin: 2px 0 1px; padding: 0; }
.rate-mini .st { font-size: 13px; }
.rate-mini b { color: var(--fg); font-size: 12px; }
.rate-mini span { font-size: 12px; }
.rating { display: block; padding: 2px 12px; font-size: 13px; color: var(--muted); text-align: left; }
.rating b { color: var(--fg); }
.sheet h4 small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); margin-top: 4px; }
.stars-in { display: flex; align-items: center; gap: 2px; padding: 0 4px; }
.stars-in span { font-size: 13px; color: var(--muted); margin-right: 6px; }
.stars-in button { font-size: 30px; line-height: 1; color: var(--line); padding: 0 2px; }
.stars-in button.on { color: #f5a623; }

/* ---- Escolha de tamanho ao salvar (1 ou 2 pessoas) ---- */
.sizes { display: grid; gap: 10px; padding: 8px 16px; }
.sizes button { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--line); font-size: 15px; font-weight: 600; }
.sizes button:active { background: var(--chip); }
.sizes b { color: var(--wine); }
.size-cancel { display: block; margin: 4px auto 16px; color: var(--muted); padding: 8px 16px; }

/* ---- Meu pedido: quantidade e envio ---- */
.qty { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; border: 1px solid var(--line); border-radius: 20px; padding: 2px 4px; }
.qty button { width: 28px; height: 28px; border-radius: 50%; font-size: 18px; font-weight: 700; color: var(--wine); display: grid; place-items: center; }
.qty button:disabled { color: var(--line); }
.qty b { min-width: 14px; text-align: center; }
.pedido { margin: 8px 12px 24px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; display: grid; gap: 10px; }
.pedido h3 { margin: 0; font-size: 17px; }
.pedido label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; color: var(--muted); }
.pedido input, .pedido select, .pedido textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--fg);
  padding: 10px 12px; font: inherit; font-size: 16px; font-weight: 400; }
.pedido textarea { resize: vertical; }
.o-row { display: grid; grid-template-columns: 1fr 90px; gap: 10px; }
.mesa-qr { margin: 0; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--gold) 25%, var(--bg)); font-weight: 700; }
.btn-wa { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; font-size: 15px; background: #25d366 !important; }
.btn-wa svg { width: 22px; height: 22px; fill: #fff; stroke: none; }
.o-hint { margin: 0; font-size: 12px; color: var(--muted); text-align: center; }
.o-clear { color: var(--muted); font-size: 13px; text-decoration: underline; justify-self: center; }
.o-conta { border: 0; margin: 0; padding: 0; display: grid; gap: 6px; }
.o-conta legend { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 4px; padding: 0; }
.o-conta label { display: flex; flex-direction: row; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--fg);
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.o-conta input { width: 18px; height: 18px; margin: 0; accent-color: var(--wine); }
.o-conta label:has(input:checked) { border-color: var(--wine); background: color-mix(in srgb, var(--wine) 6%, var(--bg)); }
.o-ultimo { margin: 0; text-align: center; font-size: 13px; }

/* ---- Captação de contato (WhatsApp + consentimento LGPD) ---- */
.lead { display: grid; gap: 6px; }
.consent { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: var(--muted); padding: 0 6px; line-height: 1.35; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--wine); }
.priv-link { color: #0095f6; font-size: 12px; padding: 0; text-decoration: underline; }
.lead-err { font-size: 12px; color: #c0392b; padding: 0 6px; }
.priv-layer { z-index: 55; }
.priv-body { padding: 4px 18px 8px; font-size: 14px; line-height: 1.45; overflow-y: auto; }
.priv-body p { margin: 0 0 10px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* ===== appcardapio: itens genéricos para qualquer restaurante ===== */
.logo-txt { font: 400 26px/1 "Kaushan Script", cursive; color: var(--wine); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 62vw; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-txt { color: #fff; } }
.logo-img img { height: 40px; width: auto; max-width: 60vw; object-fit: contain; }
.avatar img.cover { width: 100%; height: 100%; object-fit: cover; }
.avatar.ini { font-weight: 700; letter-spacing: .02em; }
.footer .feito { margin-top: 10px; font-size: 11px; opacity: .75; }
.footer .feito a { color: inherit; font-weight: 600; }
.fora { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 32px 24px; color: var(--muted); }
.fora b { display: block; color: var(--fg); font-size: 18px; margin-bottom: 6px; }