/* ==========================================================================
   Marmitas do Block — design system
   Dark urban base + cream surfaces + red/gold/green accents.
   ========================================================================== */

:root {
  --ink: #101010;
  --ink-2: #171614;
  --ink-3: #1f1d1a;
  --ink-line: rgba(255, 245, 231, 0.12);
  --cream: #fff5e7;
  --cream-2: #f7e9d5;
  --cream-ink: #1a1713;
  --red: #e5242b;
  --red-dark: #b9161d;
  --green: #078447;
  --gold: #e8b64b;
  --muted: rgba(255, 245, 231, 0.68);
  --muted-2: rgba(255, 245, 231, 0.5);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 30px;
  --shadow-1: 0 12px 30px rgba(0, 0, 0, 0.28);
  --shadow-2: 0 30px 70px rgba(0, 0, 0, 0.45);
  --font-display: 'Anton', 'Arial Narrow', 'Haettenschweiler', Impact, sans-serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --shell: 1180px;
  --header-h: 76px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.94;
  text-transform: uppercase;
  margin: 0;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 22px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--cream);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------------------------------------------------------------- top bar */

.demo-banner {
  background: linear-gradient(90deg, var(--gold), #f2cd7a);
  color: #2a1c02;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 7px 16px;
  text-transform: uppercase;
}
.demo-banner strong { font-weight: 800; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(16, 16, 16, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--ink-line);
}
.header-row {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 26px;
}

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo__mark { width: 44px; height: 44px; }
.logo__text { display: grid; line-height: 0.86; }
.logo__top {
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: 0.14em;
  color: var(--cream);
}
.logo__bottom {
  font-family: var(--font-display);
  font-size: 1.42rem;
  letter-spacing: 0.02em;
  color: var(--cream);
}
.logo__do {
  color: var(--red);
  font-size: 0.72em;
  letter-spacing: 0.08em;
  margin-right: 2px;
}

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  position: relative;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 9px 11px;
  border-radius: 10px;
  transition: color 0.18s, background 0.18s;
  white-space: nowrap;
}
.nav a:hover { color: var(--cream); background: rgba(255, 245, 231, 0.06); }
.nav a.active { color: var(--cream); }
.nav a.active::after {
  content: '';
  position: absolute;
  left: 11px; right: 11px; bottom: 2px;
  height: 3px;
  border-radius: 3px;
  background: var(--red);
}

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.18s, background 0.18s, border-color 0.18s;
}
.icon-btn svg { width: 21px; height: 21px; }
.icon-btn:hover { color: var(--cream); background: rgba(255, 245, 231, 0.08); }

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--ink-line);
  background: rgba(255, 245, 231, 0.04);
  padding: 9px 12px 9px 14px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: border-color 0.18s, background 0.18s;
}
.cart-btn:hover { border-color: rgba(255, 245, 231, 0.3); background: rgba(255, 245, 231, 0.08); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-btn__count {
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}
.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--ink-line);
  border-radius: 12px;
  background: transparent;
  padding: 11px 10px;
  cursor: pointer;
}
.menu-toggle span { display: block; height: 2px; background: var(--cream); border-radius: 2px; margin-bottom: 5px; }
.menu-toggle span:last-child { margin-bottom: 0; width: 70%; }

/* --------------------------------------------------------------- primitives */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
  text-align: center;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: linear-gradient(180deg, #ef2c33, var(--red-dark));
  color: #fff;
  box-shadow: 0 14px 30px rgba(229, 36, 43, 0.32);
}
.btn--primary:hover { box-shadow: 0 18px 40px rgba(229, 36, 43, 0.42); transform: translateY(-1px); }
.btn--secondary {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}
.btn--secondary:hover { background: rgba(232, 182, 75, 0.12); }
.btn--ghost {
  background: rgba(255, 245, 231, 0.06);
  border-color: var(--ink-line);
  color: var(--cream);
}
.btn--ghost:hover { background: rgba(255, 245, 231, 0.12); }
.btn--cream { background: var(--cream); color: var(--ink); }
.btn--small { padding: 9px 15px; font-size: 0.82rem; }
.btn--block { width: 100%; }
.btn--danger { background: rgba(229, 36, 43, 0.14); color: #ff8b8f; border-color: rgba(229, 36, 43, 0.4); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none !important; box-shadow: none; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--red);
  display: inline-block;
}
.eyebrow--center { justify-content: center; }

.section { padding: 74px 0; position: relative; }
.section--tight { padding: 48px 0; }
.section--cream {
  background: var(--cream);
  color: var(--cream-ink);
}
.section--cream .section-lead,
.section--cream .muted { color: rgba(26, 23, 19, 0.7); }
.section--band {
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(229, 36, 43, 0.18), transparent 60%),
    radial-gradient(700px 380px at 5% 110%, rgba(7, 132, 71, 0.16), transparent 60%),
    var(--ink-2);
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
}
.section-head { margin-bottom: 34px; max-width: 720px; }
.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
  flex-wrap: wrap;
}
.section-title {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  line-height: 0.92;
}
.section-title em { font-style: normal; color: var(--red); }
.section-lead { color: var(--muted); max-width: 620px; margin-top: 14px; font-size: 1rem; }
.muted { color: var(--muted); }
.small { font-size: 0.84rem; }
.tiny { font-size: 0.76rem; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 26px; }
.mt-4 { margin-top: 40px; }
.stack { display: grid; gap: 14px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.row--between { justify-content: space-between; }
.grow { flex: 1; }
.hide { display: none !important; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--ink-line);
  background: rgba(255, 245, 231, 0.06);
  color: var(--cream);
}
.tag--gold { border-color: rgba(232, 182, 75, 0.45); color: var(--gold); background: rgba(232, 182, 75, 0.1); }
.tag--red { border-color: rgba(229, 36, 43, 0.45); color: #ff9a9d; background: rgba(229, 36, 43, 0.12); }
.tag--green { border-color: rgba(7, 132, 71, 0.5); color: #7ee3ab; background: rgba(7, 132, 71, 0.14); }
.tag--muted { color: var(--muted); }

.panel {
  border: 1px solid var(--ink-line);
  background: linear-gradient(180deg, rgba(255, 245, 231, 0.05), rgba(255, 245, 231, 0.02));
  border-radius: var(--radius);
  padding: 22px;
}
.panel--cream { background: var(--cream); color: var(--cream-ink); border-color: transparent; }

/* -------------------------------------------------------------------- hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 46px 0 34px;
  background:
    radial-gradient(1200px 600px at 78% 8%, rgba(229, 36, 43, 0.22), transparent 62%),
    radial-gradient(900px 520px at 2% 82%, rgba(7, 132, 71, 0.18), transparent 60%),
    linear-gradient(180deg, #131211, #101010 70%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 245, 231, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 245, 231, 0.035) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000 20%, transparent 100%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 34px;
  align-items: center;
}
.hero-title {
  font-size: clamp(2.9rem, 7.2vw, 5.4rem);
  line-height: 0.86;
  letter-spacing: -0.005em;
  margin: 0 0 16px;
}
.hero-title .block-red {
  color: var(--red);
  text-shadow: 0 10px 40px rgba(229, 36, 43, 0.35);
}
.hero-sub { font-size: 1.06rem; color: var(--muted); max-width: 480px; margin-bottom: 26px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta {
  display: flex;
  gap: 22px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--ink-line);
  flex-wrap: wrap;
}
.hero-meta__item { display: grid; gap: 2px; }
.hero-meta__value { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold); }
.hero-meta__label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); }

.hero-art {
  position: relative;
  min-height: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 245, 231, 0.14);
  background:
    radial-gradient(120% 90% at 70% 10%, rgba(232, 182, 75, 0.24), transparent 55%),
    linear-gradient(160deg, #2a1a17, #141312 60%);
  box-shadow: var(--shadow-2);
}
.hero-art__flag {
  position: absolute;
  inset: auto -20% -30% -20%;
  height: 78%;
  background:
    linear-gradient(115deg, rgba(7, 132, 71, 0.55), rgba(7, 132, 71, 0) 46%),
    linear-gradient(-115deg, rgba(229, 36, 43, 0.55), rgba(229, 36, 43, 0) 46%);
  filter: blur(2px);
}
.hero-art__grain {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: radial-gradient(rgba(255, 255, 255, 0.5) 0.5px, transparent 0.6px);
  background-size: 4px 4px;
  mix-blend-mode: overlay;
}
.hero-art__inner {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 26px;
}
.hero-emblem {
  width: min(74%, 340px);
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.55));
  animation: floaty 9s ease-in-out infinite;
}
.hero-emblem img { width: 100%; height: auto; }
.hero-photo {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  filter: saturate(1.05) contrast(1.02);
}
.hero-photo-note {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(16, 16, 16, 0.72);
  border: 1px solid rgba(255, 245, 231, 0.16);
  backdrop-filter: blur(8px);
  font-size: 0.72rem;
  color: var(--muted);
}
.sticker {
  position: absolute;
  display: grid;
  gap: 2px;
  padding: 10px 12px 10px 10px;
  border-radius: 16px;
  background: var(--cream);
  color: var(--cream-ink);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(16, 16, 16, 0.08);
  animation: floaty 7s ease-in-out infinite;
}
.sticker img { width: 62px; height: 46px; object-fit: contain; }
.sticker__price { font-family: var(--font-display); font-size: 1.05rem; color: var(--red-dark); line-height: 1; }
.sticker__name { font-size: 0.62rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.sticker--a { top: 7%; left: 4%; }
.sticker--b { bottom: 12%; right: 4%; animation-delay: -2.4s; }
.sticker--c { bottom: 4%; left: 6%; animation-delay: -4.2s; }

.badge-rotor {
  position: absolute;
  top: 4%;
  right: 5%;
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  animation: spin 22s linear infinite;
}
.badge-rotor svg { width: 100%; height: 100%; }
.badge-rotor__center {
  position: absolute;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--red);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  animation: spin 22s linear infinite reverse;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ticker */
.ticker {
  background: var(--red);
  color: #fff;
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.ticker__track {
  display: flex;
  gap: 34px;
  padding: 11px 0;
  width: max-content;
  animation: ticker 30s linear infinite;
  font-family: var(--font-display);
  font-size: 0.98rem;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.ticker__track span { display: inline-flex; align-items: center; gap: 34px; }
.ticker__track span::after { content: '★'; color: var(--gold); font-size: 0.8rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* info strip */
.info-strip {
  border-bottom: 1px solid var(--ink-line);
  background: var(--ink-2);
}
.info-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 18px;
  align-items: center;
  padding: 16px 0;
}
.info-item { display: flex; align-items: center; gap: 11px; min-width: 0; }
.info-item svg { width: 24px; height: 24px; color: var(--gold); flex-shrink: 0; }
.info-item__label { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); }
.info-item__value { font-size: 0.86rem; font-weight: 700; }
.info-item__value small { font-weight: 500; color: var(--muted); display: block; font-size: 0.72rem; }
.info-actions { display: flex; gap: 8px; }
.platform {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.8rem;
  border: 1px solid transparent;
}
.platform--uber { background: var(--green); color: #fff; }
.platform--glovo { background: var(--gold); color: #241a02; }
.platform--off { background: rgba(255, 245, 231, 0.06); color: var(--muted-2); border-color: var(--ink-line); }

/* --------------------------------------------------------------- dish cards */

.category-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.chip {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--ink-line);
  background: rgba(255, 245, 231, 0.04);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s;
}
.chip:hover { color: var(--cream); border-color: rgba(255, 245, 231, 0.3); }
.chip.active { background: var(--cream); color: var(--ink); border-color: var(--cream); }

.dish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}
.dish-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  color: var(--cream-ink);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(16, 16, 16, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}
.dish-card:hover { transform: translateY(-3px); box-shadow: 0 22px 44px rgba(0, 0, 0, 0.34); }
.dish-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, #f3e2cb, #ead6bd);
  overflow: hidden;
}
.dish-card__media img { width: 100%; height: 100%; object-fit: cover; }
.dish-card__media .dish-art { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.dish-card__badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--red);
  color: #fff;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 7px;
}
.dish-card__badge--off { background: rgba(16, 16, 16, 0.75); }
.dish-card__body { padding: 14px 15px 15px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.dish-card__name { font-family: var(--font-body); font-weight: 800; font-size: 0.98rem; line-height: 1.28; letter-spacing: -0.01em; text-transform: none; }
.product-detail h2 { text-transform: none; letter-spacing: -0.01em; }
.dish-card__desc {
  font-size: 0.8rem;
  color: rgba(26, 23, 19, 0.62);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.dish-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 4px; }
.dish-card__price { font-family: var(--font-display); font-size: 1.32rem; color: var(--red-dark); }
.dish-card__price small { font-family: var(--font-body); font-size: 0.66rem; color: rgba(26, 23, 19, 0.5); display: block; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.add-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: none;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(229, 36, 43, 0.3);
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.add-btn svg { width: 18px; height: 18px; stroke-width: 2.6; }
.add-btn:hover { transform: scale(1.08); }
.add-btn[disabled] { background: rgba(26, 23, 19, 0.16); box-shadow: none; cursor: not-allowed; }

/* daily menu highlight */
.daily {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 245, 231, 0.14);
  background: linear-gradient(150deg, #241a16, #151413);
}
.daily__media { position: relative; min-height: 340px; background: linear-gradient(160deg, #f3e2cb, #e6cfb3); }
.daily__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.daily__media .dish-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.daily__body { padding: 34px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.daily__date { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.daily__title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1; }
.daily__price { font-family: var(--font-display); font-size: 2.2rem; color: var(--gold); }
.daily__meta { display: flex; gap: 10px; flex-wrap: wrap; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.step {
  position: relative;
  padding: 26px 22px;
  border-radius: var(--radius);
  background: rgba(255, 245, 231, 0.04);
  border: 1px solid var(--ink-line);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--red);
  display: block;
  margin-bottom: 10px;
}
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.9rem; }
.step--gold::before { color: var(--gold); }
.step--green::before { color: var(--green); }

/* founders */
.founders { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 34px; align-items: center; }
.founder-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.founder {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--ink-line);
  background: rgba(255, 245, 231, 0.04);
}
.founder__media {
  aspect-ratio: 3 / 4;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(232, 182, 75, 0.2), transparent 60%),
    linear-gradient(180deg, #241f1b, #131211);
  display: grid;
  place-items: center;
  position: relative;
  color: var(--muted-2);
  font-size: 0.68rem;
  text-align: center;
  padding: 14px;
}
.founder__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.founder__body { padding: 14px; }
.founder__name { font-family: var(--font-display); font-size: 1.4rem; }
.founder__role { font-size: 0.74rem; color: var(--gold); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; }

/* zones */
.zone-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.zone-pill {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1px solid var(--ink-line);
  background: rgba(255, 245, 231, 0.04);
}
.zone-pill__name { font-weight: 800; font-size: 0.9rem; }
.zone-pill__fee { font-family: var(--font-display); color: var(--gold); font-size: 1.1rem; }

.simulator {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.sim-result { border-radius: var(--radius); padding: 20px; border: 1px dashed rgba(255, 245, 231, 0.22); background: rgba(255, 245, 231, 0.03); }
.sim-result--ok { border-style: solid; border-color: rgba(7, 132, 71, 0.5); background: rgba(7, 132, 71, 0.08); }
.sim-result--warn { border-style: solid; border-color: rgba(232, 182, 75, 0.5); background: rgba(232, 182, 75, 0.08); }

/* reviews */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.review { padding: 22px; border-radius: var(--radius); background: rgba(255, 245, 231, 0.04); border: 1px solid var(--ink-line); }
.review__stars { color: var(--gold); letter-spacing: 3px; font-size: 0.9rem; }
.review__text { margin: 10px 0 12px; font-size: 0.95rem; }
.review__author { font-size: 0.78rem; color: var(--muted); font-weight: 700; }
.empty-state {
  padding: 34px;
  border-radius: var(--radius);
  border: 1px dashed rgba(255, 245, 231, 0.22);
  text-align: center;
  color: var(--muted);
  background: rgba(255, 245, 231, 0.02);
}

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details {
  border: 1px solid var(--ink-line);
  border-radius: 14px;
  background: rgba(255, 245, 231, 0.03);
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 700;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.95rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--font-display); font-size: 1.3rem; color: var(--red); }
.faq details[open] summary::after { content: '–'; }
.faq details > div { padding: 0 20px 18px; color: var(--muted); font-size: 0.92rem; }

/* social strip */
.social-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.social-card {
  position: relative;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--ink-line);
  background:
    radial-gradient(120% 90% at 30% 10%, rgba(229, 36, 43, 0.35), transparent 60%),
    linear-gradient(160deg, #26211c, #141312);
  display: grid;
  place-items: center;
  padding: 14px;
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted);
}
.social-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.contact-card { padding: 20px; border-radius: var(--radius); border: 1px solid var(--ink-line); background: rgba(255, 245, 231, 0.04); display: grid; gap: 6px; }
.contact-card__label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted-2); font-weight: 700; }
.contact-card__value { font-weight: 700; word-break: break-word; }
.contact-card a:hover { color: var(--gold); }

/* ---------------------------------------------------------------- footer */

.site-footer {
  background: #0b0b0a;
  border-top: 1px solid var(--ink-line);
  padding: 56px 0 28px;
  margin-bottom: 0;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer-col h4 { font-size: 0.9rem; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 14px; }
.footer-col a, .footer-col p { display: block; color: var(--muted); font-size: 0.86rem; margin-bottom: 8px; }
.footer-col a:hover { color: var(--cream); }
.footer-note { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--ink-line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted-2); font-size: 0.76rem; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }

/* -------------------------------------------------------------- mobile bar */

.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 55;
  background: rgba(14, 14, 13, 0.94);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--ink-line);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
}
.mobile-bar a, .mobile-bar button {
  position: relative;
  flex: 1;
  display: grid;
  justify-items: center;
  gap: 3px;
  background: none;
  border: 0;
  padding: 7px 2px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.mobile-bar svg { width: 21px; height: 21px; }
.mobile-bar a.active, .mobile-bar button.active { color: var(--cream); }
.mobile-bar__count {
  position: absolute;
  top: 2px;
  right: 50%;
  transform: translateX(20px);
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 0.62rem;
  display: grid;
  place-items: center;
}

/* ------------------------------------------------------------------ drawer */

.drawer { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.drawer[aria-hidden="false"] { pointer-events: auto; }
.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 6, 0.62);
  opacity: 0;
  transition: opacity 0.24s;
  backdrop-filter: blur(3px);
}
.drawer[aria-hidden="false"] .drawer__backdrop { opacity: 1; }
.drawer__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(430px, 100%);
  background: #131211;
  border-left: 1px solid var(--ink-line);
  display: flex;
  flex-direction: column;
  transform: translateX(102%);
  transition: transform 0.28s cubic-bezier(0.22, 0.8, 0.25, 1);
}
.drawer[aria-hidden="false"] .drawer__panel { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--ink-line); }
.drawer__head h2 { font-size: 1.25rem; }
.drawer__body { flex: 1; overflow-y: auto; padding: 18px 20px; display: grid; gap: 12px; align-content: start; }
.drawer__foot { border-top: 1px solid var(--ink-line); padding: 18px 20px calc(18px + env(safe-area-inset-bottom)); display: grid; gap: 12px; background: #171614; }

.cart-line { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 245, 231, 0.08); }
.cart-line:last-child { border-bottom: 0; padding-bottom: 0; }
.cart-line__art { width: 54px; height: 54px; border-radius: 10px; background: var(--cream); display: grid; place-items: center; overflow: hidden; }
.cart-line__art img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__name { font-size: 0.86rem; font-weight: 700; line-height: 1.25; }
.cart-line__meta { font-size: 0.72rem; color: var(--muted); }
.cart-line__price { font-family: var(--font-display); font-size: 1rem; color: var(--gold); }
.cart-line__right { display: grid; justify-items: end; gap: 6px; }

.stepper { display: inline-flex; align-items: center; border: 1px solid var(--ink-line); border-radius: 999px; overflow: hidden; }
.stepper button { width: 28px; height: 28px; border: 0; background: rgba(255, 245, 231, 0.06); cursor: pointer; color: var(--cream); font-size: 1rem; line-height: 1; }
.stepper button:hover { background: rgba(255, 245, 231, 0.14); }
.stepper span { min-width: 26px; text-align: center; font-size: 0.84rem; font-weight: 700; }

.summary-line { display: flex; justify-content: space-between; font-size: 0.88rem; color: var(--muted); }
.summary-line strong { color: var(--cream); }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; border-top: 1px solid var(--ink-line); }
.summary-total span { font-weight: 700; }
.summary-total strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--cream); }

/* ------------------------------------------------------------------- modal */

.modal { position: fixed; inset: 0; z-index: 95; pointer-events: none; display: grid; place-items: center; padding: 18px; }
.modal[aria-hidden="false"] { pointer-events: auto; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(6, 6, 6, 0.72); backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.2s; }
.modal[aria-hidden="false"] .modal__backdrop { opacity: 1; }
.modal__panel {
  position: relative;
  width: min(620px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: #141312;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  transform: translateY(14px) scale(0.99);
  opacity: 0;
  transition: transform 0.22s, opacity 0.22s;
}
.modal[aria-hidden="false"] .modal__panel { transform: none; opacity: 1; }
.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 22px 0; }
.modal__body { padding: 18px 22px 22px; }

.product-detail__media { border-radius: 14px; overflow: hidden; background: var(--cream); aspect-ratio: 16 / 10; margin-bottom: 16px; }
.product-detail__media img, .product-detail__media .dish-art { width: 100%; height: 100%; object-fit: cover; }
.product-detail__price { font-family: var(--font-display); font-size: 1.8rem; color: var(--gold); }
.product-detail h2 { font-size: 1.6rem; }
.meta-list { display: grid; gap: 8px; margin: 14px 0; font-size: 0.85rem; }
.meta-list div { display: grid; grid-template-columns: 106px 1fr; gap: 10px; }
.meta-list dt, .meta-list b { color: var(--muted-2); font-weight: 700; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; padding-top: 2px; }
.meta-list dd { margin: 0; }

.field { display: grid; gap: 6px; }
.field > label, .field__label { font-size: 0.76rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.field .hint { font-size: 0.74rem; color: var(--muted-2); font-weight: 500; letter-spacing: 0; text-transform: none; }
.input, .select, .textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 11px;
  border: 1px solid rgba(255, 245, 231, 0.18);
  background: rgba(255, 245, 231, 0.05);
  color: var(--cream);
  font: inherit;
  font-size: 0.94rem;
  transition: border-color 0.16s, background 0.16s;
  min-height: 44px;
}
.input::placeholder, .textarea::placeholder { color: rgba(255, 245, 231, 0.32); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--gold); background: rgba(255, 245, 231, 0.08); outline: none; }
.textarea { min-height: 100px; resize: vertical; line-height: 1.5; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--cream) 50%), linear-gradient(135deg, var(--cream) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.input-group { display: flex; gap: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid--3 { grid-template-columns: repeat(3, 1fr); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 0.86rem; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--red); flex-shrink: 0; }
.radio-card {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--ink-line);
  background: rgba(255, 245, 231, 0.03);
  cursor: pointer;
  transition: border-color 0.16s, background 0.16s;
}
.radio-card:hover { border-color: rgba(255, 245, 231, 0.3); }
.radio-card.selected { border-color: var(--gold); background: rgba(232, 182, 75, 0.08); }
.radio-card input { accent-color: var(--red); margin-top: 3px; }
.radio-card__title { font-weight: 800; font-size: 0.92rem; }
.radio-card__note { font-size: 0.78rem; color: var(--muted); }

.alert { padding: 12px 14px; border-radius: 12px; font-size: 0.86rem; border: 1px solid transparent; display: flex; gap: 10px; align-items: flex-start; }
.alert--warn { background: rgba(232, 182, 75, 0.12); border-color: rgba(232, 182, 75, 0.4); color: #f5d79a; }
.alert--error { background: rgba(229, 36, 43, 0.12); border-color: rgba(229, 36, 43, 0.42); color: #ffb3b6; }
.alert--ok { background: rgba(7, 132, 71, 0.14); border-color: rgba(7, 132, 71, 0.42); color: #9ff0c2; }
.alert--info { background: rgba(255, 245, 231, 0.05); border-color: var(--ink-line); color: var(--muted); }

/* ---------------------------------------------------------------- checkout */

.page-head { padding: 34px 0 10px; }
.page-head h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); }
.page-head p { color: var(--muted); margin-top: 10px; max-width: 640px; }

.checkout-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr); gap: 26px; align-items: start; padding-bottom: 70px; }
.checkout-card { border: 1px solid var(--ink-line); border-radius: var(--radius); background: rgba(255, 245, 231, 0.035); padding: 24px; }
.checkout-card + .checkout-card { margin-top: 16px; }
.checkout-step { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.checkout-step__num { width: 27px; height: 27px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 0.78rem; font-weight: 800; flex-shrink: 0; }
.checkout-step h2 { font-size: 1.15rem; letter-spacing: 0.02em; }
.checkout-aside { position: sticky; top: calc(var(--header-h) + 18px); display: grid; gap: 14px; }
.order-summary { border: 1px solid var(--ink-line); border-radius: var(--radius); background: #161514; padding: 22px; display: grid; gap: 10px; }

.status-timeline { display: grid; gap: 0; }
.status-step { display: grid; grid-template-columns: 26px 1fr; gap: 14px; padding-bottom: 18px; position: relative; }
.status-step:not(:last-child)::before { content: ''; position: absolute; left: 12px; top: 22px; bottom: 0; width: 2px; background: var(--ink-line); }
.status-step.done:not(:last-child)::before { background: var(--green); }
.status-step__dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--ink-line); background: #151413; display: grid; place-items: center; font-size: 0.7rem; color: var(--muted-2); z-index: 1; }
.status-step.done .status-step__dot { border-color: var(--green); background: rgba(7, 132, 71, 0.2); color: #9ff0c2; }
.status-step.current .status-step__dot { border-color: var(--gold); background: rgba(232, 182, 75, 0.18); color: var(--gold); }
.status-step h4 { font-family: var(--font-body); font-size: 0.9rem; font-weight: 800; text-transform: none; letter-spacing: 0; }
.status-step p { font-size: 0.78rem; color: var(--muted); margin: 2px 0 0; }

/* --------------------------------------------------------------- marketing */

.legal-text { max-width: 780px; }
.legal-text h2 { font-size: 1.4rem; margin: 28px 0 10px; }
.legal-text h1 { font-size: 2.2rem; margin-bottom: 14px; }
.legal-text p { color: var(--muted); margin-bottom: 12px; }
.legal-text ul { color: var(--muted); padding-left: 20px; }

.notice-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; background: rgba(232, 182, 75, 0.1); border: 1px solid rgba(232, 182, 75, 0.32); color: #f2d49b; font-size: 0.8rem; }

/* ---------------------------------------------------------------- toasts */

.toast-stack { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 120; display: grid; gap: 8px; width: min(420px, calc(100% - 32px)); }
.toast {
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: var(--shadow-1);
  font-size: 0.86rem;
  font-weight: 700;
  display: flex;
  gap: 10px;
  align-items: center;
  animation: toastIn 0.24s ease;
}
.toast--error { background: #3a1214; color: #ffd5d6; border: 1px solid rgba(229, 36, 43, 0.5); }
.toast--ok { background: #0d2c1e; color: #bdf5d4; border: 1px solid rgba(7, 132, 71, 0.5); }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } }

/* ------------------------------------------------------------------ misc */

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 84px;
  z-index: 56;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #05301a;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.34);
}
.whatsapp-float svg { width: 28px; height: 28px; stroke: none; fill: currentColor; }
.whatsapp-float:hover { transform: translateY(-2px); }

.skeleton { background: linear-gradient(100deg, rgba(255,245,231,.06) 30%, rgba(255,245,231,.12) 45%, rgba(255,245,231,.06) 60%); background-size: 250% 100%; animation: shimmer 1.3s infinite; border-radius: 12px; }
@keyframes shimmer { to { background-position: -150% 0; } }

.table-wrap { overflow-x: auto; border: 1px solid var(--ink-line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
th, td { text-align: left; padding: 11px 13px; border-bottom: 1px solid rgba(255, 245, 231, 0.08); white-space: nowrap; }
th { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-2); background: rgba(255, 245, 231, 0.04); }
tbody tr:hover { background: rgba(255, 245, 231, 0.03); }
.table-right { text-align: right; }

/* ------------------------------------------------------------ admin layout */

body.is-admin { background: #0e0e0d; }
body.is-admin .site-header,
body.is-admin .site-footer,
.promo-builder { padding-top: 18px; }
.promo-builder__inner { display: flex; align-items: center; gap: 22px; padding: 14px 22px 14px 16px; border: 1px solid rgba(212, 175, 55, 0.34); border-radius: 18px; background: linear-gradient(115deg, rgba(212, 175, 55, 0.16), rgba(18, 17, 15, 0.55) 42%, #12110f); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28); }
.promo-builder__art { position: relative; flex: 0 0 168px; width: 168px; animation: promoBox 0.75s cubic-bezier(0.2, 0.75, 0.2, 1) both; }
.promo-builder__art > img:first-child { display: block; width: 100%; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.5)); }
.promo-builder__sticker { position: absolute; left: 50%; top: 67%; width: 49%; height: auto; transform: translate(-50%, -50%) rotate(-3deg); filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6)); }
.promo-builder__copy { flex: 1; min-width: 0; animation: promoCopy 0.5s ease 0.4s both; }
.promo-builder__copy .eyebrow { color: #d4af37; margin: 0 0 4px; }
.promo-builder__copy h2 { font-family: var(--font-display); font-size: clamp(1.3rem, 3vw, 1.9rem); margin: 0; }
.promo-builder__copy h2 em { font-style: normal; color: var(--red); }
.promo-builder__copy p:last-child { color: var(--muted); font-size: 0.86rem; margin: 4px 0 0; max-width: 52ch; }
.promo-builder__cta { flex: 0 0 auto; white-space: nowrap; animation: promoCopy 0.5s ease 0.55s both; }
@keyframes promoBox { from { opacity: 0; transform: translateY(20px) scale(0.9) rotate(-2deg); } to { opacity: 1; transform: none; } }
@keyframes promoCopy { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .promo-builder__art, .promo-builder__copy, .promo-builder__cta { animation: none; } }
@media (max-width: 760px) { .promo-builder__inner { flex-wrap: wrap; gap: 12px; } .promo-builder__art { flex: 0 0 128px; width: 128px; margin: 0 auto; } .promo-builder__copy { flex: 1 1 100%; } .promo-builder__cta { width: 100%; justify-content: center; } }

/* ------------------------------------------------------- homepage builder */

.home-builder {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 5vw, 62px) 0 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.16);
  background:
    radial-gradient(circle at 78% 32%, rgba(229, 36, 43, 0.16), transparent 34%),
    radial-gradient(circle at 64% 0%, rgba(212, 175, 55, 0.13), transparent 42%),
    linear-gradient(128deg, #171410 0%, #0b0a09 58%, #12100d 100%);
}
.home-builder::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 245, 231, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 245, 231, 0.03) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at 75% 40%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 75% 40%, #000, transparent 75%);
}
.home-builder__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: clamp(22px, 4vw, 58px);
  align-items: center;
}
.home-builder__copy { min-width: 0; max-width: 60ch; }
.home-builder__copy .eyebrow { color: var(--gold); margin-bottom: 10px; }
.home-builder__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.1rem, 5.6vw, 5rem);
  line-height: 0.9;
  letter-spacing: 0.015em;
  text-wrap: balance;
}
.home-builder__title span { color: var(--red); }
.home-builder__lead { max-width: 46ch; margin: 20px 0 0; color: var(--muted); font-size: clamp(0.95rem, 1.3vw, 1.08rem); }
.home-builder__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.home-builder__status { min-height: 1.4em; margin: 18px 0 0; color: var(--muted-2); font-size: 0.8rem; }
.home-builder__status b { color: var(--gold); font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0.02em; }
.home-builder__stage { min-width: 0; }
.home-builder__stage .builder-stage {
  grid-template-columns: 1fr;
  min-height: 400px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.home-builder__stage .builder-stage::before { display: none; }
.home-builder__stage .builder-stage__scene { min-height: 400px; }
.home-builder__stage .builder-open { display: none; }
.home-builder__panel { position: relative; z-index: 2; margin-top: 10px; }
.home-builder__panel .builder-grid { margin-top: 0; }

@media (max-width: 900px) {
  .home-builder__grid { grid-template-columns: 1fr; gap: 12px; }
  .home-builder__copy { display: contents; }
  .home-builder__copy > .eyebrow { order: 1; }
  .home-builder__copy > .home-builder__title { order: 2; max-width: none; }
  .home-builder__copy > .home-builder__actions { order: 3; margin-top: 18px; }
  .home-builder__stage { order: 4; }
  .home-builder__copy > .home-builder__lead { order: 5; margin-top: 4px; }
  .home-builder__copy > .home-builder__status { order: 6; margin-top: 12px; }
  .home-builder__copy > .tiny { order: 7; }
  .home-builder__title { font-size: clamp(2.8rem, 10.5vw, 5.2rem); line-height: 0.93; }
  .home-builder__stage .builder-stage { min-height: 330px; }
  .home-builder__stage .builder-stage__scene { min-height: 330px; }
}

@media (max-width: 520px) {
  .home-builder { padding-top: 24px; }
  .home-builder__title { font-size: clamp(2.7rem, 12vw, 4.2rem); line-height: 0.94; }
  .home-builder__lead { font-size: 0.92rem; }
  .home-builder__actions { flex-wrap: nowrap; }
  .home-builder__actions .btn { flex: 1 1 auto; padding-inline: 12px; font-size: 0.78rem; }
  .home-builder__stage .builder-stage { min-height: 285px; }
  .home-builder__stage .builder-stage__scene { min-height: 285px; }
  .home-builder__panel { margin-top: 2px; }
}

/* ---------------------------------------------------------- builder stage 3d */

.builder-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 18px;
  align-items: center;
  margin-top: 20px;
  padding: 24px 28px;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 24px;
  background:
    radial-gradient(circle at 80% 38%, rgba(229, 36, 43, 0.1), transparent 42%),
    radial-gradient(circle at 74% 18%, rgba(212, 175, 55, 0.16), transparent 46%),
    linear-gradient(120deg, #171410, #0b0a09 58%, #12100d);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 245, 231, 0.05);
  overflow: hidden;
  animation: stageIn 0.6s ease both;
}
.builder-stage[hidden] { display: none; }
.builder-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 245, 231, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 245, 231, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 78% 50%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 78% 50%, #000, transparent 72%);
  opacity: 0.6;
  pointer-events: none;
}
.builder-stage__copy { position: relative; z-index: 2; max-width: 46ch; }
.builder-stage__copy .eyebrow { color: var(--gold); margin: 0 0 6px; }
.builder-stage__copy h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 0.98; margin: 0 0 8px; }
.builder-stage__sub { color: var(--muted); font-size: 0.9rem; margin: 0 0 16px; max-width: 38ch; }
.builder-stage__progress { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 14px; }
.builder-stage__progress li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border: 1px solid var(--ink-line); border-radius: 999px; font-size: 0.72rem; color: var(--muted); transition: border-color 0.2s ease, color 0.2s ease; }
.builder-stage__progress li .dot { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: rgba(255, 245, 231, 0.08); font-size: 0.6rem; font-weight: 800; }
.builder-stage__progress li.is-filled { color: var(--cream); border-color: rgba(212, 175, 55, 0.4); }
.builder-stage__progress li.is-filled .dot { background: rgba(212, 175, 55, 0.9); color: #16130d; }
.builder-stage__progress li.is-current { color: var(--cream); border-color: rgba(229, 36, 43, 0.5); }
.builder-stage__progress li.is-current .dot { background: var(--red); color: #fff; }
.builder-stage__hint { font-size: 0.78rem; color: var(--muted-2); margin: 0; }
.builder-stage__hint b { color: var(--gold); font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.02em; }
.builder-stage__disclaimer { margin: 9px 0 0; font-size: 0.66rem; line-height: 1.35; color: var(--muted-2); }

.builder-stage__canvas { position: absolute; inset: 0; z-index: 4; overflow: hidden; border-radius: 16px; background: #f3efe6; }
.builder-ready {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 8;
  margin: 0;
  padding: 7px 12px;
  border: 1px solid rgba(212, 175, 55, 0.65);
  border-radius: 999px;
  background: rgba(12, 11, 9, 0.92);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.96);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
  text-align: center;
}
.builder-stage__scene.is-ready .builder-ready { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.builder-stage__canvas canvas { display: block; width: 100% !important; height: 100% !important; touch-action: none; cursor: grab; }
.builder-stage__canvas canvas:active { cursor: grabbing; }
.builder-stage__canvas[hidden], .builder-open[hidden], .builder-cam[hidden] { display: none; }
.builder-stage--webgl .box3d, .builder-stage--webgl .box3d__badge { display: none; }
.builder-stage--webgl .builder-stage__scene { min-height: 380px; }
@media (min-width: 761px) {
  .builder-stage { grid-template-columns: minmax(0, 1fr) minmax(360px, 46%); }
  .builder-stage--webgl .builder-stage__scene { min-height: 440px; }
}
.builder-open {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 9;
  transform: translateX(-50%);
  padding: 11px 18px;
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45), 0 0 0 4px rgba(229, 36, 43, 0.12);
  transition: transform 0.2s ease, background 0.2s ease;
}
.builder-open:hover { transform: translateX(-50%) translateY(-2px); background: #c81d24; }
.builder-cam { position: absolute; left: 0; right: 0; bottom: 8px; z-index: 9; display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; max-width: none; }
.builder-cam button {
  padding: 5px 8px;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  background: rgba(12, 11, 9, 0.78);
  color: var(--cream);
  font-size: 0.64rem;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.builder-cam button:hover { border-color: rgba(212, 175, 55, 0.5); }
.builder-cam button[data-cam="close"] { color: var(--gold); border-color: rgba(212, 175, 55, 0.35); }

@media (max-width: 520px) {
  .builder-stage--webgl .builder-stage__scene { min-height: 340px; }
  .builder-open { bottom: 10px; font-size: 0.74rem; padding: 10px 15px; }
}

.builder-stage__scene {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  min-height: 310px;
  perspective: 950px;
}

.box3d { position: relative; width: 280px; height: 300px; transform-style: preserve-3d; }
.box3d__tilt {
  position: absolute;
  inset: 0;
  transform: rotateX(calc(-4deg + var(--tilt-x))) rotateY(calc(-13deg + var(--tilt-y)));
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
}
.box3d__float { position: absolute; inset: 0; transform-style: preserve-3d; animation: boxFloat 7s ease-in-out infinite; }
.box3d__glow {
  position: absolute;
  left: 50%;
  top: 47%;
  width: 270px;
  height: 270px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent, 212, 175, 55), 0.18), rgba(var(--accent, 212, 175, 55), 0.07) 42%, transparent 70%);
  filter: blur(12px);
  opacity: 0.85;
  pointer-events: none;
}
.box3d__shadow {
  position: absolute;
  left: 50%;
  bottom: 16px;
  width: 190px;
  height: 26px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.7), transparent 70%);
  filter: blur(6px);
}
.box3d__ring {
  position: absolute;
  left: 50%;
  bottom: 19px;
  width: 224px;
  height: 42px;
  transform: translateX(-50%);
  border: 1px solid rgba(var(--accent, 212, 175, 55), 0.35);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(var(--accent, 212, 175, 55), 0.12), inset 0 0 20px rgba(var(--accent, 212, 175, 55), 0.06);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.box3d__side {
  position: absolute;
  left: 243px;
  top: 94px;
  width: 27px;
  height: 137px;
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-left: 0;
  border-radius: 0 15px 28px 0;
  background: linear-gradient(180deg, #2c261d, #0b0908 62%, #080706);
  transform: skewY(-11deg);
  box-shadow: 12px 16px 28px rgba(0, 0, 0, 0.45), inset 2px 0 0 rgba(212, 175, 55, 0.12);
}

.box3d__body {
  position: absolute;
  left: 22px;
  top: 78px;
  width: 236px;
  height: 168px;
  border: 1px solid rgba(212, 175, 55, 0.75);
  border-radius: 18px 18px 36px 36px;
  background: linear-gradient(160deg, rgba(38, 33, 26, 0.94), rgba(12, 11, 9, 0.97));
  box-shadow:
    inset 0 0 0 1px rgba(255, 245, 231, 0.04),
    inset 16px 0 30px rgba(255, 245, 231, 0.025),
    inset -18px 0 30px rgba(0, 0, 0, 0.4),
    inset 0 -24px 40px rgba(0, 0, 0, 0.45),
    0 26px 40px rgba(0, 0, 0, 0.5);
  transform-style: preserve-3d;
}
.box3d__rim {
  position: absolute;
  left: 6px;
  right: 6px;
  top: -13px;
  z-index: 2;
  height: 30px;
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 38%, rgba(36, 31, 24, 0.92), rgba(5, 5, 4, 0.96));
  box-shadow: inset 0 4px 9px rgba(0, 0, 0, 0.6), 0 2px 0 rgba(212, 175, 55, 0.08);
}
.box3d__rim::after {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 50%;
}
.box3d__inside {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 14px;
  bottom: 32px;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 8px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 50% 50% 34% 34% / 18% 18% 30% 30%;
  background: radial-gradient(ellipse at 50% 18%, rgba(212, 175, 55, 0.1), rgba(0, 0, 0, 0.52) 66%);
}
.box3d__empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  text-align: center;
  color: rgba(255, 245, 231, 0.35);
  transition: opacity 0.3s ease;
}
.box3d__empty span { font-size: 1.5rem; line-height: 1; color: rgba(212, 175, 55, 0.55); }
.box3d__empty small { font-size: 0.6rem; letter-spacing: 0.04em; }
.box3d__inside.has-items .box3d__empty { opacity: 0; }
.box3d__stack {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-end;
  justify-content: center;
  gap: 4px;
  width: 100%;
}
.box3d__chip {
  max-width: calc(50% - 2px);
  padding: 3px 7px;
  overflow: hidden;
  border: 1px solid rgba(255, 245, 231, 0.18);
  border-radius: 999px;
  background: rgba(255, 245, 231, 0.1);
  background-position: center;
  background-size: cover;
  color: var(--cream);
  font-size: 0.56rem;
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(3px);
}
.box3d__chip[data-cat="base"] { border-color: rgba(212, 175, 55, 0.55); }
.box3d__chip[data-cat="proteina"] { border-color: rgba(229, 36, 43, 0.55); }
.box3d__chip[data-cat="acompanhamentos"] { border-color: rgba(83, 164, 105, 0.5); }
.box3d__chip[data-cat="molhos-extras"] { border-color: rgba(232, 182, 75, 0.4); }
.box3d__chip[data-new="1"] { animation: chipDrop 0.55s cubic-bezier(0.2, 0.9, 0.2, 1.2) both; }
.box3d__shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.1), transparent 32%, transparent 70%, rgba(212, 175, 55, 0.08));
  pointer-events: none;
}
.box3d__seal {
  position: absolute;
  right: 16px;
  bottom: 11px;
  z-index: 3;
  width: 30px;
  height: 30px;
  overflow: hidden;
  border-radius: 50%;
  opacity: 0.55;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.box3d__seal img { width: 100%; height: 100%; object-fit: cover; }
.box3d__count { position: absolute; left: 16px; bottom: 10px; z-index: 3; display: flex; align-items: baseline; gap: 3px; color: var(--muted); font-size: 0.62rem; }
.box3d__count b { font-family: var(--font-display); font-size: 1.1rem; line-height: 1; color: var(--gold); }

.box3d__lid {
  position: absolute;
  left: 12px;
  top: 40px;
  z-index: 4;
  width: 256px;
  height: 56px;
  transform-origin: 50% 100%;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s ease;
}
.box3d__lid-top {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.8);
  border-radius: 50% 50% 42% 42% / 60% 60% 40% 40%;
  background: linear-gradient(180deg, #24201a, #0c0b09);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 245, 231, 0.12);
}
.box3d__lid-top img { width: 42px; height: 42px; border-radius: 50%; opacity: 0.94; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5)); }
.box3d__lid-edge {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: -5px;
  height: 10px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.35), rgba(0, 0, 0, 0.5));
}
.box3d.is-open .box3d__lid { transform: translateY(-31px) rotateX(-15deg) rotate(-2deg) scale(0.97); filter: brightness(1.05); }

.box3d__steam {
  position: absolute;
  left: 50%;
  top: 2px;
  z-index: 6;
  width: 120px;
  height: 66px;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.box3d.is-open .box3d__steam { opacity: 0.7; }
.box3d__steam i {
  position: absolute;
  bottom: 0;
  width: 6px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(180deg, transparent, rgba(255, 245, 231, 0.35));
  filter: blur(2px);
  animation: steamRise 3s ease-in-out infinite;
}
.box3d__steam i:nth-child(1) { left: 18%; animation-delay: 0s; }
.box3d__steam i:nth-child(2) { left: 47%; animation-delay: 0.7s; }
.box3d__steam i:nth-child(3) { left: 74%; animation-delay: 1.4s; }

.box3d__badge {
  position: absolute;
  top: 8px;
  right: 0;
  z-index: 7;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--gold);
  color: #16120b;
  font-family: var(--font-display);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transform: scale(0) rotate(8deg);
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.2, 1.4);
}
.builder-stage__scene.is-ready .box3d__badge { transform: scale(1) rotate(8deg); }
.box3d.is-ready .box3d__seal { opacity: 1; transform: scale(1.08) rotate(-6deg); }
.box3d.is-ready .box3d__ring { border-color: rgba(212, 175, 55, 0.7); box-shadow: 0 0 34px rgba(212, 175, 55, 0.24), inset 0 0 24px rgba(212, 175, 55, 0.12); }
.box3d.is-ready .box3d__glow { animation: readyGlow 2.4s ease-in-out infinite; }
.box3d.is-pulse .box3d__body { animation: boxPulse 0.6s ease; }
.box3d.is-pulse .box3d__ring { animation: ringPulse 0.65s ease; }

@keyframes stageIn { from { opacity: 0; transform: translateY(14px); } }
@keyframes boxFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes chipDrop { from { opacity: 0; transform: translateY(-28px) scale(0.7); } 70% { opacity: 1; transform: translateY(3px) scale(1.03); } to { opacity: 1; transform: none; } }
@keyframes boxPulse { 0%, 100% { transform: none; } 35% { transform: translateY(-3px) scale(1.015); } 70% { transform: translateY(1px) scale(0.998); } }
@keyframes steamRise { 0% { opacity: 0; transform: translateY(10px) scaleX(0.7); } 30% { opacity: 0.7; } 100% { opacity: 0; transform: translateY(-26px) scaleX(1.4); } }
@keyframes readyGlow { 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.16); } }
@keyframes ringPulse { 0%, 100% { transform: translateX(-50%) scale(1); opacity: 1; } 45% { transform: translateX(-50%) scale(1.13); opacity: 0.55; } }

@media (max-width: 760px) {
  .builder-stage { grid-template-columns: 1fr; padding: 20px; }
  .builder-stage__scene { order: -1; min-height: 280px; }
  .builder-stage__copy { max-width: none; }
}

@media (max-width: 520px) {
  .builder-stage { padding: 16px; border-radius: 18px; }
  .builder-stage__copy h2 { font-size: 1.55rem; }
  .builder-stage__scene { min-height: 255px; }
  .box3d { transform: scale(0.84); transform-origin: center bottom; margin-bottom: -34px; }
  .builder-stage__progress li { font-size: 0.66rem; padding: 4px 7px; }
}

@media (prefers-reduced-motion: reduce) {
  .builder-stage,
  .box3d__float,
  .box3d__chip[data-new="1"],
  .box3d__steam i,
  .box3d.is-pulse .box3d__body,
  .box3d.is-ready .box3d__glow { animation: none; }
  .box3d__lid, .box3d__badge, .box3d__tilt { transition: none; }
}

.builder-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 18px; }
.builder-steps li { display: flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--ink-line); border-radius: 999px; font-size: 0.78rem; color: var(--muted); }
.builder-steps li span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 245, 231, 0.08); font-size: 0.68rem; font-weight: 800; }
.builder-steps li.is-on { border-color: rgba(229, 36, 43, 0.42); color: var(--cream); }
.builder-steps li.is-done { color: var(--cream); }
.builder-steps li.is-done span { background: rgba(39, 174, 96, 0.2); }

.builder { padding-bottom: 64px; }
.builder-mobile-bar { display: none; }
.builder-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; margin-top: 20px; }
.builder-main { min-width: 0; }
.builder-aside { position: sticky; top: calc(var(--header-h, 72px) + 16px); display: grid; gap: 14px; min-width: 0; }
.builder-card { background: #12110f; border: 1px solid var(--ink-line); border-radius: 18px; padding: 20px; }
.builder-card h2 { font-family: var(--font-display); font-size: 1.55rem; letter-spacing: 0.02em; margin: 2px 0 4px; }
.builder-card > .muted { margin-bottom: 14px; }
.builder-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-top: 16px; align-items: stretch; }
.builder-opt { position: relative; display: grid; grid-template-rows: auto 1fr; align-items: stretch; gap: 0; width: 100%; padding: 0; overflow: hidden; text-align: left; font: inherit; color: var(--cream); background: rgba(255, 245, 231, 0.03); border: 1px solid var(--ink-line); border-radius: 16px; cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease; }
.builder-opt:hover { border-color: rgba(255, 245, 231, 0.26); background: rgba(255, 245, 231, 0.06); transform: translateY(-2px); }
.builder-opt:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.builder-opt.is-picked { border-color: var(--red); background: rgba(229, 36, 43, 0.12); box-shadow: inset 0 0 0 1px rgba(229, 36, 43, 0.32); }
.builder-opt.is-off { opacity: 0.45; cursor: not-allowed; filter: saturate(0.7); }
.builder-opt.is-off:hover { transform: none; }
.builder-opt__art { position: relative; display: block; flex: none; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: rgba(255, 245, 231, 0.07); }
.builder-opt__art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.builder-opt:hover .builder-opt__art img { transform: scale(1.035); }
.builder-opt.is-off:hover .builder-opt__art img { transform: none; }
.builder-opt__art--initials { display: grid; place-items: center; font-family: var(--font-display); font-size: 1.6rem; letter-spacing: 0.04em; color: rgba(255, 245, 231, 0.8); }
.builder-opt__art::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 3px rgba(229, 36, 43, 0.9); opacity: 0; pointer-events: none; transition: opacity 0.15s ease; }
.builder-opt.is-picked .builder-opt__art::after { opacity: 1; }
.builder-opt__body { display: grid; align-content: start; gap: 3px; min-width: 0; padding: 10px 12px 12px; }
.builder-opt__name { font-weight: 700; font-size: 0.9rem; line-height: 1.2; }
.builder-opt__price { font-size: 0.78rem; color: var(--muted); }
.builder-opt.is-picked .builder-opt__price { color: var(--cream); }
.builder-opt__allergens { font-size: 0.68rem; line-height: 1.3; color: var(--muted-2); }
.builder-opt__check { position: absolute; z-index: 2; top: 8px; right: 8px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--red); color: #fff; font-size: 0.78rem; font-weight: 800; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35); opacity: 0; transform: scale(0.8); transition: opacity 0.15s ease, transform 0.15s ease; }
.builder-opt.is-picked .builder-opt__check { opacity: 1; transform: scale(1); }
.builder-summary { list-style: none; display: grid; gap: 8px; padding: 0; margin: 10px 0 14px; }
.builder-summary li { display: flex; justify-content: space-between; gap: 10px; font-size: 0.84rem; border-bottom: 1px dashed rgba(255, 245, 231, 0.1); padding-bottom: 7px; }
.builder-summary li span:last-child { color: var(--muted); white-space: nowrap; }
.builder-confirm { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255, 245, 231, 0.08); }
.builder-confirm img, .builder-confirm .builder-opt__art { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.builder-confirm > div { flex: 1; min-width: 0; }
.builder-confirm > span { color: var(--muted); font-size: 0.82rem; white-space: nowrap; }

@media (max-width: 980px) {
  .builder-grid { grid-template-columns: minmax(0, 1fr); }
  .builder-aside { position: static; }
}

@media (max-width: 620px) {
  .builder-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .builder-opt__body { padding: 9px 10px 10px; }
  .builder-opt__name { font-size: 0.84rem; }
  .builder-opt__price { font-size: 0.74rem; }
  .builder-opt__allergens { font-size: 0.64rem; }
}

@media (max-width: 380px) {
  .builder-options { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .builder { padding-bottom: 102px; }
  .builder-mobile-bar {
    display: flex;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(64px + env(safe-area-inset-bottom));
    z-index: 54;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(212, 175, 55, 0.42);
    border-radius: 16px;
    background: rgba(14, 13, 11, 0.96);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(14px);
  }
  .builder-mobile-bar > div { display: grid; gap: 1px; min-width: 0; }
  .builder-mobile-bar span { color: var(--muted-2); font-size: 0.62rem; letter-spacing: 0.13em; text-transform: uppercase; }
  .builder-mobile-bar strong { color: var(--cream); font-family: var(--font-display); font-size: 1.35rem; line-height: 1; }
  .builder-mobile-bar .btn { flex: 0 0 auto; padding: 10px 16px; font-size: 0.72rem; }
  .builder-ready { font-size: 0.62rem; }
}

body.is-admin .mobile-bar,
body.is-admin .demo-banner,
body.is-admin .whatsapp-float { display: none; }

.admin-shell { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: 100vh; }
.admin-side {
  border-right: 1px solid var(--ink-line);
  background: #12110f;
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.admin-brand { display: flex; align-items: center; gap: 10px; padding: 6px 8px 18px; }
.admin-brand img { width: 38px; height: 38px; }
.admin-brand span { font-family: var(--font-display); font-size: 1.02rem; line-height: 0.95; letter-spacing: 0.04em; }
.admin-nav { display: grid; gap: 3px; }
.admin-nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  width: 100%;
}
.admin-nav button:hover { background: rgba(255, 245, 231, 0.06); color: var(--cream); }
.admin-nav button.active { background: rgba(229, 36, 43, 0.14); border-color: rgba(229, 36, 43, 0.34); color: #fff; }
.admin-nav svg { width: 18px; height: 18px; flex-shrink: 0; }
.admin-nav__badge { margin-left: auto; background: var(--red); color: #fff; border-radius: 999px; font-size: 0.64rem; padding: 1px 7px; font-weight: 800; }
.admin-main { padding: 26px 28px 60px; max-width: 1180px; width: 100%; }
.admin-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.admin-head h1 { font-size: 1.9rem; }
.admin-head p { color: var(--muted); font-size: 0.84rem; margin: 4px 0 0; }
.admin-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.stat-card { padding: 18px; border-radius: 14px; border: 1px solid var(--ink-line); background: rgba(255, 245, 231, 0.035); }
.stat-card__label { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); font-weight: 700; }
.stat-card__value { font-family: var(--font-display); font-size: 1.9rem; margin-top: 6px; line-height: 1; }
.stat-card__note { font-size: 0.74rem; color: var(--muted); margin-top: 6px; }
.stat-card--alert { border-color: rgba(232, 182, 75, 0.4); background: rgba(232, 182, 75, 0.08); }
.stat-card--alert .stat-card__value { color: var(--gold); }

.bars { display: flex; align-items: flex-end; gap: 6px; height: 130px; padding-top: 10px; }
.bars__item { flex: 1; display: grid; align-items: end; gap: 4px; justify-items: center; height: 100%; }
.bars__bar { width: 100%; background: linear-gradient(180deg, var(--red), #7d1519); border-radius: 4px 4px 0 0; min-height: 2px; transition: height 0.3s; }
.bars__label { font-size: 0.58rem; color: var(--muted-2); }

.admin-panel { margin-top: 22px; }
.admin-panel h2 { font-size: 1.2rem; margin-bottom: 12px; }
.admin-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.admin-form { display: grid; gap: 12px; }
.admin-form .form-grid { gap: 12px; }
.admin-toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.admin-toolbar .input, .admin-toolbar .select { min-height: 38px; padding: 8px 11px; width: auto; min-width: 130px; }
.admin-split { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 18px; align-items: start; }
.admin-detail { position: sticky; top: 20px; }
.admin-list-item { padding: 12px 14px; border-radius: 10px; border: 1px solid var(--ink-line); display: flex; align-items: center; gap: 10px; background: rgba(255, 245, 231, 0.02); }
.admin-list-item + .admin-list-item { margin-top: 8px; }
.admin-list-item__title { font-weight: 700; font-size: 0.88rem; }
.admin-list-item__meta { font-size: 0.74rem; color: var(--muted); }
.editor-row { border: 1px solid var(--ink-line); border-radius: 12px; padding: 12px; margin-bottom: 10px; }
.thumb { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; background: var(--cream); }
.media-drop { border: 1px dashed rgba(255, 245, 231, 0.28); border-radius: 12px; padding: 14px; display: flex; align-items: center; gap: 12px; background: rgba(255, 245, 231, 0.03); }

.flyer-layout { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 20px; align-items: start; }
.flyer-preview {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--ink-line);
  background: #0a0a09;
  padding: 12px;
  display: grid;
  place-items: center;
}
.flyer-preview canvas { max-width: 100%; height: auto; border-radius: 8px; box-shadow: var(--shadow-1); }

/* ---------------------------------------------------------------- the hunt */

.legal-page .page-head { padding-bottom: 0; }

/* --------------------------------------------------------------- responsive */

@media (max-width: 1080px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #131211;
    border-bottom: 1px solid var(--ink-line);
    padding: 12px 18px 18px;
    margin: 0;
    box-shadow: var(--shadow-2);
  }
  .nav.open a { padding: 12px; font-size: 0.92rem; }
  .nav.open a.active::after { left: 12px; right: auto; width: 22px; bottom: 8px; }
  .menu-toggle { display: block; }
  .header-row { gap: 10px; }
  .logo { margin-right: auto; }
  .cart-btn__label { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 380px; order: -1; }
  .info-strip__grid { grid-template-columns: 1fr 1fr; }
  .info-actions { grid-column: 1 / -1; }
  .daily { grid-template-columns: 1fr; }
  .daily__media { min-height: 260px; }
  .founders { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-aside { position: static; }
  .simulator { grid-template-columns: 1fr; }
  .admin-shell { grid-template-columns: minmax(0, 1fr); }
  .admin-side { position: relative; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; overflow: visible; padding: 12px; min-width: 0; }
  .admin-brand { padding: 0 10px 0 0; }
  .admin-nav { display: flex; flex-wrap: wrap; gap: 6px; flex: 1 1 100%; min-width: 0; }
  .admin-nav button { width: auto; white-space: normal; min-width: 0; }
  .admin-main { padding: 20px 18px 60px; min-width: 0; max-width: 100%; }
  .admin-split { grid-template-columns: 1fr; }
  .admin-detail { position: static; }
  .flyer-layout { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  :root { --header-h: 66px; }
  .section { padding: 52px 0; }
  .hero { padding-top: 26px; }
  .hero-art { min-height: 320px; }
  .badge-rotor { width: 82px; height: 82px; }
  .sticker img { width: 46px; height: 36px; }
  .sticker--a { top: 4%; left: 2%; }
  .sticker--c { display: none; }
  .steps { grid-template-columns: 1fr; }
  .social-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dish-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .dish-card__name { font-size: 0.88rem; }
  .dish-card__price { font-size: 1.1rem; }
  .add-btn { width: 34px; height: 34px; }
  .form-grid, .form-grid--3 { grid-template-columns: 1fr; }
  .daily__body { padding: 24px; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 62px; }
  body.is-admin { padding-bottom: 0; }
  .whatsapp-float { bottom: 78px; right: 12px; width: 48px; height: 48px; }
  .toast-stack { bottom: 74px; }
  .admin-cards { grid-template-columns: 1fr 1fr; }
  .admin-grid-2 { grid-template-columns: 1fr; }
  .zone-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 460px) {
  .shell { padding: 0 16px; }
  .hero-meta { gap: 16px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .dish-grid { grid-template-columns: 1fr 1fr; }
  .social-strip { grid-template-columns: 1fr 1fr; }
  .admin-cards { grid-template-columns: 1fr; }
  .logo__top { font-size: 0.86rem; }
  .logo__bottom { font-size: 1.16rem; }
  .logo__mark { width: 38px; height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .site-footer, .mobile-bar, .drawer, .toast-stack, .whatsapp-float, .btn { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------------------------------------------------------- admin: builder 3d models */
.builder-admin-option {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid var(--ink-line);
  border-radius: 14px;
  background: rgba(255, 245, 231, 0.025);
}
.builder-admin-photo { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px dashed rgba(255, 245, 231, 0.1); }
.builder-admin-photo__preview { flex: 0 0 82px; width: 82px; height: 82px; overflow: hidden; border-radius: 12px; border: 1px solid var(--ink-line); background: rgba(255, 245, 231, 0.05); display: grid; place-items: center; color: var(--muted-2); font-size: 0.66rem; text-align: center; }
.builder-admin-photo__preview img { width: 100%; height: 100%; object-fit: cover; }
.builder-admin-photo__body { flex: 1; min-width: 0; display: grid; gap: 5px; }
.builder-admin-photo__body .input { padding: 6px 8px; font-size: 0.76rem; }
.builder-admin-photo__body .btn { justify-self: start; }
.builder-admin-option .builder-admin-row {
  display: grid;
  grid-template-columns: minmax(140px, 1.5fr) 90px minmax(120px, 1fr) auto auto auto auto;
  gap: 8px;
  align-items: center;
}
.builder-admin-option .builder-admin-row .btn { white-space: nowrap; }
.builder-model { margin-top: 9px; padding-top: 8px; border-top: 1px dashed rgba(255, 245, 231, 0.1); }
.builder-model summary { cursor: pointer; color: var(--gold); font-size: 0.78rem; font-weight: 700; }
.builder-model .form-grid { grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); }
.builder-model .row { flex-wrap: wrap; align-items: center; gap: 10px; }

.admin-preview { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; }
.admin-preview[hidden] { display: none; }
.admin-preview__backdrop { position: absolute; inset: 0; background: rgba(5, 4, 3, 0.78); backdrop-filter: blur(5px); }
.admin-preview__panel {
  position: relative;
  width: min(820px, 100%);
  max-height: 92vh;
  overflow: auto;
  padding: 18px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 20px;
  background: #12110f;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.65);
}
.admin-preview__stage {
  position: relative;
  height: min(54vh, 500px);
  min-height: 320px;
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 38%, rgba(229, 36, 43, 0.12), transparent 46%),
    radial-gradient(circle at 50% 18%, rgba(212, 175, 55, 0.16), transparent 48%),
    linear-gradient(120deg, #171410, #0b0a09 58%, #12100d);
}
.admin-preview__stage canvas { display: block; width: 100% !important; height: 100% !important; touch-action: none; }

@media (max-width: 900px) {
  .builder-admin-option .builder-admin-row { grid-template-columns: minmax(0, 1fr) 80px; }
  .builder-admin-option .builder-admin-row .check { justify-self: start; }
}
@media (max-width: 600px) {
  .admin-preview { padding: 10px; }
  .admin-preview__panel { padding: 14px; border-radius: 16px; }
  .admin-preview__stage { min-height: 300px; height: 46vh; }
}
