/* =========================================================
   Template Hamburgueria — tema escuro + vermelho
   Troque as cores abaixo para adaptar à sua marca.
   ========================================================= */
:root {
  --bg: #0a0a0c;
  --bg-2: #101114;
  --surface: #16171b;
  --surface-2: #1d1e23;
  --line: #2a2b31;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --red: #ff2e2e;
  --red-dark: #d81f1f;
  --green: #22c55e;        /* preços */
  --green-strong: #16a34a; /* botão de preço em destaque */
  --green-text: #4ade80;
  --word: rgba(150, 160, 185, 0.32);
  --header-h: 68px;
  --radius: 10px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Archivo Black", "Inter", sans-serif;
  --font-logo: "Bangers", "Archivo Black", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 44px; padding: 0 22px; border-radius: 4px;
  font-weight: 600; font-size: 14px; white-space: nowrap;
  transition: background .2s, border-color .2s, transform .15s;
}
.btn:active { transform: scale(.98); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-outline { border: 1px solid var(--line); background: transparent; }
.btn-outline:hover { border-color: var(--text); }
.btn-block { width: 100%; }
.link { color: var(--red); text-decoration: underline; padding: 0; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: linear-gradient(to bottom, rgba(10,10,12,.85), rgba(10,10,12,.55));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.header.scrolled { background: rgba(10,10,12,.92); border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo {
  font-family: var(--font-logo); font-size: 34px; line-height: 1; letter-spacing: 1px;
  color: var(--red); text-shadow: 2px 2px 0 #7a0c0c; transform: rotate(-3deg); display: inline-block;
}

.nav { display: flex; gap: 32px; }
.nav a { position: relative; font-size: 14px; font-weight: 600; color: #d4d4d8; padding: 6px 0; transition: color .2s; }
.nav a:hover, .nav a.active { color: #fff; }
.nav a.active::after {
  content: ""; position: absolute; left: 50%; bottom: -4px; width: 18px; height: 2px;
  background: var(--red); transform: translateX(-50%);
}

.header-actions { display: flex; align-items: center; gap: 12px; }
.search {
  display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 4px; background: rgba(255,255,255,.02); color: var(--muted);
}
.search:focus-within { border-color: #52525b; }
.search input { background: none; border: 0; outline: 0; width: 150px; font-size: 13px; color: var(--text); }
.search input::placeholder { color: var(--muted); }
.search-menu { display: none; }

.bag-btn {
  position: relative; display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 4px; background: rgba(255,255,255,.03); color: var(--red);
  transition: border-color .2s;
}
.bag-btn:hover { border-color: #52525b; }
.bag-text { display: flex; flex-direction: column; text-align: left; line-height: 1.15; }
.bag-text strong { font-size: 12px; color: var(--text); }
.bag-text small { font-size: 11px; color: var(--green-text); font-weight: 600; }
.bag-count {
  position: absolute; top: -7px; right: -7px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--red); color: #fff; font: 700 11px/18px var(--font); text-align: center; font-style: normal;
}
.bag-btn.bump { animation: bump .4s ease; }
@keyframes bump { 40% { transform: scale(1.08); } }


/* ---------- HERO (sticky + rolagem) ---------- */
.hero { position: relative; height: 340vh; }          /* comprimento da rolagem do efeito */
.hero-sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background: radial-gradient(ellipse at 50% 40%, #1c1a1c 0%, #0d0d10 55%, #08080a 100%);
}

/* fumaça realista (WebGL) — se o navegador não suportar, fica a fumaça em CSS abaixo */
.smoke-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.has-gl-smoke .smoke { display: none; }

/* fumaça (fallback CSS) */
.smoke { position: absolute; inset: -10%; pointer-events: none; filter: blur(40px); opacity: .9; }
.smoke i {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(120,110,105,.35), rgba(120,110,105,0) 70%);
  animation: drift 26s ease-in-out infinite alternate;
}
.smoke i:nth-child(1) { width: 60vw; height: 50vh; left: -5%; top: 10%; }
.smoke i:nth-child(2) { width: 55vw; height: 60vh; right: -10%; top: 25%; animation-duration: 32s; animation-delay: -8s; }
.smoke i:nth-child(3) { width: 45vw; height: 40vh; left: 30%; bottom: -5%; animation-duration: 22s; animation-delay: -4s; }
.smoke i:nth-child(4) { width: 35vw; height: 35vh; left: 20%; top: -5%; animation-duration: 28s; opacity: .6; }
@keyframes drift {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(6vw,-4vh) scale(1.15); }
}

/* palavra gigante atrás do burger */
.hero-word {
  position: absolute; left: 50%; top: 47%; transform: translate(-50%, -50%) skewX(-8deg);
  font-family: var(--font-display); font-size: clamp(120px, 22vw, 340px); line-height: 1;
  letter-spacing: .04em; text-transform: uppercase; color: var(--word);
  white-space: nowrap; pointer-events: none; user-select: none;
}

.hero-stage { position: relative; height: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.hero-canvas-wrap {
  position: absolute; left: 50%; top: calc(var(--header-h) + 2vh); transform: translateX(-50%);
  width: min(52vw, 620px); height: calc(100% - var(--header-h) - 22vh);
  transition: opacity .35s ease, transform .35s ease;
}
.hero-canvas-wrap.swap { opacity: 0; transform: translateX(-50%) scale(.94); }
#burgerCanvas { width: 100%; height: 100%; display: block; }

.hero-info { position: absolute; left: 24px; bottom: 13vh; max-width: 340px; z-index: 2; }
.hero-info h1 {
  margin: 0 0 10px; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(30px, 3vw, 42px); line-height: 1; text-transform: uppercase; letter-spacing: -.01em;
}
.hero-info p { margin: 0 0 22px; color: #d4d4d8; font-size: 14px; }
.hero-buy { display: flex; align-items: center; gap: 18px; }
.hero-buy strong { font-size: 18px; font-weight: 700; white-space: nowrap; color: var(--green-text); }

.hero-note { position: absolute; left: 50%; bottom: 13vh; transform: translateX(-50%); width: 300px; text-align: center; z-index: 2; }
.hero-note p { margin: 0 0 14px; font-size: 12px; color: var(--muted); }
.dots { display: flex; justify-content: center; gap: 8px; }
.dots button { width: 22px; height: 3px; border-radius: 2px; background: #3f3f46; transition: background .2s, width .2s; }
.dots button.active { background: var(--red); width: 28px; }

.hero-side { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 12px; z-index: 2; }
.arrows { display: flex; flex-direction: column; gap: 8px; }
.arrows button {
  width: 32px; height: 32px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 4px; background: rgba(10,10,12,.6); color: var(--text);
  transition: border-color .2s;
}
.arrows button:hover { border-color: var(--text); }
.thumbs { display: flex; flex-direction: column; gap: 8px; }
.thumbs button {
  position: relative; width: 58px; height: 58px; padding: 4px;
  border: 1px solid var(--line); border-radius: 4px; background: rgba(10,10,12,.55);
  transition: border-color .2s, opacity .2s; opacity: .7;
}
.thumbs button.active { opacity: 1; border-color: #52525b; }
.thumbs button.active::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: -1px; height: 2px; background: var(--red); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 3vh; transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #71717a;
  transition: opacity .3s;
}
.scroll-hint span { width: 1px; height: 22px; background: linear-gradient(var(--red), transparent); animation: hint 1.6s ease-in-out infinite; }
@keyframes hint { 0%,100% { transform: translateY(-4px); opacity: .4; } 50% { transform: translateY(4px); opacity: 1; } }

/* ---------- CARDÁPIO ---------- */
.menu-section { position: relative; padding: 72px 0 96px; background: var(--bg); }
.menu-panel { background: var(--bg-2); border: 1px solid #17181c; border-radius: 14px; padding: 40px 0 8px; }
.menu-panel > * { padding-left: 0; padding-right: 0; }
.menu-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.menu-head h2 { margin: 0; font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; letter-spacing: -.02em; }
.menu-count { font-size: 12px; color: var(--muted); white-space: nowrap; }

.menu-panel { padding: 40px 32px 40px; }

.categories { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 26px; }
.cat {
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 8px 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 12px; font-weight: 600; color: #e4e4e7; transition: border-color .2s, color .2s, background .2s;
}
.cat:hover { border-color: #52525b; }
.cat.active { border-color: var(--red); color: var(--red); background: #1a1416; }
.cat-img {
  width: 46px; height: 46px; border-radius: 50%; background: #fff; overflow: hidden;
  display: grid; place-items: center; font-size: 24px;
}
.cat-img img { width: 100%; height: 100%; object-fit: cover; }

.cat-count { font-size: 11px; font-weight: 500; color: var(--muted); margin-top: -6px; }
.cat.active .cat-count { color: #fca5a5; }

/* ---------- Lista do cardápio (estilo tabela, uma seção por vez) ---------- */
.menu-list { display: flex; flex-direction: column; gap: 18px; }
.list-section { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #0d0e11; animation: fadeUp .35s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }
.list-bar {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 22px; background: var(--surface); border-bottom: 1px solid var(--line); text-align: left;
}
.list-bar h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 20px; letter-spacing: .02em; text-transform: uppercase; }
.list-bar .bar-right { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.list-bar .toggle {
  width: 26px; height: 26px; display: grid; place-items: center; border-radius: 4px;
  border: 1px solid var(--line); color: var(--red); font-size: 18px; line-height: 1; font-weight: 700;
}
.list-section.closed .list-bar { border-bottom-color: transparent; }
.list-section.closed .list-body { display: none; }
.list-body { padding: 6px 22px 10px; }

.group { padding: 18px 0 6px; }
.group + .group { border-top: 1px dashed var(--line); }
.group h4 {
  margin: 0 0 4px; font-family: var(--font-display); font-weight: 400; font-size: 17px;
  letter-spacing: .03em; text-transform: uppercase; color: var(--red);
}
.group-note { margin: 0 0 14px; font-size: 12px; color: var(--muted); }

.row, .cols-head {
  display: grid; grid-template-columns: minmax(0, 1fr) repeat(var(--cols), 118px);
  align-items: center; column-gap: 12px;
}
.cols-head { padding: 0 0 8px; border-bottom: 1px solid var(--line); font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #d4d4d8; }
.cols-head span:not(:first-child) { text-align: center; }
.cols-head .hl { color: var(--green-text); }
.row { padding: 11px 0; border-bottom: 1px solid #1d1e23; }
.row:last-child { border-bottom: 0; }
.row:hover { background: linear-gradient(90deg, transparent, rgba(255,255,255,.02), transparent); }
.row-name strong { display: block; font-size: 14px; font-weight: 700; }
.row-name span { display: block; font-size: 12px; color: var(--muted); }
.row-name .tag {
  font-style: normal;
  display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 3px; vertical-align: 2px;
  background: rgba(255,46,46,.14); color: #fca5a5; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}

/* botão de preço (verde): valor + "+" */
.pbtn {
  justify-self: center; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 5px 0 10px;
  border: 1.5px solid var(--green); border-radius: 6px; color: var(--green-text); font-size: 13px; font-weight: 700; white-space: nowrap;
  transition: background .2s, transform .15s, color .2s;
}
.pbtn i {
  width: 20px; height: 20px; display: grid; place-items: center; border-radius: 4px; font-style: normal;
  background: var(--green-strong); color: #fff; font-size: 15px; line-height: 1;
}
.pbtn:hover { background: rgba(34,197,94,.12); color: #fff; }
.pbtn:active { transform: scale(.96); }
.pbtn.hl { background: var(--green-strong); color: #fff; border-color: var(--green-strong); }
.pbtn.hl i { background: #0a0a0c; color: var(--green-text); }
.pbtn.hl:hover { background: #15803d; }
.pbtn small { display: none; }
.pbtn.done i { background: #fff; color: var(--green-strong); }
.pbtn-empty { justify-self: center; color: #52525b; }

.list-hint { margin: 4px 0 0; font-size: 12px; color: var(--muted); text-align: center; }

.empty { padding: 40px 0; text-align: center; color: var(--muted); }

/* ---------- FOOTER ---------- */
.footer { padding: 64px 0 28px; background: #070708; border-top: 1px solid #17181c; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .8fr 1fr 1.9fr; gap: 40px; }
.footer h4 { margin: 0 0 14px; font-size: 14px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.footer-grid a:not(.logo):hover { color: var(--red); }
.footer .logo { align-self: flex-start; margin-bottom: 4px; }
.footer p { margin: 0; }
/* mapa do rodapé */
.map-frame {
  position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); background: var(--surface); box-shadow: 0 18px 40px rgba(0,0,0,.4);
}
.map-frame iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: invert(.9) hue-rotate(180deg) saturate(.75) brightness(.95) contrast(.92); /* mapa escuro, combina com o site */
  transition: filter .35s ease;
}
@media (hover: hover) { .map-frame:hover iframe { filter: none; } } /* cores normais ao passar o mouse */
.map-frame:focus-within iframe { filter: none; }
.map-frame::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), inset 0 -40px 40px -30px rgba(0,0,0,.45);
}
.map-address { display: flex; align-items: flex-start; gap: 8px; margin: 4px 0 2px !important; font-size: 13px; color: #d4d4d8; }
.map-address svg { flex-shrink: 0; margin-top: 1px; color: var(--red); }
.map-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.map-actions .btn { flex: 1 1 150px; height: 40px; padding: 0 14px; font-size: 13px; }
.footer small { font-size: 11px; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 22px; border-top: 1px solid #17181c; font-size: 12px; color: #71717a;
}

/* ---------- SACOLA (drawer) ---------- */
.overlay { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.6); animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; } }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; width: min(420px, 100%);
  display: flex; flex-direction: column; background: var(--bg-2); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; font-size: 18px; }
.icon-btn { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 4px; border: 1px solid var(--line); }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.bag-list { list-style: none; margin: 0; padding: 0; }
.bag-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.bag-item .thumb { width: 56px; height: 56px; border-radius: 4px; overflow: hidden; background: #f3ece1; display: grid; place-items: center; font-size: 28px; }
.bag-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.bag-item .thumb img.contain { object-fit: contain; padding: 4px; }
.bag-item strong { display: block; font-size: 13px; }
.bag-item small { color: var(--green-text); font-size: 12px; font-weight: 600; }
.bag-item small.opt-line { display: block; font-size: 11px; color: var(--muted); font-weight: 600; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 4px; }
.qty button { width: 28px; height: 28px; display: grid; place-items: center; font-size: 16px; color: var(--muted); }
.qty button:hover { color: var(--text); }
.qty span { min-width: 22px; text-align: center; font-size: 13px; font-weight: 600; }
.bag-empty { padding: 60px 0; text-align: center; color: var(--muted); }
.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.field select {
  height: 42px; padding: 0 12px; border-radius: 4px; background: var(--surface); border: 1px solid var(--line); color: var(--text);
}
.sum { display: flex; justify-content: space-between; font-size: 13px; color: #d4d4d8; }
.sum span:last-child { color: var(--green-text); font-weight: 600; }
.sum.total { font-size: 16px; font-weight: 700; color: var(--text); padding-top: 6px; margin-bottom: 6px; }
.sum.total span:last-child { color: var(--green-text); font-size: 18px; font-weight: 800; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 20px);
  padding: 12px 18px; border-radius: 6px; background: #fff; color: #111; font-size: 13px; font-weight: 600;
  box-shadow: 0 10px 30px rgba(0,0,0,.4); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
  max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-map { grid-column: 1 / -1; }
  .footer-map .map-frame { aspect-ratio: 21 / 9; }
  .hero-note { left: auto; right: 24px; transform: none; width: 240px; text-align: right; }
  .hero-note .dots { justify-content: flex-end; }
  .search input { width: 110px; }
  .nav { gap: 22px; }
}

@media (max-width: 860px) {
  :root { --header-h: 60px; }
  .container { padding: 0 16px; }
  .logo { font-size: 30px; }

  /* menu mobile */
    .search, .bag-text { display: none; }
  .bag-btn { width: 38px; height: 38px; padding: 0; justify-content: center; }
  .nav { display: none; } /* no celular: logo + sacola; o cardápio tem as abas */

  /* hero empilhado */
  .hero { height: 300vh; }
  .hero-word { display: none; }
  .hero-stage {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: calc(var(--header-h) + 8px) 16px 28px; gap: 14px; text-align: center;
  }
  .hero-canvas-wrap, .hero-info, .hero-note, .hero-side { position: static; transform: none; }
  .hero-canvas-wrap { width: min(92vw, 420px); height: 38vh; height: 38svh; flex-shrink: 0; }
  .hero-canvas-wrap.swap { transform: scale(.94); }
  .hero-info { max-width: 360px; width: 100%; }
  .hero-info h1 { font-size: 26px; margin-bottom: 8px; }
  .hero-info p { font-size: 13px; margin-bottom: 14px; }
  .hero-buy { flex-direction: column; gap: 12px; }
  .hero-buy .btn { width: 100%; }
  .hero-side { flex-direction: row; order: 3; }
  .arrows { flex-direction: row; }
  .thumbs { flex-direction: row; }
  .thumbs button { width: 50px; height: 50px; }
  .hero-note { order: 4; width: 100%; max-width: 320px; text-align: center; }
  .hero-note .dots { justify-content: center; }
  .hero-note p { margin-bottom: 10px; }
  .scroll-hint { display: none; }

  /* cardápio */
  .menu-section { padding: 48px 0 64px; }
  .menu-panel { padding: 0; background: none; border: 0; }
  .menu-count { display: none; }
  .search-menu { display: flex; height: 44px; margin-bottom: 16px; }
  .search-menu input { width: 100%; font-size: 15px; }
  .categories {
    display: flex; overflow-x: auto; gap: 8px; margin: 0 -16px 22px; padding: 0 16px 4px;
    scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .categories::-webkit-scrollbar { display: none; }
  .cat { flex: 0 0 84px; scroll-snap-align: start; padding: 12px 6px; font-size: 11px; text-align: center; }
  .cat { flex: 1 0 84px; }
  .list-bar { padding: 14px 16px; }
  .list-bar h3 { font-size: 17px; }
  .list-body { padding: 0 16px 8px; }


  /* footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-map .map-frame { aspect-ratio: 4 / 3; }
  .footer-bottom { flex-direction: column; margin-top: 36px; }
}

@media (max-width: 640px) {
  /* no celular cada linha vira um bloco: nome em cima, preços embaixo com o rótulo dentro do botão */
  .cols-head { display: none; }
  .row { grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); row-gap: 10px; padding: 14px 0; }
  .row-name { grid-column: 1 / -1; }
  .pbtn { justify-self: stretch; justify-content: space-between; height: 44px; padding: 0 6px 0 10px; }
  .pbtn span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
  .pbtn small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; opacity: .8; }
  .pbtn-empty { display: none; }
}

@media (max-width: 380px) {
  .pbtn { font-size: 12px; gap: 4px; }
  .hero-info h1 { font-size: 23px; }
}

/* Acessibilidade: sem animação para quem prefere */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .smoke i, .scroll-hint span { animation: none; }
  .list-section { animation: none; }
}

/* Sem animação de fatiar: o topo vira uma tela normal (não segura a rolagem) */
.no-explode .hero { height: auto; }
.no-explode .hero-sticky { position: relative; }
.no-explode .scroll-hint { display: none; }

/* Legibilidade com o fogo: sombra no texto + leve escurecido atrás do bloco de texto */
.bg-fire .hero-info, .bg-fire .hero-note { text-shadow: 0 2px 16px rgba(0,0,0,.75), 0 1px 3px rgba(0,0,0,.6); }
.bg-fire .hero-info::before {
  content: ""; position: absolute; inset: -50px -70px; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(5,4,4,.62), rgba(5,4,4,0));
}
.bg-fire .hero-note p { color: #d4d4d8; }
@media (max-width: 860px) {
  .bg-fire .hero-info { position: relative; inset: auto; z-index: 2; }
  .bg-fire .hero-info::before { inset: -30px -20px; }
}

/* ---------- Dados do pedido (dentro da sacola) ---------- */
.order-form { padding: 6px 0 18px; }
.order-form h4 { margin: 20px 0 10px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #e4e4e7; }
.order-form .field { margin-bottom: 12px; }
.order-form .field > span { color: #a1a1aa; }
.order-form input, .order-form textarea, .order-form select {
  width: 100%; padding: 0 12px; height: 44px; border-radius: 6px; font-size: 14px;
  background: var(--surface); border: 1px solid var(--line); color: var(--text); outline: 0; transition: border-color .2s;
}
.order-form textarea { height: auto; padding: 10px 12px; resize: vertical; min-height: 76px; font-family: inherit; line-height: 1.4; }
.order-form input::placeholder, .order-form textarea::placeholder { color: #71717a; }
.order-form input:focus, .order-form textarea:focus, .order-form select:focus { border-color: #71717a; }
.field .err { font-style: normal; font-size: 11.5px; color: #fca5a5; min-height: 0; }
.field.invalid input, .field.invalid select { border-color: var(--red); }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.seg-3 { grid-template-columns: repeat(3, 1fr); }
.seg-btn {
  height: 42px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface);
  font-size: 13px; font-weight: 600; color: #d4d4d8; transition: border-color .2s, background .2s, color .2s;
}
.seg-btn:hover { border-color: #52525b; }
.seg-btn.active { border-color: var(--red); background: rgba(255,46,46,.12); color: #fff; }

.pickup-info {
  display: flex; gap: 8px; align-items: flex-start; margin: 0 0 12px; padding: 12px; border-radius: 6px;
  background: var(--surface); border: 1px solid var(--line); font-size: 13px; color: #d4d4d8;
}
.pickup-info svg { color: var(--red); flex-shrink: 0; margin-top: 1px; }
.pickup-info strong { display: block; color: var(--text); }

.field-row { display: grid; grid-template-columns: 1fr 96px; gap: 10px; }
.cep-status {
  margin: -4px 0 12px; padding: 9px 11px; border-radius: 6px; font-size: 12.5px; line-height: 1.4;
  background: var(--surface); border: 1px solid var(--line); color: #d4d4d8;
}
.cep-status.ok { border-color: rgba(34,197,94,.45); background: rgba(34,197,94,.08); color: var(--green-text); }
.cep-status.loading { color: var(--muted); }
.cep-status.out, .cep-status.error { border-color: rgba(255,46,46,.45); background: rgba(255,46,46,.08); color: #fca5a5; }
.cep-status.manual { border-color: rgba(250,204,21,.4); background: rgba(250,204,21,.07); color: #fde68a; }
