/* Vitrine — loja do cliente. Mobile-first.
   Mídia em tela cheia com desfoque progressivo na base; controles de vidro fino sobre a imagem;
   compra em superfícies calmas que seguem o tema (claro/noturno). */
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--on-ink); padding: 10px 14px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }
#view { min-height: 100dvh; outline: none; }
.boot { min-height: 100dvh; display: grid; place-items: center; color: var(--ink-3); }
.page { padding: 20px var(--gutter) calc(140px + var(--safe-b)); max-width: 1180px; margin: 0 auto; }
.page.narrow { max-width: 640px; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.page-title { font-size: 34px; font-weight: 700; letter-spacing: -0.035em; margin: 8px 0 16px; }
.link { color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none; opacity: .72; transition: opacity .2s; }
.link:hover { opacity: 1; }
.back { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 600; min-height: 44px; }
.stack { display: grid; gap: 14px; }
.center { text-align: center; }
.state { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 56px 16px; color: var(--ink-2); }
.state h1, .state h2 { color: var(--ink); font-size: 22px; }
.state .icon-lg { width: 34px; height: 34px; color: var(--ink-3); }
.state-page { min-height: 80dvh; align-content: center; padding: 24px; }
.state-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--ink-2); font-size: 12px; font-weight: 600; }
.tag-off { background: var(--warn-soft); color: var(--warn); }
.avatar { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; flex: none; font-size: 12px; font-weight: 700; letter-spacing: .02em;
  color: #fff; background: linear-gradient(145deg, #2b2e34, #0c0e11); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.avatar-lg { width: 52px; height: 52px; font-size: 16px; }
.flip { transform: rotate(180deg); }
.kb { animation: kb 22s ease-in-out infinite alternate; transform-origin: 50% 40%; }
@keyframes kb { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
.chips-ghost { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-ghost { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 14px; border-radius: var(--r-pill); font-size: 13px; font-weight: 500; }
.cg-sep { width: 1px; height: 12px; background: rgba(255,255,255,.4); margin: 0 2px; }
.live { width: 7px; height: 7px; border-radius: 50%; background: #5ee08f; box-shadow: 0 0 0 0 rgba(94,224,143,.6); animation: live 2s infinite; }
.live.off { background: #ffb44a; animation: none; }
@keyframes live { 70% { box-shadow: 0 0 0 7px rgba(94,224,143,0); } 100% { box-shadow: 0 0 0 0 rgba(94,224,143,0); } }

/* ── Barra inferior flutuante ── */
.tabbar { position: fixed; z-index: 40; left: 50%; transform: translateX(-50%); bottom: calc(12px + var(--safe-b));
  display: grid; grid-template-columns: repeat(4, 1fr); width: min(420px, calc(100% - 24px)); padding: 6px; border-radius: 30px; isolation: isolate; }
.tab-blob { position: absolute; z-index: -1; top: 6px; bottom: 6px; left: 0; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-1);
  transition: transform .5s var(--ease-spring), width .5s var(--ease-spring), opacity .3s; }
.tabbar.glass-dark .tab-blob { background: rgba(255,255,255,.16); box-shadow: inset 0 1px 0 rgba(255,255,255,.18); }
.tab { position: relative; display: grid; justify-items: center; gap: 2px; padding: 8px 4px 6px; border-radius: 24px; text-decoration: none;
  font-size: 11px; font-weight: 600; color: var(--ink-2); transition: color .25s; }
.tabbar.glass-dark .tab { color: rgba(255,255,255,.7); }
.tab.active { color: var(--ink); }
.tabbar.glass-dark .tab.active { color: #fff; }
.tab .badge { position: absolute; top: 3px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--signal); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--surface); }
.bump .icon, .bump.minicart { animation: bump .5s var(--ease-spring); }
@keyframes bump { 35% { transform: scale(1.18); } 70% { transform: scale(.97); } }
.minicart.bump { animation: mc-bump .55s var(--ease-spring); }
@keyframes mc-bump { 40% { transform: translateX(-50%) translateY(0) scale(1.05); } }

/* Mini-pedido: controle sempre visível sem sair da tela */
.minicart { position: fixed; z-index: 39; left: 50%; bottom: calc(86px + var(--safe-b)); transform: translateX(-50%) translateY(24px) scale(.96); opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 12px; width: min(420px, calc(100% - 24px)); padding: 8px 8px 8px 10px; border-radius: 22px; text-decoration: none; color: var(--ink);
  transition: transform .5s var(--ease-spring), opacity .3s; }
.minicart.glass-dark { color: #fff; }
.minicart.show { opacity: 1; transform: translateX(-50%); pointer-events: auto; }
.mc-thumbs { display: flex; }
.mc-thumbs img { width: 36px; height: 36px; border-radius: 12px; object-fit: cover; box-shadow: 0 0 0 2px var(--surface); margin-right: -10px; background: var(--surface-2); }
.minicart.glass-dark .mc-thumbs img { box-shadow: 0 0 0 2px rgba(20,20,24,.9); }
.mc-text { flex: 1; display: grid; line-height: 1.2; padding-left: 10px; font-size: 13px; }
.mc-text b { font-size: 14px; }
.mc-go { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 14px; border-radius: 16px; background: var(--ink); color: var(--on-ink); font-weight: 600; font-size: 14px; }
.minicart.glass-dark .mc-go { background: #fff; color: #0c0e11; }
.fly { position: fixed; z-index: 150; object-fit: cover; pointer-events: none; box-shadow: 0 12px 30px rgba(0,0,0,.35); }

.ctx-banner { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--r-pill); font-size: 13px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 14px; }
.hero .ctx-banner { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.closed-banner { margin-bottom: 16px; }

/* ── Botões e marca ── */
.btn-signal { background: var(--signal); color: #fff; }
@media (hover: hover) { .btn-signal:hover:not(:disabled) { filter: brightness(1.07); } }
.btn-xl { min-height: 60px; font-size: 17px; border-radius: 20px; }
.brand-mark { display: block; flex: none; }
.brand-mark .bm-bun { fill: var(--signal); } .brand-mark .bm-patty { fill: var(--ink); } .brand-mark .bm-flame { fill: #ffe6cc; }

/* ── Entrada da marca (~0,9 s) ── */
.splash { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: var(--signal); transition: opacity .3s ease; cursor: pointer; }
.splash.out { opacity: 0; pointer-events: none; }
.sp-in { display: grid; justify-items: center; gap: 14px; }
.sp-mark { width: 84px; height: 84px; animation: sp-pop .55s var(--ease-spring) both; }
.splash .bm-bun { fill: #fff4e8; } .splash .bm-patty { fill: #1e120c; } .splash .bm-flame { fill: var(--signal); }
@keyframes sp-pop { from { opacity: 0; transform: scale(.6); } }
.sp-name { min-height: 30px; color: #fff; font-size: 24px; font-weight: 800; letter-spacing: -0.03em; opacity: 0; transform: translateY(6px); transition: opacity .3s ease .15s, transform .3s var(--ease-out) .15s; }
.splash.named .sp-name { opacity: 1; transform: none; }

/* ── "Que tal este?" (vídeo opcional) ── */
.layer-full .layer-panel { inset: 0; max-height: none; border-radius: 0; background: var(--bg); color: var(--ink); transform: translateY(24px); opacity: 0; transition: transform .32s var(--ease-out), opacity .22s; }
.layer-full.open .layer-panel { transform: none; opacity: 1; }
.spot-layer .layer-panel { background: #000; color: #fff; }
.spot-v { position: absolute; inset: 0; background: color-mix(in srgb, var(--tint) 40%, #000); }
.spot-v video { width: 100%; height: 100%; object-fit: cover; }
.spot-close { position: absolute; z-index: 3; top: calc(12px + var(--safe-t)); right: 12px; width: 44px; height: 44px; background: rgba(0,0,0,.5); color: #fff; }
.spot-bar { position: absolute; z-index: 3; left: 12px; right: 12px; bottom: calc(12px + var(--safe-b)); max-width: 520px; margin: 0 auto; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 10px; border-radius: 20px; background: rgba(12,12,14,.78); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); animation: rv .3s var(--ease-out) both .15s; }
.spot-bar img { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; }
.spot-txt { display: grid; min-width: 0; line-height: 1.25; }
.spot-txt small { font-size: 12px; color: rgba(255,255,255,.7); }
.spot-txt b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spot-txt .price { font-size: 14px; color: rgba(255,255,255,.85); }
.spot-want { min-height: 48px; padding: 0 18px; }

/* ── Início ── */
.hm { max-width: 560px; margin: 0 auto; padding-bottom: calc(110px + var(--safe-b)); }
.hm-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: calc(8px + var(--safe-t)) var(--gutter) 8px; background: var(--bg); }
.hm-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; min-width: 0; }
.hm-mark { width: 30px; height: 30px; }
.hm-brand b { font-size: 15px; font-weight: 750; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-btn { background: var(--surface); }
.hm-hero { padding: 8px var(--gutter) 0; display: grid; gap: 8px; justify-items: start; }
.hm-status { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 12px; border-radius: var(--r-pill); background: var(--ok-soft); color: var(--ok); font-size: 13px; max-width: 100%; }
.hm-status .live { background: var(--ok); flex: none; }
.hm-status.closed { background: var(--warn-soft); color: var(--warn); }
.hm-status b { font-weight: 700; white-space: nowrap; }
.hm-status span { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-name { font-size: clamp(30px, 9vw, 40px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; margin-top: 2px; }
.hm-lead { font-size: 15px; color: var(--ink-2); }
.hm-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; margin-top: 6px; }
.hm-strip img { width: 100%; aspect-ratio: 4 / 3; border-radius: 16px; object-fit: cover; background: var(--surface-2); }
.hm-body { padding: 14px var(--gutter) 0; display: grid; gap: 14px; }
.hm-body > .ctx-banner, .hm-body > .closed-banner { margin: 0; }
.hm-cta { display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 12px 12px 12px 20px; border-radius: 20px; background: var(--signal); color: #fff; text-decoration: none; transition: transform .15s var(--ease-out); }
.hm-cta:active { transform: scale(.985); }
.hm-cta-txt { flex: 1; display: grid; gap: 1px; min-width: 0; }
.hm-cta-txt b { font-size: 20px; font-weight: 750; letter-spacing: -0.02em; }
.hm-cta-txt small { font-size: 13px; color: rgba(255,255,255,.88); }
.hm-cta-go { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--signal); }
.hm-cta-go .icon { stroke-width: 2.4; }
.hm-live { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--signal) 45%, transparent); text-decoration: none; }
.hl-dot { width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--signal); }
.hm-live.is-on .hl-dot { animation: live 2s infinite; }
.hl-txt { flex: 1; display: grid; line-height: 1.3; min-width: 0; } .hl-txt b { font-size: 15px; } .hl-txt small { font-size: 13px; color: var(--ink-2); }
.hm-spot { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; width: 100%; padding: 8px; border-radius: 20px; background: var(--surface); text-align: left; transition: transform .15s var(--ease-out); }
.hm-spot:active { transform: scale(.985); }
.hs-media { position: relative; width: 96px; height: 110px; border-radius: 14px; overflow: hidden; background: var(--surface-2); }
.hs-media img { width: 100%; height: 100%; object-fit: cover; }
.hs-media i { position: absolute; inset: 0; margin: auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.5); color: #fff; }
.hs-media i .icon { fill: #fff; stroke: none; width: 13px; height: 13px; margin-left: 2px; }
.hs-txt { display: grid; gap: 2px; min-width: 0; padding-right: 8px; }
.hs-txt small { font-size: 12.5px; font-weight: 600; color: var(--signal); }
.hs-txt b { font-size: 16px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hs-txt .price { font-size: 14px; color: var(--ink-2); }
.hs-cta { display: inline-flex; align-items: center; gap: 2px; margin-top: 4px; font-size: 13.5px; font-weight: 650; color: var(--ink); }
.hm-sec { display: grid; gap: 10px; margin-top: 8px; }
.hm-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.hm-sec h2, .hm-info h2 { font-size: 19px; font-weight: 750; letter-spacing: -0.02em; }
.hm-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 38%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scrollbar-width: none; scroll-padding-inline: var(--gutter); }
.hm-rail::-webkit-scrollbar { display: none; }
.hm-pick { display: grid; gap: 3px; text-decoration: none; color: var(--ink); scroll-snap-align: start; min-width: 0; }
.hp-img { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--surface-2); margin-bottom: 4px; }
.hp-img img { width: 100%; height: 100%; object-fit: cover; }
.hp-vid { position: absolute; left: 6px; bottom: 6px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.5); }
.hp-vid .icon { width: 9px; height: 9px; fill: #fff; stroke: none; margin-left: 1px; }
.hm-pick b { font-size: 14px; font-weight: 650; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hm-pick .price { font-size: 14px; color: var(--ink-2); }
.hm-info { display: grid; gap: 12px; margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.hi-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.hi-list li { display: flex; gap: 10px; align-items: flex-start; }
.hi-list .icon { flex: none; margin-top: 2px; color: var(--ink-3); }
.hi-list a { color: var(--ink); font-weight: 600; }
.hi-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.hi-link .icon { color: var(--signal); margin: 0; }
.hs-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
.hs-btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 10px; border-radius: 14px; background: var(--surface); text-decoration: none; font-size: 13.5px; font-weight: 650; color: var(--ink); }
.hs-btn .icon { flex: none; color: var(--signal); }
.hi-about { font-size: 14px; color: var(--ink-2); }
@media (max-width: 359px) { .hs-btn span { display: none; } .hm-strip img { aspect-ratio: 1; } }
@media (min-width: 760px) { .hm-rail { grid-auto-columns: 26%; } }

/* ── Cardápio ── */
body[data-view="cardapio"] { background: var(--surface); }
.mn-head { position: sticky; top: 0; z-index: 25; background: var(--surface); padding-top: var(--safe-t); transition: box-shadow .2s; }
.mn-head.stuck { box-shadow: 0 1px 0 var(--line), 0 6px 16px rgba(12,14,17,.05); }
.mn-bar { position: relative; max-width: 1100px; margin: 0 auto; display: flex; align-items: center; gap: 4px; height: 56px; padding: 0 calc(var(--gutter) - 8px); }
.mn-title { flex: 1; min-width: 0; display: grid; line-height: 1.2; padding-left: 4px; }
.mn-title b { font-size: 16px; font-weight: 750; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mn-title span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-2); }
.mn-title .live { width: 6px; height: 6px; background: var(--ok); } .mn-title .off .live { background: var(--warn); }
.mn-search { display: none; position: absolute; inset: 6px calc(var(--gutter) - 4px); align-items: center; gap: 8px; }
.mn-search > .icon { position: absolute; left: 14px; color: var(--ink-3); pointer-events: none; }
.mn-search input { flex: 1; min-width: 0; height: 44px; padding: 0 14px 0 40px; border-radius: 12px; border: 0; background: var(--surface-2); font-size: 16px; color: var(--ink); }
.mn-search input:focus { outline: 2px solid color-mix(in srgb, var(--ink) 25%, transparent); }
.mn-search input::-webkit-search-cancel-button { display: none; }
.mn-scancel { flex: none; min-height: 44px; padding: 0 6px; font-size: 15px; font-weight: 600; color: var(--signal); }
.mn-head.search-open .mn-search { display: flex; animation: fade-in .15s ease; }
.mn-head.search-open .mn-back, .mn-head.search-open .mn-title, .mn-head.search-open .mn-sbtn { visibility: hidden; }
@keyframes fade-in { from { opacity: 0; } }
.mn-tabs { max-width: 1100px; margin: 0 auto; border-bottom: 1px solid var(--line); }
.mn-head.searching .mn-tabs { opacity: .4; }
.mn-track { position: relative; display: flex; overflow-x: auto; scrollbar-width: none; padding: 0 calc(var(--gutter) - 12px); }
.mn-track::-webkit-scrollbar { display: none; }
.mn-track button { flex: none; height: 44px; padding: 0 12px; font-size: 14.5px; font-weight: 600; color: var(--ink-3); white-space: nowrap; transition: color .15s; }
.mn-track button[aria-current="true"] { color: var(--ink); }
.mn-ind { position: absolute; left: 0; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--signal); transition: transform .25s var(--ease-out), width .25s var(--ease-out); }
.mn-page { max-width: 1100px; margin: 0 auto; padding: 4px var(--gutter) calc(160px + var(--safe-b)); }
.mn-page > .ctx-banner, .mn-page > .closed-banner { margin: 10px 0 0; }
.mn-tip { display: flex; align-items: center; gap: 6px; padding-top: 12px; font-size: 13px; color: var(--ink-3); }
.mn-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.mn-list { min-width: 0; }
.mn-sec { padding-top: 16px; }
.mn-h { font-size: 18px; font-weight: 750; letter-spacing: -0.02em; }
.mn-count { font-size: 13.5px; color: var(--ink-2); padding-top: 14px; }
.mi-list { display: grid; grid-template-columns: minmax(0, 1fr); }
.mi { position: relative; border-bottom: 1px solid var(--line); }
.mi-list .mi:last-child { border-bottom: 0; }
.mi-link { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 14px; align-items: start; padding: 14px 0; text-decoration: none; color: inherit; min-height: 124px; }
.mi-txt { min-width: 0; display: grid; gap: 4px; align-content: start; }
.mi-txt h3 { font-size: 15.5px; font-weight: 650; line-height: 1.3; }
.mi-txt p { font-size: 13.5px; line-height: 1.4; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mi-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin-top: 4px; padding-right: 52px; min-height: 40px; }
.mi-meta .price { font-size: 15.5px; font-weight: 700; }
.mi-meta .price small { font-size: 12px; font-weight: 500; color: var(--ink-3); }
.mi-pop { font-size: 12px; font-weight: 700; color: var(--signal); background: var(--signal-soft); padding: 3px 8px; border-radius: var(--r-pill); }
.mi-img { position: relative; width: 96px; height: 96px; border-radius: 16px; overflow: hidden; background: var(--surface-2); }
.mi-img img { width: 100%; height: 100%; object-fit: cover; }
.mi-noimg { position: absolute; inset: 0; display: grid; place-items: center; }
.mi-noimg .brand-mark { width: 40px; height: 40px; opacity: .35; }
.mi-vid { position: absolute; left: 6px; bottom: 6px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.5); }
.mi-vid .icon { width: 8px; height: 8px; fill: #fff; stroke: none; margin-left: 1px; }
.mi-ctl { position: absolute; right: 110px; bottom: 14px; }
.mi-ctl .tag-off { display: none; }
.add-btn { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--signal); color: #fff; transition: transform .15s var(--ease-out); }
.add-btn:active { transform: scale(.88); }
.add-btn .icon { stroke-width: 2.5; }
.add-btn b { position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--ink); color: var(--on-ink); font-size: 11px; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--surface); }
.row-ctl .stepper { height: 40px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.row-ctl .stepper button { width: 36px; color: var(--signal); }
.mi.is-off .mi-img img { filter: grayscale(.9); opacity: .6; }
.mi.is-off h3, .mi.is-off .price { color: var(--ink-3); }
.menu-aside { display: none; }
@media (min-width: 760px) {
  .mi-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .mi-list .mi:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
}
@media (min-width: 1100px) {
  .mn-layout { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
  .menu-aside { display: block; position: sticky; top: 120px; margin-top: 16px; }
}
.aside-card { padding: 20px; border-radius: 22px; background: var(--bg); display: grid; gap: 14px; }
.aside-card h2 { font-size: 18px; }
.aside-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 14px; }
.aside-card li { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; }
.aside-card li img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; }
.aside-total { display: flex; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); font-size: 15px; }
.aside-empty { justify-items: center; text-align: center; color: var(--ink-3); padding: 28px 20px; }
.aside-empty b { color: var(--ink); }

/* ── Página do prato ── */
.pp-scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.pp-media { position: relative; height: min(46svh, 440px); min-height: 220px; background: color-mix(in srgb, var(--tint) 35%, var(--surface-2)); overflow: hidden; }
.pp-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pp-track::-webkit-scrollbar { display: none; }
.pp-track > * { flex: none; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.pp-noimg { display: grid; place-items: center; } .pp-noimg .icon { width: 48px; height: 48px; color: var(--ink-3); }
.pp-close { position: absolute; z-index: 3; top: calc(10px + var(--safe-t)); left: 10px; width: 44px; height: 44px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.pp-play { position: absolute; z-index: 2; inset: 0; margin: auto; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.5); color: #fff; }
.pp-play .icon { width: 22px; height: 22px; fill: #fff; stroke: none; margin-left: 3px; }
.pp-dots { position: absolute; bottom: 26px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.pp-dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.5); } .pp-dots span.on { background: #fff; width: 16px; border-radius: 3px; }
.pp-body { position: relative; margin-top: -16px; border-radius: 20px 20px 0 0; background: var(--bg); padding: 20px var(--gutter) calc(110px + var(--safe-b)); display: grid; gap: 10px; max-width: 640px; margin-left: auto; margin-right: auto; }
.pp-cat { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.pp-name { font-size: clamp(24px, 7vw, 30px); font-weight: 750; letter-spacing: -0.03em; line-height: 1.1; }
.pp-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pp-price .price { font-size: 21px; font-weight: 750; }
.pp-price small { font-size: 13px; color: var(--ink-3); order: -1; }
.pp-desc { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.pp-details { font-size: 14px; color: var(--ink-2); }
.pp-details summary { cursor: pointer; font-weight: 600; color: var(--ink); min-height: 40px; display: flex; align-items: center; }
.pp-form { display: grid; gap: 20px; margin-top: 8px; }
.pp-note > span { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-size: 14.5px; }
.pp-note em { font-style: normal; color: var(--ink-3); font-weight: 500; }
.pp-note textarea { min-height: 72px; background: var(--surface); }
.pp-social { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.pp-act { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: var(--r-pill); background: var(--surface); font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.pp-act.on { color: var(--signal); } .pp-act.on .icon { fill: currentColor; }
.pp-foot { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; display: flex; gap: 10px; align-items: center; padding: 10px var(--gutter) calc(10px + var(--safe-b)); background: var(--surface); box-shadow: 0 -1px 0 var(--line); }
.pp-foot .stepper { height: 52px; }
.pp-add { flex: 1; justify-content: space-between; min-height: 52px; }
.pp-layer .field-error { color: var(--danger); }
@media (min-width: 900px) {
  .pp-layer .layer-panel { left: 50%; right: auto; width: min(560px, 100%); transform: translate(-50%, 24px); box-shadow: var(--shadow-2); }
  .pp-layer.open .layer-panel { transform: translate(-50%, 0); }
  .pp-layer .layer-backdrop { display: block; }
}

/* ── Sacola e finalização ── */
.steps-top { list-style: none; margin: 4px 0 8px; padding: 0; display: flex; gap: 6px; align-items: center; font-size: 12.5px; font-weight: 600; color: var(--ink-3); flex-wrap: wrap; }
.steps-top li { display: inline-flex; align-items: center; gap: 6px; }
.steps-top li:not(:last-child)::after { content: ""; width: 14px; height: 1.5px; background: var(--line-2); margin-left: 4px; }
.stp { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.steps-top li.done .stp, .steps-top li.now .stp { background: var(--ink); color: var(--on-ink); box-shadow: none; }
.steps-top li.now { color: var(--ink); }
.mode-fixed { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); }
.mode-fixed .icon { color: var(--ok); }
.has-actionbar { padding-bottom: calc(110px + var(--safe-b)); }
.cart-page.has-actionbar { padding-bottom: calc(176px + var(--safe-b)); }
.actionbar { position: fixed; z-index: 38; left: 0; right: 0; bottom: 0; padding: 18px var(--gutter) calc(12px + var(--safe-b)); display: flex; justify-content: center; pointer-events: none;
  background: linear-gradient(transparent, var(--bg) 40%); }
.actionbar.above-tabs { bottom: calc(76px + var(--safe-b)); padding-bottom: 8px; }
.ab-btn { pointer-events: auto; width: min(608px, 100%); justify-content: space-between; min-height: 56px; }
.ab-btn:disabled { justify-content: center; }
.cart-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cline { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 12px; border-radius: 18px; background: var(--surface); transition: opacity .2s, transform .2s; }
.cline.leaving { opacity: 0; transform: translateX(-16px); }
.cline-thumb { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; background: var(--surface-2); }
.cline-body { min-width: 0; }
.cline-top { display: flex; justify-content: space-between; gap: 10px; }
.cline-top h3 { font-size: 15.5px; font-weight: 650; line-height: 1.3; }
.cline-price { font-weight: 700; white-space: nowrap; }
.cline-opts, .cline-note { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.cline-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; }
.cline-edit { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; font-size: 14px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.add-more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 4px; font-size: 14.5px; font-weight: 650; color: var(--signal); text-decoration: none; }
.cart-sec { display: grid; gap: 10px; margin-top: 18px; }
.cart-sec h2 { font-size: 17px; font-weight: 700; }
.mode-list { display: grid; border-radius: 16px; background: var(--surface); overflow: hidden; }
.mode-opt { display: grid; grid-template-columns: 36px minmax(0, 1fr) 22px; gap: 12px; align-items: center; min-height: 60px; padding: 8px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.mode-opt:last-child { border-bottom: 0; }
.mo-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--ink-2); }
.mo-txt { display: grid; line-height: 1.3; } .mo-txt b { font-size: 15px; } .mo-txt small { font-size: 13px; color: var(--ink-2); }
.mo-radio, .m-radio { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: box-shadow .15s; }
.mode-opt[aria-checked="true"] .mo-ic { background: var(--signal-soft); color: var(--signal); }
.mode-opt[aria-checked="true"] .mo-radio { box-shadow: inset 0 0 0 7px var(--signal); }
.co-section .mode-list { background: var(--bg); }
.sug-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 120px; gap: 10px; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
.sug-rail::-webkit-scrollbar { display: none; }
.sug-card { position: relative; }
.sug-card a { display: grid; gap: 3px; text-decoration: none; font-size: 13px; }
.sug-card img { width: 120px; height: 120px; border-radius: 16px; object-fit: cover; background: var(--surface-2); margin-bottom: 4px; }
.sug-name { font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sug-add { position: absolute; top: 80px; right: 6px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--signal); color: #fff; }
.summary { padding: 16px; border-radius: 16px; background: var(--surface); display: grid; gap: 10px; }
.sum-loading { display: grid; gap: 8px; }
.sum-row { display: flex; justify-content: space-between; font-size: 15px; color: var(--ink-2); }
.sum-total { color: var(--ink); font-weight: 750; font-size: 18px; padding-top: 10px; border-top: 1px solid var(--line); margin-top: 2px; }
.global-issues { display: grid; gap: 8px; margin-top: 12px; }
.global-issues:empty { display: none; }
.co-top-sum { border-radius: 16px; background: var(--surface); margin-bottom: 14px; }
.co-top-sum summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 56px; padding: 0 16px; cursor: pointer; list-style: none; }
.co-top-sum summary::-webkit-details-marker { display: none; }
.cts-txt { display: flex; gap: 10px; align-items: baseline; font-size: 15px; } .cts-txt .price { font-weight: 750; }
.cts-more { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.co-top-sum[open] .cts-more .icon { transform: rotate(180deg); }
.co-top-sum .co-lines { padding: 0 16px 16px; }
.co-form { display: grid; gap: 12px; }
.co-section { display: grid; gap: 12px; padding: 16px; border-radius: 18px; background: var(--surface); }
.co-section h2 { display: flex; align-items: center; gap: 8px; font-size: 16.5px; }
.co-section h2 .icon { color: var(--ink-3); }
.co-req { margin-top: -6px; }
.co-section .field input, .co-section .field textarea, .lookup-form .field input { background: var(--surface); border: 1.5px solid color-mix(in srgb, var(--ink) 22%, transparent); }
.co-section .field input::placeholder, .co-section .field textarea::placeholder { color: var(--ink-3); opacity: .8; }
.co-section .field input:focus, .co-section .field textarea:focus { border-color: var(--ink); }
.co-section .field.invalid input { border-color: var(--danger); background: color-mix(in srgb, var(--danger) 6%, var(--surface)); }
.grid-2 { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; }
.co-lines { display: grid; gap: 10px; }
.co-line { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; font-size: 15px; align-items: center; }
.co-line.has-thumb { grid-template-columns: 40px 1fr auto; }
.co-line.has-thumb img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.co-line small { display: block; color: var(--ink-3); font-size: 13px; }
.co-lines .sum-row:first-of-type { padding-top: 10px; border-top: 1px solid var(--line); }
.co-final { gap: 8px; }
.co-final-rows { display: grid; gap: 8px; }
.privacy { text-align: center; }
.form-error:empty { display: none; }
.cep-row { display: grid; grid-template-columns: minmax(0, 170px) 1fr; gap: 12px; align-items: end; }
.cep-state { padding-bottom: 14px; }
.pay-body { display: grid; gap: 12px; }
.pay-note { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.pay-note .icon { margin-top: 2px; color: var(--ink); flex: none; }
.m-list { display: grid; border-radius: 14px; background: var(--bg); overflow: hidden; }
.m-list > .field-error { padding: 8px 14px; }
.m-row { position: relative; display: grid; grid-template-columns: 28px auto minmax(0, 1fr) 22px; gap: 10px; align-items: center; min-height: 52px; padding: 0 14px; cursor: pointer; border-bottom: 1px solid var(--line); }
.m-row:last-of-type { border-bottom: 0; }
.m-row input { position: absolute; opacity: 0; pointer-events: none; }
.m-ic { color: var(--ink-2); display: grid; place-items: center; }
.m-name { font-weight: 650; font-size: 15px; }
.m-hint { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-row:has(input:checked) { background: var(--surface); }
.m-row:has(input:checked) .m-radio { box-shadow: inset 0 0 0 7px var(--signal); }
.m-row:has(input:checked) .m-ic { color: var(--signal); }
.m-row:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: -2px; }
.m-list.invalid { box-shadow: inset 0 0 0 1.5px var(--danger); }
.plan-cards { display: grid; gap: 8px; }
.plan-card { position: relative; display: grid; gap: 10px; padding: 14px; border-radius: 16px; background: var(--bg); cursor: pointer; transition: box-shadow .15s; }
.plan-card input { position: absolute; opacity: 0; }
.plan-card:has(input:checked) { background: var(--surface); box-shadow: inset 0 0 0 2px var(--signal); }
.pc-top { display: flex; justify-content: space-between; align-items: center; font-size: 15.5px; }
.pc-tag { font-size: 11px; font-weight: 700; color: var(--signal); background: var(--signal-soft); padding: 4px 8px; border-radius: var(--r-pill); }
.pc-split { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; }
.pc-split > span:not(.pc-plus) { display: grid; gap: 2px; }
.pc-split small { font-size: 12px; color: var(--ink-3); }
.pc-split b { font-size: 17px; }
.pc-plus { color: var(--ink-3); font-weight: 600; }
.demo-note { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--warn); background: var(--warn-soft); padding: 10px 12px; border-radius: 12px; }

/* Pagamento de teste */
.dp-head { display: flex; justify-content: space-between; align-items: flex-start; padding: 2px 20px 8px; }
.dp-head h2 { font-size: 21px; margin-top: 4px; }
.dp-body { padding: 4px 20px 16px; display: grid; gap: 12px; justify-items: center; overflow-y: auto; }
.dp-warn { justify-self: stretch; display: flex; gap: 10px; font-size: 13.5px; color: var(--warn); background: var(--warn-soft); padding: 12px 14px; border-radius: 14px; }
.dp-warn .icon { flex: none; margin-top: 2px; }
.dp-amount { font-size: 36px; font-weight: 750; letter-spacing: -0.03em; }
.dp-deadline { display: block; font-size: 13.5px; color: var(--ink-2); margin-top: -6px; text-align: center; max-width: 320px; }
.dp-deadline .icon { display: inline-block; vertical-align: -3px; margin-right: 4px; }
.dp-qr { width: 200px; height: 200px; border-radius: 18px; background: #fff; padding: 10px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); color: #0c0e11; }
.dp-qr svg { width: 100%; height: 100%; }
.dp-copy { max-width: 340px; }
.dp-next, .dp-later { font-size: 13.5px; color: var(--ink-2); text-align: center; max-width: 340px; }
.dp-card { position: relative; width: min(300px, 100%); aspect-ratio: 1.586; border-radius: 20px; padding: 20px; color: #fff; display: grid; align-content: space-between; background: radial-gradient(120% 120% at 0% 0%, #3a3f47, #0c0e11 70%); overflow: hidden; }
.dp-card.debit { background: radial-gradient(120% 120% at 0% 0%, #1f5f4a, #08110e 70%); }
.dpc-chip { width: 42px; height: 32px; border-radius: 8px; background: linear-gradient(135deg, #e9d18f, #b8933c); }
.dpc-type { position: absolute; top: 20px; right: 20px; font-weight: 700; font-size: 13px; text-transform: uppercase; opacity: .85; }
.dpc-num { font-size: 18px; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.dpc-name { font-size: 12px; letter-spacing: .14em; opacity: .7; }
.dp-foot { display: grid; gap: 4px; padding: 12px 20px calc(12px + var(--safe-b)); border-top: 1px solid var(--line); }
.dp-reject { min-height: 40px; font-size: 14px; font-weight: 600; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }

/* ── Acompanhamento ── */
.order-page { display: grid; gap: 12px; padding-top: calc(4px + var(--safe-t)); }
.ord-top { display: flex; justify-content: space-between; align-items: center; }
.ord-top .icon-btn { background: var(--surface); }
.ord-status { position: relative; overflow: hidden; padding: 18px 16px 16px; border-radius: 22px; background: var(--surface); display: grid; gap: 16px; }
.os-head { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; align-items: center; }
.os-orb { position: relative; width: 72px; height: 72px; border-radius: 50%; overflow: visible; display: grid; place-items: center; background: var(--surface-2); }
.os-orb > img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.os-mark { width: 40px; height: 40px; }
.is-cooking .os-orb > img { animation: breathe 3.2s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.04); } }
.is-cancelled .os-orb > img { filter: grayscale(1); opacity: .6; }
.os-check { position: absolute; right: -6px; bottom: -6px; width: 30px; height: 30px; }
.os-check circle { fill: var(--ok); }
.os-check path { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 0; }
.celebrate .os-check { animation: pop .45s var(--ease-spring) both .1s; }
.celebrate .os-check path { stroke-dashoffset: 40; animation: draw .35s var(--ease-out) forwards .45s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { transform: scale(0); } }
.os-txt { min-width: 0; display: grid; gap: 2px; }
.os-code { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.os-live { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--ok); }
.os-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: live 2s infinite; }
.os-title { font-size: clamp(26px, 7.5vw, 32px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.celebrate .os-title { animation: rv .4s var(--ease-out) both; }
.os-sub { font-size: 15px; color: var(--ink-2); }
.is-pending .os-title { color: var(--warn); }
.os-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; }
.os-steps li { position: relative; display: grid; justify-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ink-3); text-align: center; line-height: 1.2; }
.os-steps li::before { content: ""; position: absolute; top: 6px; left: -50%; right: 50%; height: 3px; border-radius: 2px; background: var(--surface-3); }
.os-steps li:first-child::before { display: none; }
.os-steps li.done::before, .os-steps li.now::before { background: var(--signal); }
.os-steps .dot { position: relative; z-index: 1; width: 15px; height: 15px; border-radius: 50%; background: var(--surface-3); }
.os-steps li.done .dot { background: var(--signal); }
.os-steps li.now .dot { background: var(--signal); box-shadow: 0 0 0 5px var(--signal-soft); }
.os-steps li.done, .os-steps li.now { color: var(--ink); }
@media (max-width: 480px) {
  .os-steps li { font-size: 12.5px; }
  .os-steps li > span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .os-steps li.now > span:last-child { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: nowrap; color: var(--signal); }
  .os-steps li:first-child.now > span:last-child { justify-self: start; }
  .os-steps li:last-child.now > span:last-child { justify-self: end; }
}
.ord-next { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; padding: 16px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.on-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); }
.on-k { font-size: 12px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.ord-next b { display: block; font-size: 17px; line-height: 1.3; margin-top: 2px; }
.ord-next p:last-child { font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.ord-next.tone-act { box-shadow: inset 0 0 0 2px var(--signal); } .ord-next.tone-act .on-ic { background: var(--signal-soft); color: var(--signal); }
.ord-next.tone-warn { box-shadow: inset 0 0 0 2px var(--warn); } .ord-next.tone-warn .on-ic { background: var(--warn-soft); color: var(--warn); }
.ord-next.tone-ok .on-ic { background: var(--ok-soft); color: var(--ok); }
.ord-pay { min-height: 56px; }
.ord-card { padding: 16px; border-radius: 20px; background: var(--surface); display: grid; gap: 12px; }
.ord-card h2 { font-size: 16.5px; }
.pay-line { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: center; }
.pl-ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--warn-soft); color: var(--warn); }
.pay-line.ok .pl-ic { background: var(--ok-soft); color: var(--ok); }
.pl-txt { display: grid; } .pl-txt small { color: var(--ink-3); font-size: 13px; }
.order-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.order-meta div { display: grid; gap: 2px; font-size: 14px; }
.order-meta span { font-size: 12px; }
.order-address { display: flex; gap: 8px; font-size: 14px; color: var(--ink-2); }
.ord-cancel { justify-self: center; min-height: 44px; padding: 0 12px; font-size: 14px; font-weight: 600; color: var(--danger); }
.pix-card { display: grid; justify-items: center; gap: 10px; padding: 22px 18px; border-radius: 20px; background: var(--surface); text-align: center; }
.pix-qr { width: 220px; height: 220px; border-radius: 16px; image-rendering: pixelated; background: #fff; padding: 8px; }
.pix-amount { font-size: 26px; font-weight: 750; }
.pix-code { display: grid; gap: 8px; width: 100%; }
.pix-code input { width: 100%; height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); font-size: 13px; text-overflow: ellipsis; }
.confetti { position: absolute; inset: 0; pointer-events: none; }
.confetti i { position: absolute; top: 30%; left: 15%; width: 7px; height: 12px; border-radius: 2px; opacity: 0; background: hsl(calc(var(--i) * 40 + 10), 85%, 60%); animation: confetti 1.3s cubic-bezier(.2,.8,.3,1) forwards; animation-delay: calc(.2s + var(--i) * 15ms); }
@keyframes confetti { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(calc((var(--i) - 4) * 26px), calc(90px + var(--i) * 6px)) rotate(calc(var(--i) * 70deg)); } }
.steam { position: absolute; top: -16px; left: 50%; width: 60px; height: 40px; transform: translateX(-50%); pointer-events: none; }
.steam i { position: absolute; bottom: 0; width: 7px; height: 30px; border-radius: 8px; background: linear-gradient(transparent, color-mix(in srgb, var(--ink) 30%, transparent), transparent); filter: blur(3px); opacity: 0; animation: steam 2.8s ease-in-out infinite; }
.steam i:nth-child(1) { left: 14px; } .steam i:nth-child(2) { left: 27px; animation-delay: .9s; } .steam i:nth-child(3) { left: 40px; animation-delay: 1.8s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(10px); } 35% { opacity: .8; } 100% { opacity: 0; transform: translateY(-22px) scaleX(1.5); } }
.orders-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.orders-list a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--surface); text-decoration: none; }
.ol-main { flex: 1; display: grid; } .ol-main small { font-size: 13px; }
.ol-side { display: grid; justify-items: end; gap: 2px; }
.ol-st { font-size: 12.5px; font-weight: 700; padding: 3px 8px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--ink-2); }
.ol-st[data-tone="live"] { background: var(--signal-soft); color: var(--signal); }
.ol-st[data-tone="ok"] { background: var(--ok-soft); color: var(--ok); }
.ol-st[data-tone="warn"] { background: var(--warn-soft); color: var(--warn); }
.ol-st:empty { display: none; }
.ol-total { font-size: 14px; font-weight: 650; }
.orders-note { display: flex; gap: 6px; align-items: flex-start; margin-bottom: 12px; }
.orders-note .icon { flex: none; margin-top: 2px; }
.orders-page .state .link { margin-top: 6px; }
.lite .is-cooking .os-orb > img, .lite .steam i, .lite .confetti { animation: none; display: none; }
.lite .is-cooking .os-orb > img { display: block; }
@media (prefers-reduced-motion: reduce) { .confetti, .steam { display: none; } .celebrate .os-check path { stroke-dashoffset: 0; animation: none; } }

/* ── Descobrir: feed social ── */
body[data-view="descobrir"] { background: var(--night); }
body[data-view="descobrir"] #view { height: 100dvh; overflow: hidden; }
.feed { height: 100dvh; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; outline: none; }
.feed::-webkit-scrollbar { display: none; }
.reel { position: relative; height: 100dvh; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; color: #fff; isolation: isolate;
  background: color-mix(in srgb, var(--tint) 30%, #000); --pb-h: 52%; }
.reel-media, .reel-media video, .reel-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-media { z-index: -2; cursor: pointer; overflow: hidden; }
.reel .pblur { z-index: -1; }
.reel:not(.is-active) .pblur > i:nth-child(-n+3) { display: none; }
.reel-shade { position: absolute; inset: 0 0 auto; height: 22%; z-index: -1; pointer-events: none; background: linear-gradient(rgba(0,0,0,.45), transparent); }
.reel-toggle { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; transition: opacity .3s, transform .4s var(--ease-spring); }
.reel-toggle .icon { fill: #fff; stroke: none; margin-left: 4px; }
.reel.playing .reel-toggle { opacity: 0; transform: translate(-50%, -50%) scale(.8); pointer-events: none; }
.burst { position: absolute; left: 50%; top: 42%; width: 110px; height: 110px; margin: -55px 0 0 -55px; pointer-events: none; opacity: 0; color: #ff3b5c; }
.burst .icon { width: 100%; height: 100%; fill: currentColor; stroke: none; filter: drop-shadow(0 8px 30px rgba(255,59,92,.5)); }
.burst.go { animation: burst .9s var(--ease-out); }
@keyframes burst { 0% { opacity: 0; transform: scale(.3) rotate(-12deg); } 25% { opacity: 1; transform: scale(1.12) rotate(0); } 45% { transform: scale(.95); } 70% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.1) translateY(-40px); } }
.reel-rail { position: absolute; right: 10px; bottom: calc(118px + var(--safe-b)); display: grid; gap: 14px; justify-items: center; }
.rail-btn { display: grid; justify-items: center; gap: 5px; color: #fff; }
.rail-btn .rb, .pd-act .rb { background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,.06)), rgba(10,11,13,.22); }
.rail-btn .rb { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; transition: transform .35s var(--ease-spring), background-color .2s; }
.rail-btn:active .rb { transform: scale(.86); }
.rail-btn .cnt { font-size: 12px; font-weight: 600; text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 1px 10px rgba(0,0,0,.45); }
.rail-btn.on[data-like] .icon { fill: #ff3b5c; stroke: #ff3b5c; }
.rail-btn.on[data-save] .icon { fill: #fff; }
.rail-btn.pop .rb { animation: pop .5s var(--ease-spring); }
@keyframes pop { 35% { transform: scale(1.28); } 70% { transform: scale(.94); } }
.reel-info { position: absolute; left: 0; right: 76px; bottom: calc(96px + var(--safe-b)); padding: 0 var(--gutter); display: grid; gap: 8px; transition: transform .45s var(--ease-spring); }
body.has-mini .reel-info, body.has-mini .reel-rail { transform: translateY(-64px); }
.reel-rail { transition: transform .45s var(--ease-spring); }
.reel-author { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.reel-author .avatar { width: 30px; height: 30px; font-size: 11px; }
.ra-name { font-weight: 650; }
.ra-dot, .ra-cat { color: rgba(255,255,255,.72); }
.reel-name { font-size: clamp(22px, 6vw, 28px); font-weight: 650; line-height: 1.12; letter-spacing: -0.025em; text-wrap: balance; text-shadow: 0 1px 24px rgba(0,0,0,.25); }
.reel-desc { font-size: 14.5px; line-height: 1.45; color: rgba(255,255,255,.86); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 460px; cursor: pointer; }
.reel-desc.open { -webkit-line-clamp: unset; }
.reel-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.reel-tags .chip-ghost { height: 28px; font-size: 12px; padding: 0 12px; }
.reel-buy { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.reel-add { justify-content: space-between; gap: 14px; min-width: 210px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.reel-add .price { font-weight: 700; }
.reel-off { display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border-radius: var(--r-pill); font-size: 14px; }
.reel-progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: calc(84px + var(--safe-b)); height: 2px; border-radius: 2px; background: rgba(255,255,255,.22); overflow: hidden; }
.reel-progress i { display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(0); }
body.has-mini .reel-progress { bottom: calc(148px + var(--safe-b)); }
.feed-top { position: fixed; z-index: 30; top: calc(10px + var(--safe-t)); left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 var(--gutter); pointer-events: none; }
.feed-top > * { pointer-events: auto; }
.seg { display: inline-flex; padding: 4px; border-radius: var(--r-pill); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.seg a, .seg button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 0 16px; border-radius: var(--r-pill); text-decoration: none; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: background-color .25s, color .25s, box-shadow .25s; }
.seg .on, .seg [aria-checked="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.seg-media { background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,.07)); }
.seg-media a { color: rgba(255,255,255,.78); }
.seg-media .on { background: #fff; color: #0c0e11; }
.seg-wide { display: flex; width: 100%; margin-bottom: 18px; }
.seg-wide button { flex: 1; min-height: 44px; }
.feed-nav { display: none; }
@media (min-width: 900px) {
  body[data-view="descobrir"] #view { background: radial-gradient(60% 60% at 50% 40%, #1d1f24, var(--night)); }
  body[data-view="descobrir"] .feed { width: min(100vw, calc(100dvh * 9 / 16)); margin: 0 auto; box-shadow: 0 0 120px rgba(0,0,0,.6); }
  .feed-top { left: 50%; right: auto; transform: translateX(-50%); width: calc(100dvh * 9 / 16); }
  .feed-nav { display: grid; gap: 10px; position: fixed; z-index: 30; left: calc(50% + 100dvh * 9 / 32 + 24px); top: 50%; transform: translateY(-50%); }
}

/* ── Camadas (sheets) ── */
.layer { position: fixed; inset: 0; z-index: 60; }
.layer-backdrop { position: absolute; inset: 0; background: rgba(6,7,9,.48); opacity: 0; transition: opacity .38s; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.layer.open .layer-backdrop { opacity: 1; }
.layer-panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 92dvh; display: flex; flex-direction: column; outline: none;
  background: var(--bg); color: var(--ink); border-radius: var(--r-xl) var(--r-xl) 0 0; box-shadow: var(--shadow-2); overflow: hidden;
  transform: translateY(105%); transition: transform .5s var(--ease-sheet); }
.layer.open .layer-panel { transform: none; }
.layer-grab { flex: none; height: 22px; display: grid; place-items: center; touch-action: none; cursor: grab; }
.layer-grab span { width: 38px; height: 5px; border-radius: 3px; background: var(--line-2); }
body.layer-open { overflow: hidden; }
.layer-dark .layer-panel { background: rgba(18,19,22,.82); color: #fff; -webkit-backdrop-filter: blur(30px) saturate(1.6); backdrop-filter: blur(30px) saturate(1.6); border-top: 1px solid rgba(255,255,255,.1); }
.layer-dark .layer-grab span { background: rgba(255,255,255,.25); }
.layer-dark .icon-btn { color: #fff; }
@media (min-width: 760px) {
  .layer-sheet .layer-panel { left: 50%; right: auto; bottom: auto; top: 50%; width: min(520px, calc(100% - 48px)); max-height: min(86dvh, 760px); border-radius: var(--r-xl);
    transform: translate(-50%, -46%) scale(.97); opacity: 0; transition: transform .45s var(--ease-sheet), opacity .3s; }
  .layer-sheet.open .layer-panel { transform: translate(-50%, -50%); opacity: 1; }
  .layer-sheet .layer-grab { display: none; }
}

/* Opções */
.opt-group { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
.opt-group legend { display: flex; width: 100%; justify-content: space-between; align-items: baseline; padding: 0 0 8px; font-weight: 650; font-size: 16px; }
.opt-group legend small { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.opt-group legend small.req { color: var(--signal); }
.opt { position: relative; display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 16px; border-radius: var(--r-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: box-shadow .2s, transform .15s var(--ease-out); }
.opt:active { transform: scale(.99); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt-name { flex: 1; font-size: 15px; font-weight: 500; }
.opt-price { color: var(--ink-2); font-size: 14px; }
.opt-mark { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); flex: none; transition: box-shadow .2s, background-color .2s, transform .3s var(--ease-spring); }
.opt input[type=checkbox] ~ .opt-mark { border-radius: 7px; }
.opt:has(input:checked) { box-shadow: inset 0 0 0 1.5px var(--ink); }
.opt input:checked ~ .opt-mark { background: var(--ink); box-shadow: none; transform: scale(1.05); }
.opt input:checked ~ .opt-mark::after { content: ""; display: block; width: 100%; height: 100%; background: var(--on-ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center/14px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center/14px no-repeat; }
.opt input:focus-visible ~ .opt-mark { outline: 2px solid var(--ink); outline-offset: 2px; }
.opt.is-off { opacity: .5; cursor: not-allowed; }

/* Quantidade */
.stepper { display: inline-flex; align-items: center; border-radius: var(--r-pill); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); height: 54px; flex: none; }
.stepper button { width: 46px; height: 100%; display: grid; place-items: center; border-radius: var(--r-pill); color: var(--ink); transition: background-color .15s, opacity .2s; }
.stepper button:active:not(:disabled) { background: var(--surface-2); }
.stepper button:disabled { opacity: .3; }
.stepper output { min-width: 24px; text-align: center; font-weight: 700; }
.stepper-sm { height: 38px; } .stepper-sm button { width: 38px; }
.stepper-dark { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); color: #fff; }
.stepper-dark button { color: #fff; }

/* Comentários */
.comments-layer .layer-panel { height: min(78dvh, 720px); }
.cm-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 18px 12px; border-bottom: 1px solid rgba(255,255,255,.08); }
.cm-head h2 { font-size: 18px; } .cm-head p { font-size: 13px; color: rgba(255,255,255,.6); }
.cm-list { flex: 1; overflow-y: auto; padding: 8px 18px; display: grid; align-content: start; gap: 4px; overscroll-behavior: contain; }
.cm { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 12px 0; }
.cm.fresh { animation: rv .5s var(--ease-out); }
.cm-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: linear-gradient(145deg, rgba(255,255,255,.22), rgba(255,255,255,.06)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.cm-main { min-width: 0; }
.cm-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; font-size: 13px; color: rgba(255,255,255,.58); }
.cm-meta b { color: #fff; font-size: 14px; }
.cm-body { font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; margin-top: 2px; }
.cm-pend { color: #f2b84b; font-weight: 600; }
.cm.pending .cm-body { opacity: .7; }
.cm-del { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 4px; min-height: 32px; }
.cm-empty { display: grid; justify-items: center; gap: 6px; padding: 48px 16px; text-align: center; color: rgba(255,255,255,.6); }
.cm-empty b { color: #fff; font-size: 16px; }
.cm-empty .icon-lg { width: 34px; height: 34px; opacity: .6; }
.cm-form { padding: 10px 14px calc(12px + var(--safe-b)); border-top: 1px solid rgba(255,255,255,.08); display: grid; gap: 8px; }
.cm-form input { width: 100%; height: 48px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.08); color: #fff; font-size: 16px; }
.cm-form input::placeholder { color: rgba(255,255,255,.5); }
.cm-form input:focus { outline: none; border-color: rgba(255,255,255,.45); }
.cm-row { display: flex; gap: 8px; align-items: center; }
.cm-send { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #0c0e11; transition: opacity .2s, transform .2s var(--ease-spring); }
.cm-send:disabled { opacity: .35; }
.cm-send:active:not(:disabled) { transform: scale(.9); }
.cm-who { justify-self: start; font-size: 12.5px; color: rgba(255,255,255,.6); min-height: 28px; }
.cm-err { color: #ff8f84; }

/* Compartilhar */
.sh-head { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 4px 18px 16px; }
.sh-head img { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; }
.sh-head div { display: grid; } .sh-head span { font-size: 13px; color: rgba(255,255,255,.6); }
.sh-actions { display: flex; gap: 18px; padding: 0 18px 16px; }
.sh-act { display: grid; justify-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #fff; text-decoration: none; }
.sh-ic { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.sh-url { padding: 0 18px calc(18px + var(--safe-b)); }
.sh-url input { width: 100%; height: 44px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: rgba(255,255,255,.75); font-size: 13px; }

/* Diálogo de confirmação */
.vt-dialog { border: 0; padding: 0; border-radius: var(--r-xl); width: min(420px, calc(100% - 32px)); box-shadow: var(--shadow-2); background: var(--bg); color: var(--ink); }
.vt-dialog::backdrop { background: rgba(6,7,9,.5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.vt-dialog[open] { animation: dlg .4s var(--ease-spring); }
@keyframes dlg { from { opacity: 0; transform: translateY(12px) scale(.96); } }
.vt-dialog form { padding: 24px; display: grid; gap: 10px; }
.vt-dialog h2 { font-size: 21px; }
.vt-dialog-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 12px; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) { .kb { animation: none; } .hs-v { transition: none; } }

/* Desktop: barra flutuante no topo nas telas de pedido; no início e no cardápio ela fica embaixo, como no celular */
@media (min-width: 1000px) {
  .tabbar { top: 14px; bottom: auto; width: 400px; }
  body[data-view="descobrir"] .tabbar, body[data-view="home"] .tabbar, body[data-view="cardapio"] .tabbar { top: auto; bottom: 14px; }
  .minicart { bottom: 24px; }
  body[data-view="descobrir"] .minicart, body[data-view="home"] .minicart, body[data-view="cardapio"] .minicart { bottom: 92px; }
  body:not([data-view="home"]):not([data-view="descobrir"]):not([data-view="cardapio"]) #view { padding-top: 76px; }
  .actionbar.above-tabs { bottom: 0; padding-bottom: calc(16px + var(--safe-b)); }
  .cart-page.has-actionbar { padding-bottom: calc(110px + var(--safe-b)); }
}

/* ── Modo leve (aparelhos fracos): mesmo visual, efeitos mais baratos ── */
.lite .pblur > i:nth-child(-n+3) { display: none; }
.lite .pblur > i:nth-child(4) { background: linear-gradient(transparent 15%, color-mix(in srgb, var(--tint, #222) 50%, rgba(6,7,9,.95)) 92%); }
.lite .glass, .lite .glass-media, .lite .glass-dark, .lite .glass-ghost, .lite .glass-light, .lite .layer-dark .layer-panel, .lite .layer-backdrop, .lite .spot-bar, .lite .mi-vid {
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.lite .glass { background: var(--surface); }
.lite .glass-dark, .lite .layer-dark .layer-panel, .lite .pd-foot { background: rgba(18,19,22,.94); }
.lite .glass-media { background: rgba(20,21,24,.55); }
.lite .glass-ghost { background: rgba(0,0,0,.25); }
.lite .topbar::before { background: var(--bg); }
.lite .kb, .lite .live, .lite .ol-dot, .lite .oh-live i { animation: none !important; }
.lite .rc-blur { display: none; }
.lite .hero-bg img { filter: brightness(.45); }
.lite .reel-media img, .lite .prow-thumb img { transition: none; }

/* Desempenho geral: o navegador pula a renderização do que está fora da tela */

.reel { contain: layout paint; }
.mi, .cline, .sug-card { contain: layout paint; }

/* Convite para avaliar: chega como mensagem, pula e treme para chamar atenção */
.rv-nudge { position: fixed; z-index: 95; right: max(14px, env(safe-area-inset-right, 0px)); bottom: calc(96px + var(--safe-b)); display: flex; align-items: center; gap: 6px;
  transform: translateY(24px) scale(.86); opacity: 0; transform-origin: 90% 100%; transition: transform .55s var(--ease-spring), opacity .3s; pointer-events: none; }
.rv-nudge.in { transform: none; opacity: 1; pointer-events: auto; }
.rv-nudge.out { transform: translateY(16px) scale(.9); opacity: 0; transition-duration: .35s; }
.rn-open { display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 26px; text-align: left; max-width: min(300px, calc(100vw - 88px));
  background: color-mix(in srgb, var(--surface) 94%, transparent); box-shadow: 0 18px 44px rgba(0,0,0,.28), inset 0 0 0 1px var(--line-2); color: var(--ink); }
.rn-av { position: relative; flex: none; }
.rn-av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); }
.rn-mark { width: 28px; height: 28px; }
.rv-mark { width: 44px; height: 44px; padding: 8px; border-radius: 50%; background: var(--surface-2); }
.rn-badge { position: absolute; top: -4px; right: -5px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 11px; display: grid; place-items: center;
  background: #ff3b30; color: #fff; font: 700 12px/1 var(--font, inherit); font-style: normal; box-shadow: 0 0 0 2.5px var(--surface); }
.rn-txt { display: grid; min-width: 0; line-height: 1.25; }
.rn-txt b { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rn-txt span { font-size: 12.5px; color: var(--ink-2); }
.rn-x { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--ink-2); box-shadow: var(--shadow-1); }
.rv-nudge.ring .rn-open { animation: rn-hop 1.1s var(--ease-out) both; }
.rv-nudge.ring .rn-badge { animation: rn-badge .5s var(--ease-spring) .05s both, rn-pulse 1.6s ease-out 1.1s 2; }
@keyframes rn-hop {
  0% { transform: none; } 12% { transform: translateY(-16px) rotate(-2deg); } 24% { transform: translateY(0) scaleY(.94); }
  34% { transform: translateY(-9px) rotate(1.5deg); } 46% { transform: none; }
  52% { transform: translateX(-3px) rotate(-1.5deg); } 58% { transform: translateX(3px) rotate(1.5deg); } 64% { transform: translateX(-3px) rotate(-1deg); }
  70% { transform: translateX(2px) rotate(1deg); } 76% { transform: translateX(-1px); } 82%, 100% { transform: none; }
}
@keyframes rn-badge { from { transform: scale(0); } }
@keyframes rn-pulse { 0% { box-shadow: 0 0 0 2.5px var(--surface), 0 0 0 0 rgba(255,59,48,.55); } 100% { box-shadow: 0 0 0 2.5px var(--surface), 0 0 0 12px rgba(255,59,48,0); } }
@media (min-width: 900px) { .rv-nudge { bottom: 28px; right: 28px; } }
@media (prefers-reduced-motion: reduce) { .rv-nudge.ring .rn-open, .rv-nudge.ring .rn-badge { animation: none; } }
.lite .rn-open { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--surface); }

.rv-head { display: flex; align-items: center; gap: 12px; padding: 6px 20px 14px; border-bottom: 1px solid var(--line); }
.rv-head > div { flex: 1; display: grid; line-height: 1.25; } .rv-head b { font-size: 16px; } .rv-head span { font-size: 12.5px; }
.rv-chat { display: grid; gap: 8px; padding: 18px 20px 8px; }
.rv-bubble { justify-self: start; max-width: 88%; margin: 0; padding: 11px 15px; border-radius: 20px 20px 20px 6px; background: var(--surface-2); font-size: 15px; line-height: 1.45;
  animation: rv-bub .5s var(--ease-spring) both; animation-delay: calc(var(--d) * .55s + .15s); }
@keyframes rv-bub { from { opacity: 0; transform: translateY(8px) scale(.96); transform-origin: 0 100%; } }
.rv-foot { display: grid; gap: 6px; padding: 14px 20px calc(16px + var(--safe-b)); }
.rv-go { animation: rv-bub .5s var(--ease-spring) 1.9s both; }
@media (prefers-reduced-motion: reduce) { .rv-bubble, .rv-go { animation: none; } }

/* ── v7: ajustes de acabamento ── */
/* Bordas mais finas e apagadas (claro e escuro) */
:root { --hair: color-mix(in srgb, var(--ink) 10%, transparent); --hair-strong: color-mix(in srgb, var(--ink) 16%, transparent); }
.hm-live { box-shadow: inset 0 0 0 1px var(--hair); }
.hm-live .hl-dot { background: var(--signal); }
.co-section .field input, .co-section .field textarea, .lookup-form .field input { border: 1px solid var(--hair-strong); }
.co-section .field input:focus, .co-section .field textarea:focus, .lookup-form .field input:focus { border-color: color-mix(in srgb, var(--ink) 40%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink) 6%, transparent); }
.co-section .field.invalid input { border-color: color-mix(in srgb, var(--danger) 70%, transparent); }
.ord-next { box-shadow: inset 0 0 0 1px var(--hair); }
.ord-next.tone-act { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--signal) 35%, transparent); }
.ord-next.tone-warn { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--warn) 40%, transparent); }
.mi { border-bottom-color: var(--hair); }
.mn-tabs { border-bottom-color: var(--hair); }

/* Opções selecionáveis (pagamento, forma de receber, plano): cartões separados, seleção clara e discreta */
.m-list, .mode-list, .co-section .mode-list { display: grid; gap: 8px; background: none; border-radius: 0; overflow: visible; }
.m-row, .mode-opt { border: 0; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--hair); transition: box-shadow .15s ease, background-color .15s ease; }
.co-section .m-row, .co-section .mode-opt { background: var(--bg); }
.m-row:last-of-type, .mode-opt:last-child { border-bottom: 0; }
.m-row:has(input:checked), .mode-opt[aria-checked="true"] { background: color-mix(in srgb, var(--signal) 7%, var(--surface)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--signal) 70%, transparent); }
.m-row .m-radio, .mode-opt .mo-radio { position: relative; box-shadow: inset 0 0 0 1.5px var(--hair-strong); }
.m-row:has(input:checked) .m-radio, .mode-opt[aria-checked="true"] .mo-radio { box-shadow: none; background: var(--signal); }
.m-row:has(input:checked) .m-radio::after, .mode-opt[aria-checked="true"] .mo-radio::after { content: ""; position: absolute; inset: 0; margin: auto; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.m-row:has(input:checked) .m-name { color: var(--ink); }
.m-row:has(input:focus-visible) { outline: 2px solid color-mix(in srgb, var(--signal) 60%, transparent); outline-offset: 2px; }
.m-list.invalid .m-row { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--danger) 60%, transparent); }
.plan-card { box-shadow: inset 0 0 0 1px var(--hair); }
.plan-card:has(input:checked) { background: color-mix(in srgb, var(--signal) 7%, var(--surface)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--signal) 70%, transparent); }

/* Cardápio: cada categoria bem separada da anterior */
.mn-sec { padding-top: 24px; }
.mn-sec + .mn-sec { margin-top: 18px; padding-top: 26px; border-top: 8px solid var(--bg); margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); }
.mn-h { font-size: 21px; font-weight: 800; letter-spacing: -0.025em; padding-bottom: 6px; }
@media (min-width: 1100px) { .mn-sec + .mn-sec { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; border-top-width: 1px; border-top-color: var(--hair); } }

/* "Que tal este?" em carrossel: troca a cada 5 s com fusão suave */
.hm-spot { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 0; background: none; border-radius: 0; }
.hm-spot:active { transform: none; }
.hs-slides { position: relative; display: grid; }
.hs-slide { grid-area: 1 / 1; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; width: 100%; padding: 8px; border-radius: 20px; background: var(--surface); text-align: left;
  opacity: 0; visibility: hidden; transform: translateX(12px); transition: opacity .7s ease, transform .7s var(--ease-out), visibility 0s linear .7s; }
.hs-slide.on { opacity: 1; visibility: visible; transform: none; transition: opacity .7s ease, transform .7s var(--ease-out), visibility 0s; }
.hs-slide:active { transform: scale(.985); }
.hs-slide .hs-media img { transition: transform 5s linear; }
.hs-slide.on .hs-media img { transform: scale(1.06); }
.hs-dots { display: flex; justify-content: center; gap: 6px; }
.hs-dots span { width: 6px; height: 6px; border-radius: 3px; background: var(--hair-strong); transition: width .4s var(--ease-out), background-color .4s; }
.hs-dots span.on { width: 18px; background: var(--signal); }
@media (prefers-reduced-motion: reduce) { .hs-slide, .hs-slide.on { transition: none; transform: none; } .hs-slide .hs-media img { transition: none; } }

/* Acesso do estabelecimento, discreto */
.hm-staff { justify-self: start; margin-top: 4px; font-size: 12.5px; color: var(--ink-3); text-decoration: none; }
.hm-staff:hover { text-decoration: underline; }
.opt { box-shadow: inset 0 0 0 1px var(--hair); }
.opt:has(input:checked) { background: color-mix(in srgb, var(--signal) 7%, var(--surface)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--signal) 70%, transparent); }
.opt .opt-mark { box-shadow: inset 0 0 0 1.5px var(--hair-strong); }
.opt input:checked ~ .opt-mark { background: var(--signal); }
.opt input:checked ~ .opt-mark::after { background: #fff; }

/* ── v8: entrada em vídeo, miniaturas que tocam sozinhas, seleção discreta ── */
/* Apresentação: cortes dos melhores pratos em tela cheia */
.intro { position: relative; height: 100svh; min-height: 540px; max-height: 920px; overflow: hidden; color: #fff; isolation: isolate; background: color-mix(in srgb, var(--tint) 45%, #000); }
@media (min-width: 760px) { .intro { margin: 12px var(--gutter) 0; height: min(86svh, 860px); border-radius: 28px; } }
.in-stage { position: absolute; inset: 0; z-index: -1; }
.in-stage > img, .in-stage > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.in-poster { transition: opacity .8s ease; } .in-poster.gone { opacity: 0; }
.in-v { opacity: 0; transform: scale(1.04); transition: opacity .9s ease, transform 4.5s ease-out; }
.in-v.on { opacity: 1; transform: scale(1); }
.in-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, transparent 22%, transparent 48%, color-mix(in srgb, var(--tint) 25%, rgba(0,0,0,.82)) 100%); transition: background 1s ease; }
.in-prog { position: absolute; z-index: 3; top: calc(8px + var(--safe-t)); left: 12px; right: 12px; display: flex; gap: 4px; }
.in-prog span { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.3); overflow: hidden; }
.in-prog i { display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(0); }
.in-prog span.done i { transform: scaleX(1); }
.in-prog span.on i { animation: in-prog 3.8s linear forwards; }
@keyframes in-prog { to { transform: scaleX(1); } }
.in-top { position: absolute; z-index: 3; top: calc(20px + var(--safe-t)); left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); }
.in-brand { display: flex; align-items: center; gap: 8px; font-size: 15px; text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.in-brand b { font-weight: 750; }
.in-mark { width: 30px; height: 30px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.35)); }
.in-mark .bm-bun { fill: #fff; } .in-mark .bm-patty { fill: #1e120c; } .in-mark .bm-flame { fill: var(--signal); }
.in-btn { color: #fff; background: rgba(0,0,0,.28); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.in-bottom { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 0 var(--gutter) calc(96px + var(--safe-b)); display: grid; gap: 12px; }
.in-status { display: inline-flex; align-items: center; gap: 8px; justify-self: start; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(0,0,0,.32); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.in-status .live { background: #5ee08f; }
.in-dish { display: grid; gap: 2px; text-align: left; color: #fff; justify-self: stretch; }
.in-dish.swap { animation: in-swap .6s var(--ease-out); }
@keyframes in-swap { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } }
.in-dish-k { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.8); }
.in-dish-n { font-size: clamp(30px, 9vw, 44px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.in-dish-p { display: flex; align-items: center; gap: 12px; margin-top: 4px; font-size: 16px; }
.in-dish-p .price { font-weight: 700; }
.in-want { display: inline-flex; align-items: center; gap: 2px; font-size: 14px; font-weight: 700; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(255,255,255,.18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.in-title { font-size: clamp(36px, 10vw, 52px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.in-lead { color: rgba(255,255,255,.85); }
.in-cta { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 0 18px 0 22px; border-radius: 20px; background: #fff; color: #14100d; text-decoration: none; box-shadow: 0 18px 40px rgba(0,0,0,.28); transition: transform .15s var(--ease-out); }
.in-cta:active { transform: scale(.98); }
.in-cta span { flex: 1; font-size: 18px; font-weight: 750; letter-spacing: -0.02em; }
.in-cta small { font-size: 13px; color: #6b625c; font-weight: 600; }
.in-cta .icon { color: var(--signal); stroke-width: 2.4; }
.intro.static .in-prog { display: none; }
@media (prefers-reduced-motion: reduce) { .in-v, .in-v.on { transition: opacity .2s; transform: none; } .in-dish.swap { animation: none; } .in-prog span.on i { animation: none; transform: scaleX(1); } }
.hm-body { padding-top: 18px; }
/* Botão flutuante discreto quando a apresentação sai da tela */
.float-menu { position: fixed; z-index: 37; left: 50%; bottom: calc(86px + var(--safe-b)); transform: translate(-50%, 16px); opacity: 0; pointer-events: none; display: inline-flex; align-items: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: var(--r-pill); background: var(--ink); color: var(--on-ink); font-size: 15px; font-weight: 700; text-decoration: none; box-shadow: var(--shadow-2); transition: opacity .25s ease, transform .3s var(--ease-out); }
.float-menu.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
body.has-mini .float-menu { display: none; }
.float-menu .icon { color: var(--signal); }
@media (min-width: 1000px) { .float-menu { bottom: 92px; } }
.hi-head { margin-bottom: 2px; }
/* Miniaturas: o vídeo toca por cima da foto, sem botão de play */
.hp-img, .mi-img { position: relative; }
.hp-img > video, .mi-img > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease; }
.hp-img > video.on, .mi-img > video.on { opacity: 1; }
.hm-pick .hp-img { aspect-ratio: 4 / 5; }
.hm-rail { grid-auto-columns: 42%; }
.mi-vid, .hp-vid { display: none !important; }
/* Linha do cardápio: texto abre o prato; a mídia abre em tela cheia */
.mi { display: grid; grid-template-columns: minmax(0, 1fr) 104px; gap: 14px; align-items: start; padding: 14px 0; }
.mi-link { display: block; padding: 0; min-height: 0; }
.mi-img { width: 104px; height: 104px; border-radius: 16px; overflow: hidden; display: block; background: var(--surface-2); }
.mi-img img { width: 100%; height: 100%; object-fit: cover; }
.mi-ctl { right: 118px; bottom: 14px; }
@media (hover: hover) { .mi-img:hover img { transform: scale(1.04); } }
/* Seleção discreta: sem borda forte, só um fundo levemente tingido e o círculo preenchido */
.m-row:has(input:checked), .mode-opt[aria-checked="true"], .plan-card:has(input:checked), .opt:has(input:checked) {
  background: color-mix(in srgb, var(--signal) 6%, var(--surface)); box-shadow: inset 0 0 0 1px var(--hair); }
.co-section .m-row:has(input:checked), .co-section .mode-opt[aria-checked="true"] { background: color-mix(in srgb, var(--signal) 6%, var(--bg)); }
.mode-opt[aria-checked="true"] .mo-ic { background: color-mix(in srgb, var(--signal) 12%, transparent); }


/* v8.1 — texto do vídeo nunca passa por baixo dos botões laterais */
.reel-author, .reel-name, .reel-desc, .reel-tags { max-width: calc(100% - 78px); }
@media (max-height: 640px) { .reel-rail .cnt { display: none; } .reel-rail { gap: 10px; bottom: calc(158px + var(--safe-b)); } }
.reel-author { flex-wrap: nowrap; min-width: 0; white-space: nowrap; }
.reel-author .ra-cat { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
@media (max-width: 360px) { .reel-name { font-size: 22px; } }
