:root {
  --mar: #D93A1B;
  --mar-2: #B82C10;
  --espuma: #FFF3D2;
  --papel: #FFFFFF;
  --linha: #F0DCAE;
  --tinta: #33130C;
  --suave: #7A5446;
  --tomate: #C42B14;
  --tomate-vivo: #FF6B3D;
  --manjericao: #1B8A4B;
  --massa: #FFC734;
  --raio: 14px;
  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --texto: 'Figtree', 'Segoe UI', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--texto); font-size: 1rem; line-height: 1.5; color: var(--tinta); background: var(--espuma); }
img, svg { max-width: 100%; display: block; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--papel); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--massa); outline-offset: 2px; }
.wrap { width: min(100% - 32px, 1080px); margin-inline: auto; }

/* ---------- topo ---------- */
.top { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; padding: 10px 16px; background: var(--mar); color: #fff; }
.brand { display: flex; align-items: baseline; gap: 8px; color: #fff; text-decoration: none; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.03em; }
.brand-sub { font-size: 0.95rem; color: #FFE2B8; }
.status { grid-column: 1 / -1; grid-row: 2; font-size: 0.875rem; color: #FFEBD0; display: flex; align-items: center; gap: 8px; }
.status::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: #FFD9A8; }
.status.is-open::before { background: #7CF2A6; box-shadow: 0 0 0 3px rgba(124,242,166,.35); }
.status.is-closed::before { background: var(--massa); }
.cart-btn { position: relative; grid-row: 1; grid-column: 2; width: 44px; height: 44px; display: grid; place-items: center; background: transparent; border: 1.5px solid rgba(255,255,255,.35); border-radius: 50%; color: #fff; }
.cart-count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; border-radius: 99px; background: var(--massa); color: var(--tinta); font-size: 0.75rem; font-weight: 700; }
.cart-count[hidden] { display: none; }

/* ---------- hero ---------- */
.hero { background: var(--mar); color: #fff; padding: 20px 16px 56px; display: grid; gap: 28px; overflow: hidden; }
.hero-text { width: min(100%, 560px); margin-inline: auto; }
.hero h1 { font-size: clamp(2.15rem, 8.2vw, 3.9rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.03em; }
.lead { margin-top: 16px; font-size: 1.12rem; color: #FFF1DC; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-facts { display: grid; gap: 14px; margin: 30px 0 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); }
.hero-facts dt { font-weight: 800; color: var(--massa); font-size: 0.95rem; }
.hero-facts dd { margin: 2px 0 0; color: #FFF1DC; font-size: 0.97rem; }
.hero-art { position: relative; width: min(80vw, 420px); margin-inline: auto; }
.hero-art::before { content: ''; position: absolute; inset: -9%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFE17A, var(--massa) 62%, #FFB020); box-shadow: 0 24px 40px rgba(90,20,0,.28); }
.hero-art .pizza-art { position: relative; filter: drop-shadow(0 14px 18px rgba(90,20,0,.35)); }
.sticker { position: absolute; z-index: 2; right: -6%; bottom: -4%; width: 104px; height: 104px; display: grid; place-content: center; text-align: center; border-radius: 50%; background: var(--manjericao); color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.05rem; line-height: 1.05; transform: rotate(-10deg); box-shadow: 0 8px 18px rgba(0,0,0,.25); border: 3px dashed rgba(255,255,255,.7); }
.sticker b { display: block; font-size: 1.7rem; }
.hero-logo { width: 148px; height: auto; margin: 0 0 14px; filter: drop-shadow(0 6px 8px rgba(70,15,0,.35)); }
.pizza-art { width: 100%; height: auto; }
.pizza-art-anim .half-l { animation: joinL 1.1s .25s cubic-bezier(.2,.8,.2,1) both; }
.pizza-art-anim .half-r { animation: joinR 1.1s .25s cubic-bezier(.2,.8,.2,1) both; }
@keyframes joinL { from { transform: translateX(-26px) rotate(-5deg); transform-origin: 100px 100px; } to { transform: none; transform-origin: 100px 100px; } }
@keyframes joinR { from { transform: translateX(26px) rotate(5deg); transform-origin: 100px 100px; } to { transform: none; transform-origin: 100px 100px; } }
@media (min-width: 860px) {
  .hero { grid-template-columns: 1.05fr 0.95fr; align-items: center; padding: 56px max(24px, calc((100vw - 1080px) / 2)) 64px; gap: 40px; }
  .hero-text { margin: 0; }
  .hero-art { width: min(88%, 440px); margin: 0 auto; }
  .status { grid-column: 2; grid-row: 1; justify-self: end; }
  .top { grid-template-columns: auto 1fr auto; padding-inline: max(16px, calc((100vw - 1080px) / 2)); }
  .status { grid-column: 2; }
  .cart-btn { grid-column: 3; }
}

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 99px; border: 2px solid transparent; font-weight: 700; font-size: 1rem; text-decoration: none; }
.btn-primary { background: var(--tomate); color: #fff; }
.btn-primary:hover { background: #A6240F; }
.hero .btn-primary { background: var(--massa); color: var(--tinta); box-shadow: 0 6px 0 #D99A00; }
.hero .btn-primary:hover { background: #FFD45E; }
.hero .btn-primary:active { transform: translateY(3px); box-shadow: 0 3px 0 #D99A00; }
.hero .btn-quiet { color: #fff; }
.strip { overflow: hidden; background: var(--massa); color: var(--tinta); border-block: 3px solid var(--tinta); transform: rotate(-1deg); margin: -10px -8px 0; position: relative; z-index: 3; }
.strip-in { display: flex; width: max-content; gap: 28px; padding: 12px 0; font-family: var(--display); font-weight: 800; font-size: 1.2rem; white-space: nowrap; animation: slide 36s linear infinite; }
.strip-in span::after { content: '\1F355'; margin-left: 28px; }
@keyframes slide { to { transform: translateX(-50%); } }
.btn-quiet { background: transparent; color: inherit; border-color: currentColor; }
.menu .btn-quiet, .sheet .btn-quiet { color: var(--tinta); border-color: var(--linha); }
.btn.full { width: 100%; }
.btn.grow { flex: 1; justify-content: space-between; }
.btn-price { font-variant-numeric: tabular-nums; }
.link { background: none; border: 0; padding: 6px 0; color: var(--tomate); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- cardápio ---------- */
.cats { position: sticky; top: var(--hh, 64px); z-index: 15; display: flex; gap: 0; overflow-x: auto; padding: 10px 6px; background: var(--espuma); border-bottom: 1px solid var(--linha); scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cats a { flex: 1 1 auto; text-align: center; padding: 8px 6px; font-size: 0.84rem; white-space: nowrap; border-radius: 99px; text-decoration: none; color: var(--suave); font-weight: 600; border: 1.5px solid transparent; }
.cats a.on { background: var(--mar); color: #fff; }
@media (min-width: 860px) { .cats { top: 64px; padding-inline: max(16px, calc((100vw - 1080px) / 2)); } }
.block { padding: 36px 0 8px; scroll-margin-top: calc(var(--hh, 64px) + var(--ch, 56px) + 6px); }
.block-head { margin-bottom: 16px; }
.block-head h2, .how h2 { font-size: clamp(1.9rem, 6vw, 2.7rem); font-weight: 800; color: var(--mar); }
.note { margin-top: 6px; color: var(--suave); }

.sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.size { display: grid; gap: 1px; text-align: left; padding: 12px 14px; background: var(--papel); border: 2px solid var(--linha); border-radius: var(--raio); }
.size.on { border-color: var(--mar); box-shadow: inset 0 0 0 1px var(--mar); }
.size-name { font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.size-sub { font-size: 0.82rem; color: var(--suave); line-height: 1.25; }
.size-price { margin-top: 4px; font-weight: 700; font-variant-numeric: tabular-nums; }

.tools { display: grid; gap: 12px; margin: 16px 0; }
.search input, .field input, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; background: var(--papel); border: 1.5px solid var(--linha); border-radius: 12px; }
.field textarea { min-height: 72px; resize: vertical; }
.search input:focus, .field input:focus, .field textarea:focus { border-color: var(--mar); outline: 3px solid rgba(240,182,74,.55); outline-offset: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 14px; border-radius: 99px; background: var(--papel); border: 1.5px solid var(--linha); font-weight: 600; }
.chip.on { background: var(--mar); border-color: var(--mar); color: #fff; }
@media (min-width: 720px) { .tools { grid-template-columns: minmax(240px, 380px) 1fr; align-items: center; } }

.flavors { display: grid; gap: 10px; }
@media (min-width: 720px) { .flavors { grid-template-columns: 1fr 1fr; } }
.flavor { width: 100%; display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; text-align: left; padding: 12px; background: var(--papel); border: 1.5px solid var(--linha); border-radius: var(--raio); }
.flavor { box-shadow: 0 3px 0 var(--linha); transition: transform .12s, box-shadow .12s; }
.flavor:hover { border-color: var(--mar); transform: translateY(-2px); box-shadow: 0 6px 0 var(--linha); }
.thumb { width: 72px; height: 72px; }
.f-body { display: grid; gap: 2px; min-width: 0; }
.f-name { font-family: var(--display); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em; }
.f-desc { font-size: 0.86rem; color: var(--suave); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.f-price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.empty { padding: 20px 0; color: var(--suave); }

.items { display: grid; gap: 12px; }
@media (min-width: 720px) { .items { grid-template-columns: 1fr 1fr; } .items.small { grid-template-columns: repeat(3, 1fr); } }
.item { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding: 12px; background: var(--papel); border: 1.5px solid var(--linha); border-radius: var(--raio); }
.small .item { grid-template-columns: 64px 1fr; }
.i-img { width: 100%; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #FFE8B8; display: grid; place-items: center; }
.i-img img { width: 100%; height: 100%; object-fit: cover; }
.small .i-img img { object-fit: contain; }
.i-img.noimg::after { content: ''; width: 46%; height: 46%; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff 0 12%, transparent 13%), var(--mar-2); opacity: .55; }
.i-body h3 { font-size: 1.08rem; font-weight: 700; }
.i-body p { margin-top: 2px; font-size: 0.86rem; color: var(--suave); line-height: 1.35; }
.i-buy { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.buy { padding: 8px 14px; border-radius: 99px; background: var(--manjericao); color: #fff; border: 0; font-weight: 600; font-size: 0.92rem; }
.buy b { margin-left: 4px; font-variant-numeric: tabular-nums; }
.buy:hover { background: #12703A; }

.how { margin: 48px 0 56px; padding: 28px; background: var(--papel); border-radius: 20px; border: 1.5px solid var(--linha); }
.how ol { display: grid; gap: 14px; margin-top: 18px; padding-left: 22px; list-style: decimal; }
.how li::marker { font-weight: 700; color: var(--tomate); }
.how li { padding-left: 4px; }

/* ---------- rodapé ---------- */
.foot { background: var(--tinta); color: #FFE9CC; padding: 36px 0 120px; }
.foot-grid { display: grid; gap: 24px; }
@media (min-width: 720px) { .foot-grid { grid-template-columns: repeat(3, 1fr); } }
.foot-title { font-family: var(--display); font-weight: 700; color: #fff; font-size: 1.15rem; margin-bottom: 6px; }
.foot p + p { margin-top: 8px; }
.foot a { color: var(--massa); }

/* ---------- barra da sacola e aviso ---------- */
.cart-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 30; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; min-height: 58px; padding: 8px 18px; max-width: 620px; margin-inline: auto; background: var(--tomate); color: #fff; border: 0; border-radius: 99px; box-shadow: 0 10px 28px rgba(120,30,10,.4); font-weight: 700; text-align: left; }
.cart-bar[hidden] { display: none; }
.cb-count { display: inline-grid; place-items: center; min-width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--tomate); margin-right: 6px; }
.cb-go { padding: 8px 14px; border-radius: 99px; background: rgba(0,0,0,.2); }
.toast { position: fixed; left: 50%; bottom: 88px; transform: translateX(-50%); z-index: 60; padding: 10px 18px; border-radius: 99px; background: var(--tinta); color: #fff; font-weight: 600; box-shadow: 0 8px 20px rgba(0,0,0,.3); }
.toast[hidden] { display: none; }

/* ---------- gavetas (montador e sacola) ---------- */
.sheet { width: min(100%, 580px); max-width: 100%; max-height: 94dvh; margin: auto auto 0; padding: 0; border: 0; background: var(--espuma); color: var(--tinta); border-radius: 22px 22px 0 0; overflow: hidden; }
.sheet::backdrop { background: rgba(51,19,12,.6); }
@media (min-width: 720px) { .sheet { margin: auto; border-radius: 22px; max-height: 90dvh; } }
.sheet[open] { display: block; animation: rise .22s ease-out; }
@keyframes rise { from { transform: translateY(24px); opacity: .6; } }
.sheet-in { display: flex; flex-direction: column; max-height: 94dvh; }
@media (min-width: 720px) { .sheet-in { max-height: 90dvh; } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; background: var(--papel); border-bottom: 1px solid var(--linha); }
.sheet-head h2 { font-size: 1.3rem; font-weight: 800; }
.x { padding: 8px 14px; border-radius: 99px; background: var(--espuma); border: 1.5px solid var(--linha); font-weight: 600; }
.sheet-body { overflow-y: auto; padding: 18px; display: grid; gap: 18px; align-content: start; overscroll-behavior: contain; }
.sheet-foot { display: flex; align-items: center; gap: 12px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); background: var(--papel); border-top: 1px solid var(--linha); }
.sheet-foot.col { flex-direction: column; align-items: stretch; }
.b-art { width: min(58%, 230px); margin-inline: auto; filter: drop-shadow(0 12px 16px rgba(120,40,10,.3)); }
.b-block { margin: 0; padding: 0; border: 0; min-width: 0; }
.b-block legend, .b-block > h3 { font-family: var(--display); font-weight: 700; font-size: 1.1rem; padding: 0; margin-bottom: 10px; }
.b-sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.b-sizes .size { padding: 10px; }
.slots { display: grid; gap: 8px; }
.slot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; background: var(--papel); border: 1.5px solid var(--linha); border-radius: 12px; }
.slot-act { display: flex; gap: 14px; flex: none; }
.half-btn { width: 100%; min-height: 48px; border: 2px dashed var(--mar); border-radius: 12px; background: transparent; font-weight: 700; color: var(--mar); }
.hint { font-size: 0.85rem; color: var(--suave); margin-top: 8px; }
.opts { display: grid; gap: 8px; }
.opts.row { grid-template-columns: 1fr 1fr; }
.opt { position: relative; display: block; }
.opt input { position: absolute; opacity: 0; inset: 0; }
.opt span { display: flex; align-items: center; min-height: 48px; padding: 10px 14px 10px 44px; background: var(--papel); border: 1.5px solid var(--linha); border-radius: 12px; font-weight: 600; }
.opt span::before { content: ''; position: absolute; left: 14px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--suave); background: #fff; }
.opt input:checked + span { border-color: var(--mar); box-shadow: inset 0 0 0 1px var(--mar); }
.opt input:checked + span::before { border-color: var(--mar); background: radial-gradient(circle, var(--mar) 0 45%, #fff 50%); }
.opt input:focus-visible + span { outline: 3px solid var(--massa); outline-offset: 2px; }
.extras { display: grid; gap: 8px; }
.extras li { display: flex; justify-content: space-between; align-items: center; padding: 8px 14px; background: var(--papel); border: 1.5px solid var(--linha); border-radius: 12px; font-weight: 600; }
.step { display: inline-flex; align-items: center; background: var(--espuma); border-radius: 99px; border: 1.5px solid var(--linha); }
.step button { width: 40px; height: 40px; border: 0; background: transparent; font-size: 1.3rem; font-weight: 700; border-radius: 50%; }
.step output { min-width: 28px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.step.big { background: var(--espuma); }
.pick .flavor { grid-template-columns: 56px 1fr auto; }
.pick .thumb { width: 56px; height: 56px; }

.field { display: grid; gap: 6px; }
.field span { font-weight: 600; font-size: 0.93rem; }
.fields, .addr { display: grid; gap: 12px; }
.two { display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
[hidden] { display: none !important; }

.lines { display: grid; gap: 10px; }
.line { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 12px 14px; background: var(--papel); border: 1.5px solid var(--linha); border-radius: var(--raio); }
.line-title { font-weight: 700; }
.line-det { font-size: 0.86rem; color: var(--suave); margin-top: 2px; }
.line-act { display: flex; gap: 14px; margin-top: 4px; }
.line-side { display: grid; justify-items: end; gap: 8px; align-content: start; }
.line-price { font-weight: 700; font-variant-numeric: tabular-nums; }
.upsell p { font-weight: 700; margin-bottom: 8px; }
.closed-note { padding: 12px 14px; background: #FFF3D6; border: 1.5px solid var(--massa); border-radius: 12px; font-size: 0.93rem; }
.totals { margin: 0; display: grid; gap: 4px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.totals dt, .totals dd { margin: 0; }
.totals .grand { font-family: var(--display); font-weight: 800; font-size: 1.3rem; padding-top: 6px; border-top: 1px solid var(--linha); }
.err { padding: 10px 14px; border-radius: 10px; background: #FDE7E3; color: #8C1D10; font-weight: 600; }
.sent { text-align: left; }
.sent-lead { font-family: var(--display); font-weight: 700; font-size: 1.3rem; line-height: 1.2; }
.empty-cart { color: var(--suave); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pizza-art-anim .half, .sheet[open], .strip-in { animation: none; }
}

.hero-photo { position: relative; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 6px solid #fff; box-shadow: 0 18px 34px rgba(90,20,0,.35); }
.thumb.photo { border-radius: 14px; overflow: hidden; background: #FFE8B8; }
.thumb.photo img { width: 100%; height: 100%; object-fit: cover; }

body { overflow-x: clip; }
html { overflow-x: clip; }
main { overflow-x: clip; }

/* ---------- hero com foto ---------- */
.hero { position: relative; display: block; min-height: min(92svh, 760px); padding: 0; background: #1E0A06; color: #fff; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background: url(img/hero.jpg) 62% 30% / cover no-repeat; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(30,10,6,.55) 0%, rgba(30,10,6,.1) 30%, rgba(30,10,6,.78) 62%, #1E0A06 100%); }
.hero-text { width: min(100%, 640px); margin: 0; padding: 120px 20px 44px; }
.hero-logo { width: 96px; height: auto; margin: 0 0 16px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.5)); }
.hero h1 { font-size: clamp(2.5rem, 10.5vw, 4.6rem); line-height: .98; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero .lead { color: #FFEFD9; }
.hero-facts { border-top-color: rgba(255,255,255,.25); }
.hero .btn-quiet { border-color: rgba(255,255,255,.8); backdrop-filter: blur(6px); background: rgba(255,255,255,.08); }
@media (min-width: 860px) {
  .hero { min-height: min(86vh, 780px); align-items: center; padding: 0; display: flex; }
  .hero-bg { background-position: 70% 58%; }
  .hero::after { background: linear-gradient(90deg, #1E0A06 0%, rgba(30,10,6,.9) 30%, rgba(30,10,6,.35) 58%, rgba(30,10,6,0) 80%); }
  .hero-text { padding: 90px 24px 90px max(24px, calc((100vw - 1080px) / 2)); width: min(100%, calc(640px + (100vw - 1080px) / 2)); }
  .hero-logo { width: 120px; }
}

.item.nophoto, .small .item.nophoto { grid-template-columns: 1fr; }
.item.nophoto .i-img { display: none; }
.i-img { background: #fff; }
.small .i-img img { object-fit: contain; padding: 4px; }

/* ---------- topo de vidro ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 30; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "brand cart" "search search"; align-items: center; gap: 8px 12px; padding: 8px 14px 10px; padding-top: max(8px, env(safe-area-inset-top)); background: rgba(40, 12, 6, .62); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5); border-bottom: 1px solid rgba(255,255,255,.14); color: #fff; }
.brand { grid-area: brand; display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark { width: 46px; height: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.45)); }
.brand-text { display: grid; line-height: 1; }
.brand-name { font-family: 'Playfair Display', Georgia, serif; font-weight: 900; font-size: 1.5rem; letter-spacing: .01em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 0 rgba(0,0,0,.4); }
.brand-sub { font-family: 'Cinzel', Georgia, serif; font-weight: 700; font-size: .62rem; letter-spacing: .5em; margin: 3px 0 0 2px; text-transform: uppercase; color: var(--massa); }
.cart-btn { grid-area: cart; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); }
.gsearch { grid-area: search; position: relative; display: block; }
.gsearch svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,.8); pointer-events: none; }
.gsearch input { width: 100%; min-height: 42px; padding: 8px 14px 8px 40px; border-radius: 99px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.16); color: #fff; font-size: 16px; }
.gsearch input::placeholder { color: rgba(255,255,255,.78); }
.gsearch input:focus { background: rgba(255,255,255,.26); border-color: #fff; outline: 0; }
@media (min-width: 720px) {
  .top { grid-template-columns: auto 1fr auto; grid-template-areas: "brand search cart"; gap: 20px; padding: 10px max(24px, calc((100vw - 1080px) / 2)); }
  .gsearch { max-width: 460px; justify-self: center; width: 100%; }
}
.status { grid-column: auto; grid-row: auto; display: inline-flex; margin: 0 0 12px; padding: 5px 12px 5px 10px; border-radius: 99px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(6px); font-size: .84rem; font-weight: 600; color: #fff; }

/* hero sem vazio acima do logo */
.hero { min-height: 0; align-items: flex-start; }
.hero-text { padding: calc(var(--hh, 104px) + 22px) 20px 40px; }
.hero::after { background: linear-gradient(180deg, rgba(30,10,6,.62) 0%, rgba(30,10,6,.45) 40%, rgba(30,10,6,.82) 75%, #1E0A06 100%); }
@media (min-width: 860px) {
  .hero { min-height: 0; align-items: flex-start; }
  .hero-text { padding: calc(var(--hh, 70px) + 48px) 24px 72px max(24px, calc((100vw - 1080px) / 2)); }
  .hero::after { background: linear-gradient(90deg, #1E0A06 0%, rgba(30,10,6,.9) 30%, rgba(30,10,6,.35) 58%, rgba(30,10,6,0) 80%); }
}

/* categorias */
.cats { gap: 6px; padding: 10px 12px; scroll-snap-type: x proximity; }
.cats a { flex: 0 0 auto; padding: 8px 14px; font-size: .9rem; }
.cats a[hidden] { display: none; }
@media (min-width: 720px) { .cats { justify-content: center; } }

/* itens de bebida padronizados */
.i-body { min-width: 0; }
.small .i-body h3 { font-size: 1rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.i-vol { margin-top: 2px; font-size: .82rem; font-weight: 600; color: var(--suave); white-space: nowrap; }
.small .i-buy { flex-wrap: nowrap; }
.small .buy { white-space: nowrap; }

/* combos */
.combos { display: grid; gap: 14px; }
@media (min-width: 720px) { .combos { grid-template-columns: 1fr 1fr; } }
.combo { display: grid; grid-template-columns: 112px 1fr; gap: 14px; padding: 14px; background: linear-gradient(135deg, #FFF8E2, #fff); border: 2px solid var(--massa); border-radius: 18px; box-shadow: 0 6px 0 rgba(217,154,0,.22); }
.c-pics { position: relative; min-height: 112px; }
.c-pics img { position: absolute; width: 74px; height: 74px; object-fit: cover; background: #fff; border-radius: 14px; border: 3px solid #fff; box-shadow: 0 4px 10px rgba(60,20,0,.25); }
.c-pics img:first-child { left: 0; top: 0; z-index: 1; }
.c-pics img:nth-child(2) { right: 0; bottom: 0; object-fit: contain; }
.c-pics img:nth-child(3) { left: 0; bottom: 0; }
.c-tag { display: inline-block; padding: 2px 10px; border-radius: 99px; background: var(--manjericao); color: #fff; font-size: .75rem; font-weight: 700; }
.c-body h3 { margin-top: 6px; font-size: 1.2rem; font-weight: 800; color: var(--mar); }
.c-body p { margin-top: 2px; font-size: .88rem; color: var(--suave); line-height: 1.35; }
.c-buy { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.c-price s { color: var(--suave); font-size: .85rem; }
.c-price b { font-family: var(--display); font-size: 1.35rem; font-weight: 800; color: var(--tinta); }
.empty { padding: 28px 16px; text-align: center; color: var(--suave); }

/* Pix */
.pixv { display: grid; gap: 12px; justify-items: center; text-align: center; }
.pixv .field, .pixv .btn { width: 100%; text-align: left; }
.pixv .btn { text-align: center; justify-content: center; }
.demo-tag { padding: 6px 12px; border-radius: 99px; background: #FFF3D6; border: 1.5px solid var(--massa); font-size: .82rem; font-weight: 700; }
.pix-total { font-family: var(--display); font-weight: 800; font-size: 2rem; }
.qr { width: min(240px, 70vw); padding: 10px; background: #fff; border: 1.5px solid var(--linha); border-radius: 16px; }
.qr svg { width: 100%; height: auto; }
.pix-step { color: var(--suave); font-size: .92rem; }
.pixv textarea { font-size: .75rem; word-break: break-all; }

.b-photo { display: flex; width: 100%; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: #FFE8B8; }
.b-photo img { width: 100%; height: 100%; object-fit: cover; }
.b-photo.two img { width: 50%; }
.b-photo.two img + img { border-left: 3px solid #fff; }
.line { grid-template-columns: 56px 1fr auto; }
.line-img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: #FFE8B8; }
.small-img { object-fit: contain; }
.track { display: grid; gap: 0; margin: 14px 0 6px; padding: 0; counter-reset: s; }
.track li { position: relative; padding: 10px 0 10px 40px; font-weight: 600; color: var(--suave); }
.track li::before { content: ''; position: absolute; left: 6px; top: 12px; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid var(--linha); background: #fff; }
.track li::after { content: ''; position: absolute; left: 15px; top: 34px; width: 2.5px; height: 22px; background: var(--linha); }
.track li:last-child::after { display: none; }
.track li.done { color: var(--tinta); }
.track li.done::before { background: var(--manjericao); border-color: var(--manjericao); }
.track li.now { color: var(--mar); font-weight: 800; }
.track li.now::before { border-color: var(--mar); background: var(--massa); }
.track-eta { color: var(--suave); }
.b-photo { flex: none; height: auto; } .b-photo img { aspect-ratio: 16/10; }
.b-photo { aspect-ratio: auto; height: 200px; min-height: 200px; } .b-photo img { height: 200px; aspect-ratio: auto; }

.c-chat { display: grid; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--linha); }
.c-chat h3 { font-size: 1.05rem; }
.c-list { display: grid; gap: 6px; max-height: 190px; overflow-y: auto; }
.c-list li { max-width: 86%; padding: 7px 11px; border-radius: 12px; font-size: .93rem; line-height: 1.3; }
.c-list li.me { justify-self: end; background: var(--mar); color: #fff; }
.c-list li.them { justify-self: start; background: #fff; border: 1.5px solid var(--linha); }
.c-list li.none { justify-self: center; background: none; color: var(--suave); text-align: center; }
.c-form { display: flex; gap: 8px; }
.c-form input { flex: 1; min-width: 0; min-height: 46px; padding: 8px 12px; border: 1.5px solid var(--linha); border-radius: 12px; background: #fff; }

/* ---------- abertura ---------- */
.intro { display: none; position: fixed; inset: 0; z-index: 500; place-items: center; background: radial-gradient(circle at 50% 42%, #5A1A0C 0%, #2A0D07 55%, #170604 100%); color: #fff; cursor: pointer; transition: opacity .6s ease, visibility .6s; }
html.intro-on .intro { display: grid; }
html.intro-on, html.intro-on body { overflow: hidden; }
.intro.out { opacity: 0; visibility: hidden; }
.intro .stage { position: relative; display: grid; place-items: center; width: min(86vw, 360px); height: 340px; }
.intro .pz, .intro .lg, .intro .tag { grid-area: 1 / 1; }
.intro .pz { width: min(62vw, 240px); height: auto; overflow: visible; filter: drop-shadow(0 14px 22px rgba(0,0,0,.5)); animation: pzOut .7s ease 1.5s forwards; }
.intro .sl { transform-box: view-box; transform-origin: 100px 100px; opacity: 0; animation: slIn .55s cubic-bezier(.2,.9,.25,1.1) var(--d) forwards; }
@keyframes slIn { from { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--r)) scale(.6); } to { opacity: 1; transform: none; } }
@keyframes pzOut { to { opacity: 0; transform: scale(.55) rotate(30deg); } }
.intro .lg { width: min(52vw, 200px); height: auto; opacity: 0; transform: translateY(14px) scale(.9); animation: lgIn .8s cubic-bezier(.2,.8,.2,1) 1.7s forwards; filter: drop-shadow(0 8px 18px rgba(0,0,0,.55)); }
@keyframes lgIn { to { opacity: 1; transform: none; } }
.intro .tag { align-self: end; justify-self: center; margin-bottom: 4px; font-family: var(--texto); font-weight: 600; font-size: .95rem; text-align: center; color: #FFE2B8; opacity: 0; animation: lgIn .6s ease 2.3s forwards; }
.intro .bar { position: absolute; left: 50%; bottom: max(36px, env(safe-area-inset-bottom)); width: min(60vw, 220px); height: 4px; margin-left: calc(min(60vw, 220px) / -2); border-radius: 4px; background: rgba(255,255,255,.18); overflow: hidden; }
.intro .bar i { display: block; height: 100%; width: 100%; background: var(--massa); transform: scaleX(0); transform-origin: left; animation: bar 3s linear forwards; }
@keyframes bar { to { transform: scaleX(1); } }
