/* ===========================================================
   TANUKI SUSHI — estilos
   Paleta: crema #F2EDE4 · negro #1A1A1A / #111111 · tan #C4B8A8 · rojo #8B0000
   =========================================================== */

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* ----- Tokens base ----- */
:root {
  --cream: #F2EDE4;
  --ink: #1A1A1A;
  --ink-deep: #111111;
  --tan: #C4B8A8;
  --red: #8B0000;

  --font-display: 'Zilla Slab', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --font-body: 'Zen Kaku Gothic New', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Layout casi full-bleed: el contenido se estira con un margen lateral chico y fijo. */
  --maxw: 1920px;
  --gutter: clamp(1.5rem, 2.5vw, 2.5rem);
  --logo-w: clamp(300px, 52vw, 460px); /* ancho del logo en el hero (lo usa el hueco y el kicker) */
  --radius: 4px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ----- Tema OSCURO (por defecto) ----- */
[data-theme="dark"] {
  --bg: #111111;              /* negro base: body + todas las secciones */
  --bg-2: #111111;            /* igual al base, sin transición entre secciones */
  --surface: #1A1A1A;         /* tarjetas/combos: negro apenas más claro (elevación sutil) */
  --surface-2: #1A1A1A;
  --text: #F2EDE4;
  --muted: rgba(242, 237, 228, .60);
  --line: rgba(242, 237, 228, .14);
  --accent: #8B0000;          /* rojo de marca, unificado en ambos temas (rellenos/bordes) */
  --accent-strong: #E0524C;   /* rojo más brillante para textos/tags chicos sobre negro */
  --accent-ink: #F2EDE4;      /* texto sobre acento */
  --kanji: rgba(224, 82, 76, .40);
  --logo-ink: var(--red);
  --logo-paper: var(--cream);
  --logo-text: var(--cream);   /* textos del logo (latín + hiragana/kanji) en crema sobre fondos oscuros */
  --scrim: linear-gradient(180deg, rgba(10,7,5,.48) 0%, rgba(10,7,5,.62) 45%, rgba(17,17,17,.97) 100%);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  transition: background .5s var(--ease), color .5s var(--ease);
  overflow-x: hidden;
}

/* ----- Logo (recoloreable vía variables) ----- */
.logo { color: var(--logo-ink); height: auto; }
.logo use { color: inherit; }
.logo-defs { position: absolute; width: 0; height: 0; pointer-events: none; }
/* El logo del header se renderiza a tamaño grande (se escala hacia abajo vía JS para mantener nitidez). */
.logo--row { width: var(--logo-w); }
/* El hero muestra solo el wordmark sobre la foto oscura: el texto va siempre en crema. */
.logo--hero { width: clamp(300px, 52vw, 460px); --logo-text: var(--cream); }
/* El footer siempre tiene fondo oscuro: texto del logo en crema en ambos temas. */
.logo--footer { width: clamp(150px, 20vw, 184px); --logo-text: var(--cream); }

/* ===========================================================
   NAV
   =========================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  border-bottom: 1px solid transparent;
}
/* El fondo + blur al scrollear viven en un pseudo-elemento full-bleed, NO en .nav.
   Motivo: aplicar backdrop-filter sobre .nav lo convertiría en bloque contenedor de sus
   descendientes fixed (el drawer del menú), rompiendo su posicionamiento al estar scrolleado. */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity .4s var(--ease);
}
.nav.is-scrolled::before { opacity: 1; }
/* Sobre el hero (nav transparente, ambos temas): las letras del logo y los links van en
   crema para leer sobre la foto. Al scrollear, el logo y los links vuelven al color del tema
   (claro = rojo oscuro / negro · oscuro = crema). */
.nav:not(.is-scrolled) { --logo-text: var(--cream); }
.nav:not(.is-scrolled) .nav__links > a:not(.btn) { color: var(--cream); }
.nav:not(.is-scrolled) .nav__burger span { background: var(--cream); }

.nav__inner {
  max-width: var(--maxw); margin: 0 auto; min-height: 64px;
  padding: clamp(.85rem, 1.6vw, 1.3rem) var(--gutter);
  /* El logo (.nav__brand) es fixed y queda fuera del flujo: los links/burger se alinean a la derecha. */
  display: flex; align-items: center; justify-content: flex-end; gap: 1.5rem;
}
/* Logo único: vive fijo en el header y, mediante --p (0 = tope de página, 1 = scrolleado),
   se interpola entre grande/centrado sobre el hero (--p:0) y chico/arriba-izquierda (--p:1).
   --logo-tx/--logo-ty/--logo-s0 los calcula el JS midiendo el hueco .hero__logo-space. */
.nav__brand {
  position: fixed; z-index: 110;
  top: var(--nav-top, .5rem); left: var(--gutter);
  display: flex; align-items: center;
  transform-origin: left center;
  /* El logo se RENDERIZA a su tamaño grande (--p:0) y se ESCALA HACIA ABAJO al header.
     Escalar un vector hacia abajo se mantiene nítido; hacia arriba se pixela. */
  transform: translate(var(--logo-x, 0px), var(--logo-y, 0px)) scale(var(--logo-scale, .3));
  opacity: 0; animation: brandIn .9s var(--ease) .3s forwards;
}
@keyframes brandIn { from { opacity: 0; } to { opacity: 1; } }
/* Suaviza y da fluidez al viaje del logo: al scrollear "glissa" hacia su estado y
   continúa solo aunque dejes de scrollear (efecto Roka). Se activa tras la 1ª medición
   para no animar en la carga. */
.nav__brand.is-anim { transition: transform .55s var(--ease); }

/* Hueco que reserva en el hero el espacio del logo grande (el logo flotante se ancla a su centro). */
.hero__logo-space { width: var(--logo-w); aspect-ratio: 298 / 128; pointer-events: none; }
.nav__links { display: flex; align-items: center; gap: clamp(1.2rem, 2.5vw, 2.4rem); margin-left: auto; }
.nav__links > a:not(.btn) {
  font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text); position: relative; padding: .3rem 0;
}
.nav__links > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px;
  background: var(--accent); transition: width .35s var(--ease);
}
@media (hover: hover) { .nav__links > a:not(.btn):hover::after { width: 100%; } }
.nav__tools { display: flex; align-items: center; gap: .6rem; }

.nav__burger { display: none; width: 40px; height: 40px; position: relative; }
.nav__burger span {
  position: absolute; left: 9px; right: 9px; height: 2px; background: var(--text);
  border-radius: 2px; transition: transform .35s var(--ease), opacity .25s;
}
.nav__burger span:nth-child(1) { top: 14px; }
.nav__burger span:nth-child(2) { top: 19px; }
.nav__burger span:nth-child(3) { top: 24px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ===========================================================
   BOTONES
   =========================================================== */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500;
  padding: .85rem 1.6rem; border-radius: 6px; border: 1px solid transparent;
  transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .3s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--solid { background: var(--accent); color: var(--accent-ink); }
.btn--ghost { border-color: currentColor; color: var(--cream); }
/* Hover solo con puntero real: en táctil el :hover quedaba "pegado" y cambiaba el color al tocar. */
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn--solid:hover { box-shadow: 0 10px 28px -10px color-mix(in srgb, var(--accent) 70%, transparent); }
  .btn--ghost:hover { background: var(--cream); color: var(--ink); }
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn--wa svg { width: 20px; height: 20px; }
/* Táctil (sin puntero): el realce de hover se aplica como "press" (:active) mientras se
   mantiene el dedo y se va solo al soltar, en vez de quedar pegado. */
@media (hover: none) {
  .btn--solid:active { box-shadow: 0 8px 22px -10px color-mix(in srgb, var(--accent) 70%, transparent); }
  .btn--ghost:active { background: var(--cream); color: var(--ink); }
  .footer__links a:active { opacity: 1; color: var(--accent); }
}

/* ===========================================================
   GRANO / TEXTURA
   =========================================================== */
.grain {
  position: absolute; inset: 0; pointer-events: none; z-index: 2; opacity: .5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%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.55'/%3E%3C/svg%3E");
}

/* ===========================================================
   01 / HERO
   =========================================================== */
.hero {
  position: relative; min-height: 100svh;
  display: grid; place-items: center; text-align: center;
  padding: 5.5rem var(--gutter) 5rem;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim { position: absolute; inset: 0; background: var(--scrim); }
.hero__content {
  position: relative; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.hero__kicker {
  /* Queda como rótulo sobre TANUKI, alineado SOLO al ancho del wordmark (sin el ícono).
     El bloque mide igual que el logo y el padding reserva la zona del ícono (0–47.6%) y
     el margen derecho del SVG (92.6–100%); el texto justificado ocupa el tramo de TANUKI. */
  width: var(--logo-w); margin-inline: auto;
  /* Margen negativo: el kicker baja para sentarse justo encima de TANUKI (que arranca al
     27,7% del alto del logo). El ícono queda a la izquierda, sin tocar el texto. */
  margin-bottom: calc(var(--logo-w) * -0.12);
  padding-left: calc(var(--logo-w) * .476); padding-right: calc(var(--logo-w) * .074);
  color: var(--cream); font-size: calc(var(--logo-w) * .027); letter-spacing: .15em; text-transform: uppercase;
  opacity: .85; line-height: 1.5;
  text-align: justify; text-align-last: justify;
}
.hero__kicker [lang="ja"] { font-family: var(--font-display); letter-spacing: .12em; }
.hero__tagline {
  font-family: var(--font-body); font-weight: 500; color: var(--cream);
  /* Una sola línea, dimensionada para ocupar aprox. el ancho del logo (52vw / clamp 300–460px) */
  font-size: clamp(1.1rem, 3.85vw, 1.9rem); line-height: 1.45; white-space: nowrap;
  margin-top: clamp(.6rem, 2vh, 1.4rem);
}
/* Separación grande: el grupo logo+tagline queda arriba y las acciones bajan */
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: clamp(2.4rem, 6vh, 4rem); }

/* Carga escalonada del hero */
.hero__content > * { opacity: 0; animation: heroIn .9s var(--ease) forwards; }
.hero__kicker { animation-delay: .15s; }
.hero .logo--hero { animation-delay: .3s; }
.hero__tagline { animation-delay: .5s; }
.hero__actions { animation-delay: .68s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ===========================================================
   SECCIONES — comunes
   =========================================================== */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(3.5rem, 8vw, 6.5rem) var(--gutter); }
/* Encabezados de sección (El menú, Cómo pedir) centrados en desktop y mobile. */
.section__head { max-width: 46rem; margin: 0 auto clamp(2.5rem, 6vw, 4.5rem); text-align: center; }
/* Índices "02 / 05" ocultos por pedido (los números de pasos 01·02·03 se mantienen). */
.section__index { display: none; }
.section__title {
  font-family: var(--font-display); font-weight: 700; line-height: 1.05;
  font-size: clamp(2.1rem, 6vw, 3.6rem); letter-spacing: -.01em;
}
.section__lead { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.15rem); margin: 1rem auto 0; max-width: 40ch; }
/* En desktop hay ancho de sobra: el lead de la sección va en una sola línea. */
@media (min-width: 861px) {
  .section__lead { max-width: none; white-space: nowrap; }
}

/* ===========================================================
   02 / MENÚ
   =========================================================== */
.menu-group { margin-bottom: clamp(3rem, 7vw, 5rem); }
/* El último grupo (Combos) no necesita margen extra: el padding inferior de la sección
   ya separa de "Cómo pedir". Evita el hueco demasiado grande entre ambas secciones. */
.menu-group:last-child { margin-bottom: 0; }
.menu-group__title {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 3vw, 1.8rem);
  display: flex; align-items: baseline; justify-content: center; gap: .8rem;
  padding-bottom: 1rem; margin-bottom: 1.8rem; text-align: center;
  border-bottom: 1px solid var(--line);
  transition: opacity .25s var(--ease);
}
.menu-group__title--center { justify-content: center; text-align: center; }
.menu-group__title.is-changing { opacity: .3; } /* fundido al cambiar de variedad */
.menu-group__jp { font-size: 1.4em; color: var(--accent-strong); opacity: .85; font-weight: 500; }

/* ===== Carrusel de piezas (Glide.js) ===== */
.menu-glide { position: relative; }

/* La pista recorta horizontalmente; el padding vertical deja aire para que la sombra
   de la card elevada/hover NO se recorte. Las slides no recortan (overflow visible). */
.glide__track { overflow: hidden; padding-block: 2.8rem 3.8rem; }
.glide__slides { overflow: visible; }

/* Card activa (la del centro): siempre elevada; en desktop además se agranda */
.roll.glide__slide--active {
  position: relative; z-index: 1; transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  box-shadow: 0 24px 48px -28px rgba(0,0,0,.55);
}
@media (min-width: 768px) {
  .roll.glide__slide--active {
    transform: scale(1.07) translateY(-8px);
    box-shadow: 0 30px 60px -28px rgba(0,0,0,.6);
  }
}

/* Flechas: siempre visibles (loop infinito, sin principio ni fin) */
.carousel__arrow {
  position: absolute; top: calc(50% - 1.4rem); transform: translateY(-50%); z-index: 3;
  display: grid; place-items: center;
  width: 2.8rem; height: 2.8rem; border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border: 1px solid var(--line); color: var(--accent-strong);
  font-family: var(--font-display); font-size: 1.6rem; line-height: 1;
  cursor: pointer; backdrop-filter: blur(6px);
  transition: background .3s, border-color .3s, transform .3s var(--ease), opacity .3s;
}
@media (hover: hover) {
  .carousel__arrow:hover {
    background: var(--surface); border-color: color-mix(in srgb, var(--accent) 50%, var(--line));
    transform: translateY(-50%) scale(1.08);
  }
}
.carousel__arrow:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 2px; }
.carousel__arrow--prev { left: -.4rem; }
.carousel__arrow--next { right: -.4rem; }
@media (hover: none) {
  .carousel__arrow { width: 2.2rem; height: 2.2rem; font-size: 1.3rem; opacity: .85; }
}

/* Steppers (puntos): pill, activo alargado */
.carousel__dots { display: flex; justify-content: center; gap: .5rem; margin-top: .4rem; }
.carousel__dot, .glide__bullet {
  width: .55rem; height: .55rem; border-radius: 999px; border: 0; padding: 0;
  background: var(--line); cursor: pointer;
  transition: background .3s, width .3s var(--ease);
}
@media (hover: hover) {
  .carousel__dot:hover, .glide__bullet:hover { background: color-mix(in srgb, var(--accent-strong) 60%, var(--line)); }
}
.carousel__dot.is-active, .glide__bullet.glide__bullet--active { background: var(--accent-strong); width: 1.5rem; }
.carousel__dot:focus-visible, .glide__bullet:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 3px; }

.roll {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
@media (hover: hover) {
  .roll:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); box-shadow: 0 24px 48px -28px rgba(0,0,0,.55); }
}

/* Placeholder elegante: panel con textura + kanji protagonista */
.roll__art {
  position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(120% 120% at 70% 20%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 55%),
    linear-gradient(160deg, var(--surface-2), var(--surface));
}
.roll__art img, .roll__art video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* La imagen poster siempre se ve al instante (también en iOS); el video aparece encima
   solo cuando es la card activa (clase is-playing desde el JS). */
.roll__poster { position: absolute; inset: 0; }
.roll__video { position: absolute; inset: 0; opacity: 0; transition: opacity .45s var(--ease); }
.roll__video.is-playing { opacity: 1; }
.roll__art::before {
  content: ""; position: absolute; inset: 12px; border: 1px solid var(--line); border-radius: 2px;
  pointer-events: none;
}
.roll__art::after {
  content: ""; position: absolute; inset: 0; opacity: .5; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}
.roll__kanji {
  font-family: var(--font-display); font-weight: 700; line-height: 1;
  font-size: clamp(4.5rem, 12vw, 6.5rem); color: var(--kanji);
  transition: transform .5s var(--ease), color .4s;
  user-select: none;
}
@media (hover: hover) {
  .roll:hover .roll__kanji { transform: scale(1.08) rotate(-2deg); color: color-mix(in srgb, var(--accent-strong) 55%, transparent); }
}

.roll__body { padding: 1.3rem 1.4rem 1.5rem; position: relative; display: flex; flex-direction: column; flex: 1; }
.roll__name {
  font-family: var(--font-display); font-weight: 600; font-size: 1.35rem;
  display: flex; align-items: baseline; gap: .5rem;
}
.roll__sub { font-size: .95rem; color: var(--accent-strong); }
.roll__ing { color: var(--muted); font-size: .92rem; margin-top: .35rem; }
.roll__meta {
  display: flex; align-items: baseline; justify-content: space-between; gap: .6rem;
  margin-top: auto; padding-top: .65rem; border-top: 1px solid var(--line);
}
.roll__qty { color: var(--muted); font-size: .82rem; letter-spacing: .04em; }
.roll__price { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--accent-strong); }
.roll__badge {
  display: inline-block; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent-strong); border: 1px solid color-mix(in srgb, var(--accent-strong) 55%, transparent);
  padding: .25rem .6rem; border-radius: 999px; margin-bottom: .7rem;
}
/* Etiqueta dentro del nombre: a la derecha, misma línea, sin alterar el alto de la card */
.roll__name .roll__badge { margin-left: auto; margin-bottom: 0; align-self: center; }
.roll.is-soon { opacity: .72; }
.roll.is-soon .roll__art { filter: grayscale(.3); }
/* En oscuro el atenuado base casi no se nota sobre fondo negro: lo reforzamos */
[data-theme="dark"] .roll.is-soon { opacity: .55; }
[data-theme="dark"] .roll.is-soon .roll__art { filter: grayscale(.7) brightness(.6); }

/* ----- Menú completo: tabs por categoría + carrusel nativo ----- */
.varieties { margin-bottom: clamp(2.5rem, 6vw, 4rem); }
/* Título y chips alineados a la izquierda. */
.varieties .menu-group__title { justify-content: flex-start; text-align: left; }
/* Fila de chips-tab: alineada a la izquierda; si no entran, scrollean en horizontal
   (escala cuando crezcan las categorías). */
.tabs__chips {
  display: flex; gap: .6rem; width: fit-content; max-width: 100%;
  margin: 0 auto clamp(1.5rem, 4vw, 2.5rem) 0; padding-bottom: .25rem;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.tabs__chips::-webkit-scrollbar { display: none; }
.menu-chip {
  flex: 0 0 auto; white-space: nowrap;
  display: inline-flex; align-items: center;
  font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .55rem 1.1rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
  transition: background .3s, border-color .3s, color .3s;
}
.menu-chip.is-active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
/* Realce con puntero real; en táctil va como press (coherente con el resto del sitio). */
@media (hover: hover) {
  .menu-chip:hover {
    border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
    background: color-mix(in srgb, var(--accent) 12%, var(--surface));
  }
}
@media (hover: none) {
  .menu-chip:active {
    border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
    background: color-mix(in srgb, var(--accent) 12%, var(--surface));
  }
}

/* Tabs: se muestra una variedad a la vez (tap en el chip). Cada variedad es un carrusel
   horizontal simple, así las cards no se apilan en vertical y no sobra aire en mobile. */
.tabs__track { display: block; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }
/* Desktop/tablet: grilla densa de cards verticales. Escala al crecer el menú. */
.menu-cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: clamp(.8rem, 2vw, 1.2rem);
  padding: .5rem .2rem 1rem;
}
/* Mobile: cards horizontales (foto izquierda + datos derecha) apiladas en una grilla
   de 3 filas; si hay más platos, aparecen columnas a la derecha y se scrollea lateral.
   Los selectores llevan `.menu-cards` para ganarle en especificidad a las reglas base
   de `.dish` (que están más abajo en el archivo). */
@media (max-width: 599px) {
  .menu-cards {
    grid-template-columns: none;
    grid-auto-flow: column; grid-template-rows: repeat(3, auto);
    grid-auto-columns: 86%; gap: .7rem;
    overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .menu-cards::-webkit-scrollbar { display: none; }
  .menu-cards .dish { flex-direction: row; scroll-snap-align: start; }
  .menu-cards .dish__art { flex: 0 0 38%; aspect-ratio: auto; }
  .menu-cards .dish__art img { height: 100%; }
  .menu-cards .dish__body { padding: .6rem .75rem; }
  .menu-cards .dish__name { font-size: 1.05rem; }
  .menu-cards .dish__ing { font-size: .85rem; margin-top: .2rem; }
  .menu-cards .dish__meta { margin-top: .5rem; padding-top: .45rem; }
  .menu-cards .dish .pick { margin-top: .5rem; max-width: none; }
}
.dish {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
/* Card seleccionada (cantidad > 0): borde de acento + leve fondo, para que se note. */
.dish.is-selected, .roll.is-selected, .combo.is-selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent) inset;
}
@media (hover: hover) {
  .dish:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
    box-shadow: 0 20px 40px -28px rgba(0,0,0,.55);
  }
}
.dish__art { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.dish__art img { width: 100%; height: 100%; object-fit: cover; }
/* Body crece para empujar meta + stepper al fondo: cards parejas en la grilla. */
.dish__body { padding: .8rem .9rem 1rem; display: flex; flex-direction: column; flex: 1; }
.dish__name {
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem;
  display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem;
}
.dish__sub { font-size: .9rem; color: var(--accent-strong); }
.dish__ing { color: var(--muted); font-size: .92rem; margin-top: .3rem; line-height: 1.45; }
.dish__meta {
  display: flex; align-items: baseline; justify-content: space-between; gap: .6rem;
  margin-top: auto; padding-top: .6rem; border-top: 1px solid var(--line);
}
.dish__qty { color: var(--muted); font-size: .9rem; letter-spacing: .04em; }
.dish__price { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--accent-strong); }
.dish__badge {
  display: inline-block; font-size: .6rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-strong); border: 1px solid color-mix(in srgb, var(--accent-strong) 55%, transparent);
  padding: .2rem .5rem; border-radius: 999px; margin-left: auto; align-self: center;
}
.dish.is-soon { opacity: .72; }
.dish.is-soon .dish__art { filter: grayscale(.3); }
[data-theme="dark"] .dish.is-soon { opacity: .6; }
[data-theme="dark"] .dish.is-soon .dish__art { filter: grayscale(.6) brightness(.65); }

/* Clásicos */
.classics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1rem; }
.classic {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.2rem 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .3s, transform .3s var(--ease);
}
@media (hover: hover) {
  .classic:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
}
.classic__name { font-family: var(--font-display); font-size: 1.15rem; }
.classic__jp { font-family: var(--font-display); font-size: 1.5rem; color: var(--accent-strong); opacity: .75; }

/* Combos */
.combos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: clamp(1rem, 2vw, 1.5rem); align-items: stretch; }
.combo {
  position: relative; text-align: center; padding: 2.4rem 1.6rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
@media (hover: hover) {
  .combo:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -30px rgba(0,0,0,.5); }
}
.combo--feature { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, var(--surface)); }
.combo__tag {
  position: absolute; top: -.8rem; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--accent-ink); font-size: .64rem; letter-spacing: .16em;
  text-transform: uppercase; padding: .35rem .8rem; border-radius: 999px; white-space: nowrap;
}
.combo__name { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; }
/* Placeholder de imagen del combo (Magalí lo reemplaza luego por un <img>). */
.combo__img {
  align-self: stretch; aspect-ratio: 16 / 10; margin: .9rem 0 .3rem;
  border-radius: var(--radius); background: var(--surface-2);
  border: 1px dashed color-mix(in srgb, var(--cream) 22%, transparent);
  display: grid; place-items: center; overflow: hidden;
}
.combo__img span { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.combo__img img { width: 100%; height: 100%; object-fit: cover; }
.combo__pieces { font-size: .95rem; color: var(--muted); letter-spacing: .04em; }
.combo__detail { font-size: .9rem; color: var(--muted); }
.combo__price { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--accent-strong); margin-top: .8rem; }

/* ===========================================================
   03 / CÓMO PEDIR
   =========================================================== */
.pedir { background: var(--bg-2); max-width: none; }
.pedir > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
/* Cards de pasos: estructura interna fija (ícono a la izquierda + número/título/texto
   al lado). En mobile se apilan en vertical; en desktop se reparten en fila (3 columnas). */
.steps {
  display: grid; grid-template-columns: 1fr;
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
  max-width: 920px; margin-inline: auto;
}
/* Card vertical: el SVG protagonista arriba y debajo número/título/texto, centrado. */
.step {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: clamp(1rem, 2.5vw, 1.5rem); height: 100%;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 2.8rem) clamp(1.5rem, 3vw, 2.2rem);
}
.step__icon { width: auto; height: clamp(150px, 30vw, 220px); margin: 0; }
.step__body { width: 100%; }
.step__num {
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 700;
  color: var(--accent-strong); opacity: .35; display: block; line-height: 1;
}
.step__title { font-family: var(--font-display); font-size: clamp(1.7rem, 2.6vw, 2.15rem); font-weight: 600; margin: .3rem 0 .5rem; }
.step__text { color: var(--muted); font-size: 1rem; max-width: 30ch; margin-inline: auto; }
/* Desktop: las 3 cards en una sola fila, repartidas en el ancho disponible. */
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(3, 1fr); max-width: 1240px; gap: clamp(1rem, 1.6vw, 1.5rem); }
  .step { padding: clamp(1.8rem, 2.4vw, 2.6rem); }
  .step__icon { height: clamp(150px, 13vw, 200px); }
  .step__num { font-size: 2.3rem; }
  .step__title { font-size: clamp(1.5rem, 1.9vw, 1.95rem); }
  .step__text { font-size: .95rem; }
}

.pedir__info {
  margin-top: clamp(3rem, 7vw, 5rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.6rem;
}
.pedir__meta { display: flex; flex-wrap: wrap; gap: 2.5rem; }
.pedir__meta p { font-size: 1.05rem; }
.pedir__label {
  display: block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: .25rem;
}

/* Sección "Llegamos a tu barrio": info a la izquierda (destacada) + mapa a la derecha. */
.zona {
  margin-top: clamp(3rem, 7vw, 5rem); padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}
.zona__grid { display: grid; gap: clamp(1.75rem, 4vw, 3rem); align-items: center; }
@media (min-width: 861px) { .zona__grid { grid-template-columns: 1fr 1.05fr; } }
.zona__info { text-align: left; }
/* Mismo tratamiento que el título de "La historia": display bold grande + japonés rojo
   debajo con aire (no pegados). */
.zona__title {
  font-family: var(--font-display); font-weight: 700; line-height: 1.05;
  font-size: clamp(1.9rem, 5vw, 3.2rem); letter-spacing: -.01em;
}
.zona__jp {
  font-family: var(--font-display); color: var(--accent-strong);
  font-size: clamp(1.7rem, 4vw, 2.9rem); letter-spacing: .14em; margin-top: .5rem;
}
.zona__lead {
  color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.1rem);
  margin: 1.4rem 0 0; max-width: 52ch; line-height: 1.7;
}
/* Entregas y zona, destacados y apilados (uno arriba del otro) bajo el título. */
.zona__meta { display: flex; flex-direction: column; gap: clamp(1.1rem, 2.4vw, 1.6rem); margin: clamp(2rem, 4vw, 2.8rem) 0 0; }
.zona__meta p { font-size: 1.15rem; line-height: 1.5; }
/* El botón "Pedir por WhatsApp" con aire respecto del bloque de datos de arriba. */
.zona__info .btn--wa { margin-top: clamp(1.8rem, 4vw, 2.6rem); }
/* Contenedor del mapa Leaflet (columna derecha). Necesita alto propio: lo da aspect-ratio. */
.zona__map {
  position: relative; aspect-ratio: 4 / 3;
  border-radius: var(--radius); overflow: hidden; background: var(--surface);
  /* Aísla los z-index internos de Leaflet (controles llegan a ~1000) en su propio
     contexto de apilado, así el mapa NUNCA se pinta por encima del header fijo (z-index 100). */
  isolation: isolate; z-index: 0;
}
/* Marco sutil por encima de las tiles (no bloquea la interacción). */
.zona__map::after {
  content: ""; position: absolute; inset: 0; z-index: 450; pointer-events: none;
  border: 1px solid var(--line); border-radius: var(--radius);
}
/* Fondo del mapa acorde al tema oscuro mientras cargan las tiles. */
.zona__map .leaflet-container { background: var(--ink-deep); font-family: var(--font-body); }
/* Controles de zoom on-brand. */
.zona__map .leaflet-bar a {
  background: var(--surface); color: var(--text);
  border-bottom-color: var(--line);
}
.zona__map .leaflet-bar a:hover { background: color-mix(in srgb, var(--accent) 25%, var(--surface)); }
.zona__map .leaflet-bar { border: 1px solid var(--line); }
/* Atribución (requisito de licencia): discreta, integrada al tema. */
.zona__map .leaflet-control-attribution {
  background: color-mix(in srgb, var(--ink-deep) 80%, transparent);
  color: var(--muted); font-size: .65rem;
}
.zona__map .leaflet-control-attribution a { color: var(--accent-strong); }

/* ===========================================================
   04 / HISTORIA
   =========================================================== */
.historia__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center;
}
.historia__media { border-radius: var(--radius); overflow: hidden; position: relative; }
.historia__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
/* En desktop la imagen del tanuki quedaba muy alta: la achicamos a cuadrada. */
@media (min-width: 861px) { .historia__media img { aspect-ratio: 1 / 1; } }
/* Subtítulo japonés bajo el título de sección (ej.: La historia → 私たちの物語). */
/* Selector con + para ganarle en especificidad a `.historia__text p` (si no, quedaba
   chico y gris en vez de grande y rojo). */
.section__title + .section__jp {
  font-family: var(--font-display); color: var(--accent-strong);
  font-size: clamp(1.9rem, 4.4vw, 3.2rem); letter-spacing: .14em; margin-top: .55rem; max-width: none;
}
.historia__media::after {
  content: ""; position: absolute; inset: 0; border: 1px solid var(--line); border-radius: var(--radius);
  pointer-events: none;
}
.historia__text p { color: var(--muted); margin-top: 1.1rem; font-size: 1.05rem; max-width: 42ch; }
.historia__text strong { color: var(--text); font-weight: 700; }
.historia__sign {
  font-family: var(--font-display); font-size: 2rem; color: var(--accent-strong); opacity: .8;
  margin-top: 1.8rem !important; letter-spacing: .12em;
}

/* ===========================================================
   05 / FOOTER
   =========================================================== */
.footer { background: var(--ink-deep); color: var(--cream); padding: clamp(3.5rem, 7vw, 5.5rem) var(--gutter); }
.footer__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem;
}
.footer__links { display: flex; gap: 1.8rem; }
.footer__links a {
  display: inline-flex; align-items: center; gap: .55rem; font-size: .9rem;
  letter-spacing: .04em; color: var(--cream); opacity: .85; transition: opacity .3s, color .3s;
}
@media (hover: hover) { .footer__links a:hover { opacity: 1; color: var(--accent); } }
.footer__links svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }
/* El logo de WhatsApp es una silueta rellena (no de contorno como Instagram). */
.footer__links svg.ico-wa { fill: currentColor; stroke: none; }
.footer__note { width: 100%; font-size: .78rem; letter-spacing: .08em; color: rgba(242,237,228,.45); border-top: 1px solid rgba(242,237,228,.12); padding-top: 1.6rem; }

/* ===========================================================
   ANIMACIONES DE SCROLL (reveal)
   =========================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 860px) {
  .historia__grid { grid-template-columns: 1fr; }
  .historia__media { max-width: 460px; }

  .nav__burger { display: block; }
  /* Drawer a pantalla completa, opciones centradas. */
  .nav__links {
    position: fixed; inset: 0; width: 100%;
    flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
    padding: 4rem var(--gutter); background: var(--bg-2); text-align: center;
    transform: translateX(100%); transition: transform .45s var(--ease);
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links > a:not(.btn) { font-size: 1.15rem; color: var(--text); }
  .nav__cta { margin-top: .5rem; }
  /* Con el menú abierto, la X va en color de texto (legible sobre el panel) */
  .nav.menu-open .nav__burger span { background: var(--text); }

  /* ----- Centrado general en mobile ----- */
  .menu-group__title { justify-content: center; text-align: center; }
  .section__head { max-width: none; text-align: center; }
  .section__lead { max-width: 40ch; margin-left: auto; margin-right: auto; }
  .pedir__info { flex-direction: column; align-items: center; text-align: center; }
  .pedir__meta { justify-content: center; }
  .historia__text { text-align: center; }
  .historia__text p { max-width: 46ch; margin-left: auto; margin-right: auto; }
  .historia__media { margin-left: auto; margin-right: auto; }
  .footer__inner { flex-direction: column; align-items: center; justify-content: center; text-align: center; }
  .footer__links { justify-content: center; }
  .footer__note { text-align: center; }
}

/* En desktop, los enlaces sobre el hero van en crema */
@media (min-width: 861px) {
  .nav:not(.is-scrolled) .nav__links > a:not(.btn) { color: var(--cream); }
  /* La hamburguesa solo existe en mobile: en desktop su contenedor queda vacío,
     lo ocultamos para que los enlaces lleguen al borde derecho. */
  .nav__tools { display: none; }
}

/* En desktop el bloque (kicker+logo+tagline) queda arriba y las acciones se anclan
   al fondo, dejando entre medio la imagen a la vista. El margen inferior de las acciones
   queda armónico con el padding-bottom del hero en cualquier altura de viewport. */
@media (min-width: 601px) {
  .hero { padding-bottom: 6rem; }
  .hero__content { min-height: calc(100svh - 13rem); justify-content: flex-start; }
  .hero__actions { margin-top: auto; }
}

/* En mobile el hero ocupa toda la altura: el bloque (kicker+logo+tagline) queda
   arriba y las acciones se empujan al fondo (zona de pulgares), con harta separación. */
@media (max-width: 600px) {
  .hero { padding-top: 5rem; padding-bottom: 2.2rem; }
  .hero__content { min-height: calc(100svh - 8.6rem); justify-content: flex-start; }
  .hero__actions { margin-top: auto; }
}

@media (max-width: 480px) {
  .hero__actions { width: 100%; flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  /* El botón "Pedir por WhatsApp" ocupa todo el ancho, como los CTAs del hero. */
  .zona__info .btn { width: 100%; justify-content: center; }
}

/* ===========================================================
   PRESELECCIÓN → WHATSAPP (stepper en cada plato + barra "Tu pedido")
   =========================================================== */
/* Stepper inyectado por JS dentro de cada card. [−] [Agregar/×N] [+]  */
.pick {
  display: flex; align-items: center; gap: .5rem; margin-top: .9rem;
  width: 100%; max-width: 13rem; margin-inline: auto;
}
.pick__btn {
  width: 2rem; height: 2rem; flex: 0 0 auto; border-radius: 999px;
  display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface);
  color: var(--accent-strong); font-family: var(--font-display);
  font-size: 1.3rem; line-height: 1; padding: 0;
  transition: background .25s, border-color .25s, transform .15s var(--ease), opacity .25s;
}
@media (hover: hover) {
  .pick__btn:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
}
.pick__btn:active { transform: scale(.92); }
.pick__btn:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 2px; }
/* El "−" se atenúa cuando la cantidad es 0 (no hay nada que quitar). */
.pick__btn--minus[disabled] { opacity: .35; cursor: default; }
.pick__count {
  flex: 1; text-align: center; min-width: 0;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  color: var(--accent-strong);
}
/* Estado "sin agregar": en vez del número, dice "Agregar" en tono apagado. */
.pick__count.is-zero {
  font-family: var(--font-body); font-weight: 600; font-size: .76rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.combo .pick { margin-top: 1.1rem; }

/* Barra flotante "Tu pedido": fija abajo, aparece cuando hay ítems. */
.cart-bar {
  position: fixed; left: 50%; bottom: 0; transform: translate(-50%, 120%);
  width: min(560px, calc(100% - 1.5rem)); z-index: 120;
  margin-bottom: max(.9rem, env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line));
  border-radius: 999px; backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.6);
  display: flex; align-items: center; gap: .8rem; padding: .55rem .65rem .55rem 1.2rem;
  opacity: 0; pointer-events: none;
  transition: transform .4s var(--ease), opacity .35s var(--ease);
}
.cart-bar.is-visible { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
/* Con el menú hamburguesa abierto, ocultar la barra/panel del pedido (no tapan el drawer).
   .nav y .cart-bar son hermanos dentro de <body>. */
.nav.menu-open ~ .cart-bar { opacity: 0 !important; pointer-events: none !important; transform: translate(-50%, 120%) !important; }
.nav.menu-open ~ .cart-panel { display: none !important; }
.cart-bar__summary {
  flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2;
  background: none; border: 0; padding: 0; color: var(--text); cursor: pointer; text-align: left;
}
.cart-bar__count { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.cart-bar__hint { font-size: .82rem; color: var(--muted); letter-spacing: .02em; }
.cart-bar__go {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: .45rem;
  background: var(--accent); color: var(--accent-ink); border: 0; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: .92rem;
  padding: .7rem 1.2rem; border-radius: 999px;
  transition: filter .25s, transform .15s var(--ease);
}
.cart-bar__go svg { width: 18px; height: 18px; fill: currentColor; }
@media (hover: hover) { .cart-bar__go:hover { filter: brightness(1.06); } }
.cart-bar__go:active { transform: scale(.97); }
.cart-bar__clear {
  flex: 0 0 auto; width: 2rem; height: 2rem; border-radius: 999px; cursor: pointer;
  display: grid; place-items: center; border: 1px solid var(--line);
  background: transparent; color: var(--muted); font-size: 1.1rem; line-height: 1; padding: 0;
}
@media (hover: hover) { .cart-bar__clear:hover { color: var(--text); border-color: var(--accent-strong); } }
/* Lista expandible del detalle del pedido (se despliega hacia arriba al tocar el resumen). */
.cart-panel {
  position: fixed; left: 50%; transform: translateX(-50%); z-index: 119;
  bottom: calc(env(safe-area-inset-bottom) + 4.2rem);
  width: min(560px, calc(100% - 1.5rem)); max-height: 50vh; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.6); padding: .9rem 1rem;
  display: none;
}
.cart-panel.is-open { display: block; }
.cart-panel__row {
  display: flex; align-items: center; gap: .7rem;
  padding: .6rem 0; border-bottom: 1px solid var(--line);
}
/* Botón para quitar el ítem directamente desde el detalle del pedido. */
.cart-panel__del {
  flex: 0 0 auto; width: 1.8rem; height: 1.8rem; border-radius: 999px;
  display: grid; place-items: center; cursor: pointer; padding: 0; line-height: 1;
  border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 1.05rem;
  transition: color .2s, border-color .2s;
}
@media (hover: hover) { .cart-panel__del:hover { color: var(--accent-strong); border-color: var(--accent-strong); } }
.cart-panel__name { flex: 1; font-size: 1rem; color: var(--text); min-width: 0; }
.cart-panel__name small { color: var(--muted); font-weight: 600; margin-left: .4rem; }
.cart-panel__line { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--accent-strong); }
/* Total estimado del pedido al pie del detalle. */
.cart-panel__total {
  display: flex; align-items: baseline; justify-content: space-between; gap: .8rem;
  margin-top: .7rem; padding-top: .2rem; font-size: .92rem; color: var(--muted);
}
.cart-panel__total strong { font-family: var(--font-display); font-size: 1.35rem; color: var(--text); }
/* Con la barra visible, dejamos aire al final para que no tape el footer al hacer scroll. */
body.has-cart { padding-bottom: 5.5rem; }

/* ===========================================================
   ACCESIBILIDAD — reducir movimiento
   =========================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__content > * { opacity: 1; animation: none; }
}
