/* Dos Alejos: estilos.
   Regla 60-30-10: crema y hueso (fondos) 60%, chocolate 30%, dorado 10%.
   Sin rojo desde el 20 oct: botón chocolate sobre fondo claro, botón dorado sobre fondo oscuro. */
:root {
  /* Paleta de 5 colores (20 oct). No agregar colores nuevos: los efectos se hacen aclarando u oscureciendo estos. */
  --masa: #F6E7D0;          /* crema: fondo principal */
  --masa-clara: #FFF7EA;    /* hueso: franja de arriba, tarjetas, secciones claras alternas, letras sobre oscuro */
  --chocolate: #3B1F14;     /* títulos, textos, botones sobre claro y todas las secciones oscuras */
  --texto-suave: #6B4A3A;   /* chocolate suave: textos secundarios */
  --dorado: #D4A64A;        /* único acento: botones sobre oscuro, botón flotante, números y detalles */
  --hueso-suave: rgba(255, 247, 234, .8);   /* el mismo hueso, un poco transparente, para textos secundarios sobre oscuro */

  --f-titulo: "Cormorant Garamond", "Cormorant", Georgia, serif;   /* elegida por Alejandro el 19 oct */
  --f-texto: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;   /* elegida por Alejandro el 19 oct */

  --ancho: 1120px;
  --lado: clamp(16px, 5vw, 40px);
  --radio: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--chocolate); scrollbar-gutter: stable; }   /* al estirar la página abajo se ve oscuro, como el pie */
body {
  margin: 0;
  background: var(--masa);
  color: var(--chocolate);
  font-family: var(--f-texto);
  font-size: 17px;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--f-titulo);
  font-weight: 600;
  line-height: 1.05;
  margin: 0;
  letter-spacing: 0;
}
h2 { font-size: clamp(36px, 6.6vw, 54px); }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--dorado); outline-offset: 3px; border-radius: 6px; }

section { padding: clamp(56px, 9vw, 104px) var(--lado); }
section > * { max-width: var(--ancho); margin-inline: auto; }

/* Botones de pedir: chocolate con letras crema sobre fondo claro; en secciones oscuras pasan a dorado */
.boton {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--chocolate); color: var(--masa-clara);
  font-family: var(--f-texto); font-weight: 700; font-size: 17px;
  text-decoration: none;
  padding: 15px 24px; border-radius: 999px;
  min-height: 52px;
  box-shadow: 0 12px 26px -12px rgba(59, 31, 20, .65);
  transition: background .2s, transform .2s;
}
.boton:hover { filter: brightness(1.35); }
.temporada .boton, .cierre .boton { background: var(--dorado); color: var(--chocolate); box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .7); }
.temporada .boton:hover, .cierre .boton:hover { filter: brightness(.92); }
.boton:active { transform: translateY(1px); }
.boton--grande { font-size: 18px; padding: 17px 28px; min-height: 58px; }
.ico { width: 22px; height: 22px; flex: none; }

/* Barra superior: se queda arriba al bajar y toma el color de la sección que tiene debajo (barra camaleón) */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 61; background: var(--barra-fondo, var(--masa)); transition: background-color .5s cubic-bezier(.2, .7, .2, 1); }
.barra {
  --b-fondo: var(--masa); --b-tinta: var(--chocolate); --b-suave: var(--texto-suave);
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px max(var(--lado), calc((100% - var(--ancho)) / 2));
  background: var(--b-fondo); color: var(--b-tinta);
  transition: background-color .5s cubic-bezier(.2, .7, .2, 1), color .5s cubic-bezier(.2, .7, .2, 1);
}
.barra[data-tono="hueso"] { --b-fondo: var(--masa-clara); }
.barra[data-tono="chocolate"] { --b-fondo: var(--chocolate); --b-tinta: var(--masa-clara); --b-suave: var(--hueso-suave); }
.barra__marca { display: block; text-decoration: none; color: inherit; }
.barra__nombre { display: block; height: 38px; width: auto; }
.barra__nav { display: none; gap: 28px; }
.barra__nav a { text-decoration: none; font-weight: 500; font-size: 15px; letter-spacing: .04em; color: var(--b-suave); transition: color .5s; }
.barra__nav a:hover { color: var(--b-tinta); }
.barra > * { max-width: none; }

/* 1. Portada */
.portada {
  display: grid; gap: 32px;
  padding-top: clamp(16px, 4vw, 48px);
  max-width: calc(var(--ancho) + 2 * var(--lado)); margin: 0 auto;
}
.portada > * { max-width: none; margin: 0; }
.portada h1 {
  font-size: clamp(50px, 11.5vw, 94px);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -0.005em;
  max-width: 11ch;
}
.portada__bajada { margin-top: 20px; font-size: 19px; max-width: 34ch; color: var(--texto-suave); }
.portada .boton { margin-top: 28px; }
.portada__datos {
  list-style: none; padding: 0; margin: 22px 0 0;
  display: grid; gap: 6px; font-size: 15px; font-weight: 600; color: var(--texto-suave);
}
.portada__datos li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--dorado); margin-right: 10px; vertical-align: middle; }
.portada__foto { margin: 0; position: relative; isolation: isolate; }
/* Sombra en el piso, debajo de la foto: da el efecto de que la foto "flota" (3D) */
.portada__foto::after {
  content: ""; position: absolute; z-index: -1;
  left: 8%; right: 8%; bottom: -26px; height: 52px;
  background: radial-gradient(closest-side, rgba(59, 31, 20, .42), rgba(59, 31, 20, 0));
  filter: blur(6px);
}
.portada__foto img {
  width: 100%; height: auto; display: block;   /* la foto sale completa, en su formato */
  border-radius: var(--radio);
  /* Varias sombras juntas: una cerca y marcada, otras lejos y suaves, como luz real */
  box-shadow:
    0 2px 4px rgba(59, 31, 20, .10),
    0 12px 24px -6px rgba(59, 31, 20, .22),
    0 34px 60px -18px rgba(59, 31, 20, .40),
    0 60px 90px -40px rgba(59, 31, 20, .45);
}

/* 2. Temporada */
.temporada { background: var(--chocolate); color: var(--masa-clara); }
.temporada__marco {
  display: grid; gap: 32px;
  border: 1px solid rgba(212, 166, 74, .45);
  border-radius: calc(var(--radio) + 8px);
  padding: clamp(24px, 5vw, 56px);
}
.temporada h2 { color: var(--masa-clara); }
.temporada__frase {
  font-family: var(--f-titulo); font-style: italic; font-weight: 500;
  font-size: clamp(27px, 5vw, 36px); color: var(--dorado); margin: 6px 0 18px;
}
.temporada__texto > p:not([class]) { max-width: 46ch; color: var(--hueso-suave); }
.temporada__elegir { border: 0; padding: 0; margin: 26px 0 0; min-width: 0; }
.temporada__elegir legend { padding: 0; margin-bottom: 10px; font-size: 11.5px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--dorado); }
.temporada__opciones { display: grid; gap: 8px; }
.opcion {   /* cada tamaño del box se puede tocar para elegirlo */
  position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start;
  padding: 14px 16px; border: 1px solid rgba(212, 166, 74, .3); border-radius: 16px; cursor: pointer;
  transition: border-color .2s, background-color .2s; -webkit-tap-highlight-color: transparent;
}
.opcion:hover { border-color: rgba(212, 166, 74, .6); }
.opcion input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opcion__marca { width: 20px; height: 20px; margin-top: 4px; border-radius: 50%; border: 1.5px solid rgba(212, 166, 74, .7); display: grid; place-items: center; transition: border-color .2s; }
.opcion__marca::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--dorado); transform: scale(0); transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.opcion:has(input:checked) { border-color: var(--dorado); background: rgba(212, 166, 74, .1); }
.opcion input:checked ~ .opcion__marca::after { transform: scale(1); }
.opcion input:focus-visible ~ .opcion__marca { outline: 3px solid var(--dorado); outline-offset: 3px; }
.opcion__cuerpo { display: grid; gap: 2px; min-width: 0; }
.opcion__cabeza { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.opcion__cabeza strong { font-family: var(--f-titulo); font-weight: 600; font-size: 24px; }
.opcion__precio { font-size: 15px; color: var(--dorado); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.temporada__pedir-precio:not(:empty) { margin-left: 4px; padding-left: 12px; border-left: 1px solid rgba(59, 31, 20, .3); font-weight: 600; font-variant-numeric: tabular-nums; }
.opcion__lleva { color: var(--hueso-suave); font-size: 16px; }
.temporada__aviso { margin-top: 16px; font-size: 15.5px; color: var(--hueso-suave); max-width: 46ch; }
.temporada__fechas { margin: 22px 0 26px; font-weight: 700; color: var(--masa-clara); }
.temporada__foto { margin: 0; position: relative; order: -1; }  /* en celular la foto va primero, como portada */
.temporada__foto img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radio); display: none; }
.temporada__foto.con-foto img {
  display: block;
  /* Mismo efecto 3D de la portada; sombras más oscuras porque el fondo de esta sección es oscuro */
  box-shadow:
    0 2px 4px rgba(0, 0, 0, .25),
    0 12px 24px -6px rgba(0, 0, 0, .45),
    0 34px 60px -18px rgba(0, 0, 0, .65),
    0 60px 90px -40px rgba(0, 0, 0, .70);
}
.temporada__foto.con-foto { isolation: isolate; }
.temporada__foto.con-foto::after {
  content: ""; position: absolute; z-index: -1;
  left: 8%; right: 8%; bottom: -26px; height: 52px;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0));
  filter: blur(6px);
}
.temporada__ampliar {
  display: block; width: 100%; padding: 0; border: 0; background: none;
  border-radius: var(--radio); cursor: zoom-in; position: relative;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1); -webkit-tap-highlight-color: transparent;
}
.temporada__ampliar:hover { transform: translateY(-3px); }
.temporada__ampliar .lupa { right: 14px; bottom: 14px; width: 36px; height: 36px; }
.temporada__ampliar .lupa svg { width: 17px; height: 17px; }
.temporada__foto.sin-foto .temporada__ampliar { display: none; }
.temporada__falta { display: none; }
.temporada__foto.sin-foto .temporada__falta {
  display: grid; place-items: center; text-align: center;
  aspect-ratio: 3 / 4; border-radius: var(--radio);
  border: 1.5px dashed rgba(212, 166, 74, .6); color: var(--dorado);
  padding: 24px; font-weight: 600;
}

/* 3. Carta de queques */
.carta__cabeza { margin-bottom: 36px; }
.carta__cabeza p { margin-top: 14px; max-width: 52ch; color: var(--texto-suave); }
.grupo { margin-top: 40px; }
.grupo__cabeza {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding-bottom: 12px; border-bottom: 2px solid var(--chocolate); margin-bottom: 8px;
}
.grupo__cabeza h3 { font-size: clamp(30px, 5vw, 36px); }
.grupo__desde { font-weight: 700; color: var(--texto-suave); font-size: 15px; white-space: nowrap; }
.sabor {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  grid-template-areas: "foto texto" "precios precios";
  gap: 14px 16px; align-items: start;
  padding: 22px 0; border-bottom: 1px solid rgba(59, 31, 20, .14);
}
.sabor__foto {
  grid-area: foto;
  width: 100%; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden;
  background: var(--masa-clara);
}
.sabor__foto img { width: 100%; height: 100%; object-fit: cover; }
/* La foto se puede tocar para verla en grande */
.sabor__foto--boton { position: relative; display: block; padding: 0; border: 0; cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.sabor__foto--boton img { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.sabor__foto--boton:hover img { transform: scale(1.05); }
.lupa {
  position: absolute; right: 8px; bottom: 8px; z-index: 1;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 247, 234, .9); color: var(--chocolate);
  box-shadow: 0 3px 10px -3px rgba(59, 31, 20, .45);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  pointer-events: none; transition: transform .3s cubic-bezier(.2, .7, .2, 1);
}
.lupa svg { width: 15px; height: 15px; }
.sabor__foto--boton:hover .lupa, .temporada__ampliar:hover .lupa { transform: scale(1.1); }
.sabor__foto--vacia {   /* recuadro liviano mientras no haya foto del sabor */
  display: grid; place-items: center;
  background: var(--masa-clara);
  box-shadow: inset 0 0 0 1px rgba(212, 166, 74, .6), inset 0 0 0 6px var(--masa-clara), inset 0 0 0 7px rgba(212, 166, 74, .25);
}
.sabor__foto--vacia span { font-family: var(--f-titulo); font-size: 46px; color: var(--dorado); font-weight: 500; }
.sabor__cuerpo { grid-area: texto; min-width: 0; }
.sabor h4 { font-size: 25px; }
.sabor__cuerpo > p { margin-top: 4px; color: var(--texto-suave); font-size: 16px; max-width: 44ch; }
.sabor__precios { grid-area: precios; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.precio {
  display: grid; justify-items: center; gap: 0;
  text-decoration: none; padding: 8px 4px; min-height: 52px;
  border: 1.5px solid var(--chocolate); border-radius: 14px;
  background: var(--masa-clara);
  transition: background .15s, color .15s, border-color .15s;
}
.precio__tam { font-size: 12.5px; font-weight: 600; color: var(--texto-suave); }
.precio__monto { font-size: 17px; font-weight: 700; white-space: nowrap; }
.precio__monto--consultar { font-size: 14px; }
.precio:hover, .precio:focus-visible { background: var(--chocolate); border-color: var(--chocolate); color: var(--masa-clara); }
.precio:hover .precio__tam, .precio:focus-visible .precio__tam { color: var(--hueso-suave); }
.carta__otro { margin-top: 28px; font-weight: 600; color: var(--texto-suave); }

/* 4. Cómo pedir */
.pasos { background: var(--masa-clara); }
.pasos ol { list-style: none; padding: 0; margin-top: 36px; display: grid; gap: 28px; counter-reset: paso; }
.pasos li { counter-increment: paso; display: grid; grid-template-columns: 56px 1fr; gap: 4px 16px; }
.pasos li::before {
  content: counter(paso);
  grid-row: span 2;
  font-family: var(--f-titulo); font-weight: 600;
  font-size: 56px; line-height: .9; color: var(--dorado);
  font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1;
}
.pasos h3 { font-size: 26px; }
.pasos li p { color: var(--texto-suave); max-width: 40ch; }

/* 6. Historia */
.historia { display: grid; gap: 24px; }
.historia > * { margin: 0; }
.historia { max-width: calc(var(--ancho) + 2 * var(--lado)); margin: 0 auto; }
.historia p { margin-top: 16px; font-size: 19px; max-width: 48ch; color: var(--texto-suave); }

/* 7. Comentarios */
.comentarios .js-comentarios { display: grid; gap: 20px; margin-top: 28px; }
.comentarios blockquote { margin: 0; padding: 22px; background: var(--masa-clara); border-radius: var(--radio); }
.comentarios cite { display: block; margin-top: 10px; font-style: normal; font-weight: 700; color: var(--texto-suave); }

/* 8. Preguntas */
.preguntas { background: var(--masa-clara); padding-inline: max(var(--lado), calc((100% - var(--ancho)) / 2)); }
.preguntas > * { margin-inline: 0; }
.preguntas h2 { margin-bottom: 20px; }
.preguntas details { border-bottom: 1px solid rgba(59, 31, 20, .16); max-width: 760px; }
.preguntas summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-weight: 700; font-size: 18px;
}
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--f-titulo); font-size: 28px; color: var(--texto-suave); transition: transform .2s;
}
.preguntas details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.preguntas details p { padding: 0 0 20px; color: var(--texto-suave); max-width: 60ch; }

/* Cierre */
.cierre { background: var(--chocolate); color: var(--masa-clara); padding-inline: max(var(--lado), calc((100% - var(--ancho)) / 2)); }
.cierre > * { max-width: none; margin-inline: 0; }
.cierre h2 { color: var(--masa-clara); }
.cierre p { margin: 12px 0 28px; color: var(--hueso-suave); font-size: 19px; }

/* Pie */
.pie {
  display: grid; gap: 32px 40px;
  padding: 56px max(var(--lado), calc((100% - var(--ancho)) / 2)) 120px;   /* abajo deja lugar al botón flotante */
  background: var(--chocolate); color: var(--hueso-suave); font-size: 15px;
  border-top: 1px solid rgba(212, 166, 74, .35);
}
.pie__marca img { height: 84px; width: auto; }
.pie__lema { margin-top: 14px; font-family: var(--f-titulo); font-style: italic; font-weight: 500; font-size: 22px; color: var(--masa-clara); }
.pie__col { display: grid; gap: 6px; align-content: start; }
.pie__col h2 { font-family: var(--f-texto); font-size: 11.5px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--dorado); margin-bottom: 4px; }
.pie a { font-weight: 600; color: var(--masa-clara); text-decoration: none; border-bottom: 1px solid rgba(212, 166, 74, .6); }
.pie a:hover { border-bottom-color: var(--dorado); }
.pie__final { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid rgba(255, 247, 234, .12); font-size: 13px; letter-spacing: .04em; color: rgba(255, 247, 234, .55); }

/* 9. Botón flotante */
.flotante {
  position: fixed; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 50;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--dorado); color: var(--chocolate); text-decoration: none;   /* dorado: se ve sobre secciones claras y oscuras */
  font-weight: 700; padding: 14px 20px; border-radius: 999px; min-height: 54px;
  box-shadow: 0 14px 30px -10px rgba(59, 31, 20, .6), 0 0 0 1px rgba(59, 31, 20, .12);
}
.flotante:hover { filter: brightness(.92); }
.flotante { transition: opacity .35s ease, transform .45s cubic-bezier(.2, .8, .2, 1), filter .2s; }
.flotante--oculto { opacity: 0; transform: translateY(18px) scale(.96); pointer-events: none; }

/* 10. Ficha del queque (se abre al tocar una foto) */
html.ficha-abierta { overflow: hidden; }
.ficha {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent; overflow: hidden;
  color: var(--chocolate);
}
.ficha[open] { display: block; }
.ficha::backdrop { background: transparent; }
.ficha__fondo {
  position: absolute; inset: 0;
  background: rgba(59, 31, 20, .74);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.ficha__hoja {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-height: calc(100vh - 28px);
  max-height: calc(100dvh - 28px - env(safe-area-inset-top, 0px));
  display: flex; flex-direction: column;
  background: var(--masa-clara);
  border-radius: 26px 26px 0 0; overflow: hidden;
  box-shadow: 0 -12px 48px -12px rgba(0, 0, 0, .4);
}
.ficha__cuerpo { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.ficha__cerrar {
  position: absolute; top: 12px; right: 12px; z-index: 4;
  width: 40px; height: 40px; border-radius: 50%; border: 0; padding: 0;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(255, 247, 234, .9); color: var(--chocolate);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .4);
  transition: transform .25s;
}
.ficha__cerrar:hover { transform: rotate(90deg); }
.ficha__cerrar svg { width: 20px; height: 20px; }
.ficha__asa {   /* la rayita de arriba: se arrastra hacia abajo para cerrar */
  position: absolute; top: 0; left: 50%; z-index: 3; transform: translateX(-50%);
  width: 96px; height: 26px; touch-action: none;
}
.ficha__asa::before {
  content: ""; position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 40px; height: 5px; border-radius: 99px;
  background: rgba(255, 247, 234, .92); box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
}
.ficha__galeria { position: relative; background: var(--masa); }
.ficha__pista {
  display: flex; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  touch-action: pan-x; overscroll-behavior-x: contain;
}
.ficha__pista::-webkit-scrollbar { display: none; }
.ficha__foto { flex: 0 0 100%; aspect-ratio: 4 / 3; scroll-snap-align: center; scroll-snap-stop: always; }
.ficha--vertical .ficha__foto { aspect-ratio: auto; height: 40vh; height: 40dvh; }   /* foto vertical (box): más baja en el celular para que se vean los tamaños */
.ficha--vertical .ficha__foto img { object-position: 50% 58%; }
.ficha__foto img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.ficha__flecha {
  position: absolute; top: 50%; z-index: 2; margin-top: -18px;
  width: 36px; height: 36px; border-radius: 50%; border: 0; padding: 0;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(255, 247, 234, .85); color: var(--chocolate);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .4);
  transition: opacity .25s, transform .25s;
}
.ficha__flecha svg { width: 20px; height: 20px; }
.ficha__flecha--ant { left: 12px; }
.ficha__flecha--sig { right: 12px; }
.ficha__flecha--sig svg { transform: scaleX(-1); }
.ficha__flecha:disabled { opacity: 0; pointer-events: none; }
.ficha__cuenta {
  position: absolute; left: 50%; bottom: 12px; z-index: 2; transform: translateX(-50%);
  padding: 4px 11px; border-radius: 99px;
  background: rgba(59, 31, 20, .55); color: var(--masa-clara);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 12.5px; font-weight: 500; letter-spacing: .1em; font-variant-numeric: tabular-nums;
}
.ficha--sola .ficha__flecha, .ficha--sola .ficha__cuenta { display: none; }
.ficha__info { display: flex; flex-direction: column; padding: 22px 22px 0; }
.ficha__grupo, .ficha__tamanos legend {
  font-size: 11.5px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--texto-suave);
}
.ficha__nombre { margin-top: 8px; font-size: clamp(34px, 9vw, 46px); line-height: 1.02; text-wrap: balance; }
.ficha__texto { margin-top: 10px; font-size: 16.5px; color: var(--texto-suave); max-width: 44ch; }
.ficha__tamanos { border: 0; padding: 0; margin: 24px 0 0; min-width: 0; }
.ficha__tamanos legend { padding: 0; margin-bottom: 10px; }
.ficha__opciones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ficha__opcion { position: relative; display: block; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ficha__opcion input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.ficha__opcion span {
  display: grid; justify-items: center; gap: 1px; padding: 11px 4px 10px;
  border: 1.5px solid rgba(59, 31, 20, .2); border-radius: 14px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.ficha__opcion small { font-size: 13px; font-weight: 500; color: var(--texto-suave); }
.ficha__opcion b { font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ficha__opcion input:checked + span { border-color: var(--chocolate); background: var(--masa); box-shadow: inset 0 0 0 .5px var(--chocolate); }
.ficha__opcion input:focus-visible + span { outline: 3px solid var(--dorado); outline-offset: 2px; }
.ficha__lleva { margin-top: 12px; font-size: 15px; color: var(--texto-suave); }
.ficha__aviso { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(59, 31, 20, .12); font-size: 14px; color: var(--texto-suave); }
.ficha__opcion .ficha__desde { display: block; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: none; font-size: 12px; font-weight: 500; line-height: 1.2; color: var(--texto-suave); text-align: center; }
.precio-desde { font-size: .78em; font-weight: 500; opacity: .85; }
.ficha__pedir-texto, .ficha__pedir-precio, .temporada__pedir-precio, .temporada .boton { white-space: nowrap; }
.ficha__opciones--cuatro { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ficha__accion {
  position: sticky; bottom: 0; z-index: 2;
  margin: 0 -22px; padding: 22px 22px calc(18px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(to bottom, rgba(255, 247, 234, 0), var(--masa-clara) 28%);
  display: grid; gap: 10px;
}
.ficha__pedir { width: 100%; justify-content: space-between; }
.ficha__pedir-texto { display: inline-flex; align-items: center; gap: 10px; }
.ficha__pedir-precio {
  padding-left: 16px; border-left: 1px solid rgba(255, 247, 234, .3);
  font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.ficha__pedir-precio:empty { display: none; }
.ficha__nota { font-size: 13.5px; color: var(--texto-suave); text-align: center; text-wrap: balance; }
.ficha__vuelo {   /* la foto que "vuela" desde la carta hasta la ficha */
  position: absolute; z-index: 10; margin: 0; object-fit: cover; pointer-events: none;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55);
}

/* Escritorio */
@media (min-width: 860px) {
  .barra__nav { display: flex; }
  .portada { grid-template-columns: 1fr 1.05fr; align-items: center; gap: 56px; }
  .temporada__marco { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 56px; }
  .temporada__foto { order: 0; }
  .carta .js-carta { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
  .sabor { grid-template-columns: 200px minmax(0, 1fr); grid-template-areas: "foto texto" "foto precios"; }
  .sabor__precios { max-width: 360px; }
  .pasos ol { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .pie { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .barra__nombre { height: 46px; }
}

/* Ficha en escritorio: ventana al centro, foto a la izquierda y datos a la derecha */
@media (min-width: 860px) {
  .ficha[open] { display: grid; place-items: center; padding: 32px; }
  .ficha__hoja {
    position: relative; left: auto; right: auto; bottom: auto;
    width: min(1060px, 100%); height: min(620px, calc(100vh - 64px)); max-height: none;
    border-radius: 28px; box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .65);
  }
  .ficha--vertical .ficha__hoja { width: min(940px, 100%); height: min(700px, calc(100vh - 64px)); }
  .ficha__cuerpo { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); overflow: hidden; }
  .ficha--vertical .ficha__cuerpo { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); }
  .ficha__galeria, .ficha__pista { height: 100%; min-height: 0; }
  .ficha__foto, .ficha--vertical .ficha__foto { aspect-ratio: auto; height: 100%; }
  .ficha__asa { display: none; }
  .ficha__cerrar { top: 18px; right: 18px; background: var(--masa); }
  .ficha__flecha { width: 46px; height: 46px; margin-top: -23px; opacity: .8; }
  .ficha__galeria:hover .ficha__flecha:not(:disabled) { opacity: 1; }
  .ficha__flecha--ant { left: 18px; } .ficha__flecha--sig { right: 18px; }
  .ficha__flecha--ant:hover { transform: translateX(-2px); } .ficha__flecha--sig:hover { transform: translateX(2px); }
  .ficha__cuenta { bottom: 18px; }
  .ficha__info { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 56px 48px; justify-content: center; }
  .ficha__nombre { font-size: 48px; }
  .ficha__accion { position: static; margin: 30px 0 0; padding: 0; background: none; }
}

/* Aparición suave al bajar (solo lo que empieza fuera de la pantalla) */
.por-revelar {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
}
.por-revelar.visible { opacity: 1; transform: none; }
.pasos li.por-revelar:nth-child(2) { transition-delay: .1s; }
.pasos li.por-revelar:nth-child(3) { transition-delay: .2s; }

/* La portada al cargar */
@media (prefers-reduced-motion: no-preference) {
  .portada h1, .portada__bajada, .portada .boton, .portada__datos { animation: subir .8s cubic-bezier(.2, .7, .2, 1) both; }
  .portada__bajada { animation-delay: .08s; }
  .portada .boton { animation-delay: .16s; }
  .portada__datos { animation-delay: .22s; }
  .portada__foto img { animation: hornear 1.1s cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes subir { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes hornear { from { opacity: 0; transform: scale(.96); filter: saturate(.6) brightness(1.1); } to { opacity: 1; transform: none; filter: none; } }
