/* ═══════════════════════════════════════════════════════════
   TEMPLATE "BOTECO" · Cardápio Digital
   Preto e amarelo: faixa de fotos com preço logo abaixo do
   topo, selo da casa, título serifado, números da casa em
   amarelo condensado, destaque em cartão largo e lista de
   produtos com a foto à direita.
   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 {
  --bg:    #0B0B0B;
  --bg-2:  color-mix(in srgb, var(--bg) 93%, var(--ink));
  --bg-3:  color-mix(in srgb, var(--bg) 87%, var(--ink));
  --bg-4:  color-mix(in srgb, var(--bg) 80%, var(--ink));
  --ink:   #FFFFFF;
  --ink-2: color-mix(in srgb, var(--ink) 70%, transparent);
  --ink-3: color-mix(in srgb, var(--ink) 44%, transparent);
  --line:  color-mix(in srgb, var(--ink) 9%, transparent);
  --line-2:color-mix(in srgb, var(--fire) 34%, transparent);
  /* amarelo de boteco */
  --fire:   #FFC400;
  --fire-2: #FF9F1C;
  --gold:   var(--fire);
  --gold-2: color-mix(in srgb, var(--fire) 75%, #fff);
  --ember:  #C62828;
  --leaf:   #4CC36B;
  --on-fire:#111111;
  --grad:      var(--fire);
  --grad-text: linear-gradient(100deg, var(--fire), var(--fire));
  --glow:      0 10px 30px color-mix(in srgb, var(--fire) 30%, transparent);

  --shadow:    0 22px 56px rgba(0,0,0,.65);
  --shadow-sm: 0 10px 24px rgba(0,0,0,.45);

  --radius: 16px;
  --maxw:   620px;
  --hdr:    72px;

  --f-display: 'DM Serif Display', Georgia, serif;
  --f-serif:   var(--f-display);
  --f-label:   'Oswald', Impact, sans-serif;
  --f-body:    'Inter', system-ui, sans-serif;
  --spring: 420ms 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(--fire); outline-offset: 2px; }

/* ── FUNDO: pontinhos de luz ── */
.fx { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.fx-glow { position: absolute; border-radius: 50%; filter: blur(90px); }
.fx-glow.g1 { width: 420px; height: 360px; top: 260px; left: 50%; transform: translateX(-50%); background: color-mix(in srgb, var(--fire) 10%, transparent); }
.fx-glow.g2 { width: 380px; height: 380px; bottom: -200px; right: -160px; background: color-mix(in srgb, var(--fire-2) 9%, transparent); }
.fx-grain { position: absolute; inset: 0; opacity: .35;
  background-image: radial-gradient(color-mix(in srgb, var(--fire) 40%, transparent) 1px, transparent 1.4px); background-size: 46px 46px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }

/* ── HEADER ── */
.header { position: sticky; top: 0; z-index: 200; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); 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: 12px; flex-shrink: 0; overflow: hidden; box-shadow: 0 0 0 2px var(--fire); }
.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-label); font-weight: 700; font-size: 1.25rem; line-height: 1; letter-spacing: .08em; text-transform: uppercase; color: var(--fire); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo-sub { display: block; font-family: var(--f-label); font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-btn { display: flex; align-items: center; gap: 7px; flex-shrink: 0; min-height: 44px; border: 1.5px solid var(--fire); color: var(--fire); border-radius: 50px; padding: 6px 8px 6px 12px; font-family: var(--f-label); font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; transition: transform .15s, background .2s; }
.cart-btn:hover { background: color-mix(in srgb, var(--fire) 10%, transparent); }
.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(--fire); color: var(--on-fire); border-radius: 50px; min-width: 24px; padding: 3px 7px; font-family: var(--f-body); font-size: .74rem; font-weight: 800; text-align: center; letter-spacing: 0; }
.cart-total { display: none; }
@media (min-width: 400px) { .cart-total { display: inline; padding-right: 5px; } .cart-word { display: none; } }

/* ── 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: 1.5px solid var(--fire); border-radius: 50px; padding: 11px 18px; font-size: .84rem; font-weight: 700; box-shadow: var(--shadow); 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); animation: pulse 1.4s infinite; flex-shrink: 0; }
.live-pill.alert { background: var(--ember); border-color: var(--fire); }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }

/* ── FAIXA DE FOTOS COM PREÇO (logo abaixo do topo) ── */
.hero-strip-wrap { width: 100%; overflow: hidden; border-bottom: 1px solid var(--line-2); background: #000; }
.hero-strip { display: flex; gap: 2px; width: max-content; animation: slide 46s linear infinite; }
.hero-strip:hover { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.hero-strip button { position: relative; flex-shrink: 0; width: 170px; height: 112px; overflow: hidden; }
.hero-strip img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(1.1) brightness(.82); }
.strip-tag { position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 16px); background: color-mix(in srgb, #000 72%, transparent); border: 1px solid var(--line-2); color: var(--fire); border-radius: 50px; padding: 4px 10px; font-family: var(--f-label); font-size: .66rem; font-weight: 500; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── HERO (centralizado) ── */
.hero { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 34px 20px 6px; text-align: center; }
.hero-seal { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); background: color-mix(in srgb, var(--fire) 7%, transparent); color: var(--fire); border-radius: 50px; padding: 8px 18px; font-family: var(--f-label); font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 22px; }
.hero-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.5rem, 12vw, 3.9rem); line-height: 1.02; letter-spacing: -.01em; margin-bottom: 16px; }
.hero-title span { display: block; }
.hero-title .accent { color: var(--fire); }
.hero-sub { font-size: .98rem; color: var(--ink-2); line-height: 1.6; max-width: 400px; margin: 0 auto 18px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 7px; flex-wrap: wrap; justify-content: center; color: var(--ink-2); font-size: .78rem; 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 color-mix(in srgb, var(--leaf) 25%, transparent); animation: pulse 1.8s infinite; }
.hero-eyebrow.closed .dot { background: var(--ember); box-shadow: none; animation: none; }
.closed-note { margin: -8px auto 18px; max-width: 420px; font-size: .84rem; color: var(--ink-2); line-height: 1.5; background: var(--bg-2); border: 1px dashed var(--line-2); border-radius: 12px; padding: 10px 14px; }
.closed-note b { color: var(--fire); }
.hero-cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; min-width: 210px; background: var(--fire); color: var(--on-fire); border-radius: 50px; padding: 14px 32px; font-family: var(--f-label); font-size: 1.05rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; box-shadow: var(--glow); transition: transform var(--spring), box-shadow .3s; }
.hero-cta:hover { transform: translateY(-3px); box-shadow: 0 16px 40px color-mix(in srgb, var(--fire) 45%, transparent); }
.hero-cta:active { transform: scale(.97); }

.hero-facts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); margin: 34px -20px 0; padding: 22px 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-facts li { display: flex; flex-direction: column; gap: 4px; line-height: 1.1; }
.hero-facts li + li { border-left: 1px solid var(--line); }
.hero-facts b { font-family: var(--f-label); font-weight: 600; font-size: 1.45rem; color: var(--fire); white-space: nowrap; letter-spacing: .01em; }
.hero-facts span { font-family: var(--f-label); font-size: .62rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .18em; }

/* destaque em cartão largo */
.hero-visual { margin: 26px 0 4px; }
.hero-banner { display: block; position: relative; width: 100%; aspect-ratio: 16/10; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); background: radial-gradient(circle at 50% 65%, color-mix(in srgb, var(--fire) 20%, var(--bg)), var(--bg-2) 70%); box-shadow: var(--shadow); text-align: left; }
.hero-banner img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--spring); }
.hero-banner:hover img { transform: scale(1.05); }
.hero-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.78)); pointer-events: none; }
.hero-art { position: absolute; inset: 0; display: grid; place-items: center; }
.hero-art svg { width: 42%; height: auto; filter: drop-shadow(0 14px 20px rgba(0,0,0,.5)); }
.hero-chip { position: absolute; z-index: 3; white-space: nowrap; }
.hero-chip.c2 { left: 16px; bottom: 14px; right: 16px; overflow: hidden; text-overflow: ellipsis; font-family: var(--f-label); font-size: 1.1rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.hero-chip.c2 b { color: var(--fire); }
.hero-chip.c1 { top: 12px; right: 12px; background: var(--fire); color: var(--on-fire); border-radius: 50px; padding: 6px 12px; font-size: .72rem; font-weight: 800; box-shadow: var(--shadow-sm); }
.hero-chip.c1 b { color: inherit; }

/* ── REPETIR O DE SEMPRE ── */
.again { max-width: calc(var(--maxw) - 40px); margin: 18px auto 0; display: flex; align-items: center; gap: 12px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 16px; padding: 12px 12px 12px 14px; }
@media (max-width: 660px) { .again { margin: 18px 20px 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(--fire); 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) 90%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); 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; background: var(--bg-2); border: 1px solid var(--line); font-family: var(--f-label); font-size: .84rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; transition: all .22s; }
.cat-pill:hover { color: var(--ink); border-color: var(--line-2); }
.cat-pill.active { background: var(--fire); color: var(--on-fire); border-color: transparent; font-weight: 600; }
.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 { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; margin: 14px 0; }
.frete-txt { font-size: .78rem; font-weight: 700; margin-bottom: 7px; }
.frete-txt b { color: var(--fire); }
.frete-track { height: 7px; background: var(--bg-4); border-radius: 50px; overflow: hidden; }
.frete-track i { display: block; height: 100%; background: var(--fire); 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: 6px; }
.menu-kicker { font-family: var(--f-label); font-size: .72rem; text-transform: uppercase; letter-spacing: .22em; color: var(--fire); display: block; margin-bottom: 6px; }
.menu-head h2 { font-family: var(--f-display); font-weight: 400; font-size: 2.2rem; line-height: 1.02; }
.menu-head h2 em { font-style: normal; color: var(--fire); }
.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: 28px; scroll-margin-top: 140px; }
.cat-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--fire); }
.cat-head h3 { font-family: var(--f-label); font-weight: 600; font-size: 1.35rem; letter-spacing: .06em; text-transform: uppercase; display: flex; align-items: center; gap: 9px; }
.cat-head > span { font-family: var(--f-label); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }

/* lista: foto à direita, separador fino */
.products-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.product-card { position: relative; border-bottom: 1px solid var(--line); cursor: pointer; display: flex; flex-direction: row-reverse; align-items: stretch; gap: 14px; padding: 14px 0;
  transition: background .25s; animation: fadeUp .5s both; }
@keyframes fadeUp { from{opacity:0;transform:translateY(14px)} to{opacity:1;transform:translateY(0)} }
.product-card:hover .product-name { color: var(--fire); }
.product-card:active { transform: scale(.99); }
.product-card.off { opacity: .45; filter: grayscale(.7); }
.product-img-wrap { position: relative; width: 118px; height: 118px; flex-shrink: 0; overflow: hidden; border-radius: 14px; background: radial-gradient(circle at 50% 65%, color-mix(in srgb, var(--fire) 18%, 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 .prod-art { width: 72%; height: auto; filter: drop-shadow(0 8px 12px rgba(0,0,0,.5)); }
.badge { position: absolute; top: 6px; left: 6px; z-index: 2; border-radius: 6px; padding: 4px 7px; font-family: var(--f-label); font-size: .58rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: #000; color: var(--ink); }
.badge.hot { background: var(--fire); color: var(--on-fire); }
.badge.gold { background: var(--fire-2); color: #111; }
.badge.dark { background: #000; color: var(--fire); border: 1px solid var(--fire); }
.badge.leaf { background: var(--leaf); color: #0B220F; }
.badge.off { background: #000; color: var(--ink-2); }

.product-info { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 2px 0; }
.product-name { font-size: 1.02rem; font-weight: 700; line-height: 1.22; margin-bottom: 5px; transition: color .2s; }
.product-desc { font-size: .78rem; color: var(--ink-3); line-height: 1.45; flex: 1; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-desc b { color: var(--ink-2); font-weight: 600; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.price-wrap { display: flex; flex-direction: column; line-height: 1.05; }
.price-from { font-size: .58rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .07em; font-weight: 700; margin-bottom: 2px; }
.product-price { font-family: var(--f-label); font-size: 1.35rem; font-weight: 600; color: var(--fire); }
.product-price small { font-size: .6em; margin-right: 2px; }
.add-btn { width: 40px; height: 40px; border-radius: 12px; background: var(--fire); color: var(--on-fire); font-size: 1.4rem; font-weight: 700; line-height: 1; flex-shrink: 0; display: grid; place-items: center; transition: transform var(--spring); }
.add-btn.in { font-size: .86rem; font-weight: 800; background: var(--ink); color: var(--bg); }
.add-btn:active { transform: scale(.85); }

/* card destaque: cartão com borda amarela */
.product-card.feat { flex-direction: column; gap: 0; padding: 0; margin: 4px 0 10px; border: 1.5px solid var(--fire); border-radius: 18px; overflow: hidden; background: var(--bg-2); }
.product-card.feat .product-img-wrap { width: 100%; height: auto; aspect-ratio: 16/9; border-radius: 0; }
.product-card.feat .product-info { padding: 14px 16px 16px; }
.feat-kicker { font-family: var(--f-label); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--fire); margin-bottom: 4px; }
.product-card.feat .product-name { font-family: var(--f-display); font-weight: 400; font-size: 1.6rem; }
.product-card.feat .product-desc { -webkit-line-clamp: 3; font-size: .84rem; flex: 0 1 auto; }
.product-card.feat .product-price { font-size: 1.7rem; }

/* 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: 14px; padding: 12px 6px 11px; text-align: center; transition: transform .2s, border-color .2s; min-height: 44px; }
.bev:hover { border-color: var(--line-2); }
.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-label); font-weight: 600; font-size: .98rem; color: var(--fire); }
.bev-qty { position: absolute; top: 6px; right: 6px; z-index: 2; min-width: 24px; height: 24px; border-radius: 50px; background: var(--fire); color: var(--on-fire); font-size: .74rem; font-weight: 800; display: grid; place-items: center; padding: 0 6px; }
.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-weight: 400; font-size: 1.4rem; margin-bottom: 4px; }
.empty .em { font-size: 3rem; margin-bottom: 10px; }
.skeleton { height: 120px; border-radius: var(--radius); margin-top: 12px; 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: 14px; box-shadow: 0 0 0 2px var(--fire); margin-bottom: 12px; }
.footer-name { font-family: var(--f-label); font-weight: 700; font-size: 1.5rem; letter-spacing: .08em; text-transform: uppercase; color: var(--fire); 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; }

/* ── TELAS MAIORES ── */
@media (min-width: 480px) { .fridge { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 720px) {
  :root { --maxw: 980px; }
  .hero { padding-top: 50px; }
  .hero-title { font-size: 4.6rem; }
  .hero-facts { margin: 34px auto 0; max-width: 620px; border: 1px solid var(--line); border-radius: 18px; }
  .hero-visual { max-width: 720px; margin: 30px auto 4px; }
  .hero-strip button { width: 220px; height: 140px; }
  .products-grid { grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .product-card.feat { grid-column: 1 / -1; flex-direction: row; }
  .product-card.feat .product-img-wrap { width: 46%; aspect-ratio: auto; min-height: 240px; }
  .fridge { grid-template-columns: repeat(6, 1fr); }
}

/* ── 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 .prod-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 .prod-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); }

/* gaveta vira painel lateral no computador */
@media (min-width: 720px) {
  .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; }

/* promoção: preço antigo riscado */
.preco-de { display: block; font-family: inherit; font-size: .62em; font-weight: 600; opacity: .62; text-decoration: line-through; letter-spacing: 0; }
.it-desc .preco-de { display: inline; font-size: 1em; }

/* fidelidade: cartão de selos no checkout */
.fid-cartao { margin-top: 10px; padding: 12px 14px; border: 1px dashed currentColor; border-radius: 14px; display: grid; gap: 8px; font-size: .86rem; }
.fid-topo { display: flex; justify-content: space-between; gap: 8px; }
.fid-selos { display: flex; flex-wrap: wrap; gap: 6px; }
.fid-selos i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; opacity: .35; }
.fid-selos i.on { background: currentColor; opacity: 1; }
.fid-usar { display: flex; gap: 8px; align-items: flex-start; font-weight: 600; cursor: pointer; }
.fid-usar input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.fid-cartao small { opacity: .75; line-height: 1.4; }

/* avaliação do pedido na tela de acompanhamento */
.aval { margin: 16px 0; padding: 14px; border: 1px dashed currentColor; border-radius: 14px; display: grid; gap: 10px; text-align: center; }
.aval h4 { margin: 0; }
.aval p { margin: 0; }
.aval-estrelas { display: flex; justify-content: center; gap: 4px; }
.aval-estrelas button { font-size: 2.1rem; line-height: 1; padding: 4px; background: none; border: 0; color: inherit; opacity: .3; cursor: pointer; min-width: 44px; min-height: 44px; }
.aval-estrelas button.on { opacity: 1; color: #f5b301; }
.aval-nota { font-size: 1.5rem; color: #f5b301; letter-spacing: 2px; }

/* ── ajustes do Boteco nas telas do pedido ── */
.btn, .floating-btn { border-radius: 50px; box-shadow: none; }
.it-foot .btn { border-radius: 14px; }
.btn, .floating-btn, .hero-cta { font-family: var(--f-label); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.btn.ghost { font-family: var(--f-body); letter-spacing: 0; text-transform: none; }
.btn.dark { background: var(--ink); color: var(--bg); }
.floating-btn { box-shadow: 0 18px 40px rgba(0,0,0,.6); }
.it-price, .ci-price, .pix-val, .t-row.total span:last-child, .track-items b, .deal-add { font-family: var(--f-label); font-weight: 600; color: var(--fire); }
.it-price { color: var(--on-fire); }
.block-title { font-family: var(--f-label); font-weight: 500; letter-spacing: .16em; }
.it-name, .sheet-head h3, .up-head h3, .track-title { font-family: var(--f-display); font-weight: 400; }
.up-head h3 em, .track-num { font-style: normal; color: var(--fire); background: none; -webkit-background-clip: initial; background-clip: initial; }
.track-num { font-family: var(--f-label); font-weight: 600; }
.sheet { background: var(--bg); border-color: var(--line-2); }
