/* ==========================================================================
   CHAO Indumentaria
   --------------------------------------------------------------------------
   Editorial boutique: crema/hueso/tinta con acentos sage y bordó, serif itálica
   para lo grande y sans angosta para lo funcional. Es el lenguaje visual del
   mockup de Claude Design que a Tomás le gustó, portado al sitio real:
   · --sage sigue siendo #b1cfd1, el aqua real muestreado del logo de CHAO (no
     el verde-salvia inventado del mockup) — la estética cambia, el dato no.
   · --sage-deep es ese mismo aqua oscurecido a 5,2:1 sobre blanco (el #b1cfd1
     puro da 1,6:1, inservible para texto o botón).
   · --bordeaux/--terracota son acentos de diseño puro, no reclaman ser "el
     color de la marca" — por eso no hace falta que salgan de una foto.

   Tipografía: Cormorant Garamond (editorial: marca, títulos, itálicas) + Jost
   (funcional: nav, botones, precios, etiquetas en mayúscula).
   ========================================================================== */

:root {
  --fondo: #F2EADC;
  --fondo-hueso: #FAF6EE;
  --tinta: #241B16;
  --superficie: #EADFC9;
  --aqua: #b1cfd1;
  --accion: #2f6b70;
  --sage-deep: var(--accion);
  --bordo: #6F2A33;
  --terracota: #B96A4A;

  --tinta-suave: #4A3A30;
  --tinta-mute: #8A7C6E;
  --linea: rgba(36, 27, 22, 0.14);
  --alerta: #8a5a00;

  --serif: "Cormorant Garamond", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radio: 2px; /* Fotos y superficies: casi recto. Los botones son la excepción (ver .btn). */
  --pildora: 999px;
  --contenido: 1280px;
  --paso: clamp(1rem, 2.5vw, 2rem);

  --sombra-cajon: -18px 0 60px rgba(36, 27, 22, 0.2);
  --curva: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  /* `clip` y no `hidden`: hidden convierte al elemento en contenedor de scroll y
     eso rompe el `position: sticky` de la barra. Va en html y en body porque el
     cajón del carrito es `fixed` y se escapa del overflow de body. */
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--fondo);
  color: var(--tinta);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

/* `hidden` tiene que ganarle siempre a un display: flex/grid de una clase. */
[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

/* --- Tipografía display ---------------------------------------------------- */
.display {
  font-family: var(--serif);
  font-weight: 300;
  text-transform: none;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin: 0;
}

.display em {
  font-style: italic;
  font-weight: 300;
  color: var(--bordo);
}

/* Etiqueta chica en mayúscula, el gesto "— Nosotras" / "— Otoño 26" del mockup. */
.sup {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin: 0;
}

.contenido {
  max-width: var(--contenido);
  margin-inline: auto;
  padding-inline: var(--paso);
}

/* --- Barra de anuncio ------------------------------------------------------- */
.anuncio {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.1rem;
  padding: 0.55rem var(--paso);
  background: var(--tinta);
  color: rgba(242, 234, 220, 0.86);
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
}

.anuncio__sep {
  color: var(--aqua);
  font-size: 0.55rem;
}

/* En el celular entra un solo mensaje: se deja el primero. */
@media (max-width: 760px) {
  .anuncio > :not(:first-child) {
    display: none;
  }
}

/* --- Barra superior ------------------------------------------------------- */
/* Tres columnas: menú a la izquierda, marca centrada, bolsa a la derecha — el
   esquema de las tiendas de moda, con la marca como protagonista. */
.barra {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(242, 234, 220, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--linea);
}

.barra__fila {
  max-width: var(--contenido);
  margin-inline: auto;
  padding: 0.75rem var(--paso);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.barra__izq,
.barra__der {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.75rem);
}

.barra__der {
  justify-content: flex-end;
}

.barra__links {
  display: flex;
  gap: 1.5rem;
}

.barra__links a {
  position: relative;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tinta-suave);
  padding: 0.35rem 0;
}

.barra__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--curva);
}

.barra__links a:hover {
  color: var(--tinta);
}

.barra__links a:hover::after {
  transform: scaleX(1);
}

.barra__wsp {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  color: var(--tinta);
  transition: background 0.2s, color 0.2s;
}

.barra__wsp:hover {
  background: rgba(36, 27, 22, 0.06);
  color: var(--sage-deep);
}

.barra svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 860px) {
  .barra__links {
    display: none;
  }
}

/* El disco + palabra: un sello circular con "CHAO / Indumentaria" apilado
   (funciona solo en pantallas chicas) y al lado el nombre en Cormorant. */
.marca {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.marca__disco {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: #fff;
}

.marca__disco span {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
}

.marca__disco em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 0.5rem;
  letter-spacing: 0.01em;
  margin-top: -1px;
  opacity: 0.95;
}

.marca__palabra {
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tinta);
  white-space: nowrap;
}

@media (max-width: 560px) {
  .marca__palabra {
    display: none;
  }
}

/* --- Menú -------------------------------------------------------------------
   Un trigger de tres puntos + "Menú" que despliega un panel con las
   categorías reales, inspiración y los datos del local. Es la navegación de
   toda la tienda, no solo de la home. */
.menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  height: 2.5rem;
  padding: 0;
  background: none;
  border: 0;
  color: var(--tinta);
}

.menu-trigger__puntos {
  display: flex;
  flex-direction: column;
  gap: 3.5px;
  width: 2.5rem;
  align-items: center;
}

.menu-trigger__puntos i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  transition: transform 0.3s var(--curva);
}

.menu-trigger:hover .menu-trigger__puntos i:nth-child(1) {
  transform: translateX(-3px);
}

.menu-trigger:hover .menu-trigger__puntos i:nth-child(3) {
  transform: translateX(3px);
}

.menu-trigger__lbl {
  margin-left: -0.4rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@media (max-width: 560px) {
  .menu-trigger__lbl {
    display: none;
  }
}

.velo--menu {
  z-index: 55;
}

.menu-panel {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: min(400px, 88%);
  background: var(--fondo-hueso);
  /* Cerrado, sin sombra: si no, los 60px de sombra asomaban por el borde
     izquierdo de todas las páginas aunque el panel estuviera escondido. */
  box-shadow: none;
  transform: translateX(-100%);
  transition: transform 0.45s var(--curva), box-shadow 0.45s ease;
  z-index: 65;
  display: flex;
  flex-direction: column;
  padding: 0 0 1.5rem;
  overflow-y: auto;
}

.menu-panel[data-abierto="1"] {
  transform: translateX(0);
  box-shadow: 18px 0 60px rgba(36, 27, 22, 0.2);
}

.menu-panel__cabeza {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.5rem, 5vw, 2.25rem);
  border-bottom: 1px solid var(--linea);
}

.menu-panel__cerrar {
  width: 2.5rem;
  height: 2.5rem;
  margin-right: -0.6rem;
  border: 0;
  background: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--tinta);
}

.menu-panel__grupo {
  margin: 1.6rem 0 0.4rem;
  padding: 0 clamp(1.5rem, 5vw, 2.25rem);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tinta-mute);
}

.menu-panel__item {
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1.15;
  padding: 0.45rem clamp(1.5rem, 5vw, 2.25rem);
  transition: color 0.2s, padding-left 0.3s var(--curva);
}

.menu-panel__item:hover {
  color: var(--bordo);
  padding-left: calc(clamp(1.5rem, 5vw, 2.25rem) + 0.5rem);
}

.menu-panel__item--todo {
  font-style: italic;
}

/* Al abrir, los items entran escalonados. */
.menu-panel[data-abierto="1"] .menu-panel__item {
  animation: entraItem 0.5s var(--curva) both;
}

.menu-panel[data-abierto="1"] .menu-panel__item:nth-of-type(2) { animation-delay: 0.04s; }
.menu-panel[data-abierto="1"] .menu-panel__item:nth-of-type(3) { animation-delay: 0.08s; }
.menu-panel[data-abierto="1"] .menu-panel__item:nth-of-type(4) { animation-delay: 0.12s; }
.menu-panel[data-abierto="1"] .menu-panel__item:nth-of-type(5) { animation-delay: 0.16s; }
.menu-panel[data-abierto="1"] .menu-panel__item:nth-of-type(6) { animation-delay: 0.2s; }
.menu-panel[data-abierto="1"] .menu-panel__item:nth-of-type(n + 7) { animation-delay: 0.24s; }

@keyframes entraItem {
  from {
    opacity: 0;
    transform: translateX(-14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.menu-panel__pie {
  margin-top: auto;
  padding: 1.5rem clamp(1.5rem, 5vw, 2.25rem) 0;
  border-top: 1px solid var(--linea);
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--tinta-suave);
}

.menu-panel__pie p {
  margin: 0 0 0.75rem;
}

.menu-panel__pie a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--linea);
}

.menu-panel__pie a:hover {
  color: var(--bordo);
}

/* --- Bolsa (carrito) --------------------------------------------------------- */
.boton-carrito {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: 2.5rem;
  padding: 0 0.2rem;
  background: none;
  border: 0;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tinta);
}

.boton-carrito:hover {
  color: var(--bordo);
}

.boton-carrito__cuenta {
  min-width: 1.2rem;
  height: 1.2rem;
  padding: 0 0.3rem;
  display: grid;
  place-items: center;
  border-radius: var(--pildora);
  background: var(--tinta);
  color: var(--fondo);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0;
}

.boton-carrito__cuenta[data-vacio="1"] {
  display: none;
}

@media (max-width: 560px) {
  .boton-carrito__lbl {
    display: none;
  }

  .boton-carrito__cuenta {
    position: absolute;
    top: 0.1rem;
    right: -0.35rem;
  }
}

/* --- Datos (etiqueta + valor) ---------------------------------------------- */
.dato__valor {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.2;
}

.dato__etiqueta {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tinta-mute);
}

/* --- Botones -------------------------------------------------------------- */
/* Jerarquía dura: el negro manda, el teal acompaña. Nunca dos del mismo peso.
   Pastilla redondeada — el gesto del mockup — en vez del rectángulo recto de
   antes. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: var(--pildora);
  padding: 0.95rem 1.7rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.18s var(--curva), background 0.2s, color 0.2s, border-color 0.2s, gap 0.2s;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primario {
  background: var(--tinta);
  color: var(--fondo);
}

.btn--primario:hover {
  background: #000;
}

.btn--secundario {
  background: transparent;
  color: var(--accion);
  border-color: var(--accion);
}

.btn--secundario:hover {
  background: var(--accion);
  color: #fff;
}

.btn--wsp {
  background: var(--accion);
  color: #fff;
}

.btn--wsp:hover {
  background: #26565a;
}

.btn--bloque {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

/* --- Link secundario ("Seguir comprando", "Ver todo") ----------------------- */
.cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tinta);
  padding-bottom: 0.3rem;
  border-bottom: 1px solid currentColor;
  transition: color 0.2s, gap 0.3s var(--curva);
}

.cta-ghost:hover {
  color: var(--bordo);
  gap: 0.8rem;
}

/* Cuando es un <button> (en el panel): sin el fondo y el borde del navegador. */
button.cta-ghost {
  background: none;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  padding: 0 0 0.3rem;
  font: inherit;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

/* --- Encabezado de sección ------------------------------------------------ */
.seccion {
  /* Solo el eje vertical: con `padding: … 0` se pisaba el margen lateral de
     .contenido y en pantallas de menos de 1280px el texto quedaba pegado al borde. */
  padding-block: clamp(3rem, 7vw, 6rem);
}

.seccion__cabeza {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: end;
  justify-content: space-between;
  margin-bottom: clamp(1.75rem, 3vw, 3rem);
}

.seccion__titulo {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
}

.seccion__nota {
  color: var(--tinta-suave);
  max-width: 42ch;
  margin: 0;
  font-size: 0.95rem;
}

/* --- Aviso de precios de referencia --------------------------------------- */
/* CHAO no publica precios. Los de la demo son estimados y eso se dice, no se
   esconde. */
.aviso {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: var(--superficie);
  border-left: 3px solid var(--alerta);
  padding: 0.9rem 1.1rem;
  font-size: 0.86rem;
  color: #4a4640;
  margin: 0 0 2rem;
}

.aviso strong {
  color: var(--alerta);
}

/* --- LOOKBOOK: el factor sorpresa ----------------------------------------- */
/* Editorial asimétrico: la foto y el panel se alternan de lado en cada look,
   para que la página no se lea como una lista de cards iguales. */
.look {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(2rem, 4vw, 3.5rem) 0;
  border-top: 1px solid var(--linea);
}

.look:nth-child(even) .look__foto {
  order: 2;
}

.look {
  scroll-margin-top: calc(var(--alto-barra, 64px) + 1rem);
}

.look__foto {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--superficie);
}

.look__foto > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* El marcador. Posicionado en % sobre la foto, así queda pegado a la prenda en
   cualquier ancho de pantalla sin recalcular nada en JS. */
.hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 44px; /* Área de toque mínima en mobile. */
  height: 44px;
  display: grid;
  place-items: center;
  background: none;
  border: 0;
  padding: 0;
  z-index: 2;
}

.hotspot::before {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s var(--curva);
}

.hotspot::after {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 50%;
  border: 1.5px solid var(--aqua);
  animation: latido 2.6s ease-out infinite;
}

.hotspot span {
  position: relative;
  z-index: 1;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  color: var(--tinta);
  pointer-events: none;
}

.hotspot:hover::before,
.hotspot[aria-expanded="true"]::before {
  transform: scale(1.35);
}

.hotspot[aria-expanded="true"] span {
  transform: rotate(45deg);
}

@keyframes latido {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }
  70%,
  100% {
    transform: scale(2.1);
    opacity: 0;
  }
}

/* Panel de prendas del look, al lado de la foto. */
.look__panel {
  min-width: 0;
}

.look__titulo {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
}

.look__bajada {
  color: var(--tinta-suave);
  margin: 0.75rem 0 1.5rem;
}

.look__lista {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  border-top: 1px solid var(--linea);
}

.prenda-fila {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--linea);
  transition: background 0.2s;
}

.prenda-fila[data-activa="1"] {
  background: color-mix(in srgb, var(--aqua) 30%, transparent);
}

.prenda-fila img {
  width: 56px;
  height: 75px;
  object-fit: cover;
  background: var(--superficie);
}

.prenda-fila__nombre {
  font-weight: 500;
  font-size: 0.94rem;
}

.prenda-fila__talles {
  font-size: 0.75rem;
  color: var(--tinta-suave);
  letter-spacing: 0.04em;
}

.prenda-fila__precio {
  font-variation-settings: "wdth" 108;
  font-weight: 700;
  white-space: nowrap;
}

.look__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.look__total b {
  font-variation-settings: "wdth" 112;
  font-size: 1.5rem;
}

/* --- Selector de talle ---------------------------------------------------- */
.talles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.6rem 0 1rem;
}

.talle {
  min-width: 3rem;
  min-height: 2.75rem;
  padding: 0 0.8rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  background: var(--fondo-hueso);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--tinta);
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.talle small {
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--bordo);
  margin-top: 0.1rem;
}

.talle:hover:not(:disabled) {
  border-color: var(--tinta);
}

.talle[aria-pressed="true"] {
  background: var(--tinta);
  border-color: var(--tinta);
  color: var(--fondo);
}

.talle[aria-pressed="true"] small {
  color: var(--aqua);
}

.talle:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* --- Detalle de producto -------------------------------------------------------- */
.migas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-block: 1.1rem 0;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tinta-mute);
}

.migas a:hover {
  color: var(--tinta);
}

.detalle {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: start;
  padding-block: 1.25rem clamp(2rem, 5vw, 4rem);
}

/* Desktop: las fotos en mosaico (la primera grande, las demás de a dos) y la
   info pegada al costado mientras se recorren. */
.detalle__fotos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.detalle__foto {
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--superficie);
}

.detalle__foto--principal {
  grid-column: 1 / -1;
}

.detalle__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--curva);
}

.detalle__foto:hover img {
  transform: scale(1.03);
}

.detalle__foto--vacia {
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-style: italic;
  color: var(--tinta-mute);
}

.detalle__contador {
  display: none;
}

.detalle__info {
  position: sticky;
  top: calc(var(--alto-barra, 64px) + 1.5rem);
}

.detalle__badges {
  display: flex;
  gap: 0.35rem;
  margin: 0 0 0.85rem;
}

.detalle__badges .card__badge {
  position: static;
}

.detalle__nombre {
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  line-height: 0.98;
}

/* La marca de la prenda (St. Marie…), debajo del nombre. */
.detalle__marca {
  margin: 0.7rem 0 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tinta-suave);
}

.detalle__precio {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 1.1rem 0 0.2rem;
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.detalle__precio s {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--tinta-mute);
}

.detalle__precio--oferta {
  color: var(--bordo);
}

.detalle__cuotas {
  margin: 0;
  font-size: 0.86rem;
  color: var(--tinta-suave);
}

.detalle__cuotas b {
  font-weight: 500;
  color: var(--tinta);
}

/* Precio con transferencia: el gancho, más visible que las cuotas. */
.detalle__transferencia {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.6rem;
  margin: 0.45rem 0 0.35rem;
  font-size: 0.95rem;
  color: var(--tinta-suave);
}

.detalle__transferencia b {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--accion);
}

.detalle__transferencia-off {
  padding: 0.2rem 0.6rem;
  border-radius: var(--pildora);
  background: var(--aqua);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tinta);
}

.detalle__compra {
  margin: 1.75rem 0 0.6rem;
}

.detalle__talles-cabeza {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.detalle__guia {
  font-size: 0.74rem;
  color: var(--tinta-suave);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.detalle__talles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.detalle__boton {
  min-height: 3.4rem;
  font-size: 0.8rem;
}

.detalle__beneficios {
  list-style: none;
  margin: 1.5rem 0;
  padding: 1.1rem 0;
  border-block: 1px solid var(--linea);
  display: grid;
  gap: 0.45rem;
  font-size: 0.84rem;
  color: var(--tinta-suave);
}

.detalle__beneficios span {
  color: var(--sage-deep);
  margin-right: 0.35rem;
  font-size: 0.7rem;
}

.detalle__acordeon details {
  border-bottom: 1px solid var(--linea);
}

.detalle__acordeon summary {
  position: relative;
  padding: 1rem 2rem 1rem 0;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.detalle__acordeon summary::-webkit-details-marker {
  display: none;
}

.detalle__acordeon summary::after {
  content: "+";
  position: absolute;
  right: 0.2rem;
  top: 50%;
  translate: 0 -50%;
  font-size: 1.1rem;
  font-weight: 300;
  transition: rotate 0.25s var(--curva);
}

.detalle__acordeon details[open] summary::after {
  rotate: 45deg;
}

.detalle__acordeon p {
  margin: 0 0 1.1rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--tinta-suave);
}

/* Celular: carrusel horizontal con snap, a todo el ancho. */
@media (max-width: 860px) {
  .detalle {
    grid-template-columns: 1fr;
    padding-top: 0.75rem;
  }

  .detalle__galeria {
    position: relative;
    margin-inline: calc(var(--paso) * -1);
  }

  .detalle__fotos {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .detalle__fotos::-webkit-scrollbar {
    display: none;
  }

  .detalle__foto {
    flex: 0 0 100%;
    scroll-snap-align: start;
  }

  .detalle__contador {
    display: block;
    position: absolute;
    right: calc(var(--paso) + 0.25rem);
    bottom: 0.75rem;
    margin: 0;
    padding: 0.3rem 0.65rem;
    border-radius: var(--pildora);
    background: rgba(250, 246, 238, 0.9);
    font-size: 0.66rem;
    letter-spacing: 0.14em;
  }

  .detalle__info {
    position: static;
  }
}

/* "Completá el look": la foto de percha y las otras prendas de esa foto. */
.completa-look {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  border-top: 1px solid var(--linea);
}

.completa-look__foto {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--superficie);
}

.completa-look__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.completa-look__lista .seccion__nota {
  margin: 0.75rem 0 1.75rem;
}

.completa-look__grilla {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1.75rem 0.85rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 860px) {
  .completa-look {
    grid-template-columns: 1fr;
  }
}

/* --- Ficha flotante del hotspot ------------------------------------------- */
.ficha {
  position: absolute;
  z-index: 5;
  width: min(280px, calc(100% - 2rem));
  background: var(--fondo);
  border: 1px solid var(--linea);
  box-shadow: 0 18px 44px rgba(26, 26, 26, 0.2);
  padding: 0.9rem;
  display: none;
}

.ficha[data-abierta="1"] {
  display: block;
  animation: subir 0.28s var(--curva);
}

@keyframes subir {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ficha__cerrar {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  background: none;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--tinta-suave);
}

.ficha__nombre {
  font-weight: 600;
  padding-right: 1.5rem;
  margin: 0;
}

.ficha__precio {
  font-variation-settings: "wdth" 110;
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0.2rem 0 0;
}

.ficha__cuotas {
  font-size: 0.76rem;
  color: var(--tinta-suave);
  margin: 0.1rem 0 0;
}

/* --- Catálogo ------------------------------------------------------------- */
/* Encabezado editorial por categoría: título grande, temporada y cantidad. */
.tienda-cabeza {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1rem 2rem;
  padding-block: clamp(2rem, 6vw, 4.5rem) clamp(1.25rem, 3vw, 2rem);
}

.tienda-cabeza__titulo {
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: 0.9;
  margin-top: 0.9rem;
}

.tienda-cabeza__nota {
  max-width: 34ch;
  margin: 0;
  text-align: right;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--tinta-suave);
}

@media (max-width: 720px) {
  .tienda-cabeza {
    grid-template-columns: 1fr;
  }

  .tienda-cabeza__nota {
    text-align: left;
  }
}

/* Barra de categorías: pegada arriba al hacer scroll, subrayado en la activa. */
.tienda-nav {
  position: sticky;
  top: var(--alto-barra, 64px);
  z-index: 30;
  background: rgba(242, 234, 220, 0.94);
  backdrop-filter: blur(10px);
  border-block: 1px solid var(--linea);
}

.tienda-nav__fila {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tienda-nav__cats {
  display: flex;
  gap: clamp(1.1rem, 2.5vw, 2rem);
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent);
}

.tienda-nav__cats::-webkit-scrollbar {
  display: none;
}

.tienda-nav__cats a {
  position: relative;
  flex: none;
  padding: 1rem 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tinta-mute);
  transition: color 0.2s;
}

.tienda-nav__cats a sup {
  font-size: 0.58rem;
  letter-spacing: 0;
  margin-left: 0.15rem;
  color: var(--tinta-mute);
}

.tienda-nav__cats a:hover,
.tienda-nav__cats a[aria-current="page"] {
  color: var(--tinta);
}

.tienda-nav__cats a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--tinta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--curva);
}

.tienda-nav__cats a[aria-current="page"]::after,
.tienda-nav__cats a:hover::after {
  transform: scaleX(1);
}

.tienda-orden {
  flex: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tinta-mute);
}

.tienda-orden select {
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--tinta);
  padding: 0.5rem 0;
  cursor: pointer;
}

@media (max-width: 620px) {
  .tienda-orden > span {
    display: none;
  }
}

.tienda-aviso {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  margin: 1.25rem 0 0;
  font-size: 0.8rem;
  color: var(--alerta);
}

.tienda-cuerpo {
  padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(3rem, 7vw, 6rem);
}

/* Filtros en pastilla (se siguen usando fuera del catálogo). */
.filtros {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filtro {
  border: 1px solid var(--linea);
  border-radius: var(--pildora);
  background: var(--fondo-hueso);
  padding: 0.55rem 1.1rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tinta-suave);
  transition: all 0.18s;
}

.filtro:hover {
  border-color: var(--tinta);
  color: var(--tinta);
}

.filtro[aria-pressed="true"] {
  background: var(--tinta);
  border-color: var(--tinta);
  color: var(--fondo);
}

/* --- Grilla y tarjeta ------------------------------------------------------- */
.grilla {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem) clamp(0.85rem, 1.8vw, 1.6rem);
}

@media (max-width: 1100px) {
  .grilla {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .grilla {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 0.75rem;
  }
}

.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.card[hidden] {
  display: none;
}

.card__foto {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--superficie);
  transform-origin: top center;
  animation: balanceo 4s ease-in-out infinite;
  transition: rotate 0.3s var(--curva);
}

/* Desfase por columna para que las prendas no se muevan todas al unísono, como
   perchas reales en un perchero movidas por una brisa despareja. */
.grilla .card:nth-child(4n + 1) .card__foto {
  animation-delay: -0.6s;
}
.grilla .card:nth-child(4n + 2) .card__foto {
  animation-delay: -1.8s;
}
.grilla .card:nth-child(4n + 3) .card__foto {
  animation-delay: -3s;
}

/* Al pasar el mouse la prenda "se queda quieta" para mirarla bien. */
.card:hover .card__foto {
  animation-play-state: paused;
  rotate: 0deg;
}

@keyframes balanceo {
  0%,
  100% {
    rotate: -1.5deg;
  }
  50% {
    rotate: 1.5deg;
  }
}

.card__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s var(--curva), transform 0.9s var(--curva);
}

/* El cambio de foto al pasar el mouse: la prenda recortada pasa a la foto de la
   percha completa — muestra la prenda en contexto, no es un adorno. */
.card__foto img + img {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.card:hover .card__foto img + img {
  opacity: 1;
}

.card:hover .card__foto img {
  transform: scale(1.04);
}

.card__badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 2;
  padding: 0.32rem 0.62rem;
  border-radius: var(--radio);
  background: rgba(250, 246, 238, 0.92);
  color: var(--tinta);
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.card__badge--agotado {
  background: var(--tinta);
  color: var(--fondo);
}

.card__badge--oferta {
  background: var(--bordo);
  color: #fff;
  letter-spacing: 0.06em;
  font-size: 0.68rem;
}

.card__info {
  padding-top: 0.9rem;
}

.card__cat {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tinta-mute);
}

.card__nombre {
  margin: 0.25rem 0 0.35rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.1rem, 1.6vw, 1.32rem);
  line-height: 1.15;
}

.card__nombre a:hover {
  color: var(--bordo);
}

.card__precio {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.card__antes {
  font-weight: 300;
  font-size: 0.82rem;
  color: var(--tinta-mute);
}

.card__precio--oferta {
  color: var(--bordo);
}

.card__cuotas {
  margin: 0.15rem 0 0;
  font-size: 0.7rem;
  color: var(--tinta-mute);
}

.card__marca {
  margin: -0.15rem 0 0.4rem;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tinta-suave);
}

.card__transferencia {
  margin: 0.2rem 0 0;
  font-size: 0.76rem;
  color: var(--tinta-suave);
}

.card__transferencia b {
  font-weight: 500;
  color: var(--accion);
}

/* Agregar rápido por talle: un toque y va al carrito, sin entrar a la ficha. */
.card__rapido {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.75rem;
}

.card__rapido-lbl {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tinta-mute);
  margin-right: 0.2rem;
}

.card__talle {
  min-width: 2.25rem;
  height: 2.1rem;
  padding: 0 0.55rem;
  border: 1px solid var(--linea);
  border-radius: var(--pildora);
  background: transparent;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--tinta);
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.card__talle:hover:not(:disabled) {
  background: var(--tinta);
  border-color: var(--tinta);
  color: var(--fondo);
}

.card__talle:disabled {
  color: var(--tinta-mute);
  text-decoration: line-through;
  opacity: 0.55;
  cursor: not-allowed;
}

.card__agregar {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0;
  border: 0;
  border-bottom: 1px solid var(--tinta);
  background: none;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tinta);
  transition: color 0.2s, border-color 0.2s, gap 0.2s;
}

.card__agregar:hover {
  color: var(--bordo);
  border-color: var(--bordo);
  gap: 0.7rem;
}

.card__agregar--off {
  margin-top: 0.75rem;
  color: var(--tinta-mute);
  border-color: var(--linea);
}

/* Tile editorial que corta la grilla del catálogo: una foto de look con
   "completá el look". Rompe la monotonía de 20 tarjetas iguales. */
.card-look {
  grid-column: span 2;
  position: relative;
  display: block;
  min-height: 100%;
  overflow: hidden;
  background: var(--tinta);
  color: var(--fondo);
}

.card-look img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition: transform 1.2s var(--curva), opacity 0.5s;
}

.card-look:hover img {
  transform: scale(1.04);
  opacity: 0.7;
}

.card-look__texto {
  position: absolute;
  left: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 1;
}

.card-look__texto .sup {
  color: rgba(242, 234, 220, 0.8);
}

.card-look__titulo {
  margin: 0.6rem 0 0.9rem;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 0.95;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.card-look__titulo em {
  font-style: italic;
  color: var(--aqua);
}

.card-look__cta {
  display: inline-block;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid rgba(242, 234, 220, 0.6);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.card-look::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(36, 27, 22, 0.65));
}

@media (max-width: 760px) {
  .card-look {
    aspect-ratio: 4 / 5;
  }
}

/* --- El local ------------------------------------------------------------- */
.local {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.local__foto {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--superficie);
}

.local__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.local__datos {
  list-style: none;
  margin: 1.75rem 0;
  padding: 0;
}

.local__datos li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--linea);
}

.local__mapa {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--linea);
  margin-top: 1.5rem;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.4s;
}

.local__mapa:hover {
  filter: none;
}

/* --- Preguntas (accordion) ----------------------------------------------- */
.faq {
  border-top: 1px solid var(--linea);
}

.faq details {
  border-bottom: 1px solid var(--linea);
}

.faq summary {
  padding: 1.15rem 2.5rem 1.15rem 0;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  translate: 0 -50%;
  font-size: 1.3rem;
  color: var(--accion);
  transition: rotate 0.25s var(--curva);
}

.faq details[open] summary::after {
  rotate: 45deg;
}

.faq p {
  margin: 0 0 1.2rem;
  color: var(--tinta-suave);
  max-width: 68ch;
}

/* --- Footer editorial ------------------------------------------------------ */
.pie {
  position: relative;
  overflow: hidden;
  background: var(--tinta);
  color: rgba(242, 234, 220, 0.62);
  font-size: 0.84rem;
  padding-top: clamp(3rem, 7vw, 5rem);
}

.pie__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2.5rem 2rem;
}

@media (max-width: 860px) {
  .pie__grid {
    grid-template-columns: 1fr 1fr;
  }

  .pie__marca {
    grid-column: 1 / -1;
  }
}

.pie__marca .marca__disco {
  width: 52px;
  height: 52px;
}

.pie__marca .marca__disco span {
  font-size: 0.78rem;
}

.pie__marca .marca__disco em {
  font-size: 0.62rem;
}

.pie__frase {
  margin: 1.1rem 0 0;
  max-width: 22ch;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.45rem;
  line-height: 1.2;
  color: var(--fondo);
}

.pie__titulo {
  margin: 0 0 0.9rem;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--aqua);
}

.pie ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.pie a {
  transition: color 0.2s;
}

.pie a:hover {
  color: var(--fondo);
}

/* La marca gigante abajo, recortada: el cierre editorial de cada página. */
.pie__palabra {
  margin: clamp(2.5rem, 6vw, 4rem) 0 -0.12em;
  padding-inline: var(--paso);
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.5rem, 15vw, 13rem);
  line-height: 0.85;
  letter-spacing: -0.03em;
  white-space: nowrap;
  text-align: center;
  color: rgba(242, 234, 220, 0.07);
  user-select: none;
}

.pie__palabra em {
  font-style: italic;
}

.pie__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: 1.25rem;
  border-top: 1px solid rgba(242, 234, 220, 0.1);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

/* Sello Operon: chico y discreto, en una esquina. */
/* Firma de Operon: "Hecho por" en el tono del pie y la marca un paso más clara.
   Sin mayúsculas ni tracking: es un logotipo, no una etiqueta. */
.operon {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: rgba(242, 234, 220, 0.55);
  transition: color 0.2s ease;
}

.operon__logo {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  letter-spacing: 0;
  color: rgba(242, 234, 220, 0.86);
}

.operon__logo svg {
  height: 1.5em;
  width: auto;
  /* La O del isotipo hace de inicial: "peron" se le pega. */
  margin-right: -0.05em;
}

@media (hover: hover) {
  .operon:hover,
  .operon:hover .operon__logo {
    color: var(--fondo-hueso);
  }
}

/* --- Cajón del carrito ("la bolsa") ------------------------------------------ */
.velo {
  position: fixed;
  inset: 0;
  background: rgba(36, 27, 22, 0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
  z-index: 60;
}

.velo[data-abierto="1"] {
  opacity: 1;
  pointer-events: auto;
}

.cajon {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(440px, 100%);
  background: var(--fondo-hueso);
  box-shadow: none; /* cerrado no proyecta sombra (asomaba por el borde derecho) */
  transform: translateX(100%);
  transition: transform 0.45s var(--curva), box-shadow 0.45s ease;
  z-index: 70;
  display: flex;
  flex-direction: column;
}

.cajon[data-abierto="1"] {
  box-shadow: var(--sombra-cajon);
  transform: translateX(0);
}

.cajon__cabeza {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--linea);
}

.cajon__titulo {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.9rem;
  line-height: 1;
}

.cajon__titulo em {
  font-style: italic;
  color: var(--bordo);
}

.cajon__titulo span {
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--tinta-mute);
  vertical-align: middle;
}

.cajon__cerrar {
  width: 2.75rem;
  height: 2.75rem;
  margin-right: -0.6rem;
  border: 0;
  background: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--tinta);
}

.cajon__cuerpo {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem 1.5rem;
}

.cajon__pie {
  padding: 1.25rem 1.5rem calc(1.25rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--linea);
  background: var(--fondo);
}

.linea {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--linea);
}

.linea:last-child {
  border-bottom: 0;
}

.linea__foto {
  display: block;
  width: 76px;
  height: 101px;
  overflow: hidden;
  background: var(--superficie);
}

.linea__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.linea__fila {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.linea__nombre {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.15;
}

.linea__nombre a:hover {
  color: var(--bordo);
}

.linea__meta {
  margin: 0.25rem 0 0.7rem;
  font-size: 0.76rem;
  color: var(--tinta-mute);
}

.linea__falta-talle {
  color: var(--bordo);
  font-weight: 500;
}

.linea__acciones {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cantidad {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--linea);
  border-radius: var(--pildora);
  background: #fff;
}

.cantidad button {
  width: 2.1rem;
  height: 2.1rem;
  border: 0;
  background: none;
  font-size: 1rem;
  line-height: 1;
  color: var(--tinta);
}

.cantidad button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.cantidad span {
  min-width: 1.4rem;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 500;
}

.linea__quitar {
  border: 0;
  background: none;
  padding: 0;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--tinta-mute);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.linea__quitar:hover {
  color: var(--bordo);
}

.linea__subtotal {
  flex: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.cajon__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cajon__total b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.9rem;
  letter-spacing: 0;
}

.cajon__cuotas {
  margin: 0 0 1rem;
  font-size: 0.76rem;
  color: var(--tinta-mute);
}

.cajon__seguir {
  display: block;
  width: 100%;
  margin-top: 0.6rem;
  padding: 0.6rem;
  border: 0;
  background: none;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tinta-suave);
}

.cajon__seguir:hover {
  color: var(--bordo);
}

.cajon__vacio {
  display: grid;
  gap: 1rem;
  justify-items: center;
  padding: 3rem 0.5rem;
  text-align: center;
  color: var(--tinta-suave);
}

.cajon__vacio p {
  margin: 0;
}

.cajon__vacio-titulo {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 2rem;
  color: var(--tinta);
}

.cajon__vacio-titulo em {
  color: var(--bordo);
}

/* --- Aviso flotante ------------------------------------------------------ */
/* Arriba y no abajo: abajo tapaba el botón de "Finalizar compra" del cajón. */
.chicharra {
  position: fixed;
  left: 50%;
  top: calc(var(--alto-barra, 64px) + 0.75rem);
  translate: -50% -6px;
  background: var(--tinta);
  color: var(--fondo);
  padding: 0.75rem 1.3rem;
  font-size: 0.84rem;
  border-radius: var(--pildora);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, translate 0.25s var(--curva);
}

.chicharra[data-visible="1"] {
  opacity: 1;
  translate: -50% 0;
}

/* --- Checkout ------------------------------------------------------------ */
.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: start;
  padding-block: clamp(2rem, 5vw, 4rem) clamp(3rem, 6vw, 5rem);
}

.pasos {
  display: flex;
  gap: 0.5rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  counter-reset: paso;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tinta-mute);
}

.pasos li {
  counter-increment: paso;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pasos li::before {
  content: counter(paso);
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  border: 1px solid var(--linea);
  font-size: 0.66rem;
  letter-spacing: 0;
}

.pasos li:not(:last-child)::after {
  content: "";
  width: clamp(1rem, 4vw, 2.5rem);
  height: 1px;
  background: var(--linea);
  margin-left: 0.25rem;
}

.pasos__hecho {
  color: var(--tinta-suave);
}

.pasos__hecho::before {
  background: var(--aqua);
  border-color: var(--aqua) !important;
  content: "✓" !important;
}

.pasos__actual {
  color: var(--tinta);
  font-weight: 500;
}

.pasos__actual::before {
  background: var(--tinta);
  border-color: var(--tinta) !important;
  color: var(--fondo);
}

.checkout__titulo {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  margin-bottom: 0.75rem;
}

.checkout__campos {
  margin-top: 2rem;
  display: grid;
  gap: 0.75rem;
}

.checkout__pagar {
  min-height: 3.4rem;
  margin-top: 0.5rem;
}

.campo {
  margin-bottom: 0.5rem;
}

.campo label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tinta-suave);
  margin-bottom: 0.45rem;
}

.campo label span {
  text-transform: none;
  letter-spacing: 0;
  color: var(--tinta-mute);
}

.campo input,
.campo textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  background: var(--fondo-hueso);
  font: inherit;
  font-size: 1rem;
  color: var(--tinta);
  transition: border-color 0.2s, background 0.2s;
}

.campo input:focus,
.campo textarea:focus {
  outline: none;
  border-color: var(--tinta);
  background: #fff;
}

.campo__error {
  color: var(--bordo);
  font-size: 0.8rem;
  margin: 0.3rem 0 0;
}

.resumen {
  position: sticky;
  top: calc(var(--alto-barra, 64px) + 1.5rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--fondo-hueso);
  border: 1px solid var(--linea);
}

.resumen__titulo {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 300;
}

.resumen__item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--linea);
  font-size: 0.88rem;
}

.resumen__foto {
  position: relative;
  width: 56px;
  height: 74px;
  background: var(--superficie);
}

.resumen__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.resumen__cant {
  position: absolute;
  top: -0.45rem;
  right: -0.45rem;
  min-width: 1.3rem;
  height: 1.3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tinta);
  color: var(--fondo);
  font-size: 0.66rem;
}

.resumen__nombre {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.2;
}

.resumen__nombre small {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  color: var(--tinta-mute);
}

.resumen__precio {
  font-weight: 500;
}

/* Línea simple (resultado / pedido sin pago) */
.resumen__linea {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--linea);
}

.resumen__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 1.1rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.resumen__total b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2rem;
  letter-spacing: 0;
  text-transform: none;
}

.resumen__datos {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--linea);
  display: grid;
  gap: 0.6rem;
  font-size: 0.86rem;
}

.resumen__datos span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tinta-mute);
}

.sandbox {
  background: var(--superficie);
  border-left: 3px solid var(--accion);
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
  color: var(--tinta-suave);
  margin-top: 0.5rem;
}

/* Páginas de resultado */
.resultado {
  max-width: 760px;
  margin-inline: auto;
  padding-block: clamp(3rem, 8vw, 6rem);
  text-align: center;
}

.resultado__icono {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--aqua);
  color: var(--tinta);
  font-size: 1.6rem;
}

.resultado__icono--espera {
  background: var(--superficie);
}

.resultado__icono--error {
  background: rgba(111, 42, 51, 0.12);
  color: var(--bordo);
}

.resultado .seccion__titulo {
  font-size: clamp(2.6rem, 6vw, 4rem);
}

.resultado .seccion__nota {
  max-width: 48ch;
  margin: 1rem auto 0;
}

.resultado .resumen {
  position: static;
  margin-top: 2.5rem;
  text-align: left;
}

.resultado__acciones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* --- Checkout en 3 pasos: datos, entrega, pago -------------------------------- */
.checkout__bloque {
  margin: 0 0 2.25rem;
  padding: 0;
  border: 0;
  min-width: 0;
}

.checkout__paso {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  margin-bottom: 1.1rem;
  padding: 0 0 0.85rem;
  border-bottom: 1px solid var(--linea);
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
}

.checkout__paso span {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--tinta);
  color: var(--fondo);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
}

.campos {
  display: grid;
  gap: 0 1rem;
}

.campos--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.campos--direccion {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.campo--ancho,
.campos--direccion .campo--calle {
  grid-column: 1 / -1;
}

@media (min-width: 640px) {
  .campos--direccion .campo--calle {
    grid-column: span 2;
  }
}

.campo select {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  background: var(--fondo-hueso);
  font: inherit;
  font-size: 1rem;
  color: var(--tinta);
}

.campo select:focus {
  outline: none;
  border-color: var(--tinta);
  background: #fff;
}

.campo--error input,
.campo--error select {
  border-color: var(--bordo);
}

.campo__ayuda {
  margin: 0.3rem 0 0;
  font-size: 0.78rem;
  color: var(--tinta-mute);
}

@media (max-width: 640px) {
  .campos--2,
  .campos--direccion {
    grid-template-columns: 1fr;
  }
}

/* Tarjetas de opción (entrega y pago) */
.opciones {
  display: grid;
  gap: 0.6rem;
}

.opcion {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--linea);
  background: var(--fondo-hueso);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.opcion:hover {
  border-color: rgba(36, 27, 22, 0.35);
}

.opcion input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.opcion__marca {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(36, 27, 22, 0.35);
  background: #fff;
  transition: border 0.2s;
}

.opcion:has(input:checked) {
  border-color: var(--tinta);
  background: #fff;
  box-shadow: 0 0 0 1px var(--tinta) inset;
}

.opcion:has(input:checked) .opcion__marca {
  border: 6px solid var(--tinta);
}

.opcion:has(input:focus-visible) {
  outline: 2px solid var(--sage-deep);
  outline-offset: 2px;
}

.opcion__cuerpo {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.opcion__titulo {
  font-weight: 500;
  font-size: 0.98rem;
}

.opcion__off {
  margin-left: 0.35rem;
  padding: 0.1rem 0.45rem;
  background: var(--aqua);
  color: var(--tinta);
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.opcion__detalle {
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--tinta-suave);
}

.opcion__precio {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.opcion__icono {
  color: var(--tinta-suave);
}

.opcion__icono svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.opcion--apagada {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Dirección de envío */
.direccion {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border: 1px solid var(--linea);
  background: var(--fondo-hueso);
}

.direccion[hidden] {
  display: none;
}

.direccion__titulo {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: 1.25rem;
}

.direccion__nota {
  margin: 0.25rem 0 0;
  padding: 0.75rem 0.9rem;
  background: var(--superficie);
  font-size: 0.85rem;
  color: var(--tinta-suave);
}

.checkout__seguro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.9rem 0 0;
  font-size: 0.78rem;
  color: var(--tinta-mute);
  text-align: center;
}

.checkout__seguro svg {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.checkout__wsp {
  display: block;
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--sage-deep);
}

.checkout__wsp:hover {
  text-decoration: underline;
}

.btn--cargando {
  opacity: 0.6;
  cursor: progress;
}

.resumen__cuentas {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--linea);
}

.resumen__nota {
  margin: 0.4rem 0 0;
  text-align: right;
  font-size: 0.8rem;
  color: var(--tinta-mute);
}

/* Pago con el formulario seguro de Mercado Pago */
.pago {
  min-height: 220px;
}

.pago__cargando {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 2rem 0;
  font-size: 0.9rem;
  color: var(--tinta-suave);
}

.pago__cargando[hidden] {
  display: none;
}

.pago__spinner {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--linea);
  border-top-color: var(--tinta);
  animation: girar 0.8s linear infinite;
}

@keyframes girar {
  to {
    transform: rotate(360deg);
  }
}

.pago__error {
  margin: 1rem 0 0;
}

.pago__error[hidden] {
  display: none;
}

/* Datos para transferir */
.transferencia {
  display: grid;
  margin: 1.5rem 0;
  border: 1px solid var(--linea);
  background: var(--fondo-hueso);
}

.transferencia div {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
}

.transferencia div + div {
  border-top: 1px solid var(--linea);
}

.transferencia dt {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tinta-mute);
}

.transferencia dd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  word-break: break-all;
}

.transferencia__copiar {
  flex: none;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--linea);
  border-radius: var(--pildora);
  background: #fff;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tinta);
  cursor: pointer;
}

.transferencia__copiar:hover {
  border-color: var(--tinta);
}

.resultado__seguimiento {
  margin: 1rem 0 0;
  padding: 0.8rem 1rem;
  background: var(--fondo-hueso);
  border: 1px solid var(--linea);
}

.checkout--pedido .resultado {
  text-align: left;
  padding: 0;
}

/* --- Accesibilidad y foco ------------------------------------------------ */
:focus-visible {
  outline: 2px solid var(--accion);
  outline-offset: 2px;
}

.solo-lectores {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ==========================================================================
   INTRO de marca (home, una vez por sesión)
   --------------------------------------------------------------------------
   Telón oscuro → el disco aqua de CHAO se dibuja con una onda → "CHAO" letra
   por letra → la frase de la temporada → el telón se abre en dos hojas y el
   disco vuela hasta el logo del header (eso último lo hace static/js/intro.js).

   Línea de tiempo (s):  0.15 disco · 0.45 letras · 1.1 línea · 1.25 frase ·
   2.1 se van los textos · 2.35 se abre el telón · 3.45 fin.
   Todo el tiempo está acá, en CSS: si el JS no carga la intro igual se abre
   y desaparece sola (sin el vuelo del disco).
   ========================================================================== */
.intro {
  display: none;
}

.intro-activa .intro {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 300;
  cursor: pointer;
  animation: intro-fin 0s linear 3.45s forwards;
}

.intro--saltando {
  opacity: 0;
  transition: opacity 0.42s ease;
}

@keyframes intro-fin {
  to {
    visibility: hidden;
    pointer-events: none;
  }
}

/* Mientras dura la intro, el disco del header espera: el de la intro aterriza
   justo encima. Con delay y no con JS, así reaparece igual si el JS falla. */
.intro-activa .barra .marca__disco {
  animation: aparece-tarde 0s linear 3.45s both;
}

@keyframes aparece-tarde {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* --- Las dos hojas del telón ---------------------------------------------- */
.intro__telon {
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc(50% + 1px);
  background:
    repeating-linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.2) 0px,
      rgba(255, 255, 255, 0.03) 26px,
      rgba(0, 0, 0, 0.1) 52px,
      rgba(255, 255, 255, 0.025) 80px,
      rgba(0, 0, 0, 0.2) 110px
    ),
    linear-gradient(180deg, #2e241e 0%, var(--tinta) 55%, #1a1310 100%);
  animation-duration: 1.05s;
  animation-timing-function: cubic-bezier(0.7, 0, 0.2, 1);
  animation-delay: 2.35s;
  animation-fill-mode: forwards;
  will-change: transform;
}

.intro__telon--izq {
  left: 0;
  transform-origin: left top;
  box-shadow: inset -40px 0 50px -30px rgba(0, 0, 0, 0.55);
  animation-name: telon-izq;
}

.intro__telon--der {
  right: 0;
  transform-origin: right top;
  box-shadow: inset 40px 0 50px -30px rgba(0, 0, 0, 0.55);
  animation-name: telon-der;
}

/* La tela se arrastra: el borde de abajo va un poco atrás del de arriba. */
@keyframes telon-izq {
  0% {
    transform: translateX(0) skewX(0deg);
  }
  55% {
    transform: translateX(-62%) skewX(2.5deg);
  }
  100% {
    transform: translateX(-102%) skewX(0deg);
  }
}

@keyframes telon-der {
  0% {
    transform: translateX(0) skewX(0deg);
  }
  55% {
    transform: translateX(62%) skewX(-2.5deg);
  }
  100% {
    transform: translateX(102%) skewX(0deg);
  }
}

/* --- Escena central --------------------------------------------------------- */
.intro__escena {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vh, 1.5rem);
  padding: 2rem;
  text-align: center;
  pointer-events: none;
}

.intro__sello {
  --dd: clamp(124px, 21vmin, 184px);
  position: relative;
  width: var(--dd);
  height: var(--dd);
  margin-bottom: 0.5rem;
}

/* Mismas proporciones que el disco del header (38px, textos de .62/.5rem):
   así cuando aterriza encima no se nota el cambio. */
.intro__disco {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  animation: disco-entra 1.1s var(--curva) 0.15s both;
}

.intro:not(.intro--js) .intro__disco {
  animation:
    disco-entra 1.1s var(--curva) 0.15s both,
    intro-sale 0.5s ease 2.35s forwards;
}

.intro__chao {
  display: flex;
  font-family: var(--sans);
  font-weight: 500;
  font-size: calc(var(--dd) * 0.261);
  letter-spacing: 0.14em;
  margin-right: -0.14em; /* el tracking del último carácter descentra la palabra */
}

.intro__chao i {
  font-style: normal;
  display: inline-block;
  animation: letra 0.7s var(--curva) both;
}

.intro__chao i:nth-child(1) { animation-delay: 0.45s; }
.intro__chao i:nth-child(2) { animation-delay: 0.52s; }
.intro__chao i:nth-child(3) { animation-delay: 0.59s; }
.intro__chao i:nth-child(4) { animation-delay: 0.66s; }

.intro__disco em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  /* Un pelo más chica que la proporción del header: a este tamaño
     "Indumentaria" se salía del círculo y el clip-path la cortaba. */
  font-size: calc(var(--dd) * 0.18);
  margin-top: calc(var(--dd) * -0.01);
  animation: aparece 0.6s ease 0.85s both;
}

.intro__onda {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--aqua);
  animation: onda 1.8s cubic-bezier(0.2, 0.6, 0.3, 1) 0.45s both;
}

.intro__onda--2 {
  animation-delay: 0.75s;
}

.intro__linea {
  width: 56px;
  height: 1px;
  background: rgba(242, 234, 220, 0.35);
  animation:
    linea 0.8s var(--curva) 1.1s both,
    intro-sale 0.35s ease 2.1s forwards;
}

.intro__frase {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  line-height: 1.15;
  color: var(--fondo);
  animation:
    frase 1s var(--curva) 1.25s both,
    intro-sale 0.35s ease 2.1s forwards;
}

.intro__lugar {
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(242, 234, 220, 0.55);
  animation:
    aparece 0.8s ease 1.5s both,
    intro-sale 0.35s ease 2.1s forwards;
}

.intro__saltar {
  position: absolute;
  z-index: 3;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vh, 2rem);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  border-radius: var(--pildora);
  border: 1px solid rgba(242, 234, 220, 0.22);
  background: transparent;
  color: rgba(242, 234, 220, 0.7);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s;
  animation:
    aparece 0.6s ease 0.9s both,
    intro-sale 0.3s ease 2.1s forwards;
}

.intro__saltar:hover,
.intro__saltar:focus-visible {
  background: var(--fondo);
  color: var(--tinta);
}

@keyframes disco-entra {
  from {
    transform: scale(0.5) rotate(-30deg);
    clip-path: circle(0% at 50% 50%);
  }
  to {
    transform: none;
    clip-path: circle(71% at 50% 50%);
  }
}

@keyframes letra {
  from {
    opacity: 0;
    translate: 0 0.55em;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes aparece {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes onda {
  from {
    opacity: 0.8;
    scale: 1;
  }
  to {
    opacity: 0;
    scale: 2.4;
  }
}

@keyframes linea {
  from {
    scale: 0 1;
  }
  to {
    scale: 1 1;
  }
}

@keyframes frase {
  from {
    opacity: 0;
    letter-spacing: 0.14em;
    filter: blur(6px);
  }
  to {
    opacity: 1;
    letter-spacing: 0;
    filter: blur(0);
  }
}

@keyframes intro-sale {
  to {
    opacity: 0;
    translate: 0 -10px;
  }
}

/* ==========================================================================
   Mobile.
   ========================================================================== */
@media (max-width: 900px) {
  .look,
  .local,
  .checkout {
    grid-template-columns: 1fr;
  }

  /* En una columna, alternar el orden desordena la lectura: la foto siempre
     primero y el panel debajo. */
  .look:nth-child(even) .look__foto {
    order: 0;
  }

  .resumen {
    position: static;
  }

  .barra__fila {
    padding: 0.55rem var(--paso);
    gap: 0.75rem;
  }

  /* Es el control más importante del header en una tienda: se queda en 44px
     aunque eso cueste unos píxeles de alto en la barra. */
  .boton-carrito,
  .menu-trigger,
  .barra__wsp {
    min-height: 44px;
  }

  /* 44px es el mínimo táctil real; en desktop 40 alcanza porque hay puntero. */
  .btn,
  .filtro,
  .talle,
  .cantidad button,
  .cajon__cerrar {
    min-height: 44px;
  }

  .cantidad button,
  .cajon__cerrar {
    width: 2.75rem;
  }

  /* "Quitar" es un link de texto de 19px de alto: con el dedo no se acierta.
     Se le da área sin agrandar la tipografía. */
  .linea__quitar {
    padding: 0.7rem 0.25rem;
    margin: -0.7rem 0;
  }
}

@media (max-width: 420px) {
  .prenda-fila {
    grid-template-columns: 44px minmax(0, 1fr) auto;
  }

  .prenda-fila img {
    width: 44px;
    height: 59px;
  }
}

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

.checkout--pedido .resultado__icono {
  margin-left: 0;
}

.checkout--pedido .resultado__acciones {
  justify-content: flex-start;
  align-items: center;
}

.checkout--pedido .resultado .seccion__nota {
  margin-left: 0;
}

/* En el celular el resumen queda abajo de todo: el total se repite arriba del botón. */
.checkout__total-movil {
  display: none;
  justify-content: space-between;
  align-items: baseline;
  margin: 1.25rem 0 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tinta-suave);
}

.checkout__total-movil b {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--tinta);
}

@media (max-width: 900px) {
  .checkout__total-movil {
    display: flex;
  }
}

/* --- Colores de una prenda (circulitos) ---------------------------------------- */
.punto-color {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c, #ccc);
  box-shadow: inset 0 0 0 1px rgba(36, 27, 22, 0.2);
  vertical-align: middle;
}

.punto-color--grande {
  width: 26px;
  height: 26px;
}

.card__colores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  margin: 0.45rem 0 0;
}

.card__colores-mas,
.card__colores-txt {
  font-size: 0.68rem;
  color: var(--tinta-mute);
}

.card__colores-txt {
  margin-left: 0.25rem;
}

.detalle__colores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.4rem 0 1.25rem;
}

.color-opcion {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.color-opcion:hover {
  border-color: rgba(36, 27, 22, 0.3);
}

.color-opcion[aria-pressed="true"] {
  border-color: var(--tinta);
  box-shadow: inset 0 0 0 2px var(--fondo);
}

/* Color sin stock: se puede mirar, pero se ve tachado. */
.color-opcion[data-agotado] {
  position: relative;
  opacity: 0.55;
}

.color-opcion[data-agotado]::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 1px;
  background: var(--tinta);
  rotate: -45deg;
}

.detalle__color-nombre {
  margin-left: 0.35rem;
  color: var(--tinta);
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
}

.detalle__sin-talles {
  margin: 0;
  font-size: 0.88rem;
  color: var(--tinta-mute);
}


/* --- Lista del look: elegir talle y color en cada prenda --------------------- */
.prenda-fila__cuerpo {
  min-width: 0;
}

a.prenda-fila__nombre:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prenda-fila__opciones,
.prenda-fila__colores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.4rem;
}

.prenda-fila__opciones[hidden] {
  display: none;
}

.talle--chico {
  min-width: 2.4rem;
  min-height: 2.1rem;
  padding: 0 0.6rem;
  font-size: 0.75rem;
}

.prenda-fila__color {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: none;
  cursor: pointer;
}

.prenda-fila__color[aria-pressed="true"] {
  border-color: var(--tinta);
}

.prenda-fila__color:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.prenda-fila__color .punto-color {
  width: 20px;
  height: 20px;
}

.prenda-fila[data-sin-stock] {
  opacity: 0.55;
}

[data-look-boton]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ==========================================================================
   MODO NAVIDAD — se prende desde el panel (Portada → Modo Navidad) y se apaga
   solo pasada la fecha de fin. base.html le pone .navidad al body.
   Nochebuena: verde noche y dorado, gorrito rojo en el logo y la etiqueta
   "✦ Para regalar" en bordó con letras doradas.
   ========================================================================== */
body.navidad {
  --navidad-verde: #1F3B33;
  --navidad-noche: #16302A;
  --navidad-oro: #C9A45C;
  --navidad-oro-claro: #E6CC8F;
  --navidad-crema: #F4E9D2;
}

body.navidad .anuncio {
  background: var(--navidad-noche);
  color: var(--navidad-oro-claro);
}

body.navidad .anuncio__sep {
  color: var(--navidad-oro);
}

body.navidad .barra {
  background: rgba(31, 59, 51, 0.96);
  border-color: rgba(230, 204, 143, 0.22);
}

/* Lugar para el gorrito arriba del disco. */
body.navidad .barra__fila {
  padding-top: 1.25rem;
}

body.navidad .barra :is(.marca__palabra, .barra__links a, .menu-trigger, .barra__wsp, .boton-carrito) {
  color: var(--navidad-crema);
}

body.navidad .barra__wsp:hover {
  background: rgba(244, 233, 210, 0.12);
}

body.navidad .boton-carrito__cuenta {
  background: var(--navidad-oro-claro);
  color: var(--tinta);
}

.marca__disco {
  position: relative;
}

.marca__disco .gorro {
  position: absolute;
  width: 42px;
  height: 35px;
  left: -9px;
  top: -26px;
  transform: rotate(-14deg);
  stroke: none;
  fill: currentColor;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.2));
  pointer-events: none;
}

.card__badge--regalo {
  background: #6F2A33;
  color: #E6CC8F;
  letter-spacing: 0.14em;
}

/* --- Intro en modo Navidad -------------------------------------------------
   El telón pasa a terciopelo verde noche con una guirnalda que se prende foco
   por foco, caen destellos dorados y, cuando el logo termina de armarse, le
   cae el gorrito encima. El gorrito vuela con el disco hasta el header (intro.js
   mueve el sello entero), donde ya lo espera el gorrito del logo. Los tiempos
   de la intro no cambian. */
body.navidad .intro__telon {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.22) 0px,
      rgba(255, 255, 255, 0.035) 26px,
      rgba(0, 0, 0, 0.12) 52px,
      rgba(255, 255, 255, 0.03) 80px,
      rgba(0, 0, 0, 0.22) 110px
    ),
    linear-gradient(180deg, #24463d 0%, #1F3B33 55%, #10241f 100%);
}

/* Filete dorado donde se juntan las dos mitades. */
body.navidad .intro__telon--izq {
  box-shadow: inset -40px 0 50px -30px rgba(0, 0, 0, 0.55), inset -2px 0 0 rgba(201, 164, 92, 0.55);
}

body.navidad .intro__telon--der {
  box-shadow: inset 40px 0 50px -30px rgba(0, 0, 0, 0.55), inset 2px 0 0 rgba(201, 164, 92, 0.55);
}

.intro__luces {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(54px, 9vh, 90px);
}

.intro__luces circle {
  opacity: 0.15;
  filter: drop-shadow(0 0 4px rgba(247, 219, 154, 0.9));
  animation: foco-prende 0.4s ease both, foco-titila 2.2s ease-in-out 1.6s infinite alternate;
}

.intro__luces circle:nth-child(1) { animation-delay: 0.30s, 1.6s; }
.intro__luces circle:nth-child(2) { animation-delay: 0.38s, 2.1s; }
.intro__luces circle:nth-child(3) { animation-delay: 0.46s, 1.8s; }
.intro__luces circle:nth-child(4) { animation-delay: 0.54s, 2.3s; }
.intro__luces circle:nth-child(5) { animation-delay: 0.62s, 1.7s; }
.intro__luces circle:nth-child(6) { animation-delay: 0.70s, 2.0s; }
.intro__luces circle:nth-child(7) { animation-delay: 0.78s, 1.9s; }
.intro__luces circle:nth-child(8) { animation-delay: 0.86s, 2.2s; }
.intro__luces circle:nth-child(9) { animation-delay: 0.94s, 1.65s; }
.intro__luces circle:nth-child(10) { animation-delay: 1.02s, 2.05s; }

/* La mitad derecha se prende de afuera hacia el centro, en espejo. */
.intro__telon--der .intro__luces {
  transform: scaleX(-1);
}

@keyframes foco-prende {
  from { opacity: 0.15; }
  to { opacity: 1; }
}

@keyframes foco-titila {
  from { opacity: 1; }
  to { opacity: 0.45; }
}

.intro__destellos {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  animation: intro-sale 0.35s ease 2.1s forwards;
}

.intro__destellos i {
  position: absolute;
  top: -10px;
  left: var(--x);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: #F7DB9A;
  box-shadow: 0 0 8px 1px rgba(247, 219, 154, 0.7);
  opacity: 0;
  animation: destello-cae 2.6s linear var(--d) both;
}

@keyframes destello-cae {
  0% { opacity: 0; transform: translate(0, 0); }
  15% { opacity: 0.9; }
  85% { opacity: 0.6; }
  100% { opacity: 0; transform: translate(var(--v), 70vh); }
}

/* El gorrito: mismas proporciones que el del header, así el vuelo empalma. */
.intro__sello .gorro {
  position: absolute;
  z-index: 2;
  width: calc(var(--dd) * 1.105);
  height: calc(var(--dd) * 0.92);
  left: calc(var(--dd) * -0.237);
  top: calc(var(--dd) * -0.684);
  rotate: -14deg;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
  animation: gorro-cae 0.75s cubic-bezier(0.3, 1.5, 0.5, 1) 1.05s both;
}

@keyframes gorro-cae {
  from {
    opacity: 0;
    translate: 0 -55vh;
    rotate: -40deg;
  }
  60% {
    opacity: 1;
  }
  to {
    opacity: 1;
    translate: 0 0;
    rotate: -14deg;
  }
}

body.navidad .intro__onda {
  border-color: rgba(201, 164, 92, 0.75);
}

body.navidad .intro__lugar {
  color: rgba(230, 204, 143, 0.8);
}

body.navidad .intro__linea {
  background: rgba(201, 164, 92, 0.6);
}

@media (prefers-reduced-motion: reduce) {
  .intro__luces circle,
  .intro__destellos i,
  .intro__sello .gorro {
    animation: none !important;
    opacity: 1;
  }
}

/* Sin intro.js, el gorrito se va con el disco (ver el fallback de .intro__disco). */
.intro:not(.intro--js) .intro__sello .gorro {
  animation:
    gorro-cae 0.75s cubic-bezier(0.3, 1.5, 0.5, 1) 1.05s both,
    intro-sale 0.5s ease 2.35s forwards;
}
