/* ═══════════════════════════════════════════════════════════
   TEMPLATE "ATELIÊ" · Cardápio Digital
   Claro e editorial: papel creme, título serifado com itálico
   sublinhado, foto do destaque em arco com moldura inclinada,
   cards de papel com sombra macia.
   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:    #FBF4F0;
  --bg-2:  #FFFFFF;                                            /* cards */
  --bg-3:  color-mix(in srgb, var(--bg) 88%, var(--ink));
  --bg-4:  color-mix(in srgb, var(--bg) 80%, var(--ink));
  --ink:   #3A2230;
  --ink-2: color-mix(in srgb, var(--ink) 72%, transparent);
  --ink-3: color-mix(in srgb, var(--ink) 48%, transparent);
  --line:  color-mix(in srgb, var(--ink) 10%, transparent);
  --line-2:color-mix(in srgb, var(--ink) 18%, transparent);
  /* botões = vinho; detalhes = dourado; preço = framboesa */
  --fire:   #3A2230;
  --fire-2: #6B3C55;
  --gold:   #B08A3E;
  --gold-2: #C0394F;
  --ember:  color-mix(in srgb, #3A2230 80%, #000);
  --leaf:   #3E9B5A;
  --on-fire:#FFFFFF;
  --grad:      linear-gradient(135deg, var(--fire) 0%, var(--fire-2) 100%);
  --grad-text: linear-gradient(100deg, var(--gold) 0%, var(--gold) 100%);
  --glow:      0 10px 26px color-mix(in srgb, var(--fire) 22%, transparent);

  --shadow:    0 18px 44px color-mix(in srgb, var(--ink) 14%, transparent);
  --shadow-sm: 0 6px 18px color-mix(in srgb, var(--ink) 8%, transparent);

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

  --f-display: 'Fraunces', Georgia, serif;
  --f-serif:   var(--f-display);
  --f-body:    'Plus Jakarta Sans', system-ui, sans-serif;
  --spring: 460ms 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; }

/* ── FUNDO: manchas suaves de cor ── */
.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: 420px; height: 420px; top: -160px; right: -150px; background: color-mix(in srgb, var(--gold-2) 16%, transparent); }
.fx-glow.g2 { width: 380px; height: 380px; top: 420px; left: -200px; background: color-mix(in srgb, var(--gold) 16%, transparent); }

/* ── HEADER ── */
.header { position: sticky; top: 0; z-index: 200; background: color-mix(in srgb, var(--bg) 84%, 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; background: var(--bg-2); box-shadow: 0 0 0 1px var(--line-2), 0 0 0 4px var(--bg), 0 0 0 5px color-mix(in srgb, var(--gold) 50%, transparent); }
.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: 600; font-size: 1.2rem; line-height: 1.05; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo-sub { display: block; font-family: var(--f-display); font-style: italic; font-size: .82rem; color: var(--gold); margin-top: 2px; 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(--fire); color: var(--on-fire); border-radius: 50px; padding: 6px 8px 6px 13px; font-size: .82rem; font-weight: 700; box-shadow: var(--glow); transition: transform .15s; }
.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(--gold-2); color: #fff; 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(--fire); color: var(--on-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: #7BE08F; animation: pulse 1.4s infinite; flex-shrink: 0; }
.live-pill.alert { background: var(--gold-2); }
.live-pill.alert .dot { background: #fff; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }

/* ── HERO (editorial) ── */
.hero { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 22px 20px 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: var(--bg-2); border-radius: 50px; padding: 7px 14px; font-size: .74rem; font-weight: 600; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.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) 22%, transparent); 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-2); }

.hero-main { display: grid; grid-template-columns: 1fr; gap: 4px; }
.hero-title { font-family: var(--f-display); font-weight: 600; font-size: clamp(2.6rem, 13vw, 4.2rem); line-height: .98; letter-spacing: -.035em; margin-bottom: 18px; font-variation-settings: 'opsz' 144; }
.hero-title span { display: block; }
.hero-title .accent { font-style: italic; font-weight: 500; color: var(--gold); width: max-content; max-width: 100%; position: relative; padding-right: .06em; }
.hero-title .accent::after { content: ''; position: absolute; left: 0; right: 6px; bottom: .02em; height: .06em; border-radius: 50px; background: var(--gold-2); transform: rotate(-.8deg); }
.hero-sub { font-size: 1rem; color: var(--ink-2); line-height: 1.6; max-width: 430px; 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: 54px; background: var(--fire); color: var(--on-fire); border-radius: 50px; padding: 15px 28px; font-size: 1rem; font-weight: 700; 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: var(--shadow); }
.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: 600; font-size: 1rem; color: var(--ink); white-space: nowrap; }
.hero-facts span { font-size: .64rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }

/* arco com moldura inclinada */
.hero-visual { position: relative; width: 230px; margin: 40px auto 10px; }
.hero-frame { position: absolute; inset: 0; border-radius: 200px 200px 22px 22px; background: color-mix(in srgb, var(--gold) 22%, var(--bg-2)); transform: rotate(6deg) translate(14px, 6px); box-shadow: var(--shadow-sm); }
.hero-frame::after { content: ''; position: absolute; inset: 10px; border-radius: inherit; border: 1.5px dashed color-mix(in srgb, var(--gold) 55%, transparent); }
.hero-arch { display: block; position: relative; width: 100%; aspect-ratio: 3/3.8; border-radius: 200px 200px 22px 22px; overflow: hidden;
  border: 6px solid var(--bg-2); background: radial-gradient(circle at 50% 70%, color-mix(in srgb, var(--gold) 20%, var(--bg-2)), var(--bg-3) 75%); box-shadow: var(--shadow); transform: rotate(-2deg); transition: transform var(--spring); }
.hero-arch:hover { transform: rotate(0); }
.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: 72%; height: auto; filter: drop-shadow(0 14px 18px color-mix(in srgb, var(--ink) 25%, transparent)); }
@keyframes floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.hero-chip { position: absolute; z-index: 3; background: var(--bg-2); color: var(--ink); border: 1px solid var(--line); border-radius: 50px; padding: 9px 14px; font-size: .74rem; font-weight: 700; white-space: nowrap; box-shadow: var(--shadow); }
.hero-chip b { color: var(--gold-2); }
.hero-chip.c1 { top: 30px; right: -34px; animation: floaty 6.5s ease-in-out infinite .6s; }
.hero-chip.c2 { bottom: 36px; left: -36px; max-width: 250px; overflow: hidden; text-overflow: ellipsis; animation: floaty 6.5s ease-in-out infinite 1.4s; }

.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 40s linear infinite; padding: 6px 0 10px; }
.hero-strip:hover { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.hero-strip button { flex-shrink: 0; background: var(--bg-2); padding: 5px 5px 14px; border-radius: 6px; box-shadow: var(--shadow-sm); }
.hero-strip button:nth-child(odd) { transform: rotate(-2.5deg); }
.hero-strip button:nth-child(even) { transform: rotate(2deg); }
.hero-strip img { width: 84px; height: 84px; object-fit: cover; border-radius: 3px; display: block; background: var(--bg-3); }
.strip-tag { display: none; }

/* ── 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); border-radius: 20px; padding: 12px 12px 12px 14px; box-shadow: var(--shadow-sm); }
@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: 700; 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) 88%, 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); background: var(--bg-2); font-size: .84rem; font-weight: 600; 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(--fire); 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 { 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-2); }
.frete-track { height: 7px; background: var(--bg-3); border-radius: 50px; overflow: hidden; }
.frete-track i { display: block; height: 100%; background: var(--gold-2); 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: .7rem; text-transform: uppercase; letter-spacing: .2em; color: var(--gold-2); font-weight: 700; display: block; margin-bottom: 6px; }
.menu-head h2 { font-family: var(--f-display); font-weight: 600; font-size: 2.1rem; letter-spacing: -.03em; line-height: 1; }
.menu-head h2 em { font-style: italic; font-weight: 500; color: var(--gold); }
.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 solid var(--line); }
.cat-head h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.45rem; letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; }
.cat-head > span { font-family: var(--f-display); font-style: italic; font-size: .86rem; color: var(--gold); 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; animation: fadeUp .55s both; }
@keyframes fadeUp { from{opacity:0;transform:translateY(18px)} to{opacity:1;transform:translateY(0)} }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-card:active { transform: scale(.98); }
.product-card.off { opacity: .55; filter: grayscale(.7); }
.product-img-wrap { position: relative; aspect-ratio: 1/1; overflow: hidden; margin: 7px 7px 0; border-radius: 16px; background: radial-gradient(circle at 50% 70%, color-mix(in srgb, var(--gold) 16%, var(--bg-2)), var(--bg-3) 80%); }
.product-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--spring); }
.product-card:hover .product-img { transform: scale(1.06); }
.art { width: 100%; height: 100%; display: grid; place-items: center; }
.art .prod-art { width: 62%; height: auto; filter: drop-shadow(0 10px 12px color-mix(in srgb, var(--ink) 22%, transparent)); }
.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-2); color: var(--ink); box-shadow: var(--shadow-sm); }
.badge.hot { background: var(--gold-2); color: #fff; }
.badge.gold { background: color-mix(in srgb, var(--gold) 22%, var(--bg-2)); color: var(--ink); }
.badge.dark { background: var(--fire); color: var(--on-fire); }
.badge.leaf { background: var(--leaf); color: #fff; }
.badge.off { background: var(--ink); color: var(--bg); }

.product-info { padding: 11px 13px 13px; display: flex; flex-direction: column; flex: 1; }
.product-name { font-family: var(--f-display); font-size: 1.08rem; font-weight: 600; line-height: 1.15; 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(--ink-3); text-transform: uppercase; letter-spacing: .07em; font-weight: 700; margin-bottom: 2px; }
.product-price { font-family: var(--f-display); font-size: 1.3rem; font-weight: 600; color: var(--gold-2); letter-spacing: -.02em; }
.product-price small { font-size: .62em; margin-right: 2px; font-weight: 600; }
.add-btn { width: 42px; height: 42px; border-radius: 50%; background: var(--fire); color: var(--on-fire); font-size: 1.35rem; font-weight: 600; line-height: 1; flex-shrink: 0; display: grid; place-items: center; box-shadow: var(--glow); transition: transform var(--spring); }
.add-btn.in { font-size: .88rem; font-weight: 800; background: var(--gold-2); color: #fff; }
.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: color-mix(in srgb, var(--gold) 9%, var(--bg-2)); border-color: color-mix(in srgb, var(--gold) 35%, transparent); }
.product-card.feat .product-img-wrap { width: 46%; aspect-ratio: auto; min-height: 190px; margin: 9px; flex-shrink: 0; border-radius: 120px 120px 14px 14px; }
.product-card.feat .product-info { padding: 16px 14px 14px 4px; position: relative; }
.feat-kicker { font-family: var(--f-display); 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.55rem; }

/* 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, box-shadow .2s; min-height: 44px; box-shadow: var(--shadow-sm); }
.bev:hover { box-shadow: var(--shadow); }
.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: 600; font-size: .95rem; 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(--gold-2); color: #fff; 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,.2), transparent 30%, rgba(255,255,255,.3) 50%, transparent 70%, rgba(0,0,0,.2)), var(--c); display: grid; place-items: center; box-shadow: 0 6px 12px rgba(0,0,0,.18); }
.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 { position: absolute; inset: 0; 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.3rem; 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-3), var(--bg-2), var(--bg-3)); 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 4px var(--bg), 0 0 0 5px var(--gold); margin-bottom: 12px; }
.footer-name { font-family: var(--f-display); font-weight: 600; font-size: 1.6rem; letter-spacing: -.02em; color: var(--ink); 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) {
  .hero-title { font-size: 4.4rem; }
  .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.2rem; }
  .hero-visual { margin: 0 auto; width: 270px; }
  .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; }
}

/* ── 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 Ateliê (tema claro) nas telas do pedido ── */
.scrim { background: color-mix(in srgb, var(--ink) 42%, transparent); }
.sheet { background: var(--bg); box-shadow: 0 -20px 60px color-mix(in srgb, var(--ink) 25%, transparent); }
.floating-btn { background: var(--fire); box-shadow: var(--shadow); border-radius: 50px; }
.floating-btn .fb-count { background: color-mix(in srgb, var(--on-fire) 18%, transparent); }
.btn { border-radius: 50px; box-shadow: none; }
.btn.dark { background: var(--gold-2); color: #fff; }
.it-foot .btn { border-radius: 18px; }
.it-media::after { background: linear-gradient(180deg, transparent 65%, color-mix(in srgb, var(--bg) 85%, transparent)); }
.it-price { background: var(--bg-2); color: var(--gold-2); box-shadow: var(--shadow-sm); font-weight: 600; }
.it-name, .sheet-head h3, .up-head h3, .track-title, .pix h4 { font-weight: 600; }
.up-head h3 em, .track-num { font-style: italic; color: var(--gold); background: none; -webkit-background-clip: initial; background-clip: initial; }
.track-num { font-family: var(--f-display); }
.chip, .op, .opt-box, .field, .totals, .co-note, .geo-st, .frete, .sug, .track-items, .pix { background: var(--bg-2); }
.chip.add-on.on, .cart-count, .fly, .bev-qty { box-shadow: none; }
.fly { background: var(--gold-2); color: #fff; }
.co-err, .cupom-erro { color: #B3261E; }
.steps li.done i { background: var(--leaf); color: #fff; }
.pix-steps li.ok { color: #fff; }
.t-row.total, .ci-price, .pix-val, .track-items b { font-weight: 600; }
