/* ============================================================
   ESTILOS DO SITE — LUMINUS BURGER
   Fundo grafite quase preto. Dois temas, escolhidos por "tema" em js/config.js:
   - fogo (padrão): vermelho, laranja e amarelo (logo em chamas)
   - neon: roxo, ciano e verde-lima (logo holográfica)
   Só as variáveis mudam entre os temas.
   ============================================================ */
:root {
  --bg: #0a0a0b;
  --bg-2: #0f0f11;
  --card: #151517;
  --card-2: #1d1d20;
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .16);

  --cream: #f7f5f2;
  --text: #e8e6e1;
  --muted: #a3a09b;

  --primary: #ff5a1f;
  --primary-2: #ff7a45;
  --accent: #ffc02e;
  --accent-2: #ffd35c;
  --accent-ink: #1a0f05;
  --mid: #ff8a3d;
  --star: #ffd23f;
  --red: #ff4d6d;
  --green: #25d366;
  --green-2: #1fc45c;
  --veg: #5fae4a;

  --grad: linear-gradient(120deg, #e0262b, #ff7a1f 50%, #ffc02e);
  --glow: rgba(255, 90, 31, .22);
  --glow-2: rgba(255, 192, 46, .12);

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 14px 36px rgba(0, 0, 0, .5);

  --font-display: "Bebas Neue", "Anton", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1140px;
  --header-h: 88px;
}

[data-theme="neon"] {
  --primary: #a855f7;
  --primary-2: #b975ff;
  --accent: #c8ff4d;
  --accent-2: #d9ff7a;
  --accent-ink: #0b0a0f;
  --mid: #5ee7ff;
  --grad: linear-gradient(120deg, var(--primary), var(--mid) 50%, var(--accent));
  --glow: rgba(168, 85, 247, .24);
  --glow-2: rgba(94, 231, 255, .12);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-open, body.drawer-open, body.modal-open { overflow: hidden; }
body.has-cart { padding-bottom: 96px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .02em;
  line-height: 1;
  margin: 0;
  color: var(--cream);
}
h4 { font-size: 1.25rem; letter-spacing: .06em; margin-bottom: 14px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.grad-text, .hero__title em {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { max-width: 640px; margin-bottom: 40px; }
.section__head--center { margin-inline: auto; text-align: center; max-width: 760px; }
.section__title { font-size: clamp(2.5rem, 5vw, 3.7rem); }
.section__lead { color: var(--muted); margin: 16px 0 0; font-size: 1.05rem; }
.eyebrow {
  display: inline-block;
  color: var(--primary-2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .76rem;
  margin-bottom: 12px;
}

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { left: 8px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 600; line-height: 1; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 24px rgba(255, 192, 46, .16); }
.btn--primary:hover { background: var(--accent-2); }
.btn--whatsapp { background: var(--green); color: #062b14; box-shadow: 0 10px 28px rgba(37, 211, 102, .22); }
.btn--whatsapp:hover { background: var(--green-2); }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--cream); }
.btn--ghost:hover { border-color: var(--cream); }
.btn--sm { padding: 10px 16px; font-size: .9rem; }
.btn--lg { padding: 17px 28px; font-size: 1.05rem; }
.btn.is-disabled { opacity: .45; pointer-events: none; }
.btn.is-added { background: var(--green); color: #062b14; }

/* ---------- Cabeçalho ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 11, .74);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .2s, border-color .2s;
}
.header.is-scrolled { background: rgba(10, 10, 11, .94); border-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 76px; width: auto; display: block; filter: drop-shadow(0 0 14px var(--glow)); }
.brand__logo--footer { height: 96px; }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--muted); font-weight: 500; font-size: .95rem; white-space: nowrap; transition: color .15s; }
.nav a:hover { color: var(--cream); }
.header__actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 0 10px;
  background: transparent; border: 1px solid var(--line-2); border-radius: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--cream); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Aberto / fechado */
.status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; color: var(--muted); font-weight: 500;
  padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap;
}
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(255, 77, 109, .18); }
.status.is-open .status__dot { background: var(--green); box-shadow: 0 0 0 4px rgba(37, 211, 102, .18); }
.status.is-open .status__text { color: var(--cream); }
.status--big { font-size: .95rem; padding: 10px 16px; margin-bottom: 24px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: min(72vh, 680px);
  display: grid; align-items: center;
  padding: clamp(48px, 7vw, 96px) 0;
}
.hero__bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 70% at 85% 20%, var(--glow), transparent 65%),
    radial-gradient(35% 45% at 5% 100%, var(--glow-2), transparent 60%);
}
/* Quando existe banner (heroBanner em config.js), a foto entra aqui com um escurecimento por cima */
.hero.has-banner .hero__bg {
  background-image: var(--hero-banner);
  background-size: cover; background-position: center;
}
.hero.has-banner .hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 11, .94) 0%, rgba(10, 10, 11, .72) 45%, rgba(10, 10, 11, .3) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 32%);
}
.hero__inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 5vw, 72px); align-items: center;
}
.hero__content { max-width: 640px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .85rem; font-weight: 600; color: var(--cream);
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line);
}
.badge > span:first-child { color: var(--accent); }
.hero__title { font-size: clamp(3.2rem, 6vw, 5.4rem); margin: 22px 0 18px; }
.hero__title em { font-style: normal; }
.hero__lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; margin-bottom: 30px; }
.hero__lead strong { color: var(--cream); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note { margin: 18px 0 0; color: var(--muted); font-size: .9rem; }

/* Vitrine da direita: foto redonda com anel em degradê e cartões flutuantes */
.hero__visual { position: relative; width: 100%; max-width: 540px; aspect-ratio: 1; margin-left: auto; }
.hero__visual::before {
  content: ""; position: absolute; inset: -12%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, var(--glow), transparent 72%);
}
.hero__ring {
  position: absolute; inset: -3%; border-radius: 50%;
  border: 2px dashed rgba(255, 192, 46, .32);
  animation: girar 60s linear infinite;
}
.hero__photo {
  position: absolute; inset: 5%; border-radius: 50%; padding: 9px;
  background: var(--grad); box-shadow: 0 0 90px var(--glow), 0 30px 60px rgba(0, 0, 0, .5);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 7px solid var(--bg); background: var(--card); }

.float {
  position: absolute; display: flex; flex-direction: column; gap: 2px;
  padding: 12px 16px; border-radius: 16px;
  background: rgba(21, 21, 23, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-2); box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
  animation: flutuar 6s ease-in-out infinite;
}
.float strong { font-size: .95rem; color: var(--cream); line-height: 1.25; }
.float small { font-size: .78rem; color: var(--muted); }
.float--rating { top: 9%; left: -4%; }
.float__stars { color: var(--accent); letter-spacing: 2px; font-size: .9rem; }
.float--time { bottom: 12%; left: -7%; flex-direction: row; align-items: center; gap: 12px; animation-delay: -2s; }
.float--time > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.float__icon {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad); color: #fff;
}
.float__icon svg { width: 20px; height: 20px; }
.float--top { bottom: 4%; right: -2%; animation-delay: -4s; transition: border-color .2s; }
.float--top:hover { border-color: var(--accent); }
.float__tag { display: inline-flex; align-items: center; gap: 6px; color: var(--accent) !important; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .68rem !important; }
.float__tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 3px var(--glow); }
.float__price { font-family: var(--font-display); font-size: 1.5rem; color: var(--accent); line-height: 1; margin-top: 2px; }
@keyframes flutuar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes girar { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .float, .hero__ring { animation: none; } }

/* Faixa de confiança logo abaixo do topo */
.trust {
  list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(21, 21, 23, .65); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  position: relative;
}
.trust li { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-left: 1px solid var(--line); }
.trust li:first-child { border-left: 0; }
.trust svg { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 12px; color: var(--accent); background: rgba(255, 192, 46, .1); }
.trust li > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.trust strong { font-size: .95rem; color: var(--cream); }
.trust small { font-size: .8rem; color: var(--muted); line-height: 1.35; }

@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__content { max-width: none; }
  .hero__visual { max-width: 420px; margin: 8px auto 0; }
  .float--rating { left: 0; }
  .float--time { left: -2%; }
  .float--top { right: 0; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .trust li:nth-child(3) { border-left: 0; }
  .trust li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .hero__visual { max-width: 330px; }
  .float { padding: 9px 12px; }
  .float strong { font-size: .82rem; }
  .float small:not(.float__tag) { display: none; }
  .float--time .float__icon { width: 30px; height: 30px; }
  .float--time .float__icon svg { width: 16px; height: 16px; }
  .float__price { font-size: 1.25rem; }
  .trust { grid-template-columns: 1fr; }
  .trust li { border-left: 0; }
  .trust li:nth-child(n+2) { border-top: 1px solid var(--line); }
  .trust li:nth-child(3) { border-top: 1px solid var(--line); }
}

/* ---------- Diferenciais (círculos com foto) ---------- */
.features { padding-top: clamp(48px, 6vw, 80px); }
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature { text-align: center; padding: 10px 8px; }
.feature__circle {
  width: 150px; height: 150px; margin: 0 auto 18px;
  border-radius: 50%; padding: 4px;
  background: var(--grad);
  box-shadow: 0 0 44px var(--glow);
  transition: transform .25s ease;
}
.feature:hover .feature__circle { transform: scale(1.05) rotate(-2deg); }
.feature__circle img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid var(--bg); }
.feature h3 { font-size: 1.6rem; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: .92rem; margin: 0 auto; max-width: 250px; }

/* ---------- Cardápio ---------- */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 26px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line-2); background: transparent;
  color: var(--muted); font-weight: 600; white-space: nowrap; transition: all .15s;
}
.tab:hover { color: var(--cream); border-color: var(--cream); }
.tab.is-active { background: var(--cream); color: var(--bg); border-color: var(--cream); }

.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 20px; }
.item {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.item:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: var(--shadow); }
.item__media {
  position: relative; width: 100%; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden;
  padding: 0; border: 0; cursor: pointer;
  background: radial-gradient(70% 70% at 50% 60%, var(--glow-2), transparent 70%), linear-gradient(160deg, var(--card-2), var(--bg-2));
}
.item__media:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.item__media img { width: 68%; height: 68%; object-fit: contain; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .45)); transition: transform .3s; }
.item__media.has-photo img { width: 100%; height: 100%; object-fit: cover; filter: none; }
.item:hover .item__media.has-photo img { transform: scale(1.05); }
.item__tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  padding: 5px 9px; border-radius: 7px; background: var(--primary); color: #fff; white-space: nowrap;
}
.tag--novo { background: var(--accent); color: var(--accent-ink); }
.tag--veg { background: var(--veg); color: #06200a; }
.tag--premium { background: var(--cream); color: var(--bg); }
.item__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.item__name { font-size: 1.6rem; letter-spacing: .03em; }
.item__desc { color: var(--muted); font-size: .92rem; margin: 0; flex: 1; }
.item__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.item__price { font-weight: 700; font-size: 1.3rem; color: var(--cream); letter-spacing: -.01em; }
.item__price small { color: var(--muted); font-weight: 600; font-size: .8rem; margin-right: 3px; }
.item__actions { display: flex; align-items: center; gap: 8px; }
.item__custom {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px;
  border-radius: 999px; border: 1px solid var(--line-2); background: transparent;
  color: var(--cream); font-weight: 600; font-size: .82rem; transition: all .15s;
}
.item__custom b { font-size: 1.15rem; line-height: 1; font-weight: 700; }
.item__custom:hover { border-color: var(--accent); color: var(--accent); }
.menu-note { color: var(--muted); font-size: .85rem; margin: 28px 0 0; text-align: center; }
.menu-empty { grid-column: 1 / -1; color: var(--muted); text-align: center; padding: 40px 0; }

/* ---------- Opções (usadas no pop-up do produto) ---------- */
.opt { border: 0; padding: 0; margin: 0; min-width: 0; }
.opt legend { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; margin-bottom: 10px; padding: 0; }
.opt__list--chips { display: flex; flex-wrap: wrap; gap: 8px; }
.opt__list--rows { display: grid; gap: 6px; }
.opt__choice {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line);
  font-size: .9rem; cursor: pointer; transition: border-color .15s, background .15s;
}
.opt__choice:hover { border-color: var(--line-2); }
.opt__choice:has(input:checked) { border-color: var(--accent); background: rgba(255, 192, 46, .08); color: var(--cream); }
.opt__choice input { accent-color: var(--primary); width: 16px; height: 16px; margin: 0; flex: none; }
.opt__choice--row { display: flex; justify-content: space-between; width: 100%; border-radius: 12px; padding: 10px 12px; }
.opt__label { display: inline-flex; align-items: center; gap: 10px; }
.opt__price { color: var(--accent); font-weight: 700; font-size: .88rem; white-space: nowrap; }

/* ---------- Pop-up do produto ---------- */
.modal { position: fixed; inset: 0; z-index: 85; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .72); backdrop-filter: blur(3px); }
.modal__panel {
  position: relative; width: min(100%, 960px); max-height: min(92vh, 740px);
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 22px; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .65);
  animation: pop .22s ease;
}
@keyframes pop { from { transform: scale(.96) translateY(10px); opacity: 0; } }
.modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(10, 10, 11, .75); border: 1px solid var(--line-2); color: var(--cream);
  font-size: 1.5rem; line-height: 1; display: grid; place-items: center;
}
.modal__close:hover { border-color: var(--cream); }
.modal__gallery { grid-row: 1 / 3; display: flex; flex-direction: column; min-height: 0; background: var(--card); }
.modal__main { position: relative; flex: 1; min-height: 320px; }
.modal__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal__main.is-icon img { object-fit: contain; padding: 18%; }
.modal__thumbs { display: flex; gap: 8px; padding: 12px; background: var(--bg); }
.modal__thumbs:empty { display: none; }
.modal__thumb { width: 66px; height: 66px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--card); flex: none; opacity: .7; transition: opacity .15s, border-color .15s; }
.modal__thumb img { width: 100%; height: 100%; object-fit: cover; }
.modal__thumb:hover { opacity: 1; }
.modal__thumb.is-active { border-color: var(--accent); opacity: 1; }
.modal__content { padding: 28px 28px 12px; overflow-y: auto; min-height: 0; }
.modal__tags { display: flex; gap: 6px; min-height: 22px; }
.modal__content h3 { font-size: 2.3rem; margin: 10px 0 8px; padding-right: 40px; }
.modal__desc { color: var(--muted); margin-bottom: 10px; }
.modal__price { font-weight: 700; font-size: 1.35rem; color: var(--cream); margin-bottom: 20px; }
.modal__form { display: grid; gap: 20px; }
.modal__none { color: var(--muted); font-size: .92rem; }
.modal__foot { grid-column: 2; display: flex; align-items: center; gap: 14px; padding: 16px 28px 22px; border-top: 1px solid var(--line); background: var(--bg-2); }
.modal__foot .btn { flex: 1; }
.qty { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line-2); border-radius: 999px; padding: 4px; flex: none; }
.qty button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; color: var(--cream); font-size: 1.25rem; line-height: 1; display: grid; place-items: center; }
.qty button:hover { background: rgba(255, 255, 255, .07); }
.qty span { min-width: 26px; text-align: center; font-weight: 700; }

/* ---------- Barra do pedido (fixa embaixo) ---------- */
.cart-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: rgba(10, 10, 11, .94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-2);
  padding: 12px 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, .5);
}
.cart-bar[hidden] { display: none; }
.cart-bar__inner { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 20px; }
.cart-bar__last { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cart-bar__thumb { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; flex: none; border: 1px solid var(--line-2); background: var(--card); }
.cart-bar__last-text { min-width: 0; line-height: 1.3; font-size: .88rem; color: var(--muted); }
.cart-bar__last-text strong { display: block; color: var(--cream); font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-bar__last-text span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-bar__info { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; padding-left: 20px; border-left: 1px solid var(--line-2); }
.cart-bar__info strong { color: var(--muted); font-size: .82rem; font-weight: 600; }
.cart-bar__info span { color: var(--accent); font-weight: 700; font-size: 1.35rem; font-family: var(--font-display); letter-spacing: .03em; }
.cart-bar.bump { animation: bump .35s ease; }
@keyframes bump { 30% { transform: translateY(-6px); } }

/* ---------- Painel do pedido ---------- */
.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer[hidden] { display: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .62); backdrop-filter: blur(2px); }
.drawer__panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(100%, 460px);
  background: var(--bg-2); border-left: 1px solid var(--line-2);
  display: flex; flex-direction: column;
  box-shadow: -20px 0 60px rgba(0, 0, 0, .55);
  animation: slide-in .25s ease;
}
@keyframes slide-in { from { transform: translateX(40px); opacity: 0; } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 1.9rem; }
.drawer__close {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2);
  background: transparent; color: var(--cream); font-size: 1.4rem; line-height: 1;
}
.drawer__close:hover { border-color: var(--cream); }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 22px 18px; }
.cart-item { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-item__thumb { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; border: 1px solid var(--line); background: var(--card); }
.cart-item__info { min-width: 0; }
.cart-item__info strong { display: block; color: var(--cream); font-size: .95rem; }
.cart-item__info small { color: var(--muted); font-size: .78rem; display: block; }
.cart-item__qty { display: inline-flex; align-items: center; gap: 4px; }
.cart-item__qty button {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2);
  background: transparent; color: var(--cream); font-size: 1.05rem; line-height: 1; display: grid; place-items: center;
}
.cart-item__qty button:hover { border-color: var(--accent); color: var(--accent); }
.cart-item__qty span { min-width: 20px; text-align: center; font-weight: 700; font-size: .9rem; }
.cart-item__price { font-weight: 700; color: var(--cream); min-width: 72px; text-align: right; font-size: .92rem; }
.cart-empty { color: var(--muted); text-align: center; padding: 34px 0; }
.cart-mode { border: 0; padding: 0; margin: 22px 0 0; }
.cart-mode legend, .cart-obs > span { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; margin-bottom: 8px; display: block; padding: 0; }
.cart-mode label { display: inline-flex; align-items: center; gap: 6px; margin: 0 16px 6px 0; font-size: .92rem; cursor: pointer; }
.cart-mode input { accent-color: var(--primary); }
.cart-obs { display: block; margin-top: 16px; }
.cart-obs textarea {
  width: 100%; background: var(--card); border: 1px solid var(--line-2); border-radius: 10px;
  color: var(--cream); padding: 10px 12px; font: inherit; font-size: .92rem; resize: vertical; min-height: 64px;
}
.cart-obs textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.drawer__foot { padding: 16px 22px 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; background: var(--bg-2); }
.cart-sum { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; }
.cart-sum strong { font-size: 1.6rem; color: var(--accent); font-family: var(--font-display); letter-spacing: .03em; }
.drawer__foot small { color: var(--muted); }
.drawer__foot .btn { width: 100%; }
.cart-clear { background: none; border: 0; color: var(--muted); text-decoration: underline; font-size: .85rem; justify-self: center; padding: 4px; }
.cart-clear:hover { color: var(--cream); }

/* ---------- História ---------- */
.story { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.story__text p { color: var(--muted); font-size: 1.05rem; }
.story__text p strong { color: var(--cream); }
.story__text .section__title { margin-bottom: 22px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.stat { border-left: 2px solid var(--accent); padding-left: 14px; }
.stat strong { display: block; font-family: var(--font-display); font-size: 2.5rem; line-height: 1; color: var(--cream); }
.stat span { display: block; color: var(--muted); font-size: .85rem; margin-top: 4px; }

.quote-card {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 34px 30px; box-shadow: var(--shadow);
}
.quote-card__mark {
  position: absolute; top: -18px; left: 26px;
  font-family: var(--font-display); font-size: 6rem; line-height: 1; color: var(--primary);
}
.quote-card__text { font-size: 1.3rem; line-height: 1.5; color: var(--cream); margin: 0 0 26px; }
.quote-card__author { display: flex; align-items: center; gap: 14px; }
.quote-card__author strong { display: block; color: var(--cream); }
.quote-card__author small { color: var(--muted); }
.quote-card__avatar { width: 48px; height: 48px; border-radius: 50%; flex: none; background: var(--grad); }

/* ---------- Depoimentos (carrossel infinito) ---------- */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track { display: flex; gap: 20px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 10px)); } }
.review {
  width: 360px; flex: none;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 26px 22px; display: flex; flex-direction: column;
}
.review__stars { color: var(--star); letter-spacing: .12em; margin-bottom: 14px; }
.review p { color: var(--cream); font-size: 1.02rem; flex: 1; }
.review footer { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: .9rem; }
.review footer span { color: var(--muted); }

/* ---------- Localização ---------- */
.local { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: stretch; }
.local__info { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.local__info h3 { font-size: 1.15rem; letter-spacing: .1em; color: var(--primary-2); margin: 22px 0 8px; }
.local__info h3:first-of-type { margin-top: 0; }
.local__info > p { color: var(--cream); margin: 0; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px dashed var(--line); color: var(--muted); font-size: .95rem; }
.hours li:last-child { border-bottom: 0; }
.hours li.is-today { color: var(--cream); font-weight: 600; }
.hours li.is-today span:first-child::after { content: "hoje"; color: var(--accent); font-size: .7em; text-transform: uppercase; letter-spacing: .1em; margin-left: 8px; }
.hours--compact li { padding: 5px 0; font-size: .9rem; }
.local__delivery { color: var(--muted); font-size: .95rem; margin: 22px 0 0; }
.local__delivery strong { color: var(--cream); }
.local__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 420px; background: var(--card); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.25) contrast(1.05); }

/* ---------- CTA final ---------- */
.cta {
  position: relative; overflow: hidden;
  background: var(--bg-2); border-top: 1px solid var(--line);
  padding: clamp(56px, 7vw, 88px) 0;
}
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 70% at 50% 20%, var(--glow), transparent 70%),
    radial-gradient(30% 40% at 85% 90%, var(--glow-2), transparent 70%);
}
.cta__inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.cta__logo { width: min(100%, 440px); height: auto; margin-bottom: 8px; filter: drop-shadow(0 0 30px var(--glow)); }
.cta__title { font-size: clamp(2.8rem, 6vw, 4.4rem); }
.cta p { margin: 0 0 12px; font-size: 1.1rem; color: var(--muted); max-width: 520px; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Rodapé ---------- */
.footer { background: #060607; border-top: 1px solid var(--line); padding: 60px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer__brand p { color: var(--muted); margin: 16px 0 18px; }
.footer__links li { margin-bottom: 10px; }
.footer__links a, .footer__links span { color: var(--muted); font-size: .95rem; }
.footer__links a:hover { color: var(--cream); }
.social { display: flex; gap: 10px; }
.social a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--line-2); color: var(--cream); transition: all .15s;
}
.social a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px;
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: .85rem;
}

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--green); color: #062b14;
  display: grid; place-items: center;
  box-shadow: 0 12px 32px rgba(37, 211, 102, .38);
  transition: transform .25s, opacity .25s, background .2s;
}
.wa-float .icon { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.06); background: var(--green-2); }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--green); animation: pulse 2.2s ease-out infinite;
}
.wa-float.is-hidden, .wa-float.is-cart { transform: translateY(24px); opacity: 0; pointer-events: none; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .wa-float::after, .cart-bar.bump, .modal__panel, .drawer__panel { animation: none; }
  .marquee__track { animation: none; width: auto; overflow-x: auto; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1140px) {
  .header .status { display: none; }
}
@media (max-width: 1024px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1000px) {
  .nav {
    position: fixed; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; gap: 4px;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    padding: 16px 16px 24px;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .2s, transform .2s;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 12px 10px; font-size: 1.1rem; border-radius: 10px; }
  .nav a:hover { background: rgba(255, 255, 255, .04); }
  .nav-toggle { display: flex; }
}
@media (max-width: 900px) {
  .hero { min-height: 0; }
  .story, .local { grid-template-columns: 1fr; gap: 28px; }
  .map { min-height: 320px; }
}
@media (max-width: 760px) {
  /* Pop-up do produto vira uma folha inferior com a galeria em cima */
  .modal { padding: 0; align-items: end; }
  .modal__panel { width: 100%; max-height: 94vh; border-radius: 22px 22px 0 0; grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; }
  .modal__gallery { grid-row: auto; }
  .modal__main { flex: none; min-height: 0; aspect-ratio: 16 / 10; }
  .modal__thumbs { padding: 8px 12px; }
  .modal__thumb { width: 54px; height: 54px; }
  .modal__content { padding: 18px 18px 8px; }
  .modal__content h3 { font-size: 1.9rem; }
  .modal__foot { grid-column: 1; padding: 12px 18px 18px; }
}
@media (max-width: 600px) {
  .header__inner { gap: 12px; }
  :root { --header-h: 70px; }
  .brand__logo { height: 58px; }
  .header .btn--sm { padding: 10px 14px; font-size: .85rem; }
  .hero { padding: 36px 0 48px; }
  .hero__title { font-size: 3rem; margin: 14px 0 12px; }
  .hero__lead { font-size: 1rem; margin-bottom: 22px; }
  .hero__cta .btn { width: 100%; }
  .badge { font-size: .78rem; padding: 7px 12px; }
  .features__grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .feature { padding: 0; }
  .feature__circle { width: 118px; height: 118px; margin-bottom: 12px; }
  .feature h3 { font-size: 1.3rem; }
  .feature p { font-size: .82rem; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .local__info { padding: 24px 20px; }
  .quote-card { padding: 34px 24px 26px; }
  .cta__logo { width: min(100%, 300px); }
  .review { width: 290px; }
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }

  /* Barra do pedido em duas linhas */
  body.has-cart { padding-bottom: 136px; }
  .cart-bar { padding: 10px 0 12px; }
  .cart-bar__inner { grid-template-columns: 1fr auto; gap: 10px 12px; }
  .cart-bar__last { grid-column: 1 / -1; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
  .cart-bar__thumb { width: 44px; height: 44px; }
  .cart-bar__info { align-items: flex-start; padding-left: 0; border-left: 0; }
  .cart-bar__info span { font-size: 1.25rem; }

  /* Painel do pedido vira uma folha inferior */
  .drawer__panel {
    top: auto; left: 0; right: 0; width: 100%; max-height: 90vh;
    border-left: 0; border-top: 1px solid var(--line-2); border-radius: 22px 22px 0 0;
    animation: slide-up .25s ease;
  }
  @keyframes slide-up { from { transform: translateY(40px); opacity: 0; } }
  .cart-item { grid-template-columns: auto 1fr auto; }
  .cart-item__price { grid-column: 2 / -1; text-align: left; min-width: 0; }

  /* Cardápio em formato de lista (cards horizontais, mais itens por tela) */
  .menu-grid { gap: 12px; }
  .item { flex-direction: row; align-items: stretch; }
  .item:hover { transform: none; }
  .item__media { aspect-ratio: auto; width: 112px; flex: none; }
  .item__media img { width: 82%; height: 82%; }
  .item__tags { top: 8px; left: 8px; }
  .tag { font-size: .58rem; padding: 4px 6px; letter-spacing: .05em; }
  .item__body { padding: 12px 12px 12px 14px; gap: 4px; min-width: 0; }
  .item__name { font-size: 1.3rem; }
  .item__desc { font-size: .82rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .item__foot { margin-top: 6px; gap: 8px; }
  .item__price { font-size: 1.1rem; }
  .item .btn--sm { padding: 8px 12px; font-size: .82rem; }
  .item__custom { height: 34px; padding: 0 10px; font-size: .78rem; }
}

/* ---------- Promoções e combos em destaque ---------- */
.promos { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.promo {
  position: relative; background: var(--card); border: 1px solid rgba(255, 192, 46, .28); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 0 40px var(--glow-2);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.promo:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow), 0 0 50px var(--glow); }
.promo__media { position: relative; width: 100%; aspect-ratio: 16 / 10; padding: 0; border: 0; overflow: hidden; cursor: pointer; background: var(--card-2); }
.promo__media:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.promo__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.promo:hover .promo__media img { transform: scale(1.05); }
.promo__badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--grad); color: var(--accent-ink);
  font-family: var(--font-display); font-size: 1.5rem; letter-spacing: .04em; line-height: 1;
  padding: 7px 12px 5px; border-radius: 10px; box-shadow: 0 6px 18px rgba(0, 0, 0, .45);
}
.promo__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.promo__when { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); font-weight: 700; }
.promo h3 { font-size: 1.9rem; }
.promo p { color: var(--muted); font-size: .92rem; margin: 0; flex: 1; }
.promo__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.promo__prices { display: flex; flex-direction: column; line-height: 1.15; }
.promo__prices s { color: var(--muted); font-size: .85rem; }
.promo__prices strong { color: var(--cream); font-size: 1.55rem; font-weight: 700; letter-spacing: -.01em; }
.promos__more { text-align: center; margin: 28px 0 0; }
.modal__price s { color: var(--muted); font-weight: 500; font-size: .95rem; margin-right: 8px; }
@media (max-width: 600px) {
  .promo h3 { font-size: 1.6rem; }
  .promo__body { padding: 14px 14px 16px; }
}

/* ---------- Checkout: cadastro passo a passo + pagamento ---------- */
.drawer__or { text-align: center; color: var(--muted); }
body.checkout-open { overflow: hidden; }
.checkout { position: fixed; inset: 0; z-index: 90; }
.checkout[hidden] { display: none; }
.checkout__backdrop { position: absolute; inset: 0; background: var(--bg); }
.checkout__panel {
  position: relative; height: 100%; max-width: 640px; margin: 0 auto;
  display: flex; flex-direction: column;
}
.checkout__head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; flex: none; }
.checkout__progress { flex: 1; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.checkout__progress span { display: block; height: 100%; width: 0%; background: var(--grad); transition: width .3s ease; }
.checkout__back, .checkout__close {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2);
  background: transparent; color: var(--cream); font-size: 1.3rem; line-height: 1;
  display: grid; place-items: center; flex: none;
}
.checkout__back:hover, .checkout__close:hover { border-color: var(--cream); }
.checkout__back[hidden] { visibility: hidden; }

.checkout__body { flex: 1; overflow-y: auto; padding: 12px 24px 32px; display: flex; }
.step { display: none; flex-direction: column; gap: 16px; width: 100%; align-self: center; animation: step-in .3s ease; }
.step.is-active { display: flex; }
@keyframes step-in { from { opacity: 0; transform: translateY(14px); } }
.step__eyebrow { color: var(--primary-2); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .75rem; }
.step h3 { font-size: clamp(1.7rem, 5vw, 2.5rem); }
.step__hint { color: var(--muted); margin: -8px 0 0; font-size: .92rem; }

.step__input {
  background: var(--card); border: 1px solid var(--line-2); border-radius: 14px;
  padding: 16px 18px; color: var(--cream); font: inherit; font-size: 1.1rem; width: 100%;
}
.step__input::placeholder { color: var(--muted); }
.step__input:focus { outline: 2px solid var(--accent); outline-offset: 2px; border-color: var(--accent); }
.step__row { display: flex; gap: 10px; align-items: center; }
.step__row .step__input { flex: 1; }
.step__input--sm { max-width: 150px; flex: 0 0 auto; }
.step__cep-status { color: var(--muted); font-size: .85rem; }

.step__options { display: flex; flex-wrap: wrap; gap: 10px; }
.step__options--pay .step__option { min-width: 120px; }
.step__option {
  flex: 1; min-width: 170px; padding: 18px; border-radius: 14px;
  border: 1px solid var(--line-2); background: var(--card); color: var(--cream);
  font-weight: 700; font-size: 1.05rem; text-align: center;
  transition: border-color .15s, background .15s, transform .15s;
}
.step__option:hover { border-color: var(--accent); transform: translateY(-2px); }
.step__option.is-selected { border-color: var(--accent); background: rgba(255, 192, 46, .1); box-shadow: 0 0 0 1px var(--accent) inset; }

.step--review .review-list { display: grid; gap: 4px; margin: 0; padding: 0; }
.review-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; color: var(--cream); }
.review-list li small { color: var(--muted); }
.review-info { display: grid; gap: 8px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .9rem; }
.review-info div { display: flex; justify-content: space-between; gap: 16px; }
.review-info div span:first-child { color: var(--muted); }
.review-info div span:last-child { color: var(--cream); text-align: right; }
.review-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; font-size: 1.1rem; }
.review-total strong { color: var(--accent); font-family: var(--font-display); font-size: 1.9rem; letter-spacing: .03em; }

.checkout__foot { padding: 16px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; max-width: 640px; margin: 0 auto; width: 100%; flex: none; }
.checkout__error { color: var(--red); font-size: .88rem; margin: 0; text-align: center; }
.checkout__error[hidden] { display: none; }
.checkout__body[hidden], .checkout__profile-status[hidden] { display: none; }
.checkout__profile-status { margin: 12px 24px 0; color: var(--muted); font-size: .85rem; line-height: 1.5; }
.review-info .review-value { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; min-width: 0; }
.review-info .review-value > span { color: var(--cream); overflow-wrap: anywhere; }
.review-edit { padding: 4px 8px; margin-left: 8px; border: 1px solid var(--line); border-radius: 6px; background: transparent; color: var(--cream); font: inherit; font-size: .78rem; cursor: pointer; }
.review-edit:hover, .review-edit:focus-visible { border-color: var(--cream); text-decoration: underline; }
.step--review { align-self: flex-start; }
#checkout-whatsapp-fallback.is-emphasis { background: rgba(37, 211, 102, .1); border-color: var(--green); color: var(--cream); }

@media (max-width: 600px) {
  .checkout__body { padding: 8px 20px 24px; }
  .step h3 { font-size: 1.7rem; }
  .step__option { min-width: 140px; padding: 15px; font-size: .95rem; }
  .checkout__foot { padding: 14px 20px 20px; }
}

/* ---------- Login do cliente ---------- */
.auth-chip-wrap { position: relative; }
.auth-chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-2); background: transparent; color: var(--cream);
  font-weight: 600; font-size: .9rem; transition: border-color .15s, background .15s;
}
.auth-chip .icon { width: 1.1em; height: 1.1em; }
.auth-chip:hover { border-color: var(--accent); }
.auth-chip.is-logado { border-color: var(--accent); background: rgba(255, 192, 46, .08); color: var(--accent); }

.auth-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 40;
  min-width: 200px; background: var(--card); border: 1px solid var(--line-2); border-radius: 14px;
  padding: 14px; display: flex; flex-direction: column; gap: 10px;
  box-shadow: var(--shadow);
}
.auth-menu[hidden] { display: none; }
.auth-menu__email { color: var(--muted); font-size: .82rem; word-break: break-all; }
.auth-menu__sair {
  background: transparent; border: 1px solid var(--line-2); border-radius: 10px;
  color: var(--cream); padding: 8px 12px; font-weight: 600; font-size: .88rem; text-align: left;
}
.auth-menu__sair:hover { border-color: var(--red); color: var(--red); }

body.auth-open { overflow: hidden; }
.auth { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 16px; }
.auth[hidden] { display: none; }
.auth__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .72); backdrop-filter: blur(3px); }
.auth__panel {
  position: relative; width: min(100%, 420px); max-height: 92vh; overflow-y: auto;
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 22px;
  padding: 32px 28px 28px; box-shadow: 0 30px 80px rgba(0, 0, 0, .65);
  animation: pop .22s ease;
}
.auth__close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2);
  background: transparent; color: var(--cream); font-size: 1.3rem; line-height: 1; display: grid; place-items: center;
}
.auth__close:hover { border-color: var(--cream); }
.auth__aviso { color: var(--muted); font-size: .92rem; line-height: 1.6; margin: 12px 0 0; }
.auth__tabs { display: flex; gap: 8px; margin-bottom: 22px; }
.auth__tab {
  flex: 1; padding: 10px; border-radius: 10px; border: 1px solid var(--line-2);
  background: transparent; color: var(--muted); font-weight: 700; font-size: .92rem;
}
.auth__tab.is-active { background: var(--cream); color: var(--bg); border-color: var(--cream); }
.auth__form h3 { font-size: 1.7rem; margin-bottom: 18px; }
.auth__form[hidden] { display: none; }
.auth__field { display: block; margin-bottom: 14px; }
.auth__field span { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.auth__field input {
  width: 100%; background: var(--card); border: 1px solid var(--line-2); border-radius: 12px;
  padding: 13px 14px; color: var(--cream); font: inherit; font-size: 1rem;
}
.auth__field input:focus { outline: 2px solid var(--accent); outline-offset: 2px; border-color: var(--accent); }
.auth__form .btn { width: 100%; margin-top: 6px; }
.auth__link { display: block; margin: 14px auto 0; background: none; border: 0; color: var(--muted); text-decoration: underline; font-size: .85rem; text-align: center; width: 100%; }
.auth__link:hover { color: var(--cream); }
.auth__msg { margin: 16px 0 0; font-size: .88rem; text-align: center; color: var(--red); }
.auth__msg[hidden] { display: none; }
.auth__msg--ok { color: var(--green); }
.google-button { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 44px; padding: 12px 16px; border: 1px solid #747775; border-radius: 8px; background: #fff; color: #1f1f1f; font-family: Arial, sans-serif; font-size: .95rem; font-weight: 500; cursor: pointer; }
.google-button:hover { background: #f2f2f2; }
.google-button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.google-button:disabled { opacity: .65; cursor: wait; }
.google-button svg { width: 20px; height: 20px; flex: none; }
.account-nav { display: flex; gap: 18px; flex-wrap: wrap; margin-left: auto; font-size: .9rem; }
.account-nav a:hover { color: var(--accent); }
.account-container { max-width: 860px; }
.account-page .section__lead { margin-bottom: 24px; }
.account-fields { border: 0; padding: 0; margin: 0; min-width: 0; }
.account-card { border: 1px solid var(--line); border-radius: 18px; background: var(--bg-2); padding: 24px; margin-bottom: 20px; min-width: 0; }
.account-card h2 { font-size: 1.8rem; margin-bottom: 14px; }
.account-card .auth__field { margin-bottom: 0; min-width: 0; }
.account-card .auth__field small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.5; margin-top: 6px; }
.account-help { color: var(--muted); font-size: .88rem; line-height: 1.6; margin-bottom: 18px; overflow-wrap: anywhere; }
.account-status { color: var(--muted); margin: 18px 0; font-size: .92rem; line-height: 1.6; }
.account-status--error { color: var(--red); }
.account-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.account-wide { grid-column: 1 / -1; }
.account-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
.account-section-heading h2 { margin: 0; }
.account-address-list { display: grid; gap: 20px; }
.account-address { border: 1px solid var(--line-2); border-radius: 14px; padding: 18px; min-width: 0; }
.account-address-legend { padding: 0 8px; font-size: 1.05rem; font-weight: 700; overflow-wrap: anywhere; max-width: 100%; }
.account-address-actions { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 20px; }
.account-default { display: flex; gap: 8px; align-items: center; color: var(--cream); font-size: .86rem; min-height: 44px; }
.account-remove { background: none; color: var(--red); border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; min-height: 44px; font: inherit; cursor: pointer; }
.account-save { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; padding: 18px 0; }
.account-save p { margin: 0; }
.account-fields:disabled { opacity: .65; }
.checkout__address-picker { margin: 12px 24px 0; display: grid; gap: 8px; font-size: .85rem; }
.checkout__address-picker[hidden] { display: none; }
.checkout__address-picker label { font-weight: 700; }
.checkout__address-picker select { padding: 10px 12px; font-size: .85rem; width: 100%; min-width: 0; }
.checkout__address-picker a { color: var(--muted); text-decoration: underline; justify-self: start; }
@media (max-width: 600px) {
  .account-card { padding: 20px 16px; }
  .account-grid { grid-template-columns: minmax(0, 1fr); }
  .account-address { padding: 14px 12px; }
  .account-save .btn { width: 100%; }
  .account-nav { gap: 12px; font-size: .8rem; }
}
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--muted); font-size: .8rem; }
.auth-divider::before, .auth-divider::after { content: ''; height: 1px; flex: 1; background: var(--line); }

@media (max-width: 600px) {
  .auth-chip span { display: none; }
  .auth-chip { width: 40px; padding: 0; justify-content: center; }
  .auth__panel { padding: 26px 20px 22px; }
}

/* ---------- Acompanhamento do pedido (pedido.html) ---------- */
.tracker { position: relative; display: flex; justify-content: space-between; margin: 28px 0 36px; }
.tracker__linha-fundo { position: absolute; top: 9px; left: 5%; right: 5%; height: 2px; background: var(--line-2); z-index: 0; }
.tracker__passo { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; min-width: 0; padding: 0 2px; }
.tracker__bolinha { width: 20px; height: 20px; border-radius: 50%; border: 3px solid var(--line-2); background: var(--bg-2); flex: none; }
.tracker__passo--feito .tracker__bolinha { background: var(--accent); border-color: var(--accent); }
.tracker__passo--atual .tracker__bolinha { background: var(--primary); border-color: var(--primary); box-shadow: 0 0 0 5px var(--glow); animation: pulse-dot 2s ease-out infinite; }
@keyframes pulse-dot { 0% { box-shadow: 0 0 0 5px var(--glow); } 100% { box-shadow: 0 0 0 9px transparent; } }
.tracker__rotulo { font-size: .72rem; color: var(--muted); font-weight: 600; line-height: 1.3; }
.tracker__passo--feito .tracker__rotulo, .tracker__passo--atual .tracker__rotulo { color: var(--cream); }
.tracker__cancelado { background: rgba(255, 77, 109, .1); border: 1px solid var(--red); color: var(--cream); border-radius: 14px; padding: 16px; text-align: center; margin: 28px 0 32px; }

.tracker-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }

/* Estrelas de avaliação */
.stars-field { margin-bottom: 16px; }
.stars-field span { display: block; font-size: .78rem; color: var(--muted); margin-bottom: 6px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.stars { position: relative; display: inline-block; font-size: 1.9rem; letter-spacing: 5px; cursor: pointer; color: var(--line-2); user-select: none; line-height: 1; }
.stars::after {
  content: '★★★★★'; position: absolute; inset: 0; width: var(--preenchido, 0%); overflow: hidden;
  color: var(--accent); white-space: nowrap; pointer-events: none;
}

/* ---------- Painel da equipe (painel.html) ---------- */
.painel-lista { display: grid; gap: 14px; }
.painel-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.painel-card__topo { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.painel-card__status { background: var(--line-2); color: var(--cream); }
.painel-card__status--recebido { background: var(--red); color: #fff; }
.painel-card__status--aceito { background: var(--primary); color: #fff; }
.painel-card__status--preparando { background: var(--accent); color: var(--accent-ink); }
.painel-card__status--embalando { background: var(--primary-2); color: #fff; }
.painel-card__status--pronto { background: var(--green); color: #062b14; }
.painel-card__status--entregue { background: var(--line-2); color: var(--muted); }
.painel-card__status--cancelado { background: transparent; border: 1px solid var(--red); color: var(--red); }

@media (max-width: 600px) {
  .tracker__rotulo { font-size: .64rem; }
  .tracker__bolinha { width: 16px; height: 16px; }
  .tracker-card { padding: 18px; }
  .stars { font-size: 1.6rem; letter-spacing: 4px; }
}

/* ---------- Aviso de cookies ---------- */
.cookies {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: rgba(10, 10, 11, .97); border-top: 1px solid var(--line-2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: 18px 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, .5);
}
.cookies[hidden] { display: none; }
.cookies__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cookies__texto { margin: 0; color: var(--muted); font-size: .9rem; max-width: 640px; }
.cookies__texto a { color: var(--accent); text-decoration: underline; }
.cookies__acoes { display: flex; gap: 10px; flex: none; }
@media (max-width: 640px) {
  .cookies__inner { flex-direction: column; align-items: stretch; }
  .cookies__acoes { justify-content: stretch; }
  .cookies__acoes .btn { flex: 1; }
}

/* ---------- Rodapé: links legais ---------- */
.footer__legal { display: flex; gap: 6px; flex-wrap: wrap; }
.footer__legal a { color: var(--muted); text-decoration: underline; }
.footer__legal a:hover { color: var(--cream); }

/* ---------- Menu de conta: link extra ---------- */
.auth-menu__link {
  background: transparent; border: 1px solid var(--line-2); border-radius: 10px;
  color: var(--cream); padding: 8px 12px; font-weight: 600; font-size: .88rem; text-align: left; display: block;
}
.auth-menu__link:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Página de texto legal (privacidade.html) ---------- */
.legal { max-width: 720px; }
.legal__aviso {
  background: var(--card); border: 1px solid var(--line-2); border-radius: 14px;
  padding: 16px 18px; color: var(--muted); font-size: .92rem; margin: 20px 0 36px;
}
.legal h2 { font-size: 1.7rem; margin: 36px 0 12px; }
.legal p { color: var(--muted); }
.legal ul { margin: 0 0 1em; padding-left: 20px; list-style: disc; color: var(--muted); }
.legal ul li { margin-bottom: 8px; }
.legal strong { color: var(--cream); }
.legal a { color: var(--accent); text-decoration: underline; }

/* Cartão de pedido também funciona como link (meus-pedidos.html) */
a.painel-card { transition: border-color .15s, transform .15s; }
a.painel-card:hover { border-color: var(--accent); transform: translateY(-2px); }

/* ---------- Painel: pedidos, finanças e avisos ---------- */
.pn-barra { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.pn-barra .section__title { font-size: 2.2rem; }
.pn-barra__acoes { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.pn-select {
  background: var(--card); color: var(--cream); border: 1px solid var(--line-2); border-radius: 10px;
  padding: 9px 12px; font: inherit; font-size: .92rem; min-width: 0;
}
.pn-select:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
select.pn-select { cursor: pointer; }
.auth__field select.pn-select, .auth__field input[type="datetime-local"] { padding: 13px 14px; font-size: 1rem; border-radius: 12px; }
.auth__field input[type="datetime-local"], .auth__field input[type="number"] {
  width: 100%; background: var(--card); border: 1px solid var(--line-2); color: var(--cream); font: inherit;
}
.pn-select[type="number"] { width: 90px; }
#pn-som.is-on { border-color: var(--green); color: var(--green); }
.pn-loja { background: var(--green); color: #062b14; }
.pn-loja.is-pausada { background: var(--red); color: #fff; }

.pn-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 22px; }
.pn-kpi { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pn-kpi--destaque { border-color: rgba(255, 192, 46, .4); background: linear-gradient(160deg, rgba(255, 192, 46, .1), var(--card) 60%); }
.pn-kpi__rotulo { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.pn-kpi__valor { font-family: var(--font-display); font-size: 2.1rem; line-height: 1.05; color: var(--cream); letter-spacing: .02em; overflow-wrap: anywhere; }
.pn-kpi__sub { font-size: .8rem; color: var(--muted); }

.painel-card--fim { opacity: .7; }
.painel-card__topo { flex-wrap: wrap; }
.pn-pill { font-size: .7rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.pn-pill--ok { border-color: var(--green); color: var(--green); }
.pn-pill--aviso { border-color: var(--accent); color: var(--accent); }
.pn-pill--erro { border-color: var(--red); color: var(--red); }
.pn-cliente { font-size: 1.2rem; color: var(--cream); display: block; margin: 8px 0 2px; }
.pn-linha { margin: 0 0 6px; color: var(--muted); font-size: .9rem; }
.pn-linha a { color: var(--accent); text-decoration: underline; }
.pn-valor { display: flex; justify-content: space-between; gap: 8px; }
.pn-valor > :last-child { white-space: nowrap; }
.pn-linha--total { color: var(--cream); font-weight: 700; }
.pn-itens { list-style: none; margin: 6px 0 8px; padding: 0; display: grid; gap: 4px; }
.pn-itens li { color: var(--cream); font-size: .95rem; }
.pn-item__det { display: block; color: var(--muted); font-size: .82rem; font-weight: 400; }
.pn-acoes { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }

.pn-toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 200;
  max-width: min(92vw, 460px); padding: 12px 18px; border-radius: 12px;
  background: var(--cream); color: var(--bg); font-weight: 600; font-size: .92rem; box-shadow: 0 12px 40px rgba(0, 0, 0, .5);
}
.pn-toast--erro { background: var(--red); color: #fff; }
.pn-toast[hidden] { display: none; }

.fn-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fn-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; min-width: 0; }
.fn-card h3 { font-size: 1.4rem; margin: 0 0 14px; }
.fn-card--largo { grid-column: 1 / -1; }
.fn-barra { display: grid; grid-template-columns: minmax(70px, 34%) 1fr auto; align-items: center; gap: 10px; margin-bottom: 9px; font-size: .88rem; }
.fn-barra__rotulo { color: var(--cream); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fn-barra__trilho { display: block; height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; }
.fn-barra__fill { display: block; height: 100%; border-radius: 999px; background: var(--grad); }
.fn-barra__valor { color: var(--muted); white-space: nowrap; font-size: .82rem; }
.fn-grupo { margin-bottom: 14px; }
.fn-grupo__topo { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 6px; font-size: .92rem; }
.fn-grupo__topo span { color: var(--muted); font-size: .85rem; }
.fn-grupo small { color: var(--muted); display: block; margin-top: 4px; }
.fn-tabela { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: .85rem; }
.fn-tabela th { text-align: left; color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; padding: 6px 4px; border-bottom: 1px solid var(--line-2); }
.fn-tabela td { padding: 8px 4px; border-bottom: 1px solid var(--line); color: var(--cream); }
.fn-rank { list-style: none; margin: 0; padding: 0; counter-reset: rank; display: grid; gap: 8px; }
.fn-rank li { counter-increment: rank; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.fn-rank li::before { content: counter(rank); font-family: var(--font-display); font-size: 1.4rem; color: var(--accent); width: 26px; flex: none; }
.fn-rank li span { flex: 1; color: var(--cream); }
.fn-rank li small { display: block; color: var(--muted); font-size: .76rem; }
.fn-rank li strong { color: var(--cream); font-size: .9rem; white-space: nowrap; }
.fn-colunas { display: flex; align-items: flex-end; gap: 4px; height: 180px; overflow-x: auto; padding-top: 8px; }
.fn-colunas--curto { height: 140px; }
.fn-col { flex: 1 0 14px; min-width: 14px; height: 100%; padding-bottom: 18px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; }
.fn-col__barra { display: block; flex: none; width: 100%; max-width: 38px; border-radius: 6px 6px 2px 2px; background: var(--grad); }
.fn-col__rotulo { position: absolute; bottom: 0; font-size: .66rem; color: var(--muted); white-space: nowrap; }
.fn-estrelas { color: var(--accent); letter-spacing: 2px; font-size: 1.05rem; }

.fn-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 14px; align-items: start; }
.fn-form__itens, .fn-form__acoes { grid-column: 1 / -1; }
.fn-form__titulo { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; margin-bottom: 8px; }
.fn-linha { display: flex; gap: 8px; margin-bottom: 8px; align-items: center; }
.fn-linha__item { flex: 1; min-width: 0; }
.fn-ext { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; }
.fn-ext > span { min-width: 0; }

@media (max-width: 900px) {
  .fn-grid { grid-template-columns: 1fr; }
  .fn-form { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .fn-form { grid-template-columns: 1fr; }
  .pn-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pn-kpi { padding: 12px 14px; }
  .pn-kpi__valor { font-size: 1.6rem; }
  .fn-barra { grid-template-columns: minmax(60px, 40%) 1fr; }
  .fn-barra__valor { grid-column: 1 / -1; margin-top: -4px; }
}

/* Aviso de loja pausada (aparece no site quando a equipe pausa os pedidos) */
.loja-pausada {
  position: sticky; top: var(--header-h); z-index: 40;
  background: var(--red); color: #fff; text-align: center; padding: 10px 16px; font-weight: 600; font-size: .92rem;
}
.loja-pausada[hidden] { display: none; }
body.loja-fechada #cart-checkout, body.loja-fechada #cart-send { opacity: .45; cursor: not-allowed; }

/* Consentimento de ofertas no pedido */
.review-consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: .85rem; color: var(--muted); cursor: pointer; line-height: 1.4; }
.review-consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--accent); }

/* Painel: janela de confirmação, editor do cardápio e listas de clientes */
.pn-dialogo { position: fixed; inset: 0; z-index: 300; background: rgba(0, 0, 0, .7); display: grid; place-items: center; padding: 16px; }
.pn-dialogo[hidden] { display: none; }
.pn-dialogo__caixa { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 24px; width: min(100%, 440px); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.pn-dialogo__caixa h3 { font-size: 1.7rem; margin: 0 0 8px; }
.pn-dialogo__caixa p { color: var(--muted); margin: 0 0 16px; }
.pn-dialogo__acoes { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.pn-dialogo .pn-perigo { background: var(--red); color: #fff; }
.pn-dialogo #pn-dialogo-campo { margin-bottom: 4px; padding: 12px 14px; font-size: 1rem; }

.cd-item { padding: 12px 16px; }
.cd-item__topo { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cd-item__nome { color: var(--cream); font-weight: 600; min-width: 0; }
.cd-item__nome small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; margin-top: 2px; }
.cd-item__nome small b { color: var(--accent); font-weight: 700; }
.cd-item__botoes { display: flex; gap: 8px; flex-wrap: wrap; }
.cd-editor { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.cd-editor[hidden] { display: none; }
.cd-editor__campos { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0 14px; max-width: 460px; }
.cd-extras { display: grid; gap: 8px; margin-bottom: 10px; }
.cd-extra { display: flex; gap: 8px; align-items: center; }
.cd-extra__nome { flex: 1; min-width: 0; }
.cd-extra__preco { width: 96px; }
.cd-editor__acoes { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.cd-erro { text-align: left; margin-top: 10px; }

.cl-hash { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .88rem; cursor: pointer; }
.cl-hash input { accent-color: var(--accent); width: 16px; height: 16px; }
.cl-passos { margin: 0; padding-left: 20px; color: var(--muted); font-size: .9rem; display: grid; gap: 8px; }
.cl-passos strong { color: var(--cream); }

/* ---------- Fundos do topo (config: heroFundo = "halo" | "alho" | "chamas" | "simples") ---------- */
.hero { --halo-x: 74%; --halo-y: 48%; }
.hero__deco { position: absolute; inset: 0; pointer-events: none; overflow: hidden; display: none; }
.hero--halo .hero__deco, .hero--alho .hero__deco { display: block; }
.hero.has-banner .hero__deco { display: none; }

.deco { position: absolute; color: var(--accent); opacity: .36; animation: flutuar-deco 9s ease-in-out infinite; }
.deco--a { width: 84px; left: 47%; top: 8%; transform: rotate(-16deg); }
.deco--b { width: 42px; left: 56%; top: 74%; transform: rotate(28deg); color: var(--cream); opacity: .26; animation-delay: -3s; }
.deco--c { width: 120px; right: 2%; top: 6%; transform: rotate(14deg); opacity: .26; filter: blur(1.5px); animation-duration: 12s; animation-delay: -5s; }
.deco--d { width: 58px; right: 7%; bottom: 8%; transform: rotate(-38deg); color: var(--cream); opacity: .24; animation-delay: -6s; }
.deco--e { width: 26px; left: 41%; top: 58%; color: var(--accent); opacity: .5; animation-duration: 5s; }
.deco--f { width: 18px; right: 30%; top: 16%; color: var(--accent-2); opacity: .55; animation-duration: 6s; animation-delay: -2s; }
.deco--g { width: 64px; left: 3%; bottom: 6%; transform: rotate(20deg); color: var(--cream); opacity: .08; filter: blur(1px); animation-delay: -4s; }
@keyframes flutuar-deco { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

/* Halo: raios de luz dourada saindo de trás da foto, como uma aura "santa" */
.hero--halo .hero__bg::before {
  content: ""; position: absolute; left: var(--halo-x); top: var(--halo-y);
  width: 140vmax; height: 140vmax; margin: -70vmax 0 0 -70vmax;
  background: repeating-conic-gradient(from 0deg, rgba(255, 192, 46, .11) 0deg 4deg, transparent 4deg 14deg);
  -webkit-mask-image: radial-gradient(closest-side, #000 0%, rgba(0, 0, 0, .55) 20%, transparent 48%);
  mask-image: radial-gradient(closest-side, #000 0%, rgba(0, 0, 0, .55) 20%, transparent 48%);
  animation: girar-raios 140s linear infinite;
}
.hero--halo .hero__bg::after, .hero--alho .hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("../assets/img/bg-alho.svg"); background-size: 300px 300px;
}
.hero--halo .hero__bg::after {
  -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 82%);
  mask-image: linear-gradient(100deg, transparent 30%, #000 82%);
}
.hero--halo .hero__bg {
  background:
    radial-gradient(circle at var(--halo-x) var(--halo-y), rgba(255, 192, 46, .2), rgba(255, 90, 31, .1) 26%, transparent 52%),
    radial-gradient(45% 55% at 0% 100%, var(--glow-2), transparent 60%);
}
@keyframes girar-raios { to { transform: rotate(360deg); } }

/* Alho: textura de alhos desenhados em todo o fundo, com as bordas escurecidas */
.hero--alho .hero__bg::after {
  background-size: 300px 300px; filter: brightness(2.2);
  -webkit-mask-image: radial-gradient(120% 100% at 60% 45%, #000 20%, transparent 78%);
  mask-image: radial-gradient(120% 100% at 60% 45%, #000 20%, transparent 78%);
}
.hero--alho .hero__bg {
  background:
    radial-gradient(50% 65% at var(--halo-x) var(--halo-y), rgba(255, 90, 31, .16), transparent 68%),
    radial-gradient(40% 50% at 8% 95%, var(--glow-2), transparent 62%);
}

/* Chamas: brasa subindo do chão da cozinha */
.hero--chamas .hero__bg {
  background:
    radial-gradient(90% 55% at 50% 118%, rgba(224, 38, 43, .5), rgba(255, 122, 31, .22) 40%, transparent 72%),
    radial-gradient(45% 60% at var(--halo-x) var(--halo-y), var(--glow), transparent 68%);
}
.hero--chamas .hero__bg::before, .hero--chamas .hero__bg::after {
  content: ""; position: absolute; inset: 0; opacity: .55;
  background-image: radial-gradient(circle, rgba(255, 190, 80, .95) 0 1.3px, transparent 2.2px);
  background-size: 130px 170px; animation: brasas 18s linear infinite;
  -webkit-mask-image: linear-gradient(0deg, #000 0%, transparent 85%);
  mask-image: linear-gradient(0deg, #000 0%, transparent 85%);
}
.hero--chamas .hero__bg::after { background-size: 210px 260px; background-position: 60px 90px; opacity: .4; animation-duration: 26s; }
@keyframes brasas { to { background-position: 40px -340px; } }

@media (max-width: 1000px) {
  .hero { --halo-x: 50%; --halo-y: 72%; }
  .deco--a { left: 6%; top: 3%; width: 64px; }
  .deco--c { right: -2%; top: 30%; width: 88px; }
  .deco--e { left: 84%; top: 8%; }
  .deco--f { right: 8%; top: 24%; }
}
@media (prefers-reduced-motion: reduce) {
  .deco, .hero--halo .hero__bg::before, .hero--chamas .hero__bg::before, .hero--chamas .hero__bg::after { animation: none; }
}

/* Chamada final com o mesmo clima */
.cta::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("../assets/img/bg-alho.svg"); background-size: 300px 300px;
  -webkit-mask-image: radial-gradient(70% 90% at 50% 50%, #000 0%, transparent 78%);
  mask-image: radial-gradient(70% 90% at 50% 50%, #000 0%, transparent 78%);
}
.cta__inner { z-index: 1; }

/* Halo, versão 2: cabeça de alho grande ao fundo, segunda camada de raios girando ao contrário e pó dourado */
.deco--h { width: 250px; right: -40px; top: -30px; transform: rotate(16deg); opacity: .07; color: var(--accent-2); animation-duration: 16s; animation-delay: -8s; }
.hero--halo .hero__deco::before {
  content: ""; position: absolute; left: var(--halo-x); top: var(--halo-y);
  width: 110vmax; height: 110vmax; margin: -55vmax 0 0 -55vmax;
  background: repeating-conic-gradient(from 7deg, rgba(255, 244, 214, .06) 0deg 1.6deg, transparent 1.6deg 9deg);
  -webkit-mask-image: radial-gradient(closest-side, transparent 0%, #000 18%, transparent 52%);
  mask-image: radial-gradient(closest-side, transparent 0%, #000 18%, transparent 52%);
  animation: girar-raios 200s linear infinite reverse;
}
.hero--halo .hero__deco::after {
  content: ""; position: absolute; inset: 0; opacity: .7;
  background-image:
    radial-gradient(circle, rgba(255, 214, 120, .9) 0 1.2px, transparent 2px),
    radial-gradient(circle, rgba(255, 255, 255, .7) 0 .9px, transparent 1.6px);
  background-size: 170px 210px, 260px 190px; background-position: 30px 40px, 120px 100px;
  -webkit-mask-image: radial-gradient(60% 70% at var(--halo-x) var(--halo-y), #000 0%, transparent 75%);
  mask-image: radial-gradient(60% 70% at var(--halo-x) var(--halo-y), #000 0%, transparent 75%);
  animation: poeira 30s linear infinite;
}
@keyframes poeira { to { background-position: 30px -170px, 120px -90px; } }
@media (prefers-reduced-motion: reduce) { .hero--halo .hero__deco::before, .hero--halo .hero__deco::after { animation: none; } }
@media (max-width: 1000px) { .deco--h { width: 170px; right: -50px; top: 24%; } }

/* ---------- Upsell no carrinho (bebidas/sobremesas) ---------- */
.cart-upsell { margin: 18px 0 4px; }
.cart-upsell__titulo { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; margin-bottom: 10px; }
.cart-upsell__lista { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.cart-upsell__lista::-webkit-scrollbar { display: none; }
.cart-upsell__item {
  position: relative; flex: 0 0 108px; display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: var(--card); border: 1px solid var(--line-2); border-radius: 14px; padding: 10px 8px 12px;
  text-align: center; transition: border-color .15s, transform .15s;
}
.cart-upsell__item:hover { border-color: var(--accent); transform: translateY(-2px); }
.cart-upsell__item img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--bg-2); }
.cart-upsell__nome { font-size: .78rem; color: var(--cream); line-height: 1.25; }
.cart-upsell__preco { font-size: .82rem; color: var(--accent); font-weight: 700; }
.cart-upsell__add {
  position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 1rem; line-height: 22px;
}

/* ---------- Desconto de carrinho parado ---------- */
.cart-bar__discount {
  background: var(--red); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .03em;
  padding: 3px 8px; border-radius: 999px; align-self: center;
}
.cart-discount { margin-bottom: 10px; display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; font-size: .86rem; }
.cart-discount span:nth-child(odd) { color: var(--muted); }
.cart-discount span:nth-child(even) { color: var(--cream); text-align: right; }
.cart-discount__tag { color: var(--red) !important; font-weight: 700; }
.cart-discount__valor { color: var(--red) !important; font-weight: 700; }
.review-discount { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; font-size: .86rem; margin-top: 12px; }
.review-discount span:nth-child(odd) { color: var(--muted); }
.review-discount span:nth-child(even) { color: var(--cream); text-align: right; }
.review-discount span:nth-child(2n) { color: var(--red); font-weight: 700; }

.review-fidelidade { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 193, 7, .12); border: 1px solid rgba(255, 193, 7, .4); color: var(--cream); font-size: .88rem; line-height: 1.4; }
.review-fidelidade strong { color: #ffc107; }
.review-fidelidade[hidden] { display: none; }

/* ---------- Aviso de carrinho parado (nudge) ---------- */
.cart-nudge {
  position: fixed; left: 50%; z-index: 75; transform: translateX(-50%);
  width: min(94vw, 480px); display: flex; align-items: center; gap: 12px;
  background: var(--card); border: 1px solid var(--accent); border-radius: 16px;
  padding: 14px 44px 14px 16px; box-shadow: 0 16px 46px rgba(0, 0, 0, .55);
  animation: nudge-in .3s ease;
}
.cart-nudge[hidden] { display: none; }
.cart-nudge__text { flex: 1; font-size: .9rem; color: var(--cream); line-height: 1.4; }
.cart-nudge__close {
  position: absolute; top: 8px; right: 10px; background: none; border: 0; color: var(--muted);
  font-size: 1.2rem; line-height: 1; cursor: pointer; padding: 4px;
}
.cart-nudge__close:hover { color: var(--cream); }
.cart-nudge .btn { white-space: nowrap; }
@keyframes nudge-in { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (prefers-reduced-motion: reduce) { .cart-nudge { animation: none; } }

@media (max-width: 600px) {
  .cart-nudge { flex-direction: column; align-items: stretch; text-align: center; gap: 10px; }
  .cart-nudge .btn { width: 100%; }
  .cart-upsell__item { flex-basis: 92px; }
  .cart-upsell__item img { width: 46px; height: 46px; }
}

/* ---------- Quadro Kanban dos pedidos (arrastar entre colunas) ---------- */
.pn-container { --container: 1640px; }
#pn-aba-pedidos { container-type: inline-size; }
.kanban { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: start; }
@container (min-width: 520px) { .kanban { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (min-width: 780px) { .kanban { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@container (min-width: 1536px) { .kanban { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.kanban-col { min-width: 0; background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 12px; transition: border-color .15s, background .15s; }
.kanban-col.is-alvo { border-color: var(--accent); background: rgba(255, 192, 46, .07); }
.kanban-col__head { display: flex; align-items: center; gap: 8px; padding: 4px 4px 12px; font-size: .8rem; font-weight: 800; color: var(--cream); text-transform: uppercase; letter-spacing: .03em; }
.kanban-col__head::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--etapa-cor, var(--muted)); flex: none; }
.kanban-col[data-status="recebido"] { --etapa-cor: var(--red); }
.kanban-col[data-status="aceito"] { --etapa-cor: var(--primary); }
.kanban-col[data-status="preparando"] { --etapa-cor: var(--accent); }
.kanban-col[data-status="embalando"] { --etapa-cor: var(--primary-2); }
.kanban-col[data-status="pronto"] { --etapa-cor: var(--green); }
.kanban-col__count { margin-left: auto; }
.kanban-col__count { background: var(--card); border: 1px solid var(--line-2); color: var(--muted); font-size: .72rem; font-weight: 700; padding: 1px 8px; border-radius: 999px; flex: none; }
.kanban-col__body { display: grid; gap: 10px; min-height: 60px; }
.kanban-col__vazio { color: var(--muted); font-size: .8rem; text-align: center; padding: 18px 6px; margin: 0; }

.kanban-card { min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px; cursor: default; touch-action: pan-y; overflow-wrap: break-word; }
.kanban-card.is-arrastando { opacity: .35; }
.kanban-card__pega {
  width: 32px; height: 32px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: 0; color: var(--muted); font-size: 1rem; line-height: 1;
  cursor: grab; touch-action: none; border-radius: 8px;
}
.kanban-card__pega:hover, .kanban-card__pega:active { color: var(--accent); background: rgba(255, 255, 255, .04) }
.kanban-card__num-row { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.kanban-card__num { flex: 1; min-width: 0; font-family: var(--font-display); font-size: 1.45rem; line-height: 1; color: var(--accent); letter-spacing: .02em; }
.kanban-card__num-row .step__hint { white-space: nowrap; flex: none; }
.kanban-card__fidelidade { background: rgba(255, 193, 7, .14); border: 1px solid rgba(255, 193, 7, .45); color: #ffc107; font-size: .78rem; font-weight: 700; padding: 4px 8px; border-radius: 8px; margin-bottom: 6px; }
.kanban-card__ifood { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 6px; background: rgba(234, 28, 35, .18); color: #ff6b6b; font-size: .68rem; font-weight: 700; vertical-align: middle; white-space: nowrap; }

/* ---------- Cupom de impressão (impressora térmica via driver do Windows) ---------- */
/* Fica fora da tela normalmente; só aparece dentro de @media print, abaixo. */
#pn-imprimir { display: none; }
@media print {
  body > *:not(#pn-imprimir) { display: none !important; }
  #pn-imprimir {
    display: block; width: 80mm; margin: 0; padding: 4mm;
    font-family: 'Courier New', Courier, monospace; font-size: 12px; line-height: 1.45; color: #000; background: #fff;
  }
  #pn-imprimir hr { border: none; border-top: 1px dashed #000; margin: 6px 0; }
  #pn-imprimir .tk-logo { font-size: 16px; font-weight: 700; text-align: center; text-transform: uppercase; }
  #pn-imprimir .tk-num { font-size: 22px; font-weight: 700; text-align: center; }
  #pn-imprimir .tk-origem { text-align: center; font-weight: 700; letter-spacing: .05em; }
  #pn-imprimir .tk-item { display: flex; justify-content: space-between; gap: 8px; }
  #pn-imprimir .tk-det { padding-left: 10px; font-style: italic; }
  #pn-imprimir .tk-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 14px; margin-top: 4px; }
  #pn-imprimir .tk-pagamento, #pn-imprimir .tk-hora { text-align: center; margin-top: 6px; }
}
.kanban-card .painel-card__topo { flex-wrap: wrap; justify-content: flex-start; margin-bottom: 8px; gap: 6px; }
.kanban-card .pn-pill { white-space: normal; max-width: 100%; }
.kanban-card .pn-cliente { font-size: 1rem; }
.kanban-card .pn-itens { margin: 10px 0; gap: 5px; }
.kanban-card .pn-itens li { font-size: .9rem; }
.kanban-card .pn-linha { font-size: .84rem; }
.kanban-card__endereco { margin-bottom: 10px; }
.kanban-card__valores { padding: 8px; border-radius: 8px; background: var(--bg-2); }
.kanban-card__valores .pn-linha { margin: 0; }
.kanban-card__valores .pn-linha + .pn-linha { margin-top: 5px; }
.kanban-card__valores .pn-linha--total { padding-top: 5px; border-top: 1px solid var(--line); }
.kanban-card .pn-acoes { margin-top: 10px; }
.kanban-card .pn-acoes .btn {
  flex: 1 1 auto; min-height: 36px; white-space: normal; text-align: center; line-height: 1.25;
  padding: 7px 9px; font-size: .82rem; gap: 4px;
}
.kanban-card .pn-acoes .btn--primary { flex-basis: 100%; }

.kanban-ghost {
  position: fixed; z-index: 300; top: 0; left: 0; pointer-events: none;
  opacity: .92; transform: rotate(-2deg); box-shadow: 0 20px 50px rgba(0, 0, 0, .55);
}

/* ---------- Perguntas frequentes (FAQ) ---------- */
.faq { display: grid; gap: 12px; max-width: 760px; margin: 0 auto; }
.faq__item {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 4px 22px; transition: border-color .15s;
}
.faq__item[open] { border-color: var(--line-2); }
.faq__item summary {
  cursor: pointer; list-style: none; padding: 18px 28px 18px 0; position: relative;
  font-weight: 700; color: var(--cream); font-size: 1.02rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-size: 1.6rem; color: var(--accent); line-height: 1;
  transition: transform .2s;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
.faq__resposta { margin: 0 0 18px; color: var(--muted); font-size: .95rem; line-height: 1.6; max-width: 62ch; }
