/* =====================================================================
   NIKKAO · Crafted for Endless Summer
   Sistema visual: marfil domina · turquesa aqua para identidad y acción ·
   champagne gold en líneas y detalles · arena para secciones · negro suave para texto
   ===================================================================== */

/* ---------- tipografías públicas, alojadas en el propio sitio (se ven igual en todos los equipos) ----------
   Bodoni Moda  ≈ Agenova (titulares)       · Josefin Sans ≈ Bakora (mayúsculas, menú, etiquetas)
   Inter        (texto, provista por la marca) · Yesteryear  ≈ California (acentos manuscritos)
   Todas con licencia SIL Open Font License: uso comercial libre. */
@font-face { font-family: 'Bodoni Moda'; font-style: normal; font-weight: 400; font-display: swap; src: url(../assets/fonts/bodoni-moda-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Bodoni Moda'; font-style: normal; font-weight: 500; font-display: swap; src: url(../assets/fonts/bodoni-moda-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Bodoni Moda'; font-style: italic; font-weight: 400; font-display: swap; src: url(../assets/fonts/bodoni-moda-latin-400-italic.woff2) format('woff2'); }
@font-face { font-family: 'Josefin Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(../assets/fonts/josefin-sans-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Josefin Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(../assets/fonts/josefin-sans-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300; font-display: swap; src: url(../assets/fonts/inter-latin-300-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url(../assets/fonts/inter-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url(../assets/fonts/inter-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Yesteryear'; font-style: normal; font-weight: 400; font-display: swap; src: url(../assets/fonts/yesteryear-latin-400-normal.woff2) format('woff2'); }

:root {
  --ivory: #FAF6EF;
  --ivory-2: #F6F0E6;
  --sand: #F1E8DA;
  --sand-2: #E8DCC8;
  --ink: #2B2622;
  --ink-2: #5E554D;
  --ink-3: #8C8278;
  --aqua: #7FE0D9;        /* aqua de marca */
  --teal: #138A90;        /* turquesa de marca: acentos, cursivas */
  --aqua-deep: #0F6E73;   /* turquesa profundo: botones (contraste AA con marfil) */
  --teal-night: #0C5458;  /* pie de página */
  --aqua-mist: #DDF4F1;
  --lime: #D3E28F;        /* acentos de temporada (uso mínimo) */
  --orange: #E97E0C;
  --gold: #C5A46D;
  --gold-2: #DCC8A2;
  --line: rgba(43, 38, 34, .12);
  --line-gold: rgba(197, 164, 109, .55);

  --serif: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --caps: 'Josefin Sans', 'Futura', 'Century Gothic', sans-serif;
  --script: 'Yesteryear', 'Brush Script MT', cursive;

  --gutter: clamp(1.25rem, 4vw, 4rem);
  --maxw: 1440px;
  --header-h: 118px;
  --announce-h: 34px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font: 400 16px/1.65 var(--sans); letter-spacing: .01em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
html, body { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
::selection { background: var(--aqua-mist); color: var(--ink); }
:focus-visible { outline: 1px solid var(--aqua-deep); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(5rem, 11vw, 10rem) 0; }
.section--sand { background: var(--sand); }
.muted { color: var(--ink-3); }
.fine { font-size: .78rem; color: var(--ink-3); letter-spacing: .02em; }
.fine a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- tipografía ---------- */
.display {
  font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -.01em;
  font-size: clamp(2.4rem, 5.2vw, 4.75rem);
}
.display em, .hero__title em { font-style: italic; color: var(--teal); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .9rem;
  font: 400 .7rem/1 var(--caps); letter-spacing: .32em; text-transform: uppercase; color: var(--ink-2);
  margin-bottom: 1.6rem;
}
.eyebrow::before { content: ''; width: 2.25rem; height: 1px; background: var(--gold); }
.kicker { font: 400 .72rem/1 var(--caps); letter-spacing: .28em; text-transform: uppercase; }
.lead { font-family: var(--serif); font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.5; font-weight: 400; color: var(--ink-2); }

/* ---------- botones y enlaces ---------- */
.btn {
  --bg: var(--aqua-deep);
  display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  min-height: 52px; padding: 0 2.1rem; background: var(--bg); color: var(--ivory);
  font: 400 .72rem/1 var(--caps); letter-spacing: .26em; text-transform: uppercase;
  position: relative; overflow: hidden; isolation: isolate; transition: color .5s var(--ease);
}
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: translateY(101%); transition: transform .55s var(--ease-out);
}
.btn:hover::after { transform: none; }
.btn:disabled { opacity: .45; pointer-events: none; }
.btn--ghost { --bg: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn--ghost:hover { color: var(--ivory); }
.btn--block { width: 100%; }
.link-line {
  position: relative; display: inline-block; padding-bottom: .35rem;
  font: 400 .72rem/1.2 var(--caps); letter-spacing: .26em; text-transform: uppercase;
}
.link-line::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform-origin: right; transition: transform .6s var(--ease-out);
}
.link-line:hover::after, a:hover > .link-line::after { animation: line-swipe .9s var(--ease-out); }
@keyframes line-swipe { 0% { transform: scaleX(1); transform-origin: right; } 45% { transform: scaleX(0); transform-origin: right; } 46% { transform-origin: left; } 100% { transform: scaleX(1); transform-origin: left; } }
.link-mini { font-size: .72rem; letter-spacing: .08em; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; position: relative; }
.icon-btn svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.15; }

/* ---------- elementos de marca (máscaras: se colorean con background) ---------- */
.brand-mask {
  display: block; background: currentColor;
  -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat;
}
.brand-mask--wordmark { --m: url(../assets/brand/logo-wordmark.svg); aspect-ratio: 770 / 205; }
.brand-mask--lockup   { --m: url(../assets/brand/logo-lockup.svg);   aspect-ratio: 770 / 328; }
.brand-mask--monogram { --m: url(../assets/brand/monogram.svg);      aspect-ratio: 752 / 346; }
.brand-mask--sun      { --m: url(../assets/brand/sun.svg);           aspect-ratio: 582 / 700; }
.brand-mask--suncard  { --m: url(../assets/brand/sun-card.webp);     aspect-ratio: 903 / 1714; }
.brand-mask--empress  { --m: url(../assets/brand/empress.webp);      aspect-ratio: 903 / 1714; }

/* ---------- composiciones ilustradas (mientras llegan las fotografías) ---------- */
.ph { position: relative; overflow: hidden; width: 100%; height: 100%; }
.ph::after { /* grano de película */
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .32; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .48 0 0 0 0 .4 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.ph.ph--sea {
  background:
    radial-gradient(120% 60% at 70% 18%, rgba(255, 244, 220, .95), transparent 60%),
    linear-gradient(180deg, #F3E7D2 0%, #EBDCC1 36%, #9ED3CC 37.5%, #5FB8B0 52%, #3A9C96 68%, #E9DCC6 69.5%, #E2D2B9 100%);
}
.ph.ph--dusk {
  background:
    radial-gradient(90% 55% at 30% 30%, rgba(233, 205, 160, .9), transparent 65%),
    linear-gradient(160deg, #EFDCC0 0%, #DDBF98 45%, #C9A37A 75%, #B88D6A 100%);
}
.ph.ph--sand {
  background:
    radial-gradient(80% 60% at 50% 40%, #F7EFE2, transparent 70%),
    linear-gradient(180deg, #EFE5D4, #E3D4BC);
  color: var(--gold);
}
.ph--sand > .brand-mask--sun { width: 42%; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: .75; animation: spin 90s linear infinite; }
.ph.ph--product { background: linear-gradient(180deg, #F3EBDE, #EADFCC); color: rgba(197, 164, 109, .5); }
.ph--product::before {
  content: ''; position: absolute; inset: 0; margin: auto; width: 44%; aspect-ratio: 752/346; height: auto;
  background: currentColor; -webkit-mask: url(../assets/brand/monogram.svg) center / contain no-repeat; mask: url(../assets/brand/monogram.svg) center / contain no-repeat;
}
.ph__label { position: absolute; left: 1rem; bottom: .9rem; z-index: 1; font: 400 .62rem/1 var(--caps); letter-spacing: .3em; text-transform: uppercase; color: var(--ink-3); }
.ph.ph--engraving { background: radial-gradient(70% 50% at 50% 28%, #FBF3E3, transparent 70%), linear-gradient(180deg, #F4EADA, #ECDFCB); color: #A98A57; display: grid; place-items: center; }
.ph--engraving .brand-mask--suncard { width: 128%; max-width: none; opacity: .9; transform: translateY(1.5%); }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* ---------- barra de anuncios ---------- */
.announce { height: var(--announce-h); background: var(--aqua-deep); overflow: hidden; }
.announce__track { position: relative; height: 100%; }
.announce__msg {
  position: absolute; inset: 0; margin: 0; display: grid; place-items: center; text-align: center; padding: 0 1rem;
  font: 400 .66rem/1 var(--caps); letter-spacing: .3em; text-transform: uppercase; color: var(--ivory);
  opacity: 0; transform: translateY(8px); transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.announce__msg.is-active { opacity: 1; transform: none; }

/* ---------- encabezado ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(250, 246, 239, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .4s, background .4s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(250, 246, 239, .94); }
.site-header__inner { height: 74px; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.logo { grid-column: 2; display: block; width: clamp(118px, 11vw, 150px); color: var(--ink); transition: color .4s; }
.logo:hover { color: var(--teal); }
.nav { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 3rem); }
.nav--left { grid-column: 1; grid-row: 1; gap: .25rem; }
.nav--main { justify-content: center; height: 44px; border-top: 1px solid var(--line); max-width: var(--maxw); margin: 0 auto; }
.nav--main a { font: 400 .72rem/1 var(--caps); letter-spacing: .24em; text-transform: uppercase; position: relative; padding: .5rem 0; }
.nav--main a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.nav--main a:hover::after, .nav--main a[aria-current]::after { transform: scaleX(1); }
.nav--tools { grid-column: 3; justify-content: flex-end; gap: .25rem; }
.menu-toggle { display: none; }
.search-mobile { display: none !important; }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform .45s var(--ease-out); }
.menu-toggle span:first-child { transform: translateY(-4px); }
.menu-toggle span:last-child { transform: translateY(4px); right: 16px; }
.open-menu .menu-toggle span:first-child { transform: rotate(45deg); }
.open-menu .menu-toggle span:last-child { transform: rotate(-45deg); right: 10px; }
.bag-count {
  position: absolute; top: 5px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px;
  background: var(--teal); color: var(--ivory); font: 500 .58rem/16px var(--sans); text-align: center; transition: transform .3s var(--ease-out);
}
.bag-count.is-empty { transform: scale(0); }

/* menú móvil */
.mobile-menu {
  position: fixed; inset: calc(var(--header-h) + var(--announce-h)) 0 0; z-index: 45; background: var(--ivory);
  padding: 2.5rem var(--gutter); overflow: hidden; visibility: hidden; opacity: 0; transition: opacity .45s var(--ease), visibility .45s;
}
.open-menu .mobile-menu { visibility: visible; opacity: 1; }
.mobile-menu nav { display: grid; gap: .25rem; position: relative; z-index: 1; }
.mobile-menu nav a {
  font: 400 clamp(2.2rem, 9vw, 3.4rem)/1.15 var(--serif); display: flex; align-items: baseline; gap: 1rem; padding: .35rem 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .7s var(--ease-out); transition-delay: calc(var(--i) * 60ms + .1s);
}
.mobile-menu nav a em { font: 400 .7rem/1 var(--sans); letter-spacing: .2em; color: var(--gold); width: 1.8rem; font-style: normal; }
.open-menu .mobile-menu nav a { opacity: 1; transform: none; }
.mobile-menu__sun { position: absolute; width: 70vw; max-width: 380px; right: -18vw; bottom: -8vh; color: var(--gold-2); opacity: .6; }

/* búsqueda */
.search-panel {
  position: fixed; inset: 0 0 auto; z-index: 70; background: var(--ivory); max-height: 88vh; overflow: auto;
  transform: translateY(-102%); visibility: hidden; transition: transform .6s var(--ease-out), visibility .6s; box-shadow: 0 30px 60px -40px rgba(43, 38, 34, .35);
}
.open-search .search-panel { transform: none; visibility: visible; }
.search-panel__inner { max-width: var(--maxw); margin: 0 auto; padding: 1.5rem var(--gutter); display: flex; gap: 1rem; align-items: center; border-bottom: 1px solid var(--line); }
.search-panel__field { flex: 1; display: flex; align-items: center; gap: 1rem; }
.search-panel__field svg { width: 22px; height: 22px; fill: none; stroke: var(--ink-2); stroke-width: 1.1; flex: none; }
.search-panel__field input { flex: 1; border: 0; background: none; outline: none; font: 400 clamp(1.5rem, 3vw, 2.3rem)/1.2 var(--serif); padding: .6rem 0; }
.search-panel__results { padding-top: 2rem; padding-bottom: 3rem; }
.search-suggest { display: flex; flex-wrap: wrap; gap: 1rem 3rem; }
.search-suggest a { font: 400 1.6rem/1.2 var(--serif); display: flex; gap: .8rem; align-items: baseline; }
.search-suggest em { font: 400 .65rem/1 var(--sans); color: var(--gold); letter-spacing: .2em; font-style: normal; }

/* cortina */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(43, 38, 34, .28); opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.open-cart .scrim, .open-search .scrim { opacity: 1; visibility: visible; }

/* ---------- bolsa (drawer) ---------- */
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 80; width: min(460px, 100vw);
  background: var(--ivory); display: flex; flex-direction: column;
  transform: translateX(102%); visibility: hidden; transition: transform .6s var(--ease-out), visibility .6s;
}
.open-cart .cart-drawer { transform: none; visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font: 400 1.7rem/1 var(--serif); }
.drawer__head sup { font: 400 .65rem/1 var(--sans); color: var(--aqua-deep); margin-left: .25rem; }
.drawer__body { flex: 1; overflow: auto; padding: .5rem 1.5rem; }
.drawer__foot { padding: 1.25rem 1.5rem 1.5rem; border-top: 1px solid var(--line); background: var(--ivory-2); }
.drawer__foot:empty { display: none; }
.cart-empty { display: grid; justify-items: center; text-align: center; gap: 1rem; padding: 5rem 1rem; color: var(--ink-2); }
.cart-empty .brand-mask { width: 90px; color: var(--gold); animation: none; }
.cart-line { display: grid; grid-template-columns: 86px 1fr auto; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.cart-line__img { aspect-ratio: 3/4; background: var(--sand); overflow: hidden; display: block; }
.cart-line__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__name { font: 400 1.15rem/1.2 var(--serif); }
.cart-line__meta { font-size: .78rem; color: var(--ink-3); margin: .25rem 0 .7rem; }
.cart-line__end { text-align: right; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; font-size: .9rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); height: 34px; }
.qty button { width: 32px; height: 100%; display: grid; place-items: center; }
.qty svg { width: 13px; height: 13px; stroke: currentColor; stroke-width: 1.3; fill: none; }
.qty span, .qty input { min-width: 26px; text-align: center; font-size: .85rem; border: 0; background: none; width: 34px; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font: 400 .72rem/1 var(--caps); letter-spacing: .22em; text-transform: uppercase; margin-bottom: .6rem; }
.cart-total strong { font: 400 1.5rem/1 var(--serif); letter-spacing: 0; }
.drawer__foot .fine { margin-bottom: 1rem; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 1.5rem; z-index: 90; transform: translate(-50%, 140%);
  background: var(--ink); color: var(--ivory); padding: .95rem 1.4rem; font-size: .82rem; letter-spacing: .04em;
  visibility: hidden; transition: transform .5s var(--ease-out), visibility .5s; max-width: calc(100vw - 2rem);
}
.toast.is-on { transform: translate(-50%, 0); visibility: visible; }

/* ---------- animación de aparición ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* =====================================================================
   HOME
   ===================================================================== */
.hero {
  position: relative; max-width: var(--maxw); margin: 0 auto; padding: clamp(1.5rem, 3vw, 3rem) var(--gutter) clamp(3rem, 6vw, 5rem);
  display: grid; grid-template-columns: repeat(12, 1fr); align-items: center;
  min-height: calc(100svh - var(--header-h) - var(--announce-h));
}
.hero__media {
  grid-column: 6 / 13; grid-row: 1; justify-self: end; width: 100%; max-width: 760px;
  height: min(82svh, 860px); border-radius: 999px 999px 0 0; overflow: hidden; background: var(--sand);
  position: relative; animation: arch-in 1.6s var(--ease-out) both;
}
.hero__media::before { /* filete dorado */
  content: ''; position: absolute; inset: 14px; border: 1px solid rgba(255, 255, 255, .55); border-bottom: 0; border-radius: 999px 999px 0 0; z-index: 2; pointer-events: none;
}
.hero__media img, .collection figure img, .story__art img { width: 100%; height: 100%; object-fit: cover; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__media img { animation: slow-zoom 14s var(--ease) both; }
.hero__script { font: 400 clamp(1.6rem, 2.4vw, 2.2rem)/1 var(--script); color: var(--teal); margin: -.5rem 0 1.6rem; }
.hero__sound { position: absolute; z-index: 3; right: 1.4rem; bottom: 1.4rem; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(250,246,239,.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero__sound svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.3; }
@keyframes arch-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes slow-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__copy { grid-column: 1 / 8; grid-row: 1; position: relative; z-index: 3; padding-bottom: 4vh; }
.hero__title {
  font-family: var(--serif); font-weight: 400; text-transform: none; line-height: .9; letter-spacing: -.02em;
  font-size: clamp(3.2rem, 8vw, 8.2rem); margin-bottom: 2rem;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; animation: rise 1.3s var(--ease-out) both; }
.hero__title .line:nth-child(2) { padding-left: 1.1em; }
.hero__title .line:nth-child(2) > span { animation-delay: .12s; }
.hero__title .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.hero__lede { max-width: 25rem; color: var(--ink-2); font-size: 1rem; margin-bottom: 2.25rem; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2rem; }
.hero__pillars {
  grid-column: 1 / -1; display: flex; justify-content: center; gap: 1.25rem; list-style: none; margin: 2.5rem 0 0; padding: 0;
  font: 400 .64rem/1 var(--caps); letter-spacing: .32em; text-transform: uppercase; color: var(--ink-3);
}
.hero__pillars li[aria-hidden] { color: var(--gold); letter-spacing: 0; }

/* nueva colección */
.collection__grid {
  display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto auto auto; gap: clamp(1rem, 2vw, 2rem);
  margin-bottom: clamp(4rem, 8vw, 7rem);
}
.collection__head { grid-column: 1 / 5; grid-row: 1 / 3; align-self: start; position: sticky; top: calc(var(--header-h) + 3rem); }
.collection__head p:not(.eyebrow) { color: var(--ink-2); max-width: 22rem; margin: 1.5rem 0 2rem; }
.collection figure { margin: 0; overflow: hidden; background: var(--sand); }
.collection__a { grid-column: 5 / 10; grid-row: 1 / 3; aspect-ratio: 4 / 5.4; }
.collection__b { grid-column: 10 / 13; grid-row: 1; aspect-ratio: 3 / 4; margin-top: 30% !important; }
.collection__c { grid-column: 10 / 13; grid-row: 2; aspect-ratio: 1; }
.collection figure img { transition: transform 1.6s var(--ease-out); }
.collection figure:hover img { transform: scale(1.04); }
.rail-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.rail-head--split { border: 0; margin-bottom: 2.5rem; padding: 0; }
.rail-head--split .eyebrow { margin-bottom: 1.2rem; }
.rail-nav { display: flex; gap: .5rem; }
.rail-nav .icon-btn { border: 1px solid var(--line); border-radius: 50%; width: 48px; height: 48px; transition: border-color .3s, background .3s; }
.rail-nav .icon-btn:hover { border-color: var(--ink); }

/* grillas de producto */
.grid { display: grid; gap: clamp(2rem, 3vw, 3rem) clamp(1rem, 1.6vw, 1.6rem); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 26vw, 380px); gap: clamp(1rem, 1.6vw, 1.6rem);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 var(--gutter); scroll-padding: 0 var(--gutter);
}
@media (min-width: 1440px) { .rail { padding-left: calc((100vw - var(--maxw)) / 2 + var(--gutter)); } }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }

/* tarjeta de producto */
.pcard { position: relative; }
.pcard__media { display: block; position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--sand); }
.pcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .8s var(--ease), transform 1.4s var(--ease-out); }
.pcard__alt { opacity: 0; }
.pcard:hover .pcard__media img:first-child { transform: scale(1.035); }
.pcard:hover .pcard__alt { opacity: 1; }
.tag { position: absolute; top: .9rem; left: .9rem; z-index: 1; background: var(--ivory); padding: .45rem .6rem; font: 400 .58rem/1 var(--caps); letter-spacing: .24em; text-transform: uppercase; }
.tag--muted { left: auto; right: .9rem; color: var(--ink-3); }
.pcard__visual { position: relative; }
.pcard__quick {
  position: absolute; left: .75rem; right: .75rem; bottom: .75rem; z-index: 2; height: 2.85rem;
  background: rgba(250, 246, 239, .92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font: 400 .62rem/1 var(--caps); letter-spacing: .26em; text-transform: uppercase;
  opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .5s var(--ease-out), background .3s, color .3s;
}
.pcard:hover .pcard__quick, .pcard__quick:focus-visible { opacity: 1; transform: none; }
.pcard__quick:hover { background: var(--aqua-deep); color: var(--ivory); }
.quick-pick {
  position: absolute; left: .75rem; right: .75rem; bottom: .75rem; z-index: 3; background: var(--ivory); padding: .9rem;
  opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .45s var(--ease-out);
}
.quick-pick.is-on { opacity: 1; transform: none; }
.quick-pick p { font: 400 .6rem/1 var(--caps); letter-spacing: .26em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .65rem; }
.quick-pick div { display: flex; flex-wrap: wrap; gap: .4rem; }
.quick-pick button { min-width: 2.6rem; height: 2.2rem; padding: 0 .6rem; border: 1px solid var(--line); font-size: .75rem; transition: all .25s; }
.quick-pick button:hover { border-color: var(--ink); }
.quick-pick button:disabled { opacity: .35; text-decoration: line-through; }
.pcard__info { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1rem; }
.pcard__name { font: 400 1.22rem/1.2 var(--serif); }
.pcard__cat { font: 400 .62rem/1 var(--caps); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); margin: .5rem 0 0; }
.pcard__price { font-size: .9rem; white-space: nowrap; margin: .1rem 0 0; }
.pcard__price s { color: var(--ink-3); margin-right: .5rem; font-size: .8rem; }
.pcard--slot .pcard__name { color: var(--ink-3); font-style: italic; }
.swatches { display: flex; gap: .4rem; margin-top: .55rem; }
.swatches span { width: 11px; height: 11px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }

/* categorías */
.section-head { margin-bottom: clamp(3rem, 6vw, 5rem); max-width: 42rem; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .eyebrow::after { content: ''; width: 2.25rem; height: 1px; background: var(--gold); }
.section-head p:not(.eyebrow) { color: var(--ink-2); margin-top: 1.25rem; }
.cats__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.2vw, 2.25rem); align-items: start; }
.cat:nth-child(2) { margin-top: clamp(3rem, 8vw, 8rem); }
.cat:nth-child(3) { margin-top: clamp(1.5rem, 4vw, 4rem); }
.cat__media { aspect-ratio: 3 / 4.3; overflow: hidden; background: var(--sand-2); border-radius: 0; transition: border-radius 1s var(--ease-out); }
.cat:nth-child(2) .cat__media { border-radius: 999px 999px 0 0; }
.cat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.cat:hover .cat__media img { transform: scale(1.05); }
.cat__label { display: grid; grid-template-columns: auto 1fr; column-gap: 1.25rem; padding-top: 1.4rem; }
.cat__num { grid-row: span 3; font: italic 400 1.1rem/1 var(--serif); color: var(--gold); padding-top: .55rem; min-width: 1.6rem; }
.cat h3 { font: 400 clamp(1.9rem, 3vw, 2.6rem)/1.05 var(--serif); }
.cat p { color: var(--ink-2); font-size: .9rem; margin: .4rem 0 1rem; }
.cat .link-line { justify-self: start; }

/* historia */
.story__grid { display: grid; grid-template-columns: 5fr 1fr 6fr; align-items: center; }
.story__art { grid-column: 1; color: var(--gold); position: relative; }
.story__art .brand-mask { width: 100%; max-width: 440px; margin: 0 auto; }
.story__art.has-photo { aspect-ratio: 4/5; overflow: hidden; }
.story__copy { grid-column: 3; }
.story__copy .lead { margin: 2rem 0 3rem; max-width: 34rem; }
.story__pillars { list-style: none; padding: 0; margin: 0 0 3rem; border-top: 1px solid var(--line-gold); }
.story__pillars li { display: grid; grid-template-columns: 3rem 12rem 1fr; align-items: baseline; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line-gold); }
.story__pillars span { font: italic 400 1.05rem/1 var(--serif); color: var(--gold); }
.story__pillars h3 { font: 400 .7rem/1.4 var(--caps); letter-spacing: .26em; text-transform: uppercase; }
.story__pillars p { margin: 0; color: var(--ink-2); font-size: .92rem; }
.story__sign { display: flex; align-items: center; gap: 1rem; font-family: var(--script); font-size: 1.9rem; color: var(--teal); }
.story__sign em { font-style: normal; }
.story__sign .brand-mask { width: 120px; color: var(--gold); }


/* detalles de la casa (empaque y etiquetas) */
.details__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(.75rem, 1.4vw, 1.4rem); }
.details__head { grid-column: 1 / 6; align-self: end; padding-bottom: 1rem; }
.details__head p:not(.eyebrow) { color: var(--ink-2); max-width: 24rem; margin-top: 1.4rem; }
.details figure { margin: 0; position: relative; overflow: hidden; background: var(--sand); }
.details figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.details figure:hover img { transform: scale(1.04); }
.details figcaption { position: absolute; left: 1rem; bottom: .9rem; font: 400 .66rem/1 var(--caps); letter-spacing: .26em; text-transform: uppercase; color: var(--ivory); text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.details__a { grid-column: 6 / 10; grid-row: 1 / 3; aspect-ratio: 4 / 5; }
.details__b { grid-column: 10 / 13; grid-row: 1; aspect-ratio: 4 / 5; }
.details__c { grid-column: 10 / 13; grid-row: 2; aspect-ratio: 4 / 5; }
.details__d { grid-column: 1 / 4; grid-row: 2; aspect-ratio: 4 / 5; }
.details__e { grid-column: 4 / 6; grid-row: 2; aspect-ratio: 3 / 5; }
.community__tile figcaption { display: none; }

/* comunidad */
.community__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(.5rem, 1vw, 1rem); }
.community__tile { display: block; aspect-ratio: 4/5; overflow: hidden; background: var(--sand); position: relative; }
.community__tile:nth-child(odd) { transform: translateY(1.5rem); }
.community__tile:nth-child(odd).reveal { transform: translateY(calc(1.5rem + 22px)); }
.community__tile:nth-child(odd).reveal.is-in { transform: translateY(1.5rem); }
.community__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.community__tile:hover img { transform: scale(1.06); }
.community__tile .brand-mask--monogram { position: absolute; inset: 0; margin: auto; width: 64%; color: rgba(255, 255, 255, .8); }

/* newsletter */
.newsletter { padding-top: clamp(3rem, 6vw, 6rem); }
.newsletter__inner { max-width: 720px; text-align: center; position: relative; }
.newsletter__sun { width: 74px; margin: 0 auto 2rem; color: var(--gold); animation: spin-plain 60s linear infinite; }
@keyframes spin-plain { to { transform: rotate(360deg); } }
.newsletter .eyebrow { justify-content: center; }
.newsletter .eyebrow::after { content: ''; width: 2.25rem; height: 1px; background: var(--gold); }
.newsletter__inner > p:not(.eyebrow):not(.fine) { color: var(--ink-2); margin: 1.4rem auto 2.4rem; }
.newsletter__form { display: flex; border-bottom: 1px solid var(--ink); max-width: 520px; margin: 0 auto 1.2rem; }
.newsletter__form input { flex: 1; border: 0; background: none; outline: none; padding: 1rem .25rem; font-size: 1rem; min-width: 0; }
.newsletter__form .btn { --bg: transparent; color: var(--ink); padding: 0 .5rem; min-height: 0; }
.newsletter__form .btn::after { display: none; }
.newsletter__form .btn:hover { color: var(--aqua-deep); }
.newsletter__ok { font: italic 400 1.4rem/1.4 var(--serif); color: var(--aqua-deep); margin: 1rem 0; }

/* ---------- pie ---------- */
.site-footer { background: var(--teal-night); color: #E6EFEC; padding: clamp(4rem, 8vw, 7rem) 0 2rem; margin-top: clamp(4rem, 8vw, 8rem); }
.site-footer__top { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; padding-bottom: 4rem; border-bottom: 1px solid rgba(127, 224, 217, .18); }
.site-footer__brand .brand-mask { width: min(320px, 70vw); color: var(--aqua); }
.site-footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.site-footer h4 { font: 600 .66rem/1 var(--caps); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 1.4rem; }
.site-footer__cols a { display: block; font-size: .9rem; padding: .3rem 0; color: #E6EFEC; transition: color .3s; }
.site-footer__cols a:hover { color: #fff; }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.75rem; font-size: .72rem; letter-spacing: .08em; color: #9FC4C0; }
.site-footer__bottom p { margin: 0; }
.site-footer__pay strong { color: #E6EFEC; font-weight: 400; }

/* =====================================================================
   TIENDA
   ===================================================================== */
.shop-hero { padding-top: clamp(3rem, 6vw, 5.5rem); padding-bottom: 2.5rem; }
.shop-hero__row { display: flex; align-items: end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.shop-hero h1 { font: 400 clamp(3rem, 7vw, 6.5rem)/.95 var(--serif); letter-spacing: -.015em; }
.shop-hero h1 em { color: var(--teal); }
.shop-hero p { color: var(--ink-2); max-width: 26rem; margin: 0; }
.shop-tabs { display: flex; gap: 2rem; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin-top: 3rem; }
.shop-tabs a { flex: none; padding: 1rem 0; font: 400 .7rem/1 var(--caps); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid transparent; margin-bottom: -1px; transition: color .3s, border-color .3s; }
.shop-tabs a:hover { color: var(--ink); }
.shop-tabs a[aria-current] { color: var(--ink); border-color: var(--aqua-deep); }
.shop-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 0 2.25rem; font-size: .8rem; color: var(--ink-3); }
.shop-bar__controls { display: flex; gap: 1.5rem; align-items: center; }
.select { position: relative; }
.select select { appearance: none; border: 0; background: none; padding: .4rem 1.4rem .4rem 0; font: 400 .7rem/1 var(--caps); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; color: var(--ink); }
.select::after { content: ''; position: absolute; right: .2rem; top: 50%; width: 6px; height: 6px; border-right: 1px solid; border-bottom: 1px solid; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.filter-toggle { display: none; font: 400 .7rem/1 var(--caps); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); gap: .6rem; align-items: center; }
.filter-toggle i { font-style: normal; color: var(--aqua-deep); }
.shop-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.filters__head { display: none; }
.filter-group { border-top: 1px solid var(--line); padding: 1.25rem 0 1.5rem; }
.filter-group h3 { font: 400 .66rem/1 var(--caps); letter-spacing: .26em; text-transform: uppercase; margin-bottom: 1.1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { min-width: 2.7rem; height: 2.3rem; padding: 0 .75rem; border: 1px solid var(--line); font-size: .78rem; transition: all .25s; }
.chip:hover { border-color: var(--ink-2); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.color-list { display: grid; gap: .65rem; }
.color-opt { display: flex; align-items: center; gap: .7rem; font-size: .85rem; color: var(--ink-2); text-align: left; }
.color-opt span { width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 0 var(--ink); transition: box-shadow .25s; }
.color-opt[aria-pressed="true"] { color: var(--ink); }
.color-opt[aria-pressed="true"] span { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 2px var(--ivory), 0 0 0 3px var(--ink); }
.filters__clear { margin-top: .5rem; }
.shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2.25rem, 3.5vw, 3.5rem) clamp(1rem, 1.6vw, 1.6rem); }
.shop-grid .pcard--feature { grid-column: span 2; grid-row: span 2; }
.shop-grid .pcard--feature { display: flex; flex-direction: column; }
.shop-grid .pcard--feature .pcard__visual { flex: 1; }
.shop-grid .pcard--feature .pcard__media { aspect-ratio: auto; height: 100%; min-height: 420px; }
.shop-grid .pcard--feature .pcard__name { font-size: 1.6rem; }
.shop-empty { grid-column: 1 / -1; text-align: center; padding: 5rem 1rem; color: var(--ink-2); }
.shop-empty .brand-mask { width: 80px; margin: 0 auto 1.5rem; color: var(--gold); }
.shop-empty h2 { font: 400 2.2rem/1.1 var(--serif); margin-bottom: 1rem; color: var(--ink); }
.notice { border: 1px solid var(--line-gold); background: var(--ivory-2); padding: 1rem 1.25rem; font-size: .85rem; color: var(--ink-2); margin-bottom: 2rem; display: flex; gap: .8rem; align-items: center; }
.notice::before { content: '✶'; color: var(--gold); }

/* =====================================================================
   PRODUCTO
   ===================================================================== */
.pdp { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 5vw, 6rem); padding-top: 2rem; align-items: start; }
.pdp__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.pdp__gallery figure { margin: 0; background: var(--sand); aspect-ratio: 3/4; overflow: hidden; cursor: zoom-in; }
.pdp__gallery figure:first-child { grid-column: 1 / -1; aspect-ratio: 4/5; }
.pdp__gallery img { width: 100%; height: 100%; object-fit: cover; }
.pdp__info { position: sticky; top: calc(var(--header-h) + 2rem); padding-bottom: 2rem; }
.crumbs { display: flex; gap: .6rem; flex-wrap: wrap; font: 400 .62rem/1 var(--caps); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 2rem; }
.crumbs a:hover { color: var(--ink); }
.pdp h1 { font: 400 clamp(2.4rem, 4vw, 3.6rem)/1 var(--serif); letter-spacing: -.01em; margin-bottom: 1rem; }
.pdp__price { font-size: 1.15rem; margin-bottom: 2rem; }
.pdp__price s { color: var(--ink-3); margin-right: .6rem; font-size: .95rem; }
.opt { margin-bottom: 1.75rem; }
.opt__label { display: flex; justify-content: space-between; font: 400 .66rem/1 var(--caps); letter-spacing: .24em; text-transform: uppercase; margin-bottom: .9rem; }
.opt__label span { color: var(--ink-3); letter-spacing: .08em; text-transform: none; font-size: .82rem; }
.opt__label a { text-transform: none; letter-spacing: .04em; font-size: .78rem; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.sizes .chip { min-width: 3.2rem; height: 2.9rem; }
.sizes .chip:disabled { color: var(--ink-3); text-decoration: line-through; opacity: .55; cursor: not-allowed; }
.colors { display: flex; gap: .7rem; flex-wrap: wrap; }
.colors .color-opt span { width: 26px; height: 26px; }
.pdp__buy { display: grid; grid-template-columns: auto 1fr; gap: .75rem; margin: 2rem 0 1rem; }
.pdp__buy .qty { height: 52px; }
.pdp__buy .qty button { width: 40px; }
.pdp__note { font-size: .8rem; color: var(--ink-3); display: flex; gap: .5rem; align-items: center; }
.pdp__note::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--aqua); }
.accordion { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 0; font: 400 .68rem/1 var(--caps); letter-spacing: .24em; text-transform: uppercase; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: '+'; font: 400 1.2rem/1 var(--sans); color: var(--gold); transition: transform .3s; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .acc-body { padding: 0 0 1.4rem; color: var(--ink-2); font-size: .92rem; white-space: pre-line; }
.related { padding-top: clamp(5rem, 9vw, 8rem); }
.lightbox { position: fixed; inset: 0; z-index: 95; background: var(--ivory); display: none; overflow: auto; cursor: zoom-out; }
.lightbox.is-on { display: block; }
.lightbox img { width: 100%; max-width: 1400px; margin: 0 auto; }

/* =====================================================================
   FORMULARIOS · CUENTA · CHECKOUT
   ===================================================================== */
.page-narrow { max-width: 1180px; }
.page-title { font: 400 clamp(2.6rem, 5vw, 4.2rem)/1 var(--serif); margin: clamp(2.5rem, 5vw, 4.5rem) 0 2.5rem; }
.page-title em { color: var(--teal); }
.field { display: grid; gap: .45rem; margin-bottom: 1.1rem; }
.field label, .field-label { font: 400 .64rem/1 var(--caps); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; height: 50px; padding: 0 1rem; border: 1px solid var(--line); background: #fff; border-radius: 0;
  outline: none; transition: border-color .25s, box-shadow .25s; font-size: .95rem;
}
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%232B2622'/%3E%3C/svg%3E") right 1rem center no-repeat; }
.field input:focus, .field select:focus { border-color: var(--aqua-deep); box-shadow: 0 0 0 3px var(--aqua-mist); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.row--3 { grid-template-columns: 1fr 1fr 1fr; }
.check { display: flex; gap: .75rem; align-items: flex-start; font-size: .85rem; color: var(--ink-2); margin: .75rem 0; cursor: pointer; }
.check input { appearance: none; flex: none; width: 18px; height: 18px; border: 1px solid var(--ink-3); margin-top: .15rem; display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--aqua-deep); border-color: var(--aqua-deep); }
.check input:checked::after { content: ''; width: 5px; height: 9px; border: solid var(--ivory); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.check a { text-decoration: underline; text-underline-offset: 3px; }
.form-error { color: #A0453A; font-size: .85rem; margin: .5rem 0 1rem; min-height: 1em; }
.form-ok { color: var(--aqua-deep); font-size: .85rem; }

.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: 70vh; }
.auth__art { background: var(--sand); display: grid; place-items: center; padding: 3rem; color: var(--gold); position: relative; overflow: hidden; }
.auth__art .brand-mask { width: min(360px, 70%); }
.auth__panel { padding: clamp(2.5rem, 6vw, 6rem) clamp(1.5rem, 6vw, 6rem); max-width: 620px; }
.tabs { display: flex; gap: 2rem; border-bottom: 1px solid var(--line); margin-bottom: 2rem; }
.tabs button { padding: 1rem 0; font: 400 .7rem/1 var(--caps); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid transparent; margin-bottom: -1px; }
.tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--aqua-deep); }
.account { display: grid; grid-template-columns: 220px 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; padding-bottom: 4rem; }
.account__nav { display: grid; gap: .25rem; position: sticky; top: calc(var(--header-h) + 2rem); }
.account__nav button { text-align: left; padding: .7rem 0; font: 400 .72rem/1 var(--caps); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--line); }
.account__nav button[aria-selected="true"] { color: var(--ink); }
.account__nav button[aria-selected="true"]::before { content: '✶ '; color: var(--gold); }
.card-box { border: 1px solid var(--line); padding: 1.5rem; background: rgba(255, 255, 255, .45); }
.addr-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.addr { border: 1px solid var(--line); padding: 1.25rem; font-size: .88rem; color: var(--ink-2); position: relative; background: #fff; transition: border-color .25s, box-shadow .25s; }
.addr strong { display: block; color: var(--ink); font-weight: 400; margin-bottom: .35rem; }
.addr__kind { font: 400 .58rem/1 var(--caps); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: .7rem; display: block; }
.addr__actions { display: flex; gap: 1rem; margin-top: 1rem; }
label.addr { cursor: pointer; display: block; }
label.addr input { position: absolute; opacity: 0; }
label.addr:has(input:checked) { border-color: var(--aqua-deep); box-shadow: inset 0 0 0 1px var(--aqua-deep); }
.orders-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.orders-table th { text-align: left; font: 400 .62rem/1 var(--caps); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); padding: .9rem .5rem; border-bottom: 1px solid var(--line); }
.orders-table td { padding: 1rem .5rem; border-bottom: 1px solid var(--line); }
.status { display: inline-block; padding: .35rem .6rem; font: 400 .6rem/1 var(--caps); letter-spacing: .2em; text-transform: uppercase; background: var(--sand); }
.status--paid, .status--delivered, .status--shipped { background: var(--aqua-mist); color: var(--aqua-deep); }
.status--failed, .status--cancelled { background: #F3DED8; color: #8D4237; }

.checkout { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; padding-bottom: 4rem; }
.step { padding: 2rem 0; border-top: 1px solid var(--line); }
.step:first-child { border-top: 0; padding-top: 0; }
.step__title { display: flex; align-items: baseline; gap: 1rem; font: 400 1.75rem/1 var(--serif); margin-bottom: 1.5rem; }
.step__title span { font: italic 400 1rem/1 var(--serif); color: var(--gold); }
.pay-opts { display: grid; gap: .75rem; }
.pay-opt { display: flex; gap: 1rem; align-items: center; border: 1px solid var(--line); padding: 1.15rem 1.25rem; cursor: pointer; background: #fff; transition: border-color .25s, box-shadow .25s; }
.pay-opt:has(input:checked) { border-color: var(--aqua-deep); box-shadow: inset 0 0 0 1px var(--aqua-deep); }
.pay-opt input { accent-color: var(--aqua-deep); }
.pay-opt strong { font-weight: 400; display: block; }
.pay-opt small { color: var(--ink-3); font-size: .8rem; }
.summary { background: var(--sand); padding: clamp(1.5rem, 3vw, 2.5rem); position: sticky; top: calc(var(--header-h) + 1.5rem); }
.summary h2 { font: 400 1.75rem/1 var(--serif); margin-bottom: 1.5rem; }
.summary__line { display: grid; grid-template-columns: 64px 1fr auto; gap: 1rem; align-items: center; padding: .75rem 0; border-bottom: 1px solid rgba(43, 38, 34, .08); font-size: .88rem; }
.summary__line .cart-line__img { width: 64px; }
.summary__line small { display: block; color: var(--ink-3); }
.summary__totals { margin-top: 1.25rem; display: grid; gap: .5rem; font-size: .9rem; }
.summary__totals div { display: flex; justify-content: space-between; }
.summary__totals .grand { font: 400 1.6rem/1 var(--serif); padding-top: 1rem; margin-top: .5rem; border-top: 1px solid var(--line-gold); }
.secure { display: flex; gap: .6rem; align-items: center; font-size: .78rem; color: var(--ink-3); margin-top: 1rem; }
.secure svg { width: 16px; height: 16px; fill: none; stroke: var(--aqua-deep); stroke-width: 1.3; }

.result { text-align: center; max-width: 640px; margin: 0 auto; padding: clamp(4rem, 10vw, 8rem) var(--gutter); }
.result .brand-mask { width: 90px; margin: 0 auto 2rem; color: var(--gold); }
.result h1 { font: 400 clamp(2.6rem, 6vw, 4.4rem)/1 var(--serif); margin-bottom: 1.25rem; }
.result p { color: var(--ink-2); }
.legal { max-width: 760px; padding-bottom: 3rem; }
.legal h2 { font: 400 2rem/1.1 var(--serif); margin: 3rem 0 1rem; scroll-margin-top: calc(var(--header-h) + 2rem); }
.legal p, .legal li { color: var(--ink-2); }
.spinner { width: 18px; height: 18px; border: 1px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin-plain .8s linear infinite; display: inline-block; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1100px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story__grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .story__copy { grid-column: 2; }
  .story__pillars li { grid-template-columns: 2.5rem 1fr; }
  .story__pillars p { grid-column: 2; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .menu-toggle { display: inline-grid; margin-left: -10px; }
  .nav--tools .icon-btn[href="cuenta.html"] { display: none; }

  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { grid-column: 1; grid-row: 1; max-width: none; }
  .hero__copy { grid-column: 1; }
  .hero__copy > .eyebrow { display: none; }
  .site-header__inner { height: var(--header-h); }
  .nav--main { display: none; }
  .nav--left .icon-btn[data-open="search"] { display: none; }
  .nav--tools .search-mobile { display: inline-grid !important; }
  .hero { padding: 0 0 2.5rem; }
  .hero__media { width: 100%; aspect-ratio: auto; height: calc(100svh - var(--header-h) - var(--announce-h)); min-height: 520px; border-radius: 0; animation: none; }
  .hero__media::before { display: none; }
  .hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(20, 16, 12, .55)); pointer-events: none; }
  .hero__copy { grid-row: 1; align-self: end; margin: 0; padding: 0 var(--gutter) 2.2rem; color: var(--ivory); }
  .hero__copy .hero__title em, .hero__copy .hero__script { color: var(--aqua); }
  .hero__lede { color: rgba(250, 246, 239, .88); }
  .hero__cta .link-line { color: var(--ivory); }
  .hero__sound { top: 1rem; bottom: auto; right: 1rem; }
  .hero__pillars { padding: 0 var(--gutter); }
  .details__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .details__head { grid-column: 1 / -1; }
  .details__a { grid-column: 1 / -1; grid-row: auto; }
  .details__b, .details__c, .details__d, .details__e { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 5; }

  .hero__title { font-size: clamp(3.4rem, 15.5vw, 6rem); margin-bottom: 1.5rem; }
  .hero__pillars { flex-wrap: wrap; gap: .8rem; font-size: .58rem; letter-spacing: .24em; }

  .collection__grid { grid-template-columns: repeat(6, 1fr); }
  .collection__head { grid-column: 1 / -1; grid-row: auto; position: static; margin-bottom: 1rem; }
  .collection__a { grid-column: 1 / 5; grid-row: auto; }
  .collection__b { grid-column: 5 / 7; grid-row: auto; margin-top: 40% !important; align-self: start; }
  .collection__c { display: none; }

  .cats__grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .cat, .cat:nth-child(2), .cat:nth-child(3) { margin-top: 0; }
  .cat__media { aspect-ratio: 4 / 4.4; }
  .cat:nth-child(odd) { width: 88%; }
  .cat:nth-child(even) { width: 88%; margin-left: auto; }

  .rail { grid-auto-columns: 68vw; }
  .story__grid { grid-template-columns: 1fr; }
  .story__art { max-width: 300px; margin: 0 auto 1rem; }
  .story__copy { grid-column: 1; }
  .community__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .site-footer__top { grid-template-columns: 1fr; gap: 3rem; }
  .site-footer__cols { grid-template-columns: 1fr 1fr; }

  .shop-layout { grid-template-columns: minmax(0, 1fr); }
  .filter-toggle { display: inline-flex; }
  .filters {
    position: fixed; inset: auto 0 0; z-index: 85; background: var(--ivory); max-height: 82vh; overflow: auto;
    padding: 0 1.5rem 1.5rem; transform: translateY(102%); transition: transform .55s var(--ease-out); box-shadow: 0 -30px 60px -30px rgba(43, 38, 34, .3);
  }
  .filters.is-open { transform: none; }
  .filters__head { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background: var(--ivory); padding: 1rem 0; z-index: 1; }
  .filters__head h2 { font: 400 1.6rem/1 var(--serif); }
  .shop-grid .pcard--feature { grid-column: 1 / -1; grid-row: auto; }
  .shop-grid .pcard--feature .pcard__media { aspect-ratio: 4/5; height: auto; min-height: 0; }
  .shop-grid .pcard--feature .pcard__name { font-size: 1.25rem; }

  .pdp { grid-template-columns: 1fr; padding-top: 0; }
  .pdp__gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; margin: 0 calc(var(--gutter) * -1); scrollbar-width: none; }
  .pdp__gallery figure, .pdp__gallery figure:first-child { flex: 0 0 88%; scroll-snap-align: start; aspect-ratio: 4/5; margin-right: .5rem; }
  .pdp__info { position: static; }

  .auth { grid-template-columns: 1fr; }
  .auth__art { min-height: 200px; padding: 2rem; }
  .auth__art .brand-mask { width: 140px; }
  .account { grid-template-columns: 1fr; }
  .account__nav { position: static; display: flex; overflow-x: auto; gap: 1.5rem; border-bottom: 1px solid var(--line); }
  .account__nav button { border: 0; flex: none; }
  .checkout { grid-template-columns: 1fr; }
  .summary { position: static; order: -1; }
  .pcard__quick { display: none !important; }
}

@media (max-width: 560px) {
  .grid--4, .shop-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem .75rem; }
  .pcard__info { flex-direction: column; gap: .35rem; padding-top: .75rem; }
  .pcard__name { font-size: 1.05rem; }
  .row, .row--3 { grid-template-columns: 1fr; }
  .community__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .community__tile:nth-child(n+5) { display: none; }
  .site-footer__cols { grid-template-columns: 1fr 1fr; }
  .shop-bar { flex-wrap: wrap; }
  .orders-table th:nth-child(3), .orders-table td:nth-child(3) { display: 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; }
  .reveal { opacity: 1; transform: none; }
}
