/* =========================================================
   Tití Studio · estilos
   Layout: cabecera fija, secciones a sangre con contenido a 1280px,
   rejillas de 2 columnas en móvil, 3 en tablet y 4 en escritorio.
   ========================================================= */
:root {
  /* Color (mismos tokens que la colección "Tití / Color" de Figma) */
  --cream: #f6f3ec;
  --white: #ffffff;
  --mint: #cdefea;
  --ink: #0e2f30;
  --muted: #58706f;
  --line: #d3e2de;
  --teal: #12b3a8;
  --teal-dark: #0c8c84;
  --coral: #ff6b4a;
  --scrim: rgba(14, 47, 48, .45);

  /* Tipografía */
  --f-logo: "Bagel Fat One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --f-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "Figtree", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-hand: "Caveat", "Bradley Hand", cursive;

  /* Espaciado (escala de 4) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;

  --radius: 20px;
  --radius-sm: 12px;
  --max: 1280px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --header-h: 64px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 16px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-display); margin: 0; text-wrap: balance; letter-spacing: -.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
@media (min-width: 700px) { :root { --gutter-l: max(32px, env(safe-area-inset-left, 0px)); --gutter-r: max(32px, env(safe-area-inset-right, 0px)); } }
@media (min-width: 1100px) { :root { --gutter-l: max(48px, env(safe-area-inset-left, 0px)); --gutter-r: max(48px, env(safe-area-inset-right, 0px)); --header-h: 72px; } }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--teal); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border: 2px solid var(--ink); border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 600 17px/1 var(--f-display); letter-spacing: -.01em; text-decoration: none;
  box-shadow: 0 4px 0 var(--ink);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), background-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn--primary { --bg: var(--teal); }
.btn--primary:hover { --bg: #1cc4b8; }
.btn--light { --bg: var(--white); }
.btn--light:hover { --bg: var(--mint); }
.btn--ink { --bg: var(--ink); --fg: var(--white); box-shadow: 0 4px 0 var(--teal); }
.btn--ink:hover { box-shadow: 0 6px 0 var(--teal); }
.btn--ink:active { box-shadow: 0 1px 0 var(--teal); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; box-shadow: 0 3px 0 var(--ink); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn.is-done { --bg: var(--mint); }
.link {
  font: 600 16px/1.2 var(--f-display); text-decoration: none; display: inline-flex; gap: 6px; align-items: center;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; padding-bottom: 3px;
  transition: background-size .3s var(--ease);
}
.link:hover { background-size: 100% 2px; }
.link span { transition: transform .2s var(--ease); }
.link:hover span { transform: translateX(4px); }

.icon-btn {
  position: relative; width: 44px; height: 44px; display: inline-grid; place-items: center;
  border: 0; background: transparent; border-radius: 999px; color: var(--ink); text-decoration: none;
  transition: background-color .2s;
}
.icon-btn:hover { background: rgba(14, 47, 48, .07); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.badge {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--teal); color: var(--ink); font: 700 11px/18px var(--f-body); text-align: center;
}
.badge--soft { background: var(--mint); }
.badge.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }

.chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
  border: 1.5px solid var(--ink); border-radius: 999px; background: var(--white);
  font: 500 14px/1 var(--f-body); white-space: nowrap; transition: background-color .2s, transform .15s;
}
.chip:hover { background: var(--mint); }
.chip:active { transform: scale(.96); }
.chip[aria-pressed="true"] { background: var(--teal); box-shadow: 0 3px 0 var(--ink); }

/* ---------- Avisos y cabecera ---------- */
.announce { background: var(--teal); color: var(--ink); text-align: center; font: 600 13px/1 var(--f-body); padding: 9px var(--gutter-r) 9px var(--gutter-l); }
.announce__track span { display: inline-block; animation: fadeIn .5s var(--ease); }
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  background: rgba(246, 243, 236, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 41; background: var(--cream); }
.header.scrolled { border-color: var(--line); }
.header__inner {
  max-width: var(--max); margin: 0 auto; height: var(--header-h);
  padding-left: calc(var(--gutter-l) - 8px); padding-right: calc(var(--gutter-r) - 8px);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.header__left, .header__right { display: flex; align-items: center; gap: 2px; }
.header__right { justify-content: flex-end; }
.header__nav { display: none; gap: 24px; padding-left: 8px; }
.header__nav a { font: 600 15px/1 var(--f-body); text-decoration: none; padding: 10px 0; position: relative; }
.header__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.header__nav a:hover::after, .header__nav a[aria-current="page"]::after { transform: scaleX(1); }
.header__search-d, .header__account { display: none; }
.logo { font: 400 34px/1 var(--f-logo); color: var(--teal); text-decoration: none; letter-spacing: -.01em; -webkit-text-stroke: 0; transition: transform .25s var(--ease); display: inline-block; }
.logo:hover { transform: rotate(-4deg) scale(1.05); }
.logo--sm { font-size: 30px; }
.lang { display: none; border: 1.5px solid var(--ink); border-radius: 999px; padding: 2px; margin-right: 6px; background: var(--white); }
.lang__btn { border: 0; background: transparent; border-radius: 999px; min-width: 38px; height: 30px; font: 700 12px/1 var(--f-body); letter-spacing: .04em; transition: background-color .2s; }
.lang__btn[aria-pressed="true"] { background: var(--teal); }
@media (min-width: 700px) {
  .lang { display: inline-flex; }
  .header__account { display: inline-grid; }
}
@media (min-width: 1024px) {
  .header__menu, .header__search-m { display: none; }
  .header__nav { display: flex; }
  .header__search-d { display: inline-grid; }
  .logo { font-size: 38px; }
}

/* ---------- Secciones genéricas ---------- */
main { display: block; min-height: 60vh; outline: none; }
.section { padding-block: var(--s8); }
.section--tight { padding-block: var(--s7); }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s3) var(--s5); margin-bottom: var(--s5); }
.h-xl { font-weight: 800; font-size: clamp(40px, 9vw, 104px); line-height: .92; letter-spacing: -.03em; }
.h-l { font-weight: 700; font-size: clamp(32px, 5.2vw, 52px); line-height: 1; letter-spacing: -.02em; }
.h-m { font-weight: 700; font-size: clamp(24px, 3.4vw, 32px); line-height: 1.1; }
.h-s { font-weight: 600; font-size: 20px; line-height: 1.2; letter-spacing: -.01em; }
.lead { font-size: 17px; color: var(--muted); max-width: 52ch; }
.eyebrow { font: 600 13px/1.3 var(--f-body); letter-spacing: .02em; }
.muted { color: var(--muted); }
.hand { font-family: var(--f-hand); font-weight: 600; }
.fade-in { animation: fadeIn .45s var(--ease) both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; height: clamp(600px, 82vh, 860px); overflow: hidden; background: var(--ink); color: var(--white); isolation: isolate; }
.hero__scene { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero__scene.is-active { opacity: 1; }
.hero__scene img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.hero__scene.is-active img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1.0); } }
.hero.is-paused .hero__scene.is-active img { animation-play-state: paused; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(14,47,48,.62) 0%, rgba(14,47,48,.25) 45%, rgba(14,47,48,0) 70%), linear-gradient(0deg, rgba(14,47,48,.55) 0%, rgba(14,47,48,0) 40%); pointer-events: none; }
.hero__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 120px; }
.hero__intro { max-width: 520px; display: grid; gap: 16px; justify-items: start; margin-bottom: 8px; }
.hero__title { font-weight: 700; font-size: clamp(28px, 4.4vw, 52px); line-height: 1.02; letter-spacing: -.02em; }
.hero__word { font: 400 clamp(110px, 22vw, 300px)/.8 var(--f-logo); color: var(--white); margin-top: 8px; letter-spacing: -.01em; }
.hero__player {
  position: absolute; z-index: 3; right: max(16px, var(--gutter-r)); bottom: 24px;
  display: flex; align-items: center; gap: 10px;
}
.player__toggle { width: 48px; height: 48px; border-radius: 999px; border: 0; background: rgba(255,255,255,.18); color: var(--white); display: grid; place-items: center; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background-color .2s; }
.player__toggle:hover { background: rgba(255,255,255,.3); }
.player__toggle svg { width: 18px; height: 18px; fill: currentColor; }
.player__now { display: flex; align-items: center; gap: 12px; padding: 6px 18px 6px 6px; border-radius: 999px; background: rgba(14,47,48,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); max-width: min(320px, calc(100vw - 110px)); }
.vinyl { width: 52px; height: 52px; border-radius: 50%; flex: none; background: repeating-radial-gradient(circle, #111 0 2px, #1c1c1c 2px 4px); display: grid; place-items: center; animation: spin 4s linear infinite; box-shadow: inset 0 0 0 2px rgba(255,255,255,.08); }
.vinyl img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.hero.is-paused .vinyl { animation-play-state: paused; }
@keyframes spin { to { transform: rotate(360deg); } }
.player__text { min-width: 0; display: grid; }
.player__text small { font: 500 11px/1.2 var(--f-body); opacity: .75; }
.player__text strong { font: 600 14px/1.3 var(--f-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero__dots { position: absolute; z-index: 3; left: var(--gutter-l); bottom: 32px; display: flex; gap: 8px; }
.hero__dots button { width: 28px; height: 4px; border: 0; padding: 0; border-radius: 4px; background: rgba(255,255,255,.35); overflow: hidden; position: relative; }
.hero__dots button.is-active::after { content: ""; position: absolute; inset: 0; background: var(--white); transform-origin: left; animation: dotfill 7s linear forwards; }
.hero.is-paused .hero__dots button.is-active::after { animation-play-state: paused; }
@keyframes dotfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 699px) {
  .hero { height: clamp(620px, 88vh, 760px); }
  .hero::after { background: linear-gradient(0deg, rgba(14,47,48,.78) 0%, rgba(14,47,48,.35) 50%, rgba(14,47,48,.05) 75%); }
  .hero__content { padding-bottom: 96px; }
  .hero__player { left: var(--gutter-l); right: var(--gutter-r); bottom: 20px; }
  .hero__dots { display: none; }
}

/* ---------- Marquesina ---------- */
.marquee { background: var(--ink); color: var(--white); overflow: hidden; padding: 16px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 28px; padding-right: 28px; font: 600 18px/1 var(--f-display); white-space: nowrap; }
.marquee__sun { width: 22px; height: 22px; flex: none; color: var(--teal); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Categorías ---------- */
.cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 1024px) { .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.cat { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; max-width: 100%; text-decoration: none; color: var(--white); background: var(--mint); isolation: isolate; }
.cat img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; transition: transform .7s var(--ease); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,47,48,.7) 0%, rgba(14,47,48,0) 48%); }
.cat:hover img { transform: scale(1.06); }
.cat__body { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 14px; display: grid; gap: 8px; justify-items: start; }
.cat__pill { background: var(--white); color: var(--ink); border-radius: 999px; padding: 6px 12px; font: 600 12px/1 var(--f-body); }
.cat__name { font: 700 clamp(19px, 2.2vw, 26px)/1.05 var(--f-display); }
.cat__roll { font: 600 15px/1.2 var(--f-display); display: none; opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
@media (min-width: 1024px) { .cat__roll { display: block; } .cat__body { left: 20px; bottom: 20px; } }
.cat:hover .cat__roll, .cat:focus-visible .cat__roll { opacity: 1; transform: none; }

/* ---------- Tarjeta de producto ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 20px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 24px; } }
.row-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 44%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.row-scroll > * { scroll-snap-align: start; }
@media (min-width: 700px) { .row-scroll { grid-auto-columns: minmax(240px, 31%); gap: 20px; } }
@media (min-width: 1100px) { .row-scroll { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; gap: 24px; } }

.card { position: relative; display: grid; gap: 12px; align-content: start; min-width: 0; }
.card__visual { position: relative; border-radius: var(--radius); overflow: hidden; }
.card__media { position: relative; display: block; aspect-ratio: 3 / 4; max-width: 100%; border-radius: var(--radius); overflow: hidden; background: var(--mint); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__tag { position: absolute; left: 10px; bottom: 10px; z-index: 1; background: var(--teal); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 999px; padding: 4px 10px; font: 600 12px/1.2 var(--f-body); transition: opacity .2s; }
.card__tag--last { background: var(--coral); }
.card__tag--soft { background: var(--white); }
.wish { position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; border-radius: 999px; border: 0; background: var(--white); display: grid; place-items: center; box-shadow: 0 1px 4px rgba(14,47,48,.12); transition: transform .15s var(--ease); }
.wish:active { transform: scale(.85); }
.wish svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linejoin: round; transition: fill .2s; }
.wish[aria-pressed="true"] svg { fill: var(--coral); stroke: var(--coral); animation: heart .4s var(--ease); }
@keyframes heart { 40% { transform: scale(1.35); } }
.quick-btn { position: absolute; right: 10px; bottom: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 999px; border: 2px solid var(--ink); background: var(--teal); display: grid; place-items: center; box-shadow: 0 3px 0 var(--ink); transition: transform .15s var(--ease), box-shadow .15s, opacity .2s; }
.quick-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 0 var(--ink); }
.quick-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.quick-btn svg { width: 18px; height: 18px; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; fill: none; transition: transform .25s var(--ease); }
.quick { position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 3; background: var(--white); border-radius: 14px; padding: 12px; display: grid; gap: 8px; transform: translateY(calc(100% + 12px)); transition: transform .35s var(--ease); box-shadow: 0 6px 20px rgba(14,47,48,.15); }
.quick p { font: 600 13px/1 var(--f-body); }
.quick__sizes { display: grid; grid-template-columns: repeat(auto-fit, minmax(34px, 1fr)); gap: 4px; }
.quick__sizes button { height: 34px; border: 1.5px solid var(--ink); border-radius: 8px; background: var(--white); font: 600 12px/1 var(--f-body); transition: background-color .15s, transform .1s; padding: 0 4px; }
.quick__sizes button:hover { background: var(--teal); }
.quick__sizes button:active { transform: scale(.92); }
.card.quick-open .quick { transform: none; }
.card.quick-open .quick-btn { opacity: 0; pointer-events: none; }
.card.quick-open .card__tag { opacity: 0; }
@media (hover: hover) and (min-width: 1100px) {
  .card__media:hover ~ .quick, .quick:hover, .card:focus-within .quick { transform: none; }
  .card:hover .quick-btn, .card:focus-within .quick-btn { opacity: 0; }
  .card:hover .card__tag { opacity: 0; }
}
.quick-close { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border: 0; background: transparent; border-radius: 999px; display: grid; place-items: center; }
.quick-close svg { width: 14px; height: 14px; stroke: var(--ink); stroke-width: 2; fill: none; }
.card__info { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.card__name { font: 600 clamp(15px, 1.4vw, 18px)/1.25 var(--f-display); letter-spacing: -.01em; text-decoration: none; }
.card__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.card__price { font: 700 15px/1.3 var(--f-body); white-space: nowrap; font-variant-numeric: tabular-nums; }
.card__colors { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin-top: -4px; }
.dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(14,47,48,.25); }

.promo-tile { border-radius: var(--radius); background: var(--teal); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; min-height: 100%; }
.promo-tile h3 { font-weight: 800; font-size: clamp(24px, 2.6vw, 34px); line-height: 1; }
.promo-tile p { font-size: 15px; }

/* ---------- Banner club ---------- */
.club { display: grid; border-radius: 28px; overflow: hidden; background: var(--mint); }
.club__img { aspect-ratio: 4 / 5; max-width: 100%; }
.club__img img { width: 100%; height: 100%; object-fit: cover; }
.club__body { padding: 32px 24px; display: grid; gap: 20px; align-content: center; justify-items: start; }
.club__title { font-weight: 800; font-size: clamp(36px, 6vw, 72px); line-height: .95; letter-spacing: -.03em; }
.code { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.code__value { font: 800 24px/1 var(--f-display); letter-spacing: .04em; border: 2px dashed var(--ink); border-radius: 14px; padding: 12px 18px; background: var(--white); }
@media (min-width: 700px) { .club { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } .club__img { aspect-ratio: auto; min-height: 420px; } .club__body { padding: 48px; } }

/* ---------- Vistos en Cádiz ---------- */
.spotted { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 62%); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 16px 4px 24px; }
@media (min-width: 700px) { .spotted { grid-auto-columns: minmax(240px, 34%); } }
@media (min-width: 1100px) { .spotted { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; } }
.polaroid { scroll-snap-align: center; background: var(--white); padding: 12px 12px 14px; border-radius: 6px; box-shadow: 0 10px 24px rgba(14,47,48,.12); transition: transform .35s var(--ease); margin: 0; }
.polaroid:nth-child(odd) { transform: rotate(-2.5deg); }
.polaroid:nth-child(even) { transform: rotate(2deg) translateY(10px); }
.polaroid:hover { transform: rotate(0) translateY(-6px) scale(1.02); }
.polaroid img { aspect-ratio: 1 / 1.1; width: 100%; object-fit: cover; border-radius: 2px; }
.polaroid figcaption { font: 600 21px/1.05 var(--f-hand); padding-top: 10px; }
.polaroid figcaption small { display: block; font-size: 17px; color: var(--muted); }

/* ---------- Reseñas ---------- */
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 82%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scroll-behavior: smooth; }
@media (min-width: 700px) { .reviews { grid-auto-columns: minmax(300px, 40%); } }
@media (min-width: 1100px) { .reviews { grid-auto-columns: calc((100% - 48px) / 4); } }
.review { scroll-snap-align: start; background: var(--white); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--line); }
.stars { color: var(--teal); letter-spacing: 2px; font-size: 15px; }
.review h3 { font-size: 20px; font-weight: 700; }
.review p { color: var(--ink); }
.review footer { margin-top: auto; font-size: 14px; color: var(--muted); }
.arrows { display: flex; gap: 10px; }
.arrow { width: 48px; height: 48px; border-radius: 999px; border: 2px solid var(--ink); background: var(--white); display: grid; place-items: center; box-shadow: 0 3px 0 var(--ink); transition: transform .15s var(--ease), box-shadow .15s; }
.arrow:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.arrow svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Historia, ayuda, ventajas ---------- */
.story { display: grid; gap: 28px; align-items: center; }
.story__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; }
.story__img img { width: 100%; height: 100%; object-fit: cover; }
.story__body { display: grid; gap: 18px; justify-items: start; }
@media (min-width: 900px) { .story { grid-template-columns: 1fr 1fr; gap: 64px; } }
.help-cards { display: grid; gap: 16px; }
@media (min-width: 800px) { .help-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.help-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.help-card__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--mint); display: grid; place-items: center; }
.help-card__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.help-card p { color: var(--muted); }
.help-card .link { margin-top: auto; padding-top: 6px; }
.usp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 1000px) { .usp { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.usp > div { background: var(--mint); border-radius: 16px; padding: 16px 18px; display: grid; gap: 4px; }
.usp strong { font: 600 15px/1.3 var(--f-body); }
.usp span { font-size: 13px; color: var(--muted); }

/* ---------- Tienda ---------- */
.crumbs { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; padding-top: 20px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.shop-head { display: grid; gap: 14px; padding-block: 18px 22px; }
@media (min-width: 900px) { .shop-head { grid-template-columns: 1fr minmax(0, 420px); align-items: end; } }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: 8px 24px; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 4px; }
.toolbar__group { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; min-height: 40px; padding: 0 38px 0 16px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--white); font: 500 14px/1 var(--f-body); }
.select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.count { font-size: 14px; color: var(--muted); }
.empty { text-align: center; padding: 48px 16px; display: grid; gap: 16px; justify-items: center; }

/* ---------- Ficha de producto ---------- */
.pdp { display: grid; gap: 28px; padding-block: 12px 64px; }
@media (min-width: 960px) { .pdp { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; } }
.gallery { display: grid; gap: 12px; }
@media (min-width: 960px) { .gallery { grid-template-columns: 84px minmax(0, 1fr); } }
.gallery__main { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--mint); aspect-ratio: 3 / 4; max-width: 100%; }
.gallery__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.gallery__count { position: absolute; right: 12px; bottom: 12px; background: var(--white); border-radius: 999px; padding: 4px 10px; font: 600 12px/1.2 var(--f-body); }
.gallery__thumbs { display: flex; gap: 8px; order: 2; }
@media (min-width: 960px) { .gallery__thumbs { flex-direction: column; order: 0; } }
.thumb { width: 72px; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; background: none; opacity: .65; transition: opacity .2s, border-color .2s; }
@media (min-width: 960px) { .thumb { width: 84px; } }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-current="true"] { border-color: var(--ink); opacity: 1; }
.buy { display: grid; gap: 20px; }
@media (min-width: 960px) { .buy { position: sticky; top: calc(var(--header-h) + 20px); } }
.buy__head { display: grid; gap: 8px; }
.buy__price { font: 700 22px/1.2 var(--f-body); font-variant-numeric: tabular-nums; }
.opt { display: grid; gap: 10px; }
.opt__label { display: flex; justify-content: space-between; font: 600 14px/1 var(--f-body); }
.opt__label button { border: 0; background: none; text-decoration: underline; text-underline-offset: 3px; font: 500 13px/1 var(--f-body); padding: 0; }
.swatches { display: flex; gap: 10px; }
.swatch { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(14,47,48,.25); box-shadow: 0 0 0 3px var(--cream); transition: box-shadow .2s; padding: 0; }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--cream), 0 0 0 5px var(--ink); }
.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 8px; }
.size { height: 46px; border: 1.5px solid var(--ink); border-radius: 12px; background: var(--white); font: 600 14px/1 var(--f-body); transition: background-color .15s, transform .1s; }
.size:hover { background: var(--mint); }
.size:active { transform: scale(.95); }
.size[aria-pressed="true"] { background: var(--teal); box-shadow: 0 3px 0 var(--ink); }
.sizes.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.err { color: #b3361b; font-size: 13px; font-weight: 600; min-height: 1em; }
.buy__row { display: flex; gap: 12px; }
.buy__row .btn--primary { flex: 1; }
.wish-big { width: 52px; height: 52px; flex: none; border-radius: 999px; border: 2px solid var(--ink); background: var(--white); display: grid; place-items: center; box-shadow: 0 4px 0 var(--ink); transition: transform .15s var(--ease), box-shadow .15s; }
.wish-big:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.wish-big svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.8; }
.wish-big[aria-pressed="true"] svg { fill: var(--coral); stroke: var(--coral); }
.perks { background: var(--mint); border-radius: 16px; padding: 16px 18px; display: grid; gap: 8px; font-size: 14px; }
.perks li { list-style: none; display: flex; gap: 10px; }
.perks li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: var(--teal); }
.perks ul { margin: 0; padding: 0; display: grid; gap: 8px; }
.stock { color: #b3361b; font-weight: 600; font-size: 14px; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font: 600 16px/1.3 var(--f-display); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font: 400 24px/1 var(--f-body); transition: transform .25s var(--ease); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc details p { padding: 0 0 18px; color: var(--muted); max-width: 60ch; }
.acc details[open] p { animation: fadeIn .3s var(--ease); }

/* ---------- Drawers, búsqueda y toast ---------- */
.scrim { position: fixed; inset: 0; z-index: 60; background: var(--scrim); opacity: 0; transition: opacity .3s; }
.scrim.is-on { opacity: 1; }
.drawer { position: fixed; top: 0; bottom: 0; z-index: 70; width: min(440px, 100vw); background: var(--cream); display: flex; flex-direction: column; transition: transform .38s var(--ease); visibility: hidden; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.drawer--right { right: 0; transform: translateX(100%); padding-right: env(safe-area-inset-right, 0px); }
.drawer--left { left: 0; transform: translateX(-100%); width: min(380px, 92vw); padding-left: env(safe-area-inset-left, 0px); }
.drawer.is-open { transform: none; visibility: visible; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--line); }
.menu__nav { display: grid; padding: 12px 20px; }
.menu__nav a { font: 700 28px/1.1 var(--f-display); text-decoration: none; padding: 10px 0; letter-spacing: -.02em; transition: color .2s, transform .2s var(--ease); }
.menu__nav a:hover { color: var(--teal-dark); transform: translateX(6px); }
.menu__promo { margin: 8px 20px; background: var(--teal); border-radius: 16px; padding: 16px; font: 600 15px/1.3 var(--f-display); }
.menu__foot { margin-top: auto; padding: 20px; display: grid; gap: 12px; border-top: 1px solid var(--line); }
.menu__foot a { font-weight: 600; text-decoration: none; }
.menu__foot .lang { display: inline-flex; justify-self: start; }

.cart__title { font: 700 22px/1 var(--f-display); }
.cart__ship { padding: 14px 20px; display: grid; gap: 8px; font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--line); }
.bar { height: 8px; border-radius: 8px; background: var(--white); overflow: hidden; border: 1px solid var(--line); }
.bar span { display: block; height: 100%; background: var(--teal); border-radius: 8px; transition: width .5s var(--ease); }
.cart__body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.line { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); animation: fadeIn .35s var(--ease); }
.line.leaving { animation: leave .3s var(--ease) forwards; }
@keyframes leave { to { opacity: 0; transform: translateX(30px); } }
.line img { width: 84px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; }
.line__info { display: grid; gap: 4px; align-content: start; min-width: 0; }
.line__top { display: flex; justify-content: space-between; gap: 10px; }
.line__name { font: 600 16px/1.25 var(--f-display); text-decoration: none; }
.line__meta { font-size: 13px; color: var(--muted); }
.line__price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.line__actions { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; gap: 10px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--white); }
.qty button { width: 34px; height: 34px; border: 0; background: none; border-radius: 999px; font: 600 18px/1 var(--f-body); }
.qty button:hover { background: var(--mint); }
.qty span { min-width: 22px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.text-btn { border: 0; background: none; padding: 6px 0; font: 500 13px/1 var(--f-body); text-decoration: underline; text-underline-offset: 3px; color: var(--muted); }
.text-btn:hover { color: var(--ink); }
.upsell { margin: 16px 0 8px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 12px; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.upsell img { width: 56px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; }
.upsell small { display: block; color: var(--muted); font-size: 12px; }
.upsell strong { font: 600 15px/1.2 var(--f-display); }
.cart__foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; background: var(--white); }
.sum { display: flex; justify-content: space-between; font-size: 14px; font-variant-numeric: tabular-nums; }
.sum--big { font: 700 18px/1.2 var(--f-display); }
.cart__empty { text-align: center; display: grid; gap: 14px; justify-items: center; padding: 48px 8px; }
.cart__empty svg { width: 64px; height: 64px; stroke: var(--teal); fill: none; stroke-width: 1.5; }

.search { position: fixed; inset: 0; z-index: 80; background: var(--scrim); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; overflow-y: auto; }
.search.is-open { opacity: 1; visibility: visible; }
.search__panel { background: var(--cream); padding: calc(16px + env(safe-area-inset-top, 0px)) var(--gutter-r) 24px var(--gutter-l); transform: translateY(-20px); transition: transform .3s var(--ease); }
.search.is-open .search__panel { transform: none; }
.search__panel > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.search__bar { display: flex; align-items: center; gap: 10px; border: 2px solid var(--ink); border-radius: 999px; padding: 4px 4px 4px 18px; background: var(--white); }
.search__bar > svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.search__bar input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 17px; height: 44px; }
.search__popular { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 16px 0 8px; font-size: 14px; color: var(--muted); }
.search__count { font-size: 14px; font-weight: 600; padding: 8px 0; }
.search__results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
@media (min-width: 700px) { .search__results { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .search__results { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.mini { display: grid; gap: 8px; text-decoration: none; }
.mini img { aspect-ratio: 3 / 4; width: 100%; object-fit: cover; border-radius: 14px; background: var(--mint); transition: transform .3s var(--ease); }
.mini:hover img { transform: translateY(-3px); }
.mini span { font: 600 14px/1.25 var(--f-display); }
.mini small { font-size: 13px; color: var(--muted); }
mark { background: var(--mint); color: inherit; border-radius: 3px; padding: 0 2px; }

.toast { position: fixed; z-index: 90; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--white); border-radius: 999px; padding: 12px 14px 12px 20px; display: flex; gap: 14px; align-items: center; font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px rgba(14,47,48,.3); animation: toastIn .35s var(--ease); max-width: calc(100vw - 32px); }
#cart.is-open ~ .toast { top: calc(16px + env(safe-area-inset-top, 0px)); bottom: auto; }
.toast button { border: 0; background: var(--teal); color: var(--ink); border-radius: 999px; padding: 6px 12px; font: 700 13px/1 var(--f-body); }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 16px); } }

/* ---------- Checkout ---------- */
.co-head { display: flex; justify-content: space-between; align-items: center; padding-block: 18px; border-bottom: 1px solid var(--line); gap: 12px; }
.co-head span { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 600; color: var(--muted); }
.co-head svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.co { display: grid; gap: 28px; padding-block: 28px 64px; }
@media (min-width: 960px) { .co { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; } }
.co form { display: grid; gap: 28px; }
.fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 14px; min-width: 0; }
.fieldset legend { font: 700 22px/1.2 var(--f-display); margin-bottom: 14px; padding: 0; }
.fields { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 520px) { .fields { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 13px; font-weight: 600; }
.field input { height: 52px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--white); padding: 0 16px; font-size: 16px; transition: border-color .2s, box-shadow .2s; width: 100%; }
.field input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--mint); }
.field.invalid input { border-color: #b3361b; background: #fff6f3; }
.field .err { min-height: 0; }
.check { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.check input { width: 20px; height: 20px; accent-color: var(--teal); }
.options { display: grid; gap: 10px; }
.option { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 16px; background: var(--white); cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.option:has(input:checked) { border-color: var(--ink); box-shadow: 0 3px 0 var(--ink); }
.option input { width: 20px; height: 20px; accent-color: var(--teal); margin: 0; }
.option strong { display: block; font: 600 15px/1.3 var(--f-display); }
.option small { color: var(--muted); font-size: 13px; }
.option b { font-variant-numeric: tabular-nums; }
.card-fields[hidden] { display: none; }
.summary { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 14px; }
@media (min-width: 960px) { .summary { position: sticky; top: calc(var(--header-h) + 20px); } }
.summary h2 { font-size: 22px; }
.summary .line { grid-template-columns: 64px minmax(0, 1fr); padding: 10px 0; }
.summary .line img { width: 64px; }
.code-row { display: flex; gap: 8px; }
.code-row input { flex: 1; min-width: 0; height: 46px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; background: var(--cream); text-transform: uppercase; }
.ok-msg { color: var(--teal-dark); font-size: 13px; font-weight: 600; }

/* ---------- Confirmación ---------- */
.thanks { text-align: center; display: grid; gap: 16px; justify-items: center; padding-block: 56px 32px; }
.thanks__icon { width: 84px; height: 84px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; border: 2px solid var(--ink); box-shadow: 0 4px 0 var(--ink); animation: pop .6s var(--ease); }
.thanks__icon svg { width: 40px; height: 40px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .3s var(--ease) forwards; }
@keyframes pop { 0% { transform: scale(.3); opacity: 0; } 70% { transform: scale(1.1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.thanks p { max-width: 56ch; color: var(--muted); }
.steps { display: grid; gap: 14px; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 6px; align-content: start; }
.step b { font: 700 13px/1 var(--f-body); color: var(--teal-dark); }
.step span { font: 600 17px/1.3 var(--f-display); }
.order-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; }

/* ---------- Cuenta, historia, ayuda ---------- */
.two { display: grid; gap: 24px; padding-block: 40px 64px; }
@media (min-width: 900px) { .two { grid-template-columns: 1fr 1fr; gap: 48px; } }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; align-content: start; }
.panel--mint { background: var(--mint); border-color: transparent; }
.ticks { margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { list-style: none; display: flex; gap: 10px; align-items: center; }
.ticks li::before { content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e2f30' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.about-hero { padding-block: 48px 24px; display: grid; gap: 20px; }
.about-hero .hand { font-size: clamp(30px, 4vw, 44px); color: var(--teal-dark); }
.manifesto { font: 600 clamp(24px, 3.6vw, 44px)/1.15 var(--f-display); letter-spacing: -.02em; max-width: 26ch; }
.collage { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 70%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
@media (min-width: 900px) { .collage { grid-auto-flow: row; grid-template-columns: 1.6fr 1fr 1fr; overflow: visible; align-items: end; } }
.collage figure { margin: 0; scroll-snap-align: start; display: grid; gap: 8px; }
.collage img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.collage figure:first-child img { aspect-ratio: 4 / 3.4; }
.collage figcaption { font: 600 20px/1.1 var(--f-hand); }
.prose { display: grid; gap: 16px; max-width: 62ch; font-size: 17px; }
.close-band { background: var(--teal); padding-block: 72px; text-align: center; }
.faq-search { max-width: 560px; }
.size-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; background: var(--white); border-radius: 16px; overflow: hidden; }
.size-table th, .size-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.size-table th { font: 600 13px/1 var(--f-body); background: var(--mint); }
.table-wrap { overflow-x: auto; }

/* ---------- Pie ---------- */
.footer { background: var(--mint); margin-top: 0; }
.footer__inner { max-width: var(--max); margin: 0 auto; padding: 64px var(--gutter-r) calc(24px + env(safe-area-inset-bottom, 0px)) var(--gutter-l); display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.footer__top > * { min-width: 0; }
.newsletter input { width: 100%; }
@media (min-width: 900px) { .footer__top { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; } }
.footer__club { display: grid; gap: 14px; align-content: start; }
.footer__title { font-size: 32px; font-weight: 700; }
.footer__club > p { color: var(--muted); max-width: 46ch; }
.newsletter { display: flex; gap: 6px; background: var(--white); border-radius: 999px; padding: 5px 5px 5px 20px; border: 1.5px solid transparent; transition: border-color .2s; max-width: 460px; }
.newsletter:focus-within { border-color: var(--ink); }
.newsletter input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 16px; }
.form-msg { font-size: 14px; font-weight: 600; min-height: 1.2em; }
.form-msg.is-err { color: #b3361b; }
.footer__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
@media (min-width: 700px) { .footer__links { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.footer__links div { display: grid; gap: 10px; align-content: start; }
.footer__links h3 { font: 600 13px/1 var(--f-body); color: var(--muted); letter-spacing: .02em; margin-bottom: 4px; }
.footer__links a { text-decoration: none; font-size: 15px; width: fit-content; }
.footer__links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__word { font: 400 clamp(96px, 30vw, 380px)/.8 var(--f-logo); overflow: hidden; color: var(--teal); text-align: center; margin: 0; letter-spacing: -.01em; user-select: none; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; font-size: 13px; color: var(--muted); }
.pay { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.pay li { list-style: none; background: var(--white); border: 1px solid var(--ink); color: var(--ink); border-radius: 6px; padding: 4px 8px; font-size: 11px; font-weight: 700; }
.footer__mini { display: flex; gap: 16px; }
.footer__mini a { text-decoration: none; }

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