/* ═══════════════════════════════════════════════════════════
   TEMPLATE "BRASA" · Cardápio Digital
   Estrutura editorial (hero com arco, faixa de fotos, pílulas,
   grade de cards) · escuro carvão + fogo + dourado.
   As cores do :root são o padrão; a plataforma sobrescreve as
   que o dono personalizar (tokens no template.json). Cores
   derivadas usam color-mix, então acompanham o tema.
   ═══════════════════════════════════════════════════════════ */
:root {
  /* carvão */
  --bg:    #120B07;
  --bg-2:  #1B110B;   /* superfície dos cards */
  --bg-3:  #261810;   /* superfície elevada / afundada */
  --bg-4:  #33200F;
  /* tinta creme */
  --ink:   #FFF3E2;
  --ink-2: color-mix(in srgb, var(--ink) 70%, transparent);
  --ink-3: color-mix(in srgb, var(--ink) 46%, transparent);
  --line:  color-mix(in srgb, var(--gold-2) 12%, transparent);
  --line-2:color-mix(in srgb, var(--gold-2) 24%, transparent);
  /* fogo */
  --fire:   #FF5A1F;
  --fire-2: #FF8A1F;
  --gold:   #F5B83D;
  --gold-2: #FFD27A;
  --ember:  #D63A12;
  --leaf:   #7BC75A;
  --on-fire:#1A0B04;  /* texto sobre o gradiente */
  --grad:      linear-gradient(135deg, var(--fire) 0%, var(--fire-2) 50%, var(--gold) 100%);
  --grad-text: linear-gradient(100deg, var(--gold-2) 0%, var(--fire-2) 55%, var(--fire) 100%);
  --glow:      0 10px 30px color-mix(in srgb, var(--fire) 35%, transparent);

  --shadow:    0 24px 60px rgba(0,0,0,.55);
  --shadow-sm: 0 10px 26px rgba(0,0,0,.35);

  --radius: 24px;
  --maxw:   640px;
  --hdr:    72px;

  --f-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --f-serif:   'Instrument Serif', Georgia, serif;
  --f-body:    'Plus Jakarta Sans', system-ui, sans-serif;
  --f-mono:    var(--f-body);
  --spring: 480ms cubic-bezier(.22,1.2,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  font-family: var(--f-body); background: var(--bg); color: var(--ink);
  min-height: 100vh; overflow-x: hidden; position: relative; -webkit-font-smoothing: antialiased;
}
body.lock { overflow: hidden; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ── BRASA AO FUNDO ── */
.fx { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.fx-glow { position: absolute; border-radius: 50%; filter: blur(80px); }
.fx-glow.g1 { width: 460px; height: 460px; top: -160px; right: -140px; background: radial-gradient(circle, color-mix(in srgb, var(--fire) 38%, transparent), transparent 70%); }
.fx-glow.g2 { width: 420px; height: 420px; bottom: -180px; left: -160px; background: radial-gradient(circle, color-mix(in srgb, var(--gold) 22%, transparent), transparent 70%); }
.fx-grain { position: absolute; inset: 0; opacity: .6; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.09'/%3E%3C/svg%3E"); }
.fx-sparks i { position: absolute; bottom: -10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px 2px color-mix(in srgb, var(--fire-2) 70%, transparent); opacity: 0; animation: rise linear infinite; }
@keyframes rise {
  0% { transform: translate(0,0); opacity: 0; }
  10% { opacity: .9; }
  70% { opacity: .5; }
  100% { transform: translate(var(--x), -100vh); opacity: 0; }
}

/* ── HEADER ── */
.header { position: sticky; top: 0; z-index: 200; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid var(--line); }
.header-inner { max-width: var(--maxw); height: var(--hdr); margin: 0 auto; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { display: flex; align-items: center; gap: 11px; min-width: 0; color: inherit; text-decoration: none; }
.logo-badge { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; overflow: hidden; box-shadow: 0 0 0 2px var(--gold), var(--glow); }
.logo-badge img { width: 100%; height: 100%; object-fit: cover; display: block; }
.logo-txt { min-width: 0; }
.logo-name { display: block; font-family: var(--f-display); font-weight: 800; font-size: 1.12rem; line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.logo-name em { font-style: normal; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-sub { display: block; font-family: var(--f-serif); font-style: italic; font-size: .86rem; color: var(--gold); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-btn { display: flex; align-items: center; gap: 7px; flex-shrink: 0; min-height: 44px; background: var(--bg-3); color: var(--ink); border: 1px solid var(--line-2); border-radius: 50px; padding: 6px 8px 6px 13px; font-size: .82rem; font-weight: 700; transition: transform .15s, border-color .25s; }
.cart-btn:hover { border-color: var(--fire); }
.cart-btn:active { transform: scale(.95); }
.cart-btn.bump { animation: shake .5s; }
@keyframes shake { 0%,100%{transform:translateX(0)} 20%{transform:translateX(-4px) rotate(-3deg)} 60%{transform:translateX(4px) rotate(3deg)} }
.cart-count { background: var(--grad); color: var(--on-fire); border-radius: 50px; min-width: 24px; padding: 3px 7px; font-size: .74rem; font-weight: 800; text-align: center; }
.cart-total { padding-right: 5px; }

/* ── PÍLULA DO PEDIDO ATIVO ── */
.live-pill { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 170;
  display: inline-flex; align-items: center; gap: 9px; max-width: calc(100% - 32px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: var(--bg-3); color: var(--ink); border: 1px solid var(--fire); border-radius: 50px; padding: 11px 18px; font-size: .84rem; font-weight: 700; box-shadow: var(--shadow), var(--glow); transition: bottom .35s var(--spring); }
body.has-ticket .live-pill { bottom: calc(96px + env(safe-area-inset-bottom)); }
.live-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--fire); box-shadow: 0 0 0 4px color-mix(in srgb, var(--fire) 25%, transparent); animation: pulse 1.4s infinite; flex-shrink: 0; }
.live-pill.alert { background: var(--ember); border-color: var(--gold); }
.live-pill.alert .dot { background: var(--gold-2); }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }

/* ── HERO ── */
.hero { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 22px 18px 6px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 7px; flex-wrap: wrap; border: 1px solid var(--line-2); color: var(--ink-2); background: color-mix(in srgb, var(--bg-2) 60%, transparent); border-radius: 50px; padding: 7px 14px; font-size: .74rem; font-weight: 600; margin-bottom: 20px; }
.hero-eyebrow b { color: var(--ink); }
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 3px rgba(123,199,90,.2); animation: pulse 1.8s infinite; }
.hero-eyebrow.closed .dot { background: var(--ink-3); box-shadow: none; animation: none; }
.closed-note { margin: -8px 0 18px; font-size: .84rem; color: var(--ink-2); line-height: 1.5; background: var(--bg-2); border: 1px dashed var(--line-2); border-radius: 14px; padding: 10px 14px; }
.closed-note b { color: var(--gold); }

.hero-main { display: grid; grid-template-columns: 1fr; gap: 4px; }
.hero-title { font-family: var(--f-display); font-weight: 800; font-size: clamp(3rem, 16vw, 5rem); line-height: .9; letter-spacing: -.045em; margin-bottom: 18px; }
.hero-title span { display: block; }
.hero-title .accent { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; font-size: 1.12em; line-height: .95;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; width: max-content; max-width: 100%; padding-right: .08em; position: relative; }
.hero-title .accent::after { content: ''; position: absolute; left: 2px; right: 8px; bottom: .02em; height: .07em; border-radius: 50px; background: var(--grad); opacity: .9; transform: rotate(-.6deg); }
.hero-sub { font-size: 1rem; color: var(--ink-2); line-height: 1.6; max-width: 440px; margin-bottom: 24px; }

.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-cta { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; background: var(--grad); color: var(--on-fire); border-radius: 50px; padding: 15px 28px; font-size: 1rem; font-weight: 800; box-shadow: var(--glow); transition: transform var(--spring), box-shadow .3s; }
.hero-cta .arr { transition: transform .3s; }
.hero-cta:hover { transform: translateY(-3px); box-shadow: 0 16px 40px color-mix(in srgb, var(--fire) 50%, transparent); }
.hero-cta:hover .arr { transform: translateX(5px); }
.hero-cta:active { transform: scale(.97); }
.hero-facts { list-style: none; display: flex; gap: 16px; }
.hero-facts li { display: flex; flex-direction: column; line-height: 1.15; }
.hero-facts b { font-family: var(--f-display); font-weight: 700; font-size: .98rem; color: var(--ink); white-space: nowrap; }
.hero-facts span { font-size: .68rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }

/* arco com o destaque */
.hero-visual { position: relative; width: 236px; margin: 38px auto 8px; }
.hero-visual::before { content: ''; position: absolute; inset: 18% -18% -8%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--fire) 55%, transparent), transparent 65%); filter: blur(28px); z-index: -1; animation: flicker 3.2s ease-in-out infinite; }
@keyframes flicker { 0%,100%{opacity:.85; transform: scale(1)} 40%{opacity:1; transform: scale(1.04)} 70%{opacity:.75; transform: scale(.98)} }
.hero-arch { display: block; position: relative; width: 100%; aspect-ratio: 3/3.7; border-radius: 200px 200px 26px 26px; overflow: hidden;
  border: 4px solid var(--bg-3); background: radial-gradient(circle at 50% 75%, color-mix(in srgb, var(--fire) 28%, var(--bg)), var(--bg-2) 70%);
  box-shadow: var(--shadow), 0 0 0 1px var(--gold), inset 0 0 0 1px var(--line); animation: floaty 6.5s ease-in-out infinite; }
.hero-arch::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 -50px 60px color-mix(in srgb, var(--bg) 55%, transparent); pointer-events: none; }
.hero-arch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-art { position: absolute; inset: 0; display: grid; place-items: center; }
.hero-art svg { width: 78%; height: auto; filter: drop-shadow(0 18px 24px rgba(0,0,0,.5)); }
@keyframes floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.hero-chip { position: absolute; z-index: 3; background: var(--bg-3); color: var(--ink); border: 1px solid var(--line-2); border-radius: 50px; padding: 9px 14px; font-size: .74rem; font-weight: 700; white-space: nowrap; box-shadow: var(--shadow-sm); }
.hero-chip b { color: var(--gold); }
.hero-chip.c1 { top: 28px; right: -26px; transform: rotate(4deg); animation: floaty 6.5s ease-in-out infinite .6s; }
.hero-chip.c2 { bottom: 38px; left: -30px; transform: rotate(-4deg); animation: floaty 6.5s ease-in-out infinite 1.4s; max-width: 250px; overflow: hidden; text-overflow: ellipsis; }

.hero-strip-wrap { width: 100%; overflow: hidden; margin-top: 30px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.hero-strip { display: flex; gap: 12px; width: max-content; animation: slide 36s linear infinite; }
.hero-strip:hover { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.hero-strip button { flex-shrink: 0; }
.hero-strip img { width: 88px; height: 88px; object-fit: cover; border-radius: 18px; border: 1px solid var(--line-2); display: block; background: var(--bg-3); }

/* ── REPETIR O DE SEMPRE ── */
.again { max-width: calc(var(--maxw) - 36px); margin: 18px auto 0; display: flex; align-items: center; gap: 12px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 20px; padding: 12px 12px 12px 14px; }
@media (max-width: 676px) { .again { margin: 18px 18px 0; } }
.again-emoji { font-size: 1.6rem; }
.again-text { flex: 1; min-width: 0; font-size: .82rem; color: var(--ink-2); line-height: 1.35; }
.again-text b { display: block; color: var(--ink); font-size: .9rem; }
.again-text span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.again-btn { background: var(--grad); color: var(--on-fire); border-radius: 50px; padding: 10px 16px; font-weight: 800; font-size: .84rem; min-height: 44px; }

/* ── CATEGORIAS ── */
.cat-nav { position: sticky; top: var(--hdr); z-index: 150; margin-top: 22px; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cat-nav-inner { display: flex; gap: 8px; padding: 11px 18px; overflow-x: auto; scrollbar-width: none; max-width: var(--maxw); margin: 0 auto; }
.cat-nav-inner::-webkit-scrollbar { display: none; }
.cat-pill { flex-shrink: 0; min-height: 40px; padding: 9px 16px; border-radius: 50px; border: 1px solid var(--line-2); font-size: .84rem; font-weight: 700; color: var(--ink-2); white-space: nowrap; transition: all .22s; }
.cat-pill:hover { color: var(--ink); border-color: var(--ink-3); }
.cat-pill.active { background: var(--grad); color: var(--on-fire); border-color: transparent; box-shadow: var(--glow); }
.frete-sticky { max-width: var(--maxw); margin: 0 auto; padding: 0 18px; max-height: 0; overflow: hidden; transition: max-height .4s, padding .4s; }
.frete-sticky.show { max-height: 70px; padding: 0 18px 10px; }
.frete-sticky .frete { margin: 0; padding: 8px 12px; }

/* frete (usado na barra e no pedido) */
.frete { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 11px 14px; margin: 14px 0; }
.frete-txt { font-size: .78rem; font-weight: 700; margin-bottom: 7px; }
.frete-txt b { color: var(--gold); }
.frete-track { height: 7px; background: var(--bg-4); border-radius: 50px; overflow: hidden; }
.frete-track i { display: block; height: 100%; background: var(--grad); border-radius: 50px; transition: width .6s var(--spring); }

/* ── CARDÁPIO ── */
.menu { max-width: var(--maxw); margin: 0 auto; padding: 28px 18px 140px; }
.menu-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.menu-kicker { font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; color: var(--gold); font-weight: 700; display: block; margin-bottom: 6px; }
.menu-head h2 { font-family: var(--f-display); font-weight: 800; font-size: 2.1rem; letter-spacing: -.035em; line-height: 1; }
.menu-head h2 em { font-family: var(--f-serif); font-weight: 400; font-size: 1.15em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.menu-count { font-size: .72rem; color: var(--ink-2); font-weight: 600; background: var(--bg-2); border: 1px solid var(--line); padding: 6px 12px; border-radius: 50px; white-space: nowrap; }

.cat-sec { padding-top: 26px; scroll-margin-top: 140px; }
.cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px dashed var(--line-2); }
.cat-head h3 { font-family: var(--f-display); font-weight: 800; font-size: 1.4rem; letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; }
.cat-head > span { font-size: .74rem; color: var(--ink-3); font-weight: 600; white-space: nowrap; }

.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.product-card { position: relative; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: pointer; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform var(--spring), box-shadow .3s, border-color .25s; animation: fadeUp .55s both; }
@keyframes fadeUp { from{opacity:0;transform:translateY(18px)} to{opacity:1;transform:translateY(0)} }
.product-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--fire-2) 45%, transparent); box-shadow: var(--shadow), 0 0 0 1px color-mix(in srgb, var(--fire) 15%, transparent); }
.product-card:active { transform: scale(.98); }
.product-card.off { opacity: .5; filter: grayscale(.6); }
.product-img-wrap { position: relative; aspect-ratio: 1/1; overflow: hidden; margin: 7px 7px 0; border-radius: 18px; background: radial-gradient(circle at 50% 70%, color-mix(in srgb, var(--fire) 22%, var(--bg)), var(--bg-3) 75%); }
.product-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--spring); }
.product-card:hover .product-img { transform: scale(1.07); }
.art { width: 100%; height: 100%; display: grid; place-items: center; }
.art .burger-art { width: 70%; height: auto; filter: drop-shadow(0 10px 14px rgba(0,0,0,.45)); }
.badge { position: absolute; top: 8px; left: 8px; z-index: 2; border-radius: 50px; padding: 5px 10px; font-size: .66rem; font-weight: 800; background: var(--bg-3); color: var(--ink); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); }
.badge.hot { background: var(--grad); color: var(--on-fire); border-color: transparent; }
.badge.gold { background: var(--gold); color: #2A1806; border-color: transparent; }
.badge.dark { background: color-mix(in srgb, var(--bg) 70%, #000); color: var(--gold-2); border-color: var(--gold); }
.badge.leaf { background: var(--leaf); color: #10240A; border-color: transparent; }
.badge.off { background: color-mix(in srgb, var(--bg) 70%, #000); color: var(--ink-2); }

.product-info { padding: 11px 13px 13px; display: flex; flex-direction: column; flex: 1; }
.product-name { font-family: var(--f-display); font-size: 1.04rem; font-weight: 700; line-height: 1.12; margin-bottom: 5px; letter-spacing: -.015em; }
.product-desc { font-size: .75rem; color: var(--ink-3); line-height: 1.45; flex: 1; margin-bottom: 11px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-desc b { color: var(--ink-2); font-weight: 700; }
.product-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; }
.price-wrap { display: flex; flex-direction: column; line-height: 1.05; }
.price-from { font-size: .6rem; color: var(--fire-2); text-transform: uppercase; letter-spacing: .07em; font-weight: 700; margin-bottom: 2px; }
.product-price { font-family: var(--f-display); font-size: 1.32rem; font-weight: 800; color: var(--gold-2); letter-spacing: -.02em; }
.product-price small { font-size: .62em; margin-right: 2px; font-weight: 700; color: var(--gold); }
.add-btn { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: var(--on-fire); font-size: 1.4rem; font-weight: 800; line-height: 1; flex-shrink: 0; display: grid; place-items: center; box-shadow: var(--glow); transition: transform var(--spring); }
.add-btn.in { font-size: .9rem; background: var(--ink); color: var(--bg); box-shadow: none; }
.add-btn:active { transform: scale(.82) rotate(90deg); }

/* card destaque (capa larga) */
.product-card.feat { grid-column: 1 / -1; flex-direction: row; align-items: stretch; background: linear-gradient(135deg, color-mix(in srgb, var(--fire) 12%, var(--bg)), var(--bg-2) 60%); border-color: color-mix(in srgb, var(--gold) 40%, transparent); }
.product-card.feat::before { content: ''; position: absolute; inset: auto -40px -60px auto; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--fire) 35%, transparent), transparent 70%); pointer-events: none; }
.product-card.feat .product-img-wrap { width: 46%; aspect-ratio: auto; min-height: 190px; margin: 9px; flex-shrink: 0; }
.product-card.feat .product-info { padding: 16px 14px 14px 4px; position: relative; }
.feat-kicker { font-family: var(--f-serif); font-style: italic; font-size: .95rem; color: var(--gold); margin-bottom: 4px; }
.product-card.feat .product-name { font-size: 1.45rem; }
.product-card.feat .product-desc { -webkit-line-clamp: 3; font-size: .8rem; flex: 0 1 auto; }
.product-card.feat .product-price { font-size: 1.6rem; }

/* bebidas */
.fridge { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bev { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; padding: 12px 6px 11px; text-align: center; transition: transform .2s, border-color .2s; min-height: 44px; }
.bev:hover { border-color: color-mix(in srgb, var(--fire-2) 45%, transparent); }
.bev:active { transform: scale(.95); }
.bev-name { font-size: .72rem; font-weight: 600; line-height: 1.2; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bev-price { font-family: var(--f-display); font-weight: 800; font-size: .92rem; color: var(--gold-2); }
.bev-qty { position: absolute; top: 6px; right: 6px; z-index: 2; min-width: 24px; height: 24px; border-radius: 50px; background: var(--grad); color: var(--on-fire); font-size: .74rem; font-weight: 800; display: grid; place-items: center; padding: 0 6px; }
/* lata / garrafa desenhada */
.can { position: relative; width: 38px; height: 62px; border-radius: 8px 8px 6px 6px; background: linear-gradient(90deg, rgba(0,0,0,.25), transparent 30%, rgba(255,255,255,.25) 50%, transparent 70%, rgba(0,0,0,.25)), var(--c); display: grid; place-items: center; box-shadow: 0 6px 12px rgba(0,0,0,.4); }
.can::before { content: ''; position: absolute; top: -4px; left: 4px; right: 4px; height: 5px; border-radius: 4px 4px 0 0; background: #BFBFBF; }
.can span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: .56rem; font-weight: 800; color: var(--c2); letter-spacing: .02em; white-space: nowrap; max-height: 54px; overflow: hidden; }
.can.ks, .can.pet { width: 30px; height: 70px; border-radius: 12px 12px 6px 6px; }
.can.pet2 { width: 40px; height: 76px; border-radius: 14px 14px 8px 8px; }
.can.box { width: 40px; height: 60px; border-radius: 4px; }
.can.tall { width: 32px; height: 72px; }
.can.photo { width: 62px; height: 72px; background: none; box-shadow: none; }
.can.photo::before { display: none; }
.can.photo img { width: 100%; height: 100%; object-fit: contain; }

.empty { text-align: center; color: var(--ink-3); padding: 40px 10px; font-size: .9rem; line-height: 1.6; }
.empty b { display: block; color: var(--ink); font-family: var(--f-display); font-size: 1.2rem; margin-bottom: 4px; }
.empty .em { font-size: 3rem; margin-bottom: 10px; }
.skeleton { height: 210px; border-radius: var(--radius); margin-top: 14px; background: linear-gradient(90deg, var(--bg-2), var(--bg-3), var(--bg-2)); background-size: 200% 100%; animation: sk 1.3s infinite; }
@keyframes sk { to { background-position: -200% 0; } }

/* ── RODAPÉ ── */
.footer { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 40px 18px calc(120px + env(safe-area-inset-bottom)); text-align: center; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .8rem; line-height: 1.7; }
.footer img { border-radius: 50%; box-shadow: 0 0 0 2px var(--gold), var(--glow); margin-bottom: 12px; }
.footer-name { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 6px; }
.footer-sub { margin-top: 10px; font-size: .72rem; }
.gear { position: absolute; right: 18px; bottom: calc(120px + env(safe-area-inset-bottom)); color: var(--ink-3); text-decoration: none; font-size: 1.1rem; opacity: .5; padding: 10px; }

/* ── BARRA FLUTUANTE ── */
.floating-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 160; padding: 10px 16px calc(14px + env(safe-area-inset-bottom)); transform: translateY(140%); transition: transform .4s var(--spring); pointer-events: none; }
.floating-bar.show { transform: translateY(0); pointer-events: auto; }
.floating-bar.bump .floating-btn { animation: shake .5s; }
.floating-btn { width: 100%; max-width: var(--maxw); margin: 0 auto; min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--grad); color: var(--on-fire); border-radius: 18px; padding: 14px 18px; font-size: .92rem; font-weight: 800; box-shadow: 0 18px 40px rgba(0,0,0,.55), var(--glow); }
.floating-btn .fb-count { background: color-mix(in srgb, var(--on-fire) 16%, transparent); border-radius: 50px; padding: 4px 11px; font-size: .78rem; white-space: nowrap; }
.floating-btn .mid { flex: 1; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fb-total { white-space: nowrap; }

/* ── GAVETA ── */
.scrim { position: fixed; inset: 0; z-index: 400; background: color-mix(in srgb, var(--bg) 62%, transparent); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrim.open { opacity: 1; pointer-events: auto; }
.sheet { position: fixed; left: 50%; bottom: 0; z-index: 410; width: 100%; max-width: var(--maxw); max-height: 92vh; max-height: 92dvh; display: flex; flex-direction: column;
  transform: translate(-50%, 102%); transition: transform .45s var(--spring); background: var(--bg); border: 1px solid var(--line-2); border-bottom: 0; border-radius: 28px 28px 0 0; box-shadow: 0 -20px 60px rgba(0,0,0,.6); visibility: hidden; }
.sheet.open { transform: translate(-50%, 0); visibility: visible; }
.sheet-grip { width: 44px; height: 5px; border-radius: 50px; background: var(--line-2); margin: 10px auto 2px; flex-shrink: 0; }
.sheet-body { overflow-y: auto; overscroll-behavior: contain; padding: 0 18px calc(18px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; min-height: 0; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0 14px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.sheet-head h3 { font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; flex: 1; }
.x-btn { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-3); border: 1px solid var(--line-2); color: var(--ink-2); font-size: 1rem; display: grid; place-items: center; flex-shrink: 0; transition: color .2s, border-color .2s; }
.x-btn:hover { color: var(--ink); border-color: var(--ink-3); }

/* botões */
.btn { width: 100%; min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--grad); color: var(--on-fire); border-radius: 16px; padding: 15px 20px; font-size: 1rem; font-weight: 800; box-shadow: var(--glow); transition: transform .15s, opacity .2s; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.btn.center { justify-content: center; }
.btn.ghost { background: transparent; color: var(--ink-2); border: 1px solid var(--line-2); box-shadow: none; font-weight: 700; }
.btn.ghost:hover { color: var(--ink); border-color: var(--ink-3); }
.btn.dark { background: var(--ink); color: var(--bg); box-shadow: none; }
.btn.wait { background: var(--bg-4); color: var(--ink-2); box-shadow: none; }
.btn.wa { background: #1FAF55; color: #fff; box-shadow: none; cursor: pointer; }
.btn.busy { opacity: .7; pointer-events: none; }
.actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }

/* item */
.sheet[data-kind="item"] .sheet-grip { position: absolute; left: 50%; transform: translateX(-50%); top: 0; z-index: 3; background: rgba(255,255,255,.4); }
.sheet[data-kind="item"] .sheet-body { padding-top: 0; }
.it-media { position: relative; margin: 0 -18px; aspect-ratio: 16/11; max-height: 300px; overflow: hidden; border-radius: 28px 28px 0 0; background: radial-gradient(circle at 50% 70%, color-mix(in srgb, var(--fire) 28%, var(--bg)), var(--bg-3) 70%); flex-shrink: 0; }
.it-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.it-media .art .burger-art { width: 52%; }
.it-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, var(--bg)); pointer-events: none; }
.it-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(8px); color: var(--ink); border: 1px solid var(--line-2); font-size: 1rem; }
.it-price { position: absolute; left: 16px; bottom: 14px; z-index: 2; font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; background: var(--grad); color: var(--on-fire); border-radius: 50px; padding: 7px 14px; box-shadow: var(--glow); }
.it-body { padding-top: 6px; }
.it-name { font-family: var(--f-display); font-weight: 800; font-size: 1.65rem; letter-spacing: -.03em; line-height: 1.05; }
.it-desc { font-size: .86rem; color: var(--ink-2); margin-top: 6px; line-height: 1.5; }
.block-title { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); font-weight: 800; margin: 20px 0 10px; display: flex; justify-content: space-between; gap: 10px; }
.block-title span { color: var(--fire-2); }
.block-title span.req { color: var(--gold); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-2); background: var(--bg-2); border-radius: 50px; padding: 9px 14px; font-size: .82rem; font-weight: 600; color: var(--ink); transition: all .2s; }
.chip:hover { border-color: var(--ink-3); }
.chip.removed { text-decoration: line-through; color: var(--ink-3); border-style: dashed; background: transparent; }
.chip.fixed { cursor: default; opacity: .75; }
.chip.add-on { text-transform: none; }
.chip small { color: var(--gold); font-weight: 700; }
.chip.add-on.on { background: var(--grad); color: var(--on-fire); border-color: transparent; }
.chip.add-on.on small { color: var(--on-fire); }

.upgrade { width: 100%; margin-top: 20px; display: flex; align-items: center; gap: 12px; text-align: left; background: linear-gradient(135deg, color-mix(in srgb, var(--fire) 12%, transparent), color-mix(in srgb, var(--gold) 8%, transparent)); border: 1.5px dashed color-mix(in srgb, var(--fire-2) 60%, transparent); border-radius: 18px; padding: 14px; transition: all .25s; }
.upgrade.on { border-style: solid; border-color: var(--fire); background: linear-gradient(135deg, color-mix(in srgb, var(--fire) 25%, transparent), color-mix(in srgb, var(--gold) 15%, transparent)); }
.upgrade-ico { font-size: 1.5rem; }
.upgrade-txt { flex: 1; font-size: .8rem; color: var(--ink-2); line-height: 1.35; }
.upgrade-txt small { display: block; color: var(--gold); font-weight: 800; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; }
.upgrade-txt b { display: block; color: var(--ink); font-family: var(--f-display); font-size: 1.05rem; margin: 2px 0; }
.upgrade-txt em { font-style: normal; color: var(--fire-2); font-weight: 700; margin-right: 4px; }
.switch { width: 44px; height: 26px; border-radius: 50px; background: var(--bg-4); position: relative; flex-shrink: 0; transition: background .25s; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); transition: transform .25s var(--spring); }
.upgrade.on .switch { background: var(--fire); }
.upgrade.on .switch::after { transform: translateX(18px); }

.ops-sec { font-size: .74rem; font-weight: 700; color: var(--gold); margin: 12px 0 6px; }
.op { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin-bottom: 8px; min-height: 52px; transition: border-color .2s, background .2s; }
.op img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.op.on { border-color: var(--fire); background: color-mix(in srgb, var(--fire) 10%, transparent); }
.op.dim { opacity: .45; }
.op-txt { flex: 1; font-size: .86rem; }
.op-txt small { display: block; color: var(--ink-3); font-size: .74rem; margin-top: 2px; }
.op-pr { font-size: .78rem; font-weight: 700; color: var(--gold); white-space: nowrap; }
.op-mark { width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--line-2); flex-shrink: 0; transition: all .2s; }
.op-mark.radio { border-radius: 50%; }
.op.on .op-mark { background: var(--fire); border-color: var(--fire); box-shadow: inset 0 0 0 3px var(--bg-2); }

.obs-toggle { margin-top: 18px; color: var(--fire-2); font-weight: 700; font-size: .84rem; padding: 8px 0; text-align: left; }
.field { width: 100%; border: 1px solid var(--line-2); border-radius: 14px; padding: 14px 15px; font-size: 16px; color: var(--ink); background: var(--bg-2); margin-bottom: 10px; transition: border-color .2s, box-shadow .2s; resize: vertical; }
textarea.field { min-height: 76px; }
.field::placeholder { color: var(--ink-3); }
.field:focus { outline: none; border-color: var(--fire); box-shadow: 0 0 0 3px color-mix(in srgb, var(--fire) 18%, transparent); }

.it-foot { position: sticky; bottom: calc(-18px - env(safe-area-inset-bottom)); margin: 18px -18px calc(-18px - env(safe-area-inset-bottom)); padding: 12px 18px calc(16px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; background: color-mix(in srgb, var(--bg-2) 94%, transparent); backdrop-filter: blur(12px); border-top: 1px solid var(--line); z-index: 2; }
.it-foot .btn { flex: 1; }
.qty { display: flex; align-items: center; gap: 4px; background: var(--bg-3); border: 1px solid var(--line-2); border-radius: 14px; padding: 4px; flex-shrink: 0; }
.qty button { width: 40px; height: 44px; border-radius: 10px; font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.qty button:active { background: var(--bg-4); }
.qty span { min-width: 22px; text-align: center; font-weight: 800; }
.qty.sm { border-radius: 50px; padding: 2px; }
.qty.sm button { width: 34px; height: 34px; border-radius: 50%; font-size: 1rem; }
.qty.sm span { min-width: 18px; font-size: .9rem; }

/* upsell */
.up-head { text-align: center; padding: 14px 0 18px; }
.up-head small { display: inline-block; font-size: .74rem; font-weight: 700; color: var(--leaf); background: rgba(123,199,90,.12); border-radius: 50px; padding: 5px 12px; }
.up-head h3 { font-family: var(--f-display); font-weight: 800; font-size: 2rem; line-height: 1; letter-spacing: -.035em; margin: 14px 0 8px; }
.up-head h3 em { font-family: var(--f-serif); font-weight: 400; font-size: 1.12em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.up-head p { font-size: .86rem; color: var(--ink-2); }
.up-fridge { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.deal { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; margin-top: 14px; background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 14%, transparent), color-mix(in srgb, var(--fire) 8%, transparent)); border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); border-radius: 18px; padding: 14px; }
.deal-ico { font-size: 1.8rem; }
.deal-txt { flex: 1; font-size: .8rem; color: var(--ink-2); line-height: 1.4; }
.deal-txt b { display: block; color: var(--ink); font-size: .9rem; }
.deal-txt em { font-style: normal; color: var(--leaf); font-weight: 700; }
.deal-add { font-weight: 800; color: var(--gold-2); white-space: nowrap; font-size: .86rem; }

/* pedido (carrinho) */
.cart-items { display: flex; flex-direction: column; }
.cart-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ci-thumb { width: 58px; height: 58px; border-radius: 14px; overflow: hidden; flex-shrink: 0; background: radial-gradient(circle at 50% 70%, color-mix(in srgb, var(--fire) 22%, var(--bg)), var(--bg-3) 75%); display: grid; place-items: center; }
.ci-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ci-thumb .can { transform: scale(.72); }
.ci-thumb .burger-art { width: 44px; }
.ci-info { flex: 1; min-width: 0; }
.ci-name { font-weight: 700; font-size: .92rem; line-height: 1.25; }
.ci-opts { font-size: .74rem; color: var(--ink-3); margin-top: 3px; line-height: 1.35; }
.ci-price { font-family: var(--f-display); font-weight: 800; color: var(--gold-2); margin-top: 4px; font-size: .95rem; }
.ci-price small { font-family: var(--f-body); font-weight: 600; color: var(--ink-3); font-size: .7rem; }

.sug { display: flex; align-items: center; gap: 12px; margin-top: 12px; background: var(--bg-2); border: 1px dashed color-mix(in srgb, var(--fire-2) 55%, transparent); border-radius: 16px; padding: 12px 14px; }
.sug.wrap { flex-wrap: wrap; }
.sug-ico { font-size: 1.4rem; }
.sug-txt { flex: 1; min-width: 0; font-size: .78rem; color: var(--ink-2); line-height: 1.4; }
.sug-txt b { display: block; color: var(--ink); font-size: .88rem; }
.sug-btn { background: var(--grad); color: var(--on-fire); border-radius: 50px; padding: 9px 14px; font-size: .8rem; font-weight: 800; white-space: nowrap; min-height: 40px; }
.sug-mini { width: 100%; display: flex; gap: 8px; flex-wrap: wrap; }
.sug-mini button { flex: 1 1 auto; min-height: 40px; background: var(--bg-3); border: 1px solid var(--line-2); border-radius: 50px; padding: 8px 12px; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.sug-mini button:hover { border-color: var(--fire); }

.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 4px; }
.opt-grid.three { grid-template-columns: repeat(3, 1fr); }
.opt-box { min-height: 54px; border: 1px solid var(--line-2); background: var(--bg-2); border-radius: 14px; padding: 12px 8px; text-align: center; font-weight: 700; font-size: .86rem; color: var(--ink-2); transition: all .2s; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; }
.opt-box small { font-size: .68rem; font-weight: 600; color: var(--ink-3); }
.opt-box:hover { border-color: var(--ink-3); color: var(--ink); }
.opt-box.on { border-color: var(--fire); color: var(--ink); background: color-mix(in srgb, var(--fire) 12%, transparent); box-shadow: inset 0 0 0 1px var(--fire); }
.opt-box.on small { color: var(--gold); }

.totals { background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; margin-top: 16px; }
.t-row { display: flex; justify-content: space-between; gap: 10px; font-size: .88rem; color: var(--ink-2); padding: 4px 0; }
.t-row .free { color: var(--leaf); font-weight: 700; }
.t-row.total { font-family: var(--f-display); font-weight: 800; color: var(--ink); font-size: 1.25rem; padding-top: 11px; margin-top: 7px; border-top: 1px dashed var(--line-2); }
.t-row.total span:last-child { color: var(--gold-2); }

/* checkout */
.co-sec { margin-bottom: 4px; }
.co-grid { display: grid; grid-template-columns: 1fr 88px; gap: 10px; margin-top: 10px; }
.co-sec .opt-grid + .field, .co-sec .opt-grid ~ .co-grid { margin-top: 10px; }
.co-note { font-size: .8rem; color: var(--ink-2); line-height: 1.5; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 11px 14px; margin-top: 10px; }
.co-note b { color: var(--ink); }
.co-err { color: #FF8A6B; font-weight: 700; font-size: .86rem; margin-top: 12px; min-height: 1px; }
.dup, .closed-banner { font-size: .84rem; line-height: 1.5; border-radius: 14px; padding: 12px 14px; margin-bottom: 8px; }
.dup { background: color-mix(in srgb, var(--gold) 12%, transparent); border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); }
.dup button { color: var(--gold); font-weight: 800; text-decoration: underline; }
.closed-banner { background: var(--bg-2); border: 1px dashed var(--line-2); color: var(--ink-2); }
.geo { margin-top: 2px; }
.geo-st { font-size: .8rem; color: var(--ink-2); line-height: 1.5; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 11px 14px; }
.geo-st b { color: var(--gold-2); }
.geo-st small { display: block; color: var(--ink-3); font-size: .72rem; }
.geo-st.ok { border-color: rgba(123,199,90,.4); }
.geo-st.warn { border-color: color-mix(in srgb, var(--fire-2) 50%, transparent); }
.geo-btn { margin-top: 8px; color: var(--fire-2); font-weight: 700; font-size: .84rem; padding: 8px 0; min-height: 40px; }

/* acompanhamento */
.track { text-align: center; padding: 18px 0 4px; }
.track-emoji { font-size: 3.4rem; }
.track-emoji.pop { animation: pop .6s var(--spring); }
@keyframes pop { 0%{transform:scale(0)} 60%{transform:scale(1.2)} 100%{transform:scale(1)} }
.track-title { font-family: var(--f-display); font-weight: 800; font-size: 1.8rem; letter-spacing: -.03em; margin-top: 6px; }
.track-num { font-family: var(--f-serif); font-style: italic; font-size: 2.6rem; line-height: 1.1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.track > p { font-size: .88rem; color: var(--ink-2); line-height: 1.5; margin: 6px auto 0; max-width: 340px; }
.track > p a { color: var(--gold); }
.steps { list-style: none; text-align: left; margin: 22px 0 0; position: relative; }
.steps::before { content: ''; position: absolute; left: 19px; top: 20px; bottom: 20px; width: 2px; background: var(--line-2); }
.steps li { position: relative; display: flex; align-items: center; gap: 14px; padding: 8px 0; font-weight: 600; color: var(--ink-3); font-size: .92rem; }
.steps li i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-style: normal; background: var(--bg-3); border: 1px solid var(--line-2); flex-shrink: 0; z-index: 1; }
.steps li.done { color: var(--ink-2); }
.steps li.done i { background: var(--leaf); color: #10240A; border-color: transparent; font-weight: 800; }
.steps li.now { color: var(--ink); font-weight: 800; }
.steps li.now i { background: var(--grad); border-color: transparent; box-shadow: var(--glow); animation: pulse 1.6s infinite; }
.track-items { text-align: left; margin-top: 18px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; font-size: .84rem; color: var(--ink-2); line-height: 1.6; }
.track-items b { display: block; color: var(--gold-2); font-family: var(--f-display); font-size: 1.05rem; margin-top: 6px; }

/* PIX */
.pix { margin-top: 18px; background: var(--bg-2); border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); border-radius: 20px; padding: 16px; text-align: center; }
.pix h4 { font-family: var(--f-display); font-weight: 800; font-size: 1.2rem; margin: 10px 0 4px; }
.pix > p { font-size: .82rem; color: var(--ink-2); line-height: 1.5; }
.pix-steps { list-style: none; display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.pix-steps li { font-size: .68rem; font-weight: 700; color: var(--ink-3); background: var(--bg-3); border-radius: 50px; padding: 5px 10px; }
.pix-steps li.now { background: var(--grad); color: var(--on-fire); }
.pix-steps li.ok { background: var(--leaf); color: #10240A; }
.pix-qr { width: 210px; max-width: 100%; margin: 14px auto; background: #fff; border-radius: 16px; padding: 12px; }
.pix-qr svg { width: 100%; height: auto; display: block; }
.pix-val { font-family: var(--f-display); font-weight: 800; font-size: 1.9rem; color: var(--gold-2); margin-top: 8px; }
.pix-to { font-size: .76rem; color: var(--ink-3); margin: 2px 0 12px; word-break: break-word; }
.pix .btn { margin-top: 8px; }
.pix-ok { display: block; margin-top: 10px; font-weight: 700; color: var(--leaf); font-size: .86rem; }
.pix-wait { color: var(--ink-2); font-weight: 600; line-height: 1.5; }
.pix-hint { font-size: .74rem; color: var(--ink-3); margin-top: 8px; }
.pix-link { display: inline-block; margin-top: 10px; color: var(--gold); font-weight: 700; font-size: .82rem; text-decoration: underline; cursor: pointer; padding: 6px; }

/* ── TOAST / +1 ── */
.toast { position: fixed; left: 50%; bottom: calc(100px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); z-index: 800; background: var(--ink); color: var(--bg); border-radius: 50px; padding: 12px 20px; font-size: .85rem; font-weight: 800; opacity: 0; transition: all .35s var(--spring); pointer-events: none; white-space: nowrap; max-width: calc(100% - 32px); overflow: hidden; text-overflow: ellipsis; box-shadow: var(--shadow); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.fly { position: fixed; top: 0; left: 0; z-index: 900; width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: var(--on-fire); font-weight: 800; font-size: .8rem; display: grid; place-items: center; pointer-events: none; opacity: 0; box-shadow: var(--glow); }

/* ── TELAS MAIORES ── */
@media (min-width: 480px) {
  .hero-title { font-size: 4.6rem; }
  .fridge { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 720px) {
  :root { --maxw: 980px; }
  .hero { padding-top: 44px; }
  .hero-main { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 28px; }
  .hero-title { font-size: 5.6rem; }
  .hero-visual { margin: 0 auto; width: 280px; }
  .products-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .fridge { grid-template-columns: repeat(6, 1fr); }
  .product-card.feat .product-img-wrap { width: 40%; min-height: 240px; }
  .product-card.feat .product-name { font-size: 1.9rem; }
  /* gaveta vira painel lateral no computador */
  .sheet { left: auto; right: 0; top: 0; bottom: 0; width: 460px; max-width: 100%; max-height: none; border-radius: 0; border: 0; border-left: 1px solid var(--line-2); transform: translateX(102%); }
  .sheet.open { transform: translateX(0); }
  .sheet-grip { display: none; }
  .sheet-body { flex: 1; padding-top: 14px; }
  .sheet[data-kind="item"] .sheet-body { padding-top: 0; }
  .it-media { border-radius: 0; }
  .floating-btn { max-width: 520px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ── cupom (bloco gerado pelo motor) ── */
.cupom-campo { display: flex; gap: 8px; }
.cupom-campo .field { flex: 1; text-transform: uppercase; }
.cupom-btn, .cupom-tirar { border-radius: 14px; padding: 0 16px; font-weight: 700; background: var(--bg-3); color: var(--gold-2); border: 1px solid var(--line-2); min-height: 44px; }
.cupom-ok { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--leaf) 14%, transparent); border: 1px solid color-mix(in srgb, var(--leaf) 40%, transparent); }
.cupom-tirar { min-height: 36px; padding: 0 12px; }
.cupom-erro { color: #FF8A6B; font-weight: 700; font-size: .86rem; margin-top: 8px; }
.t-row.desconto span:last-child { color: var(--leaf); font-weight: 700; }
