/* ==========================================================================
   Martxel Burger — Sistema de diseño (tokens + componentes compartidos)
   Negro + rojo + crema. Hamburguesería urbana premium.
   Ver DESIGN.md secciones 2–5 y 7.
   ========================================================================== */

@view-transition {
  navigation: auto;
}

:root {
  /* — Color — */
  --bg: #0B0907;
  --bg-2: #14110E;
  --surface: #1B1714;
  --surface-2: #261F19;
  --surface-3: #322820;
  --line: #2E2620;
  --line-2: #3D3128;
  --cream: #F5EDDC;
  --cream-d: #C8B898;
  --muted: #8E7F6E;
  --red: #DC2222;
  --red-d: #9A1B13;
  --lettuce: #6F8E2F;

  /* — Forma / espaciado — */
  --maxw: 1280px;
  --pad: clamp(20px, 5vw, 64px);
  --r: 16px;
  --r-sm: 10px;

  /* — Tipografía — */
  --f-display: "Anton", system-ui, sans-serif;
  --f-heading: "Archivo Black", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --hero-copy-min-h: 32rem;
  --hero-art-min-h: 34rem;
}

/* — Reset suave — */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--f-body);
  font-weight: 400;
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
main#page { view-transition-name: page-root; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--red); color: var(--cream); }

/* — Tipografía utilidades — */
.display {
  font-family: var(--f-display);
  text-transform: uppercase;
  line-height: .9;
  font-weight: 400;
  letter-spacing: .01em;
}
.heading {
  font-family: var(--f-heading);
  text-transform: uppercase;
  line-height: 1.05;
}
.body { font-family: var(--f-body); }
.mono { font-family: var(--f-mono); }
.red { color: var(--red); }
.cream-d { color: var(--cream-d); }
.muted { color: var(--muted); }

/* — Layout — */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.section { padding-block: clamp(56px, 9vw, 120px); }
.section.tight { padding-block: clamp(40px, 6vw, 72px); }
.bg-2 { background: var(--bg-2); }
.section-head { max-width: 720px; }

/* — Eyebrow — */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow .bar {
  width: 34px;
  height: 2px;
  background: var(--red);
  display: inline-block;
}

/* — Hashtags — */
.hashtag {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--cream-d);
  text-transform: uppercase;
}
.hashtag.red { color: var(--red); }

/* — Botones — */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--cream);
  --btn-bd: var(--line-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--f-heading);
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: .04em;
  line-height: 1;
  min-height: 48px;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-red { --btn-bg: var(--red); --btn-fg: var(--cream); --btn-bd: var(--red); }
.btn-red:hover { --btn-bg: #ef2d2d; }
.btn-cream { --btn-bg: var(--cream); --btn-fg: var(--bg); --btn-bd: var(--cream); }
.btn-cream:hover { --btn-bg: #fff; }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--cream); --btn-bd: var(--line-2); }
.btn-ghost:hover { --btn-bd: var(--cream-d); }
.btn-mini { padding: 9px 16px; min-height: 38px; font-size: 12px; }
.btn-block { width: 100%; }

/* — Píldoras / chips — */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cream-d);
}
.pill svg { width: 14px; height: 14px; color: var(--red); }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--cream-d);
}
.cat-chip {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-family: var(--f-heading);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .03em;
  color: var(--cream-d);
  transition: color .2s, background .2s, border-color .2s;
  white-space: nowrap;
}
.cat-chip:hover { color: var(--cream); border-color: var(--line-2); }
.cat-chip.active { background: var(--red); border-color: var(--red); color: var(--cream); }

/* — Nav — */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}
.nav--scrolled {
  background: color-mix(in oklch, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(16px);
  border-bottom-color: var(--line);
}
body { padding-top: 76px; }
.nav-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo { height: 38px; width: auto; flex: none; }
.nav-home-link--primary { view-transition-name: site-logo; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-inline: auto;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--f-heading);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .05em;
  color: var(--cream-d);
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.nav-link-ico { width: 16px; height: 16px; flex: none; color: var(--red); transition: color .2s; }
.nav-links a:hover { color: var(--cream); }
.nav-links a.active { color: var(--cream); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--red);
}
.nav-cta { display: flex; align-items: center; gap: 12px; flex: none; }
.nav-burger {
  display: none;
  width: 46px; height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  align-items: center;
  justify-content: center;
  color: var(--cream);
}
.nav-burger svg { width: 22px; height: 22px; }

@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(page-root),
  ::view-transition-new(page-root) {
    animation-duration: 260ms;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  }

  ::view-transition-old(site-logo),
  ::view-transition-new(site-logo) {
    animation-duration: 220ms;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  }

  ::view-transition-old(page-root) {
    animation-name: mtx-page-out;
  }

  ::view-transition-new(page-root) {
    animation-name: mtx-page-in;
  }
}

@keyframes mtx-page-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mtx-page-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

/* Botón de la cesta en el header */
.nav-cart-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-width: 54px;
  min-height: 38px;
  padding: 9px 16px 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  font-family: var(--f-heading);
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.nav-cart-btn:hover { border-color: var(--cream-d); transform: translateY(-2px); }
.nav-cart-btn .ico { width: 18px; height: 18px; color: var(--cream); transition: color .2s; }
.nav-cart-total {
  font-family: var(--f-heading);
  font-size: 12px;
  line-height: 1;
  color: var(--cream);
  white-space: nowrap;
}
.nav-cart-btn:hover .ico { color: var(--cream); }
.nav-cart-btn.has-items { border-color: var(--red); background: color-mix(in oklch, var(--red) 10%, transparent); }
.nav-cart-btn.has-items .ico { color: var(--cream); }
.nav-cart-btn.has-items .nav-cart-total { color: var(--cream); }
.nav-cart-count {
  min-width: 24px; height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--red);
  color: var(--cream);
  font-family: var(--f-mono);
  font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 6px 12px rgba(0,0,0,.28);
}
.nav-cart-btn.is-bumping {
  animation: nav-cart-bump .52s cubic-bezier(.22, 1, .36, 1);
}
@keyframes nav-cart-bump {
  0% { transform: scale(1); }
  30% { transform: scale(1.09); }
  55% { transform: scale(.96); }
  78% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

/* Mobile drawer */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  padding: 24px var(--pad);
  transform: translateX(100%);
  transition: transform .3s ease;
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer-top { display: flex; align-items: center; justify-content: space-between; height: 52px; }
.nav-drawer-close {
  width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--cream);
  display: inline-flex; align-items: center; justify-content: center;
}
.nav-drawer-close svg { width: 22px; height: 22px; }
.nav-drawer-links { display: flex; flex-direction: column; gap: 6px; margin-top: 28px; }
.nav-drawer-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-display);
  text-transform: uppercase;
  font-size: 34px;
  line-height: 1.1;
  color: var(--cream);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.nav-drawer-links .nav-link-ico { width: 24px; height: 24px; }
.nav-drawer-links a.active { color: var(--red); }
.nav-drawer-foot { margin-top: auto; display: grid; gap: 14px; padding-top: 24px; }

/* — Footer — */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); overflow: hidden; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-block: clamp(48px, 7vw, 80px);
}
.footer-logo { height: 42px; width: auto; margin-bottom: 20px; }
.footer-col h4 {
  font-family: var(--f-heading);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 18px;
}
.footer-col a, .footer-col p { color: var(--cream-d); font-size: 15px; padding-block: 5px; transition: color .2s; }
.footer-col a:hover { color: var(--red); }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--line-2); background: var(--surface);
  display: inline-flex; align-items: center; justify-content: center; color: var(--cream);
}
.footer-social a:hover { background: var(--red); border-color: var(--red); color: var(--cream); }
.footer-social svg { width: 20px; height: 20px; }
.footer-hours-row { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.footer-hours-row .mono { color: var(--cream); }
.footer-legal {
  border-top: 1px solid var(--line);
  padding-block: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .04em;
}
.footer-legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 16px 0 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .03em;
}
.footer-legal-links span { color: var(--cream-d); text-transform: uppercase; }
.footer-legal-links a { color: var(--muted); transition: color .2s; }
.footer-legal-links a:hover { color: var(--red); }

/* — Páginas de información legal — */
.legal-page { background: var(--bg); }
.legal-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 128px) 0 clamp(54px, 7vw, 88px);
  border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 82% 20%, rgba(224,55,48,.12), transparent 34%), var(--bg-2);
}
.legal-hero::after {
  content: 'LEGAL';
  position: absolute;
  right: -2vw;
  bottom: -.16em;
  color: rgba(255,255,255,.025);
  font-family: var(--f-display);
  font-size: clamp(100px, 19vw, 260px);
  line-height: .8;
  pointer-events: none;
}
.legal-hero .wrap { position: relative; z-index: 1; }
.legal-hero .display { max-width: 900px; margin: 18px 0 20px; }
.legal-hero .hero-lead { max-width: 650px; color: var(--cream-d); font-size: clamp(16px, 2vw, 20px); line-height: 1.55; }
.legal-updated { margin-top: 22px; color: var(--muted); font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.legal-section { padding-block: clamp(42px, 7vw, 84px); }
.legal-layout { display: grid; grid-template-columns: minmax(170px, 220px) minmax(0, 760px); gap: clamp(32px, 7vw, 96px); align-items: start; }
.legal-toc { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 10px; padding: 18px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); }
.legal-toc .mono { margin-bottom: 4px; color: var(--muted); font-size: 10px; letter-spacing: .1em; }
.legal-toc a { color: var(--cream-d); font-size: 13px; line-height: 1.35; transition: color .2s, padding-left .2s; }
.legal-toc a:hover { padding-left: 4px; color: var(--red); }
.legal-content { min-width: 0; color: var(--cream-d); font-size: 16px; line-height: 1.75; }
.legal-content h2 { margin: 0 0 14px; padding-top: 12px; scroll-margin-top: 100px; color: var(--cream); font-family: var(--f-heading); font-size: clamp(20px, 2.5vw, 28px); line-height: 1.2; }
.legal-content h2:not(:first-child) { margin-top: 46px; }
.legal-content h3 { color: var(--cream); font-family: var(--f-heading); font-size: 17px; }
.legal-content p { margin: 0 0 18px; }
.legal-content a { color: var(--cream); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.legal-content a:hover { color: var(--red); }
.legal-content ul { margin: 0 0 22px; padding-left: 22px; list-style: disc; }
.legal-content li { margin: 8px 0; }
.legal-facts, .legal-note, .legal-cards, .legal-table-wrap { margin: 24px 0 30px; }
.legal-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; background: var(--line-2); }
.legal-facts div { padding: 16px 18px; background: var(--surface); }
.legal-facts dt { color: var(--muted); font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.legal-facts dd { margin: 5px 0 0; color: var(--cream); font-size: 14px; line-height: 1.45; }
.legal-note { padding: 18px 20px; border-left: 3px solid var(--red); background: var(--surface); color: var(--cream-d); }
.legal-table-wrap { overflow-x: auto; border: 1px solid var(--line-2); border-radius: var(--r); }
.legal-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; }
.legal-table th { color: var(--muted); font-family: var(--f-mono); font-size: 10px; letter-spacing: .07em; text-align: left; text-transform: uppercase; }
.legal-table th, .legal-table td { padding: 13px 15px; border-bottom: 1px solid var(--line); }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.legal-cards > div { padding: 18px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); }
.legal-cards h3 { margin: 0 0 8px; }
.legal-cards p { margin: 0; font-size: 14px; line-height: 1.55; }
@media (max-width: 760px) {
  .legal-layout { grid-template-columns: 1fr; gap: 30px; }
  .legal-toc { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-toc .mono { grid-column: 1 / -1; }
  .legal-cards { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .legal-facts { grid-template-columns: 1fr; }
  .legal-content { font-size: 15px; }
  .legal-toc { grid-template-columns: 1fr; }
}

/* — Burger illustration / image slot — */
.burger-art { width: 100%; height: auto; filter: drop-shadow(0 24px 36px rgba(0,0,0,.5)); }
image-slot, .image-slot {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--r);
  border: 1px dashed var(--line-2);
  background:
    repeating-linear-gradient(135deg, var(--surface) 0 18px, var(--surface-2) 18px 36px);
  position: relative;
}
.image-slot::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
}

/* — Tarjeta de producto (carta) — */
.prod {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .2s, transform .2s;
}
.prod:hover { border-color: var(--line-2); transform: translateY(-3px); }
.prod-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-sm);
  background: radial-gradient(120% 120% at 50% 0%, var(--surface-2), var(--surface));
  display: grid;
  place-items: center;
  overflow: hidden;
}
.prod-thumb svg { width: 78%; height: auto; }
.prod-name {
  font-family: var(--f-heading);
  text-transform: uppercase;
  font-size: 19px;
  letter-spacing: .01em;
}
.prod-desc { color: var(--cream-d); font-size: 14.5px; line-height: 1.5; flex: 1; }
.prod-allergens { display: flex; flex-wrap: wrap; gap: 6px; }
.allergen {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 9px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.allergen-ico {
  width: 14px;
  height: 14px;
  stroke-width: 2px;
}
.prod-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.prod-price { font-family: var(--f-display); color: var(--red); font-size: 28px; line-height: 1; }
.add-btn {
  width: 54px; height: 54px;
  border-radius: 999px;
  background: var(--red);
  color: var(--cream);
  border: none;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .15s, background .2s;
}
.add-btn:hover { transform: scale(1.08); background: #ef2d2d; }
.add-btn svg { width: 26px; height: 26px; }

/* — Grid utilidades — */
.grid { display: grid; gap: 24px; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* — Iconos inline — */
.ico { width: 20px; height: 20px; display: inline-block; vertical-align: middle; }

/* ==========================================================================
   Secciones de página (landing, carta, contacto)
   ========================================================================== */

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  margin-top: -76px;
  padding-top: 76px;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  isolation: isolate;
}
/* Glow dual: cálido (rojo) arriba-dcha + frío de relleno abajo-izq */
.hero::before {
  content: "";
  position: absolute;
  top: -28%; right: -12%;
  width: 64vw; height: 64vw;
  background:
    radial-gradient(circle at 60% 40%, color-mix(in oklch, var(--red) 30%, transparent), transparent 60%),
    radial-gradient(circle at 30% 70%, color-mix(in oklch, var(--red-d) 26%, transparent), transparent 64%);
  filter: blur(28px);
  pointer-events: none;
  z-index: -2;
}
/* Palabra fantasma de fondo (poster editorial) */
.hero-ghost {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -46%);
  font-size: clamp(140px, 30vw, 460px);
  line-height: 1;
  letter-spacing: -.02em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px color-mix(in oklch, var(--cream) 9%, transparent);
  text-stroke: 1.5px color-mix(in oklch, var(--cream) 9%, transparent);
  pointer-events: none;
  user-select: none;
  z-index: -1;
}
/* Grano de película sutil */
.hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 40px;
  padding-block: clamp(48px, 8vw, 116px);
  min-height: min(860px, calc(100dvh - 76px));
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  min-height: var(--hero-copy-min-h);
  justify-content: center;
}
.hero-title { font-size: clamp(56px, 11vw, 138px); line-height: 1.04; text-shadow: 0 2px 30px rgba(0,0,0,.45); }
.hero-lead { color: var(--cream-d); font-size: clamp(16px, 2vw, 19px); max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* Columna de arte */
.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: var(--hero-art-min-h);
}
.hero-art picture {
  display: block;
  width: min(112%, 640px);
}
.hero-art .burger-art { animation: floaty 6s ease-in-out infinite; }
/* Foto real del hero (recorte sin fondo) — rompe la rejilla */
.hero-photo {
  width: 100%;
  aspect-ratio: 577 / 433;
  height: auto;
  filter: drop-shadow(0 40px 56px rgba(0,0,0,.75));
  animation: floaty 6s ease-in-out infinite;
  position: relative;
  z-index: 2;
}
.hero-art-glow {
  position: absolute;
  inset: 6% 2% auto 2%;
  height: 84%;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in oklch, var(--red) 46%, transparent), transparent 64%);
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
  animation: glowPulse 7s ease-in-out infinite;
}


/* Sello circular giratorio */
.hero-seal {
  position: absolute;
  top: -4%; left: -6%;
  width: clamp(96px, 13vw, 150px);
  aspect-ratio: 1;
  z-index: 3;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.hero-seal svg:first-child { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.hero-seal-text {
  font-family: var(--f-mono);
  font-size: 15px;
  letter-spacing: .04em;
  fill: var(--cream);
  text-transform: uppercase;
}
.hero-seal-mark {
  position: absolute;
  width: 26%; height: 26%;
  color: var(--red);
}

/* Chips de ingredientes flotando */
.hero-chips { display: contents; }
.hero-chip {
  position: absolute;
  z-index: 4;
  padding: 8px 14px;
  border-radius: 999px;
  background: color-mix(in oklch, var(--surface) 86%, transparent);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line-2);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--cream);
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(0,0,0,.4);
}
.hero-chip::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red);
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
}
.hero-chip-1 { top: 16%; right: -2%; animation: floaty 5.5s ease-in-out infinite; }
.hero-chip-2 { top: 50%; left: -8%; animation: floaty 6.5s ease-in-out .4s infinite; }
.hero-chip-3 { bottom: 14%; right: 4%; animation: floaty 6s ease-in-out .8s infinite; }

.hero-art-tag { position: absolute; bottom: 2%; right: 2%; z-index: 4; }

@keyframes floaty { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-14px) } }
@keyframes glowPulse { 0%,100% { opacity: .85; transform: scale(1) } 50% { opacity: 1; transform: scale(1.05) } }
@keyframes spin { to { transform: rotate(360deg) } }
@media (prefers-reduced-motion: reduce) {
  .hero-art .burger-art, .hero-photo, .hero-art-glow,
  .hero-seal svg:first-child, .hero-chip { animation: none; }
}

/* Section header row */
.section-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-title { font-size: clamp(34px, 6vw, 68px); margin-top: 12px; }

/* Value cards */
.value-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.value-ico { width: 30px; height: 30px; color: var(--red); }
.value-card h3 { font-size: 17px; }

/* Promos */
.promo {
  border-radius: var(--r);
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-height: 280px;
  position: relative;
  overflow: hidden;
  transition: transform .2s;
}
.promo:hover { transform: translateY(-4px); }
.promo-title { font-size: clamp(34px, 5vw, 56px); }
.promo p { max-width: 38ch; }
.promo .btn { margin-top: auto; }
.promo-red { background: var(--red); color: var(--cream); }
.promo-red p { color: color-mix(in oklch, var(--cream) 85%, transparent); }
.promo-dark { background: var(--surface); border: 1px solid var(--line-2); color: var(--cream); }
.promo-dark p { color: var(--cream-d); }

/* About */
.about-grid { align-items: center; gap: clamp(32px, 5vw, 64px); }
.about-media { position: relative; }
.about-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r);
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 54px rgba(0,0,0,.55);
}
.about-photo-tag {
  position: absolute;
  left: 18px;
  bottom: 16px;
  padding: 7px 14px;
  border-radius: 999px;
  background: color-mix(in oklch, var(--bg) 70%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-2);
}
.about-copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.about-lead { font-size: 18px; color: var(--cream); }
.about-stats { display: flex; gap: 36px; flex-wrap: wrap; margin-top: 10px; }
.about-stats div { display: flex; flex-direction: column; gap: 4px; }
.about-stats .display { font-size: 34px; line-height: 1; }
.about-stats small { color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }

/* CTA band */
.cta-band {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: clamp(28px, 5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-title { font-size: clamp(32px, 5vw, 60px); }

/* Cart FAB + toast (home / carta) */
[x-cloak] { display: none !important; }
.cart-fab {
  position: fixed;
  right: clamp(16px, 4vw, 32px);
  bottom: clamp(16px, 4vw, 32px);
  z-index: 150;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--red);
  color: var(--cream);
  font-family: var(--f-heading);
  text-transform: uppercase;
  font-size: 14px;
  box-shadow: 0 16px 30px rgba(0,0,0,.5);
}
.cart-fab .ico { width: 20px; height: 20px; }
.cart-fab-count {
  background: var(--cream);
  color: var(--bg);
  border-radius: 999px;
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  font-size: 12px;
  padding-inline: 6px;
}
.mtx-notifications {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 250;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 12px;
  pointer-events: none;
}
.mtx-notice {
  min-width: min(360px, calc(100vw - 32px));
  max-width: min(420px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)),
    var(--surface-2);
  border: 1px solid var(--line-2);
  color: var(--cream);
  font-size: 14px;
  box-shadow: 0 18px 34px rgba(0,0,0,.45);
  backdrop-filter: blur(14px);
  pointer-events: auto;
}
.mtx-notice-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(120, 180, 110, .12);
  border: 1px solid rgba(120, 180, 110, .22);
}
.mtx-notice-icon .ico {
  width: 18px;
  height: 18px;
}
.mtx-notice-text {
  min-width: 0;
  line-height: 1.35;
}
.mtx-notice-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  position: relative;
  display: inline-grid;
  place-items: center;
  background: rgba(255,255,255,.05);
  color: var(--cream);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.mtx-notice-close:hover {
  background: rgba(255,255,255,.1);
  transform: scale(1.04);
}
.mtx-notice-close .ico {
  width: 14px;
  height: 14px;
  transform: rotate(45deg);
  position: relative;
  z-index: 1;
}
.mtx-notice-timer {
  position: absolute;
  inset: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  transform: rotate(-90deg);
}
.mtx-notice-timer-track,
.mtx-notice-timer-progress {
  fill: none;
  stroke-width: 3;
}
.mtx-notice-timer-track {
  stroke: rgba(255,255,255,.08);
}
.mtx-notice-timer-progress {
  stroke: rgba(231, 80, 47, .95);
  stroke-linecap: round;
  stroke-dasharray: 100.53;
  stroke-dashoffset: 0;
  animation: mtx-notice-countdown var(--notice-duration, 3200ms) linear forwards;
}
@keyframes mtx-notice-countdown {
  to { stroke-dashoffset: 100.53; }
}
@media (max-width: 640px) {
  .mtx-notifications {
    left: 50%;
    right: auto;
    bottom: 18px;
    width: calc(100vw - 24px);
    align-items: center;
  }
  .mtx-notice {
    min-width: 0;
    max-width: min(420px, calc(100vw - 24px));
  }
}

/* Carta page */
.cat-bar {
  position: sticky;
  top: 76px;
  z-index: 90;
  background: color-mix(in oklch, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding-block: 14px;
}
.cat-bar-inner { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.cat-bar-inner::-webkit-scrollbar { display: none; }
.menu-cat { scroll-margin-top: 150px; }
.menu-cat + .menu-cat { margin-top: clamp(48px, 7vw, 88px); }
.menu-cat-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.menu-cat-head h2 { font-size: clamp(28px, 4vw, 46px); }
.placeholder-note {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px dashed var(--line-2);
  border-radius: 999px;
  padding: 4px 10px;
}

/* Page hero (carta/contacto/auth) */
.page-hero { border-bottom: 1px solid var(--line); padding-block: clamp(40px, 6vw, 72px); margin-top: -76px; padding-top: calc(76px + clamp(40px, 6vw, 72px)); }
.page-hero h1 { font-size: clamp(44px, 8vw, 92px); }

/* ==========================================================================
   Contacto — página de contacto
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.info-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: var(--cream);
  text-decoration: none;
  transition: color .2s;
}
.info-row:hover { color: var(--red); }
.info-ico {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  flex: none;
  color: var(--red);
}
.info-ico .ico { width: 20px; height: 20px; }
.info-row > span { display: flex; flex-direction: column; gap: 2px; }
.info-row strong { font-size: 15px; }
.info-row small { font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); font-family: var(--f-mono); }
.info-hours { margin-top: 4px; }
.info-hours .heading { font-size: 15px; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.footer-hours-row { display: flex; justify-content: space-between; }
.contact-form-wrap { display: flex; flex-direction: column; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); font-family: var(--f-mono); }
.field input,
.field textarea {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  color: var(--cream);
  font-family: var(--f-body);
  font-size: 15px;
  padding: 11px 14px;
  outline: none;
  width: 100%;
  transition: border-color .2s;
}
.field input:focus,
.field textarea:focus { border-color: var(--red); }
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-sent { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 40px 24px; text-align: center; }
.map-frame { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Auth — login / registro / recuperar contraseña / mi cuenta
   Reestilizado de las clases Bootstrap de los Livewire de Orange
   ========================================================================== */

/* Layout clásico (reset password / mi cuenta) */
.auth-page { padding-block: clamp(48px, 8vw, 96px); }
.auth-card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: clamp(28px, 4vw, 44px);
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
}
.auth-card-wide { max-width: 560px; }

/* Cabecera del form (eyebrow + título grande) */
.auth-form-head { margin-bottom: 28px; }
.auth-form-head .eyebrow { margin-bottom: 10px; }
.auth-form-title {
  font-family: var(--f-display);
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: .01em;
}

/* Fila secundaria (recuérdame + olvidé contraseña) */
.auth-sec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.auth-link-muted {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s;
}
.auth-link-muted:hover { color: var(--cream-d); }

/* Pie de formulario (¿sin cuenta? / ¿ya tienes cuenta?) */
.auth-form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.auth-form-foot > span {
  color: var(--muted);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.auth-form-foot > a {
  color: var(--cream);
  font-family: var(--f-heading);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .05em;
  transition: color .2s;
}
.auth-form-foot > a:hover { color: var(--red); }

/* Social login */
.auth-social-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-block: 22px;
  color: var(--muted);
  font-family: var(--f-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.auth-social-divider::before,
.auth-social-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

.auth-social-buttons { display: flex; flex-direction: column; gap: 12px; }

.btn-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 11px 16px;
  border-radius: var(--r-sm);
  background: var(--cream);
  color: var(--bg);
  border: 1px solid var(--cream);
  font-family: var(--f-heading);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .03em;
  text-decoration: none;
  transition: transform .15s, background .2s, border-color .2s;
  cursor: pointer;
}
.btn-social:hover { transform: translateY(-1px); background: #fff; border-color: #fff; }
.btn-social-icon {
  width: 20px;
  height: 20px;
  flex: none;
}
.btn-social-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--f-heading);
  font-size: 12px;
}

/* Bootstrap bridge — dentro de .auth-wrap */
.auth-wrap .row { display: flex; flex-wrap: wrap; margin-inline: -8px; }
.auth-wrap .col-12 { flex: 0 0 100%; padding-inline: 8px; }
.auth-wrap .col-sm-6 { flex: 0 0 50%; padding-inline: 8px; }
.auth-wrap .col { flex: 1 1 0; padding-inline: 8px; min-width: 0; }
.auth-wrap .form-row { display: flex; flex-wrap: wrap; gap: 14px; margin-inline: 0; }
.auth-wrap .form-row .col-sm-6 { flex: 1 1 calc(50% - 7px); min-width: 0; padding-inline: 0; }
.auth-wrap .mb-3 { margin-bottom: 18px; }
.auth-wrap .form-group { margin-bottom: 18px; }

/* Inputs */
.auth-wrap .form-control {
  display: block;
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  color: var(--cream);
  font-family: var(--f-body);
  font-size: 15px;
  padding: 11px 14px;
  outline: none;
  transition: border-color .2s;
  appearance: none;
}
.auth-wrap .form-control:focus { border-color: var(--red); }
.auth-wrap .form-control::placeholder { color: var(--muted); }
.auth-wrap .form-control.py-0 { padding-block: 0; display: flex; align-items: center; gap: 0; height: 44px; }
.auth-wrap .form-control.py-0 label { font-size: 11px; color: var(--muted); white-space: nowrap; padding: 0 8px 0 0; }
.auth-wrap .form-control.py-0 .form-control { border: none; background: transparent; padding: 0; height: 100%; }

/* Input group (email con @ al final) */
.auth-wrap .input-group { display: flex; align-items: stretch; }
.auth-wrap .input-group > .form-control { border-radius: var(--r-sm) 0 0 var(--r-sm); flex: 1; }
.auth-wrap .input-group-text {
  background: var(--surface-3);
  border: 1px solid var(--line-2);
  border-left: none;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  color: var(--muted);
  padding: 0 12px;
  display: flex;
  align-items: center;
  font-size: 14px;
}

/* Floating labels */
.auth-wrap .form-floating { position: relative; }
.auth-wrap .form-floating > .form-control { padding-top: 22px; padding-bottom: 6px; }
.auth-wrap .form-floating > label {
  position: absolute;
  top: 7px;
  left: 14px;
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .07em;
  pointer-events: none;
  font-family: var(--f-mono);
}

/* Botones */
.auth-wrap .btn.btn-primary, .auth-wrap .btn.btn-lg {
  background: var(--red);
  color: var(--cream);
  border: none;
  border-radius: var(--r-sm);
  font-family: var(--f-heading);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 12px 22px;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.auth-wrap .btn.btn-primary:hover { background: #ef2d2d; transform: translateY(-1px); }
.auth-wrap .btn.btn-primary.disabled,
.auth-wrap .btn.btn-primary:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.auth-wrap .btn.btn-link { background: none; border: none; color: var(--cream-d); font-size: 14px; text-decoration: underline; cursor: pointer; padding: 0; }
.auth-wrap .btn.btn-link:hover { color: var(--cream); }
.auth-wrap .w-100 { width: 100%; }

/* Checkbox */
.auth-wrap .form-check { display: flex; align-items: center; gap: 10px; }
.auth-wrap .form-check-input {
  width: 18px; height: 18px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background: var(--surface-2);
  appearance: none;
  cursor: pointer;
  flex: none;
  transition: background .15s, border-color .15s;
}
.auth-wrap .form-check-input:checked {
  background: var(--red) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23fff' stroke-width='2.5' d='M3 8l3.5 3.5L13 5'/%3e%3c/svg%3e") center/11px no-repeat;
  border-color: var(--red);
}
.auth-wrap .form-check-label { font-size: 14px; color: var(--cream-d); line-height: 1.4; }

/* Helpers de flex */
.auth-wrap .d-md-flex { display: flex; align-items: center; }
.auth-wrap .justify-content-between { justify-content: space-between; }
.auth-wrap .text-link, .auth-wrap a.text-link { color: var(--cream-d); font-size: 14px; }
.auth-wrap .text-link:hover { color: var(--red); }
.auth-wrap .text-nowrap { white-space: nowrap; }
.auth-wrap .text-center { text-align: center; margin-top: 20px; }
.auth-wrap .text-center a { color: var(--cream-d); font-size: 14px; }
.auth-wrap .text-center a:hover { color: var(--red); }

/* Errores */
.auth-wrap .text-danger { color: #ff7070; font-size: 13px; margin-top: 5px; display: block; }

/* Alerta (reset password) */
.auth-wrap .alert.alert-info {
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  color: var(--cream-d);
  padding: 14px 16px;
  font-size: 14px;
  margin-bottom: 18px;
}

/* Card (register usa card border) */
.auth-wrap .card.border { background: transparent; border: none !important; }
.auth-wrap .card-body { padding: 0; }
.auth-wrap .card-title { font-family: var(--f-heading); font-size: 22px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 24px; }
.auth-wrap h1.card-title { font-size: 22px; }

/* Clearfix / pull */
.auth-wrap .clearfix::after { content: ''; display: table; clear: both; }
.auth-wrap .pull-right { float: none; width: 100%; }

/* Auth título de sección */
.auth-title {
  font-family: var(--f-heading);
  font-size: clamp(20px, 3.5vw, 28px);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 28px;
}
.auth-sub { font-size: 14px; line-height: 1.55; color: var(--cream-d); margin-bottom: 24px; }
.auth-foot { text-align: center; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-2); font-size: 14px; color: var(--cream-d); }
.auth-foot a { color: var(--cream); text-decoration: underline; }
.auth-foot a:hover { color: var(--red); }

/* Mi cuenta — dashboard */
.account-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }
.account-greeting { font-family: var(--f-display); font-size: clamp(28px, 4vw, 44px); text-transform: uppercase; line-height: 1; }
.account-section {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: clamp(22px, 3vw, 36px);
  margin-bottom: 20px;
}
.account-section-title {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.account-section .btn.btn-primary { min-width: 160px; }

/* Onboarding reutiliza los controles de auth dentro de la página de cuenta. */
.account-body > .auth-wrap .onboarding-card { max-width: 760px; }
.auth-wrap .alert.alert-light {
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  color: var(--cream-d);
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.55;
}
.auth-wrap .alert.alert-light strong { color: var(--cream); }
.auth-wrap .d-flex { display: flex; }
.auth-wrap .justify-content-end { justify-content: flex-end; }
.auth-wrap .justify-content-between { justify-content: space-between; }
.auth-wrap .flex-column { flex-direction: column; }
.auth-wrap .gap-2 { gap: 8px; }
.onboarding-summary {
  padding: 20px 22px;
  background: linear-gradient(135deg, var(--surface-2), color-mix(in oklch, var(--surface-2) 70%, var(--bg)));
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--red);
  border-radius: var(--r-sm);
}
.onboarding-progress { display: flex; align-items: center; gap: 22px; color: var(--red); font-family: var(--f-mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }
.onboarding-progress-track { display: flex; align-items: center; flex: 1; gap: 0; }
.onboarding-progress-track::before { content: ''; height: 2px; flex: 1; background: var(--red); }
.onboarding-progress-track i { width: 12px; height: 12px; flex: none; border: 2px solid var(--red); border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 5px color-mix(in oklch, var(--red) 12%, transparent); }
.onboarding-progress-track i.is-current { width: 26px; height: 26px; display: grid; place-items: center; background: var(--red); color: var(--cream); box-shadow: 0 0 0 5px color-mix(in oklch, var(--red) 16%, transparent), 0 0 18px color-mix(in oklch, var(--red) 40%, transparent); }
.onboarding-progress-track i.is-current .ico { width: 15px; height: 15px; }
.onboarding-summary-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.onboarding-summary-check { width: 30px; height: 30px; display: grid; place-items: center; flex: none; border-radius: 50%; background: var(--red); color: var(--cream); box-shadow: 0 0 16px color-mix(in oklch, var(--red) 38%, transparent); }
.onboarding-summary-check .ico { width: 16px; height: 16px; }
.onboarding-summary-kicker {
  color: var(--red);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.onboarding-summary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.onboarding-summary-item { min-width: 0; display: grid; gap: 4px; }
.onboarding-summary-item-wide { grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid var(--line); }
.onboarding-summary-item span { color: var(--muted); font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.onboarding-summary-item strong { color: var(--cream); font-size: 14px; font-weight: 600; line-height: 1.45; }
.onboarding-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.onboarding-actions .btn { flex: 1 1 220px; }
.onboarding-actions .btn .ico { width: 18px; height: 18px; }
.onboarding-actions .btn-outline-dark { --btn-bg: transparent; --btn-fg: var(--cream); --btn-bd: var(--line-2); }
.onboarding-actions .btn-outline-dark:hover { --btn-bg: var(--surface-2); --btn-bd: var(--cream-d); }
.address-suggestions { background: var(--surface-3); border: 1px solid var(--line-2); border-radius: var(--r-sm); margin-top: 8px; overflow: hidden; }
.address-suggestion { background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--cream-d); cursor: pointer; display: block; font: inherit; padding: 10px 12px; text-align: left; width: 100%; }
.address-suggestion:last-child { border-bottom: 0; }
.address-suggestion:hover, .address-suggestion:focus { background: var(--surface-2); color: var(--cream); outline: none; }

/* Layout: sidebar + contenido */
.account-layout {
  display: grid;
  grid-template-columns: 192px 1fr;
  gap: clamp(16px, 2.5vw, 32px);
  align-items: start;
}
.account-sidebar { position: sticky; top: calc(76px + 20px); min-width: 0; max-width: 100%; }
.account-body { min-width: 0; }

/* Nav lateral de cuenta */
.account-nav {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-width: 100%;
}
.account-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  font-family: var(--f-heading);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--cream-d);
  border-bottom: 1px solid var(--line);
  transition: color .2s, background .2s;
}
.account-nav-link:last-child { border-bottom: none; }
.account-nav-link:hover { color: var(--cream); background: var(--surface-2); }
.account-nav-link.active { color: var(--red); background: var(--surface-2); border-left: 2px solid var(--red); padding-left: 14px; }
.account-nav-link svg { width: 16px; height: 16px; flex: none; }
.account-nav-link.danger { color: var(--muted); }
.account-nav-link.danger:hover { color: var(--red); background: transparent; }

/* Lista de direcciones */
.addr-list { border-top: 1px solid var(--line); }
.addr-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background .15s;
}
.addr-item:hover { background: var(--surface-2); }
.addr-item-body { display: flex; align-items: flex-start; gap: 10px; flex: 1; min-width: 0; }
.addr-item address { font-style: normal; color: var(--cream-d); font-size: 14px; line-height: 1.5; flex: 1; }
.addr-item .ico { width: 16px; height: 16px; }
.addr-item-arrow { flex: none; }

/* Bootstrap bridge — dentro de .account-content */
.account-content .card { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r); margin-bottom: 20px; overflow: hidden; }
.account-content .card-header {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.account-content .card-header h4 { font-family: var(--f-heading); font-size: 14px; text-transform: uppercase; letter-spacing: .05em; color: var(--cream); margin: 0; font-weight: 900; }
.account-content .card-body { padding: 20px; }
.account-content .card h2 { font-family: var(--f-heading); font-size: 20px; text-transform: uppercase; margin-bottom: 4px; }
.account-content .card h5, .account-content .card h6 {
  font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px;
}
.account-content .table-responsive { overflow-x: auto; }
.account-content .table { width: 100%; border-collapse: collapse; }
.account-content .table th { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.account-content .table td { padding: 14px; color: var(--cream-d); font-size: 14px; vertical-align: middle; }
.account-content .table tr + tr td { border-top: 1px solid var(--line); }
.account-content .table.align-middle td { vertical-align: middle; }
.account-content .table-sm th, .account-content .table-sm td { padding: 7px 10px; }
.account-content .table-borderless td, .account-content .table-borderless th { border: none !important; }
.account-content .list-group { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.account-content .list-group-item { padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--cream-d); font-size: 14px; }
.account-content .list-group-item-action { cursor: pointer; transition: background .15s; }
.account-content .list-group-item-action:hover { background: var(--surface-2); color: var(--cream); }
.account-content .list-group-item-primary { background: var(--surface-2); border-left: 2px solid var(--red); color: var(--cream); }
.account-content .list-unstyled { list-style: none; padding: 0; margin: 0; }
.account-content address { font-style: normal; line-height: 1.6; }
.account-content .progress { height: 6px; background: var(--surface-3); border-radius: 999px; overflow: hidden; }
.account-content .progress-bar { height: 100%; background: var(--red); border-radius: 999px; transition: width .4s ease; }
.account-content .btn-light, .account-content .btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  font-family: var(--f-heading); text-transform: uppercase; font-size: 12px; letter-spacing: .04em;
  border: 1px solid var(--line-2); background: var(--surface-2); color: var(--cream-d);
  cursor: pointer; transition: background .2s, color .2s;
}
.account-content .btn-light:hover, .account-content .btn-secondary:hover { background: var(--surface-3); color: var(--cream); }
.account-content .btn-light.text-danger { color: var(--red); border-color: color-mix(in oklch, var(--red) 30%, var(--line-2)); }
.account-content .text-muted { color: var(--muted); }
.account-content .text-center { text-align: center; }
.account-content .text-danger { color: #ff7070; font-size: 13px; display: block; margin-top: 4px; }
.account-content .text-warning { color: #f5a623; }
.account-content .fw-bold { font-weight: 700; }
.account-content .fw-normal { font-weight: 400; }
.account-content .lead { font-size: 15px; color: var(--cream-d); line-height: 1.5; }
.account-content .h4 { font-family: var(--f-heading); font-size: 16px; text-transform: uppercase; }
.account-content .mb-0 { margin-bottom: 0; }
.account-content .mb-2 { margin-bottom: 8px; }
.account-content .mb-3 { margin-bottom: 18px; }
.account-content .mt-3 { margin-top: 18px; }
.account-content .me-2 { margin-right: 8px; }
.account-content .ms-2 { margin-left: 8px; }
.account-content .pb-2 { padding-bottom: 8px; }
.account-content .py-3 { padding-block: 12px; }
.account-content .pt-2 { padding-top: 8px; }
.account-content .d-flex { display: flex; }
.account-content .d-sm-flex { display: flex; flex-wrap: wrap; }
.account-content .flex-fill { flex: 1; }
.account-content .flex-grow-1 { flex: 1; min-width: 0; }
.account-content .align-items-center { align-items: center; }
.account-content .justify-content-between { justify-content: space-between; }
.account-content .justify-content-center { justify-content: center; }
.account-content .d-block { display: block; }
.account-content .d-none { display: none; }
.account-content .d-sm-block { display: block; }
.account-content .w-100 { width: 100%; }
.account-content .opacity-75 { opacity: .75; }
.account-content dl { margin: 0; }
.account-content dd { color: var(--cream-d); font-size: 14px; margin-bottom: 8px; }
.account-content .row { display: flex; flex-wrap: wrap; margin-inline: -8px; }
.account-content .g-3 { gap: 16px; margin-inline: 0; }
.account-content .g-3 > * { padding-inline: 0; }
.account-content .row.justify-content-center { justify-content: center; }
.account-content .col-4 { flex: 0 0 33.333%; max-width: 33.333%; padding-inline: 4px; }
.account-content .col-sm-4, .account-content .col-xs-12.col-sm-4, .account-content .col-md-4 { flex: 0 0 33.333%; max-width: 33.333%; padding-inline: 8px; }
.account-content .col-sm-5 { flex: 0 0 41.667%; max-width: 41.667%; padding-inline: 8px; }
.account-content .col-sm-6 { flex: 0 0 50%; max-width: 50%; padding-inline: 8px; }
.account-content .col-sm-7 { flex: 0 0 58.333%; max-width: 58.333%; padding-inline: 8px; }
.account-content #ti-order-status { padding: 28px 20px; }
.account-content #ti-order-status h3 { font-family: var(--f-heading); font-size: clamp(18px, 2.5vw, 26px); text-transform: uppercase; margin: 16px 0 8px; }
.account-content #ti-order-status .label-secondary .h6 { font-family: var(--f-mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.account-content .cart-items { margin-bottom: 16px; }
.account-content .cart-items li { padding-block: 10px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px; }
.account-content .cart-items li:last-child { border-bottom: none; }
.account-content .cart-items .name { color: var(--cream); font-size: 14px; }
.account-content .cart-items .price { color: var(--cream-d); font-family: var(--f-mono); font-size: 13px; }
.account-content .cart-items .pull-right { float: right; }
.account-content .cart-totals { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.account-content .w-sm-25 { width: 100px; flex-shrink: 0; }
.account-content .img-fluid { max-width: 100%; height: auto; border-radius: var(--r-sm); }
.account-content .form-label { font-size: 12px; font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); display: block; margin-bottom: 8px; }
.account-content .re-order { margin-right: 10px; }
.account-content i[class*="fa"] { display: none; }
.account-content .order-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--cream);
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 5px 11px;
  white-space: nowrap;
}
.account-content .order-status-pill .dot { width: 8px; height: 8px; border-radius: 999px; flex: none; }
.order-journey { background: radial-gradient(circle at top right, color-mix(in oklch, var(--red) 20%, transparent), transparent 42%), var(--surface); border: 1px solid var(--line-2); border-radius: var(--r); margin-bottom: 20px; overflow: hidden; padding: clamp(20px, 4vw, 34px); }
.order-journey-empty { color: var(--muted); text-align: center; }
.order-journey-topline { color: var(--muted); display: flex; font-family: var(--f-mono); font-size: 11px; justify-content: space-between; letter-spacing: .07em; text-transform: uppercase; }
.order-journey-heading { align-items: flex-start; display: flex; gap: 20px; justify-content: space-between; margin-top: 22px; }
.order-journey-heading .eyebrow { margin-bottom: 8px; }
.order-journey-heading h2 { color: var(--cream); font-family: var(--f-heading); font-size: clamp(28px, 4vw, 46px); letter-spacing: -.035em; line-height: .94; margin: 0; text-transform: uppercase; }
.order-journey-heading p { color: var(--cream-d); line-height: 1.55; margin: 12px 0 0; max-width: 560px; }
.order-journey-status { align-items: center; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 999px; color: var(--cream-d); display: inline-flex; flex: none; font-family: var(--f-mono); font-size: 10px; gap: 7px; letter-spacing: .08em; padding: 7px 10px; text-transform: uppercase; }
.order-journey-status span { background: var(--muted); border-radius: 50%; height: 7px; width: 7px; }
.order-journey-status.is-live { color: var(--cream); }
.order-journey-status.is-live span { background: #58d68d; box-shadow: 0 0 0 4px color-mix(in srgb, #58d68d 18%, transparent); }
.order-journey-details { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 28px; }
.order-journey-details > div { background: color-mix(in oklch, var(--surface-2) 82%, transparent); border: 1px solid var(--line); border-radius: var(--r-sm); min-width: 0; padding: 14px 16px; }
.order-journey-details small { color: var(--muted); display: block; font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; margin-bottom: 5px; text-transform: uppercase; }
.order-journey-details strong { color: var(--cream); display: block; font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; }
.order-journey-steps { display: grid; gap: 8px; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 26px; }
.order-journey-steps span { color: var(--muted); display: grid; font-family: var(--f-mono); font-size: 9px; gap: 8px; line-height: 1.35; }
.order-journey-steps i { background: var(--surface-3); border-radius: 999px; display: block; height: 5px; position: relative; }
.order-journey-steps span.complete, .order-journey-steps span.current { color: var(--cream-d); }
.order-journey-steps span.complete i, .order-journey-steps span.current i { background: var(--red); }
.order-journey-track { margin-top: 28px; width: 100%; }
.order-journey-track .ico { height: 17px; margin-left: auto; width: 17px; }
.order-journey-login { border: 1px solid var(--line-2); border-radius: var(--r-sm); color: var(--cream-d); margin: 0; padding: 16px; text-align: center; }
.order-journey-login a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.account-content .account-empty { color: var(--muted); font-size: 14px; text-align: center; padding: 28px 0; }
.account-content .pagination-bar { margin-top: 20px; }
.account-content nav { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.account-content nav span, .account-content nav a { padding: 7px 12px; border-radius: 8px; font-size: 13px; border: 1px solid var(--line-2); background: var(--surface); color: var(--cream-d); transition: all .2s; display: inline-flex; align-items: center; }
.account-content nav a:hover { border-color: var(--red); color: var(--cream); }
.account-content nav [aria-current="page"] span { background: var(--surface-2); border-color: var(--red); color: var(--cream); }
.account-content nav [aria-disabled="true"] span { opacity: .4; pointer-events: none; }

/* Select con flecha custom en auth-wrap */
.auth-wrap select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%238E7F6E' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

@media (max-width: 860px) {
  .account-layout { grid-template-columns: 1fr; gap: 14px; }
  .account-sidebar { position: static; }
  .account-nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; border-radius: var(--r-sm); }
  .account-nav::-webkit-scrollbar { display: none; }
  .account-nav-link { border-bottom: none; border-right: 1px solid var(--line); white-space: nowrap; flex-shrink: 0; }
  .account-nav-link:last-child { border-right: none; }
  .account-nav-link.active { border-left: none; padding-left: 13px; border-bottom: 2px solid var(--red); }
  .account-nav-link.danger { display: none; }
}
@media (max-width: 600px) {
  .account-content .col-sm-4, .account-content .col-md-4, .account-content .col-xs-12 { flex: 0 0 100%; max-width: 100%; }
  .account-content .col-sm-5, .account-content .col-sm-6, .account-content .col-sm-7 { flex: 0 0 100%; max-width: 100%; }
  .account-content .d-sm-flex { flex-direction: column; }
  .account-content .w-sm-25 { width: 60px; }
  .order-journey-heading { flex-direction: column; }
  .order-journey-steps { grid-template-columns: 1fr; gap: 10px; }
  .order-journey-steps span { align-items: center; grid-template-columns: 26px 1fr; }
  .order-journey-steps i { width: 26px; }
}

@media (max-width: 500px) {
  .auth-wrap .col-sm-6 { flex: 0 0 100%; }
  .auth-wrap .form-row .col-sm-6 { flex: 1 1 100%; }
  .auth-wrap .d-md-flex { flex-direction: column; align-items: flex-start; gap: 10px; }
  .auth-wrap .flex-sm-row { flex-direction: column; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 420px; margin-inline: auto; }
  .hero-inner { min-height: auto; }
  .hero-copy { min-height: auto; }
  .hero-art { min-height: auto; }
  .hero-art picture, .hero-photo { width: 100%; }
  .about-grid { grid-template-columns: 1fr; }
  .cat-bar { top: 66px; }
}

/* ==========================================================================
   Responsive — 900px (nav→hamburguesa, grids 1–2 col) · 600px (1 col)
   ========================================================================== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta .btn-text-hide { display: none; }
  .nav-cart-total { font-size: 14px; }
  .nav-cart-btn { min-width: 46px; padding: 9px 14px; gap: 8px; }
  .nav-burger { display: inline-flex; }
  .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  /* 3 items en 2-col: el último no queda huérfano a media anchura */
  .cols-3 > *:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-inner { height: 66px; }
  body { padding-top: 66px; }
  .hero { margin-top: -66px; padding-top: 66px; }
  .page-hero { margin-top: -66px; padding-top: calc(66px + clamp(40px, 6vw, 72px)); }
}

/* ==========================================================================
   Responsive extra — mejoras móvil
   ========================================================================== */

/* ── 768px ─ tablet ajustes finos ──────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-title { font-size: clamp(46px, 11vw, 100px); }
  .promo-title { font-size: clamp(30px, 6vw, 50px); }
  .promo { min-height: 240px; }
  .about-stats { gap: 24px; }
}

/* ── 600px adicionales ─────────────────────────────────────────────────── */
@media (max-width: 600px) {
  /* Hero — sin altura 100dvh para evitar huecos enormes en móvil */
  .hero { min-height: auto; }
  .hero-inner { gap: 24px; padding-block: clamp(24px, 7vw, 44px); }
  .hero-art { max-width: 300px; }
  .hero-photo { width: 100%; }

  /* Chips: pasan de flotantes a una fila ordenada bajo la foto */
  .hero-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 16px;
  }
  .hero-chip { position: static; animation: none; box-shadow: none; }

  /* Sello y etiqueta: estorban en pantallas pequeñas */
  .hero-seal { display: none; }
  .hero-art-tag { display: none; }

  .hero-title { font-size: clamp(42px, 13vw, 68px); }
  .hero-lead { font-size: 15px; }
  .hero-cta { flex-direction: column; gap: 10px; }
  .hero-cta .btn { width: 100%; justify-content: center; }

  /* Section top: apilar título + botón "Ver todas" */
  .section-top { flex-direction: column; align-items: flex-start; gap: 12px; }
  .section-top > .btn { align-self: flex-start; }

  /* CTA band: apilar verticalmente */
  .cta-band { flex-direction: column; align-items: stretch; gap: 18px; }
  .cta-band .btn { width: 100%; justify-content: center; }
  .cta-title { font-size: clamp(28px, 9vw, 48px); }

  /* About */
  .about-stats { gap: 16px; }
  .about-stats .display { font-size: 30px; }
  .about-lead { font-size: 16px; }

  /* Cards */
  .value-card { padding: 18px; gap: 10px; }

  /* Footer legal: apilar */
  .footer-legal { flex-direction: column; gap: 6px; font-size: 11px; }

  /* Eyebrow */
  .eyebrow { font-size: 11px; letter-spacing: .18em; gap: 10px; }
  .eyebrow .bar { width: 22px; }

  /* Prod card */
  .prod-name { font-size: 17px; }
  .prod-price { font-size: 24px; }
}

/* ── 480px — móviles pequeños ─────────────────────────────────────────── */
@media (max-width: 480px) {
  .hero-art { max-width: 260px; }
  .hero-title { font-size: clamp(36px, 12.5vw, 54px); }

  /* About stats: cuadrícula 2×2 */
  .about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
  .about-stats .display { font-size: 26px; }

  /* Page hero */
  .page-hero h1 { font-size: clamp(34px, 12vw, 68px); }

  /* Promo */
  .promo { padding: 22px 20px; min-height: 200px; }
  .promo-title { font-size: clamp(26px, 8vw, 38px); }

  /* Section title */
  .section-title { font-size: clamp(28px, 9vw, 56px); }
}

/* ==========================================================================
   Animaciones — entrada hero + reveal al hacer scroll
   ========================================================================== */

@keyframes fadeUpIn {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: none; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(.93); }
  to   { opacity: 1; transform: none; }
}

/* Entrada del hero (primer plano, sin IO) */
.hero-copy .eyebrow    { animation: fadeUpIn .55s .05s cubic-bezier(.22,1,.36,1) both; }
.hero-copy .hero-title { animation: fadeUpIn .70s .14s cubic-bezier(.22,1,.36,1) both; }
.hero-copy .hero-lead  { animation: fadeUpIn .70s .24s cubic-bezier(.22,1,.36,1) both; }
.hero-copy .hero-cta   { animation: fadeUpIn .65s .34s cubic-bezier(.22,1,.36,1) both; }
.hero-art              { animation: scaleIn  .90s .20s cubic-bezier(.22,1,.36,1) both; }
/* Respeta "prefers-reduced-motion" */
@media (prefers-reduced-motion: reduce) {
  .hero-copy .eyebrow, .hero-copy .hero-title, .hero-copy .hero-lead,
  .hero-copy .hero-cta,
  .hero-art { animation: none; }
}

/* ── Scroll reveal — elementos individuales ─────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .72s cubic-bezier(.22,1,.36,1),
              transform .72s cubic-bezier(.22,1,.36,1);
}
.reveal.in-view           { opacity: 1; transform: none; }
.reveal[data-dir='left']  { transform: translateX(-38px); }
.reveal[data-dir='right'] { transform: translateX(38px); }
.reveal[data-dir='scale'] { transform: scale(.93) translateY(18px); }
.reveal[data-delay='1']   { transition-delay: .08s; }
.reveal[data-delay='2']   { transition-delay: .18s; }
.reveal[data-delay='3']   { transition-delay: .28s; }
.reveal[data-delay='4']   { transition-delay: .38s; }

/* ── Stagger-reveal — el IO observa el contenedor, los hijos se escalonan */
.stagger-reveal > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .70s cubic-bezier(.22,1,.36,1),
              transform .70s cubic-bezier(.22,1,.36,1);
}
.stagger-reveal.in-view > *      { opacity: 1; transform: none; }
.stagger-reveal > *:nth-child(1) { transition-delay: .04s; }
.stagger-reveal > *:nth-child(2) { transition-delay: .13s; }
.stagger-reveal > *:nth-child(3) { transition-delay: .22s; }
.stagger-reveal > *:nth-child(4) { transition-delay: .31s; }
.stagger-reveal > *:nth-child(5) { transition-delay: .40s; }
.stagger-reveal > *:nth-child(6) { transition-delay: .49s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .stagger-reveal > * { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Espaciado — más aire en el contenido
   ========================================================================== */
.section       { padding-block: clamp(72px, 10vw, 130px); }
.section.tight { padding-block: clamp(52px,  7vw,  96px); }
.grid          { gap: clamp(22px, 2.5vw, 32px); }

/* ==========================================================================
   Footer — rediseño editorial
   ========================================================================== */
.footer-wordmark {
  font-family: var(--f-display);
  font-size: clamp(100px, 26vw, 280px);
  line-height: .82;
  color: rgba(255, 255, 255, .04);
  text-transform: uppercase;
  letter-spacing: -.02em;
  text-align: center;
  white-space: nowrap;
  margin-top: clamp(20px, 3vw, 36px);
  margin-bottom: -.18em;
  user-select: none;
  pointer-events: none;
}
/* Nav links en columna Explora */
.footer-nav-links { display: flex; flex-direction: column; margin-top: 4px; }
.footer-nav-links a { display: block; color: var(--cream-d); font-size: 15px; padding-block: 6px; transition: color .2s, padding-left .2s; }
.footer-nav-links a:hover { color: var(--red); padding-left: 5px; }
/* Cuadrícula del footer */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.1fr;
  gap: clamp(32px, 4.5vw, 72px);
  padding-block: clamp(44px, 6vw, 72px);
  border-top: 1px solid var(--line);
}
/* Links de contacto en la columna de marca */
.footer-contact-links { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.footer-contact-link {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--cream-d); font-size: 14px; transition: color .2s;
}
.footer-contact-link:hover { color: var(--red); }
.footer-contact-link .ico { color: var(--red); flex: none; width: 16px; height: 16px; }

/* Footer responsive */
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-wordmark { font-size: clamp(80px, 22vw, 180px); }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-wordmark { font-size: clamp(64px, 22vw, 120px); }
}

/* ==========================================================================
   Páginas de cuenta — siempre ocupan el 100% del viewport, espaciado compacto
   ========================================================================== */
.section.account-pg {
  padding-block: clamp(20px, 3vw, 32px);
  min-height: calc(100svh - 76px);
}
.account-pg .account-header { margin-bottom: 16px; }
.account-pg .account-greeting { font-size: clamp(20px, 2.8vw, 32px); }
.account-pg .account-section { padding: clamp(14px, 1.8vw, 20px); margin-bottom: 12px; }
.account-pg .account-section-title { margin-bottom: 12px; padding-bottom: 10px; }
.account-pg .auth-wrap .form-group { margin-bottom: 10px; }
.account-pg .auth-wrap .mb-3 { margin-bottom: 10px; }

/* — Scrollbars personalizados premium — */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-2);
}
::-webkit-scrollbar-thumb {
  background: var(--line-2);
  border-radius: 999px;
  border: 2px solid var(--bg-2);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--red);
}

/* ==========================================================================
   Utilidades de transición para Alpine (x-transition:enter/leave)
   Los templates usan nombres al estilo Tailwind (opacity-0, scale-95…) pero
   este proyecto no incluye Tailwind: sin estas reglas esas clases no existen
   y Alpine no anima nada (el elemento aparece/desaparece de golpe).
   ========================================================================== */
.transition { transition-property: opacity, transform; }
.ease-out { transition-timing-function: cubic-bezier(.16, 1, .3, 1); }
.ease-in { transition-timing-function: cubic-bezier(.6, 0, .85, .15); }
.duration-200 { transition-duration: 200ms; }
.duration-250 { transition-duration: 250ms; }
.duration-300 { transition-duration: 300ms; }
.duration-350 { transition-duration: 350ms; }
.duration-400 { transition-duration: 400ms; }
.opacity-0 { opacity: 0; }
.opacity-100 { opacity: 1; }
.translate-y-0,
.translate-y-3,
.translate-y-4,
.translate-y-16,
.-translate-y-4,
.scale-95,
.scale-100 {
  transform: translateY(var(--mtx-ty, 0)) scale(var(--mtx-sc, 1));
}
.translate-y-0 { --mtx-ty: 0; }
.translate-y-3 { --mtx-ty: .75rem; }
.translate-y-4 { --mtx-ty: 1rem; }
.translate-y-16 { --mtx-ty: 4rem; }
.-translate-y-4 { --mtx-ty: -1rem; }
.scale-95 { --mtx-sc: .95; }
.scale-100 { --mtx-sc: 1; }

@media (prefers-reduced-motion: reduce) {
  .transition { transition-duration: 1ms !important; }
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) var(--bg-2);
}

/* ==========================================================================
   Martxel Burger — order.css
   Estilos del flujo de pedido, formularios, modal, checkout y contacto.
   ========================================================================== */

/* ---------- Campos de formulario (compartido contacto/checkout) ---------- */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label, .cform-block legend, .opt-title {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field textarea, .contact-form input, .contact-form textarea, textarea, input[type=text], input[type=email], input[type=tel] {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--cream);
  font-family: var(--f-body);
  font-size: 15px;
  padding: 13px 15px;
  transition: border-color .2s;
}
.field input:focus, .field textarea:focus, textarea:focus, input:focus {
  outline: none;
  border-color: var(--red);
}
.field input::placeholder, .field textarea::placeholder, textarea::placeholder, input::placeholder { color: var(--muted); }

/* Validación del checkout */
.field-error { color: var(--red); font-size: 12.5px; line-height: 1.35; font-weight: 600; }
.input-error { border-color: var(--red) !important; background: color-mix(in oklch, var(--red) 8%, var(--surface-2)); }
.form-error-banner {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
  padding: 12px 16px; border-radius: var(--r-sm);
  background: color-mix(in oklch, var(--red) 14%, var(--surface)); border: 1px solid var(--red-d);
  color: var(--cream); font-size: 14px; font-weight: 600;
}
.form-error-banner .ico { flex: none; color: var(--red); }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4vw, 56px); }
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.info-row {
  display: flex; align-items: center; gap: 16px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 18px 20px; transition: border-color .2s;
}
.info-row:hover { border-color: var(--line-2); }
.info-ico {
  width: 46px; height: 46px; flex: none; border-radius: 12px;
  background: var(--surface-2); color: var(--red);
  display: inline-grid; place-items: center;
}
.info-ico .ico {
  display: block;
  width: 20px;
  height: 20px;
}
.info-row small { display: block; color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 3px; }
.info-row strong { font-family: var(--f-heading); font-size: 16px; line-height: 1.3; }
.info-hours { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; margin-top: 6px; }
.info-hours h3 { display: flex; align-items: center; gap: 8px; font-size: 16px; margin-bottom: 14px; }
.contact-form-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 3vw, 40px); }
.form-sent { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 40px 0; }
.location-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: clamp(24px, 4vw, 40px);
  align-items: stretch;
  padding: clamp(24px, 4vw, 40px);
  background:
    radial-gradient(circle at top left, color-mix(in oklch, var(--red) 18%, transparent), transparent 42%),
    linear-gradient(135deg, color-mix(in oklch, var(--surface) 86%, var(--bg)) 0%, var(--surface) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.location-copy { display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.display-sm { margin: 0; font-size: clamp(30px, 5vw, 54px); line-height: .95; }
.location-address {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: color-mix(in oklch, var(--surface-2) 78%, transparent);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.location-address .info-ico {
  align-self: center;
  display: grid;
  place-items: center;
}
.location-art {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--surface-2);
}
.location-art #martxel-map {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  filter: none;
}
.location-art .leaflet-container { background: #17120f; font-family: var(--f-body); }
.location-art .leaflet-tile { filter: sepia(.28) saturate(.65) brightness(.72) contrast(1.12); }
.location-art .leaflet-control-zoom { border: 1px solid var(--line-2); }
.location-art .leaflet-control-zoom a { background: var(--surface); color: var(--cream); border-color: var(--line); }
.location-art .leaflet-control-attribution { background: rgba(11,9,7,.78); color: var(--muted); }
.location-art .leaflet-control-attribution a { color: var(--cream-d); }
.martxel-map-marker { border-radius: 50%; background: var(--red); border: 3px solid var(--cream); box-shadow: 0 0 0 7px color-mix(in oklch, var(--red) 28%, transparent), 0 8px 18px rgba(0,0,0,.45); }
.martxel-map-marker span { display: block; width: 8px; height: 8px; margin: 5px; border-radius: 50%; background: var(--cream); }
.location-art .leaflet-popup-content-wrapper, .location-art .leaflet-popup-tip { background: var(--surface); color: var(--cream); }
.location-art .leaflet-popup-content { line-height: 1.5; }
.location-art::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11,9,7,.04), rgba(11,9,7,.48));
}
.location-art-card {
  z-index: 1;
}
.location-address small { display: block; margin-bottom: 4px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.location-address strong,
.location-address span { display: block; }
.location-address span:last-child { color: var(--cream-d); }
.location-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Contacto: mapa integrado en la estética oscura de Martxel. */
.location-showcase {
  box-shadow: 0 24px 60px rgba(0,0,0,.22);
}
.location-copy > p { max-width: 48ch; line-height: 1.65; }
.location-art-card strong { font-family: var(--f-heading); text-transform: uppercase; letter-spacing: .02em; }
.location-art-card span:last-child { color: var(--cream-d); font-size: 13px; }
.location-art-card .location-pill { color: var(--cream); }

@media (max-width: 600px) {
  .location-showcase { padding: 20px; gap: 22px; }
  .location-copy { gap: 14px; }
  .location-address { padding: 14px; }
  .location-actions .btn { flex: 1 1 100%; justify-content: center; }
  .location-art { min-height: 280px; }
  .location-art #martxel-map { min-height: 280px; }
  .location-art-card { left: 14px; right: 14px; bottom: 14px; padding: 14px 16px; }
}
.location-art {
  position: relative;
  min-height: 320px;
  border-radius: calc(var(--r) - 4px);
  background:
    linear-gradient(160deg, color-mix(in oklch, var(--red) 24%, transparent), transparent 54%),
    color-mix(in oklch, var(--bg) 86%, black);
  border: 1px solid var(--line);
  overflow: hidden;
}
.location-art::before,
.location-art::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: color-mix(in oklch, var(--red) 34%, transparent);
  filter: blur(8px);
}
.location-art::before { width: 220px; height: 220px; top: -80px; right: -60px; }
.location-art::after { width: 140px; height: 140px; bottom: 28px; left: 18px; }
.location-art-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(color-mix(in oklch, var(--cream) 8%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in oklch, var(--cream) 8%, transparent) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent);
}
.location-art-card {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  background: color-mix(in oklch, var(--surface) 86%, transparent);
  backdrop-filter: blur(12px);
  border: 1px solid color-mix(in oklch, var(--red) 22%, var(--line));
  border-radius: 18px;
}
.location-pill {
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  background: color-mix(in oklch, var(--red) 18%, transparent);
  color: var(--red);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ---------- Pedido: cabecera + fulfillment ---------- */
.order-app { view-transition-name: order-flow; }
.order-top { padding-block: clamp(40px, 6vw, 72px) 0; }
.fulfill-toggle {
  display: inline-flex; gap: 6px; margin-top: 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px;
}
.fulfill-toggle button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; border: none; background: transparent;
  color: var(--cream-d); font-family: var(--f-heading); text-transform: uppercase; font-size: 13px;
  transition: background .2s, color .2s;
}
.fulfill-toggle button.active { background: var(--red); color: var(--cream); }

@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(cart-anchor),
  ::view-transition-new(cart-anchor) {
    animation-duration: 260ms;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  }

  ::view-transition-old(order-flow),
  ::view-transition-new(order-flow) {
    animation-duration: 300ms;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  }

  ::view-transition-old(order-flow) {
    animation-name: mtx-order-out;
  }

  ::view-transition-new(order-flow) {
    animation-name: mtx-order-in;
  }
}

@keyframes mtx-order-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mtx-order-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-12px);
  }
}

/* ---------- Pedido: layout ---------- */
.order-layout { display: block; padding-block: 0 80px; }
.order-main { min-width: 0; max-width: 1280px; margin-inline: auto; }
.cat-tabs {
  position: sticky; top: 75px; z-index: 60;
  display: flex; gap: 12px; overflow-x: auto;
  padding: 20px 0 18px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in oklch, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  scrollbar-width: none;
  cursor: grab;
}
.cat-tabs.active-drag {
  cursor: grabbing;
  user-select: none;
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tabs-outer {
  position: relative;
  width: 100%;
  padding-inline: clamp(16px, 4vw, 40px);
  margin-bottom: 36px;
}
.cat-tabs-fade {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 70px;
  background: linear-gradient(to right, transparent, var(--bg));
  pointer-events: none;
  z-index: 70;
}
.cat-tab {
  padding: 14px 26px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  color: var(--cream-d); font-family: var(--f-heading); text-transform: uppercase; font-size: 15px; white-space: nowrap; letter-spacing: .04em;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.cat-tab:hover { color: var(--cream); border-color: var(--line-2); }
.cat-tab.active { background-color: var(--red); border-color: var(--red); color: var(--cream); transform: scale(1.02); }

/* Categoría con imagen en pestañas */
.cat-tabs--img { gap: 16px; align-items: center; padding: 12px 0; }
.cat-tab--img {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  width: 200px;
  height: 130px;
  flex: 0 0 200px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 16px 18px;
  text-align: left;
  white-space: normal;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s;
}

.cat-tab--img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.85) 100%);
  z-index: 1;
  transition: opacity 0.25s;
}

.cat-tab--img:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.cat-tab--img.active {
  background-color: transparent;
  border-color: var(--red);
  transform: scale(1.02);
}

.cat-tab--content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
}

.cat-tab-name {
  color: var(--cream);
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
}

.cat-tab-count {
  color: var(--muted);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cat-tab--img.active .cat-tab-count {
  color: var(--red);
}

/* Cuadrícula de productos */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(var(--menu-cols, 2), 1fr);
  gap: 20px;
}

/* Cabecera de categoría en el pedido: más aire y prominencia */
.order-cat .menu-cat-head { margin-bottom: 32px; }

/* Animación de entrada escalonada de las tarjetas */
@keyframes mtx-card-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Tarjeta de producto en pedido */
.oprod {
  display: flex; flex-direction: column;
  background:
    linear-gradient(180deg, rgba(255,255,255,.02) 0%, rgba(255,255,255,0) 100%),
    #120d0a;
  border: 1px solid rgba(214, 187, 156, .28);
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  min-height: 100%;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  animation: mtx-card-in 500ms cubic-bezier(.16, 1, .3, 1) both;
  animation-delay: calc(var(--i, 0) * 60ms);
}
.oprod--noimg { padding-top: 18px; }
.oprod:hover {
  border-color: rgba(255, 92, 64, .55);
  transform: translateY(-5px) scale(1.01);
  box-shadow:
    0 28px 50px rgba(0,0,0,.42),
    0 0 0 1px rgba(220, 34, 34, .12),
    inset 0 1px 0 rgba(255,255,255,.04);
}
.oprod:hover .add-btn { transform: scale(1.08); }
.oprod .add-btn { transition: transform .2s cubic-bezier(.34, 1.56, .64, 1); }
.oprod:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.oprod-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    radial-gradient(120% 130% at 50% 0%, rgba(110, 58, 24, .4) 0%, rgba(18, 13, 10, .92) 60%, #100b08 100%);
  border-bottom: 1px solid rgba(214, 187, 156, .16);
  display: grid;
  place-items: center;
  padding: 10px 18px 0;
}
.oprod-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  transition: transform .45s ease;
  filter: drop-shadow(0 18px 24px rgba(0,0,0,.42));
}
.oprod:hover .oprod-thumb img { transform: scale(1.04); }
.oprod-thumb svg {
  width: min(78%, 240px);
  filter: drop-shadow(0 18px 24px rgba(0,0,0,.42));
}
.oprod-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
  padding: 18px 18px 16px;
}
.oprod-name {
  font-family: var(--f-heading);
  text-transform: uppercase;
  font-size: 23px;
  line-height: .96;
  letter-spacing: .02em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.oprod-desc {
  color: rgba(245, 237, 220, .74);
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.oprod .prod-allergens { gap: 6px; margin-top: 0; min-height: 28px; }
.oprod .allergen {
  padding: 5px 8px;
  font-size: 10px;
  letter-spacing: .04em;
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.08);
  color: rgba(245, 237, 220, .82);
}
.allergen-guide {
  max-width: 760px;
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid rgba(245,237,220,.14);
  border-left: 3px solid var(--red);
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.035);
  color: rgba(245,237,220,.72);
  font-size: 13px;
  line-height: 1.5;
}
.allergen-guide-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--cream);
  font-family: var(--f-heading);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.allergen-guide-title .ico { width: 16px; height: 16px; color: var(--red); }
.allergen-guide p { margin: 7px 0 9px; }
.allergen-guide-list {
  color: rgba(245,237,220,.9);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.oprod-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 2px;
}
.oprod-price {
  font-family: var(--f-display);
  font-size: 33px;
  line-height: .9;
  color: var(--cream);
}
.oprod .add-btn {
  width: 42px;
  height: 42px;
  flex: none;
  box-shadow: 0 10px 20px rgba(237, 48, 38, .22);
}
.oprod .add-btn svg {
  width: 18px;
  height: 18px;
}

/* Lista de ingredientes en combos */
.combo-list {
  list-style: none; padding: 0; margin: 6px 0 8px; flex: 1;
  display: flex; flex-direction: column; gap: 3px;
}
.combo-list li {
  font-size: 12.5px; color: var(--cream-d); line-height: 1.4;
  padding-left: 14px; position: relative;
}
.combo-list li::before { content: "•"; position: absolute; left: 0; color: var(--red); }

/* ---------- Configurador de combo ---------- */
.combo-modal-inner { max-width: 600px; }
.combo-body { gap: 14px; }

.combo-slot { border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.combo-slot:last-child { border-bottom: none; padding-bottom: 0; }

.combo-slot-fixed {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--cream-d); padding: 10px 0;
}
.combo-fixed-tag {
  margin-left: auto; font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); background: var(--surface-2);
  border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px;
}

.combo-slot-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.combo-slot-label { font-family: var(--f-heading); text-transform: uppercase; font-size: 13px; letter-spacing: .05em; }
.combo-slot-badge {
  font-family: var(--f-mono); font-size: 12px; padding: 3px 10px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--muted);
  transition: background .2s, color .2s, border-color .2s;
}
.combo-slot-badge.done { background: color-mix(in oklch, var(--lettuce) 18%, var(--surface-2)); border-color: var(--lettuce); color: var(--lettuce); }

.combo-opts { display: flex; flex-direction: column; gap: 8px; }
.combo-opt {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 10px 12px; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.combo-opt:hover { border-color: var(--line-2); }
.combo-opt.active { border-color: var(--red); background: color-mix(in oklch, var(--red) 10%, var(--surface-2)); }
.combo-opt-img {
  width: 52px; height: 52px; border-radius: var(--r-sm); flex: none;
  object-fit: cover; background: var(--surface); display: block;
}
.combo-opt-placeholder { display: grid; place-items: center; }
.combo-opt-placeholder svg { width: 80%; }
.combo-opt-info { flex: 1; min-width: 0; }
.combo-opt-name { display: block; font-family: var(--f-heading); font-size: 14px; line-height: 1.2; }
.combo-opt-price { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.combo-opt-sel { margin-left: auto; flex: none; }

.combo-opt-qty { display: inline-flex; align-items: center; gap: 6px; }
.combo-qty-btn {
  width: 28px; height: 28px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--cream); display: inline-grid; place-items: center;
}
.combo-qty-btn:disabled { opacity: .35; cursor: not-allowed; }
.combo-opt-qty span { min-width: 16px; text-align: center; font-family: var(--f-heading); font-size: 14px; }

/* ---------- Burger personalizable dentro del combo (una a una, estilo VICIO) ---------- */
.combo-burger {
  display: flex; flex-direction: column; gap: 12px;
  padding: 14px; margin-top: 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
}
.combo-burger:first-child { margin-top: 0; }
.combo-burger .combo-slot-head { margin-bottom: 0; }
.combo-burger .combo-slot-badge {
  width: 26px; height: 26px; padding: 0; display: inline-grid; place-items: center;
}
.combo-burger .combo-slot-badge .ico { width: 15px; height: 15px; }
.combo-custom {
  display: flex; flex-direction: column; gap: 8px;
  padding-top: 12px; border-top: 1px dashed var(--line);
}
.combo-custom .opt-title { margin-bottom: 2px; }
.combo-custom .opt-row { padding: 11px 14px; font-size: 14px; }

/* ---------- Configurador de combo / ficha de producto: pantalla completa ---------- */
/* Al seleccionar un producto se abre como una pestaña independiente que ocupa
   todo el viewport, sin bordes redondeados ni margen de aire. */
.combo-screen {
  position: fixed; inset: 0; z-index: 300;
  background: var(--bg-2);
  display: flex; align-items: stretch; justify-content: stretch;
  padding: 0;
}
.combo-screen-inner {
  position: relative;
  display: flex; flex-direction: column;
  width: 100%;
  height: 100vh; height: 100dvh;
  min-height: 0;
  background: var(--bg-2);
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

/* Transiciones personalizadas de la pestaña completa */
.mtx-screen-fade-enter { transition: opacity 280ms cubic-bezier(.22, 1, .36, 1); }
.mtx-screen-fade-enter-start { opacity: 0; }
.mtx-screen-fade-enter-end { opacity: 1; }
.mtx-screen-fade-leave { transition: opacity 220ms ease-in; }
.mtx-screen-fade-leave-start { opacity: 1; }
.mtx-screen-fade-leave-end { opacity: 0; }

.mtx-screen-enter { transition: opacity 360ms cubic-bezier(.22, 1, .36, 1), transform 360ms cubic-bezier(.22, 1, .36, 1); }
.mtx-screen-enter-start { opacity: 0; transform: translateY(40px) scale(.96); }
.mtx-screen-enter-end { opacity: 1; transform: translateY(0) scale(1); }
.mtx-screen-leave { transition: opacity 220ms ease-in, transform 220ms ease-in; }
.mtx-screen-leave-start { opacity: 1; transform: translateY(0) scale(1); }
.mtx-screen-leave-end { opacity: 0; transform: translateY(24px) scale(.98); }

.combo-screen,
.combo-screen-inner {
  will-change: transform, opacity;
}

/* Barra superior fija */
.combo-screen-bar {
  flex: none; display: flex; align-items: center; gap: 16px;
  padding: 20px clamp(16px, 4vw, 40px) 14px;
  background: color-mix(in oklch, var(--bg-2) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.combo-back {
  display: inline-flex; align-items: center; gap: 10px; flex: none;
  font-family: var(--f-heading); text-transform: uppercase; font-size: 13px;
  letter-spacing: .04em; color: var(--cream); background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 14px 8px 10px; cursor: pointer;
  transition: border-color .2s, background .2s, color .2s, transform .2s;
}
.combo-back:hover {
  color: var(--cream);
  border-color: var(--red);
  background: var(--red);
  transform: translateX(-2px);
}
.combo-back-ico {
  display: inline-grid; place-items: center;
  width: 26px; height: 26px; border-radius: 999px;
  background: var(--surface); color: var(--cream);
}
.combo-back:hover .combo-back-ico { background: rgba(0,0,0,.2); }
.combo-back .ico { width: 14px; height: 14px; }
.combo-back-arrow { transform: rotate(180deg); }
.combo-bar-title {
  flex: 1; min-width: 0; text-align: center; font-size: 16px; text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.combo-bar-price { flex: none; font-family: var(--f-display); color: var(--red); font-size: 20px; }

/* Cuerpo desplazable + contenedor centrado verticalmente cuando hay poco contenido */
.combo-screen-body {
  flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  display: flex; flex-direction: column; align-items: stretch;
}
.combo-screen-wrap { width: 100%; max-width: 920px; margin: auto; padding: clamp(24px, 5vh, 56px) clamp(16px, 4vw, 40px); }

/* Cabecera grande */
.combo-hero {
  display: flex; align-items: center; justify-content: space-between; gap: clamp(24px, 5vw, 56px);
  padding: clamp(28px, 6vh, 64px) 0;
}
.combo-hero-text { min-width: 0; }
.combo-hero-price { display: block; font-family: var(--f-display); color: var(--red); font-size: clamp(24px, 4vw, 38px); margin-bottom: 4px; }
.combo-hero-title { font-size: clamp(32px, 6vw, 60px); line-height: .95; margin: 6px 0 14px; }
.combo-hero-sub { color: var(--cream-d); font-size: clamp(14px, 1.6vw, 17px); max-width: 52ch; line-height: 1.55; }
.combo-hero-art { flex: none; width: clamp(170px, 32vw, 340px); }
.combo-hero-art img { width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 28px 44px rgba(0, 0, 0, .55)); }

/* Cada slot como sección grande */
.combo-screen .combo-slot { border-bottom: 1px solid var(--line); padding: clamp(20px, 3vw, 32px) 0; }
.combo-screen .combo-slot:last-child { border-bottom: none; }
.combo-screen .combo-slot-head { margin-bottom: 16px; }
.combo-screen .combo-slot-label { font-size: clamp(16px, 2.6vw, 22px); }

/* Tarjetas de opción GRANDES: foto arriba, nombre y precio debajo */
.combo-screen .combo-opts {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px;
}
.combo-screen .combo-opt {
  position: relative; flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow: hidden;
  border-radius: var(--r);
  transition: border-color .15s, transform .2s, box-shadow .2s;
}
.combo-screen .combo-opt:hover { transform: translateY(-3px); box-shadow: 0 14px 26px rgba(0, 0, 0, .3); }
.combo-screen .combo-opt-img {
  width: 100%; aspect-ratio: 4 / 3; height: auto; max-height: clamp(120px, 18vw, 168px);
  border-radius: 0;
}
.combo-screen .combo-opt-info { padding: 12px 14px; }
.combo-screen .combo-opt-name { font-size: 15px; }
.combo-screen .combo-opt-price { font-size: 14px; color: var(--red); font-family: var(--f-mono); margin-top: 4px; }
.combo-screen .combo-opt-sel {
  position: absolute; top: 10px; right: 10px; margin: 0; line-height: 0;
  background: var(--bg); border-radius: 999px; padding: 5px; box-shadow: 0 2px 10px rgba(0, 0, 0, .45);
}
.combo-screen .combo-opt-qty { background: var(--surface); border-radius: 999px; padding: 3px; }

/* Burger personalizable a ancho completo dentro de la pantalla: se destaca del
   resto de tarjetas (no es "una caja cuadrada más") con fondo en degradado y
   radio mayor, igual que las tarjetas de producto del menú (.oprod). */
.combo-screen .combo-burger {
  padding: clamp(18px, 2.5vw, 24px); margin-top: 18px;
  border-radius: calc(var(--r) + 4px);
  background:
    linear-gradient(180deg, color-mix(in oklch, var(--red) 6%, transparent) 0%, transparent 40%),
    var(--surface);
  border-color: var(--line-2);
}
.combo-screen .combo-custom { padding-top: 16px; }

/* CTA fijo inferior, barra "Añadir por X €" */
.combo-screen-foot {
  flex: none; border-top: 1px solid var(--line);
  background: color-mix(in oklch, var(--bg-2) 92%, transparent); backdrop-filter: blur(10px);
  padding: 14px clamp(16px, 4vw, 40px);
  padding-bottom: max(14px, env(safe-area-inset-bottom));
}
.combo-foot-inner { display: flex; align-items: center; gap: 16px; padding: 0; }
.combo-add-btn { flex: 1; justify-content: center; font-size: 16px; padding: 16px 20px; }

@media (max-width: 640px) {
  .combo-hero { flex-direction: column; align-items: center; gap: 18px; text-align: center; padding-top: 8px; }
  .combo-hero-art { width: clamp(180px, 58vw, 260px); }
  .combo-hero-sub { margin-inline: auto; }
  .combo-bar-title { display: none; }
  .combo-screen .combo-opts { grid-template-columns: repeat(auto-fill, minmax(135px, 1fr)); }
}

/* ---------- Ficha de producto: foto y botón de cierre del modal ---------- */
.modal-photo { width: 100%; aspect-ratio: 16 / 12; background: #000; }
.modal-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 38px; height: 38px; border-radius: 999px; border: none;
  background: rgba(0,0,0,.55); backdrop-filter: blur(4px); color: var(--cream);
  font-size: 26px; line-height: 1; display: inline-grid; place-items: center;
}
.modal-close:hover { background: var(--red); }

/* ---------- Carrito (rail / drawer) ---------- */
.order-rail { position: sticky; top: 96px; }
.cart-panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px; display: flex; flex-direction: column; gap: 18px;
  margin-top: 36px;
}
.cart-panel-head { display: flex; align-items: center; justify-content: space-between; }
.cart-panel-head h2 { font-size: 22px; }
.cart-clear { background: none; border: none; color: var(--muted); font-size: 14px; text-decoration: underline; }
.cart-clear:hover { color: var(--red); }
.cart-empty { text-align: center; padding: 36px 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cart-lines { display: flex; flex-direction: column; gap: 14px; max-height: 46vh; overflow-y: auto; }
.cart-line { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 16px; background: var(--bg-2); }
.cart-line-top { display: flex; justify-content: space-between; gap: 10px; }
.cart-line-name { font-family: var(--f-heading); text-transform: uppercase; font-size: 15px; }
.cart-line-price { color: var(--cream); font-size: 15px; }
.cart-line-opts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cart-opt { font-size: 12px; color: var(--muted); background: var(--surface-2); border-radius: 999px; padding: 3px 10px; }
.cart-opt-note { font-style: italic; }
.cart-line-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.cart-edit { background: none; border: none; color: var(--muted); font-size: 13px; text-decoration: underline; margin-right: 14px; }
.cart-edit:hover { color: var(--lettuce); }
.cart-remove { background: none; border: none; color: var(--muted); font-size: 13px; text-decoration: underline; }
.cart-remove:hover { color: var(--red); }

/* Cantidad */
.qty { display: inline-flex; align-items: center; gap: 4px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.qty button { width: 32px; height: 32px; border-radius: 999px; border: none; background: transparent; color: var(--cream); display: inline-grid; place-items: center; }
.qty button:hover { background: var(--surface-3); }
.qty span { min-width: 26px; text-align: center; font-family: var(--f-heading); }
.qty-sm button { width: 28px; height: 28px; }

/* Totales */
.cart-totals { border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.cart-total-row { display: flex; justify-content: space-between; font-size: 15px; }
.cart-total-grand { font-family: var(--f-heading); text-transform: uppercase; font-size: 19px; color: var(--cream); margin-top: 6px; }
.cart-total-grand span:last-child { color: var(--red); font-family: var(--f-display); font-size: 28px; }
.cart-note { display: flex; align-items: center; gap: 9px; font-size: 14px; border-radius: var(--r-sm); padding: 12px 14px; margin-top: 4px; }
.cart-note .ico { flex: none; }
.cart-note.warn { background: color-mix(in oklch, var(--red) 14%, var(--surface)); color: var(--cream); border: 1px solid var(--red-d); }
.cart-note.ok { background: color-mix(in oklch, var(--lettuce) 14%, var(--surface)); color: var(--cream); border: 1px solid color-mix(in oklch, var(--lettuce) 50%, var(--line)); }
.cart-note.ok .ico { color: var(--lettuce); }
.cart-note.warn .ico { color: var(--red); }
.cart-checkout[disabled] { opacity: .45; cursor: not-allowed; }
.cart-checkout[disabled]:hover { transform: none; }

/* Barra + cajón móvil */
.cart-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 140; padding: 12px var(--pad); background: color-mix(in oklch, var(--bg) 90%, transparent); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.cart-bar-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; background: var(--red); color: var(--cream); border: none; border-radius: 999px; padding: 15px 22px; font-family: var(--f-heading); text-transform: uppercase; font-size: 15px; }
.cart-bar-btn .ico { width: 18px; height: 18px; }
.drawer-overlay { position: fixed; inset: 0; z-index: 180; background: rgba(0,0,0,.6); }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 190; width: min(440px, 92vw); background: var(--bg); border-left: 1px solid var(--line); padding: 20px; overflow-y: auto; transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; }
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; flex: none; }
.cart-drawer .cart-panel { border: none; padding: 0; background: transparent; flex: 1; min-height: 0; }

/* ---------- Ficha de producto (pantalla completa, .detail-screen) ---------- */
/* Hero más compacto: menos padding, título más pequeño */
.detail-screen .combo-hero { padding: clamp(16px, 3vh, 32px) 0; gap: 16px; }
.detail-screen .combo-hero-art { width: clamp(140px, 24vw, 220px); }
.detail-screen .combo-hero-title { font-size: clamp(24px, 4.5vw, 42px); margin: 0 0 8px; }
.detail-screen .combo-hero-sub { font-size: 14px; }
/* Secciones: borde sólido en lugar de puntos, mejor espaciado */
.detail-screen .combo-custom { border-top: 1px solid var(--line); border-top-style: solid; padding-top: 20px; padding-bottom: 8px; }
.detail-screen .combo-custom:first-of-type { border-top: none; padding-top: 0; }
.detail-screen .combo-screen-wrap { padding-bottom: 8px; }
@media (max-width: 640px) {
  .detail-screen .combo-hero { flex-direction: column; align-items: center; text-align: center; }
  .detail-screen .combo-hero-art { width: clamp(160px, 46vw, 220px); align-self: center; }
  .detail-screen .combo-hero-sub { margin-inline: auto; }
}

/* ---------- Modal personalizar ---------- */
.modal-overlay { position: fixed; inset: 0; z-index: 210; background: rgba(0,0,0,.7); backdrop-filter: blur(3px); }
.modal { position: fixed; z-index: 220; inset: 0; display: grid; place-items: center; padding: 16px; pointer-events: none; }
.modal-inner { position: relative; pointer-events: auto; width: min(560px, 100%); max-height: 90vh; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px; border-bottom: 1px solid var(--line); }
.modal-title { font-size: 22px; }
.modal-head p { font-size: 13.5px; margin-top: 4px; }
.modal-body { padding: 22px; overflow-y: auto; min-height: 0; display: flex; flex-direction: column; gap: 22px; }
.opt-stack { display: flex; flex-direction: column; gap: 22px; }
.opt-group { display: flex; flex-direction: column; gap: 10px; }
.opt-title { margin-bottom: 2px; }
.opt-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface-2); color: var(--cream); font-size: 14.5px; transition: border-color .2s, background .2s; }
.opt-row span:first-child { display: inline-flex; align-items: center; gap: 10px; }
.opt-row .ico { color: var(--muted); }
.opt-row.active { border-color: var(--red); background: color-mix(in oklch, var(--red) 12%, var(--surface-2)); }
.opt-row.active .ico { color: var(--red); }
.chip-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-toggle { cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip-toggle.removed { background: color-mix(in oklch, var(--red) 16%, var(--surface)); border-color: var(--red-d); color: var(--cream); text-decoration: line-through; }
.modal-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-top: 1px solid var(--line); background: var(--bg-2); }
.modal-foot .btn-red { flex: 1; justify-content: center; min-height: 52px; font-size: 15px; }

/* ---------- Checkout ---------- */
.checkout-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: start; }
.cform-block { border: 1px solid var(--line); border-radius: var(--r); padding: 22px; margin: 0 0 20px; }
.cform-block legend { padding: 0 8px; display: inline-flex; align-items: center; gap: 8px; }
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.slot { padding: 13px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface-2); color: var(--cream-d); font-family: var(--f-mono); font-size: 15px; transition: all .2s; }
.slot.active { border-color: var(--red); background: color-mix(in oklch, var(--red) 14%, var(--surface-2)); color: var(--cream); }
.pay-grid { display: flex; flex-direction: column; gap: 10px; }
.pay { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface-2); color: var(--cream); font-size: 15px; transition: border-color .2s, background .2s; }
.pay .ico { color: var(--red); }
.pay.active { border-color: var(--red); background: color-mix(in oklch, var(--red) 12%, var(--surface-2)); }
.checkout-summary { position: sticky; top: 96px; }
.checkout-summary .cart-panel { background: var(--bg-2); }

/* ---------- Confirmación ---------- */
.confirm { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; padding-block: clamp(60px, 12vw, 130px); }
.confirm-check { width: 90px; height: 90px; border-radius: 999px; background: var(--lettuce); display: inline-grid; place-items: center; }
.confirm-num { font-size: 22px; letter-spacing: .15em; color: var(--red); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 20px; }
.confirm-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }

/* ---------- Responsive (960px: carrito → cajón) ---------- */
@media (max-width: 960px) {
  .order-app .order-main { padding-bottom: 90px; }
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .menu-grid { grid-template-columns: repeat(2, 1fr) !important; }
  /* cat-tabs alineadas bajo la nav móvil (66px) */
  .cat-tabs { top: 66px; }
}
@media (max-width: 600px) {
  .contact-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .location-showcase { grid-template-columns: 1fr; }
  .location-art { min-height: 240px; }
  .slot-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-grid { grid-template-columns: 1fr !important; }
  .oprod { border-radius: 20px; }
  .oprod-thumb { aspect-ratio: 16 / 8.8; padding-inline: 12px; }
  .oprod-info { padding: 16px; gap: 8px; }
  .oprod-name { font-size: 20px; }
  .oprod-price { font-size: 29px; }
  .oprod-desc { font-size: 12.5px; }
  .oprod .allergen { font-size: 9.5px; }
  .oprod .add-btn { width: 40px; height: 40px; }
}

/* ── Mejoras móvil adicionales ─────────────────────────────────────────── */
@media (max-width: 600px) {
  /* Cabecera del pedido más compacta */
  .order-top { padding-block: clamp(20px, 5vw, 36px) 0; }
  .order-top .display { font-size: clamp(30px, 9vw, 52px) !important; }

  /* Toggle pickup/delivery ocupa todo el ancho disponible */
  .fulfill-toggle { display: flex; width: 100%; max-width: 400px; }
  .fulfill-toggle button { flex: 1; justify-content: center; padding: 11px 14px; font-size: 12.5px; }

  /* Cart drawer head */
  .cart-drawer-head h2 { font-size: 18px; }

  /* Formulario checkout */
  .cform-block { padding: 16px; }
  .slot-grid { gap: 8px; }
  .slot { padding: 11px 8px; font-size: 14px; }

  /* Confirmación */
  .confirm { padding-block: clamp(40px, 10vw, 80px); }
  .confirm-num { font-size: 18px; }
}

@media (max-width: 960px) {
  /* iOS safe-area para la barra flotante del carrito */
  .cart-bar { padding-bottom: max(12px, env(safe-area-inset-bottom, 12px)); }

  /* Pantalla de configurador (combos/detalle): pie con safe-area */
  .combo-screen-foot { padding-bottom: max(14px, env(safe-area-inset-bottom, 14px)); }
}

@media (max-width: 480px) {
  /* Cat tabs con imagen: reducir tamaño de foto */
  .cat-tab-img { width: 52px; height: 52px; }
  .cat-tab--img { min-width: 62px; padding: 8px 10px; }
  .cat-tab--img span { font-size: 10px; }

  /* Cards del menú más compactas */
  .oprod-thumb { aspect-ratio: 16 / 9.2; }
  .oprod-name { font-size: 18px; }
  .oprod-price { font-size: 26px; }

  /* Combo screen: opts más pequeñas */
  .combo-screen .combo-opts { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
  .combo-screen .combo-opt-img { height: clamp(100px, 22vw, 140px); }
}

/* ---------- Contacto: location showcase alineado con el sistema Martxel ---------- */
.location-showcase {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
  padding: clamp(24px, 4vw, 48px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: none;
}
.location-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 18px;
  min-width: 0;
}
.location-copy .eyebrow { margin-bottom: 2px; }
.location-copy > p {
  max-width: 44ch;
  margin: 0;
  color: var(--cream-d);
  line-height: 1.6;
}
.location-copy .display-sm {
  max-width: 9ch;
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(38px, 5vw, 68px);
  line-height: .9;
  letter-spacing: -.01em;
}
.location-address {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
.location-address .info-ico {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: var(--surface-2);
}
.location-address strong {
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 800;
}
.location-address span:last-child { font-size: 13px; }
.location-actions { gap: 10px; }
.location-actions .btn { min-height: 44px; }
.location-art {
  min-height: 380px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--bg-2);
  box-shadow: none;
}
.location-art::before,
.location-art::after { display: none; }
.location-art #martxel-map { min-height: 380px; }
.location-art .leaflet-tile { filter: grayscale(.9) brightness(.7) contrast(1.08) sepia(.15); }
.location-art-card {
  left: 16px;
  right: auto;
  bottom: 16px;
  width: min(250px, calc(100% - 32px));
  gap: 4px;
  padding: 14px 16px;
  background: color-mix(in oklch, var(--surface) 94%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
}
.location-art-card strong { font-family: var(--f-heading); font-size: 15px; }
.location-pill {
  padding: 0;
  background: transparent;
  color: var(--red) !important;
  font-size: 10px;
  letter-spacing: .12em;
}

@media (max-width: 800px) {
  .location-showcase { grid-template-columns: 1fr; }
  .location-copy .display-sm { max-width: 12ch; }
}
@media (max-width: 600px) {
  .location-showcase { padding: 20px; gap: 24px; }
  .location-art, .location-art #martxel-map { min-height: 300px; }
  .location-art-card { left: 12px; bottom: 12px; }
}

/* ── Ajustes de personalización en escritorio ──────────────────────────── */
@media (min-width: 769px) {
  .combo-screen-bar { padding-block: 16px; }

  /* Ajuste de imagen del héroe en escritorio para evitar estiramiento gigante */
  .combo-hero { align-items: center; }
  .combo-hero-art img {
    max-height: 200px;
    object-fit: contain;
    border-radius: 12px;
  }
}
