/* =====================================================================
   La Panini — Lasanhas Artesanais
   Identidade: Nocturno & Artesanal Premium
   Protótipo navegável one-page (front-end puro), modelo de delivery.
   Cobre todos os elementos renderizados por app.js e o markup fixo do
   index.html: barra de oferta, header, hero, cardápio, promoções,
   passos, FAQ, benefícios, footer, FABs, drawer da sacola, checkout,
   painéis (acompanhar pedido / conta), modal e toast.
   ===================================================================== */

/* ---------- Tokens ---------- */

:root {
  --font-head: 'Anton SC', Impact, sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;

  --brand: #F26B21;
  --brand-2: #FF7B31;
  --amber: #E0A458;
  --warm: #F6E9DC;

  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.22);
  --header-h: 64px;
  --menu-card-w: 260px;
  --ease: cubic-bezier(.22, .8, .32, 1);
}

[data-theme="dark"] {
  --bg: #0D0B0A;
  --bg-2: #14100C;
  --surface: #1A1410;
  --surface-2: #241B14;
  --border: rgba(242, 107, 33, 0.16);
  --border-soft: rgba(230, 200, 170, 0.08);
  --text: #F6E9DC;
  --muted: #A99A8A;
  --muted-2: #93836F;
  --on-brand: #1A0D05;
  --on-brand-2: #FFF8F1;
  --good: #7FB069;
  --bad: #E07A4F;
  --track-bg: rgba(255, 255, 255, 0.03);
  --overlay: rgba(5, 4, 3, 0.72);
}

[data-theme="light"] {
  --bg: #FBF5EE;
  --bg-2: #F2E7DA;
  --surface: #FFFFFF;
  --surface-2: #F5EDE1;
  --border: rgba(150, 80, 30, 0.16);
  --border-soft: rgba(90, 60, 30, 0.10);
  --text: #251A11;
  --muted: #7A6A58;
  --muted-2: #87765E;
  --on-brand: #1A0D05;
  --on-brand-2: #FFF8F1;
  --good: #4F7A44;
  --bad: #C2552A;
  --track-bg: rgba(120, 60, 30, 0.05);
  --overlay: rgba(60, 40, 25, 0.45);
}

/* ---------- Reset / base ---------- */

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

body.no-scroll { overflow: hidden; }

/* Trava anti-estouro horizontal (cabeçalho compacto do mobile nunca
   ultrapassa a largura do navegador do celular). */
html, body { overflow-x: clip; }

/* Acesso rápido (sacola) */
.quick-access { margin-bottom: 1rem; }
.quick-access .kicker { margin-bottom: 0.15rem; }
.quick-access h3 { font-size: 1.25rem; margin-bottom: 0.7rem; }
.qa-tabs { display: flex; gap: 8px; margin-bottom: 0.8rem; }
.qa-tabs button {
  flex: 1;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.82rem;
  transition: all 0.2s var(--ease);
}
.qa-tabs button.is-on {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-color: transparent;
  color: var(--on-brand);
}

/* Barra de rolagem no padrão do tema */
* { scrollbar-width: thin; scrollbar-color: var(--brand) var(--surface-2); }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: var(--track-bg); border-radius: 8px; }
*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  border-radius: 8px;
  border: 2px solid var(--bg);
}
*::-webkit-scrollbar-thumb:hover { background: var(--brand-2); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-2); }

img { max-width: 100%; display: block; }

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

input, select, textarea { font-family: inherit; color: inherit; }

svg { flex: none; }

/* Ícones dentro de botões nunca interceptam o clique (o alvo é sempre o botão). */
button svg { pointer-events: none; }

[hidden] { display: none !important; }

/* Pulso no contador do carrinho ao adicionar item pelo popup. */
@keyframes cartBump {
  0% { transform: scale(1); }
  40% { transform: scale(1.5); }
  100% { transform: scale(1); }
}
.cart-bump { animation: cartBump 0.4s var(--ease); }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

section[id] { scroll-margin-top: calc(var(--header-h) + 14px); }

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

::selection { background: var(--brand); color: #1A0D05; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Texto utilitário ---------- */

.kicker {
  display: block;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: normal;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.6rem;
}

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  transition: transform 0.15s var(--ease), background 0.2s var(--ease),
    box-shadow 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s;
}

.btn--primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: var(--on-brand);
  box-shadow: 0 8px 22px rgba(242, 107, 33, 0.28);
}
.btn--primary:hover {
  color: var(--on-brand);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(242, 107, 33, 0.4);
}
.btn--primary:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
.btn svg { width: 16px; height: 16px; flex: none; }

.btn--full { width: 100%; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
}
.icon-btn:hover { background: var(--track-bg); color: var(--text); }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------- Barra de oferta ---------- */

.offer {
  display: flex;
  align-items: center;
  padding: 9px 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: var(--on-brand);
  font-size: 0.84rem;
  font-weight: 600;
  position: relative;
}

.offer__center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.offer b { letter-spacing: 0.06em; }

.offer__copy {
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(26, 13, 5, 0.14);
  border: 1px solid rgba(26, 13, 5, 0.35);
  color: var(--on-brand);
  font-weight: 700;
  font-size: 0.78rem;
  transition: background 0.2s;
}
.offer__copy:hover { background: rgba(26, 13, 5, 0.26); }

.offer__close {
  margin-left: auto;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  color: var(--on-brand);
  font-size: 1.2rem;
  line-height: 1;
  transition: background 0.2s;
}
.offer__close:hover { background: rgba(26, 13, 5, 0.2); }


/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(13, 11, 10, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
[data-theme="light"] .header { background: rgba(251, 245, 238, 0.88); }

.header {
  display: block;
  padding: 0;
  max-width: none;
  margin: 0;
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  height: var(--header-h);
  padding: 0 20px;
  max-width: 1220px;
  margin: 0 auto;
  position: static;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  margin-right: 6px;
}
.brand:hover { color: var(--text); }

.brand__img {
  display: block;
  height: 46px;
  width: auto;
  max-width: 42vw;
  object-fit: contain;
}

.open {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: var(--track-bg);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--good);
  white-space: nowrap;
}
.open__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 3px rgba(127, 176, 105, 0.18);
}
.open small { color: inherit; opacity: 0.85; font-weight: 500; }
.open.is-closed { color: var(--text); }
.open.is-closed .open__dot { background: #FF1744; box-shadow: 0 0 0 3px rgba(255, 23, 68, 0.25), 0 0 8px rgba(255, 23, 68, 0.55); }
.open.is-closed small { color: var(--muted); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  transition: border-color 0.2s;
}
.nav-toggle:hover { border-color: var(--brand); }
.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s var(--ease), opacity 0.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); }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
}
.nav a {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: var(--text); background: var(--track-bg); }

.header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.top-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--brand);
  color: var(--text);
  font-weight: 600;
  font-size: 0.82rem;
  line-height: 1;
  white-space: nowrap;
  flex: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.top-btn:hover { border-color: var(--brand); background: var(--track-bg); }
.top-btn svg { width: 19px; height: 19px; flex: none; }
.top-btn__label { line-height: 1; }

.top-btn--cart {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-color: transparent;
  color: var(--on-brand);
  box-shadow: 0 6px 16px rgba(242, 107, 33, 0.3);
}
.top-btn--cart:hover {
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color: var(--on-brand);
  border-color: transparent;
}
.top-btn--cart .top-btn__count { background: #1A0D05; color: var(--brand); }

.top-btn__count {
  position: absolute;
  top: -7px;
  right: -4px;
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: var(--on-brand);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 3px 8px rgba(242, 107, 33, 0.4);
}

/* Ícones de tema (header + flutuante) */
#theme-btn .icon-sun, .floating-theme .icon-sun { display: none; width: 20px; height: 20px; }
#theme-btn .icon-moon, .floating-theme .icon-moon { display: block; width: 20px; height: 20px; }
[data-theme="light"] #theme-btn .icon-sun, [data-theme="light"] .floating-theme .icon-sun { display: block; width: 20px; height: 20px; }
[data-theme="light"] #theme-btn .icon-moon, [data-theme="light"] .floating-theme .icon-moon { display: none; }
.top-btn--icon { padding: 8px; min-width: 40px; }
.top-btn--icon .top-btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(70% 90% at 82% 20%, rgba(242, 107, 33, 0.2), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  border-bottom: 1px solid var(--border-soft);
  padding: 3.6rem 0 3.8rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

/* Foto do hero (lado direito) */
.hero { overflow: visible; padding-top: 3.6rem; }
.hero-art { display: block; align-self: center; }
.hero__photo { height: auto; aspect-ratio: 4 / 3.3; border-radius: var(--radius-lg); transition: transform 0.55s var(--ease); }
.hero-art:hover .hero__photo { transform: scale(1.05); }
.hero-copy { padding-top: 0; padding-bottom: 0; }

.hero-copy {
  max-width: 620px;
  text-align: left;
}

.hero h1 {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(2.2rem, 5.5vw, 4.4rem);
  line-height: 0.92;
  letter-spacing: 0;
  margin-bottom: 1rem;
  max-width: none;
  color: #FFF8F1;
  position: relative;
  z-index: 3;
  margin-right: -16rem;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.6), 0 1px 4px rgba(0, 0, 0, 0.7);
}
[data-theme="light"] .hero h1 { color: var(--text); }
.hero h1 em {
  color: var(--brand);
  font-style: normal;
}

.tagline {
  display: block;
  color: var(--muted);
  max-width: 50ch;
  margin-bottom: 1.5rem;
  font-size: 1.02rem;
}

.cta-row { display: flex; align-items: center; justify-content: flex-start; gap: 12px; flex-wrap: wrap; }

.coupon-btn {
  padding: 10px 16px;
  border-radius: 8px;
  border: 1.5px dashed var(--brand);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s;
}
.coupon-btn b { color: #fff; letter-spacing: 0.08em; }
.coupon-btn em { color: var(--brand); font-style: normal; font-weight: 700; }
.coupon-btn:hover { background: rgba(242, 107, 33, 0.1); color: var(--text); }

.proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px 18px;
  margin-top: 1.6rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}
.dot-brand { color: var(--brand); }
.proof span { white-space: nowrap; }

/* Foto do hero */

.hero-art { position: relative; }
.hero-art::before {
  content: '';
  position: absolute;
  inset: -8%;
  z-index: 0;
  background: radial-gradient(55% 60% at 55% 45%, rgba(242, 107, 33, 0.3), transparent 65%);
}

.hero__photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3.3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
}

.hero__chip {
  position: absolute;
  z-index: 2;
  background: rgba(13, 11, 10, 0.86);
  backdrop-filter: blur(6px);
  color: var(--warm);
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  white-space: nowrap;
}
.hero__chip--delivery { left: -6px; bottom: 26px; color: var(--brand); }
.hero__chip--time { right: -6px; top: 20px; }

/* ---------- Cardápio ---------- */

.menu { padding: 3.5rem 0; }

.categories {
  position: sticky;
  top: calc(var(--header-h) + 4px);
  z-index: 40;
  display: flex;
  justify-content: flex-start;
  gap: 9px;
  overflow-x: auto;
  padding: 10px 20px;
  background: var(--bg);
  scrollbar-width: none;
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  scroll-padding-left: 20px;
  scroll-padding-right: 20px;
}
@media (min-width: 981px) {
  .categories { justify-content: center; }
}
.categories::-webkit-scrollbar { display: none; }

/* Os cards do cardápio sempre deslizam POR BAIXO da barra de categorias */
#cardapio { isolation: isolate; }
#cardapio .menu-track,
#cardapio .menu-group__track { position: relative; z-index: 0; }
#cardapio .p-card { position: relative; z-index: 0; }

/* Âncoras do cardápio não ficam escondidas atrás do header + barra */
#inicio,
#cardapio,
#promocoes,
#duvidas,
.menu-group { scroll-margin-top: calc(var(--header-h) + 76px); }

.chip {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  scroll-margin-left: 20px;
  scroll-margin-right: 20px;
  white-space: nowrap;
  padding: 9px 16px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  transition: all 0.2s var(--ease);
}
.chip:hover { border-color: var(--brand); color: var(--text); transform: translateY(-1px); }
.chip.active {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: var(--on-brand);
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(242, 107, 33, 0.28);
}

.grid { display: grid; gap: 1.2rem; }

/* ---------- Carrossel do cardápio ---------- */

.menu-carousel { position: relative; }

.menu-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 1.4rem 20px 1.2rem 4px;
  scroll-snap-type: x proximity;
  scroll-padding-left: 10px;
  scrollbar-width: none;
}
.menu-track::-webkit-scrollbar { display: none; }

.menu-track .p-card {
  flex: 0 0 var(--menu-card-w, 260px);
  scroll-snap-align: start;
}

/* Cardápio sempre agrupado: cada categoria em seu próprio carrossel */
.menu-track.is-grouped {
  display: block;
  overflow: visible;
  scroll-snap-type: none;
  padding: 0.6rem 20px 1.2rem 4px;
}
.menu-group { flex: 1 1 100%; min-width: 0; padding-top: 1.4rem; }
.menu-group__title {
  font-family: "Anton SC", Impact, sans-serif;
  font-style: normal;
  font-weight: 400;
  color: rgb(255, 248, 239);
  font-size: clamp(1.8rem, 5.5vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
}
.menu-group__kicker {
  font-family: Inter, Arial, sans-serif;
  font-style: normal;
  font-weight: 800;
  color: rgb(242, 107, 33);
  font-size: 12px;
  line-height: normal;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.45rem;
}

/* Tema claro: títulos fixados em creme no CSS ficam invisíveis no fundo
   claro — usa a cor de texto do tema. */
[data-theme="light"] .menu-group__title { color: var(--text); }
[data-theme="light"] .acc-title { color: var(--text); }
[data-theme="light"] #track .panel__head h2 { color: var(--text); }
[data-theme="light"] .coupon-btn b { color: var(--brand); }
.menu-group__grid { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1rem; }
.menu-group__grid .p-card { flex: 1 1 240px; max-width: 340px; }

/* Trilho do carrossel dentro de cada grupo do "Todos" */
.menu-group__track {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  overflow-x: auto;
  padding: 1rem 20px 1.1rem 4px;
  margin-top: 0.4rem;
  scroll-snap-type: x proximity;
  scroll-padding-left: 10px;
  scrollbar-width: none;
}
.menu-group__track::-webkit-scrollbar { display: none; }
.menu-group__track .p-card { flex: 0 0 var(--menu-card-w, 260px); max-width: none; scroll-snap-align: start; }

.menu-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 12;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.7rem;
  line-height: 1;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s var(--ease);
}
.menu-arrow:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-50%) scale(1.08); }
.menu-arrow[hidden] { display: none; }
.menu-arrow--prev { left: -10px; }
.menu-arrow--next { right: -10px; }

/* ---------- Cards de produto ---------- */

.p-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s;
}
.p-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(242, 107, 33, 0.12), var(--shadow-sm);
  border-color: var(--border);
}

.p-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--surface-2);
}
.p-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.p-card__media.m-whole img { object-fit: contain; }
.p-card:hover .p-card__media img { transform: scale(1.05); }

.p-card__tags {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  pointer-events: none;
}

.p-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.1rem 1.1rem 1.2rem;
}

.p-card__name {
  font-size: 1.22rem;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.p-card__eyebrow {
  margin: 0 0 0.3rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.p-card__eyebrow .p-card__num {
  color: var(--accent, #E8A33D);
  font-weight: 300;
  letter-spacing: 0.04em;
}

.p-card__desc {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 0.9rem;
  min-height: 2.9em;
}

.p-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.price { display: flex; flex-direction: column; }
.price__now {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
}
.price__now small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: 3px;
}
.price__old {
  font-size: 0.78rem;
  color: var(--muted-2);
  text-decoration: line-through;
}

.add-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: var(--on-brand);
  box-shadow: 0 6px 14px rgba(242, 107, 33, 0.3);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.add-btn:hover { transform: scale(1.08); box-shadow: 0 8px 18px rgba(242, 107, 33, 0.4); }
.add-btn svg { width: 18px; height: 18px; }

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
}
.empty-state svg {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  color: var(--muted-2);
}

/* ---------- Tags ---------- */

.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(13, 11, 10, 0.7);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border-soft);
  color: var(--warm);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.tag--brand {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: var(--on-brand);
  border-color: transparent;
}
.tag--promo {
  background: var(--amber);
  color: #241503;
  border-color: transparent;
}
.tag--order { border-style: dashed; }

/* ---------- Promoções ---------- */

.promo {
  background:
    radial-gradient(60% 140% at 90% 0%, rgba(242, 107, 33, 0.16), transparent 55%),
    var(--surface);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 3rem 0;
}
.promo__cols {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 2rem;
  align-items: center;
}
.promo__copy h2 {
  font-size: clamp(2.2rem, 6vw, 82px);
  font-weight: 400;
  line-height: 1.02;
  margin-bottom: 0.6rem;
}
.promo__copy h2 em { color: var(--brand); font-style: normal; }
.promo__copy > span { display: block; color: var(--muted); max-width: 52ch; margin-bottom: 1.4rem; }

.promo__coupon {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem 1rem;
  border: 2px dashed var(--brand);
  border-radius: var(--radius-lg);
  background: #37140a;
  color: var(--on-brand-2);
  box-shadow: 0 16px 36px rgba(242, 107, 33, 0.4);
  font: inherit;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.promo__coupon:hover { transform: translateY(-2px); box-shadow: 0 22px 44px rgba(242, 107, 33, 0.5); }
.promo__coupon:focus-visible { outline: 3px solid var(--on-brand); outline-offset: 3px; }
.promo__coupon b {
  display: block;
  font-family: var(--font-head);
  font-size: 2.4rem;
  letter-spacing: 0.08em;
  margin-top: 0.3rem;
  cursor: pointer;
  line-height: 1;
  color: var(--brand);
}
.promo__coupon small {
  margin-top: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  opacity: 0.72;
}

/* Cartão de destaque */

.promo__hint {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  max-width: 52ch;
  margin-top: 0.2rem;
}

.feature {
  display: flex;
  gap: 16px;
  align-items: stretch;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  margin: 1.2rem 0 0.8rem;
  max-width: 560px;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s;
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(242, 107, 33, 0.14);
  border-color: var(--brand);
}

.feature__media {
  position: relative;
  width: 210px;
  flex: none;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
}
.feature__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
}

.feature__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--amber);
  color: #241503;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-sm);
}

.feature__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.feature__title { font-size: 1.45rem; line-height: 1.1; }
.feature__desc { color: var(--muted); font-size: 0.84rem; }
.feature__desc b { color: var(--text); }
.feature__meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 2px 0;
  padding: 0;
}
.feature__meta li {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.feature__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.feature__price .price__old { font-size: 0.85rem; }
.feature__price .price__now { font-size: 1.6rem; }
.price__save {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(127, 176, 105, 0.14);
  border: 1px solid rgba(127, 176, 105, 0.5);
  color: var(--good);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.feature__body .btn { margin-top: 2px; align-self: flex-start; }

/* ---------- 3 passos ---------- */

.steps {
  padding: 3.5rem 0;
  background:
    radial-gradient(60% 100% at 10% 0%, rgba(242, 107, 33, 0.06), transparent 50%),
    var(--bg);
}
.steps > header {
  text-align: center;
  margin-bottom: 1.8rem;
}
.steps > header h2 {
  font-size: clamp(2.2rem, 6vw, 82px);
  font-weight: 400;
  line-height: 1.02;
  color: var(--text);
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.steps__grid article {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
}
.steps__grid small {
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  font-family: var(--font-head);
  font-size: 70px;
  font-weight: 400;
  line-height: normal;
  color: var(--brand);
  margin-bottom: 0.9rem;
}
.steps__grid article i {
  font-style: normal;
  color: var(--brand);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(242, 107, 33, 0.1);
  margin-bottom: 0.9rem;
}
.steps__grid article i svg { width: 20px; height: 20px; }
.steps__grid h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.steps__grid p { color: var(--muted); font-size: 0.88rem; }

/* ---------- FAQ ---------- */

.faq {
  padding: 3.5rem 0;
  background:
    radial-gradient(60% 100% at 90% 0%, rgba(242, 107, 33, 0.06), transparent 50%),
    var(--surface);
}
.faq .wrap { max-width: 820px; }
.faq h2 { font-size: clamp(2.2rem, 6vw, 82px); line-height: 1.02; margin-bottom: 0.4rem; }
.faq .kicker, .faq h2, .faq__hint { text-align: center; }
.faq__hint { display: block; color: var(--muted); font-size: 0.9rem; margin-bottom: 1.4rem; }

.faq details {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq details[open] { border-color: var(--border); }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  list-style: none;
  color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary b {
  color: var(--brand);
  font-size: 1.2rem;
  font-weight: 700;
  transition: transform 0.25s var(--ease);
  flex: none;
}
.faq details[open] summary b { transform: rotate(45deg); }

.faq details p {
  padding: 0 18px 16px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---------- Benefícios ---------- */

.benefits { padding: 3.5rem 0; }

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.benefits__grid div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: var(--surface);
}
.benefits__grid i {
  font-style: normal;
  color: var(--brand);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(242, 107, 33, 0.1);
  margin-bottom: 4px;
}
.benefits__grid i svg { width: 20px; height: 20px; }
.benefits__grid b { font-size: 0.95rem; font-family: var(--font-head); font-size: 1.12rem; }
.benefits__grid span { color: var(--muted); font-size: 0.78rem; }

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 1rem;
  border-top: 1px solid var(--border-soft);
  background: var(--bg-2);
  padding: 2.6rem 0 1.4rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.2rem;
}

.footer__brand {
  margin-bottom: 0.6rem;
}
.footer__logo {
  display: block;
  height: 54px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.footer__grid p { font-size: 0.86rem; color: var(--muted); margin-bottom: 0.4rem; line-height: 1.7; }
.footer__grid b { color: var(--text); }

.footer__contact a { font-weight: 700; }
.footer__contact small {
  display: block;
  margin-top: 1rem;
  color: var(--muted-2);
  font-size: 0.76rem;
  line-height: 1.7;
}

.footer__terms {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer__terms li { margin-bottom: 0.35rem; }
.footer__terms a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.86rem;
  line-height: 1.7;
  transition: color 0.2s;
}
.footer__terms a:hover { color: var(--brand); }

/* ---------- FABs ---------- */

.fab {
  position: fixed;
  right: 18px;
  z-index: 65;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.fab:hover { transform: translateY(-2px) scale(1.04); }
.fab svg { width: 26px; height: 26px; }

.fab--whats { bottom: 20px; background: #25D366; color: #063A1F; }
.fab--whats:hover { color: #063A1F; }

.floating-cart {
  position: fixed;
  right: 18px;
  bottom: 86px;
  z-index: 65;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: var(--on-brand);
  box-shadow: 0 12px 30px rgba(242, 107, 33, 0.42);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.floating-cart:hover { transform: translateY(-2px) scale(1.04); }
.floating-cart svg { width: 22px; height: 22px; }
.floating-cart b {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: #1A0D05;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

/* ---------- Botão flutuante de tema (só mobile; no desktop fica no header) ---------- */

.floating-theme {
  position: fixed;
  right: 18px;
  z-index: 65;
  display: none;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: var(--shadow);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.floating-theme:hover { transform: translateY(-2px) scale(1.04); }
.floating-theme svg { width: 22px; height: 22px; }

/* ---------- Drawer (sacola e checkout) ---------- */

.drawer { position: fixed; inset: 0; z-index: 75; pointer-events: none; }

.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(430px, 100vw);
  background: var(--surface);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transform: translateX(102%);
  transition: transform 0.32s var(--ease);
  box-shadow: var(--shadow);
}

.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: translateX(0); }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.3rem;
  border-bottom: 1px solid var(--border-soft);
}
.drawer__head h2 { font-size: 1.35rem; }

.drawer__close {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--track-bg);
  color: var(--muted);
  font-size: 1.9rem;
  line-height: 1;
  transition: background 0.2s, color 0.2s;
}
.drawer__close:hover { background: var(--brand); color: #fff; }

.drawer__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow-y: auto;
  padding: 1.1rem 1.3rem;
  scrollbar-width: thin;
  scrollbar-color: var(--brand) var(--surface-2);
}
.drawer__body::-webkit-scrollbar { width: 8px; }
.drawer__body::-webkit-scrollbar-track { background: var(--surface-2); border-radius: 4px; }
.drawer__body::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 4px; }
.drawer__body::-webkit-scrollbar-thumb:hover { background: var(--brand-2); }

.drawer__foot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0.9rem 1.3rem 1.1rem;
  border-top: 1px solid var(--border-soft);
}
.drawer__foot .btn:not(.btn--full) { width: 100%; }

.drawer__note {
  margin-top: 0.8rem;
  color: var(--muted-2);
  font-size: 0.76rem;
  text-align: center;
}

/* Carrinho */

.cart-empty {
  text-align: center;
  padding: 2.6rem 1rem;
  color: var(--muted);
}
.cart-empty svg {
  width: 46px;
  height: 46px;
  margin: 0 auto 0.8rem;
  color: var(--muted-2);
}
.cart-empty p { font-size: 0.92rem; }

.cart-rows { display: flex; flex-direction: column; gap: 12px; }

.cart-row {
  display: flex;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-soft);
}
.cart-row__media {
  width: 74px;
  height: 68px;
  flex: none;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-2);
}
.cart-row__media img { width: 100%; height: 100%; object-fit: cover; }

.cart-row__body { flex: 1; min-width: 0; }
.cart-row__name { font-size: 1.02rem; line-height: 1.15; margin-bottom: 0.15rem; }
.cart-row__sub {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 0.2rem;
}
.cart-row__obs {
  font-size: 0.74rem;
  color: var(--muted-2);
  font-style: italic;
  margin-bottom: 0.5rem;
}

.cart-row__foot {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cart-row__foot .stepper { padding: 1px; }
.cart-row__foot .stepper button { width: 27px; height: 27px; }
.cart-row__foot .stepper span { min-width: 22px; font-size: 0.85rem; }
.cart-row__price {
  margin-left: auto;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brand);
}

.coupon-field { margin: 0.6rem 0; }
.coupon-field__row { display: flex; gap: 8px; }
.coupon-field__row .field__input { flex: 1; }

.coupon-msg { font-size: 0.78rem; margin-top: 0.4rem; min-height: 1em; }
.coupon-msg.is-ok { color: #39FF14; text-shadow: 0 0 10px rgba(57, 255, 20, 0.4); }
.coupon-msg.is-err { color: var(--bad); }

.cart-summary {
  border-radius: var(--radius);
  background: var(--track-bg);
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
}

.sum-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.88rem;
  color: var(--muted);
  padding: 3px 0;
}
.sum-row small { font-size: 0.7rem; }
.sum-row .value { font-weight: 600; color: var(--text); }
.sum-row .value.is-neg { color: #39FF14; text-shadow: 0 0 10px rgba(57, 255, 20, 0.4); }
.sum-row.is-good { color: #39FF14; text-shadow: 0 0 10px rgba(57, 255, 20, 0.4); }
.sum-row--total {
  font-family: var(--font-head);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--text);
  border-top: 1px dashed var(--border);
  margin-top: 6px;
  padding-top: 8px;
}
.sum-row--total span:first-child { color: var(--text); }
.sum-row--total .value { color: var(--brand); font-size: 1.28rem; }

/* ---------- Checkout (embutido na sacola) ---------- */

.steps-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  padding: 6px;
}

.step {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 6px;
  border-radius: 999px;
  color: var(--muted-2);
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.25s var(--ease);
}
.step__num {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--surface);
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--muted);
  transition: all 0.25s var(--ease);
}
.step__label { font-size: 0.82rem; white-space: nowrap; }
.step.is-current { background: rgba(242, 107, 33, 0.12); color: var(--brand); }
.step.is-current .step__num { background: var(--brand); color: var(--on-brand); }
.step.is-done { color: var(--good); }
.step.is-done .step__num { background: rgba(127, 176, 105, 0.16); color: var(--good); }

.card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.05rem 1.1rem;
  margin-bottom: 1rem;
}
.card h3 {
  font-size: 1.28rem;
  margin-bottom: 0.35rem;
}
.card__hint {
  color: var(--muted);
  font-size: 0.82rem;
  margin: 0.2rem 0 0.8rem;
}
.card__hint.is-err { color: var(--bad); }

.toggle-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 1rem;
}

.toggle-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 15px 16px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border-soft);
  background: var(--surface-2);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.toggle-card input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-card.is-on { border-color: var(--brand); background: rgba(242, 107, 33, 0.09); }
.toggle-card__title { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; }
.toggle-card__hint { font-size: 0.78rem; color: var(--muted); }

.district-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.district-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 13px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-soft);
  background: var(--surface-2);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.district-opt input { position: absolute; opacity: 0; pointer-events: none; }
.district-opt.is-on { border-color: var(--brand); background: rgba(242, 107, 33, 0.09); }
.district-opt__name { font-weight: 600; font-size: 0.88rem; }
.district-opt__fee { font-size: 0.78rem; color: var(--muted); flex: none; }

.pay-list { display: flex; flex-direction: column; gap: 9px; margin-bottom: 0.8rem; }

.pay-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 15px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border-soft);
  background: var(--surface-2);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.pay-card input { position: absolute; opacity: 0; pointer-events: none; }
.pay-card.is-on { border-color: var(--brand); background: rgba(242, 107, 33, 0.09); }
.pay-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: var(--on-brand);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}
.pay-card__name { font-weight: 700; font-size: 0.95rem; }
.pay-card__hint { font-size: 0.78rem; color: var(--muted); }

/* Vendedor (foto redonda reaproveitando o bloco do pay-card). */
.seller-face { border-radius: 50%; overflow: hidden; padding: 0; }
.seller-face img { width: 100%; height: 100%; object-fit: cover; }

.review-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.92rem;
  border-bottom: 1px dashed var(--border-soft);
}
.review-item:last-child { border-bottom: 0; }
.review-item__info {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: right;
}

.review-sum {
  background: var(--track-bg);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  margin: 0.6rem 0;
}

.track-form {
  display: flex;
  gap: 8px;
  margin: 0.6rem 0 1rem;
}
.track-form .field__input { flex: 1; }

/* ---------- Calculadora de Eventos ---------- */

/* Calculadora embutida no grupo Doces do cardápio */
#event-calc-container {
  margin: 0.8rem 0 0;
}

.event-calc {
  width: 100%;
}

.event-calc__inner {
  background: linear-gradient(135deg, rgba(242, 107, 33, 0.08), rgba(232, 93, 4, 0.04));
  border: 1px solid rgba(242, 107, 33, 0.25);
  border-radius: var(--radius);
  overflow: hidden;
}

.event-calc__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(242, 107, 33, 0.15);
}

.event-calc__header-left {
  flex: 1;
  min-width: 0;
}

.event-calc__cta-text {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand);
  margin-top: 2px;
}

.event-calc__wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  flex-shrink: 0;
}

.event-calc__wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.event-calc__wa svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.event-calc__title {
  font-size: 1rem;
  font-weight: 300;
  margin: 0 0 2px;
}

.event-calc__desc {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 2px;
}

.event-calc__body {
  padding: 16px 20px;
}

.event-calc__input-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.event-calc__label {
  font-size: 0.85rem;
  font-weight: 600;
}

.event-calc__stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.event-calc__btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  background: var(--surface);
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}

.event-calc__btn:hover { background: var(--border-soft); }

.event-calc__input {
  width: 64px;
  height: 40px;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  background: transparent;
  color: var(--text);
  -moz-appearance: textfield;
}

.event-calc__input::-webkit-outer-spin-button,
.event-calc__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.event-calc__calc-btn {
  height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  border: none;
  background: var(--brand);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  margin-left: 8px;
  white-space: nowrap;
}
.event-calc__calc-btn:hover {
  background: var(--brand-2);
  transform: translateY(-1px);
}

.event-calc__result {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(242, 107, 33, 0.12);
}

.event-calc__result-title {
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--text);
}

.event-calc__divider {
  height: 1px;
  background: var(--border-soft);
  margin: 16px 0;
}

.event-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.event-table th {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0 0 8px;
  border-bottom: 1px solid var(--border-soft);
}

.event-table th:last-child,
.event-table td:last-child { text-align: right; }

.event-table th:nth-child(2),
.event-table th:nth-child(3),
.event-table td:nth-child(2),
.event-table td:nth-child(3) { text-align: center; }

.event-table td {
  padding: 8px 0;
  border-bottom: 1px solid rgba(242, 107, 33, 0.08);
  vertical-align: middle;
}

.event-table__name {
  font-weight: 600;
}

.event-table__price {
  color: var(--muted);
}

.event-table__units {
  color: var(--muted);
}

.event-table__total {
  font-weight: 700;
  color: var(--brand);
}

.event-hint {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 10px 0 0;
  font-style: italic;
}

.event-hint--warn {
  color: #FF7B31;
  font-style: normal;
  font-weight: 600;
}

/* ---------- Formulário ---------- */

.field { margin-bottom: 0.9rem; }

.field__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--muted);
}

.field__input,
.field__select {
  width: 100%;
  background: var(--surface-2);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  font-size: 0.92rem;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field__input:hover, .field__select:hover { border-color: var(--border); }
.field__input:focus, .field__select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(242, 107, 33, 0.16);
}
.field__select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237E6F5F' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}

.field__textarea { resize: vertical; min-height: 64px; }

.field__msg { font-size: 0.76rem; color: var(--muted); margin-top: 0.35rem; }
.field__msg.is-err { color: var(--bad); }
.field--invalid .field__input { border-color: var(--bad); }

/* ---------- Modal ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  overflow-y: auto;
  padding: 14px;
  background: var(--overlay);
  backdrop-filter: blur(4px);
  scrollbar-width: thin;
  scrollbar-color: var(--brand) transparent;
}
.modal::-webkit-scrollbar { width: 8px; }
.modal::-webkit-scrollbar-track { background: transparent; }
.modal::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 4px; }
.modal::-webkit-scrollbar-thumb:hover { background: var(--brand-2); }

.modal-card {
  margin: auto;
  width: min(1080px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  background: #171310;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  animation: popIn 0.22s var(--ease);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-card__inner {
  display: flex;
  flex-direction: row;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.modal__media {
  position: sticky;
  top: 0;
  width: 48%;
  min-height: 420px;
  max-height: calc(100vh - 28px);
  overflow: hidden;
  border-radius: var(--radius-lg) 0 0 0;
  background: var(--surface-2);
  flex-shrink: 0;
  align-self: flex-start;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s var(--ease), opacity 0.25s;
}
.modal__media.is-preview .media-preview { opacity: 1; transform: scale(1); }
.modal__media .media-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: var(--surface-2);
  opacity: 0;
  transform: scale(1.08);
  pointer-events: none;
  transition: opacity 0.38s ease, transform 0.55s var(--ease);
}
.modal__media.m-whole img { object-fit: contain; }
.modal__media .p-card__tags { top: 14px; left: 14px; }

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(13, 11, 10, 0.72);
  color: var(--warm);
  font-size: 1.9rem;
  line-height: 1;
  transition: background 0.2s, color 0.2s;
  z-index: 2;
}
.modal__close:hover { color: #fff; background: var(--brand); }

.modal__body {
  flex: 1;
  min-width: 0;
  padding: 1.5rem 1.6rem 1.6rem;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--brand) var(--surface-2);
}
.modal__body::-webkit-scrollbar { width: 8px; }
.modal__body::-webkit-scrollbar-track { background: var(--surface-2); border-radius: 4px; }
.modal__body::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 4px; }
.modal__body::-webkit-scrollbar-thumb:hover { background: var(--brand-2); }

.modal__foot {
  background: #171310;
  padding: 1rem 1.6rem 1.2rem;
  border-top: 1px solid var(--border-soft);
}

.modal__title {
  font-size: 1.8rem;
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.modal__price-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 0.7rem;
}
.modal__price-line .price__now { font-size: 1.6rem; }
.modal__price-line small { color: var(--muted); font-size: 0.82rem; }

.modal__long { color: var(--muted); font-size: 0.94rem; margin-bottom: 1rem; line-height: 1.6; }

/* ---------- Price Breakdown ---------- */

.price-breakdown {
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
}
.price-breakdown__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: var(--muted);
  padding: 0.25rem 0;
}
.price-breakdown__row + .price-breakdown__row {
  border-top: 1px dashed var(--border-soft);
}
.price-breakdown__row .is-pos { color: var(--brand); }
.price-breakdown__row .is-neg { color: #39FF14; text-shadow: 0 0 10px rgba(57, 255, 20, 0.4); }
.price-breakdown__total {
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
  padding-top: 0.45rem;
  margin-top: 0.15rem;
}

.modal__total { margin-left: auto; }
.modal__total .price__now { font-size: 1.4rem; }

.qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 0.4rem;
}
.qty-row .opt-group__label { margin: 0; }

/* Opções do produto */

.opt-group { margin-bottom: 1rem; }

.opt-group__label {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}
.opt-group__label small {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.opt-group__label--split { justify-content: space-between; width: 100%; margin-bottom: 0.1rem; }
/* Fieldsets do popup (tamanhos/preparo/adicionais): zera a borda groove
   padrão do navegador, que aparecia como filetes claros nas laterais. */
fieldset.opt-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.opt-group__label--split .req {
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand);
}
.opt-group__sub {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  margin: -0.15rem 0 0.6rem;
}

/* Bloco destacado: escolha do tamanho (popup do produto) */
.m-sizes {
  margin: 0 0 1rem;
  padding: 14px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: linear-gradient(180deg, rgba(242,107,33,.08), rgba(242,107,33,.02)), var(--surface-2);
  box-shadow: var(--shadow-sm);
}
.m-sizes .opt-group__label {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 300;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin-bottom: .7rem;
  padding: 0;
}

.sizes { display: flex; flex-direction: column; gap: 10px; }

/* Cards/radio estilizados — seleção única via input[type=radio] nativo */
.size-pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-soft);
  background: var(--surface);
  cursor: pointer;
  transition: border-color .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease), transform .15s var(--ease);
}
.size-pill:hover { border-color: var(--brand); transform: translateY(-1px); }
.size-pill input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.size-pill:focus-within {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.size-pill.selected {
  border-color: var(--brand);
  background: rgba(242, 107, 33, 0.10);
  box-shadow: 0 6px 18px rgba(242,107,33,.18);
}
.size-pill__radio {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--muted-2);
  display: grid;
  place-items: center;
  transition: border-color .18s var(--ease);
}
.size-pill__radio::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
  transition: background .18s var(--ease);
}
.size-pill.selected .size-pill__radio { border-color: var(--brand); }
.size-pill.selected .size-pill__radio::after { background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.size-pill__txt { flex: 1; min-width: 0; }
.size-pill__name { font-weight: 700; font-size: 0.95rem; }
.size-pill__price {
  flex: none;
  font-family: var(--font-head);
  font-weight: 300;
  color: var(--brand);
  font-size: 1.05rem;
  white-space: nowrap;
}
.size-pill.selected .size-pill__price { color: var(--brand-2); }

.ing-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ing {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  text-align: left;
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-soft);
  background: var(--surface-2);
  transition: all 0.18s var(--ease);
  color: var(--text);
}
.ing__mark {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  background: rgba(127, 176, 105, 0.15);
  color: var(--good);
  font-weight: 700;
  font-size: 0.9rem;
}
.ing svg { width: 12px; height: 12px; }
.ing small {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 400;
}
.ing.is-off { opacity: 0.62; border-style: dashed; }
.ing.is-off .ing__mark { background: rgba(224, 122, 79, 0.16); color: var(--bad); }

.addons { display: flex; flex-direction: column; gap: 7px; }

/* Título de cada grupo de adicionais no popup do produto (Borda/Molhos/Extras/Retirar). */
.m-addongrp {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand);
  margin: 0.55rem 0 -0.1rem;
}
.m-addongrp:first-child { margin-top: 0.1rem; }
/* Selo "opcional" (o "obrigatório" usa .req em destaque). */
.opt-group__label--split .req--opt { color: var(--muted); text-transform: lowercase; font-weight: 500; }

.chk {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-soft);
  background: var(--surface-2);
  cursor: pointer;
  transition: all 0.18s var(--ease);
}
.chk input { position: absolute; opacity: 0; pointer-events: none; }
.chk:has(input:checked) { border-color: var(--brand); background: rgba(242, 107, 33, 0.09); }
.chk__label { flex: 1; font-weight: 600; font-size: 0.9rem; }
.chk__price { color: var(--muted); font-size: 0.82rem; }

.stepper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--surface-2);
  border: 1.5px solid var(--border-soft);
  border-radius: 999px;
  padding: 3px;
}
.stepper button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  color: var(--brand);
  font-weight: 600;
  transition: background 0.2s;
}
.stepper button:hover { background: rgba(242, 107, 33, 0.14); }
.stepper button:disabled { opacity: 0.35; cursor: not-allowed; }
.stepper button svg { width: 15px; height: 15px; }
.stepper span {
  min-width: 26px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.product-note {
  background: var(--track-bg);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 9px 12px;
  font-size: 0.8rem;
  color: #fff;
  margin-bottom: 0.8rem;
}
[data-theme="light"] .product-note { color: var(--text); }
.product-note--order { border-left-color: var(--amber); }
.product-note--order b { color: var(--amber); }

/* Cross-sell "Leve também" no popup */

.cross-sell { margin: 0.8rem 0; border-top: 1px solid var(--border-soft); padding-top: 0.8rem; }

.cross-sell__hint { font-size: 0.76rem; color: var(--muted); margin-bottom: 0.55rem; }

.cross-sell__section { margin-bottom: 0.7rem; }
.cross-sell__section:last-child { margin-bottom: 0; }

.cross-sell__title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
  color: var(--text);}
.cross-sell__opt {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 2px 8px;
  letter-spacing: 0.02em;
  margin-left: auto;
}
.cross-sell__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.xs-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-soft);
  background: var(--surface-2);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.xs-item:hover { border-color: var(--brand); background: rgba(242, 107, 33, 0.06); }

/* Revelação ao rolar: só ativa quando o JS confirma suporte (body.reveal) */
body.reveal .xs-item {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), border-color 0.2s, background 0.2s;
}
body.reveal .xs-item.is-in { opacity: 1; transform: none; }

.xs-item__img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface);
}
.xs-item__img img { width: 100%; height: 100%; object-fit: contain; font-size: 0; color: transparent; }

.xs-item__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.xs-item__name {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}
.xs-item__price {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--brand);
}

.xs-item__stepper {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: var(--surface);
  border: 1.5px solid var(--border-soft);
  border-radius: 999px;
  padding: 2px;
  flex-shrink: 0;
}
.xs-item__qtybtn {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: var(--brand);
  font-size: 1.05rem;
  font-weight: 600;
  transition: background 0.18s;
  cursor: pointer;
}
.xs-item__qtybtn:hover { background: rgba(242, 107, 33, 0.14); }
.xs-item__qty {
  min-width: 22px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
}

.xs-item__cart {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1.5px solid var(--brand);
  background: transparent;
  color: var(--brand);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.18s, color 0.18s;
  cursor: pointer;
}
.xs-item__cart svg { width: 16px; height: 16px; }
.xs-item__cart:hover { background: var(--brand); color: #fff; }

/* Seleção personalizada */

.sel-flavors { display: flex; flex-direction: column; gap: 8px; }

.sel-flavor {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-soft);
  background: var(--surface-2);
}
.sel-flavor__name { font-weight: 600; font-size: 0.92rem; display: block; }
.sel-flavor__img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface);
  align-self: flex-start;
}
.sel-flavor__img img { width: 100%; height: 100%; object-fit: cover; font-size: 0; color: transparent; }
.sel-flavor__desc { display: block; font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.sel-flavor__price { display: block; font-size: 0.82rem; margin-top: 4px; }
.sel-flavor__price b { color: #39FF14; font-weight: 700; text-shadow: 0 0 10px rgba(57, 255, 20, 0.4); }
.sel-flavor__price s { color: var(--muted-2); margin-left: 6px; }
.sel-flavor__limit { display: block; font-size: 0.72rem; color: var(--muted-2); margin-top: 2px; }
.sel-flavor__side { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: none; }
.sel-flavor__side .sel-flavor__price { margin-top: 0; text-align: center; }

.sel-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 0.8rem;
}
.sel-info__hint { font-weight: 700; color: var(--brand); font-size: 0.92rem; }
.sel-info__warn { color: var(--bad); font-size: 0.8rem; }

/* ---------- Confirmação ---------- */

.confirm { text-align: center; padding: 3rem 1.4rem; }

.confirm__check {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: var(--on-brand);
  box-shadow: 0 14px 34px rgba(242, 107, 33, 0.4);
}
.confirm__check svg { width: 38px; height: 38px; }

.confirm h2 { font-size: clamp(1.8rem, 5vw, 2.4rem); margin-bottom: 0.6rem; }
.confirm__order {
  display: inline-block;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.confirm__order b { color: var(--brand); }
.confirm__msg { color: var(--muted); margin-bottom: 1rem; }

.confirm .cta-row { justify-content: center; }

/* ---------- Painéis (acompanhar pedido / conta) ---------- */

.panel {
  position: fixed;
  inset: 0;
  z-index: 75;
  display: flex;
  overflow-y: auto;
  padding: 14px;
}

.panel__backdrop {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  backdrop-filter: blur(3px);
}

.panel__card {
  position: relative;
  z-index: 1;
  margin: auto;
  width: min(560px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  animation: popIn 0.2s var(--ease);
}

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.3rem;
  border-bottom: 1px solid var(--border-soft);
}
.panel__head h2 { font-size: 1.65rem; }
#track .panel__head h2 {
  font-family: var(--font-head);
  font-weight: 400;
  color: var(--on-brand-2);
  font-size: clamp(2.2rem, 8vw, 66px);
  line-height: 1;
}

/* Conta usa caixa mais larga para o título grande */
#account .panel__card { width: min(620px, calc(100vw - 28px)); }
#track .panel__card { width: min(660px, calc(100vw - 28px)); }
#account .panel__head h2 { font-weight: 300; }
#account [data-account-do-login],
#account [data-account-login] { border-radius: 8px; }

.panel__body {
  padding: 1.1rem 1.3rem 1.3rem;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--brand) var(--surface-2);
}
.panel__body::-webkit-scrollbar { width: 8px; }
.panel__body::-webkit-scrollbar-track { background: var(--surface-2); border-radius: 4px; }
.panel__body::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 4px; }
.panel__body::-webkit-scrollbar-thumb:hover { background: var(--brand-2); }

.panel__sub {
  font-size: 1.1rem;
  margin: 1rem 0 0.6rem;
}

/* Minha conta: escolha entrar/cadastrar */
.acc-title {
  font-family: "Anton SC", Impact, sans-serif;
  font-style: normal;
  font-weight: 400;
  color: rgb(255, 248, 239);
  font-size: 66px;
  line-height: 66px;
  margin-bottom: 0.4rem;
}
.acc-choice { display: flex; flex-direction: row; gap: 10px; margin-top: 1rem; flex-wrap: wrap; }
.acc-choice .btn { flex: 1 1 0; min-width: 150px; border-radius: 8px; white-space: nowrap; }

/* Caixa interna do formulário: cria sombra/profundidade sobre o painel */
.acc-box {
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  margin-top: 0.8rem;
  box-shadow: var(--shadow-sm);
}

/* Timeline */

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0.4rem;
}

.timeline-item {
  position: relative;
  padding: 0 0 1.5rem 2.4rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 4px;
  bottom: 0;
  width: 2px;
  background: var(--border-soft);
}
.timeline-item:last-child::before { bottom: auto; height: 6px; }
.timeline-item::after {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 2px solid var(--border);
}

.timeline-item__title { font-weight: 700; font-size: 0.98rem; }
.timeline-item__desc { color: var(--muted); font-size: 0.82rem; }
.timeline-item__time { color: var(--muted-2); font-size: 0.72rem; }

.timeline-item.is-on::after {
  background: var(--brand);
  border-color: rgba(242, 107, 33, 0.35);
  box-shadow: 0 0 0 4px rgba(242, 107, 33, 0.16);
}
.timeline-item.is-on .timeline-item__title { color: var(--brand); }
.timeline-item.is-done::after { background: var(--good); border-color: transparent; }
.timeline-item.is-done::before { background: linear-gradient(var(--good), var(--border-soft)); }
.timeline-item.is-done .timeline-item__title { color: var(--good); }

/* Conta */

.acc-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0 4px;
}
.acc-avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: var(--on-brand);
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
}
.acc-profile b { font-size: 1rem; }
.acc-profile small { color: var(--muted); }

.acc-list { display: flex; flex-direction: column; gap: 8px; }

.acc-order {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--muted);
  transition: border-color 0.2s, background 0.2s;
}
.acc-order:hover { border-color: var(--brand); background: rgba(242, 107, 33, 0.08); }
.acc-order b { color: var(--text); }
.acc-order small { font-size: 0.76rem; color: var(--muted); }

/* ---------- Stepper compartilhado em drawer ---------- */

/* (reutiliza .stepper acima) */

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  bottom: 96px;
  left: 50%;
  transform: translate(-50%, 16px);
  z-index: 95;
  background: var(--text);
  color: var(--bg);
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  box-shadow: var(--shadow);
  max-width: calc(100vw - 32px);
  text-align: center;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Skeleton do cardápio (LCP / perceived performance) ---------- */

.skel { display: inline-block; border-radius: 999px; background: linear-gradient(90deg, var(--surface-2) 25%, var(--track-bg) 50%, var(--surface-2) 75%); background-size: 200% 100%; animation: skelShimmer 1.2s infinite linear; }
.skel--pill { width: 110px; height: 34px; }
#categories .skel--pill { margin-right: 8px; }
.skel-card { pointer-events: none; }
.skel--img { height: 150px; border-radius: var(--radius); margin-bottom: 10px; display: block; }
.skel--line { height: 14px; border-radius: 6px; margin-bottom: 8px; display: block; }
.skel--short { width: 55%; }
@keyframes skelShimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skel { animation: none; } }

/* ---------- Animações ---------- */

@keyframes popIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

/* ---------- Responsivo ---------- */

@media (max-width: 980px) {
  .nav-toggle { display: flex; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 59;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    background: var(--bg);
    border-bottom: 1px solid var(--border-soft);
    box-shadow: var(--shadow-sm);
    max-height: calc(100vh - var(--header-h));
    overflow: auto;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s var(--ease), opacity 0.22s;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { padding: 13px 16px; border-radius: 10px; font-size: 1rem; }

  .promo__cols { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --header-h: 60px; }
  .header__inner { padding: 0 14px; gap: 10px; }
.brand__img { height: 40px; }

 	.top-btn__label { display: none; }
  .top-btn { padding: 9px; min-width: 40px; }

  /* Status compacto no mobile: mantém ETA (conversão) — "Aberto · 45–60 min" */
  .header__inner { gap: 8px; padding: 0 12px; }
  .brand__img { max-width: 32vw; }
  .open { display: inline-flex; padding: 6px 10px; font-size: 0.72rem; gap: 6px; white-space: nowrap; max-width: 38vw; overflow: hidden; }
  .open small { display: inline; font-weight: 600; }
  #header-status-text { font-size: 0.72rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  .hero { padding: 2.4rem 0 2.6rem; }

  .hero__grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero h1 { margin-right: 0; max-width: 11ch; }
  .hero h1 br { display: none; }
  .hero-art { order: -1; max-width: 560px; margin: 0 auto; width: 100%; display: block; }
  .hero__photo { height: auto; aspect-ratio: 4 / 3.3; border-radius: var(--radius-lg); }
  .hero-copy { padding-top: 0; }
  .hero__chip--delivery { left: 8px; bottom: 14px; }
  .hero__chip--time { right: 8px; top: 12px; }

  .feature { flex-direction: column; }
  .feature__media { width: 100%; }

  .menu-track .p-card { flex-basis: min(var(--menu-card-w), 76vw); }
  .menu-arrow { display: none; }

  /* Cabeçalho compacto sem estouro: tema sai do header (vira flutuante
     abaixo do carrinho) e os botões encolhem para caber em 360px */
  #theme-btn { display: none; }
  .header__actions { gap: 6px; }
  .floating-theme { display: grid; bottom: 86px; }
  .floating-cart { bottom: 152px; }

  /* Cardápio em lista 1 por linha no celular (substitui o carrossel;
     desktop continua carrossel) */
  .menu-group__track {
    flex-wrap: wrap;
    overflow: visible;
    scroll-snap-type: none;
  }
  .menu-group__track .p-card {
    flex: 1 1 100%;
    max-width: none;
    width: 100%;
  }
  .menu-group__grid .p-card {
    flex: 1 1 100%;
    max-width: none;
  }

  .steps__grid { grid-template-columns: 1fr; }
  .benefits__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  /* Telas muito estreitas: dot + ETA, esconde "Aberto/Fechado" mas mantém tempo */
  #header-status-text { font-size: 0; }
  #header-status-text small { font-size: 0.72rem; }
  .open { padding: 6px 8px; }
  .brand__img { max-width: 28vw; }
}

@media (max-width: 560px) {
  .promo__coupon b { font-size: 1.9rem; }
  .district-list { grid-template-columns: 1fr; }
  .toggle-box { grid-template-columns: 1fr; }
  .steps-progress { flex-direction: column; border-radius: 16px; }
  .step { justify-content: flex-start; }

  .fab { right: 12px; }
  .floating-cart { right: 12px; bottom: 146px; }
  .floating-theme { right: 12px; bottom: 80px; }

  /* Telas estreitas: selo vira só o ponto (mantém aberto/fechado pela cor),
     logo e botões encolhem para o header caber sem rolagem lateral */
  #header-status-text { font-size: 0; }
  #header-status-text small { display: none; }
  .open { padding: 6px 8px; max-width: none; }
  .brand__img { height: 36px; max-width: 30vw; }
  .header__inner { gap: 6px; padding: 0 10px; }
  .top-btn { min-width: 36px; padding: 8px; }

  .toast { bottom: 88px; }
  .offer__close { margin-left: 0; }

  .modal-card {
    width: min(480px, calc(100vw - 16px));
  }
  .modal-card__inner {
    flex-direction: column;
  }
  .modal__media {
    width: 100%;
    min-height: auto;
    max-height: 300px;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    position: relative;
  }
}

/* ---------- Modal premium (reformulação produto) ---------- */

.m-premium .modal__media { position: sticky; top: 0; align-self: stretch; }
.m-right { flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.m-right .modal__body { flex: 1; min-height: 0; }
.m-right .modal__foot { flex: none; }
.m-media__shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, transparent 30%, transparent 62%, rgba(0,0,0,.55) 100%);
}
.m-media__chips {
  position: absolute; left: 14px; right: 14px; bottom: 12px;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.m-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(13,11,10,.82); backdrop-filter: blur(6px);
  border: 1px solid var(--border); color: var(--warm);
  font-size: .76rem; font-weight: 600;
}
.m-chip svg { width: 14px; height: 14px; }
.m-crumb { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: .3rem; }
.m-proof { font-size: .8rem; color: var(--muted); margin-bottom: .5rem; }
.m-unit { margin: -.4rem 0 .8rem; }
.m-unit small { color: var(--muted); font-size: .82rem; }
.m-per {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  background: rgba(242,107,33,.12); border: 1px solid var(--border);
  color: var(--brand); font-size: .74rem; font-weight: 700;
}
.modal__price-line .price__old { font-size: 1rem; }
.m-comp__list { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.m-comp__list li {
  display: flex; align-items: flex-start; gap: 9px;
  padding: 9px 12px; border-radius: var(--radius-sm);
  background: var(--surface-2); border: 1px solid var(--border-soft);
  font-size: .86rem;
}
.m-comp__check {
  display: grid; place-items: center; width: 20px; height: 20px; flex: none;
  border-radius: 50%; background: rgba(127,176,105,.16); color: var(--good);
  margin-top: 1px;
}
.m-comp__check svg { width: 12px; height: 12px; }
.size-pill__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.size-pill__per { font-size: .74rem; color: var(--muted); font-weight: 500; }
.size-pill__obs { font-size: .72rem; color: var(--amber); font-weight: 600; }
.size-pill__best {
  display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: var(--on-brand); font-size: .64rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; vertical-align: middle;
}
.chk { position: relative; }
.chk__check {
  display: grid; place-items: center; width: 22px; height: 22px; flex: none;
  border-radius: 7px; border: 1.5px solid var(--border);
  color: transparent; transition: all .18s var(--ease);
}
.chk__check svg { width: 13px; height: 13px; }
.chk.is-on { border-color: var(--brand); background: rgba(242,107,33,.09); }
.chk.is-on .chk__check { background: linear-gradient(135deg, var(--brand), var(--brand-2)); border-color: transparent; color: var(--on-brand); }
.chk.is-on .chk__price { color: var(--brand); font-weight: 700; }
.m-breakwrap { margin-bottom: 1rem; }
.m-label--light { font-weight: 300; }
.price-breakdown__mute { font-size: .78rem; }
.price-breakdown .is-strike { text-decoration: line-through; opacity: .7; }
.ing__mark svg { width: 12px; height: 12px; }
.m-foot { position: sticky; bottom: 0; display: flex; flex-direction: column; gap: 8px; }
.modal__foot.m-foot { padding: 0.65rem 1.2rem 0.75rem; }
.m-foot__row { display: flex; align-items: center; gap: 8px; }
.m-foot__row--top { justify-content: space-between; }
.m-foot__row .stepper { flex: none; padding: 2px; }
.m-foot__row .stepper button { width: 32px; height: 32px; }
.m-foot__row .stepper button svg { width: 16px; height: 16px; }
.m-foot__row .stepper span { min-width: 22px; font-size: 0.85rem; }
.m-foot__tot { flex: none; }
.m-foot .m-cta__wrap { display: flex; flex-direction: column; gap: 2px; width: 100%; }
.m-foot .m-cta { width: 100%; padding: 13px 14px; font-size: 1rem; border-radius: 8px; }
.m-cta__note { display: block; text-align: center; font-size: 0.78rem; color: var(--muted); }
.m-foot__tot { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
.m-foot__tot small { color: var(--muted); font-size: .66rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.m-foot__tot .price__now { font-size: 1.25rem; color: #fff; font-weight: 300; }
[data-theme="light"] .m-foot__tot .price__now { color: var(--text); }
.m-save { display: inline-block; color: #39FF14 !important; text-shadow: 0 0 10px rgba(57, 255, 20, 0.4); text-transform: none !important; letter-spacing: 0 !important; font-size: .76rem !important; line-height: 1.7; margin-top: 3px; }
.m-cta b { font-family: var(--font-head); font-weight: 400; letter-spacing: .02em; }
.m-cta svg { width: 18px; height: 18px; flex: none; }

@media (max-width: 560px) {
  .m-foot { padding: 0.8rem 1rem 1rem; }
  .m-foot__row { gap: 6px; }
  .m-foot__tot .price__now { font-size: 1.1rem; }
  .m-foot .m-cta { padding: 12px 10px; font-size: 0.9rem; }
}

/* Anton SC é fonte de display com um único peso (400); títulos usam apenas ele */

h1, h2, h3 { font-weight: 400; }

/* Sobremesas e Bebidas: preço em peso 300 (DM Sans Light, carregada no
   Google Fonts). Usa a fonte do corpo porque o Anton SC só existe em 400
   e um 300 nele seria apenas 400 disfarçado. */
.p-card[data-pcat="sobremesas"] .price__now,
.p-card[data-pcat="bebidas"] .price__now {
  font-family: var(--font-body);
  font-weight: 300;
}

/* =====================================================================
   Nitidez: Anton SC só existe em 400 — qualquer 300/700 seria negrito
   sintetizado pelo navegador (texto borrado). Força o peso real.
   ===================================================================== */
h4,
.price__now,
.promo__coupon b,
.benefits__grid b,
.cart-row__price,
.sum-row--total,
.toggle-card__title,
.opt-group__label,
.cross-sell__title,
.size-pill__price,
.xs-item__price,
.step__num,
.steps__grid small,
.pay-card__icon { font-weight: 400; }

/* =====================================================================
   Páginas institucionais (Políticas e Termos)
   ===================================================================== */
.policy { padding: 3.2rem 0 4.5rem; }
.policy .wrap { max-width: 820px; }
.policy h1 {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(2.2rem, 6vw, 82px);
  line-height: 1.02;
  color: var(--text);
  margin: 0.7rem 0 0.5rem;
}
.policy__meta { color: var(--muted); font-size: 0.85rem; letter-spacing: 0.02em; }
.policy article { margin-top: 2.4rem; }
.policy article > p:first-child { font-size: 1.02rem; color: var(--text); line-height: 1.75; }
.policy article h2 {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 1.45rem;
  line-height: 1.2;
  color: var(--brand);
  margin: 2.2rem 0 0.7rem;
}
.policy article p { color: var(--muted); line-height: 1.8; margin-bottom: 0.7rem; max-width: 70ch; }
.policy article ul { margin: 0 0 0.9rem; padding: 0; list-style: none; max-width: 70ch; }
.policy article li {
  color: var(--muted);
  line-height: 1.8;
  padding-left: 1.1rem;
  position: relative;
}
.policy article li::before { content: "•"; position: absolute; left: 0; color: var(--brand); }
.policy article b { color: var(--text); font-weight: 600; }
.policy article a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.policy article a:hover { color: var(--brand-2); }

@media (max-width: 560px) {
  .policy { padding: 2.2rem 0 3.5rem; }
  .policy article h2 { font-size: 1.28rem; margin: 1.8rem 0 0.6rem; }
}

/* =====================================================================
   Aviso LGPD (consentimento de privacidade)
   ===================================================================== */
.lgpd {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 70;
  width: min(660px, calc(100vw - 28px));
  opacity: 0;
  transform: translate(-50%, 14px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  pointer-events: none;
}
.lgpd.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.lgpd[hidden] { display: none; }
.lgpd__card {
  display: grid;
  gap: 0.55rem;
  background: rgba(13, 11, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 1.25rem 1.4rem 1.35rem;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
[data-theme="light"] .lgpd__card {
  background: rgba(251, 245, 238, 0.94);
  box-shadow: 0 18px 50px rgba(26, 13, 5, 0.18);
}
.lgpd__title {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(1.6rem, 4vw, 30px);
  line-height: 1.05;
  color: var(--text);
}
.lgpd__text { color: var(--muted); font-size: 0.92rem; line-height: 1.7; max-width: 60ch; }
.lgpd__text a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.lgpd__text a:hover { color: var(--brand-2); }
.lgpd__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 0.35rem; }
.lgpd__actions .btn { padding: 11px 18px; border-radius: 8px; font-size: 0.92rem; }