/* ======================================
   MANADA CAFÉ — SISTEMA DE DISEÑO
   Polish pass con Impeccable skill
   ====================================== */

@import url('https://fonts.googleapis.com/css2?family=Bungee&family=Roboto:ital,wght@0,300;0,400;0,700;1,300&family=Caveat:wght@700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ─── TOKENS ─────────────────────────── */
:root {
  /* Color — OKLCH */
  --bg:            oklch(0.97 0.012 145);   /* casi-blanco tintado verde, no crema IA */
  --bg-section:    oklch(0.93 0.016 145);   /* sección alternada gris-verde */
  --bg-dark:       oklch(0.352 0.032 135);  /* verde del logo #343F2E */
  --bg-card:       oklch(0.995 0.006 145);  /* superficie de tarjeta */
  --ink:           oklch(0.18 0.042 152);   /* negro tintado verde */
  --ink-2:         oklch(0.38 0.028 152);   /* texto secundario */
  --ink-3:         oklch(0.56 0.018 152);   /* texto terciario / muted */
  --ink-light:     oklch(0.96 0.010 145);   /* texto sobre fondo oscuro */
  --ink-muted-d:   oklch(0.76 0.022 145);   /* muted sobre fondo oscuro */
  --accent:        oklch(0.62 0.145 48);    /* naranja cálido */
  --accent-hover:  oklch(0.53 0.145 48);    /* naranja oscuro hover */
  --accent-glow:   oklch(0.62 0.145 48 / 0.28);
  --bg-warm:       oklch(0.96 0.035 55);    /* naranja muy suave — futuro uso */

  /* Fuentes — identidad oficial de la marca */
  --font-brand:    'Bungee', cursive;   /* display / headings */
  --font-heading:  'Bungee', cursive;
  --font-body:     'Roboto', sans-serif;
  --font-hand:     'Caveat', cursive;
  --font-sans:     'Roboto', sans-serif; /* alias genérico para componentes de UI */

  /* Escala tipográfica fluida */
  --step--1: clamp(0.83rem,  0.79rem + 0.22vw, 0.94rem);
  --step-0:  clamp(1rem,     0.95rem + 0.27vw, 1.13rem);
  --step-1:  clamp(1.20rem,  1.10rem + 0.50vw, 1.50rem);
  --step-2:  clamp(1.44rem,  1.25rem + 0.95vw, 2.00rem);
  --step-3:  clamp(1.73rem,  1.40rem + 1.65vw, 2.67rem);
  --step-4:  clamp(2.07rem,  1.55rem + 2.60vw, 3.55rem);
  --step-5:  clamp(2.49rem,  1.60rem + 4.45vw, 4.74rem);

  /* Espaciado fluido */
  --space-2xs: clamp(0.25rem, 0.2rem  + 0.25vw, 0.375rem);
  --space-xs:  clamp(0.5rem,  0.42rem + 0.40vw, 0.75rem);
  --space-s:   clamp(0.875rem,0.75rem + 0.63vw, 1.25rem);
  --space-m:   clamp(1.5rem,  1.25rem + 1.25vw, 2.5rem);
  --space-l:   clamp(2rem,    1.5rem  + 2.5vw,  4rem);
  --space-xl:  clamp(3rem,    2rem    + 5vw,    7rem);
  --space-2xl: clamp(4rem,    2.5rem  + 7.5vw, 10rem);

  /* Radios */
  --r-s: 4px;
  --r-m: 10px;
  --r-l: 16px;

  /* Curvas de easing */
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);

  /* Duraciones */
  --dur-fast: 150ms;
  --dur-mid:  250ms;
  --dur-slow: 400ms;

  /* Z-index semántico */
  --z-sticky:  100;
  --z-overlay: 200;
  --z-cart:    300;
}

/* ─── RESET ──────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 300;
  line-height: 1.65;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400; /* Bungee solo tiene 400 — su peso visual ya es bold */
  line-height: 1.1;
  text-wrap: balance;
}

/* ─── HEADER ─────────────────────────── */
.header {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: var(--z-sticky);
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 5%;
  background: var(--bg-dark);
  transition:
    padding var(--dur-mid) var(--ease-out-quart),
    box-shadow var(--dur-mid) var(--ease-out-quart);
}
.header.scrolled {
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  box-shadow: 0 4px 24px oklch(0 0 0 / 0.28);
}

/* logo-img obsoleto — reemplazado por texto */

.main-nav { display: flex; gap: var(--space-m); align-items: center; }
.main-nav a {
  color: var(--ink-muted-d);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color var(--dur-fast) var(--ease-out-quart);
}
.main-nav a:hover,
.main-nav a.is-active { color: var(--accent); }
.main-nav a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.cart-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.55rem 1.1rem;
  border-radius: var(--r-s);
  font-family: var(--font-brand);
  font-size: var(--step--1);
  cursor: pointer;
  transition:
    background var(--dur-fast) var(--ease-out-quart),
    transform  var(--dur-fast) var(--ease-out-quart);
}
.cart-btn:hover  { background: var(--accent-hover); }
.cart-btn:active { transform: scale(0.96); }

/* ─── SECTIONS BASE ──────────────────── */
section { padding: var(--space-xl) 5%; position: relative; }

.section-title {
  font-family: var(--font-heading);
  font-size: var(--step-4);
  font-weight: 400;
  color: var(--bg-dark);
  text-wrap: balance;
}

.section-title-group {
  text-align: center;
  margin-bottom: var(--space-l);
}
.section-title-group .section-title { display: inline-block; }
.section-title-group .section-title::after {
  content: '';
  display: block;
  width: 44px; height: 3px;
  background: var(--accent);
  margin: 0.9rem auto 0;
  border-radius: 2px;
}

.dark-section { background-color: var(--bg-dark); color: var(--ink-light); }

/* ─── HERO ───────────────────────────── */
.hero-section {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  padding-bottom: var(--space-xl);
  overflow: hidden;
  background: var(--bg-dark);
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  width: 100%;
}
.hero-left { flex: 1 1 420px; }
.hero-left h1 {
  font-size: var(--step-5);
  font-weight: 400;
  color: var(--ink-light);
  margin-bottom: var(--space-s);
  letter-spacing: -0.025em;
  line-height: 1.02;
}
.accent-text { color: var(--accent); }

.hero-left p {
  font-size: var(--step-1);
  color: var(--ink-muted-d);
  line-height: 1.65;
  margin-bottom: var(--space-m);
  max-width: 46ch;
}
.hero-right {
  flex: 1 1 380px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ─── HERO CASSETTE ──────────────────── */
.hero-cassette-wrap {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

/* Etiqueta: arriba-izquierda */
.hero-playlist-label {
  font-family: var(--font-hand);
  font-size: var(--step-2);
  color: var(--ink-muted-d);
  text-align: left;
  margin: 0;
  padding-left: 2px;
}

/* Contenedor relativo para cassette + guanaco */
.hero-cassette-container {
  position: relative;
}

/* Guanaco arriba-derecha: blanco puro, sin contorno */
.guanaco-hero-cassette {
  position: absolute;
  bottom: calc(100% - 12px);
  right: -8px;
  height: 210px;
  width: auto;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 768px) {
  /* Nota a la izquierda, guanaco a la derecha (ambos apenas arriba del cassette).
     La nota acotada evita que el texto llegue hasta el guanaco, y el guanaco
     apoya apenas sobre el borde del cassette (poco solape). */
  .guanaco-hero-cassette { height: 116px; right: -2px; bottom: calc(100% - 16px); }
  .hero-cassette-container { margin-top: 34px; }
  .hero-playlist-label { max-width: 54%; line-height: 1.3; }
}

/* Desktop: guanaco entero (antes se cortaba la cabeza) y la nota acotada a la
   izquierda para que no choque con el guanaco (que queda a la derecha). */
@media (min-width: 769px) {
  .guanaco-hero-cassette {
    height: 172px;
    right: -4px;
    bottom: calc(100% - 24px);
  }
  .hero-playlist-label { max-width: 56%; line-height: 1.35; }
}

/*
 * Cassette hero: ~350px alto, mismo ancho que el contenedor.
 * Escala los elementos internos desde la base de 210px.
 * Factor: 350/210 ≈ 1.67×
 *
 * Posiciones internas (px exactos):
 *   Reeles:   top 18px, h 110px → bottom 128px
 *   Label:    top 136px, h ~38px → bottom 174px
 *   Ventana:  top 180px, h ~152px (iframe 160px - 4px padding) → bottom 332px
 *   Tornillos top: 10px
 *   Tornillos bot: bottom 10px
 */
.cassette-player.hero-cassette {
  height: 350px;
  box-shadow:
    inset  1px  1px 0 oklch(1 0 0 / 0.10),
    inset -1px -1px 0 oklch(0 0 0 / 0.65),
    0 3px 0 #080706,
    0 24px 56px oklch(0 0 0 / 0.60);
}

/* Reeles grandes */
.hero-cassette::before {
  top: 18px;
  left: 16px; right: 16px;
  height: 110px;
  background:
    radial-gradient(circle  7px at 21% 50%, #040303 100%, transparent 100%),
    radial-gradient(circle 14px at 21% 50%, #1e1c1a 90%, #131210 100%, transparent 100%),
    radial-gradient(circle 26px at 21% 50%, #32200d 87%, transparent 100%),
    radial-gradient(circle 33px at 21% 50%, #1a1007 100%, transparent 100%),
    radial-gradient(circle 36px at 21% 50%, transparent 89%, #0c0c0b 90%, #181715 97%, transparent 100%),
    radial-gradient(circle 43px at 21% 50%, transparent 83%, #0c0a09 85%, transparent 100%),
    radial-gradient(circle 48px at 21% 50%, #161412 100%, transparent 100%),
    radial-gradient(circle  7px at 79% 50%, #040303 100%, transparent 100%),
    radial-gradient(circle 14px at 79% 50%, #1e1c1a 90%, #131210 100%, transparent 100%),
    radial-gradient(circle 26px at 79% 50%, #32200d 87%, transparent 100%),
    radial-gradient(circle 33px at 79% 50%, #1a1007 100%, transparent 100%),
    radial-gradient(circle 36px at 79% 50%, transparent 89%, #0c0c0b 90%, #181715 97%, transparent 100%),
    radial-gradient(circle 43px at 79% 50%, transparent 83%, #0c0a09 85%, transparent 100%),
    radial-gradient(circle 48px at 79% 50%, #161412 100%, transparent 100%);
}

/* Label y ventana reposicionados para 350px */
.hero-cassette .cassette-label  { top: 136px; font-size: var(--step-1); padding: 0.5rem 1.2rem; }
.hero-cassette .cassette-window { top: 182px; }
.hero-cassette .cassette-window iframe { border-radius: 3px; }

/* Mobile: cassette hero ocupa todo el ancho, más bajo */
@media (max-width: 768px) {
  .hero-cassette-wrap { max-width: 100%; }
  .cassette-player.hero-cassette { height: 320px; }
  .hero-cassette::before {
    height: 86px;
    background:
      radial-gradient(circle  5px at 21% 50%, #040303 100%, transparent 100%),
      radial-gradient(circle 11px at 21% 50%, #1e1c1a 90%, #131210 100%, transparent 100%),
      radial-gradient(circle 20px at 21% 50%, #32200d 87%, transparent 100%),
      radial-gradient(circle 26px at 21% 50%, #1a1007 100%, transparent 100%),
      radial-gradient(circle 28px at 21% 50%, transparent 89%, #0c0c0b 90%, #181715 97%, transparent 100%),
      radial-gradient(circle 34px at 21% 50%, transparent 83%, #0c0a09 85%, transparent 100%),
      radial-gradient(circle 38px at 21% 50%, #161412 100%, transparent 100%),
      radial-gradient(circle  5px at 79% 50%, #040303 100%, transparent 100%),
      radial-gradient(circle 11px at 79% 50%, #1e1c1a 90%, #131210 100%, transparent 100%),
      radial-gradient(circle 20px at 79% 50%, #32200d 87%, transparent 100%),
      radial-gradient(circle 26px at 79% 50%, #1a1007 100%, transparent 100%),
      radial-gradient(circle 28px at 79% 50%, transparent 89%, #0c0c0b 90%, #181715 97%, transparent 100%),
      radial-gradient(circle 34px at 79% 50%, transparent 83%, #0c0a09 85%, transparent 100%),
      radial-gradient(circle 38px at 79% 50%, #161412 100%, transparent 100%);
  }
  .hero-cassette .cassette-label  { top: 106px; }
  .hero-cassette .cassette-window { top: 145px; }
  .hero-cassette .cassette-window iframe { height: 152px !important; }
}

/* ─── POLAROID ───────────────────────── */
.polaroid-style {
  /* Papel polaroid envejecido — no blanco clínico */
  background: #faf7f0;
  padding: 12px 12px 56px;
  display: inline-block;
  position: relative;
  border: 1px solid oklch(0.85 0.015 80);
  box-shadow:
    0 32px 72px oklch(0 0 0 / 0.50),
    0 8px 24px oklch(0 0 0 / 0.28),
    inset 0 0 0 1px oklch(1 0 0 / 0.6);
  max-width: 420px; width: 100%;
  transition:
    transform  var(--dur-slow) var(--ease-out-quart),
    box-shadow var(--dur-slow) var(--ease-out-quart);
}
.polaroid-style:hover {
  transform: rotate(0deg) scale(1.03) !important;
  box-shadow:
    0 44px 88px oklch(0 0 0 / 0.60),
    0 12px 32px oklch(0 0 0 / 0.35),
    inset 0 0 0 1px oklch(1 0 0 / 0.6);
}
/* Leyenda manuscrita en la franja inferior */
.polaroid-style::after {
  content: attr(data-caption);
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 56px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-hand);
  font-size: 1.1rem;
  font-weight: 700;
  color: oklch(0.35 0.03 80);
  letter-spacing: 0.01em;
  padding: 0 12px;
  text-align: center;
  pointer-events: none;
}
/* Cinta adhesiva */
.polaroid-style::before {
  content: '';
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%) rotate(-2.5deg);
  width: 88px; height: 28px;
  background:
    linear-gradient(
      90deg,
      oklch(1 0 0 / 0) 0%,
      oklch(1 0 0 / 0.35) 15%,
      oklch(1 0 0 / 0) 30%,
      oklch(1 0 0 / 0) 70%,
      oklch(1 0 0 / 0.35) 85%,
      oklch(1 0 0 / 0) 100%
    ),
    oklch(0.62 0.145 48 / 0.82);
  z-index: 10;
  clip-path: polygon(0% 8%, 2% 0%, 98% 2%, 100% 8%, 99% 92%, 97% 100%, 3% 98%, 1% 92%);
  box-shadow: 0 2px 8px oklch(0 0 0 / 0.30);
}

/* ─── CTA BUTTON ─────────────────────── */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.9rem 2rem;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: var(--step-0);
  letter-spacing: 0.01em;
  border-radius: var(--r-s);
  cursor: pointer;
  transition:
    background   var(--dur-mid) var(--ease-out-quart),
    transform    var(--dur-fast) var(--ease-out-quart),
    box-shadow   var(--dur-mid) var(--ease-out-quart);
}
.cta-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--accent-glow);
}
.cta-btn:active { transform: translateY(0); box-shadow: none; }

.hero-address {
  margin-top: 1rem;
  font-size: 0.82rem;
  font-family: var(--font-body);
  color: var(--ink-3);
  letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════
   CASSETTE PLAYER — layout landscape
   Proporción 320×210px (ratio 1.52:1).
   Layout vertical (px exactos):
     screws top:   7px
     reels pseudo: top 12px, h 70px → bottom 82px
     label:        top 88px, h 26px → bottom 114px
     window:       top 120px, h 74px (80px iframe - se recorta
                   levemente, muestra controles ok) → bottom 194px
     slot:         bottom 7px
   Total height: 210px
   ═══════════════════════════════════════ */

/* ─── CASSETTE PLAYER BODY ──────────── */
.cassette-player {
  /*
   * Plástico mate negro — no negro puro,
   * sino un gris muy oscuro con temperatura ligeramente cálida.
   * El gradiente de 160° da la sensación de una
   * superficie tridimensional iluminada desde arriba a la izquierda.
   */
  background:
    /* Bandas horizontales microscópicas de plástico moldeado */
    repeating-linear-gradient(
      180deg,
      transparent              0px,
      transparent              2.5px,
      oklch(0 0 0 / 0.018)    2.5px,
      oklch(0 0 0 / 0.018)    3px
    ),
    /* Cuerpo principal */
    linear-gradient(160deg,
      #272520 0%,
      #1a1917 30%,
      #111010 65%,
      #0c0b0a 100%
    );

  border: none;
  border-radius: 10px;
  width: 100%;
  aspect-ratio: unset;
  height: 210px;
  margin-bottom: 0;
  position: relative;
  display: block;

  /*
   * Box-shadow en capas para dar profundidad al cuerpo:
   * 1. Highlight superior izquierdo (luz ambiental)
   * 2. Sombra inferior derecha (profundidad)
   * 3. Borde inferior 3px (espesor del plástico)
   * 4. Sombra proyectada sobre la repisa
   */
  box-shadow:
    inset  1px  1px 0   oklch(1 0 0 / 0.10),
    inset -1px -1px 0   oklch(0 0 0 / 0.65),
    0 3px 0             #080706,
    -5px  0  16px       oklch(0 0 0 / 0.28),
     5px  0  16px       oklch(0 0 0 / 0.22),
    0 18px 36px         oklch(0 0 0 / 0.82);
}

/*
 * CARRETES — ::before
 * Dos círculos de 34px de radio, posicionados al 22% y 78%
 * del ancho del pseudo (inner width del cassette).
 *
 * Capas por carrete (interior a exterior):
 *   1. eje/spindle (negro puro, 5px)
 *   2. hub/cubo    (gris oscuro, 11px)
 *   3. cinta arrollada en el hub (marrón cinta, 20px)
 *   4. espacio libre dentro de la ventana (marrón oscuro, 27px)
 *   5. marco de la ventana — anillo opaco (29px, 34px)
 *   6. aro externo de plástico (34px, 38px)
 *   7. disco sólido de fondo  (38px)
 */
/*
 * Reeles landscape: pseudo top 12px, h 70px.
 * Radio exterior 29px — cabe en 70px (centro a 35px, ±29px = 6-64px).
 * Posición al 21% y 79% del pseudo width.
 */
.cassette-player::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px; right: 12px;
  height: 70px;
  pointer-events: none;
  z-index: 1;
  background:
    /* ── CARRETE IZQUIERDO ── */
    radial-gradient(circle  4px at 21% 50%, #040303 100%, transparent 100%),
    radial-gradient(circle  9px at 21% 50%, #1e1c1a 90%, #131210 100%, transparent 100%),
    radial-gradient(circle 16px at 21% 50%, #32200d 87%, transparent 100%),
    radial-gradient(circle 20px at 21% 50%, #1a1007 100%, transparent 100%),
    radial-gradient(circle 22px at 21% 50%, transparent 89%, #0c0c0b 90%, #181715 97%, transparent 100%),
    radial-gradient(circle 26px at 21% 50%, transparent 83%, #0c0a09 85%, transparent 100%),
    radial-gradient(circle 29px at 21% 50%, #161412 100%, transparent 100%),
    /* ── CARRETE DERECHO ── */
    radial-gradient(circle  4px at 79% 50%, #040303 100%, transparent 100%),
    radial-gradient(circle  9px at 79% 50%, #1e1c1a 90%, #131210 100%, transparent 100%),
    radial-gradient(circle 16px at 79% 50%, #32200d 87%, transparent 100%),
    radial-gradient(circle 20px at 79% 50%, #1a1007 100%, transparent 100%),
    radial-gradient(circle 22px at 79% 50%, transparent 89%, #0c0c0b 90%, #181715 97%, transparent 100%),
    radial-gradient(circle 26px at 79% 50%, transparent 83%, #0c0a09 85%, transparent 100%),
    radial-gradient(circle 29px at 79% 50%, #161412 100%, transparent 100%);
}

/*
 * SLOT DE TRANSPORTE — ::after
 * La ranura inferior donde la cinta pasa por el cabezal.
 * Es el elemento que más define a un cassette.
 */
.cassette-player::after {
  content: '';
  position: absolute;
  bottom: 7px;
  left: 16px; right: 16px;
  height: 8px;
  background: #030202;
  border-radius: 4px;
  box-shadow:
    inset 0 2px 6px oklch(0 0 0 / 1),
    inset 0 0 0 1px #090807;
}

/* TORNILLOS DE ESQUINA ─────────────── */
.cassette-screws {
  position: absolute;
  left: 9px; right: 9px;
  top: 8px;
  width: auto;
  display: flex;
  justify-content: space-between;
  padding: 0;
  z-index: 3;
}
.cassette-screws.bottom {
  top: auto;
  bottom: 4px;   /* pegados al borde inferior, bajo el iframe */
  z-index: 1;    /* detrás de la ventana de Spotify */
}

.screw {
  width: 11px; height: 11px;
  border-radius: 50%;
  border: none;
  position: relative;
  background: radial-gradient(circle at 38% 32%,
    #555450 0%,
    #3a3836 55%,
    #252321 100%
  );
  box-shadow:
    inset 0 1px 3px oklch(0 0 0 / 0.75),
    0 1px 0 oklch(1 0 0 / 0.10);
}
/* Ranura del tornillo en diagonal */
.screw::after {
  content: '';
  position: absolute;
  inset: 2px;
  height: 1.5px;
  top: 50%;
  background: #141312;
  transform: translateY(-50%) rotate(42deg);
  border-radius: 1px;
}

/* ETIQUETA ─────────────────────────── */
/*
 * Sticker limpio: borde recto con radio pequeño,
 * sin clip-path que distorsiona a tamaños pequeños.
 * top: 88px = 12 (reel-top) + 70 (reel-h) + 6 (gap)
 * height: ~26px → bottom 114px
 */
.cassette-label {
  position: absolute;
  top: 88px;
  left: 50%;
  transform: translateX(-50%) rotate(-0.8deg);
  width: 78%;
  text-align: center;
  padding: 0.36rem 1.1rem;
  /* Sin background ni filter aquí — los maneja el ::before */
  background: transparent;
  color: oklch(0.13 0.05 50);
  font-family: var(--font-hand);
  font-size: var(--step-1);
  font-weight: 700;
  z-index: 6;
  pointer-events: none;
  /* Texto posicionado por encima del pseudo */
  isolation: isolate;
}

/*
 * El ::before lleva el fondo + textura + filtro de bordes rasgados.
 * El texto del elemento queda por encima, sin distorsión.
 */
.cassette-label::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 1px;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='60'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='60' filter='url(%23n)' opacity='0.07'/%3E%3C/svg%3E"),
    linear-gradient(162deg,
      oklch(0.93 0.09 60) 0%,
      oklch(0.88 0.10 56) 45%,
      oklch(0.83 0.09 55) 100%
    );
  filter:
    url(#torn-label)
    drop-shadow(0 3px 8px oklch(0 0 0 / 0.50))
    drop-shadow(0 1px 2px oklch(0 0 0 / 0.30));
}

/* VENTANA SPOTIFY ──────────────────── */
/*
 * top: 120px = 88 (label) + 26 (label-h) + 6 (gap)
 * iframe 80px + 3px padding × 2 = 86px → bottom 206px
 * ::after slot: bottom 7px, h 8px → top 195px
 *   → slot solapa últimos 11px del iframe. Se elimina el ::after
 *   para liberar esa zona y garantizar que Spotify sea clickeable.
 *
 * z-index: 10 asegura que nada tape el iframe.
 * overflow: visible para que Spotify no quede recortado.
 */
.cassette-window {
  position: absolute;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  width: 82%;
  background: #020202;
  border-radius: 4px;
  padding: 3px;
  z-index: 10;
  overflow: visible;   /* no recortar el iframe de Spotify */
  box-shadow:
    0 0 0 1px #0f0e0d,
    inset 0 3px 10px oklch(0 0 0 / 0.90);
}
.cassette-window iframe {
  display: block;
  border-radius: 3px;
  pointer-events: auto;  /* garantiza interactividad */
  position: relative;
  z-index: 11;
  filter: sepia(0.10) contrast(1.05) brightness(0.98);
}

/* Eliminar ::after (slot de transporte) — solapaba el iframe */
.cassette-player::after { display: none; }

/* ─── CARTA ──────────────────────────── */
#carta { background: var(--bg-section); }

.menu-categories {
  display: flex; justify-content: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-l);
  flex-wrap: wrap;
}
.cat-btn {
  background: transparent;
  color: var(--ink-2);
  border: 1.5px solid oklch(0.21 0.042 152 / 0.20);
  padding: 0.55rem 1.2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: var(--r-s);
  transition: all var(--dur-fast) var(--ease-out-quart);
}
.cat-btn.active,
.cat-btn:hover {
  background: var(--bg-dark);
  color: var(--ink-light);
  border-color: var(--bg-dark);
}
.cat-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.product-list {
  display: grid;
  gap: 0.9rem;
  max-width: 760px;
  margin: 0 auto;
}

.menu-card {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--bg-card);
  border: 1.5px solid oklch(0.21 0.042 152 / 0.08);
  padding: var(--space-s) var(--space-m);
  border-radius: var(--r-m);
  gap: var(--space-m);
  transition:
    transform      var(--dur-mid) var(--ease-out-quart),
    border-color   var(--dur-mid) var(--ease-out-quart),
    box-shadow     var(--dur-mid) var(--ease-out-quart);
}
.menu-card:hover {
  transform: translateY(-2px);
  border-color: oklch(0.62 0.145 48 / 0.35);
  box-shadow: 0 8px 24px oklch(0 0 0 / 0.07);
}
.menu-card-info { flex: 1; min-width: 0; }

.product-name {
  font-family: var(--font-heading);
  font-size: var(--step-1);
  font-weight: 400;
  color: var(--bg-dark);
  margin-bottom: 0.2rem;
  display: flex; align-items: baseline;
  gap: 0.5rem; flex-wrap: wrap;
}
.product-desc {
  font-size: var(--step--1);
  color: var(--ink-2);
  line-height: 1.5;
  margin-bottom: 0.4rem;
}
.allergen-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.4rem;
}
.allergen-tag {
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  background: rgba(46, 61, 48, 0.08);
  color: #2E3D30;
  border: 1px solid rgba(46, 61, 48, 0.15);
}
.allergen-tag[data-type="Sin TACC"] {
  background: rgba(42, 157, 143, 0.1);
  color: #2A9D8F;
  border-color: rgba(42, 157, 143, 0.25);
}
.allergen-tag[data-type="Vegano"] {
  background: rgba(42, 157, 143, 0.1);
  color: #2A9D8F;
  border-color: rgba(42, 157, 143, 0.25);
}
.product-price {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: var(--step-0);
  color: var(--accent);
}

.orange-badge {
  background: var(--accent);
  color: #fff;
  font-size: 0.60rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-body);
  white-space: nowrap;
  flex-shrink: 0;
  vertical-align: middle;
}

.add-to-cart-classic {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  padding: 0.55rem 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--step--1);
  border-radius: var(--r-s);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--dur-fast) var(--ease-out-quart);
}
.add-to-cart-classic:hover {
  background: var(--accent);
  color: #fff;
}
.add-to-cart-classic:active { transform: scale(0.97); }
.add-to-cart-classic:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ─── AGOTADO ────────────────────────── */
.agotado-badge {
  background: var(--ink-3);
  color: #fff;
  font-size: 0.60rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-body);
  white-space: nowrap;
  flex-shrink: 0;
  vertical-align: middle;
}
.add-to-cart-agotado {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--ink-3);
  padding: 0.55rem 1rem;
  border: 1.5px solid oklch(0.56 0.018 152 / 0.25);
  border-radius: var(--r-s);
  white-space: nowrap;
  flex-shrink: 0;
  cursor: not-allowed;
  letter-spacing: 0.03em;
}
.menu-card:has(.add-to-cart-agotado) {
  opacity: 0.65;
}

/* ─── CARTA VACÍA / CARGANDO ────────── */
@keyframes cartaPulse {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1;   }
}
.menu-loading-msg,
.menu-empty-msg {
  grid-column: 1 / -1;
  text-align: center;
  font-family: var(--font-body);
  font-size: var(--step-0);
  color: var(--ink-3);
  padding: var(--space-xl) var(--space-m);
  letter-spacing: 0.02em;
}
.menu-loading-msg {
  animation: cartaPulse 1.6s var(--ease-out-quart) infinite;
}

/* ─── VER MÁS ───────────────────────── */
.ver-mas-wrap {
  display: flex;
  justify-content: center;
  margin-top: var(--space-m);
}
.ver-mas-btn {
  background: transparent;
  color: var(--bg-dark);
  border: 1.5px solid oklch(0.21 0.042 152 / 0.30);
  padding: 0.7rem 2rem;
  font-family: var(--font-heading);
  font-size: var(--step--1);
  letter-spacing: 0.06em;
  border-radius: var(--r-s);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out-quart);
}
.ver-mas-btn:hover {
  background: var(--bg-dark);
  color: var(--ink-light);
  border-color: var(--bg-dark);
}

/* ─── CART OVERLAY ───────────────────── */
.overlay {
  position: fixed; top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: oklch(0.21 0.042 152 / 0.78);
  z-index: var(--z-overlay);
  display: none; opacity: 0;
  transition: opacity var(--dur-mid) var(--ease-out-quart);
  backdrop-filter: blur(3px);
}
.overlay.active { display: block; opacity: 1; }

.cart-panel {
  position: fixed; top: 0; right: 0;
  width: min(400px, 100vw);
  height: 100svh;
  background: var(--bg);
  border-left: 1.5px solid oklch(0.21 0.042 152 / 0.12);
  color: var(--ink);
  z-index: var(--z-cart);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease-out-expo);
  box-shadow: -8px 0 40px oklch(0 0 0 / 0.18);
}
.cart-panel.open { transform: translateX(0); }

.cart-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--space-s) var(--space-m);
  background: var(--bg-dark);
  color: var(--ink-light);
  border-bottom: 1px solid oklch(1 0 0 / 0.08);
}
.cart-header h2 {
  font-family: var(--font-heading);
  font-size: var(--step-1);
  font-weight: 400;
}
.close-btn {
  background: none; border: none;
  color: var(--ink-muted-d);
  font-size: 1.5rem;
  cursor: pointer;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-s);
  transition:
    color      var(--dur-fast) var(--ease-out-quart),
    background var(--dur-fast) var(--ease-out-quart);
}
.close-btn:hover { color: var(--ink-light); background: oklch(1 0 0 / 0.10); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-s) var(--space-m);
}

.cart-item {
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--space-s);
  margin-bottom: var(--space-s);
  padding-bottom: var(--space-s);
  border-bottom: 1px solid oklch(0.21 0.042 152 / 0.10);
}
.cart-item:last-child { border-bottom: none; margin-bottom: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: var(--step-0);
  margin-bottom: 0.2rem;
}
.cart-item-price {
  color: var(--accent);
  font-weight: 600;
  font-size: var(--step--1);
}

.cart-item-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

.qty-btn {
  background: oklch(0.21 0.042 152 / 0.07);
  border: 1px solid oklch(0.21 0.042 152 / 0.15);
  color: var(--ink);
  padding: 4px 10px;
  cursor: pointer;
  border-radius: var(--r-s);
  font-size: var(--step-0);
  line-height: 1;
  transition: background var(--dur-fast) var(--ease-out-quart);
}
.qty-btn:hover { background: oklch(0.21 0.042 152 / 0.15); }

.empty-msg {
  text-align: center;
  color: var(--ink-3);
  margin-top: var(--space-l);
  font-style: italic;
}

.cart-footer {
  padding: var(--space-s) var(--space-m);
  border-top: 1.5px solid oklch(0.21 0.042 152 / 0.10);
  background: var(--bg-card);
}
.cart-total {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: var(--step-1);
  color: var(--bg-dark);
  margin-bottom: var(--space-s);
}
.checkout-btn {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.9rem;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: var(--step-0);
  border-radius: var(--r-s);
  cursor: pointer;
  transition:
    background var(--dur-fast) var(--ease-out-quart),
    transform  var(--dur-fast) var(--ease-out-quart);
}
.checkout-btn:hover        { background: var(--accent-hover); }
.checkout-btn:active       { transform: scale(0.99); }
.checkout-btn:disabled     { opacity: 0.42; cursor: not-allowed; }
.checkout-btn:disabled:hover { background: var(--accent); transform: none; }

/* ─── GUANACOS DECORATIVOS ──────────── */

/*
 * CARTA — guanaco pegado al piso, esquina derecha.
 * La sección tiene overflow:hidden para recortarlo limpiamente.
 * bottom:0 = pegado al suelo. No flota.
 */
#carta {
  position: relative;
  overflow: hidden;
}

/*
 * El guanaco es blanco sobre fondo claro — sin outline no se ve.
 * drop-shadow en las 4 direcciones simula un trazo oscuro alrededor
 * que lo hace legible sobre cualquier fondo claro.
 */
.guanaco-carta {
  position: absolute;
  bottom: -15px;   /* un poco más abajo, pies recortados por overflow:hidden */
  right: 0;
  height: 260px;
  width: auto;
  pointer-events: none;
  user-select: none;
  filter:
    drop-shadow( 1px  0px 0 oklch(0.25 0.03 135))
    drop-shadow(-1px  0px 0 oklch(0.25 0.03 135))
    drop-shadow( 0px  1px 0 oklch(0.25 0.03 135))
    drop-shadow( 0px -1px 0 oklch(0.25 0.03 135))
    drop-shadow( 3px  6px 10px oklch(0 0 0 / 0.15));
}

/* Mobile — ocultar guanacos en pantallas chicas donde no hay espacio */
@media (max-width: 900px) {
  .guanaco-carta  { height: 180px; }
}
@media (max-width: 600px) {
  .guanaco-carta  { height: 140px; }
}
@media (max-width: 390px) {
  .guanaco-carta  { height: 110px; }
}

/* ─── SOBRE NOSOTROS ─────────────────── */
.sobre-centrado {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-m);
}

/* ─── POLAROID FLIP 3D ───────────────── */
.polaroid-flip {
  perspective: 1200px;
  width: 100%;
  max-width: 380px;
  cursor: pointer;
}

/* Sin tachuela, sin cinta — el polaroid flota limpio */
.polaroid-flip-front::before { display: none; }

.polaroid-flip-inner {
  position: relative;
  width: 100%;
  /* La altura la define el frente (polaroid-style tiene padding-bottom:56px + imagen) */
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.polaroid-flip-inner.is-flipped {
  transform: rotateY(180deg);
}

.polaroid-flip-front,
.polaroid-flip-back {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* El frente es el .polaroid-style existente */
.polaroid-flip-front {
  /* hereda todos los estilos de .polaroid-style */
}

/* El dorso: mismo papel envejecido que el polaroid, con texto manuscrito */
.polaroid-flip-back {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
  background: #faf7f0;
  border: 1px solid oklch(0.85 0.015 80);
  box-shadow:
    0 32px 72px oklch(0 0 0 / 0.50),
    0 8px 24px oklch(0 0 0 / 0.28),
    inset 0 0 0 1px oklch(1 0 0 / 0.6);
  padding: var(--space-m);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-s);
  border-radius: 2px;
  overflow-y: auto;
}

.flip-text {
  font-family: var(--font-sans);
  font-size: clamp(0.85rem, 1.8vw, 0.95rem);
  color: oklch(0.28 0.04 80);
  line-height: 1.4;
  margin: 0;
  text-align: center;
}
.flip-text em {
  font-style: italic;
  font-weight: 500;
  color: oklch(0.35 0.06 50);
}
.flip-firma {
  font-size: 0.85rem;
  color: oklch(0.45 0.05 80);
  margin-top: var(--space-xs);
  text-align: right;
}

.sobre-eyebrow {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: var(--space-s);
}

.sobre-lead {
  font-family: var(--font-heading);
  font-size: var(--step-4);
  font-weight: 400;
  color: var(--ink-light);
  line-height: 1.05;
  margin-bottom: var(--space-m);
  text-wrap: balance;
}

.sobre-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--ink-light);
  border: 1.5px solid oklch(1 0 0 / 0.25);
  padding: 0.7rem 1.6rem;
  font-family: var(--font-heading);
  font-size: var(--step--1);
  letter-spacing: 0.06em;
  border-radius: var(--r-s);
  cursor: pointer;
  transition:
    background var(--dur-fast) var(--ease-out-quart),
    border-color var(--dur-fast) var(--ease-out-quart),
    color var(--dur-fast) var(--ease-out-quart);
}
.sobre-toggle:hover {
  background: oklch(1 0 0 / 0.07);
  border-color: oklch(1 0 0 / 0.45);
}
.sobre-toggle::after {
  content: '↓';
  transition: transform var(--dur-mid) var(--ease-out-quart);
}
.sobre-toggle[aria-expanded="true"]::after { transform: rotate(180deg); }

/* ─── FOOTER ─────────────────────────── */
.site-footer {
  background: var(--bg-dark);
  color: var(--ink-light);
  padding: var(--space-xl) 5% var(--space-m);
}
.footer-content {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: var(--space-xl);
  margin-bottom: var(--space-l);
  max-width: 900px;
  margin-left: auto; margin-right: auto;
}
.footer-col h3 {
  font-family: var(--font-heading);
  font-size: var(--step--1);
  font-weight: 400;
  color: var(--ink-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}
.footer-col p {
  color: var(--ink-muted-d);
  line-height: 1.65;
  margin-bottom: 0.35rem;
  font-size: var(--step-0);
}
.footer-link {
  color: var(--ink-muted-d);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out-quart);
}
.footer-link:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid oklch(1 0 0 / 0.08);
  padding-top: var(--space-m);
  text-align: center;
  color: var(--ink-muted-d);
  font-size: var(--step--1);
  opacity: 0.55;
}

/* ─── REVEAL ANIMATIONS ──────────────── */
.reveal {
  opacity: 1; /* default visible — JS agrega .is-hidden */
}
.reveal.is-hidden {
  opacity: 0;
  transform: translateY(22px);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity   var(--dur-slow) var(--ease-out-quart),
    transform var(--dur-slow) var(--ease-out-quart);
}

/* ─── WHATSAPP FAB ───────────────────── */
.whatsapp-fab {
  position: fixed;
  bottom: var(--space-m);
  right: var(--space-m);
  z-index: var(--z-overlay);
  width: 56px; height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px oklch(0 0 0 / 0.28);
  transition:
    transform   var(--dur-mid) var(--ease-out-quart),
    box-shadow  var(--dur-mid) var(--ease-out-quart);
  text-decoration: none;
}
.whatsapp-fab:hover {
  transform: scale(1.10) translateY(-2px);
  box-shadow: 0 12px 36px oklch(0 0 0 / 0.35);
}
.whatsapp-fab:active { transform: scale(0.97); }

/* ─── REDUCED MOTION ─────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal.is-hidden { opacity: 1; transform: none; }
}

/* ─── HEADER ACTIONS ─────────────────── */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

/* ─── HAMBURGER ──────────────────────── */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  width: 36px;
  height: 36px;
  border-radius: var(--r-s);
  transition: background var(--dur-fast) var(--ease-out-quart);
}
.hamburger-btn:hover { background: oklch(1 0 0 / 0.10); }
.hamburger-btn span {
  display: block;
  height: 2px;
  background: var(--ink-light);
  border-radius: 2px;
  transform-origin: center;
  transition:
    transform  var(--dur-mid) var(--ease-out-expo),
    opacity    var(--dur-mid) var(--ease-out-expo),
    width      var(--dur-mid) var(--ease-out-expo);
}
/* Animación X cuando está abierto */
.hamburger-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOBILE MENU ────────────────────── */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--bg-dark);
  z-index: calc(var(--z-sticky) - 1);
  /* padding-top = alto del header (~64px) + espacio */
  padding: 72px 6% 24px;
  transform: translateY(-100%);
  transition: transform var(--dur-slow) var(--ease-out-expo);
  border-bottom: 2px solid var(--accent);
  box-shadow: 0 12px 32px oklch(0 0 0 / 0.40);
}
.mobile-menu.is-open {
  transform: translateY(0);
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-menu nav a {
  font-family: var(--font-heading);
  /* Reducido de step-3 (~1.73rem) a step-1 (~1.2rem) — 4 links caben sin ocupar toda la pantalla */
  font-size: var(--step-1);
  color: var(--ink-muted-d);
  text-decoration: none;
  border-bottom: 1px solid oklch(1 0 0 / 0.07);
  padding: 14px 0;
  letter-spacing: 0.04em;
  transition: color var(--dur-fast) var(--ease-out-quart);
}
.mobile-menu nav a:last-child { border-bottom: none; }
.mobile-menu nav a:hover,
.mobile-menu nav a.is-active { color: var(--accent); }

@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: var(--space-l);
  }
  .hero-left p   { margin-left: auto; margin-right: auto; }
  .hero-right    { width: 100%; }
  .polaroid-style { max-width: 320px; }
  .main-nav      { display: none; }
  .hamburger-btn { display: flex; }
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-l);
  }
}

@media (max-width: 480px) {
  .menu-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .add-to-cart-classic { align-self: flex-start; }
  .historia-illust { height: 240px; }
}

/* ─── HEADER TEXTO LOGO ──────────────────── */
.logo {
  font-family: var(--font-brand);
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  color: var(--ink-light);
  text-decoration: none;
  display: flex; align-items: center;
  letter-spacing: -0.02em;
  line-height: 1;
  transition: opacity var(--dur-fast) var(--ease-out-quart);
  border-radius: 0;
  overflow: visible;
}
.logo:hover { opacity: 0.85; }
.logo-dot { color: var(--ink-light); }

/* ─── HERO WORD ANIMATION ────────────────── */
.hw {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  animation: wordIn var(--dur-slow) var(--ease-out-expo) forwards;
  animation-delay: calc(0.1s + var(--i) * 0.12s);
}
@keyframes wordIn {
  to { opacity: 1; transform: translateY(0); }
}
.hero-sub {
  opacity: 0;
  animation: wordIn var(--dur-slow) var(--ease-out-expo) forwards;
  animation-delay: 0.75s;
}
.cta-btn {
  opacity: 0;
  animation: wordIn var(--dur-slow) var(--ease-out-expo) forwards;
  animation-delay: 0.9s;
}

/* Pulso suave en accent text */
.accent-text {
  display: inline-block;
  animation: wordIn var(--dur-slow) var(--ease-out-expo) forwards,
             accentPulse 3s ease-in-out 1.5s infinite;
}
@keyframes accentPulse {
  0%, 100% { color: var(--accent); }
  50%       { color: oklch(0.72 0.145 48); }
}

/* ─── POLAROID MINI — RITUAL CARDS ──────── */
.polaroid-mini {
  background: #faf7f0;
  padding: 10px 10px 48px;
  position: relative;
  width: 100%;
  transform: rotate(var(--rot, 0deg));
  transform-origin: center center;
  box-shadow:
    0 1px 2px oklch(0 0 0 / 0.10),
    0 4px 10px oklch(0 0 0 / 0.14),
    0 14px 32px oklch(0 0 0 / 0.18),
    0 2px 0 oklch(0.85 0.015 80) inset;
  margin-bottom: var(--space-s);
  transition:
    transform  var(--dur-slow) var(--ease-out-quart),
    box-shadow var(--dur-slow) var(--ease-out-quart);
}
.polaroid-mini:hover {
  transform: rotate(0deg) scale(1.03);
  box-shadow:
    0 2px 4px oklch(0 0 0 / 0.12),
    0 8px 20px oklch(0 0 0 / 0.18),
    0 24px 56px oklch(0 0 0 / 0.25),
    0 2px 0 oklch(0.85 0.015 80) inset;
}
/* Imagen dentro del polaroid-mini */
.polaroid-mini img {
  display: block;
  width: 100%;
  height: auto;
  /* Sutil vignette */
  box-shadow: inset 0 0 12px 

/* ─── TOAST NOTIFICACIÓN ─────────────────── */
@keyframes toastIn {
  from { transform: translateX(-50%) translateY(-12px); opacity: 0; }
  to   { transform: translateX(-50%) translateY(0);   opacity: 1; }
}
.cart-toast {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(-12px);
  z-index: 9999;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: var(--r-m);
  box-shadow: 0 4px 24px oklch(0 0 0 / 0.18);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s var(--ease-out-quart), transform 0.3s var(--ease-out-quart);
  max-width: min(90vw, 420px);
  text-align: center;
  letter-spacing: 0.01em;
}
.cart-toast--visible {
  animation: toastIn 0.3s var(--ease-out-quart) forwards;
}
.cart-toast--success { background: var(--bg-dark); color: #fff; }
.cart-toast--warn    { background: oklch(0.70 0.13 60); color: #fff; }
.cart-toast--error   { background: oklch(0.52 0.18 25); color: #fff; }
