/* ============ Tokens ============ */
:root {
  --bg: #0D1511;
  --bg-2: #111B15;
  --card: #151F19;
  --card-2: #1B2921;
  --line: #233629;
  --green: #19D879;
  --green-2: #14b866;
  --green-ink: #04150C;
  --green-deep: #10301F;
  --green-glow: rgba(25, 216, 121, .22);
  --text: #F1F5F2;
  --muted: #A3B1A8;
  --danger: #ff5d5d;
  --warn: #ffc24b;
  --r-sm: 10px; --r: 16px; --r-lg: 22px;
  --shadow: 0 12px 32px rgba(3,10,6,.5);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --nav-h: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 15px/1.45 var(--font);
  -webkit-font-smoothing: antialiased; padding-bottom: calc(var(--nav-h) + var(--safe-b) + 84px);
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.01em; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; z-index: 99; background: var(--green); color: var(--green-ink); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.muted { color: var(--muted); } .small { font-size: 13px; }

/* ============ Botões ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px;
  padding: 12px 20px; font-weight: 700; text-decoration: none; transition: transform .12s, background .2s, box-shadow .2s; min-height: 46px;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--green); color: var(--green-ink); box-shadow: 0 6px 20px var(--green-glow); }
.btn--primary:hover { background: #3cf183; }
.btn--primary:disabled { background: #2b332e; color: #6d7a71; box-shadow: none; cursor: not-allowed; }
.btn--ghost { background: var(--card-2); color: var(--text); }
.btn--wa { background: #25d366; color: #04210f; }
.btn--wa svg { fill: currentColor; stroke: none; width: 24px; height: 24px; }
.btn--block { width: 100%; } .btn--lg { min-height: 56px; font-size: 16px; } .btn--grow { flex: 1; }
.btn--confirm { justify-content: space-between; padding: 0 24px; letter-spacing: .04em; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--card); display: grid; place-items: center; position: relative; font-size: 20px; }
.link { background: none; border: 0; color: var(--green); font-weight: 600; padding: 6px; }
.link--danger { color: var(--muted); }
.badge {
  position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--green); color: var(--green-ink); font: 800 11px/20px var(--font); text-align: center;
}
.badge.bump { animation: bump .45s ease; }
@keyframes bump { 30% { transform: scale(1.45); } 60% { transform: scale(.9); } }

/* ============ Topo ============ */
.topbar { position: sticky; top: 0; z-index: 30; background: rgba(5,6,5,.88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid #121713; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px 6px; max-width: 1180px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0; text-align: left; min-width: 0; }
.brand__logo { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--green), #0f8f42); display: grid; place-items: center; font-weight: 900; color: var(--green-ink); overflow: hidden; flex: none; font-size: 18px; }
.brand__logo img { width: 100%; height: 100%; object-fit: cover; }
.brand__txt { display: flex; flex-direction: column; min-width: 0; }
.brand__txt strong { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status.is-open i { background: var(--green); box-shadow: 0 0 0 4px rgba(34,227,109,.18); animation: pulse 2s infinite; }
.status.is-open { color: var(--green); }
.status.is-closed i { background: var(--danger); } .status.is-closed { color: #ff9a9a; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(34,227,109,0); } }
.cart-top { display: none; }
.searchbar { padding: 4px 16px 8px; max-width: 1180px; margin: 0 auto; }
.search { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 12px; height: 46px; transition: border-color .2s; }
.search:focus-within { border-color: var(--green); }
.search svg { color: var(--muted); flex: none; width: 20px; }
.search input { flex: 1; border: 0; background: none; outline: none; height: 100%; min-width: 0; font-size: 16px; }
.search input::-webkit-search-cancel-button { display: none; }
.search__clear { border: 0; background: var(--card-2); border-radius: 50%; width: 26px; height: 26px; color: var(--muted); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 16px 12px; scrollbar-width: none; max-width: 1180px; margin: 0 auto; scroll-snap-type: x proximity; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: 14px; white-space: nowrap; scroll-snap-align: start; transition: background .2s, border-color .2s; }
.chip img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.chip.is-active { background: var(--green); border-color: var(--green); color: var(--green-ink); }
.closed-bar { background: linear-gradient(90deg, #2a0f0f, #1a0b0b); color: #ffd0d0; padding: 10px 16px; text-align: center; font-size: 14px; border-bottom: 1px solid #3a1616; }
.closed-bar.is-pre { background: linear-gradient(90deg, #2a230c, #19150a); color: #ffe7a8; border-color: #3a3016; }

/* ============ Layout ============ */
.main { max-width: 1180px; margin: 0 auto; padding: 12px 16px 0; }
.sec { margin: 26px 0; }
.sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.sec__head h2 { font-size: 20px; font-weight: 800; }
.sec__hint { color: var(--muted); font-size: 13px; }

/* Hero */
.hero { position: relative; overflow: hidden; border-radius: var(--r-lg); min-height: 200px; background: radial-gradient(120% 140% at 100% 0%, #1a5c33 0%, var(--green-deep) 40%, #050806 100%); border: 1px solid #173823; display: flex; align-items: flex-end; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__img + .hero__glow { background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.25) 70%); }
.hero__glow { position: absolute; inset: 0; background: radial-gradient(60% 80% at 85% 20%, rgba(34,227,109,.35), transparent 70%); pointer-events: none; }
.hero__content { position: relative; padding: 22px; max-width: 560px; }
.hero__tag { display: inline-block; background: rgba(34,227,109,.16); color: var(--green); font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .08em; }
.hero h1 { font-size: clamp(26px, 7vw, 44px); font-weight: 900; letter-spacing: -.03em; }
.hero p { color: #cfe0d5; margin: 8px 0 16px; }

.quick-info { display: flex; gap: 8px; overflow-x: auto; margin-top: 14px; scrollbar-width: none; }
.quick-info::-webkit-scrollbar { display: none; }
.qi { flex: none; display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; font-size: 13px; }
.qi b { color: var(--text); } .qi span { color: var(--muted); }

/* Rails & grids */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(158px, 46%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail--wide { grid-auto-columns: minmax(270px, 86%); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

/* Card de produto */
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, border-color .2s; cursor: pointer; }
.card:hover { border-color: #2f3a33; transform: translateY(-2px); }
.card__media { position: relative; aspect-ratio: 1 / 1; background: radial-gradient(90% 90% at 30% 20%, #1f3a29, #0e1611); display: grid; place-items: center; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card__media img { transform: scale(1.05); }
.ph { font-size: 52px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.5)); }
.card__tags { position: absolute; top: 8px; left: 8px; display: flex; flex-wrap: wrap; gap: 4px; }
.tag { font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: rgba(0,0,0,.7); color: var(--text); backdrop-filter: blur(4px); }
.tag--promo { background: var(--green); color: var(--green-ink); }
.tag--best { background: #ffc24b; color: #2b1d00; }
.tag--sample { background: #3b3f8f; color: #e5e7ff; }
.card__body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card__name { font-weight: 700; font-size: 14px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 35px; }
.card__desc { color: var(--muted); font-size: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 6px; }
.price { display: flex; flex-direction: column; }
.price s { color: var(--muted); font-size: 12px; }
.price b { font-size: 17px; font-weight: 800; }
.price--promo b { color: var(--green); }
.add { width: 40px; height: 40px; border-radius: 12px; border: 0; background: var(--green); color: var(--green-ink); font-size: 24px; font-weight: 700; display: grid; place-items: center; flex: none; transition: transform .15s; box-shadow: 0 4px 14px var(--green-glow); }
.add:active { transform: scale(.88); }
.add:disabled { background: #2b332e; color: #6d7a71; box-shadow: none; }
.stepper { display: inline-flex; align-items: center; background: var(--card-2); border-radius: 12px; border: 1px solid var(--line); }
.stepper button { width: 34px; height: 38px; border: 0; background: none; font-size: 20px; color: var(--green); font-weight: 700; }
.stepper output { min-width: 22px; text-align: center; font-weight: 800; }
.stepper--lg button { width: 48px; height: 52px; font-size: 24px; }
.stepper--lg output { min-width: 30px; font-size: 18px; }
.card.pop { animation: pop .4s ease; }
@keyframes pop { 40% { transform: scale(1.04); border-color: var(--green); } }

/* Card de combo / promoção larga */
.wide { display: flex; gap: 12px; background: linear-gradient(135deg, #10271a, var(--card) 60%); border: 1px solid #1d3a28; border-radius: var(--r); padding: 12px; cursor: pointer; transition: border-color .2s; min-height: 132px; }
.wide:hover { border-color: var(--green); }
.wide__media { width: 96px; flex: none; border-radius: 12px; overflow: hidden; background: #0d1a12; display: grid; place-items: center; }
.wide__media img { width: 100%; height: 100%; object-fit: cover; }
.wide__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.wide__body h3 { font-size: 15px; }
.wide__items { color: var(--muted); font-size: 12px; }
.wide__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.save { font-size: 11px; color: var(--green); font-weight: 700; }

/* Info */
.info__grid { display: grid; gap: 12px; }
.info__card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.info__card h3 { font-size: 15px; margin-bottom: 10px; }
.info__card p { margin: 0; color: #cfd9d2; }
.hours { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 14px; }
.hours li { display: flex; justify-content: space-between; color: #cfd9d2; }
.hours li.is-today { color: var(--green); font-weight: 700; }
.social { display: flex; gap: 8px; flex-wrap: wrap; }
.social a { color: var(--text); background: var(--card-2); padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 14px; }
.age { color: var(--muted); font-size: 12px; text-align: center; margin: 18px 0 0; }

/* Estados */
.loading { display: grid; gap: 16px; }
.sk { background: linear-gradient(90deg, #121613 0%, #1b211d 50%, #121613 100%); background-size: 200% 100%; animation: sh 1.2s infinite; border-radius: var(--r); }
.sk--banner { height: 190px; border-radius: var(--r-lg); } .sk--card { height: 230px; } .sk-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@keyframes sh { to { background-position: -200% 0; } }
.empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty h2 { color: var(--text); font-size: 18px; margin-bottom: 6px; }
.empty p { margin: 0 0 16px; }
.empty__ico { font-size: 44px; margin-bottom: 10px; }

/* ============ FAB e navegação ============ */
.fab {
  position: fixed; left: 16px; right: 16px; bottom: calc(var(--nav-h) + var(--safe-b) + 12px); z-index: 25;
  display: flex; align-items: center; gap: 12px; padding: 0 18px; height: 58px; border: 0; border-radius: 18px;
  background: var(--green); color: var(--green-ink); font-weight: 800; box-shadow: 0 12px 30px var(--green-glow), 0 4px 12px rgba(0,0,0,.5);
  animation: rise .35s cubic-bezier(.2,.9,.3,1.2); max-width: 560px; margin: 0 auto;
}
.fab__count { background: var(--green-ink); color: var(--green); min-width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-size: 14px; padding: 0 6px; }
.fab__label { flex: 1; text-align: left; font-size: 16px; }
.fab__total { font-size: 16px; }
.fab.bump { animation: fabBump .45s ease; }
@keyframes fabBump { 35% { transform: translateY(-6px) scale(1.03); } }
@keyframes rise { from { transform: translateY(120%); opacity: 0; } }
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 26; height: calc(var(--nav-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(8,10,9,.96); backdrop-filter: blur(12px); border-top: 1px solid #161c18;
}
.bottom-nav button { position: relative; border: 0; background: none; color: var(--muted); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; font-weight: 600; }
.bottom-nav button.is-active { color: var(--green); }
.bottom-nav .badge { top: 6px; right: calc(50% - 22px); }

/* ============ Sheets / modais ============ */
.sheet { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.sheet__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.65); animation: fade .25s; }
.sheet__panel {
  position: relative; width: 100%; max-width: 560px; max-height: 92dvh; display: flex; flex-direction: column;
  background: var(--bg-2); border: 1px solid var(--line); border-bottom: 0; border-radius: 24px 24px 0 0; animation: up .32s cubic-bezier(.2,.9,.3,1); overflow: hidden;
}
.sheet--full .sheet__panel { max-height: 100dvh; height: 100dvh; border-radius: 0; max-width: 680px; border: 0; }
.sheet--full { background: var(--bg); }
@keyframes up { from { transform: translateY(100%); } }
@keyframes fade { from { opacity: 0; } }
.sheet__head { display: flex; align-items: center; gap: 10px; padding: 16px; border-bottom: 1px solid var(--line); }
.sheet__head h2 { font-size: 18px; flex: 1; }
.sheet__body { overflow-y: auto; padding: 16px; flex: 1; overscroll-behavior: contain; }
.sheet__foot { padding: 14px 16px calc(14px + var(--safe-b)); border-top: 1px solid var(--line); background: var(--bg-2); }
.sheet__x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(0,0,0,.65); color: #fff; font-size: 16px; }
.sheet__x--inline { position: static; background: var(--card); }

/* Detalhe do item */
.sheet__panel--item { overflow-y: auto; }
.item__media { aspect-ratio: 16 / 11; background: radial-gradient(90% 90% at 30% 20%, #1f3a29, #0e1611); display: grid; place-items: center; flex: none; }
.item__media img { width: 100%; height: 100%; object-fit: cover; }
.item__media .ph { font-size: 96px; }
.item__body { padding: 16px; display: grid; gap: 8px; }
.item__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.item__body h2 { font-size: 22px; }
.item__desc { color: #c3cec7; margin: 0; white-space: pre-line; }
.item__combo { margin: 0; padding: 12px 12px 12px 30px; background: var(--card); border-radius: 12px; color: #d4ddd7; }
.item__price { display: flex; align-items: baseline; gap: 10px; }
.item__price b { font-size: 26px; } .item__price s { color: var(--muted); }
.item__price.is-promo b { color: var(--green); }
.item__foot { display: flex; gap: 12px; padding: 12px 16px calc(16px + var(--safe-b)); position: sticky; bottom: 0; background: var(--bg-2); border-top: 1px solid var(--line); }

/* Carrinho */
.cart-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: 0; }
.cart-line__img { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; background: #0f1a13; display: grid; place-items: center; font-size: 26px; }
.cart-line__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__name { font-weight: 700; font-size: 14px; }
.cart-line__meta { color: var(--muted); font-size: 12px; }
.cart-line__price { font-weight: 800; margin-top: 2px; }
.cart-line__price .tag { margin-left: 6px; vertical-align: middle; }
.cart-line__side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.cart-line__rm { background: none; border: 0; color: var(--muted); font-size: 12px; padding: 2px; }
.totals { display: grid; gap: 6px; margin-bottom: 12px; }
.totals div { display: flex; justify-content: space-between; color: #cfd9d2; }
.totals .grand { color: var(--text); font-size: 18px; font-weight: 800; padding-top: 6px; border-top: 1px dashed var(--line); }
.warn { background: rgba(255,194,75,.1); color: var(--warn); border: 1px solid rgba(255,194,75,.25); padding: 10px 12px; border-radius: 12px; font-size: 14px; margin: 0 0 12px; }
.warn.is-error { background: rgba(255,93,93,.1); color: #ff9f9f; border-color: rgba(255,93,93,.3); }

/* Checkout */
.co { display: grid; gap: 14px; align-content: start; }
.co__rest { display: grid; gap: 14px; }
.co__box { border: 1px solid var(--line); background: var(--card); border-radius: var(--r); padding: 16px; margin: 0; min-width: 0; display: grid; gap: 12px; }
.co__box legend { float: left; width: 100%; padding: 0; font-weight: 800; font-size: 16px; display: flex; align-items: center; gap: 8px; }
.co__box legend + * { clear: both; }
.co__box legend em, label em { color: var(--muted); font-style: normal; font-weight: 500; font-size: 13px; }
.co__n { width: 26px; height: 26px; border-radius: 8px; background: var(--green); color: var(--green-ink); display: grid; place-items: center; font-size: 13px; }
.co__done { display: flex; align-items: center; justify-content: space-between; background: var(--green-deep); border: 1px solid #1d4a2d; border-radius: 12px; padding: 12px; }
.co__done strong { display: block; } .co__done span { color: var(--muted); font-size: 13px; }
.field { display: grid; gap: 6px; min-width: 0; flex: 1; }
.field--sm { flex: 0 0 34%; }
.field label { font-size: 13px; font-weight: 600; color: #cfd9d2; }
.field input, .co textarea {
  width: 100%; background: var(--bg-2); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 16px; outline: none; transition: border-color .2s; min-height: 48px;
}
.co textarea { resize: vertical; }
.field input:focus, .co textarea:focus { border-color: var(--green); }
.field.has-err input { border-color: var(--danger); }
.field__err { color: #ff9f9f; font-size: 12px; min-height: 0; }
.field__err:empty { display: none; }
.row { display: flex; gap: 10px; }
.hello { margin: 0; background: var(--green-deep); color: var(--green); padding: 10px 12px; border-radius: 12px; font-weight: 600; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opts--4 { grid-template-columns: 1fr 1fr; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; }
.opt span { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg-2); min-height: 56px; justify-content: center; transition: border-color .2s, background .2s; }
.opt small { color: var(--muted); font-size: 12px; }
.opt input:checked + span { border-color: var(--green); background: var(--green-deep); box-shadow: inset 0 0 0 1px var(--green); }
.opt input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.opt.is-disabled { opacity: .4; pointer-events: none; }
.q { margin: 4px 0 0; font-weight: 700; }
.seg { display: inline-flex; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 4px; gap: 4px; width: max-content; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; padding: 8px 22px; border-radius: 9px; font-weight: 700; }
.seg input:checked + span { background: var(--green); color: var(--green-ink); }
.fee-note, .note { margin: 0; color: var(--muted); font-size: 13px; }
.note { background: var(--bg-2); padding: 12px; border-radius: 12px; color: #cfd9d2; }
.summary h3 { font-size: 16px; }
.sum-items { display: grid; gap: 8px; margin-bottom: 12px; }
.sum-item { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.sum-item small { display: block; color: var(--muted); font-size: 12px; }
.sum-item b { white-space: nowrap; }
.sum-meta { display: grid; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; }
.sum-meta div { display: grid; grid-template-columns: 96px 1fr; gap: 8px; }
.sum-meta dt { color: var(--muted); } .sum-meta dd { margin: 0; white-space: pre-line; word-break: break-word; }

/* Sucesso */
.success { align-items: center; justify-content: center; text-align: center; padding: 32px 24px calc(32px + var(--safe-b)); gap: 14px; display: flex; }
.success h2 { font-size: 26px; }
.success__check svg { width: 96px; height: 96px; stroke: var(--green); stroke-width: 3; }
.success__check circle { stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw .6s .1s forwards; fill: rgba(34,227,109,.08); }
.success__check path { stroke-dasharray: 50; stroke-dashoffset: 50; animation: draw .4s .6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success__code { margin: 0; font-size: 18px; }
.success__code strong { color: var(--green); font-size: 24px; }
.success__txt { margin: 0; color: #cfd9d2; max-width: 420px; }
.success .btn { max-width: 420px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: calc(var(--nav-h) + var(--safe-b) + 84px); transform: translate(-50%, 20px); opacity: 0; z-index: 70; pointer-events: none; background: #f4f7f5; color: #07110a; font-weight: 700; padding: 12px 18px; border-radius: 999px; box-shadow: var(--shadow); transition: .25s; max-width: calc(100% - 32px); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast.is-error { background: var(--danger); color: #fff; }

/* Voo do item para o carrinho */
.fly { position: fixed; z-index: 80; width: 40px; height: 40px; border-radius: 50%; background: var(--green); pointer-events: none; display: grid; place-items: center; color: var(--green-ink); font-weight: 900; transition: transform .6s cubic-bezier(.5,-.3,.7,1), opacity .6s; box-shadow: 0 0 20px var(--green-glow); }

/* ============ Responsivo ============ */
@media (min-width: 560px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rail { grid-auto-columns: minmax(180px, 30%); }
  .rail--wide { grid-auto-columns: minmax(300px, 48%); }
  .opts--4 { grid-template-columns: repeat(4, 1fr); }
  .sheet { align-items: center; }
  .sheet__panel { border-radius: 24px; border-bottom: 1px solid var(--line); max-height: 88dvh; }
  .sheet--full .sheet__panel { border-radius: 0; }
  .info__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  body { padding-bottom: 40px; }
  .bottom-nav { display: none; }
  .cart-top { display: grid; }
  .topbar { display: grid; grid-template-columns: auto 1fr auto auto; column-gap: 8px; align-items: center; padding: 0 max(16px, calc((100% - 1180px) / 2 + 16px)); }
  .topbar__in { display: contents; }
  .brand { padding: 12px 0; }
  .acct-top { grid-column: 3; grid-row: 1; margin: 0; }
  .cart-top { grid-column: 4; grid-row: 1; margin: 0 !important; }
  .searchbar { grid-column: 2; grid-row: 1; width: 100%; max-width: 560px; padding: 0 24px; margin: 0 auto; }
  .chips { grid-column: 1 / -1; padding: 0 0 12px; max-width: none; width: 100%; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .grid--feat { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .rail { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; }
  .rail--wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero { min-height: 300px; }
  .hero__content { padding: 40px; }
  .fab { left: auto; right: 24px; bottom: 24px; width: 360px; }
  .toast { bottom: 100px; }
  .info__grid { grid-template-columns: repeat(4, 1fr); }
  .sheet--full { align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.tag--self { align-self: flex-start; }
.grid-span { grid-column: 1 / -1; }
.card--info { cursor: default; }
body.no-scroll .toast { bottom: auto; top: calc(env(safe-area-inset-top, 0px) + 16px); transform: translate(-50%, -20px); }
body.no-scroll .toast.is-on { transform: translate(-50%, 0); }
.wide__media { width: 76px; align-self: stretch; }
.wide .price { flex-direction: row; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.wide .price b { white-space: nowrap; }
.rail--wide { grid-auto-columns: minmax(290px, 88%); }

/* ============ Cardápio em cards de categoria ============ */
.sec__head > div:first-child { display: flex; flex-direction: column; gap: 2px; }
.menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mc {
  position: relative; overflow: hidden; display: flex; justify-content: space-between; gap: 8px; min-height: 150px; padding: 14px;
  border-radius: var(--r-lg); cursor: pointer; border: 1px solid #1d3a28;
  background: radial-gradient(120% 120% at 100% 100%, #1a5c33 0%, var(--green-deep) 45%, #0b130e 100%);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.mc:hover { transform: translateY(-2px); border-color: var(--green); box-shadow: 0 10px 30px rgba(34,227,109,.12); }
.mc--big { grid-column: 1 / -1; min-height: 200px; padding: 20px; }
.mc__body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.mc__kicker { font-size: 10px; font-weight: 800; letter-spacing: .08em; color: var(--green); }
.mc h3 { font-size: 17px; font-weight: 800; }
.mc--big h3 { font-size: 24px; letter-spacing: -.02em; }
.mc__count { margin: 0; color: var(--muted); font-size: 12px; }
.mc__chips { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 4px 0 2px; max-width: 280px; }
.mc__chips span { font-size: 12px; color: #cfe0d5; }
.mc__btn {
  margin-top: auto; display: inline-flex; align-items: center; gap: 6px; background: var(--green); color: var(--green-ink);
  font-weight: 800; font-size: 13px; padding: 9px 14px; border-radius: 999px; box-shadow: 0 6px 16px var(--green-glow); white-space: nowrap;
}
.mc--big .mc__btn { font-size: 14px; padding: 11px 18px; }
.mc__art { position: relative; flex: none; width: 42%; max-width: 220px; align-self: center; aspect-ratio: 1; }
.mc:not(.mc--big) .mc__art { position: absolute; right: -10px; bottom: -10px; width: 52%; opacity: .95; }
.mc:not(.mc--big) .mc__body { max-width: 72%; }
.mc__img { position: absolute; object-fit: cover; border-radius: 50%; box-shadow: 0 10px 24px rgba(0,0,0,.55); border: 2px solid rgba(255,255,255,.08); }
.mc__img--1 { width: 78%; height: 78%; right: 0; top: 0; }
.mc__img--2 { width: 54%; height: 54%; left: 0; bottom: 0; }
.mc__img--3 { width: 38%; height: 38%; right: 8%; bottom: -4%; }
.mc__img--1:only-child { width: 92%; height: 92%; right: 4%; top: 4%; }
.mc__ico { position: absolute; inset: 0; display: grid; place-items: center; font-size: 64px; filter: drop-shadow(0 10px 18px rgba(0,0,0,.6)); }
.mc--big .mc__ico { font-size: 96px; }

/* ============ Carrosséis de ofertas ============ */
.arrows { display: flex; gap: 6px; flex: none; }
.arrow { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--text); font-size: 20px; line-height: 1; display: grid; place-items: center; padding-bottom: 2px; }
.arrow:hover:not(:disabled) { border-color: var(--green); color: var(--green); }
.arrow:disabled { opacity: .35; cursor: default; }
.carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: 74%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 2px 2px 12px; scrollbar-width: thin; scrollbar-color: var(--green) #161c18; overscroll-behavior-x: contain;
}
.carousel::-webkit-scrollbar { height: 6px; }
.carousel::-webkit-scrollbar-track { background: #161c18; border-radius: 999px; }
.carousel::-webkit-scrollbar-thumb { background: #2c7a4a; border-radius: 999px; }
.carousel > * { scroll-snap-align: start; }
.oc { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .2s, transform .2s; }
.oc[data-open] { cursor: pointer; }
.oc:hover { border-color: #2f5a3d; transform: translateY(-2px); }
.oc__media { position: relative; aspect-ratio: 16 / 10; background: radial-gradient(90% 90% at 30% 20%, #1f3a29, #0e1611); display: grid; place-items: center; overflow: hidden; }
.oc__media img { width: 100%; height: 100%; object-fit: cover; }
.oc__media .ph { font-size: 56px; }
.oc__save { position: absolute; left: 10px; bottom: 10px; background: var(--green); color: var(--green-ink); font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,.4); }
.oc__sample { position: absolute; top: 8px; right: 8px; }
.oc__body { display: flex; flex-direction: column; gap: 6px; padding: 12px; flex: 1; }
.oc__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.oc__chip { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--card-2); color: #cfd9d2; }
.oc__chip--promo { background: rgba(34,227,109,.14); color: var(--green); }
.oc__chip--combo { background: rgba(106,168,255,.14); color: #8fbcff; }
.oc__chip--days { background: #1d231f; color: var(--muted); }
.oc__title { font-size: 15px; font-weight: 800; line-height: 1.25; text-transform: uppercase; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.oc__desc { margin: 0; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oc__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 4px; }
.oc__price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.oc__price b { color: var(--green); font-size: 18px; font-weight: 800; white-space: nowrap; }
.oc__price s { color: var(--muted); font-size: 12px; }

@media (min-width: 560px) {
  .carousel { grid-auto-columns: calc((100% - 24px) / 2.4); }
}
@media (min-width: 900px) {
  .menu-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mc--big { grid-column: span 2; grid-row: span 2; min-height: 312px; padding: 28px; }
  .mc--big h3 { font-size: 30px; }
  .carousel { grid-auto-columns: calc((100% - 36px) / 4); }
}
.mc:not(.mc--big) .mc__art { width: 44%; right: -14px; bottom: -14px; }
.mc:not(.mc--big) h3 { overflow-wrap: anywhere; }
.mc__btn { position: relative; z-index: 2; }
.mc:not(.mc--big) h3 { overflow-wrap: normal; word-break: normal; hyphens: manual; font-size: 15px; }
.mc:not(.mc--big) .mc__body { max-width: 100%; }

/* =====================================================================
   v1.3 — Cardápio no mesmo sistema do site da pizzaria
   (seções → categorias → produtos), em preto e verde
   ===================================================================== */
a.chip { color: var(--text); text-decoration: none; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; font-size: 14px; padding: 6px 0; margin-bottom: 6px; text-decoration: none; }
.back:hover { color: var(--green); }
.cat-head h1 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.page { margin-top: 12px; }
.muted { color: var(--muted); }
.clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Layout com carrinho lateral */
.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.layout__main { min-width: 0; }
.side-cart { display: none; }
@media (min-width: 1100px) {
  .layout { grid-template-columns: minmax(0, 1fr) 340px; }
  .side-cart { display: block; position: sticky; top: 150px; align-self: start; max-height: calc(100vh - 170px); overflow: auto; margin-top: 12px; }
  .fab { display: none !important; }
}
.sc { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; display: grid; gap: 12px; }
.sc h3 { font-size: 17px; }
.sc-head { display: flex; justify-content: space-between; align-items: baseline; }
.sc-empty { text-align: center; padding: 20px 0 8px; display: grid; gap: 4px; }
.sc-empty p { margin: 0; font-weight: 700; }
.sc-lines { display: grid; gap: 10px; max-height: 46vh; overflow: auto; }
.sc-line { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.sc-line-t { display: flex; flex-direction: column; min-width: 0; font-size: 14px; }
.sc-line-r { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.sc-price { font-weight: 800; white-space: nowrap; }
.stepper--sm button { width: 28px; height: 30px; font-size: 16px; }
.sc .totals { margin: 0; }
.sc .warn { margin: 0; }

/* Cards das seções (início) */
.menu-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.menu-cards > .is-big, .menu-cards.only-one > * { grid-column: 1 / -1; }
@media (max-width: 640px) { .menu-cards { grid-template-columns: 1fr; } }
.menu-card, .cat-card {
  position: relative; display: flex; align-items: stretch; overflow: hidden; isolation: isolate; text-decoration: none; color: var(--text);
  border-radius: var(--r-lg); border: 1px solid #1d3a28; transition: transform .15s, box-shadow .15s, border-color .15s;
  background: radial-gradient(120% 140% at 100% 100%, #1a5c33 0%, var(--green-deep) 45%, #0b130e 100%);
}
.menu-card:hover, .cat-card:hover { transform: translateY(-2px); border-color: var(--green); box-shadow: 0 10px 30px rgba(34,227,109,.12); }
.menu-card:active, .cat-card:active { transform: scale(.99); }
.menu-card { min-height: 190px; }
.menu-card.is-small { min-height: 150px; }
.menu-card-text { position: relative; z-index: 2; padding: 22px 22px 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; max-width: 62%; }
.menu-card.is-small .menu-card-text { max-width: 66%; padding: 18px; }
.menu-card-kicker { font-weight: 800; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--green); }
.menu-card h3 { font-size: 24px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
.menu-card.is-small h3 { font-size: 20px; }
.menu-card p { margin: 0; color: var(--muted); font-size: 14px; }
.menu-card-cats { font-size: 13px !important; color: #cfe0d5 !important; }
.menu-card-cta, .cat-cta {
  margin-top: auto; display: inline-flex; align-items: center; gap: 6px; background: var(--green); color: var(--green-ink);
  font-weight: 800; font-size: 14px; padding: 10px 16px; border-radius: 999px; box-shadow: 0 6px 16px var(--green-glow); white-space: nowrap;
}
@media (max-width: 640px) {
  .menu-card-text { max-width: 64%; padding: 18px; }
  .menu-card h3 { font-size: 20px; }
  .menu-card-cats { display: none; }
}

/* Arte (fotos em círculo) dos cards */
.cat-art { position: absolute; right: -10px; top: 50%; transform: translateY(-50%); width: 46%; height: 100%; z-index: 1; pointer-events: none; }
.cat-art > div { position: absolute; border-radius: 50%; overflow: hidden; box-shadow: 0 10px 22px rgba(0,0,0,.5); border: 2px solid rgba(255,255,255,.07); background: #0e1611; }
.cat-art img { width: 100%; height: 100%; object-fit: cover; }
.cat-art-0 { width: 112px; height: 112px; right: 18px; top: 50%; transform: translateY(-50%); z-index: 3; }
.cat-art-1 { width: 74px; height: 74px; right: 104px; top: 12px; z-index: 2; opacity: .95; }
.cat-art-2 { width: 64px; height: 64px; right: 98px; bottom: 10px; z-index: 1; opacity: .9; }
.cat-art .cat-art-ico { display: grid; place-items: center; font-size: 56px; background: rgba(0,0,0,.25); }
.menu-card-art .cat-art-0 { width: 140px; height: 140px; right: 24px; }
.menu-card-art .cat-art-1 { width: 88px; height: 88px; right: 140px; top: 14px; }
.menu-card-art .cat-art-2 { width: 76px; height: 76px; right: 132px; bottom: 12px; }
.menu-card-art .cat-art-ico { font-size: 72px; }
.menu-card.is-small .menu-card-art .cat-art-0 { width: 104px; height: 104px; right: 14px; }
.menu-card.is-small .menu-card-art .cat-art-1 { width: 64px; height: 64px; right: 96px; top: 10px; }
.menu-card.is-small .menu-card-art .cat-art-2 { display: none; }
@media (max-width: 640px) { .menu-card-art .cat-art-0 { width: 112px; height: 112px; right: 12px; } }
@media (max-width: 420px) { .cat-art-1, .cat-art-2 { display: none; } }

/* Cards de categoria (página da seção) */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.cat-card { min-height: 150px; }
.cat-card.tone-1 { background: radial-gradient(120% 140% at 100% 100%, #23603a 0%, #0d2416 50%, #0a110c 100%); }
.cat-card.tone-2 { background: radial-gradient(120% 140% at 100% 100%, #14503a 0%, #0a2219 50%, #0a110d 100%); }
.cat-card.tone-3 { background: radial-gradient(120% 140% at 100% 100%, #3a5c1a 0%, #18240b 50%, #0d110a 100%); }
.cat-card-text { position: relative; z-index: 2; padding: 18px 18px 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; max-width: 64%; }
.cat-icon { font-size: 22px; }
.cat-card h3 { font-size: 20px; margin-top: 4px; font-weight: 800; }
.cat-card p { margin: 0 0 8px; font-size: 13.5px; color: #cfe0d5; }
.cat-cta { font-size: 13px; padding: 8px 14px; }

/* Linhas de produto (página da categoria / busca) */
.prow-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 760px) { .prow-grid { grid-template-columns: 1fr 1fr; } }
.prow { display: flex; gap: 14px; align-items: stretch; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; cursor: pointer; transition: transform .15s, border-color .15s; }
.prow:hover { border-color: #2f5a3d; transform: translateY(-1px); }
.prow-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.prow-text h4 { margin: 0; font-size: 16px; font-weight: 700; }
.prow-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.prow-badges:empty { display: none; }
.prow-foot { margin-top: auto; padding-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.prow-img { width: 112px; height: 112px; border-radius: 14px; flex: none; overflow: hidden; background: radial-gradient(90% 90% at 30% 20%, #1f3a29, #0e1611); display: grid; place-items: center; }
.prow-img img { width: 100%; height: 100%; object-fit: cover; }
.prow-img .ph { font-size: 46px; }
@media (max-width: 420px) { .prow-img { width: 96px; height: 96px; } }
.price-tag { display: inline-flex; align-items: baseline; gap: 6px; flex-wrap: wrap; font-weight: 800; font-size: 16px; }
.price-tag .promo { color: var(--green); }
.price-tag s { color: var(--muted); font-weight: 500; font-size: 12px; }
.pbadge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; }
.pbadge-gold { background: rgba(255,194,75,.15); color: var(--warn); }
.pbadge-green { background: var(--green); color: var(--green-ink); }
.pbadge-sample { background: #3b3f8f; color: #e5e7ff; }

/* Cards pequenos (Mais vendidos / Destaques) */
.carousel--tiles { grid-auto-columns: 44%; }
@media (min-width: 560px) { .carousel--tiles { grid-auto-columns: calc((100% - 36px) / 3.3); } }
@media (min-width: 900px) { .carousel--tiles { grid-auto-columns: calc((100% - 48px) / 5); } }
.ptile { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; cursor: pointer; display: flex; flex-direction: column; transition: transform .15s, border-color .15s; }
.ptile:hover { transform: translateY(-2px); border-color: #2f5a3d; }
.ptile-img { position: relative; aspect-ratio: 1; background: radial-gradient(90% 90% at 30% 20%, #1f3a29, #0e1611); display: grid; place-items: center; }
.ptile-img img { width: 100%; height: 100%; object-fit: cover; }
.ptile-img .ph { font-size: 52px; }
.ptile-badge { position: absolute; left: 8px; top: 8px; }
.ptile-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.ptile-body h4 { margin: 0; font-size: 14px; }

/* Ofertas que não valem agora */
.oc.is-off { cursor: pointer; }
.oc.is-off .oc__media { filter: grayscale(.6); opacity: .75; }
.oc.is-off .oc__price b { color: var(--muted); }
.offer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-bottom: 14px; }
.offer-grid[hidden] { display: none; }
/* Checkout e tela de sucesso ocupam a tela toda em qualquer celular (alguns navegadores calculam 100dvh errado) */
.sheet--full .sheet__panel { height: 100%; max-height: none; }

/* ===== Conta do cliente ===== */
.acct-top { text-decoration: none; color: inherit; margin-left: auto; }
.acct-top.is-in { color: var(--green); }
.acct-top + .cart-top { margin-left: 6px; }
.acct { max-width: 560px; margin: 0 auto; }
.acct__card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: grid; gap: 14px; }
.acct__card h1 { font-size: 22px; margin: 0; }
.aform { display: grid; gap: 12px; }
.aform .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.aform input:not([type=checkbox]) { width: 100%; }
.atabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--card-2); border-radius: 12px; padding: 4px; margin-bottom: 14px; }
.atabs button { border: 0; background: none; color: var(--muted); font-weight: 700; padding: 10px; border-radius: 9px; }
.atabs button.is-on { background: var(--green); color: var(--green-ink); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.4; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--green); flex: none; }
.center { text-align: center; }
.acct__link, .ord-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; border-radius: 14px; background: var(--card-2); color: inherit; text-decoration: none; }
.acct__link span { color: var(--muted); font-size: 20px; }
.ord-item > div { display: grid; gap: 4px; min-width: 0; }
.ord-item .small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct__sec { border-top: 1px solid var(--line); padding-top: 12px; }
.acct__sec summary { font-weight: 700; cursor: pointer; padding: 4px 0 10px; }
.addr-item { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.addr-item > div:first-child { display: grid; gap: 2px; }
.danger { color: #ff6b6b !important; }
.st { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--card); color: var(--green); margin-left: 6px; }
.st--cancelled { color: #ff6b6b; } .st--done { color: var(--muted); }
.track { list-style: none; padding: 0; margin: 4px 0; display: grid; gap: 0; }
.track li { position: relative; padding: 0 0 16px 30px; display: grid; color: var(--muted); }
.track li::before { content: ''; position: absolute; left: 6px; top: 3px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line); background: var(--card); }
.track li:not(:last-child)::after { content: ''; position: absolute; left: 12px; top: 19px; bottom: 0; width: 2px; background: var(--line); }
.track li.is-done, .track li.is-now { color: var(--text); }
.track li.is-done::before { background: var(--green); border-color: var(--green); }
.track li.is-now::before { border-color: var(--green); box-shadow: 0 0 0 5px var(--green-glow); }
.track li.is-done::after { background: var(--green); }
.prose h3 { font-size: 15px; margin: 16px 0 4px; } .prose p { margin: 0; color: var(--muted); line-height: 1.55; }
.saved-addrs { display: grid; gap: 8px; margin-bottom: 10px; }
.saved-addrs:empty { display: none; }
.saddr { text-align: left; display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card-2); color: var(--text); }
.saddr span { color: var(--muted); font-size: 13px; }
.saddr.is-on { border-color: var(--green); }
.saddr--new b { color: var(--green); }
#okTrack { margin-bottom: 8px; }
.acct__link b { flex: 1; }

/* ===== Rodapé (igual ao da pizzaria) ===== */
.info { border-top: 1px solid var(--line); padding-top: 28px; }
.foot { display: grid; gap: 28px; }
.foot__id { display: flex; gap: 12px; align-items: center; }
.foot__id strong { display: block; font-size: 17px; }
.foot__id small { color: var(--muted); font-size: 13px; }
.foot__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.fbtn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text); font-weight: 700; font-size: 13px; text-decoration: none; }
.fbtn:hover { border-color: var(--green); }
.fbtn--wa { background: var(--green); border-color: var(--green); color: var(--green-ink); }
.fbtn svg, .foot h3 svg, .foot__contact svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.foot__deliv { margin-top: 16px; font-size: 13px; color: var(--muted); }
.foot__deliv p { margin: 0 0 4px; }
.foot h3 { display: flex; align-items: center; gap: 8px; font-size: 15px; margin: 0 0 12px; }
.foot .hours { gap: 0; }
.foot .hours li { padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.foot .hours li.is-closed { color: var(--danger); font-weight: 700; }
.foot__contact { display: grid; gap: 10px; font-size: 14px; }
.foot__contact p { margin: 0 0 2px; }
.foot__contact a { display: flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; }
.foot__contact a:hover { color: var(--green); }
@media (min-width: 900px) { .foot { grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; } }


/* ===================== Tema Dark Green Premium ===================== */
:root { --line-2: #2C4535; --card-hi: #1F3027; --price: #2BE58A; }
body { background: radial-gradient(1200px 600px at 85% -10%, rgba(25,216,121,.07), transparent 60%), radial-gradient(900px 500px at -10% 30%, rgba(25,216,121,.04), transparent 60%), var(--bg); background-attachment: fixed; }
::selection { background: rgba(25,216,121,.3); }

/* Topo e navegação */
.topbar { background: rgba(13,21,17,.9); border-bottom: 1px solid var(--line); }
.search { background: var(--card); border-color: var(--line); }
.search:focus-within { border-color: rgba(25,216,121,.55); box-shadow: 0 0 0 3px rgba(25,216,121,.12); }
.icon-btn { background: var(--card); border: 1px solid var(--line); }
.icon-btn:hover { border-color: var(--line-2); }
.bottom-nav { background: rgba(17,27,21,.96); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(3,10,6,.4); }
.chip { background: var(--card); border: 1px solid var(--line); }
.chip.is-active { box-shadow: 0 4px 14px var(--green-glow); }

/* Banner principal */
.hero { background:
    radial-gradient(70% 90% at 95% 5%, rgba(25,216,121,.38) 0%, transparent 60%),
    radial-gradient(60% 80% at 10% 110%, rgba(25,216,121,.14) 0%, transparent 60%),
    linear-gradient(135deg, #0F2219 0%, #133524 45%, #1A4A31 100%);
  border: 1px solid #24503A; box-shadow: 0 20px 50px rgba(3,10,6,.55), inset 0 1px 0 rgba(255,255,255,.05); }
.hero__glow { background: radial-gradient(55% 75% at 88% 18%, rgba(25,216,121,.28), transparent 70%); }
.hero__tag { background: rgba(25,216,121,.14); border: 1px solid rgba(25,216,121,.3); }
.hero p { color: #D2E2D8; }

/* Seções */
.sec { margin: 34px 0; }
.sec + .sec { padding-top: 6px; }
.sec__head h2 { position: relative; padding-left: 14px; }
.sec__head h2::before { content: ''; position: absolute; left: 0; top: .15em; bottom: .15em; width: 4px; border-radius: 4px; background: linear-gradient(180deg, var(--green), #0F8F4F); }
.sec__hint { color: var(--muted); }

/* Cards e painéis */
.card, .prow, .ptile, .oc, .sc, .info__card, .acct__card, .wide { background: linear-gradient(180deg, var(--card-hi) 0%, var(--card) 100%); border: 1px solid var(--line); box-shadow: 0 8px 22px rgba(3,10,6,.35), inset 0 1px 0 rgba(255,255,255,.03); }
.prow:hover, .ptile:hover, .oc:hover, .card:hover { border-color: var(--line-2); box-shadow: 0 12px 28px rgba(3,10,6,.45), 0 0 0 1px rgba(25,216,121,.08); }
.card__media, .oc__media, .prow-img, .item__media, .wide__media, .cart-line__img { background: radial-gradient(90% 90% at 30% 20%, #234333, #122019); }
.mc, .cat-card { border-color: #24503A !important; box-shadow: 0 12px 30px rgba(3,10,6,.45); }
.cat-card.tone-1 { background: radial-gradient(120% 140% at 100% 100%, #237047 0%, #123323 50%, #0F1C15 100%); }
.cat-card.tone-2 { background: radial-gradient(120% 140% at 100% 100%, #1B5E45 0%, #0F2E22 50%, #0F1B16 100%); }
.cat-card.tone-3 { background: radial-gradient(120% 140% at 100% 100%, #3E6A25 0%, #1D2E13 50%, #11180F 100%); }

/* Carrinho, painéis e formulários */
.sheet__panel { background: var(--bg-2); border-color: var(--line); box-shadow: 0 -20px 50px rgba(3,10,6,.6); }
.sheet__backdrop { background: rgba(5,10,7,.7); }
.sc { box-shadow: 0 14px 36px rgba(3,10,6,.45); }
.co__box { background: var(--card); border: 1px solid var(--line); }
.field input, .field textarea, .field select, .aform input:not([type=checkbox]) { background: var(--bg-2); border-color: var(--line); }
.field input:focus, .field textarea:focus, .aform input:focus { border-color: rgba(25,216,121,.6); box-shadow: 0 0 0 3px rgba(25,216,121,.12); outline: none; }
.opt { border-color: var(--line); background: var(--card-2); }
.btn--ghost { background: var(--card-2); border: 1px solid var(--line); }
.btn--primary { background: linear-gradient(180deg, #2BE58A, var(--green)); box-shadow: 0 8px 22px var(--green-glow), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--primary:hover { background: linear-gradient(180deg, #3CEC96, #22DF81); }
.fab { box-shadow: 0 12px 30px var(--green-glow), 0 4px 12px rgba(3,10,6,.5); }

/* Preços, promoções e ofertas */
.price b, .price-tag, .cart-line__price, .sc-price, .item__price b { color: var(--text); letter-spacing: -.01em; }
.price--promo b, .price-tag .promo, .oc__price b, .item__price.is-promo b { color: var(--price); text-shadow: 0 0 18px rgba(25,216,121,.18); }
.oc__price b { font-size: 20px; }
.oc { border-color: #24452F; }
.oc__save, .pbadge-green { background: linear-gradient(135deg, #2BE58A, #13B866); box-shadow: 0 4px 12px rgba(25,216,121,.3); }
.tag--promo { background: rgba(25,216,121,.16); color: var(--price); border: 1px solid rgba(25,216,121,.3); }
.pbadge-gold { border: 1px solid rgba(255,194,75,.28); }
.totals .grand { color: var(--text); }
.totals .grand span:last-child { color: var(--price); }

/* Rodapé em verde grafite */
.info { margin-top: 44px; border-top: 1px solid var(--line); background: linear-gradient(180deg, #121D17 0%, #0F1813 100%); border-radius: var(--r-lg) var(--r-lg) 0 0; padding: 30px 22px 24px; box-shadow: inset 0 1px 0 rgba(25,216,121,.06); }
.foot__col h3 { color: var(--text); }
.foot__col h3 svg { color: var(--green); }
.foot .hours li { border-bottom-color: #22332A; color: #C9D5CD; }
.foot .hours li.is-today { color: var(--green); }
.fbtn { background: var(--card-2); border-color: var(--line-2); }
.fbtn--wa { background: linear-gradient(180deg, #2BE58A, var(--green)); border-color: transparent; }
.foot__contact a { color: #D4DED7; }
.age { border-top: 1px dashed #22332A; padding-top: 16px; margin-top: 24px; }
@media (min-width: 900px) { .info { padding: 40px 40px 28px; } }

/* ===== Endereços (igual à pizzaria) ===== */
.saddr { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; cursor: pointer; }
.saddr__t { display: grid; gap: 2px; min-width: 0; }
.saddr__fee { font-style: normal; font-size: 13px; font-weight: 700; color: var(--price, var(--green)); }
.saddr__bad { font-style: normal; font-size: 13px; color: #ff8a8a; }
.saddr.is-bad { border-color: rgba(255,93,93,.35); }
.saddr--new { justify-content: center; }
.adf { display: grid; gap: 12px; }
.adf .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.adf .field small.muted { font-size: 12px; }
.ac-wrap { position: relative; }
.ac-list { position: absolute; left: 0; right: 0; top: 74px; z-index: 5; background: var(--card-2); border: 1px solid var(--line-2, var(--line)); border-radius: 12px; box-shadow: 0 14px 30px rgba(3,10,6,.55); overflow: hidden; }
.ac-list button { display: grid; gap: 2px; width: 100%; text-align: left; padding: 10px 14px; background: none; border: 0; border-bottom: 1px solid var(--line); color: var(--text); }
.ac-list button:last-child { border-bottom: 0; }
.ac-list button:hover { background: var(--card-hi, var(--card)); }
.ac-list span { color: var(--muted); font-size: 13px; }
.ad-loc { display: grid; gap: 6px; }
.ad-note { margin: 0; font-size: 13px; color: var(--muted); }
.ad-note:empty { display: none; }
#addrSheet .sheet__panel { max-width: 560px; }
@media (min-width: 640px) { #addrSheet { align-items: center; } #addrSheet .sheet__panel { border-radius: 24px; border-bottom: 1px solid var(--line); } }

/* ===== Itens adicionais (igual à pizzaria) ===== */
.item__addons { display: grid; gap: 14px; margin-top: 16px; }
.ag { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--card); }
.ag header { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; background: var(--card-2); }
.ag header div { display: grid; gap: 2px; }
.ag header span { color: var(--muted); font-size: 12.5px; }
.ag header em { font-style: normal; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 4px 9px; border-radius: 99px; background: rgba(255,194,75,.14); color: #ffc24b; }
.ag header em.ok { background: rgba(25,216,121,.15); color: var(--green); }
.ag.is-req { border-color: rgba(255,194,75,.35); }
.ag-opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--line); cursor: pointer; }
.ag-opt input { width: 20px; height: 20px; accent-color: var(--green); flex: none; margin: 0; }
.ag-opt .ag-name { flex: 1; }
.ag-opt .ag-price { color: var(--price, var(--green)); font-weight: 700; font-size: 14px; }
.ag-opt.on { background: rgba(25,216,121,.06); }
.ag-opt.dis { opacity: .45; cursor: not-allowed; }
.item__notes { margin-top: 14px; }
.item__notes textarea { width: 100%; resize: vertical; }
.item__miss { margin: 12px 0 0; }
.add-count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--text); color: var(--bg); font-size: 11px; font-weight: 800; display: grid; place-items: center; pointer-events: none; }
[data-ctl] { position: relative; }
.sc-desc { color: var(--muted); }
.ag-qty { cursor: default; justify-content: space-between; }
.ag-qty .ag-name { display: grid; gap: 2px; }
.ag-qty .ag-name small { color: var(--price, var(--green)); font-weight: 700; font-size: 13px; }
.ag-qty .stepper button:disabled { opacity: .35; }
.price-tag .from { font-size: 11px; color: var(--muted); font-weight: 600; }
