@font-face { font-family: Onest; src: url('/assets/fonts/Onest.woff2') format('woff2'); font-display: swap; font-weight: 100 900; }
@font-face { font-family: Anybody; src: url('/assets/fonts/Anybody.woff2') format('woff2'); font-display: swap; font-weight: 100 900; }
:root {
  color-scheme: light;
  --ink: #241815;
  --ink-soft: #392923;
  --dark: #2a1714;
  --brand: #b3261e;
  --brand-dark: #8c1e19;
  --paper: #f8f5ef;
  --surface: #fffefa;
  --surface-warm: #f1eadf;
  --line: #e5dbcf;
  --muted: #71635c;
  --gold: #d9a963;
  --green: #526e4c;
  --focus: #087e8b;
  --shadow: 0 18px 52px rgba(41, 24, 19, .18);
  font-family: Onest, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
}
* { box-sizing: border-box; }
html { min-width: 320px; background: var(--paper); scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-size: 15px; line-height: 1.45; padding-bottom: calc(98px + env(safe-area-inset-bottom)); }
button, input, textarea { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
button:disabled { cursor: not-allowed; opacity: .55; }
[hidden] { display: none !important; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 12px 16px; border-radius: 8px; color: white; background: var(--dark); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.topbar { height: 76px; padding: 0 max(22px, calc((100vw - 1180px) / 2)); display: flex; align-items: center; gap: 20px; position: sticky; inset: 0 0 auto; z-index: 20; color: #f8f0e5; background: var(--dark); box-shadow: 0 7px 24px rgba(28, 14, 11, .14); }
.brand { display: flex; align-items: center; gap: 11px; padding: 0; border: 0; color: inherit; background: none; text-align: left; cursor: pointer; }
.brand img { flex: 0 0 auto; display: block; }
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { font: 700 17px/1.15 Anybody, sans-serif; letter-spacing: -.035em; }
.brand-copy small { color: #d7c7ba; font-size: 10px; }
.topbar-status { margin-left: auto; display: inline-flex; align-items: center; gap: 9px; color: #ede0cf; font-size: 12px; }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #bd8066; box-shadow: 0 0 0 3px rgba(217, 169, 99, .17); }
.is-open .status-dot { background: #83bd72; box-shadow: 0 0 0 3px rgba(131, 189, 114, .18); }
.share-top { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border: 1px solid rgba(248, 240, 229, .28); border-radius: 999px; color: #f8f0e5; background: transparent; font-size: 12px; cursor: pointer; transition: background .18s ease, border-color .18s ease; }
.share-top:hover { background: rgba(255,255,255,.08); border-color: rgba(248,240,229,.58); }
.share-top svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.app-layout { width: min(1180px, calc(100% - 40px)); margin: 30px auto 50px; display: grid; grid-template-columns: minmax(0, 790px) 260px; align-items: start; justify-content: center; gap: 34px; }
.customer-app { min-width: 0; }
.screen { min-width: 0; animation: page-in .28s cubic-bezier(.2,.8,.2,1) both; }
@keyframes page-in { from { opacity: .5; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Anybody, Onest, sans-serif; letter-spacing: -.04em; }
.hero-cover { height: 420px; position: relative; overflow: hidden; border-radius: 24px; color: #fff7eb; background: #301814; isolation: isolate; box-shadow: 0 18px 34px rgba(54, 32, 22, .16); }
.hero-photo { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 56%; }
.hero-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(29,14,11,.92) 0%, rgba(35,17,13,.72) 37%, rgba(35,17,13,.06) 79%), linear-gradient(0deg, rgba(26,13,10,.5), transparent 56%); }
.hero-brand-lockup { position: absolute; top: 22px; right: 24px; display: grid; justify-items: center; gap: 6px; color: #fff1d8; font-size: 9px; letter-spacing: .025em; }
.hero-brand-lockup img { filter: drop-shadow(0 5px 8px rgba(20, 9, 7, .3)); }
/* ancorado embaixo, acima do botão: título de 3 linhas não empurra o texto para baixo do "Conhecer o cardápio" */
.hero-copy { position: absolute; bottom: 92px; left: 34px; width: min(410px, 66%); }
.live-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; margin: 0 0 20px; padding: 0 11px; border: 1px solid rgba(255,245,225,.25); border-radius: 999px; color: #fff4df; background: rgba(36,17,13,.58); font-size: 11px; }
.live-pill.is-open .status-dot { background: #98d085; }
.live-pill.is-closed .status-dot { background: #e5a175; }
.hero-copy h1 { margin: 0 0 12px; color: #fffaf1; font-size: clamp(35px, 5vw, 54px); line-height: 1.06; font-weight: 700; }
.hero-copy h1 em { color: #f4c786; font-style: normal; }
.hero-copy > p:last-child { max-width: 32ch; margin: 0; color: #f1e5d6; font-size: 14px; }
.hero-link { position: absolute; bottom: 28px; left: 34px; display: inline-flex; align-items: center; gap: 22px; min-height: 46px; padding: 0 17px 0 20px; border: 0; border-radius: 999px; color: #261713; background: #f4cf96; font-weight: 700; font-size: 12px; cursor: pointer; transition: transform .18s ease, background .18s ease; }
.hero-link:hover { transform: translateY(-2px); background: #ffdfa9; }
.hero-link span { font-size: 18px; line-height: 1; }
.loja-resumo { display: flex; align-items: center; gap: 18px; padding: 18px 22px; margin-top: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.resumo-dado { display: flex; align-items: center; gap: 11px; min-width: 0; }
.resumo-dado > span:last-child { display: grid; gap: 2px; }
.resumo-dado small { color: var(--muted); font-size: 10px; }
.resumo-dado strong { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.dado-sinal { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; color: var(--brand); background: #f5e9df; }
.dado-sinal svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.resumo-divisor { width: 1px; align-self: stretch; background: var(--line); }
.escolha-servico { margin-top: 32px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.section-heading h2 { margin: 0 0 4px; font-size: 23px; }
.section-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.heading-mark { color: var(--gold); font-size: 14px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 11px; }
.service-choice { min-height: 96px; display: grid; grid-template-columns: 36px minmax(0,1fr) 15px; align-items: center; gap: 9px; padding: 14px 12px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); text-align: left; cursor: pointer; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.service-choice:hover { transform: translateY(-2px); border-color: #c88570; box-shadow: 0 8px 20px rgba(73, 35, 25, .08); }
.service-choice:active { transform: translateY(0) scale(.99); }
.service-icon { width: 36px; height: 36px; display: grid; place-items: center; color: var(--brand); background: #f6ebe2; border-radius: 12px; }
.service-icon svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.service-copy { display: grid; gap: 3px; min-width: 0; }
.service-copy strong { font-size: 14px; }
.service-copy small { color: var(--muted); font-size: 10px; line-height: 1.35; }
.service-arrow { color: #a7988e; font-size: 17px; }
.home-note { display: flex; align-items: center; gap: 13px; padding: 15px 17px; margin: 24px 0 0; border-radius: 15px; color: #49342b; background: #eee4d7; }
.note-star { width: 29px; height: 29px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: var(--brand); background: #fffaf4; }
.home-note > span:nth-child(2) { display: grid; gap: 1px; }
.home-note strong { font-size: 12px; }
.home-note small { color: var(--muted); font-size: 10px; }
.home-note > button { margin-left: auto; border: 0; width: 34px; height: 34px; border-radius: 50%; color: white; background: var(--brand); font-size: 18px; cursor: pointer; }

.screen-menu { padding-bottom: 20px; }
.menu-sticky { position: sticky; top: 76px; z-index: 12; margin: -30px -1px 0; padding: 21px 1px 9px; background: rgba(248,245,239,.98); border-bottom: 1px solid #e8ded3; }
.menu-title-row { display: flex; align-items: center; justify-content: space-between; margin: 0 1px 12px; }
.menu-title-row h1, .screen-orders > h1 { margin: 1px 0 0; font-size: 30px; line-height: 1.1; }
.menu-context { margin: 0; color: var(--muted); font-size: 10px; font-weight: 600; }
.menu-share-mobile { display: none; min-height: 36px; padding: 0 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 10px; }
.search-offer-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 9px; }
.search-box { height: 47px; display: flex; align-items: center; gap: 10px; padding: 0 13px; border: 1px solid #dfd4c8; border-radius: 13px; background: var(--surface); box-shadow: 0 2px 5px rgba(48,29,21,.03); }
.search-box:focus-within { border-color: #b96d5d; box-shadow: 0 0 0 3px rgba(179,38,30,.11); }
.search-box svg, .flavor-search svg { width: 19px; flex: 0 0 auto; fill: none; stroke: #7a6b62; stroke-width: 1.7; stroke-linecap: round; }
.search-box input, .flavor-search input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 13px; }
.search-box input::placeholder, .flavor-search input::placeholder { color: #81736a; opacity: 1; }
.search-box kbd { color: #9a8b80; font-size: 18px; }
.offer-chip { height: 36px; display: inline-flex; align-items: center; gap: 5px; padding: 0 10px; border: 1px solid color-mix(in srgb,var(--offer-brand,var(--brand)) 28%,#e7d4c2); border-radius: 999px; color: #fffaf2; background: var(--offer-brand,var(--brand)); white-space: nowrap; font: 700 10px var(--sans); cursor: pointer; box-shadow: 0 3px 8px color-mix(in srgb,var(--offer-brand,var(--brand)) 20%,transparent); transition: transform .15s ease, box-shadow .15s ease; }
.offer-chip:hover { transform: translateY(-1px); box-shadow: 0 5px 12px color-mix(in srgb,var(--offer-brand,var(--brand)) 27%,transparent); }
.offer-chip > span { font-size: 12px; }
.offers-today { padding: 13px; margin: 9px 0 2px; border: 1px solid #ead7bf; border-radius: 15px; background: linear-gradient(135deg,#fffaf1,#f6ecdd); box-shadow: 0 9px 20px rgba(63,39,25,.07); }
.offers-today-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.offers-today-heading p { margin: 0 0 2px; color: var(--brand); font-size: 8px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.offers-today-heading h2 { margin: 0; color: var(--ink); font: 650 17px/1.15 var(--display); }
.fechar-ofertas { width: 30px; height: 30px; border: 1px solid #e6d6c5; border-radius: 50%; color: #634b3e; background: #fffdf9; font-size: 19px; cursor: pointer; }
.offers-today-list { display: grid; gap: 7px; }
.offer-today-card { min-width: 0; display: grid; grid-template-columns: 48px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 8px; border: 1px solid #efe3d5; border-radius: 12px; background: rgba(255,255,255,.87); }
.offer-today-card > img { width: 48px; height: 48px; border-radius: 9px; object-fit: cover; background: #eadfce; }
.offer-today-copy { min-width: 0; display: grid; gap: 2px; }
.offer-today-copy > strong { overflow: hidden; color: var(--ink); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.offer-today-copy > span { overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.offer-today-prices { display: flex; align-items: baseline; gap: 6px; }
.offer-today-prices del, .product-price del { color: #83756a; font-size: 9px; font-weight: 500; }
.offer-today-prices strong { color: var(--brand); font-size: 14px; font-weight: 850; font-variant-numeric: tabular-nums; }
.offer-today-card > button { min-height: 34px; padding: 0 10px; border: 0; border-radius: 9px; color: #fff8ef; background: var(--brand); font: 700 9px var(--sans); cursor: pointer; }
.category-tabs { display: flex; gap: 7px; overflow-x: auto; padding: 12px 0 3px; scrollbar-width: thin; scrollbar-color: #d5c8ba transparent; }
.category-tabs::-webkit-scrollbar { height: 3px; }
.category-tabs::-webkit-scrollbar-thumb { background: #d5c8ba; border-radius: 5px; }
.category-tab { min-height: 34px; display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; padding: 0 11px; border: 1px solid #ded4c9; border-radius: 999px; color: #594a42; background: #fbf9f5; font-size: 10px; cursor: pointer; transition: color .15s ease, background .15s ease, border-color .15s ease; }
.category-tab svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.category-tab:hover { border-color: #bd8577; }
.category-tab[aria-pressed="true"] { color: #fff8ed; border-color: var(--brand); background: var(--brand); }
.menu-list-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; padding: 19px 1px 9px; }
.menu-list-head h2 { margin: 0; font-size: 18px; line-height: 1.2; }
.menu-list-head small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.filtro-ordem { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 0 8px; border: 0; border-radius: 8px; color: #63534b; background: transparent; font-size: 10px; cursor: pointer; }
.filtro-ordem:hover { background: #eee6dc; }
.filtro-ordem svg { width: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.product-list { display: grid; }
.product-row { min-width: 0; min-height: 88px; display: grid; grid-template-columns: 68px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 9px 3px; border-bottom: 1px solid #e7ded4; animation: row-in .22s ease-out both; }
@keyframes row-in { from { opacity: .45; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.product-photo { display: block; width: 68px; height: 68px; border-radius: 13px; object-fit: cover; background: #eadfce; }
.product-main { min-width: 0; align-self: center; }
.product-name-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 7px; margin-bottom: 3px; }
.product-name { margin: 0; color: var(--ink); font-size: 14px; line-height: 1.2; font-weight: 750; }
.product-popular { display: inline-flex; align-items: center; min-height: 17px; padding: 0 6px; border-radius: 999px; color: #75471e; background: #f5e7cc; font-size: 8px; font-weight: 700; }
.product-offer-seal { display: inline-flex; align-items: center; min-height: 17px; padding: 0 6px; border-radius: 999px; color: #fffaf2; background: var(--brand); font-size: 8px; font-weight: 750; }
.product-description { display: block; width: 100%; padding: 0; border: 0; color: var(--muted); background: transparent; text-align: left; font-size: 10px; line-height: 1.4; cursor: pointer; }
.product-description:not(.expanded) { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
.product-description.expanded { white-space: normal; }
.product-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px; margin-top: 4px; color: var(--brand-dark); font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; }
.product-price strong { color: var(--brand); font-size: 13px; font-weight: 850; }
.add-product { width: 36px; height: 36px; display: grid; place-items: center; margin-right: 4px; border: 0; border-radius: 12px; color: white; background: var(--brand); font-size: 25px; line-height: 1; font-weight: 400; cursor: pointer; box-shadow: 0 3px 7px rgba(125, 34, 27, .17); transition: background .14s ease, transform .14s ease; }
.add-product:hover { background: var(--brand-dark); transform: scale(1.06); }
.add-product:active { transform: scale(.96); }
.empty-state { padding: 52px 20px; text-align: center; }
.empty-state > span { width: 45px; height: 45px; display: grid; place-items: center; margin: 0 auto 14px; border-radius: 50%; color: var(--brand); background: #f0e4d8; font-size: 26px; }
.empty-state h2 { margin: 0 0 7px; font-size: 22px; }
.empty-state p { margin: 0 auto 17px; max-width: 36ch; color: var(--muted); font-size: 12px; }
.empty-state button { border: 0; color: var(--brand-dark); background: none; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.menu-rule { padding: 10px 11px; margin: 18px 0 0; border-radius: 10px; color: #5b493c; background: #eee6db; font-size: 10px; }
.menu-rule span { margin-right: 6px; color: var(--brand); }

.screen-orders { min-height: 510px; padding: 38px 10px; }
.screen-orders > h1 { margin-bottom: 24px; }
.orders-empty { max-width: 510px; padding: 33px 28px 36px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); text-align: center; }
.orders-illustration { display: grid; width: 76px; height: 76px; place-items: center; margin: 0 auto 16px; border-radius: 22px; color: var(--brand); background: #f5e8de; }
.orders-illustration svg { width: 47px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.orders-empty h2 { margin: 0 auto 8px; max-width: 24ch; font-size: 22px; }
.orders-empty p { margin: 0 auto 18px; color: var(--muted); font-size: 12px; }
.primary-action, .secondary-action { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 0 18px; border: 0; border-radius: 13px; color: white; background: var(--brand); font-size: 13px; font-weight: 750; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.primary-action:hover { transform: translateY(-1px); background: var(--brand-dark); }
.primary-action span { font-size: 18px; }
.secondary-action { color: var(--brand-dark); border: 1px solid #d7c6b8; background: var(--surface); }
.secondary-action:hover { background: #f4ede3; }

.qr-sidebar { position: sticky; top: 106px; padding: 23px 20px 19px; border: 1px solid var(--line); border-radius: 19px; background: var(--surface); box-shadow: 0 10px 30px rgba(38,24,19,.06); text-align: center; }
.qr-kicker { margin: 0 0 6px; color: var(--brand-dark); font-size: 10px; font-weight: 750; }
.qr-sidebar h2 { margin: 0 0 7px; font-size: 21px; }
.qr-sidebar > p:not(.qr-kicker) { margin: 0 auto 16px; max-width: 26ch; color: var(--muted); font-size: 11px; }
.qr-image { display: block; width: 188px; height: 188px; margin: 0 auto 13px; image-rendering: pixelated; }
.qr-actions { display: grid; gap: 7px; }
.qr-actions button { min-height: 36px; border: 1px solid var(--line); border-radius: 10px; color: #59473d; background: #fcfaf6; font-size: 10px; cursor: pointer; }
.qr-actions button:hover { border-color: #bd8577; background: #f8f0e8; }
.qr-url { display: block; margin-top: 10px; color: #75655b; font-size: 9px; overflow-wrap: anywhere; }

.bottom-nav { position: fixed; z-index: 30; left: 50%; bottom: calc(9px + env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(520px, calc(100% - 22px)); min-height: 67px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); padding: 7px 8px; border: 1px solid rgba(92,68,54,.16); border-radius: 20px; background: rgba(255,254,250,.97); box-shadow: 0 8px 35px rgba(50,34,25,.2); }
.nav-item { min-width: 0; position: relative; display: grid; align-content: center; justify-items: center; gap: 3px; padding: 3px 0; border: 0; border-radius: 14px; color: #6b5b52; background: transparent; font-size: 9px; cursor: pointer; }
.nav-item svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nav-item.ativo { color: var(--brand-dark); background: #f6ece1; font-weight: 700; }
.nav-cart b { position: absolute; top: 1px; left: calc(50% + 9px); min-width: 17px; height: 17px; display: grid; place-items: center; padding: 0 4px; border: 2px solid var(--surface); border-radius: 999px; color: white; background: var(--brand); font-size: 8px; line-height: 1; }

.sheet-backdrop { position: fixed; z-index: 50; inset: 0; display: flex; align-items: end; justify-content: center; padding: 0 14px; background: rgba(25,16,13,.58); animation: shade-in .18s ease both; }
@keyframes shade-in { from { opacity: 0; } to { opacity: 1; } }
.bottom-sheet { width: min(680px, 100%); max-height: min(91dvh, 850px); display: flex; flex-direction: column; position: relative; overflow: hidden; border-radius: 25px 25px 0 0; color: var(--ink); background: var(--paper); box-shadow: var(--shadow); animation: sheet-in .26s cubic-bezier(.16,.8,.24,1) both; }
@keyframes sheet-in { from { transform: translateY(28px); } to { transform: translateY(0); } }
.sheet-handle { width: 42px; height: 4px; flex: 0 0 auto; margin: 10px auto 1px; border-radius: 999px; background: #c9bbad; }
.sheet-header { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 23px 14px; border-bottom: 1px solid var(--line); }
.sheet-header h2 { margin: 3px 0 0; font-size: 22px; line-height: 1.15; }
.icon-close { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; color: #5e4c43; background: #fffcf7; font-size: 25px; line-height: 1; cursor: pointer; }
.builder-scroll { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 14px 23px 22px; }
.pizza-preview { display: flex; align-items: center; gap: 18px; min-height: 151px; padding: 10px 15px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); }
.pizza-preview svg { width: 130px; height: 130px; flex: 0 0 auto; filter: drop-shadow(0 5px 4px rgba(70,37,21,.12)); }
.pizza-preview-copy { display: grid; gap: 5px; }
.pizza-preview-copy strong { font: 700 19px/1.2 Anybody, sans-serif; letter-spacing: -.035em; }
.pizza-preview-copy span { color: var(--muted); font-size: 11px; }
.flavor-picker { padding: 20px 0 17px; }
.control-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.control-heading h3 { margin: 0; font-size: 15px; }
.control-heading small { color: var(--muted); font-size: 10px; }
.chosen-flavors { display: grid; gap: 7px; margin-bottom: 10px; }
.chosen-flavor { min-height: 37px; display: grid; grid-template-columns: 23px minmax(0,1fr) auto 30px; align-items: center; gap: 8px; padding: 3px 5px 3px 9px; border-radius: 10px; background: #f0e8dd; }
.flavor-number { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--brand); font-size: 9px; font-weight: 750; }
.chosen-flavor strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.chosen-flavor small { color: var(--muted); font-size: 9px; }
.remove-flavor { width: 28px; height: 28px; border: 0; border-radius: 8px; color: #725c50; background: transparent; font-size: 18px; cursor: pointer; }
.remove-flavor:hover { color: var(--brand); background: #fff8ef; }
.flavor-search { height: 42px; display: flex; align-items: center; gap: 9px; padding: 0 12px; border: 1px solid #ded4c8; border-radius: 11px; background: var(--surface); }
.flavor-search:focus-within { border-color: #b96d5d; }
.flavor-options { max-height: 160px; overflow-y: auto; margin-top: 6px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
.flavor-option { width: 100%; min-height: 41px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border: 0; border-bottom: 1px solid #eee5db; background: transparent; text-align: left; font-size: 11px; cursor: pointer; }
.flavor-option:last-child { border-bottom: 0; }
.flavor-option:hover { background: #f5ece2; }
.flavor-option span:last-child { color: var(--brand-dark); font-weight: 750; }
.rim-options, .remove-ingredients { min-width: 0; padding: 15px 0; margin: 0; border: 0; border-top: 1px solid var(--line); }
.rim-options legend, .remove-ingredients legend { padding: 0 0 10px; font-size: 13px; font-weight: 750; }
.rim-options legend small, .remove-ingredients legend small { color: var(--muted); font-size: 10px; font-weight: 500; }
.rim-options label { min-height: 39px; display: grid; grid-template-columns: 18px minmax(0,1fr) auto; align-items: center; gap: 9px; padding: 3px 5px; border-radius: 9px; cursor: pointer; }
.rim-options label:hover { background: #f0e8dd; }
.rim-options input, .ingredient-choice input { width: 17px; height: 17px; margin: 0; accent-color: var(--brand); }
.rim-options label span { font-size: 11px; }
.rim-options label b { color: #604b3d; font-size: 10px; }
.ingredient-list { display: flex; flex-wrap: wrap; gap: 7px; }
.ingredient-choice { min-height: 31px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); cursor: pointer; }
.ingredient-choice span { font-size: 10px; }
.ingredient-choice:has(input:checked) { color: #771c17; border-color: #b76a5c; background: #f8e6df; }
.note-field { display: grid; gap: 7px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 12px; font-weight: 750; }
.note-field small { display: inline; color: var(--muted); font-size: 10px; font-weight: 500; }
.note-field textarea { width: 100%; min-height: 70px; resize: vertical; padding: 11px 12px; border: 1px solid #ded4c8; border-radius: 11px; color: var(--ink); background: var(--surface); font-size: 11px; }
.note-field textarea::placeholder { color: #81736a; }
.quantity-row { display: flex; align-items: center; justify-content: space-between; padding: 13px 0 2px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 700; }
.quantity-control { display: inline-flex; align-items: center; gap: 12px; }
.quantity-control button { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; color: var(--brand-dark); background: var(--surface); font-size: 18px; cursor: pointer; }
.quantity-control output { min-width: 16px; text-align: center; font-variant-numeric: tabular-nums; }
.sheet-footer { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 23px calc(15px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fffdfa; box-shadow: 0 -7px 22px rgba(52,32,24,.05); }
.price-summary { display: grid; gap: 1px; }
.price-summary small, .price-summary span { color: var(--muted); font-size: 9px; }
.price-summary strong { color: var(--brand-dark); font: 750 21px/1.2 Anybody, sans-serif; font-variant-numeric: tabular-nums; }
.sheet-footer .primary-action { min-width: 170px; }

.cart-sheet { width: min(560px,100%); }
.cart-lines { min-height: 0; overflow: auto; padding: 13px 22px 17px; }
.cart-item { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.cart-item h3 { margin: 0 0 4px; font-size: 14px; }
.cart-item p { margin: 0; color: var(--muted); font-size: 10px; }
.cart-item strong { color: var(--brand-dark); font-size: 12px; white-space: nowrap; }
.cart-item-detail { grid-column: 1 / -1; color: #5e4c43; font-size: 10px; }
.cart-item-actions { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
.cart-item-actions button { padding: 4px 0; border: 0; color: var(--brand-dark); background: none; text-decoration: underline; text-underline-offset: 3px; font-size: 10px; cursor: pointer; }
.cart-empty { padding: 40px 20px; text-align: center; }
.cart-empty > span { color: var(--brand); font-size: 28px; }
.cart-empty h3 { margin: 6px 0; font-size: 20px; }
.cart-empty p { margin: 0 0 15px; color: var(--muted); font-size: 11px; }
.cart-footer { padding: 14px 22px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fffdfa; }
.cart-breakdown { display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; color: var(--muted); font-size: 11px; }
.cart-breakdown strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.cart-breakdown .cart-total-label { padding-top: 7px; margin-top: 3px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 750; }
.cart-breakdown .cart-total { padding-top: 7px; margin-top: 3px; border-top: 1px solid var(--line); color: var(--brand-dark); font-size: 18px; }
.full-action { width: 100%; margin-top: 14px; }
.demo-note { display: block; margin: 9px 0 0; color: var(--muted); text-align: center; font-size: 9px; }
.qr-backdrop { z-index: 55; align-items: center; padding: 20px; }
.qr-sheet { width: min(430px,100%); max-height: 90dvh; align-items: center; padding: 36px 24px 25px; border-radius: 24px; text-align: center; }
.qr-close { position: absolute; top: 12px; right: 12px; }
.qr-sheet h2 { margin: 0 0 14px; font-size: 24px; }
.qr-sheet > img { display: block; width: min(264px,68vw); height: auto; aspect-ratio: 1; margin: 4px auto 12px; image-rendering: pixelated; }
.qr-sheet > p:not(.qr-kicker) { margin: 0 0 14px; color: var(--muted); font-size: 11px; }
.summary-sheet { width: min(560px,100%); padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
.summary-sheet > #resumo-pedido { padding: 14px 23px; }
.summary-line { display: grid; grid-template-columns: 1fr auto; gap: 7px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.summary-line strong { font-size: 12px; }
.summary-line p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 10px; }
.summary-sheet > .demo-note { margin: 0 22px 12px; }
.summary-sheet > .secondary-action { align-self: flex-start; margin: 0 22px; }
.cart-hours-notice,.cart-demo-notice{margin:12px 22px 0;padding:12px 14px;border:1px solid #f1c17a;border-left:4px solid #b3261e;border-radius:10px;color:#5d3210;background:#fff5df;font-size:13px;font-weight:650;line-height:1.5}
.cart-hours-notice[hidden],.cart-demo-notice[hidden]{display:none}
.cart-hours-notice strong{display:block;margin-bottom:3px;color:#472511;font-size:14px}
.cart-demo-notice{border-color:#d7e2f6;border-left-color:#2148e4;color:#23385e;background:#eef3ff;font-size:12px}
.cart-hours-notice + .cart-demo-notice{margin-top:8px}
.full-action:disabled{opacity:.55;cursor:not-allowed;transform:none}
.install-nudge { position: fixed; z-index: 45; right: 18px; bottom: calc(91px + env(safe-area-inset-bottom)); width: min(380px,calc(100% - 36px)); display: grid; grid-template-columns: minmax(0,1fr) auto 26px; align-items: center; gap: 10px; padding: 13px 12px 13px 15px; border: 1px solid #dfc9a8; border-radius: 15px; background: #fffaf0; box-shadow: 0 10px 30px rgba(42,25,16,.18); }
.install-nudge > div { display: grid; gap: 3px; }
.install-nudge strong { font-size: 11px; }
.install-nudge span { color: var(--muted); font-size: 10px; }
.install-nudge > button:not(.nudge-close) { min-height: 34px; padding: 0 11px; border: 0; border-radius: 9px; color: white; background: var(--brand); font-size: 10px; font-weight: 700; cursor: pointer; }
.nudge-close { width: 26px; height: 26px; border: 0; border-radius: 50%; color: #6b574a; background: transparent; font-size: 18px; cursor: pointer; }
.toast { position: fixed; z-index: 70; left: 50%; bottom: calc(91px + env(safe-area-inset-bottom)); width: max-content; max-width: calc(100% - 32px); padding: 11px 15px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; color: #fff7ee; background: #2c1915; box-shadow: 0 8px 25px rgba(0,0,0,.22); text-align: center; font-size: 11px; opacity: 0; transform: translate(-50%, 9px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast.visivel { opacity: 1; transform: translate(-50%, 0); }
.site-footer { width: min(1180px, calc(100% - 40px)); display: flex; justify-content: space-between; gap: 14px; margin: 0 auto 24px; color: #71635c; font-size: 10px; }
.site-footer a { color: var(--brand-dark); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .app-layout { width: min(790px, calc(100% - 34px)); grid-template-columns: minmax(0,1fr); margin-top: 19px; }
  .qr-sidebar { display: none; }
  .menu-share-mobile { display: inline-block; }
}
@media (max-width: 600px) {
  body { padding-bottom: calc(90px + env(safe-area-inset-bottom)); font-size: 14px; }
  .topbar { height: 66px; padding: 0 15px; gap: 8px; }
  .brand { gap: 8px; }
  .brand img { width: 42px; height: 42px; }
  .brand-copy strong { font-size: 14px; }
  .brand-copy small { max-width: 175px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 8px; }
  .topbar-status { display: none; }
  .share-top { width: 38px; height: 38px; min-height: 38px; justify-content: center; margin-left: auto; padding: 0; }
  .share-top span { display: none; }
  .share-top svg { width: 18px; }
  .app-layout { width: 100%; margin: 0 auto 36px; }
  .customer-app { width: 100%; }
  .screen-home { padding: 0 14px; }
  .hero-cover { height: 380px; border-radius: 0 0 22px 22px; margin: 0 -14px; }
  .hero-photo { object-position: 55% center; }
  .hero-shade { background: linear-gradient(90deg,rgba(29,14,11,.88) 0%,rgba(35,17,13,.56) 61%,rgba(35,17,13,.12) 100%),linear-gradient(0deg,rgba(26,13,10,.56),transparent 60%); }
  .hero-brand-lockup { top: 14px; right: 14px; font-size: 8px; }
  .hero-brand-lockup img { width: 78px; height: 78px; }
  .hero-copy { bottom: 80px; left: 21px; width: min(270px,72%); }
  .live-pill { margin-bottom: 15px; font-size: 10px; }
  .hero-copy h1 { font-size: clamp(34px, 10vw, 43px); }
  .hero-copy > p:last-child { max-width: 27ch; font-size: 12px; }
  .hero-link { bottom: 22px; left: 21px; min-height: 43px; font-size: 11px; }
  .loja-resumo { gap: 11px; padding: 13px 12px; margin-top: 12px; border-radius: 14px; }
  .resumo-dado { gap: 8px; flex: 1; }
  .dado-sinal { width: 31px; height: 31px; border-radius: 10px; }
  .dado-sinal svg { width: 17px; }
  .resumo-dado small { font-size: 9px; }
  .resumo-dado strong { font-size: 12px; }
  .escolha-servico { margin-top: 26px; }
  .section-heading { margin-bottom: 11px; }
  .section-heading h2 { font-size: 21px; }
  .section-heading p { font-size: 10px; }
  .service-grid { grid-template-columns: 1fr; gap: 7px; }
  .service-choice { min-height: 67px; grid-template-columns: 38px minmax(0,1fr) 17px; gap: 11px; padding: 9px 12px; border-radius: 13px; }
  .service-copy { gap: 2px; }
  .service-copy strong { font-size: 13px; }
  .service-copy small { font-size: 10px; }
  .service-icon { width: 36px; height: 36px; }
  .service-arrow { font-size: 19px; }
  .home-note { gap: 9px; padding: 12px; margin-top: 17px; }
  .home-note strong { font-size: 11px; }
  .home-note small { font-size: 9px; }
  .home-note > button { width: 31px; height: 31px; }
  .screen-menu { padding: 0 13px 16px; }
  .menu-sticky { top: 66px; margin: 0 -13px; padding: 12px 13px 8px; }
  .menu-title-row { margin: 0 0 9px; }
  .menu-title-row h1 { font-size: 25px; }
  .menu-context { font-size: 9px; }
  .menu-share-mobile { min-height: 32px; padding: 0 10px; font-size: 9px; }
  .search-offer-row { grid-template-columns: minmax(0,1fr) auto; gap: 6px; }
  .search-box { height: 43px; gap: 7px; padding: 0 10px; border-radius: 11px; }
  .search-box input { font-size: 11px; }
  .search-box svg { width: 17px; }
  .search-box kbd { display: none; }
  .offer-chip { height: 33px; gap: 3px; padding: 0 7px; font-size: 8px; }
  .offer-chip > span { font-size: 10px; }
  .category-tabs { gap: 6px; margin: 0 -13px; padding: 9px 13px 4px; }
  .category-tab { min-height: 31px; gap: 4px; padding: 0 9px; font-size: 9px; }
  .category-tab svg { width: 12px; height: 12px; }
  .menu-list-head { padding-top: 14px; padding-bottom: 6px; }
  .menu-list-head h2 { font-size: 16px; }
  .menu-list-head small { font-size: 9px; }
  .filtro-ordem { min-height: 28px; padding: 0 4px; font-size: 9px; }
  .product-row { min-height: 78px; grid-template-columns: 58px minmax(0,1fr) auto; gap: 9px; padding: 7px 1px; }
  .product-photo { width: 58px; height: 58px; border-radius: 11px; }
  .product-name { font-size: 12px; }
  .product-name-row { margin-bottom: 2px; gap: 4px 5px; }
  .product-popular { min-height: 15px; font-size: 7px; }
  .product-offer-seal { min-height: 15px; font-size: 7px; }
  .product-description { font-size: 9px; line-height: 1.3; }
  .product-price { margin-top: 3px; gap: 4px; font-size: 11px; }
  .product-price strong { font-size: 12px; }
  .add-product { width: 33px; height: 33px; margin-right: 1px; border-radius: 11px; font-size: 23px; }
  .menu-rule { margin-top: 14px; font-size: 9px; }
  .screen-orders { min-height: 450px; padding: 31px 18px; }
  .screen-orders > h1 { font-size: 28px; }
  .orders-empty { padding: 27px 18px; }
  .orders-empty h2 { font-size: 19px; }
  .bottom-nav { width: calc(100% - 16px); min-height: 62px; bottom: calc(6px + env(safe-area-inset-bottom)); padding: 5px 5px; border-radius: 18px; }
  .nav-item { gap: 2px; font-size: 8px; }
  .nav-item svg { width: 19px; height: 19px; }
  .nav-cart b { top: 0; left: calc(50% + 7px); min-width: 15px; height: 15px; font-size: 7px; }
  .sheet-backdrop { padding: 0; }
  .bottom-sheet { max-height: 94dvh; border-radius: 21px 21px 0 0; }
  .sheet-header { padding: 10px 17px 12px; }
  .sheet-header h2 { font-size: 20px; }
  .builder-scroll { padding: 11px 17px 17px; }
  .pizza-preview { min-height: 119px; gap: 12px; padding: 7px 10px; border-radius: 14px; }
  .pizza-preview svg { width: 103px; height: 103px; }
  .pizza-preview-copy strong { font-size: 16px; }
  .pizza-preview-copy span { font-size: 9px; }
  .flavor-picker { padding: 14px 0 12px; }
  .control-heading h3 { font-size: 13px; }
  .chosen-flavor { min-height: 34px; gap: 6px; }
  .chosen-flavor strong { font-size: 10px; }
  .chosen-flavor small { font-size: 8px; }
  .flavor-search { height: 39px; }
  .flavor-search input { font-size: 11px; }
  .rim-options, .remove-ingredients { padding: 12px 0; }
  .rim-options legend, .remove-ingredients legend { padding-bottom: 6px; font-size: 12px; }
  .rim-options label { min-height: 34px; }
  .rim-options label span { font-size: 10px; }
  .ingredient-list { gap: 5px; }
  .ingredient-choice { min-height: 29px; padding: 4px 7px; }
  .ingredient-choice span { font-size: 9px; }
  .note-field { padding: 11px 0; font-size: 11px; }
  .note-field textarea { min-height: 57px; }
  .quantity-row { padding: 10px 0 0; }
  .sheet-footer { gap: 9px; padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); }
  .price-summary strong { font-size: 18px; }
  .price-summary small, .price-summary span { font-size: 8px; }
  .sheet-footer .primary-action { min-width: 143px; min-height: 44px; padding: 0 13px; font-size: 11px; }
  .cart-lines { padding: 8px 17px 15px; }
  .cart-footer { padding: 12px 17px calc(14px + env(safe-area-inset-bottom)); }
  .qr-backdrop { align-items: stretch; padding: 0; }
  .qr-sheet { width: 100vw; height: 100dvh; min-height: 100dvh; max-height: 100dvh; justify-content: center; padding: calc(52px + env(safe-area-inset-top)) 22px calc(24px + env(safe-area-inset-bottom)); border-radius: 0; }
  .qr-sheet h2 { font-size: 22px; }
  .install-nudge { right: 12px; bottom: calc(78px + env(safe-area-inset-bottom)); width: calc(100% - 24px); grid-template-columns: minmax(0,1fr) auto 25px; gap: 6px; padding: 10px 9px 10px 12px; }
  .install-nudge strong { font-size: 10px; }
  .install-nudge span { font-size: 9px; }
  .install-nudge > button:not(.nudge-close) { padding: 0 8px; font-size: 9px; }
  .toast { bottom: calc(79px + env(safe-area-inset-bottom)); max-width: calc(100% - 22px); font-size: 10px; }
  .site-footer { width: calc(100% - 30px); margin-bottom: 19px; font-size: 9px; }
}
@media (max-width: 365px) {
  .brand-copy strong { font-size: 13px; }
  .hero-brand-lockup img { width: 68px; height: 68px; }
  .hero-copy { width: 73%; left: 17px; }
  .hero-link { left: 17px; }
  .offer-chip { font-size: 7px; padding: 0 5px; }
  .product-row { grid-template-columns: 54px minmax(0,1fr) auto; gap: 7px; }
  .product-photo { width: 54px; height: 54px; }
  .product-name { font-size: 11px; }
  .sheet-footer .primary-action { min-width: 128px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.mesa-acoes-cardapio { display:grid; grid-template-columns:minmax(0,1fr) minmax(300px,.95fr); align-items:center; gap:12px; margin:0 1px 13px; padding:11px 13px; border:1px solid #ded6cb; border-radius:14px; background:#fffdfa; box-shadow:0 5px 16px rgba(42,25,16,.07); }
.mesa-acoes-identidade { min-width:0; display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:4px 9px; color:#6c5a4f; font-size:10px; }
.mesa-acoes-identidade strong { overflow:hidden; color:var(--ink); font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
.mesa-acoes-identidade button { grid-column:3; grid-row:1; padding:0; border:0; color:var(--brand-dark); background:transparent; font-size:9px; font-weight:750; text-decoration:underline; text-underline-offset:3px; }
.mesa-acoes-identidade small { grid-column:1/-1; min-height:12px; color:#5e503f; font-size:9px; }
.mesa-acoes-botoes { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.mesa-acoes-botoes button { min-height:43px; padding:0 10px; border:1px solid transparent; border-radius:10px; color:#fff; background:var(--brand); font-size:11px; font-weight:800; transition:transform .16s,background .16s; }
.mesa-acoes-botoes button:hover { background:var(--brand-dark); }
.mesa-acoes-botoes button:active { transform:scale(.985); }
.mesa-acoes-botoes .mesa-acao-conta { border-color:#d7ccbf; color:#2a1714; background:#fffdfa; }
.mesa-acoes-botoes .mesa-acao-conta:hover { border-color:var(--brand); color:var(--brand-dark); background:#fff5ef; }
.mesa-acoes-botoes button:disabled { opacity:.55; cursor:not-allowed; }
#estado-chamado-cliente { grid-column:1/-1; margin:0; color:#2b6149; font-size:10px; line-height:1.4; }
#estado-chamado-cliente[hidden] { display:none; }
.pessoa-mesa-sheet { width:min(500px,100%); padding:29px 23px calc(22px + env(safe-area-inset-bottom)); }
.pessoa-mesa-sheet h2 { margin:0 0 8px; font-size:26px; }
.pessoa-mesa-sheet > div:last-of-type > p:last-child { margin:0 0 18px; color:var(--muted); font-size:12px; line-height:1.5; }
.pessoa-mesa-sheet form { display:grid; gap:9px; }
.pessoa-mesa-sheet label { color:var(--ink); font-size:11px; font-weight:750; }
.pessoa-mesa-sheet input,.pessoa-mesa-sheet select { width:100%; height:48px; padding:0 12px; border:1px solid var(--line); border-radius:10px; color:var(--ink); background:#fff; font:500 14px var(--sans); }
.pessoa-mesa-sheet input:focus,.pessoa-mesa-sheet select:focus { border-color:var(--brand); outline:3px solid color-mix(in srgb,var(--brand) 16%,transparent); }
.pessoa-mesa-erro { margin:0; color:#8f3425; font-size:10px; }
.comanda-cliente { margin: 0 1px 15px; padding: 14px; border: 1px solid #ded6cb; border-radius: 14px; background: #fffdfa; color: #2a1714; }
.comanda-cliente-topo { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:9px; }
.comanda-cliente-topo h2 { margin:0; color:#2a1714; font:750 17px/1.2 var(--display); }
.comanda-cliente-topo p { margin:4px 0 0; color:#5e503f; font-size:11px; }
.comanda-cliente-topo button { min-height:36px; padding:0 12px; border:1px solid #c9bdae; border-radius:9px; color:#2a1714; background:white; font-size:11px; font-weight:750; }
.comanda-cliente-totais { display:grid; margin:8px 0 13px; }
.comanda-cliente-totais > div { display:flex; justify-content:space-between; gap:12px; padding:8px 0; border-bottom:1px solid #e9e0d6; font-size:13px; }
.comanda-cliente-totais span { color:#4b3a30; }
.comanda-cliente-totais strong { color:#241916; font:750 14px var(--mono); font-variant-numeric:tabular-nums; }
.comanda-cliente-totais .comanda-cliente-total-mesa { border-top:2px solid #9b8877; border-bottom:0; font-weight:800; }
.comanda-cliente-total-mesa strong { font-size:17px; }
.comanda-cliente-itens-titulo { margin:14px 0 6px; color:#2a1714; font:750 15px var(--display); }
.comanda-cliente-pedido { margin-top:8px; border:1px solid #ded6cb; background:#fff; }
.comanda-cliente-pedido header { display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:center; gap:12px; padding:11px 12px; border-bottom:1px solid #cfc4b8; }
.comanda-cliente-pedido header b { color:#2148e4; font:800 15px var(--mono); }
.comanda-cliente-pedido header time { color:#4b3a30; font:600 12px var(--mono); }
.comanda-cliente-pedido header strong { color:#241916; font:800 15px var(--mono); text-align:right; }
.comanda-cliente-pedido ul { display:grid; gap:0; margin:0; padding:0 12px; list-style:none; }
.comanda-cliente-pedido li { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:14px; padding:10px 0; border-bottom:1px solid #ded6cb; color:#241916; font-size:15px; line-height:1.4; }
.comanda-cliente-pedido li:last-child { border-bottom:0; }
.comanda-cliente-pedido li b { color:#241916; font:750 15px var(--mono); text-align:right; white-space:nowrap; }
.comanda-cliente-vazio { margin:8px 0; color:#4b3a30; font-size:13px; }
@media (max-width: 600px) {
  .comanda-cliente { margin:0 0 9px; padding:10px; border-radius:11px; }
  .comanda-cliente-topo h2 { font-size:15px; }
  .comanda-cliente-totais > div { padding:7px 0; font-size:12px; }
  .comanda-cliente-pedido header { gap:7px; padding:9px; }
  .comanda-cliente-pedido header b,.comanda-cliente-pedido header strong { font-size:13px; }
  .comanda-cliente-pedido header time { font-size:10px; }
  .comanda-cliente-pedido ul { padding:0 9px; }
  .comanda-cliente-pedido li { gap:8px; padding:9px 0; font-size:14px; }
  .comanda-cliente-pedido li b { font-size:13px; }
}
@media print {
  body.print-comanda-cliente * { visibility:hidden !important; }
  body.print-comanda-cliente #comanda-cliente,
  body.print-comanda-cliente #comanda-cliente * { visibility:visible !important; }
  body.print-comanda-cliente #comanda-cliente { position:fixed; inset:8mm; z-index:99999; display:block !important; overflow:visible; border:0; padding:0; color:#111; background:white; box-shadow:none; }
  body.print-comanda-cliente #imprimir-comanda-cliente { display:none !important; }
  body.print-comanda-cliente .comanda-cliente-pedido { break-inside:avoid; }
  body.print-comanda-cliente .comanda-cliente-pedido li { font-size:16pt; }
  body.print-comanda-cliente .comanda-cliente-pedido li b { font-size:16pt; }
}
@media (max-width: 900px) { .mesa-acoes-cardapio { grid-template-columns:1fr; gap:8px; } }
@media (max-width: 600px) {
  .mesa-acoes-cardapio { gap:7px; margin:0 0 9px; padding:8px; border-radius:11px; box-shadow:0 3px 12px rgba(42,25,16,.08); }
  .mesa-acoes-identidade { grid-template-columns:auto minmax(0,1fr) auto; gap:3px 7px; font-size:9px; }
  .mesa-acoes-identidade strong { font-size:10px; }
  .mesa-acoes-identidade button { font-size:8px; }
  .mesa-acoes-identidade small { font-size:8px; }
  .mesa-acoes-botoes { gap:6px; }
  .mesa-acoes-botoes button { min-height:39px; padding:0 6px; border-radius:9px; font-size:9px; }
  .pessoa-mesa-sheet { padding:24px 19px calc(18px + env(safe-area-inset-bottom)); }
  .pessoa-mesa-sheet h2 { font-size:23px; }
}
body.dialog-open { overflow: hidden; }
/* S5 · cadastro variável e adicionais configuráveis por loja */
.variacao-produto-ficha,.variacao-produto-ficha:not([hidden]) { display:grid; gap:7px; margin:12px 0; color:var(--ink); font-size:.76rem; font-weight:700; }
.variacao-produto-ficha select { width:100%; min-height:46px; padding:9px 12px; border:1px solid var(--line); border-radius:10px; color:var(--ink); background:#fff; }
.extras-produto-publico,.grupos-produto-ficha { display:grid; gap:11px; margin:12px 0; }
.grupo-extra-publico { min-width:0; margin:0; padding:12px; border:1px solid color-mix(in srgb,var(--brand) 22%,var(--line)); border-radius:12px; background:color-mix(in srgb,var(--brand) 4%,white); }
.grupo-extra-publico legend { padding:0 5px; color:var(--ink); font-size:.76rem; font-weight:800; }
.grupo-extra-publico legend small { display:block; margin-top:3px; color:var(--muted); font-size:.65rem; font-weight:550; }
.grupo-extra-publico>div { display:grid; gap:4px; }
.grupo-extra-publico label { display:grid; grid-template-columns:20px minmax(0,1fr) auto; align-items:center; gap:9px; min-height:40px; padding:6px 4px; border-bottom:1px solid color-mix(in srgb,var(--line) 70%,transparent); color:var(--ink); font-size:.76rem; }
.grupo-extra-publico label:last-child { border-bottom:0; }
.grupo-extra-publico input { width:18px; height:18px; accent-color:var(--brand); }
.grupo-extra-publico b { color:var(--brand); font-size:.72rem; font-variant-numeric:tabular-nums; }
.previa-entrega { margin:0; padding:10px 12px; border-left:3px solid var(--brand); color:var(--ink); background:color-mix(in srgb,var(--brand) 7%,white); font-size:.78rem; font-weight:650; }
.checkout-ponto #campo-troco:not([hidden]) { padding:10px 12px; border:1px solid var(--line); border-radius:9px; background:#fff; }
.comanda-cliente-pedido li>span { display:grid; gap:3px; }
.comanda-cliente-pedido .comanda-extra { display:block; color:#4b5a79; font-size:.78em; font-weight:500; }
.hero-cover { background:linear-gradient(135deg,color-mix(in srgb,var(--brand) 86%,#172650),color-mix(in srgb,var(--brand) 50%,#101a33)); }
.loja-contato { display:flex; flex:1 1 100%; flex-wrap:wrap; align-items:center; gap:6px 14px; padding-top:9px; border-top:1px solid var(--line); color:var(--muted); font-size:.68rem; }
.loja-contato a { color:var(--brand); font-weight:750; text-decoration:none; }
.loja-contato span { color:var(--muted); }
.loja-contato:not([hidden]) { margin-top:1px; }
.loja-resumo { flex-wrap:wrap; }
@media(max-width:600px){.grupo-extra-publico{padding:10px}.grupo-extra-publico legend{font-size:.72rem}.grupo-extra-publico label{min-height:38px;font-size:.72rem}}
/* S3c · origem QR/NFC e envio do pedido */
.origem-cardapio { display: inline-flex; margin-top: 6px; padding: 5px 8px; color: var(--brand, #2148e4); background: color-mix(in srgb, var(--brand, #2148e4) 10%, white); font: 700 .68rem/1.2 var(--sans, Onest, sans-serif); }
.origem-cart, .origem-resumo { margin: 0 0 12px; padding: 11px 12px; border-left: 3px solid var(--brand, #2148e4); color: var(--ink, #152543); background: #f5f7ff; font: 600 .82rem/1.4 var(--sans, Onest, sans-serif); }
.checkout-ponto { display: grid; gap: 12px; margin: 16px 0; }
.checkout-ponto label { display: grid; gap: 6px; color: var(--ink, #152543); font: 600 .75rem/1.35 var(--sans, Onest, sans-serif); }
.checkout-ponto input, .checkout-ponto textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #d5dced; border-radius: 0; color: var(--ink, #152543); background: #fff; font: 400 .86rem/1.4 var(--sans, Onest, sans-serif); resize: vertical; }
.checkout-ponto input:focus, .checkout-ponto textarea:focus { border-color: var(--brand, #2148e4); outline: 3px solid color-mix(in srgb, var(--brand, #2148e4) 17%, transparent); }
.estado-envio-pedido { margin: 0; color: #762a22; font: 600 .77rem/1.45 var(--sans, Onest, sans-serif); }
.pedido-confirmado { margin: 16px 0; padding: 22px; border: 1px solid #9ce7c1; background: #effaf4; }
.pedido-confirmado > span { display: grid; width: 38px; height: 38px; place-items: center; margin-bottom: 14px; color: #123c2a; background: #9ce7c1; font-size: 1.4rem; }
.pedido-confirmado h2 { margin: 2px 0 8px; color: #152543; font: 700 1.35rem/1.2 var(--display, Anybody, sans-serif); }
.pedido-confirmado p:not(.menu-context) { margin: 0 0 18px; color: #465575; font: 400 .85rem/1.55 var(--sans, Onest, sans-serif); }

/* Cadeiras do cliente: abrem do centro da mesa, uma por lado (Alex 25/11) */
.visualmente-oculto{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.rotulo-mapa-cadeiras{margin:6px 0 4px;font-weight:700}.rotulo-mapa-cadeiras small{font-weight:500;color:#594f46;margin-left:4px}
.mapa-cadeiras-cliente{position:relative;width:100%;max-width:300px;aspect-ratio:1;margin:4px auto 10px}
/* Referência fixa: o lado de cima do mapa é o lado do caixa (Alex 26/11) */
.referencia-caixa{display:flex;align-items:center;justify-content:center;gap:6px;width:max-content;margin:6px auto 0;padding:5px 12px;border-radius:999px;background:#1e1b18;color:#fbf5ec;font-size:12px;font-weight:700;letter-spacing:.04em}
.referencia-caixa span{color:#e0301e;font-size:10px}
.mesa-cliente-centro{position:absolute;inset:31%;display:grid;place-content:center;text-align:center;border-radius:14px;background:linear-gradient(145deg,#e8d5bf,#d9bfa2);box-shadow:inset 0 1px 0 #fff8,0 8px 18px #54351a22;color:#5a3a26}
.mesa-cliente-centro span{font-size:11px;letter-spacing:.14em;text-transform:uppercase}.mesa-cliente-centro strong{font:800 30px/1 'Playfair Display',Georgia,serif}
.cadeira-cliente{position:absolute;left:50%;top:50%;width:68px;height:58px;display:grid;place-content:center;gap:1px;border:1.5px solid #d9cdbf;border-radius:14px;background:#fffdf9;color:#1e1b18;font:inherit;cursor:pointer;opacity:0;transform:translate(-50%,-50%) scale(.4);transition:transform .5s cubic-bezier(.2,.9,.25,1.25) var(--atraso),opacity .3s ease var(--atraso),background .2s,border-color .2s}
.mapa-aberto .cadeira-cliente{opacity:1;transform:translate(calc(-50% + var(--dx) * 3), calc(-50% + var(--dy) * 3)) scale(1)}
.cadeira-cliente b{font:800 18px/1 'Playfair Display',Georgia,serif;color:#a92a16}.cadeira-cliente small{font-size:10px;font-weight:700;color:#594f46;max-width:60px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cadeira-cliente-escolhida{background:#d7381e;border-color:#a92a16;box-shadow:0 0 0 5px #d7381e26}.cadeira-cliente-escolhida b,.cadeira-cliente-escolhida small{color:#fff}
.cadeira-cliente-ocupada{opacity:.45!important;cursor:not-allowed}
@media (prefers-reduced-motion:reduce){.cadeira-cliente{transition:none}}

/* Desenho: mesa de madeira com porta-guardanapo e cadeiras com encosto virado para fora */
.mesa-cliente-desenho{position:absolute;inset:27%;width:46%;height:46%;filter:drop-shadow(0 6px 10px #54351a33)}
.mesa-cliente-centro{inset:27%;background:none;box-shadow:none;place-content:end center;padding-bottom:6%;color:#fff;text-shadow:0 1px 2px #0006}
.mesa-cliente-centro span{display:none}.mesa-cliente-centro strong{font-size:22px}
.cadeira-cliente{width:72px;height:72px;border:0;background:none;place-content:center}
.cadeira-desenho{position:absolute;inset:0;width:100%;height:100%;transform:rotate(var(--giro));transition:transform .2s}
.cadeira-desenho .encosto{fill:#8a5a2f}.cadeira-desenho .assento{fill:#fffdf9;stroke:#c9a27d;stroke-width:2.5}
.cadeira-cliente b,.cadeira-cliente small{position:relative;z-index:1}
.cadeira-cliente-escolhida{background:none;box-shadow:none}
.cadeira-cliente-escolhida .assento{fill:#d7381e;stroke:#a92a16}.cadeira-cliente-escolhida .encosto{fill:#a92a16}
.cadeira-cliente-escolhida .cadeira-desenho{filter:drop-shadow(0 0 8px #d7381e88)}
.cadeira-cliente:active .cadeira-desenho{transform:rotate(var(--giro)) scale(.94)}
/* Mesa livre: cadeiras recolhidas embaixo da mesa; ao abrir, puxam pra fora uma a uma (Alex 25/11) */
.mesa-cliente-desenho{z-index:2}.mesa-cliente-centro{z-index:3}
.cadeira-cliente{z-index:1;opacity:1;transform:translate(calc(-50% + var(--dx) * 1.45), calc(-50% + var(--dy) * 1.45)) scale(.92)}
.cadeira-cliente b,.cadeira-cliente small{opacity:0;transition:opacity .25s ease calc(var(--atraso) + .3s)}
.mapa-aberto .cadeira-cliente b,.mapa-aberto .cadeira-cliente small{opacity:1}
.mesa-cliente-desenho-grupo{inset:34% 15%;width:70%;height:32%}
.mesa-cliente-centro-grupo{inset:34% 15%;padding-bottom:0!important;place-content:center!important}
.mesa-cliente-centro-grupo strong{font-size:18px}
.cadeira-cliente-perimetro{left:var(--x);top:var(--y);transform:translate(-50%,-50%) scale(.4)}
.mapa-aberto .cadeira-cliente-perimetro{transform:translate(-50%,-50%) scale(.92)}

.cadeira-cliente-crianca .assento{fill:#f4c35a;stroke:#d9a33a}.cadeira-cliente-crianca .encosto{fill:#d9a33a}
.cadeira-cliente-escolhida .assento{stroke:#1e1b18;stroke-width:3}
