/* =========================================================
   VeoVeo — "Veo veo, ¿qué ves?"
   La ropa cuelga de un tendedero: soga, broches y etiquetas.
   ========================================================= */

:root {
  /* Paleta (menta y rosa del logo + tonos hondos para texto y botones) */
  --paper: #FBF7F2;         /* fondo principal */
  --paper-2: #F3ECE3;       /* fondo de fotos y bloques suaves */
  --mint: #BCE0D3;          /* menta del logo: bloques */
  --mint-soft: #E3F1EB;
  --mint-deep: #2E6B5C;     /* títulos de acento, links secundarios */
  --pink: #F2B3B7;          /* rosa del logo: bloques */
  --pink-soft: #FBE6E7;
  --berry: #B23C51;         /* botones, bolsa (blanco encima: 5,7:1) */
  --berry-dark: #93303F;    /* hover */
  --ink: #2D3A36;           /* texto */
  --ink-soft: #5F6B67;      /* texto secundario (5,2:1 sobre papel) */
  --line: rgba(45, 58, 54, .14);
  --rope: #B9AFA2;          /* soga del tendedero (nunca texto) */
  --eye-line: #D3D6D5;      /* contorno de los ojos, como en el logo */
  --white: #FFFFFF;

  /* Tipografía */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --hand: "Shantell Sans", "Comic Sans MS", "Segoe Print", cursive;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Espaciado (base 8) */
  --s1: .5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2rem;
  --s5: 3rem;
  --s6: 4rem;
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 1280px;

  --radius: 4px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--berry); }

:focus-visible { outline: 2px solid var(--berry); outline-offset: 3px; }

.sr {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: var(--s2);
  top: 0;
  transform: translateY(-120%);
  z-index: 100;
  padding: .75rem 1rem;
  background: var(--ink);
  color: var(--paper);
}
.skip:focus { transform: translateY(var(--s2)); color: var(--paper); }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Tipos ---------- */

.display {
  font-family: var(--serif);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: clamp(2.4rem, 7vw, 4.75rem);
  line-height: .98;
  letter-spacing: -.025em;
}
.display--sm { font-size: clamp(2rem, 5vw, 3rem); }

/* letra "a mano": pistas del juego, talles, etiquetas */
.hand {
  font-family: var(--hand);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.3;
  color: var(--mint-deep);
}

.eyebrow {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink-soft);
}
.eyebrow a { text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }

.link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--mint-deep);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--mint);
  text-underline-offset: .3em;
  transition: text-decoration-color .25s, color .25s;
}
.link:hover { color: var(--ink); text-decoration-color: var(--mint-deep); }

/* ---------- Botones ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 3.25rem;
  padding: .85rem 1.6rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--berry); color: var(--white); }
.btn--primary:hover { background: var(--berry-dark); color: var(--white); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--berry); color: var(--white); }
.btn--ghost { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--block { width: 100%; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  transition: background-color .2s, border-color .2s;
}
.icon-btn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ---------- Ojos saltones (como los del logo) ---------- */

.eye {
  position: relative;
  display: inline-block;
  width: .6em;
  height: .6em;
  margin: 0 .015em 0 .02em;
  vertical-align: -.03em;
  border: .045em solid var(--eye-line);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 .02em 0 rgba(45, 58, 54, .06);
}
.eye__pupil {
  position: absolute;
  left: 50%;
  top: 50%;
  width: .24em;
  height: .24em;
  margin: -.12em 0 0 -.12em;
  border-radius: 50%;
  background: #8E9794;
  transform: translate(var(--px, .03em), var(--py, .05em));
  transition: transform .18s var(--ease-out);
}

/* ---------- Navegación ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 247, 242, .93);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.is-stuck { border-bottom-color: var(--line); }

.nav__in {
  display: flex;
  align-items: center;
  gap: var(--s3);
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding: .7rem var(--gutter);
}
.nav__logo { flex: none; }
.nav__logo img { width: auto; height: clamp(32px, 4.2vw, 42px); }

/* Soga con etiquetas (solo escritorio) */
.line { display: none; position: relative; flex: 1; align-self: stretch; min-height: 3.6rem; }
.line__rope {
  position: absolute;
  left: 0; right: 0; top: .35rem;
  width: 100%;
  height: 1.6rem;
  overflow: visible;
}
.line__rope path, .clothesline__rope path, .how__rope path, .foot__rope path {
  fill: none;
  stroke: var(--rope);
  stroke-width: 2;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.line__tags {
  position: relative;
  display: flex;
  justify-content: space-evenly;
  height: 100%;
}
.line__tags li {
  /* sigue la curva de la soga: más abajo en el centro */
  --t: calc((var(--i) + .5) / var(--n));
  padding-top: calc(.95rem + 4 * var(--t) * (1 - var(--t)) * .8rem);
}
.hang {
  position: relative;
  display: inline-block;
  padding: .3rem .8rem .35rem 1.45rem;
  border-radius: 3px 8px 8px 3px;
  background: var(--white);
  box-shadow: 0 1px 0 var(--line), 0 0 0 1px var(--line);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transform: rotate(calc((var(--i) - 2) * 1.6deg));
  transform-origin: 50% -.7rem;
  transition: background-color .2s, color .2s;
}
/* hilo hasta la soga */
.hang::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 1px;
  height: .75rem;
  background: var(--rope);
}
/* ojal de la etiqueta */
.hang::before {
  content: "";
  position: absolute;
  left: .55rem;
  top: 50%;
  width: .4rem;
  height: .4rem;
  margin-top: -.2rem;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 0 0 1.5px var(--rope);
}
.hang:nth-child(odd), .line__tags li:nth-child(odd) .hang { background: var(--mint-soft); }
.line__tags li:nth-child(even) .hang { background: var(--pink-soft); }
.line__tags li .hang--plain { background: var(--white); }
.hang:hover { color: var(--ink); animation: swing 1s var(--ease-out); }

.nav__actions { display: flex; align-items: center; gap: .4rem; margin-left: auto; }

.bag-btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 2.75rem;
  padding: .3rem .35rem .3rem 1rem;
  border: 0;
  border-radius: 999px;
  background: var(--berry);
  color: var(--white);
  font-size: .9375rem;
  font-weight: 700;
  transition: background-color .2s;
}
.bag-btn:hover { background: var(--berry-dark); }
.bag-btn__count {
  display: grid;
  place-items: center;
  min-width: 2.1rem;
  height: 2.1rem;
  padding: 0 .4rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--berry-dark);
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
}
.bag-btn__count.is-bump { animation: bump .5s var(--ease-out); }
@keyframes bump {
  0% { transform: scale(1); }
  35% { transform: scale(1.35) rotate(-8deg); }
  100% { transform: scale(1); }
}

.menu-btn {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
}
.menu-btn__bars,
.menu-btn__bars::before {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  position: relative;
}
.menu-btn__bars::before { content: ""; position: absolute; top: 7px; width: 14px; }
.menu-btn__bars { transform: translateY(-3px); }

@media (min-width: 900px) {
  .line { display: block; }
  .nav__actions { margin-left: 0; }
  .menu-btn { display: none; }
}
@media (max-width: 359px) {
  .bag-btn__label { display: none; }
  .bag-btn { padding-left: .35rem; }
}

@keyframes swing {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(5deg); }
  50% { transform: rotate(-3.5deg); }
  75% { transform: rotate(1.5deg); }
  100% { transform: rotate(0deg); }
}

/* ---------- Diálogos: menú (hoja) y bolsa ---------- */

dialog {
  padding: 0;
  border: 0;
  color: var(--ink);
  background: var(--paper);
  max-width: none;
  max-height: none;
}
dialog::backdrop { background: rgba(45, 58, 54, .45); }

.sheet {
  width: 100%;
  margin: auto 0 0;
  border-radius: 18px 18px 0 0;
  max-height: 88dvh;
  padding: var(--s3) var(--gutter) calc(var(--s3) + env(safe-area-inset-bottom));
}
.sheet[open] { animation: sheet-in .45s var(--ease-out); }
@keyframes sheet-in { from { transform: translateY(100%); } }

.sheet__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s1); }
.sheet__head .hand { font-size: 1.25rem; }
.sheet__nav { display: grid; }
.sheet__nav a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: .75rem 0;
  border-bottom: 1px dashed var(--rope);
  font-family: var(--serif);
  font-variation-settings: "SOFT" 100;
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 1.15;
  text-decoration: none;
}
.sheet__nav small { font-family: var(--hand); font-size: .9375rem; color: var(--ink-soft); }
.sheet__foot {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  margin-top: var(--s3);
  font-size: .9375rem;
  font-weight: 600;
}
.sheet__foot a { color: var(--mint-deep); }

.bag {
  width: min(440px, 100%);
  height: 100%;
  height: 100dvh;
  margin: 0 0 0 auto;
  display: none;
  flex-direction: column;
}
.bag[open] { display: flex; animation: bag-in .5s var(--ease-out); }
@keyframes bag-in { from { transform: translateX(100%); } }

.bag__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s3) var(--s3) var(--s2);
  border-bottom: 1px solid var(--line);
}
.bag__head h2 { font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; font-weight: 600; font-size: 2rem; line-height: 1; }
.bag__body { flex: 1; overflow-y: auto; padding: 0 var(--s3); overscroll-behavior: contain; }
.bag__empty { display: grid; gap: .4rem; padding: var(--s4) 0; color: var(--ink-soft); }
.bag__empty .hand { font-size: 1.25rem; }
.bag__empty a { color: var(--berry); font-weight: 700; }

.bag__item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: .25rem 1rem;
  padding: var(--s2) 0;
  border-bottom: 1px solid var(--line);
}
.bag__thumb { grid-row: span 2; width: 72px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; background: var(--mint-soft); }
.bag__name { font-weight: 600; line-height: 1.3; }
.bag__name a { text-decoration: none; }
.bag__opt { display: block; margin-top: .15rem; font-family: var(--hand); font-size: .875rem; font-weight: 500; color: var(--mint-deep); }
.bag__warn { display: block; font-size: .8125rem; font-weight: 700; color: var(--berry); }
.bag__line { font-family: var(--serif); font-weight: 600; white-space: nowrap; }
.bag__controls { grid-column: 2 / 4; display: flex; align-items: center; justify-content: space-between; }
.bag__remove {
  border: 0;
  background: none;
  padding: .5rem 0;
  font-size: .8125rem;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: .2em;
}
.bag__remove:hover { color: var(--berry); }

.bag__foot {
  display: grid;
  gap: var(--s2);
  padding: var(--s3);
  padding-bottom: calc(var(--s3) + env(safe-area-inset-bottom));
  background: var(--mint-soft);
}
.bag__foot[hidden] { display: none; }
.bag__total { display: flex; align-items: baseline; justify-content: space-between; }
.bag__total span { font-family: var(--hand); font-size: 1.125rem; color: var(--mint-deep); }
.bag__total strong { font-family: var(--serif); font-weight: 700; font-size: 2rem; line-height: 1; }
.bag__note { font-size: .8125rem; color: var(--ink-soft); line-height: 1.45; }

.field { display: grid; gap: .3rem; font-size: .875rem; font-weight: 600; }
.field small { font-weight: 400; color: var(--ink-soft); }
.field input {
  min-height: 2.75rem;
  padding: .55rem .8rem;
  border: 1px solid rgba(45, 58, 54, .3);
  border-radius: 10px;
  background: var(--white);
  font-weight: 400;
  font-size: 1rem;
}
.field input:focus { outline: 2px solid var(--berry); outline-offset: 0; border-color: transparent; }

.qty {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid rgba(45, 58, 54, .3);
  border-radius: 999px;
  background: var(--white);
  overflow: hidden;
}
.qty button { width: 2.75rem; border: 0; background: none; font-size: 1.125rem; }
.qty button:hover { background: var(--pink-soft); }
.qty input {
  width: 2.5rem;
  border: 0;
  background: none;
  text-align: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.125rem;
  -moz-appearance: textfield;
  appearance: textfield;
}
.qty input::-webkit-inner-spin-button,
.qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm button, .qty--sm input { width: 2.4rem; min-height: 2.4rem; font-size: 1rem; }

/* ---------- Hero ---------- */

.hero { padding-top: clamp(1.5rem, 5vw, 4rem); overflow: hidden; }

.hero__copy {
  display: grid;
  gap: var(--s2);
}
.hero__where {
  font-family: var(--hand);
  font-size: 1rem;
  color: var(--mint-deep);
}
.hero__where i { font-style: normal; color: var(--rope); padding-inline: .2rem; }

.hero__title {
  font-family: var(--serif);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-optical-sizing: auto;
  font-weight: 650;
  font-size: clamp(3.5rem, 16.5vw, 10rem);
  line-height: .9;
  letter-spacing: -.035em;
}
.hero__title > span[aria-hidden] { display: block; }
.hero__l1 { color: var(--mint-deep); white-space: nowrap; }
.hero__v2 { color: var(--berry); }
.hero__l2 { color: var(--ink); font-weight: 450; padding-left: .5em; }

.hero__answer {
  display: grid;
  gap: .1rem;
  margin-top: var(--s1);
}
.hero__answer .hand { color: var(--ink-soft); }
.hero__clue {
  justify-self: start;
  min-height: 2.3em;
  font-family: var(--hand);
  font-weight: 600;
  font-size: clamp(1.375rem, 4.5vw, 1.875rem);
  line-height: 1.25;
  color: var(--berry);
  text-decoration: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 8'%3E%3Cpath d='M0 4q5-5 10 0t10 0 10 0 10 0' fill='none' stroke='%23F2B3B7' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") 0 100% / 1.6rem .45rem repeat-x;
  padding-bottom: .35rem;
}
.hero__clue:hover { color: var(--berry-dark); }
.hero__clue [data-answer]::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: .1em;
  vertical-align: -.12em;
  background: currentColor;
  opacity: 0;
}
.hero__clue.is-typing [data-answer]::after { opacity: 1; animation: caret .8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

.hero__text { max-width: 36ch; color: var(--ink-soft); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); margin-top: var(--s1); }

@media (min-width: 900px) {
  .hero__copy {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    grid-template-areas:
      "where where"
      "title answer"
      "title text"
      "title cta";
    grid-template-rows: auto auto auto 1fr;
    column-gap: var(--s5);
    align-items: end;
  }
  .hero__where { grid-area: where; }
  .hero__title { grid-area: title; align-self: start; }
  .hero__answer { grid-area: answer; margin: 0; }
  .hero__text { grid-area: text; }
  .hero__cta { grid-area: cta; align-self: start; }
  .hero__title { font-size: clamp(5rem, 10.5vw, 10rem); }
}

/* Tendedero */
.clothesline {
  --rope-h: 64px;
  position: relative;
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
}
.clothesline__rope { display: none; }
.clothesline__items {
  display: flex;
  gap: 1.1rem;
  padding: 1.3rem var(--gutter) 2.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  /* la soga en el celular: recta y se desplaza con las prendas */
  background: linear-gradient(var(--rope), var(--rope)) 0 1.3rem / 100% 2px no-repeat;
  background-attachment: local;
}
.clothesline__items::-webkit-scrollbar { display: none; }
.clothesline__items::after { content: ""; flex: 0 0 1px; }

.peg {
  position: relative;
  flex: 0 0 clamp(10.5rem, 46vw, 14rem);
  scroll-snap-align: start;
  transform-origin: 50% 0;
  transform: rotate(var(--tilt, 0deg));
}
.peg:nth-child(4n + 1) { --tilt: -1.6deg; }
.peg:nth-child(4n + 2) { --tilt: 1.2deg; }
.peg:nth-child(4n + 3) { --tilt: -.6deg; }
.peg:nth-child(4n + 4) { --tilt: 1.8deg; }
.peg.is-swinging { animation: peg-swing 1.6s var(--ease-out); }
@keyframes peg-swing {
  0% { transform: rotate(var(--tilt)); }
  20% { transform: rotate(calc(var(--tilt) + 4deg)); }
  45% { transform: rotate(calc(var(--tilt) - 3deg)); }
  70% { transform: rotate(calc(var(--tilt) + 1.4deg)); }
  100% { transform: rotate(var(--tilt)); }
}

/* broche de madera */
.pin {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: -.95rem;
  width: .8rem;
  height: 2.2rem;
  margin-left: -.4rem;
  border-radius: 3px 3px 2px 2px;
  background:
    linear-gradient(90deg, transparent 47%, rgba(45, 58, 54, .25) 47% 53%, transparent 53%),
    var(--pin, var(--pink));
  box-shadow: 0 1px 2px rgba(45, 58, 54, .2);
}
.pin::after {
  content: "";
  position: absolute;
  left: -2px; right: -2px;
  top: .55rem;
  height: .3rem;
  border-radius: 2px;
  background: #A9A9A9;
}
.peg:nth-child(even) .pin { --pin: var(--mint); }

.peg__item { display: block; text-decoration: none; }
.peg__item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--paper-2);
  box-shadow: 0 10px 22px -12px rgba(45, 58, 54, .35);
}
.peg__tag {
  position: relative;
  display: inline-grid;
  max-width: 92%;
  margin: -1.1rem 0 0 .6rem;
  padding: .4rem .7rem .45rem;
  border-radius: 3px;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(45, 58, 54, .14);
  transform: rotate(-2.5deg);
}
.peg:nth-child(even) .peg__tag { transform: rotate(2deg); }
.peg__name { font-family: var(--hand); font-size: .9375rem; font-weight: 500; line-height: 1.25; }
.peg__price { font-family: var(--serif); font-weight: 700; font-size: 1rem; }
.peg__item:hover .peg__name { color: var(--berry); text-decoration: underline; }

.peg--drawn .garment { width: 100%; height: auto; }

@media (min-width: 900px) {
  .clothesline { padding-top: 0; }
  .clothesline__rope {
    display: block;
    position: absolute;
    left: 0; top: 0;
    width: 100%;
    height: var(--rope-h);
    overflow: visible;
  }
  .clothesline__items {
    justify-content: space-evenly;
    gap: 1.5rem;
    padding: 0 var(--gutter) 3.5rem;
    overflow: visible;
    background: none;
  }
  .clothesline__items::after { display: none; }
  .peg {
    /* cuelga de la soga curva (más abajo en el centro) */
    --t: calc((var(--i) + .5) / var(--n));
    flex: 0 1 clamp(10rem, 15vw, 15rem);
    margin-top: calc(var(--rope-h) * (8 / 60) + var(--rope-h) * (31 / 60) * 4 * var(--t) * (1 - var(--t)) + .5rem);
  }
}

/* Dibujos de prendas (cuando no hay fotos) */
.garment path, .garment circle { fill: var(--g); }
.garment [fill="none"] { fill: none; stroke: var(--white); stroke-width: 3; stroke-linecap: round; }
.garment circle { fill: var(--white); }

/* ---------- Promo ---------- */

.promo { padding: var(--s2) 0; }
.promo p {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .25rem 1rem;
  padding-block: 1rem;
  background: var(--pink);
  outline: 1.5px dashed rgba(255, 255, 255, .9);
  outline-offset: -7px;
  transform: rotate(-.8deg);
  max-width: calc(var(--max) + var(--gutter) * 2 - 2rem);
}
.promo__label { font-family: var(--hand); font-weight: 600; color: var(--berry-dark); }
.promo__text { font-weight: 700; font-size: 1.125rem; }

/* ---------- Catálogo ---------- */

.catalog { padding: var(--section) 0 calc(var(--section) * .8); }
.catalog.is-loading .catalog__body { opacity: .45; transition: opacity .2s; }

.catalog__head {
  display: grid;
  gap: .3rem;
  margin-bottom: var(--s3);
}
.catalog__kicker { font-size: 1.125rem; }
.catalog__size { font-family: var(--hand); font-weight: 500; font-size: .45em; letter-spacing: 0; color: var(--berry); vertical-align: .35em; }
.catalog__count { color: var(--ink-soft); font-size: .9375rem; }
@media (min-width: 700px) {
  .catalog__head { grid-template-columns: 1fr auto; align-items: end; column-gap: var(--s4); }
  .catalog__kicker { grid-column: 1 / -1; }
  .catalog__count { padding-bottom: .4rem; }
}

.filters { display: grid; gap: var(--s2); margin-bottom: var(--s5); }

/* categorías: etiquetas de precio con ojal */
.chips {
  display: flex;
  gap: .6rem;
  overflow-x: auto;
  margin-inline: calc(var(--gutter) * -1);
  padding: .25rem var(--gutter);
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .45rem 1.1rem .45rem 1.75rem;
  background: var(--mint-soft);
  clip-path: polygon(.8rem 0, 100% 0, 100% 100%, .8rem 100%, 0 50%);
  border-radius: 0 6px 6px 0;
  font-weight: 700;
  font-size: .9375rem;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.chip::before {
  content: "";
  position: absolute;
  left: .85rem;
  top: 50%;
  width: .45rem;
  height: .45rem;
  margin-top: -.225rem;
  border-radius: 50%;
  background: var(--paper);
}
.chip:nth-child(even) { background: var(--pink-soft); }
.chip:hover { background: var(--mint); color: var(--ink); }
.chip[aria-current] { background: var(--ink); color: var(--paper); }

/* talles: etiquetas tejidas con costura */
.sizes { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.sizes__label { flex: none; font-family: var(--hand); font-weight: 600; color: var(--mint-deep); }
.sizes__list {
  display: flex;
  gap: .4rem;
  overflow-x: auto;
  margin-right: calc(var(--gutter) * -1);
  padding: .25rem var(--gutter) .25rem .1rem;
  scrollbar-width: none;
}
.sizes__list::-webkit-scrollbar { display: none; }
.size {
  flex: none;
  display: grid;
  place-items: center;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0 .6rem;
  border-radius: 3px;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line);
  outline: 1px dashed transparent;
  outline-offset: -5px;
  font-family: var(--hand);
  font-weight: 600;
  font-size: .9375rem;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color .2s, outline-color .2s;
}
.size:hover { outline-color: var(--rope); }
.size[aria-current] { background: var(--berry); color: var(--white); box-shadow: none; outline-color: rgba(255, 255, 255, .7); }

.filters__form { display: flex; flex-wrap: wrap; gap: .6rem; }
.search {
  flex: 1 1 14rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  min-height: 3rem;
  padding: 0 1rem;
  border: 1px solid rgba(45, 58, 54, .25);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink-soft);
}
.search:focus-within { outline: 2px solid var(--berry); outline-offset: 1px; }
.search input { flex: 1; min-width: 0; border: 0; background: none; font-size: 1rem; color: var(--ink); outline: none; }
.select select {
  min-height: 3rem;
  padding: 0 2.4rem 0 1rem;
  border: 1px solid rgba(45, 58, 54, .25);
  border-radius: 999px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%232D3A36' stroke-width='1.6'/%3E%3C/svg%3E") right 1rem center / .7rem no-repeat;
  -webkit-appearance: none;
  appearance: none;
  font-size: .9375rem;
}
.filters__form .btn { min-height: 3rem; padding-block: .5rem; }
@media (min-width: 900px) {
  .filters { grid-template-columns: auto 1fr; align-items: center; column-gap: var(--s4); }
  .chips { margin: 0; padding-inline: 0; }
  .sizes { grid-column: 1 / -1; }
  .sizes__list { margin-right: 0; padding-right: 0; flex-wrap: wrap; overflow: visible; }
  .filters__form { grid-row: 1; grid-column: 2; justify-content: flex-end; }
  .search { flex: 0 1 22rem; }
}

/* grilla */
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s5) var(--s2);
}
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s6) var(--s4); } }

.card { display: flex; flex-direction: column; min-width: 0; }
.card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--mint-soft);
  transform-origin: 50% 0;
  transition: transform .6s var(--ease-out);
}
.card:nth-child(even) .card__media { background: var(--pink-soft); }
.card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .45s var(--ease);
}
.card__alt { opacity: 0; }
@media (hover: hover) {
  .card:hover .card__media { transform: rotate(var(--tilt)); }
  .card:hover .card__alt { opacity: 1; }
}
.card__noimg { display: grid; place-items: center; width: 100%; height: 100%; }
.card__noimg .garment { width: 58%; height: auto; }
.card__badge {
  position: absolute;
  left: .6rem;
  top: .7rem;
  padding: .2rem .6rem;
  border-radius: 3px;
  background: var(--white);
  font-family: var(--hand);
  font-weight: 600;
  font-size: .875rem;
  transform: rotate(-4deg);
  box-shadow: 0 2px 6px rgba(45, 58, 54, .15);
}
.card__badge--sale { background: var(--berry); color: var(--white); }
.card__video {
  position: absolute;
  right: .6rem;
  bottom: .6rem;
  padding: .15rem .55rem;
  border-radius: 999px;
  background: rgba(45, 58, 54, .75);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
}
.is-out .card__media img { filter: grayscale(.55); opacity: .65; }

.card__info { display: flex; flex-direction: column; gap: .2rem; flex: 1; padding-top: .85rem; }
.card__name { font-family: var(--sans); font-size: 1rem; font-weight: 600; line-height: 1.3; }
.card__name a { text-decoration: none; }
.card__name a:hover { color: var(--berry); }
.card__price { font-family: var(--serif); font-weight: 700; font-size: 1.1875rem; line-height: 1.2; }
.card__price del { font-weight: 400; font-size: .85em; color: var(--ink-soft); margin-right: .2rem; }
.card__ask { font-family: var(--hand); font-weight: 500; font-size: .9375rem; color: var(--mint-deep); }
.card__sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 0 .3rem;
  font-family: var(--hand);
  font-size: .875rem;
  color: var(--ink-soft);
}
.card__sizes i { font-style: normal; color: var(--rope); }
.card__sizes del { color: var(--rope); text-decoration-color: var(--berry); text-decoration-thickness: 1.5px; }
.card__action {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: auto;
  padding: .45rem 1rem;
  border: 1.5px solid var(--berry);
  border-radius: 999px;
  background: transparent;
  color: var(--berry);
  font-size: .875rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.card__info > :nth-last-child(2) { margin-bottom: .6rem; }
.card__action:hover { background: var(--berry); color: var(--white); }
.is-out .card__action { border-color: var(--rope); color: var(--ink-soft); }
.is-out .card__action:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
@media (max-width: 420px) { .card__action { align-self: stretch; justify-content: center; } }

.empty {
  display: grid;
  gap: .5rem;
  padding: var(--s5) 0;
  max-width: 40rem;
}
.empty__title { font-family: var(--hand); font-weight: 600; font-size: 1.5rem; color: var(--mint-deep); }
.empty a { color: var(--berry); font-weight: 700; }

/* ---------- Cómo comprar ---------- */

.how {
  position: relative;
  padding: var(--section) 0;
  background: var(--mint);
  overflow: hidden;
}
.how__head { display: grid; gap: .5rem; margin-bottom: var(--s5); }
.how__lead { max-width: 30ch; font-size: 1.125rem; }
.how__rope { display: none; }
.how__steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s3) var(--s2);
}
.how__steps li {
  position: relative;
  display: grid;
  align-content: start;
  gap: .4rem;
  padding: 1.1rem 1rem 1.25rem;
  border-radius: 4px;
  background: var(--paper);
  box-shadow: 0 10px 22px -14px rgba(45, 58, 54, .45);
  transform: rotate(calc((var(--i) - 1.5) * 1.1deg));
  transform-origin: 50% 0;
}
.how__steps li:nth-child(even) { transform: rotate(calc(var(--i) * -.8deg)); }
.how__num {
  font-family: var(--hand);
  font-weight: 700;
  font-size: 2.25rem;
  line-height: 1;
  color: var(--berry);
}
.how__steps h3 { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-weight: 600; font-size: 1.25rem; line-height: 1.15; }
.how__steps p { font-size: .9375rem; line-height: 1.5; }
.how__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2) var(--s4); margin-top: var(--s5); }
.how__pay { font-family: var(--hand); font-size: 1.125rem; font-weight: 600; }

@media (min-width: 900px) {
  .how__head { grid-template-columns: auto 1fr; align-items: end; column-gap: var(--s5); }
  .how__rope { display: block; width: 100%; height: 40px; overflow: visible; }
  .how__steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); margin-top: -12px; }
  .how__steps li {
    --t: calc((var(--i) + .5) / 4);
    margin-top: calc(4 * var(--t) * (1 - var(--t)) * 22px + 26px);
    padding: 1.5rem 1.4rem 1.6rem;
  }
  /* hilo hasta la soga */
  .how__steps li::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 100%;
    width: 1.5px;
    height: 24px;
    background: var(--rope);
  }
}

/* ---------- Pie ---------- */

.foot {
  position: relative;
  padding: 0 0 6rem;
  background: var(--pink-soft);
}
.foot__rope { display: block; width: 100%; height: 40px; }
.foot__in {
  display: grid;
  gap: var(--s4);
  padding-top: var(--s4);
}
.foot__logo img { width: 9.5rem; height: auto; }
.foot__title { margin-bottom: .4rem; font-family: var(--hand); font-weight: 600; font-size: 1.125rem; color: var(--mint-deep); }
.foot__col p + p { margin-top: .3rem; }
.foot__soon { color: var(--ink-soft); font-size: .875rem; }
.foot__muted { color: var(--ink-soft); font-size: .9375rem; }
.foot__links { display: grid; gap: .35rem; }
.foot__links a { font-weight: 600; text-decoration: none; }
.foot__links a:hover { text-decoration: underline; color: var(--berry); }
.foot__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .4rem 1.5rem;
  padding-top: var(--s3);
  border-top: 1px dashed var(--rope);
  font-size: .75rem;
  color: var(--ink-soft);
}
.foot__legal a { color: var(--ink); font-weight: 600; }
@media (min-width: 768px) {
  .foot { padding-bottom: 3rem; }
  .foot__in { grid-template-columns: auto 1fr 1fr; column-gap: var(--s6); align-items: start; }
  .foot__logo img { width: 11rem; }
  .foot__legal { grid-column: 1 / -1; }
}

/* ---------- Botón flotante de WhatsApp ---------- */

.wa-float {
  position: fixed;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-width: 3.5rem;
  height: 3.5rem;
  padding: 0 .8rem;
  border-radius: 999px;
  background: var(--mint-deep);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(45, 58, 54, .25);
  transition: transform .25s var(--ease), background-color .25s;
}
.wa-float:hover { color: var(--white); background: #24584B; transform: translateY(-2px); }
.wa-float svg { flex: none; }
.wa-float__label { display: none; padding-right: .3rem; }
@media (min-width: 768px) { .wa-float__label { display: inline; } .wa-float { padding: 0 1rem 0 .85rem; } }

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(5.5rem + env(safe-area-inset-bottom));
  z-index: 60;
  max-width: calc(100% - 2rem);
  padding: .8rem 1.1rem;
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper);
  font-size: .9375rem;
  transform: translate(-50%, 150%);
  opacity: 0;
  pointer-events: none;
  transition: transform .45s var(--ease-out), opacity .3s;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.toast button {
  margin-left: .75rem;
  border: 0;
  background: none;
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .2em;
}

/* ---------- Producto ---------- */

.product { padding-bottom: var(--section); }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; padding-top: var(--s3); padding-bottom: var(--s3); }
.product__in { display: grid; gap: var(--s4); }
@media (min-width: 900px) {
  .product__in { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s6); align-items: start; }
  .product__info { position: sticky; top: 6rem; }
}

.gallery { display: grid; gap: .75rem; }
.gallery__main {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--mint-soft);
}
.gallery__main img, .gallery__main video { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.gallery__main .is-swapping { opacity: 0; }
.gallery__main img[data-gallery-main] { cursor: zoom-in; }
.gallery__thumbs { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; }
.gallery__thumbs button {
  position: relative;
  flex: none;
  width: 4.5rem;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: var(--paper-2);
  overflow: hidden;
  opacity: .65;
  transition: opacity .2s;
}
.gallery__thumbs button[aria-current] { opacity: 1; box-shadow: 0 0 0 2px var(--berry); }
.gallery__thumbs img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.gallery__vthumb { display: block; aspect-ratio: 4 / 5; background: var(--ink); }
.gallery__play { position: absolute; inset: 0; display: grid; place-items: center; color: var(--white); font-size: 1.1rem; text-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
.gallery__zoom {
  position: absolute;
  right: .75rem;
  bottom: .75rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 2.75rem;
  padding: .4rem .9rem .4rem .75rem;
  border: 0;
  border-radius: 999px;
  background: rgba(251, 247, 242, .94);
  color: var(--ink);
  font-size: .875rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(45, 58, 54, .18);
}
.gallery__zoom:hover { background: var(--ink); color: var(--paper); }
.gallery__zoom[hidden] { display: none; }

.product__info { display: grid; gap: var(--s2); align-content: start; }
.product__cat { font-size: 1.125rem; }
.product__name {
  font-family: var(--serif);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: -.02em;
}
.product__price { font-family: var(--serif); font-weight: 700; font-size: 1.75rem; }
.product__price del { font-weight: 400; font-size: .7em; color: var(--ink-soft); margin-right: .3rem; }
.product__soldout { font-family: var(--hand); font-weight: 600; font-size: 1.25rem; color: var(--berry); }

.buy { display: grid; gap: var(--s3); padding: var(--s3) 0; border-block: 1px dashed var(--rope); }
.buy fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.buy legend { padding: 0; margin-bottom: .6rem; font-family: var(--hand); font-weight: 600; font-size: 1.125rem; color: var(--mint-deep); }
.buy.is-invalid legend { color: var(--berry); }
.buy__sizes-list, .buy__opts-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.buy__hint { margin-top: .6rem; font-size: .875rem; color: var(--ink-soft); }
.buy__hint a { color: var(--berry); font-weight: 600; }

.label-size, .opt { position: relative; cursor: pointer; }
.label-size input, .opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.label-size span:not(.sr) {
  display: grid;
  place-items: center;
  min-width: 3.25rem;
  height: 3.25rem;
  padding: 0 .75rem;
  border-radius: 3px;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line);
  outline: 1px dashed transparent;
  outline-offset: -5px;
  font-family: var(--hand);
  font-weight: 600;
  font-size: 1.0625rem;
  transition: background-color .15s, color .15s, outline-color .15s;
}
.label-size:hover span:not(.sr) { outline-color: var(--rope); }
.label-size input:checked + span { background: var(--ink); color: var(--paper); box-shadow: none; outline-color: rgba(251, 247, 242, .6); }
.label-size input:focus-visible + span { box-shadow: 0 0 0 2px var(--berry); }
.label-size.is-out { cursor: not-allowed; }
.label-size.is-out span:not(.sr) {
  color: var(--rope);
  background: linear-gradient(to top right, transparent calc(50% - 1px), var(--berry) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)), var(--paper-2);
  box-shadow: none;
}
.opt span {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .4rem 1.1rem;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line);
  font-weight: 600;
  font-size: .9375rem;
}
.opt input:checked + span { background: var(--ink); color: var(--paper); box-shadow: none; }
.opt input:focus-visible + span { box-shadow: 0 0 0 2px var(--berry); }

.buy__row { display: flex; flex-wrap: wrap; gap: .75rem; }
.buy__row .btn { flex: 1 1 12rem; }

.product__desc { display: grid; gap: .8rem; max-width: 60ch; }
.product__meta { display: grid; gap: .5rem; font-size: .9375rem; }
.product__meta div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line); }
.product__meta dt { font-family: var(--hand); font-weight: 600; color: var(--mint-deep); }
.product__meta a { color: var(--berry); }
.product .card__sizes { font-size: 1rem; }

.related { padding-top: var(--section); }
.related h2 { margin-bottom: var(--s4); }
.related .hand { font-size: .6em; color: var(--berry); }

/* ---------- Zoom de fotos ---------- */

.lb {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  background: rgb(24 32 30 / var(--lb-fade, 1));
  color: var(--paper);
  overflow: hidden;
}
.lb[open] { animation: lb-in .25s var(--ease-out); }
@keyframes lb-in { from { opacity: 0; } }
.lb::backdrop { background: transparent; }
.lb__stage { position: absolute; inset: 0; overflow: hidden; touch-action: none; cursor: zoom-out; outline: none; }
.lb__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: 0 0;
  user-select: none;
  -webkit-user-drag: none;
  cursor: zoom-in;
}
.lb.is-zoomed .lb__img { cursor: grab; }
.lb.is-zoomed .lb__img:active { cursor: grabbing; }
.lb.is-loading .lb__stage::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5.5rem;
  width: 28px;
  height: 28px;
  margin-left: -14px;
  border: 2px solid rgba(251, 247, 242, .3);
  border-top-color: var(--paper);
  border-radius: 50%;
  animation: lb-spin .8s linear infinite;
}
@keyframes lb-spin { to { transform: rotate(360deg); } }
.lb__btn {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 50%;
  background: rgba(251, 247, 242, .14);
  color: var(--paper);
  font-size: 2rem;
  line-height: 1;
  transition: background-color .2s;
}
.lb__btn:hover { background: rgba(251, 247, 242, .28); }
.lb__close { top: calc(.75rem + env(safe-area-inset-top)); right: .75rem; }
.lb__prev, .lb__next { top: 50%; transform: translateY(-50%); }
.lb__prev { left: .75rem; }
.lb__next { right: .75rem; }
.lb__count { position: absolute; z-index: 2; top: calc(1.5rem + env(safe-area-inset-top)); left: 1rem; font-size: .875rem; letter-spacing: .08em; }
.lb__hint {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: calc(1.25rem + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  padding: .45rem .9rem;
  border-radius: 999px;
  background: rgba(251, 247, 242, .14);
  font-size: .8125rem;
  white-space: nowrap;
  pointer-events: none;
}
.lb.is-zoomed .lb__hint { display: none; }
@media (hover: none) { .lb__prev, .lb__next { display: none; } }
@media (hover: hover) { .lb__hint::after { content: " · usá la rueda o las flechas"; } }

/* ---------- 404 ---------- */

.notfound { display: grid; gap: var(--s4); align-items: center; padding-block: var(--section); }
.notfound > div:last-child { display: grid; gap: var(--s2); justify-items: start; max-width: 34rem; }
.notfound__eyes { font-size: clamp(6rem, 22vw, 12rem); line-height: 1; }
.notfound .hand { font-size: 1.375rem; }
@media (min-width: 800px) { .notfound { grid-template-columns: auto 1fr; gap: var(--s6); } }

/* ---------- Movimiento reducido ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .card:hover .card__media { transform: none; }
}
