/* =============================================================
   CHANGES 3D — The Climb
   Negro mate · beige arena · blanco roto. Tipografías de la tienda.
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --black: #0b0b0a;
  --basalt: #151513;
  --bone: #ede7dc;
  --bone-soft: rgba(237, 231, 220, .78);
  --bone-dim: rgba(237, 231, 220, .52);
  --line: rgba(237, 231, 220, .14);
  --sand: #cdb48a;
  --gold: #c9a86a;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 20px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* =============================================================
   2. Base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--black); }
body {
  font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.65;
  color: var(--bone); background: var(--black);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3 { font-weight: inherit; text-wrap: balance; }
em { font-style: italic; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--sand); color: var(--black); }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 4px; border-radius: 2px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 100; padding: .7rem 1.1rem; background: var(--bone); color: var(--black); font-weight: 500; }
.skip-link:focus { top: 1rem; }
.skip-link--2:focus { top: 4rem; }

.eyebrow { font-size: .66rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--sand); }
.body { font-size: .98rem; color: var(--bone-soft); max-width: 42ch; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 16px 26px;
  font-size: .74rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  transition: background-color .35s var(--ease-out), color .35s var(--ease-out), border-color .35s, gap .35s var(--ease-out);
}
.btn--light { background: var(--bone); color: var(--black); }
.btn--light:hover { background: var(--sand); }
.btn--sand { background: var(--sand); color: var(--black); }
.btn--sand:hover { background: var(--bone); gap: 20px; }
.btn--ghost { border: 1px solid rgba(237, 231, 220, .35); color: var(--bone); }
.btn--ghost:hover { border-color: var(--bone); }
.btn--sm { padding: 12px 16px; font-size: .66rem; letter-spacing: .18em; }

/* =============================================================
   3. La montaña 3D
   ============================================================= */
.world { position: fixed; inset: 0; z-index: 0; background: var(--black); }
.world-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s var(--ease-soft); }
.world-ready .world-canvas { opacity: 1; }
.world-fallback { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; filter: grayscale(.6) brightness(.7); transition: opacity 1s; }
.no-webgl .world-fallback, html:not(.js) .world-fallback { opacity: 1; }
.no-webgl .world-canvas, .no-webgl .labels { display: none; }
.world-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11, 11, 10, .62) 0%, rgba(11, 11, 10, .2) 38%, rgba(11, 11, 10, 0) 60%),
    linear-gradient(180deg, rgba(11, 11, 10, .55) 0%, rgba(11, 11, 10, 0) 16%, rgba(11, 11, 10, 0) 76%, rgba(11, 11, 10, .55) 100%);
}

.labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; transition: opacity .8s var(--ease-soft); }
html.js:not(.is-climbing) .labels { opacity: 0; }
.label { position: absolute; left: 0; top: 0; opacity: 0; will-change: transform, opacity; transition: opacity .35s var(--ease-soft); }
.label::before { content: ""; position: absolute; left: -2.5px; top: -2.5px; width: 5px; height: 5px; border-radius: 50%; background: var(--bone); }
.label .stem { position: absolute; left: -.5px; bottom: 0; width: 1px; height: 42px; background: linear-gradient(0deg, rgba(237, 231, 220, .85), rgba(237, 231, 220, .1)); }
.label .txt {
  position: absolute; left: 0; bottom: 48px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; white-space: nowrap;
  font-size: .58rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .8);
}
.label .txt b { font-weight: 500; color: var(--bone); }
.label .txt i { font-style: normal; color: var(--sand); }
.label--major .stem { height: 66px; }
.label--major .txt { bottom: 72px; }
.label--major .txt b { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; letter-spacing: .04em; text-transform: none; }
.label--place::before { background: var(--sand); }
.label--mark::before { display: none; }
.label .mk {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  font-size: .58rem; font-weight: 600; color: var(--black); background: var(--sand);
  box-shadow: 0 0 0 5px rgba(205, 180, 138, .2), 0 0 22px rgba(205, 180, 138, .5);
}

/* =============================================================
   4. Navegación fija
   ============================================================= */
.topbar {
  position: fixed; z-index: 40; top: 0; left: 0; right: 0;
  display: flex; align-items: center; gap: 24px;
  padding: 14px var(--gutter);
  background: linear-gradient(180deg, rgba(11, 11, 10, .6), rgba(11, 11, 10, 0));
}
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { width: 36px; height: 36px; border-radius: 50%; }
.brand span { font-family: var(--serif); font-weight: 500; font-size: 1.05rem; letter-spacing: .38em; }
.nav { display: none; }
.pill-buy {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px;
  font-size: .66rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  background: var(--sand); color: var(--black); transition: background-color .3s;
}
.pill-buy:hover { background: var(--bone); }

.climb-nav { position: fixed; z-index: 30; right: var(--gutter); top: 70px; --p: 0; }
.climb-alt { font-size: .62rem; letter-spacing: .14em; color: var(--bone-dim); text-align: right; }
.climb-alt b { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; letter-spacing: 0; color: var(--bone); }
.climb-steps, .climb-pct { display: none; }

/* =============================================================
   5. Escenas
   ============================================================= */
main { position: relative; z-index: 10; }
.scene { position: relative; min-height: 170svh; padding: 0 var(--gutter); }

/* Escena 0 */
.scene--intro { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-top: 70px; padding-bottom: 90px; }
.intro { text-shadow: 0 2px 40px rgba(0, 0, 0, .6), 0 1px 10px rgba(0, 0, 0, .5); }
.intro-title {
  font-family: var(--serif); font-weight: 300; text-transform: uppercase;
  font-size: clamp(2.7rem, 11vw, 8.4rem); line-height: .92; letter-spacing: .03em;
}
.intro-title em { display: block; text-transform: none; letter-spacing: 0; color: var(--sand); }
.intro-sub { margin: 26px 0 38px; font-size: .74rem; font-weight: 500; letter-spacing: .5em; text-transform: uppercase; color: var(--bone-soft); padding-left: .5em; }
.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: .58rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--bone-dim); white-space: nowrap;
}
.scroll-hint span { width: 1px; height: 44px; background: linear-gradient(var(--sand), transparent); transform-origin: top; animation: hint 2.4s var(--ease-soft) infinite; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.is-climbing .scroll-hint { opacity: 0; transition: opacity .4s; }

/* Paneles: viajan con el scroll y se quedan mientras la cámara está en la estación */
.panel {
  position: sticky; top: calc(100svh - 18px); transform: translateY(-100%);
  margin-top: 75svh; max-width: 480px;
  padding: 24px 22px;
  background: linear-gradient(180deg, rgba(11, 11, 10, .78), rgba(11, 11, 10, .66));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.panel--quiet { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding-left: 0; padding-right: 0; text-shadow: 0 2px 24px rgba(0, 0, 0, .7); }
.h-display { font-family: var(--serif); font-weight: 300; font-size: clamp(2.1rem, 8vw, 3.9rem); line-height: 1.02; margin: 14px 0 18px; }
.h-display em { color: var(--sand); }

.st-head { display: flex; align-items: baseline; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.st-num { font-family: var(--serif); font-weight: 300; font-size: 3rem; line-height: .9; color: var(--sand); }
.st-name { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 7vw, 2.7rem); line-height: 1.04; margin: 16px 0 10px; }
.st-phrase { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.2rem, 4.4vw, 1.45rem); line-height: 1.28; color: var(--bone); margin-bottom: 12px; }
.st-action { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(205, 180, 138, .35); font-size: .9rem; color: var(--bone); }
.st-action-label { font-size: .6rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--sand); margin-bottom: 4px; }
.st-art { display: none; width: 150px; margin-top: 18px; }
.st-art path, .st-art circle { fill: none; stroke: rgba(237, 231, 220, .7); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.st-art .a { stroke: var(--sand); stroke-width: 1.8; }
.st-art .faint { stroke: rgba(237, 231, 220, .35); stroke-dasharray: 3 5; }
.st-art .moonfill { fill: #e6d6b4; stroke: none; }

/* Escena final */
.scene--summit { min-height: 150svh; display: flex; justify-content: center; }
.summit-copy {
  position: sticky; top: 28svh; height: fit-content; margin-top: 60svh;
  max-width: 760px; text-align: center; text-shadow: 0 2px 30px rgba(0, 0, 0, .55);
}
.summit-title { font-family: var(--serif); font-weight: 300; text-transform: uppercase; font-size: clamp(2.8rem, 11vw, 7.6rem); line-height: .94; letter-spacing: .02em; margin: 16px 0 22px; }
.summit-title em { display: block; text-transform: none; letter-spacing: 0; color: var(--sand); }
.summit-sub { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 4vw, 1.9rem); line-height: 1.25; margin-bottom: 14px; }
.summit-copy .body { margin: 0 auto; }

/* =============================================================
   6. Producto
   ============================================================= */
.product {
  position: relative; padding: 18vh var(--gutter) 60px;
  background: linear-gradient(180deg, rgba(11, 11, 10, 0) 0, rgba(11, 11, 10, .9) 14vh, var(--black) 34vh);
}
.product-grid { display: grid; gap: 34px; max-width: 1200px; margin: 0 auto; }
.gallery-main { background: #0f0f0e; aspect-ratio: 1; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 8px; }
.thumb { aspect-ratio: 1; overflow: hidden; opacity: .55; outline-offset: 2px; transition: opacity .3s; border: 1px solid transparent; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover, .thumb.is-on { opacity: 1; }
.thumb.is-on { border-color: var(--sand); }

.product-name { font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 7vw, 3.4rem); line-height: 1.02; margin: 10px 0 8px; }
.price { font-family: var(--serif); font-size: 2rem; color: var(--sand); }
.price span { font-family: var(--sans); font-size: .7rem; letter-spacing: .2em; color: var(--bone-dim); }
.product-tag { margin: 10px 0 24px; color: var(--bone-soft); }
.colors { border: 0; display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.colors legend { width: 100%; margin-bottom: 10px; font-size: .66rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--bone-dim); }
.colors legend b { color: var(--bone); font-weight: 500; }
.swatch { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px 9px 10px; border: 1px solid var(--line); cursor: pointer; font-size: .82rem; transition: border-color .3s; }
.swatch input { position: absolute; opacity: 0; pointer-events: none; }
.swatch:has(input:checked) { border-color: var(--sand); }
.swatch:has(input:focus-visible) { outline: 2px solid var(--sand); outline-offset: 3px; }
.sw { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(237, 231, 220, .3); }
.sw--charcoal { background: #3a3a38; }
.sw--denim { background: #4d6a8c; }
.size { font-size: .86rem; color: var(--bone-soft); margin-bottom: 26px; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.ctas .btn { flex: 1 1 200px; }
.buy-note { margin-top: 12px; font-size: .74rem; color: var(--bone-dim); max-width: 46ch; }
.perks { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: .86rem; }
.perks li::before { content: "—"; color: var(--sand); margin-right: 10px; }
.policies { margin-top: 16px; font-size: .74rem; color: var(--bone-dim); }
.policies a { text-decoration: underline; text-underline-offset: 3px; }

.details { max-width: 1200px; margin: 90px auto 0; padding-top: 50px; border-top: 1px solid var(--line); }
.details-title { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 6vw, 3rem); margin-bottom: 26px; }
.details-list { display: grid; gap: 22px; }
.details-list dt { font-size: .62rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--sand); margin-bottom: 4px; }
.details-list dd { color: var(--bone-soft); }
.manifesto { margin: 70px 0 30px; font-family: var(--serif); font-weight: 300; font-size: clamp(1.8rem, 6vw, 3.4rem); line-height: 1.1; max-width: 22ch; }
.manifesto em { color: var(--sand); }

/* Pie */
.footer { position: relative; background: var(--black); padding: 70px var(--gutter) 110px; border-top: 1px solid var(--line); }
.footer-top { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.footer-top img { border-radius: 50%; }
.footer-line { font-family: var(--serif); font-size: 1.4rem; line-height: 1.2; }
.footer-line em { color: var(--sand); }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bone-soft); }
.footer-links a:hover { color: var(--bone); }
.credits { margin-top: 34px; font-size: .64rem; line-height: 1.8; color: var(--bone-dim); }
.credits a { text-decoration: underline; text-underline-offset: 2px; }

/* Barra de compra móvil */
.mobile-buy {
  position: fixed; z-index: 35; left: 10px; right: 10px; bottom: 10px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 16px;
  background: rgba(11, 11, 10, .86); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transform: translateY(140%); transition: transform .5s var(--ease-out);
}
.mobile-buy p { display: flex; flex-direction: column; font-size: .8rem; line-height: 1.3; }
.mobile-buy b { font-weight: 500; }
.mobile-buy span { color: var(--sand); }
.is-climbing .mobile-buy { transform: none; }
.is-climbing .mobile-buy.is-hidden { transform: translateY(140%); }

/* =============================================================
   7. Movimiento
   ============================================================= */
.js .panel { opacity: 0; transition: opacity 1s var(--ease-out); }
.js .panel.is-in { opacity: 1; }
.js .summit-copy { opacity: 0; transform: translateY(24px); transition: opacity 1.4s var(--ease-out), transform 1.6s var(--ease-out); }
.js .summit-copy.is-in { opacity: 1; transform: none; }
.js .st-art [pathLength] { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .panel.is-in .st-art [pathLength] { animation: draw 1.8s var(--ease-soft) .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 720px) {
  :root { --gutter: 40px; }
  .topbar { padding: 20px var(--gutter); }
  .panel { top: 50svh; transform: translateY(-50%); margin-top: 60svh; padding: 30px 32px; }
  .panel--quiet { padding-left: 0; padding-right: 0; }
  .st-art { display: block; }
  .mobile-buy { display: none; }
  .product-grid { grid-template-columns: 1.1fr 1fr; align-items: start; gap: 56px; }
  .buybox { position: sticky; top: 100px; }
  .details-list { grid-template-columns: repeat(2, 1fr); gap: 30px 50px; }
  .footer { padding-bottom: 60px; }
}

@media (min-width: 960px) {
  :root { --gutter: 64px; }
  .nav { display: flex; gap: 32px; font-size: .68rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--bone-soft); }
  .nav a:hover { color: var(--bone); }

  .climb-nav { top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
  .climb-steps {
    position: relative; display: flex; flex-direction: column; gap: 4px; align-items: flex-end;
    padding-right: 18px;
  }
  .climb-steps::before { content: ""; position: absolute; right: 4px; top: 8px; bottom: 8px; width: 1px; background: rgba(237, 231, 220, .2); }
  .climb-steps::after {
    content: ""; position: absolute; right: 4px; bottom: 8px; width: 1px;
    height: calc((100% - 16px) * var(--p)); background: var(--sand); transition: height .3s;
  }
  .climb-steps a { display: flex; align-items: center; gap: 12px; padding: 3px 0; font-size: .62rem; letter-spacing: .14em; color: var(--bone-dim); }
  .climb-steps .t { opacity: 0; transform: translateX(6px); white-space: nowrap; text-transform: uppercase; letter-spacing: .18em; transition: opacity .3s, transform .3s var(--ease-out); }
  .climb-steps .n { width: 22px; text-align: right; font-weight: 500; }
  .climb-steps a:hover .t, .climb-steps a:focus-visible .t, .climb-steps a.is-active .t { opacity: 1; transform: none; }
  .climb-steps a.is-active { color: var(--sand); }
  .climb-steps a:hover { color: var(--bone); }
  .climb-pct { display: block; font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bone-dim); }

  .scene:not(.scene--intro):not(.scene--summit) { padding-left: calc(var(--gutter) + 10px); }
  .panel { max-width: 500px; }
  .product { padding-left: var(--gutter); padding-right: var(--gutter); }
}

@media (min-width: 1280px) {
  .panel { max-width: 520px; }
}

/* =============================================================
   9. Movimiento reducido
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-hint span { animation: none; }
  .js .st-art [pathLength] { stroke-dashoffset: 0; animation: none !important; }
}

/* En la cima las etiquetas se retiran para dejar el momento limpio */
html.is-summit .labels { opacity: 0; }
/* Sobre la ficha de producto, el indicador de estaciones se aparta */
.climb-nav { transition: opacity .4s var(--ease-soft); }
html.in-product .climb-nav { opacity: 0; pointer-events: none; }

/* Más contraste del título final sobre el paisaje luminoso */
.summit-copy { text-shadow: 0 2px 18px rgba(0, 0, 0, .55), 0 0 60px rgba(0, 0, 0, .35); }

/* =============================================================
   10. Rediseño "una sola montaña": inicio, estaciones, cima
   ============================================================= */

/* Inicio: solo el titular y el indicador */
.intro-sub { letter-spacing: .04em; text-transform: none; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.15rem, 3.4vw, 1.6rem); padding-left: 0; margin-bottom: 0; }
.scroll-hint { color: var(--bone-soft); }
.scroll-hint:hover { color: var(--bone); }

/* Contador de estación */
.st-counter {
  position: fixed; z-index: 30; left: var(--gutter); top: 74px;
  display: flex; align-items: baseline; gap: 6px;
  font-family: var(--serif); font-weight: 300; color: var(--bone);
  opacity: 0; transform: translateY(-6px); transition: opacity .5s var(--ease-soft), transform .5s var(--ease-out);
}
.st-counter b { font-weight: 300; font-size: 1.6rem; color: var(--sand); }
.st-counter span { font-size: .95rem; color: var(--bone-dim); }
.has-counter .st-counter { opacity: 1; transform: none; }

/* La cima: el texto vive arriba, en el cielo; el primer plano queda abajo */
.scene--summit { pointer-events: none; min-height: 190svh; }
.summit-copy { top: 13svh; margin-top: 55svh; }
.summit-title { font-size: clamp(2.6rem, 9vw, 6.6rem); margin-bottom: 16px; }
.summit-sub { font-size: clamp(1.1rem, 3.2vw, 1.5rem); max-width: 34ch; margin: 0 auto 12px; }
.summit-hint { font-size: .6rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--sand); }

.summit-stage {
  position: fixed; inset: 0; z-index: 11; pointer-events: none;
  --summit: 0; --sx: 70%; --sy: 30%;
  opacity: var(--summit); visibility: hidden;
}
html.is-summit .summit-stage { visibility: visible; }
html.in-product .summit-stage { opacity: 0 !important; visibility: hidden; }
.no-webgl .summit-stage { display: none; }
.rays {
  position: absolute; inset: 0; mix-blend-mode: screen; opacity: .55;
  background:
    radial-gradient(circle at var(--sx) var(--sy), rgba(255, 220, 160, .32) 0, rgba(255, 190, 120, .1) 12%, rgba(255, 170, 100, 0) 38%),
    repeating-conic-gradient(from 0deg at var(--sx) var(--sy), rgba(255, 214, 160, .11) 0deg 1.6deg, rgba(255, 214, 160, 0) 1.6deg 6deg);
  -webkit-mask-image: radial-gradient(circle at var(--sx) var(--sy), #000 0, rgba(0, 0, 0, .6) 25%, transparent 62%);
          mask-image: radial-gradient(circle at var(--sx) var(--sy), #000 0, rgba(0, 0, 0, .6) 25%, transparent 62%);
  animation: rays 18s linear infinite;
}
@keyframes rays { from { filter: hue-rotate(0deg) brightness(1); } 50% { filter: hue-rotate(-6deg) brightness(1.08); } to { filter: hue-rotate(0deg) brightness(1); } }
.summit-fg { position: absolute; left: 50%; bottom: 0; width: max(100vw, 1100px); aspect-ratio: 1440 / 420; transform: translateX(-50%); }
.summit-fg svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.cap-spot {
  position: absolute; left: calc(var(--x) / 1440 * 100%); top: calc(var(--y) / 420 * 100%);
  width: 52px; height: 52px; transform: translate(-50%, -50%);
  pointer-events: auto; display: grid; place-items: center; border-radius: 50%;
}
.cap-spot .ring {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid rgba(255, 214, 160, .9); box-shadow: 0 0 18px rgba(255, 200, 130, .55), inset 0 0 10px rgba(255, 200, 130, .35);
  animation: ring 2.6s var(--ease-soft) infinite; transition: transform .35s var(--ease-out), background-color .35s;
}
@keyframes ring { 0%, 100% { transform: scale(1); opacity: .95; } 50% { transform: scale(1.22); opacity: .55; } }
.cap-label {
  position: absolute; bottom: calc(100% + 2px); left: 50%; transform: translateX(-50%); white-space: nowrap;
  font-size: .55rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--bone);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .7);
}
.cap-card {
  position: absolute; bottom: calc(100% + 26px); left: 50%; width: 230px;
  display: flex; align-items: center; gap: 12px; padding: 10px;
  background: rgba(11, 11, 10, .82); border: 1px solid rgba(205, 180, 138, .35);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; transform: translate(-50%, 8px); pointer-events: none;
  transition: opacity .35s var(--ease-soft), transform .4s var(--ease-out);
}
.cap-card img { width: 64px; height: 64px; object-fit: cover; flex: none; }
.cap-card-txt { display: flex; flex-direction: column; gap: 2px; font-size: .78rem; line-height: 1.3; text-align: left; }
.cap-card-txt b { font-weight: 500; color: var(--bone); }
.cap-card-txt i { font-style: normal; color: var(--sand); font-size: .72rem; }
@media (hover: hover) {
  .cap-spot:hover .ring { transform: scale(1.35); background: rgba(255, 214, 160, .18); animation: none; }
  .cap-spot:hover .cap-card { opacity: 1; transform: translate(-50%, 0); }
  .cap-spot:hover { cursor: pointer; }
}
.cap-spot:focus-visible .cap-card { opacity: 1; transform: translate(-50%, 0); }
.cap-spot:focus-visible { outline-offset: 2px; }
.cap-fly {
  position: fixed; z-index: 60; object-fit: cover; transform-origin: 0 0; pointer-events: none;
  transition: transform .8s var(--ease-out), opacity .8s var(--ease-soft) .2s;
}

/* Estaciones: cada una con su composición (escritorio) */
@media (min-width: 720px) {
  .st-counter { top: 86px; }
  .station--right .panel { margin-left: auto; margin-right: 150px; }
  .station--low .panel {
    top: calc(100svh - 36px); transform: translateY(-100%);
    max-width: 860px;
    display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; align-items: start;
  }
  .station--low .st-head, .station--low .st-name, .station--low .st-phrase { grid-column: 1; }
  .station--low .body, .station--low .st-action, .station--low .st-art { grid-column: 2; }
  .station--low .body { grid-row: 1 / span 2; margin-top: 18px; }
  .station--low .st-action { grid-row: 3; }
  .station--low .st-art { display: none; }
  .station--moon .panel { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; top: 46svh; text-shadow: 0 2px 24px rgba(0, 0, 0, .75); }
  .station--moon .st-phrase { font-size: 1.8rem; }
  .station--moon .st-art { width: 230px; }
}
@media (min-width: 960px) {
  .station--right .panel { margin-right: 190px; }
}
@media (prefers-reduced-motion: reduce) {
  .rays, .cap-spot .ring { animation: none; }
}

/* Cima: composición limpia, el texto con más contraste sobre el amanecer */
html.is-summit .climb-nav { opacity: 0; pointer-events: none; }
.scene--summit .summit-title em { color: #fff1dc; text-shadow: 0 0 30px rgba(120, 70, 20, .45), 0 2px 18px rgba(0, 0, 0, .45); }

/* =============================================================
   11. Final: acercamiento a la cima y foto de campaña
   ============================================================= */
.scene--approach { min-height: 230svh; pointer-events: none; }
html.is-approach .labels, html.is-approach .climb-nav, html.is-approach .st-counter { opacity: 0 !important; pointer-events: none; }
.station .panel { transition: opacity .9s var(--ease-soft); }

.campaign {
  position: fixed; inset: 0; z-index: 11; overflow: hidden; pointer-events: none;
  opacity: var(--reveal, 0); visibility: hidden;
}
html.has-campaign.is-approach .campaign { visibility: visible; }
html.in-product .campaign { opacity: 0 !important; visibility: hidden; }
.no-webgl .campaign { opacity: 1; }
.campaign-frame {
  position: absolute; left: 50%; top: 50%;
  width: max(100vw, 177.78vh); height: max(100vh, 56.25vw);
  transform: translate(-50%, -50%) scale(calc(1.06 - var(--reveal, 0) * .06));
  transition: transform 1.2s var(--ease-out);
}
.campaign-frame.is-zooming { transform: translate(-50%, -50%) scale(1.7); transition: transform .9s var(--ease-out); }
.campaign-frame img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.cap-spot--photo { left: var(--dx); top: var(--dy); }
html.has-campaign.is-summit .cap-spot--photo { pointer-events: auto; }
.cap-spot--photo { pointer-events: none; }
@media (max-aspect-ratio: 4/5) {
  .campaign-frame { width: max(100vw, 56.25vh); height: max(100vh, 177.78vw); }
  .cap-spot--photo { left: var(--mx); top: var(--my); }
}
/* With the photo in place, the illustrated version stays hidden */
html.has-campaign .summit-stage { display: none; }
html:not(.no-campaign) .summit-stage { display: none; }

/* Tarjeta de la cima con las dos gorras reales */
.cap-card { width: 270px; }
.cap-card img + img { margin-left: -4px; }
.cap-card img { width: 56px; height: 56px; }

/* La foto de la cima va detrás del texto (los clics atraviesan la escena hasta el punto de la gorra) */
.campaign { z-index: 9; }
@media (min-width: 720px) { .cap-spot--photo .cap-label { display: none; } }

/* =============================================================
   12. Página de productos
   ============================================================= */
.page-products .product { padding-top: 90px; background: var(--black); }
.shop-hero { position: relative; min-height: 100svh; overflow: hidden; display: flex; flex-direction: column; align-items: center; padding: 0 var(--gutter) 8vh; isolation: isolate; }
.shop-bg { position: absolute; inset: 0; z-index: -1; }
.shop-bg img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 30%; animation: shopbg 26s var(--ease-soft) both; }
@keyframes shopbg { from { transform: scale(1.08); } to { transform: scale(1); } }
.shop-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 11, 10, .35) 0%, rgba(11, 11, 10, 0) 18%, rgba(11, 11, 10, 0) 38%, rgba(11, 11, 10, .78) 62%, var(--black) 92%);
}
.mist {
  position: absolute; left: -30%; width: 160%; height: 38%; pointer-events: none; opacity: .5;
  background: radial-gradient(ellipse 40% 50% at 30% 50%, rgba(214, 222, 245, .55), transparent 70%), radial-gradient(ellipse 35% 45% at 75% 55%, rgba(214, 222, 245, .45), transparent 70%);
  filter: blur(18px); animation: mist 38s linear infinite alternate;
}
.mist--1 { top: 30%; }
.mist--2 { top: 44%; opacity: .35; animation-duration: 52s; animation-direction: alternate-reverse; }
@keyframes mist { from { transform: translateX(-8%); } to { transform: translateX(8%); } }

.shop-head { padding-top: calc(70px + 9vh); text-align: center; text-shadow: 0 2px 26px rgba(10, 16, 40, .45); }
.shop-title { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 10vw, 7rem); line-height: .95; margin: 14px 0 12px; }
.shop-title em { color: var(--bone); }
.shop-sub { font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 3vw, 1.5rem); color: var(--bone-soft); }

.caps-rail { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; max-width: 1180px; margin-top: auto; padding-top: 4vh; }
.cap-pick { display: flex; flex-direction: column; align-items: center; text-align: center; outline-offset: 6px; }
.cap-photo { display: block; width: 100%; aspect-ratio: 1; }
.cap-photo img {
  width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: radial-gradient(ellipse 58% 52% at 50% 54%, #000 50%, transparent 74%);
          mask-image: radial-gradient(ellipse 58% 52% at 50% 54%, #000 50%, transparent 74%);
  transition: transform .7s var(--ease-out), filter .7s var(--ease-out);
}
.cap-meta { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: -4%; }
.cap-meta b { font-family: var(--serif); font-weight: 400; font-size: clamp(1.3rem, 4vw, 2rem); }
.cap-meta i { font-style: normal; color: var(--sand); font-size: .82rem; letter-spacing: .08em; }
.cap-cta { margin-top: 10px; padding-bottom: 4px; font-size: .62rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--bone-soft); border-bottom: 1px solid rgba(205, 180, 138, .45); transition: color .3s, border-color .3s; }
@media (hover: hover) {
  .cap-pick:hover .cap-photo img { transform: translateY(-12px) scale(1.04); filter: brightness(1.12) drop-shadow(0 26px 40px rgba(0, 0, 0, .6)); }
  .cap-pick:hover .cap-cta { color: var(--bone); border-color: var(--sand); }
}
.cap-pick:focus-visible .cap-photo img { transform: translateY(-12px) scale(1.04); }
@media (min-width: 960px) {
  .caps-rail { gap: 40px; }
  .shop-head { padding-top: calc(80px + 7vh); }
}
@media (prefers-reduced-motion: reduce) {
  .shop-bg img, .mist { animation: none; }
}

/* Botón "Ver gorras" en la cima */
.summit-shop { margin-top: 22px; pointer-events: auto; }

/* En la cima la barra móvil se retira: el botón "Ver gorras" ya está en escena */
html.is-summit .mobile-buy { transform: translateY(140%); }
.scene--summit .summit-copy { pointer-events: auto; }

/* Productos: el suelo oscuro sostiene las gorras; tamaño contenido para ver nombre y precio */
.shop-bg::after {
  background: linear-gradient(180deg, rgba(11, 11, 10, .35) 0%, rgba(11, 11, 10, 0) 16%, rgba(11, 11, 10, 0) 30%, rgba(11, 11, 10, .82) 50%, var(--black) 68%);
}
.cap-photo { width: 84%; }
.cap-photo img {
  -webkit-mask-image: radial-gradient(ellipse 52% 46% at 50% 55%, #000 42%, transparent 72%);
          mask-image: radial-gradient(ellipse 52% 46% at 50% 55%, #000 42%, transparent 72%);
}
@media (min-width: 960px) {
  .caps-rail { max-width: 940px; padding-top: 2vh; }
  .shop-head { padding-top: calc(70px + 5vh); }
  .shop-hero { padding-bottom: 5vh; }
}

/* Cima: sin botón; solo el punto en la cabeza con su etiqueta encima (también en escritorio) */
@media (min-width: 720px) { .cap-spot--photo .cap-label { display: block; } }
.cap-spot--photo .cap-label { font-size: .62rem; padding: 5px 10px; background: rgba(11, 11, 10, .55); border: 1px solid rgba(205, 180, 138, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); bottom: calc(100% + 8px); }

/* =============================================================
   13. Cima: el toque llega a la cabeza y el texto se lee bien
   ============================================================= */
/* The page content no longer intercepts taps meant for the photo underneath */
main { pointer-events: none; }
main > *:not(.scene--summit):not(.scene--approach), main #estaciones > * { pointer-events: auto; }
.scene--summit .summit-copy { pointer-events: none; }

/* Soft darkening behind the summit text */
.campaign::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(14, 12, 24, .62) 0%, rgba(14, 12, 24, .42) 26%, rgba(14, 12, 24, .12) 44%, rgba(14, 12, 24, 0) 56%),
    radial-gradient(ellipse 55% 30% at 50% 22%, rgba(10, 8, 20, .35), transparent 70%);
}
.scene--summit .summit-title { color: #fbf6ec; text-shadow: 0 2px 6px rgba(0, 0, 0, .35), 0 4px 34px rgba(0, 0, 0, .55); }
.scene--summit .summit-title em { color: #fff3df; text-shadow: 0 2px 6px rgba(0, 0, 0, .35), 0 4px 34px rgba(0, 0, 0, .55); }
.scene--summit .summit-sub { color: #fbf6ec; font-style: normal; font-weight: 400; text-shadow: 0 1px 4px rgba(0, 0, 0, .55), 0 2px 22px rgba(0, 0, 0, .6); }
.scene--summit .eyebrow { color: #f1d9ad; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }

/* =============================================================
   14. Todas las estaciones sin caja: el texto flota sobre la montaña
   ============================================================= */
.station .panel {
  background: none; border: 0;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  padding-left: 0; padding-right: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .55), 0 2px 26px rgba(0, 0, 0, .65);
  isolation: isolate;
}
/* a soft shade behind the words, without a visible box */
.station .panel::before {
  content: ""; position: absolute; inset: -12% -18% -12% -22%; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 60% 58% at 42% 50%, rgba(6, 9, 18, .62), rgba(6, 9, 18, .34) 48%, rgba(6, 9, 18, 0) 75%);
  filter: blur(6px);
}
.station .st-head { border-bottom-color: rgba(237, 231, 220, .22); }
.station .st-action { border-top-color: rgba(205, 180, 138, .4); }
.station .body, .station .st-action { color: rgba(243, 237, 225, .9); }
/* on phones the station number already sits in the text, so the corner counter steps aside */
@media (max-width: 719px) { .st-counter { display: none; } }
/* un poco más de sombra detrás del texto cuando el cielo ya es claro */
.station .panel::before { background: radial-gradient(ellipse 60% 58% at 42% 50%, rgba(6, 9, 18, .72), rgba(6, 9, 18, .42) 50%, rgba(6, 9, 18, 0) 76%); }

/* =============================================================
   15. Productos: la cumbre (las gorras te esperan arriba)
   ============================================================= */
.peak { position: relative; height: 100svh; min-height: 620px; overflow: hidden; background: #0d1226; isolation: isolate; }
.peak-frame {
  position: absolute; left: 50%; top: 50%;
  width: max(100vw, 133.9svh); height: max(100svh, 74.7vw);
  transform: translate(-50%, -50%);
}
.peak-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; animation: peakin 2.4s var(--ease-out) both; }
@keyframes peakin { from { opacity: 0; scale: 1.06; } to { opacity: 1; scale: 1; } }
.peak-rays {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; opacity: .5;
  background: repeating-conic-gradient(from 160deg at 52% -6%, rgba(220, 230, 255, .16) 0deg 1.2deg, rgba(220, 230, 255, 0) 1.2deg 5deg);
  -webkit-mask-image: radial-gradient(ellipse 55% 70% at 52% 0%, #000, transparent 75%);
          mask-image: radial-gradient(ellipse 55% 70% at 52% 0%, #000, transparent 75%);
  animation: prays 14s ease-in-out infinite alternate;
}
@keyframes prays { from { opacity: .35; } to { opacity: .6; } }
.peak-mist { position: absolute; left: -25%; width: 150%; pointer-events: none; filter: blur(22px); }
.peak-mist--back { top: 30%; height: 34%; opacity: .55; background: radial-gradient(ellipse 30% 45% at 25% 55%, rgba(232, 238, 255, .7), transparent 70%), radial-gradient(ellipse 28% 40% at 78% 45%, rgba(232, 238, 255, .55), transparent 70%); animation: pmist 40s linear infinite alternate; }
.peak-mist--front { bottom: -6%; height: 30%; opacity: .5; background: radial-gradient(ellipse 30% 50% at 20% 60%, rgba(240, 244, 255, .8), transparent 70%), radial-gradient(ellipse 26% 45% at 85% 55%, rgba(240, 244, 255, .7), transparent 70%); animation: pmist 30s linear infinite alternate-reverse; }
@keyframes pmist { from { transform: translateX(-6%); } to { transform: translateX(6%); } }
.peak-steps { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.peak-cap {
  position: absolute; left: var(--x); top: var(--y); width: var(--w);
  transform: translate(-50%, -100%);
  display: block; outline-offset: 8px; z-index: 2;
}
.peak-glow {
  position: absolute; inset: -35% -20% -10%; pointer-events: none; z-index: -1;
  background: radial-gradient(ellipse 50% 50% at 50% 55%, rgba(255, 247, 230, .55), rgba(255, 240, 215, .15) 45%, transparent 70%);
  opacity: .7; transition: opacity .6s var(--ease-soft);
}
.peak-shadow {
  position: absolute; left: 10%; right: 6%; bottom: -5%; height: 16%; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(20, 28, 60, .55), transparent 70%); filter: blur(4px);
  transition: transform .7s var(--ease-out), opacity .7s;
}
.peak-turn {
  position: relative; display: block; transform-style: preserve-3d;
  transition: transform 1s var(--ease-out);
}
.peak-turn .face { display: block; width: 100%; height: auto; backface-visibility: hidden; -webkit-backface-visibility: hidden; filter: drop-shadow(0 0 1px rgba(255, 240, 215, .55)) drop-shadow(0 16px 22px rgba(12, 20, 50, .35)); }
.peak-turn .face--back { position: absolute; inset: 0; height: 100%; object-fit: contain; transform: rotateY(180deg); }
.peak-tag {
  position: absolute; left: 50%; top: calc(100% + 18px); transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 1px; white-space: nowrap;
  padding: 10px 18px 11px; background: rgba(11, 13, 26, .62); border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background-color .4s, border-color .4s;
}
.peak-tag b { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; line-height: 1.1; color: var(--bone); }
.peak-tag i { font-style: normal; font-size: .76rem; letter-spacing: .1em; color: var(--sand); }
.peak-tag span { margin-top: 4px; font-size: .58rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--bone-soft); }
@media (hover: hover) {
  .peak-cap:hover .peak-turn { transform: translateY(-7%) rotateY(180deg); }
  .peak-cap:hover .peak-glow { opacity: 1; }
  .peak-cap:hover .peak-shadow { transform: scale(.85); opacity: .7; }
  .peak-cap:hover .peak-tag { background: rgba(11, 13, 26, .82); border-color: rgba(205, 180, 138, .6); }
}
.peak-cap:focus-visible .peak-turn { transform: translateY(-7%) rotateY(180deg); }
.peak-cap.is-turned .peak-turn { transform: rotateY(180deg); }

.peak-head { position: absolute; left: 0; right: 0; top: 0; padding: calc(70px + 5vh) var(--gutter) 0; text-align: center; z-index: 3; pointer-events: none; text-shadow: 0 2px 8px rgba(5, 8, 25, .5), 0 4px 34px rgba(5, 8, 25, .55); }
.peak-head .eyebrow { color: #f0dcb4; }
.peak-hint { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; z-index: 3; font-size: .58rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: rgba(255, 255, 255, .8); text-shadow: 0 1px 8px rgba(5, 8, 25, .6); }

@media (orientation: portrait) {
  .peak-cap { --w: 16% !important; }
  .peak-cap[data-color="Charcoal"] { --x: 41.5% !important; --y: 61% !important; }
  .peak-cap[data-color="Denim Blue"] { --x: 58.5% !important; --y: 59.5% !important; }
  .peak-tag { padding: 7px 10px 8px; top: calc(100% + 10px); }
  .peak-tag b { font-size: 1.05rem; }
  .peak-tag span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .peak-mist, .peak-rays, .peak-bg { animation: none; }
}
.peak-hint .h-touch { display: none; }
@media (hover: none) { .peak-hint .h-mouse { display: none; } .peak-hint .h-touch { display: inline; } }
@media (orientation: portrait) {
  .peak-cap { --w: 15% !important; }
  .peak-cap[data-color="Charcoal"] { --x: 41% !important; --y: 64% !important; }
  .peak-cap[data-color="Denim Blue"] { --x: 59% !important; --y: 62.5% !important; }
}

/* =============================================================
   16. Productos · "La cima es tuya" (escena dorada)
   ============================================================= */
.peak--gold { background: #1a1418; }
.peak--gold .peak-frame { width: max(100vw, 200svh); height: max(100svh, 50vw); }
.peak--gold .peak-mist--back { top: 40%; height: 30%; opacity: .45; background: radial-gradient(ellipse 30% 45% at 25% 55%, rgba(255, 236, 214, .7), transparent 70%), radial-gradient(ellipse 28% 40% at 78% 45%, rgba(255, 226, 200, .55), transparent 70%); }
.peak--gold .peak-mist--front { opacity: .32; background: radial-gradient(ellipse 30% 50% at 18% 60%, rgba(255, 240, 225, .7), transparent 70%), radial-gradient(ellipse 26% 45% at 86% 55%, rgba(255, 236, 220, .6), transparent 70%); }
.peak-sun {
  position: absolute; left: 31%; top: 37%; width: 34%; aspect-ratio: 1; transform: translate(-50%, -50%);
  pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(255, 214, 150, .55) 0, rgba(255, 180, 110, .18) 30%, rgba(255, 170, 100, 0) 62%);
  animation: sunpulse 7s ease-in-out infinite alternate;
}
@keyframes sunpulse { from { opacity: .7; scale: .96; } to { opacity: 1; scale: 1.04; } }
.peak--gold .peak-glow { background: radial-gradient(ellipse 50% 50% at 50% 55%, rgba(255, 220, 170, .42), rgba(255, 200, 140, .12) 45%, transparent 70%); }
.peak--gold .peak-shadow { background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(18, 12, 10, .65), transparent 70%); }
.peak--gold .peak-turn .face { filter: drop-shadow(-1px 0 1px rgba(255, 210, 150, .55)) drop-shadow(0 18px 22px rgba(20, 12, 8, .45)); }
.peak-cap.is-hot .peak-glow { opacity: 1; }
.peak-cap.is-hot .peak-turn { transform: translateY(-5%); }

.peak--gold .peak-head { padding-top: calc(70px + 7vh); }
.peak--gold .shop-title { font-size: clamp(3rem, 9vw, 6.6rem); }
.peak--gold .shop-title em { font-style: normal; }
.peak--gold .shop-sub { margin-top: 2px; }
.peak--gold .eyebrow { color: #f6e7cf; letter-spacing: .34em; }

.peak-foot { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 0 var(--gutter) 22px; text-shadow: 0 1px 10px rgba(0, 0, 0, .65); }
.peak-labels { display: flex; align-items: center; gap: 28px; }
.peak-label { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 4px 6px; }
.peak-label b { font-size: .7rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--bone); }
.peak-label i { font-style: normal; font-size: .7rem; letter-spacing: .22em; color: rgba(243, 237, 225, .82); }
.peak-label:hover b, .peak-label.is-hot b { color: var(--sand); }
.peak-divider { width: 1px; height: 38px; background: rgba(243, 237, 225, .55); }
.peak-dots { display: flex; gap: 12px; }
.peak-dots span { width: 9px; height: 9px; border-radius: 50%; border: 1px solid rgba(243, 237, 225, .8); transition: background-color .3s; }
.peak-dots span.is-on { background: var(--bone); }
.peak--gold .peak-hint { position: static; font-size: .6rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: rgba(243, 237, 225, .85); }
.peak--gold .peak-hint a { text-decoration: none; border-bottom: 1px solid rgba(205, 180, 138, .6); padding-bottom: 2px; }
.peak--gold .peak-hint a:hover { color: var(--sand); }

@media (orientation: portrait) {
  .peak--gold .peak-cap { --w: 11% !important; }
  .peak--gold .peak-cap[data-color="Charcoal"] { --x: 44.4% !important; --y: 79% !important; }
  .peak--gold .peak-cap[data-color="Denim Blue"] { --x: 55.6% !important; --y: 78.5% !important; }
  .peak-labels { gap: 16px; }
  .peak-label b { font-size: .6rem; letter-spacing: .18em; }
}
@media (prefers-reduced-motion: reduce) { .peak-sun { animation: none; } }
/* hover on the cap itself turns it; hovering its label only lifts it */
.peak-cap.is-hot .peak-turn { transform: none; }
.peak-cap.is-hot:not(:hover) .peak-turn { transform: translateY(-5%); }
@media (hover: hover) { .peak--gold .peak-cap:hover .peak-turn { transform: translateY(-7%) rotateY(180deg); } }
.peak-foot { padding-top: 60px; background: linear-gradient(180deg, rgba(10, 8, 8, 0), rgba(10, 8, 8, .55) 55%, rgba(10, 8, 8, .7)); }
.peak-label i { color: #f3e3c4; }
.peak--gold .shop-sub { color: #fbf3e6; font-size: clamp(1.25rem, 3.2vw, 1.8rem); text-shadow: 0 1px 6px rgba(0, 0, 0, .55), 0 2px 24px rgba(0, 0, 0, .5); }

/* =============================================================
   17. La cima al amanecer + vista de producto + probador
   ============================================================= */
.peak--dawn {
  --ar: 1.791;                                   /* the photo is 1920×1072 */
  --fw: max(100vw, calc(100svh * var(--ar)));
  --fh: calc(var(--fw) / var(--ar));
  --cx: .54;                                     /* the point of the photo kept centred: between the caps */
  background: #16141a;
}
.peak--dawn .peak-frame {
  left: clamp(calc(100vw - var(--fw)), calc(50vw - var(--fw) * var(--cx)), 0px);
  top: auto; bottom: 0; width: var(--fw); height: var(--fh);
  transform: none; transform-origin: var(--ox, 55%) var(--oy, 75%);
  transition: transform 1.1s var(--ease-out);
}
.peak--dawn .peak-sun { left: 52%; top: 19%; width: 46%; }
/* darker ground at the foot, like the shade of the summit rocks */
.peak-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 34%; pointer-events: none; background: linear-gradient(to top, rgba(14, 12, 16, .78), rgba(14, 12, 16, .35) 55%, rgba(14, 12, 16, 0)); }
.peak-sky { position: absolute; left: 0; right: 0; top: 0; height: 46svh; z-index: 1; pointer-events: none; background: linear-gradient(to bottom, rgba(14, 12, 16, .62), rgba(14, 12, 16, .25) 55%, rgba(14, 12, 16, 0)); }
.peak-set { position: absolute; inset: 0; }

/* the two caps rest on the summit rocks */
.peak--dawn .peak-cap {
  position: absolute; left: var(--x); top: var(--y); width: var(--w);
  transform: translate(-50%, -100%); transform-origin: 50% 100%;
  padding: 0; border: 0; background: none; cursor: pointer;
  transition: transform .6s var(--ease-out), filter .6s var(--ease-soft), opacity .6s;
}
/* both rest on the flat ground of the summit, where the path ends */
.peak--dawn [data-n] { --wn: .13; --w: calc(var(--wn) * 100%); }
.peak--dawn [data-n="01"] { --x: 46.8%; --y: 87.4%; }
.peak--dawn [data-n="02"] { --x: 60.8%; --y: 86.8%; }
.peak--dawn .peak-cap { width: calc(var(--wn) * 100%) !important; }
.peak--dawn .peak-turn { transform: none !important; }
/* warm light from the sunrise behind, cool shade in front */
.peak--dawn .peak-turn .face { filter: brightness(.88) contrast(1.06) saturate(.95) sepia(.08) drop-shadow(0 -1px 0 rgba(255, 196, 140, .35)) drop-shadow(0 10px 14px rgba(10, 8, 12, .45)); }
.peak--dawn .face--back { display: none; }
.peak--dawn .peak-shadow {
  left: -6%; right: -2%; bottom: -4%; height: 16%;
  background:
    radial-gradient(ellipse 48% 42% at 50% 45%, rgba(10, 8, 10, .8), rgba(10, 8, 10, 0) 70%),
    radial-gradient(ellipse 62% 60% at 50% 55%, rgba(20, 16, 20, .4), rgba(20, 16, 20, 0) 72%);
  filter: blur(2px); transition: transform .6s var(--ease-out), opacity .6s;
}
.peak-explore {
  position: absolute; left: 50%; top: -14%; transform: translate(-50%, 6px);
  padding: 6px 12px; font-size: .58rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  color: #17130f; background: var(--bone); opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease-soft), transform .4s var(--ease-out);
}
@media (hover: hover) {
  .peak--dawn .peak-cap:hover { transform: translate(-50%, -103%) scale(1.045); }
  .peak--dawn .peak-cap:hover .peak-shadow { transform: scale(.92); opacity: .8; }
  .peak--dawn .peak-cap:hover .peak-explore { opacity: 1; transform: translate(-50%, 0); }
}
.peak--dawn .peak-cap.is-hot { transform: translate(-50%, -103%) scale(1.045); }
.peak--dawn .peak-set:has(.is-hot) .peak-cap:not(.is-hot) { filter: brightness(.72) saturate(.85); }
.peak--dawn .peak-cap:focus-visible { outline: 2px solid var(--sand); outline-offset: 6px; }
.peak--dawn .peak-cap:focus-visible .peak-explore { opacity: 1; transform: translate(-50%, 0); }

/* headline, centred in the sky */
.peak--dawn .peak-head {
  left: 0; right: 0; top: 0; padding: calc(78px + 4.5vh) var(--gutter) 0; text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .35), 0 2px 34px rgba(20, 10, 0, .45);
}
.peak--dawn .peak-head .eyebrow { color: #efe6d6; letter-spacing: .34em; }
.peak--dawn .peak-head .eyebrow span { margin: 0 .6em; color: var(--sand); }
.peak--dawn .shop-title { font-size: clamp(3rem, 7.2vw, 6.8rem); font-weight: 300; line-height: .95; margin: 14px 0 8px; color: #f6efe3; }
.peak--dawn .shop-sub { font-family: var(--serif); font-style: italic; color: #f3e8d6; font-size: clamp(1.2rem, 2.1vw, 1.75rem); }

/* each product sits beside its cap, on the outer side */
.peak-item {
  --caph: calc(var(--fw) * var(--wn) * .667);
  position: absolute; top: calc(var(--y) - var(--caph) * .55); transform: translateY(-50%);
  display: grid; gap: 8px; width: max-content;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .55), 0 1px 14px rgba(0, 0, 0, .75); transition: opacity .45s var(--ease-soft);
}
.peak-item[data-n="01"] { right: calc(100% - var(--x) + var(--w) / 2 + 22px); justify-items: end; text-align: right; }
.peak-item[data-n="02"] { left: calc(var(--x) + var(--w) / 2 + 22px); justify-items: start; }
.peak-name { display: flex; align-items: center; gap: 10px; margin: 0; font-size: .7rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--bone); }
.peak-name .sw { width: 14px; height: 14px; }
.peak-num { color: #f3dcb0; letter-spacing: .12em; }
.peak-price { margin: -2px 0 4px; font-size: .74rem; letter-spacing: .16em; color: #e7dccb; }
.pill {
  display: inline-flex; align-items: center; gap: 12px; min-height: 40px; padding: 0 16px;
  border: 1px solid rgba(243, 237, 225, .55); background: rgba(14, 12, 16, .28);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  font-size: .6rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--bone);
  transition: background .3s, color .3s, border-color .3s;
}
.pill:hover { border-color: var(--sand); background: var(--sand); color: #17130f; text-shadow: none; }
.try-link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 36px;
  font-size: .6rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #f1dcb2;
  transition: color .3s;
}
.try-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.try-link:hover { color: var(--bone); }
.pill:focus-visible, .try-link:focus-visible, .peak-cta:focus-visible, .peak-side:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }
.peak-set:has(.peak-item.is-hot) .peak-item:not(.is-hot) { opacity: .5; }

.peak-side {
  position: absolute; z-index: 3; left: calc(var(--gutter) + 18px); top: 54%;
  display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 14px; row-gap: 12px;
  font-size: .58rem; font-weight: 500; letter-spacing: .24em; line-height: 1.6; text-transform: uppercase; color: var(--bone);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .6); transition: opacity .4s, color .3s;
}
.peak-side-dot { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(243, 237, 225, .7); display: grid; place-items: center; }
.peak-side-dot::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--bone); }
.peak-side-line { grid-column: 2; width: 92px; height: 1px; background: rgba(243, 237, 225, .6); position: relative; }
.peak-side-line::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid rgba(243, 237, 225, .8); border-right: 1px solid rgba(243, 237, 225, .8); transform: rotate(45deg); }
.peak-side:hover { color: var(--sand); }
.peak-cta {
  position: absolute; z-index: 3; left: 50%; bottom: 20px; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 10px; padding-top: 8px; white-space: nowrap;
  font-size: .6rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: #f4ecdf;
  border-top: 1px solid rgba(243, 237, 225, .45); transition: opacity .4s, color .3s;
}
.peak-cta span { animation: ctabob 2.4s ease-in-out infinite; }
@keyframes ctabob { 50% { transform: translateY(4px); } }
.peak-cta:hover { color: var(--sand); }

/* focus: the camera moves in on the chosen cap; the landscape stays */
.peak--dawn.is-focus .peak-frame { transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(2); }
.peak--dawn .peak-bg { transition: filter 1.1s var(--ease-soft); }
.peak--dawn.is-focus .peak-bg { filter: blur(3px) brightness(.72); }
.peak--dawn.is-focus .peak-head, .peak--dawn.is-focus .peak-item, .peak--dawn.is-focus .peak-side, .peak--dawn.is-focus .peak-cta, .peak--dawn.is-focus .peak-sky { opacity: 0; pointer-events: none; transition: opacity .4s; }
.peak--dawn.is-focus .peak-cap { pointer-events: none; }
.peak--dawn.is-focus .peak-cap:not(.is-chosen) { opacity: 0; }
.peak--dawn.is-focus .peak-shadow { opacity: 1; transform: scale(1.08, 1.5); }
.focus {
  position: absolute; z-index: 5; inset: auto 0 0 0; max-height: 82svh; overflow: auto;
  display: grid; gap: 18px; padding: 20px var(--gutter) 28px;
  background: rgba(14, 13, 12, .9); border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transform: translateY(102%); transition: transform .7s var(--ease-out);
}
.focus[hidden] { display: grid; visibility: hidden; }
.peak.is-focus .focus { transform: none; visibility: visible; }
.focus-back { justify-self: start; font-size: .64rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--bone-soft); }
.focus-back:hover { color: var(--bone); }
.focus-media { display: grid; gap: 10px; }
.focus-main { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #0c0c0b; }
.focus-view { font-size: .6rem; letter-spacing: .24em; text-transform: uppercase; color: var(--sand); }
.focus-thumbs { display: flex; gap: 8px; overflow-x: auto; }
.focus-thumbs button { flex: none; width: 64px; height: 64px; border: 1px solid transparent; opacity: .6; transition: opacity .3s; }
.focus-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.focus-thumbs button.is-on { opacity: 1; border-color: var(--sand); }
.focus-note { font-size: .7rem; color: var(--bone-dim); }
.focus-name { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 6vw, 2.8rem); line-height: 1.05; margin: 8px 0 4px; }
.focus-price { font-family: var(--serif); font-size: 1.6rem; color: var(--sand); }
.focus-colors, .tryon-colors { display: flex; gap: 10px; margin: 14px 0 10px; flex-wrap: wrap; }
.swatch-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px 8px 10px; border: 1px solid var(--line); font-size: .85rem; transition: border-color .3s; }
.swatch-btn[aria-checked="true"] { border-color: var(--sand); }
.focus-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 8px 0 14px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.focus-feats li { display: grid; gap: 8px; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-dim); }
.focus-feats svg { width: 22px; height: 22px; fill: none; stroke: var(--sand); stroke-width: 1.2; }
.focus-feats b { display: block; margin-top: 3px; font-weight: 500; letter-spacing: .08em; color: var(--bone); }
.focus-meta { font-size: .8rem; color: var(--bone-soft); margin-bottom: 16px; }
.focus-try, .focus-buy { width: 100%; margin-bottom: 10px; min-height: 48px; }

@media (min-width: 960px) {
  .focus { inset: 0 0 0 auto; width: min(46vw, 640px); max-height: none; padding: 96px 44px 40px; border-top: 0; border-left: 1px solid var(--line); transform: translateX(102%); align-content: start; }
}

/* narrow screens: each product's details sit above its cap */
@media (max-width: 760px), (orientation: portrait) {
  .peak-item[data-n] { left: var(--x); right: auto; top: calc(var(--y) - var(--caph) - 14px); transform: translate(-50%, -100%); justify-items: center; text-align: center; }
  .peak--dawn [data-n] { --wn: .115; }
  .peak-side { display: none; }
}
@media (max-width: 560px) {
  .peak-item { gap: 6px; }
  .peak-name { font-size: .58rem; letter-spacing: .2em; gap: 7px; }
  .peak-name .sw { width: 11px; height: 11px; }
  .peak-price { font-size: .68rem; }
  .pill { min-height: 38px; padding: 0 12px; font-size: .56rem; letter-spacing: .16em; gap: 8px; }
  .try-link { font-size: .56rem; letter-spacing: .16em; gap: 7px; }
  .try-link svg { width: 17px; height: 17px; }
  .peak--dawn .peak-head { padding-top: calc(76px + 3vh); }
  .peak--dawn .peak-head .eyebrow { font-size: .56rem; letter-spacing: .22em; }
}
/* short wide screens: the hint moves to the corner so it never touches the caps */
@media (orientation: landscape) and (max-height: 780px) {
  .peak-cta { left: auto; right: calc(var(--gutter) + 18px); transform: none; }
}
@media (prefers-reduced-motion: reduce) { .peak-cta span { animation: none; } }

/* ---------- Probador virtual: imagen a un lado, controles al otro ---------- */
.tryon {
  width: min(1060px, calc(100vw - 32px)); max-width: none; max-height: calc(100svh - 32px); margin: auto; padding: 0;
  border: 1px solid rgba(243, 237, 225, .14); background: #111012; color: var(--bone);
}
.tryon::backdrop { background: rgba(6, 6, 8, .74); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.tryon-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); min-height: min(640px, calc(100svh - 34px)); }
.tryon-close { position: absolute; z-index: 3; right: 8px; top: 6px; width: 44px; height: 44px; font-size: 1.6rem; line-height: 1; color: var(--bone-soft); }
.tryon-close:hover { color: var(--bone); }
.tryon-step[hidden], .tryon [hidden] { display: none !important; }

/* stage */
.tryon-panel { order: 1; display: flex; flex-direction: column; justify-content: center; padding: 44px 40px 34px; overflow: auto; max-height: calc(100svh - 34px); }
.tryon-stage { order: 2; position: relative; overflow: hidden; background: #070708; min-height: 320px; }
.tryon-stage > img, .tryon-stage > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s var(--ease-soft); }
.stage-video { transform: scaleX(-1); }
.stage-photo, .stage-result { object-fit: contain !important; background: #070708; }
.tryon[data-mode="intro"] .stage-cap, .tryon[data-mode="error"]:not([data-photo]) .stage-cap { opacity: .92; }
.tryon[data-mode="camera"] .stage-video { opacity: 1; }
.tryon:is([data-mode="preview"], [data-mode="loading"])[data-photo] .stage-photo,
.tryon[data-mode="error"][data-photo] .stage-photo { opacity: 1; }
.tryon[data-mode="result"] .stage-result { opacity: 1; }
.tryon[data-mode="loading"] .stage-photo { filter: brightness(.55) saturate(.7); }
.stage-loading { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .4s; }
.tryon[data-mode="loading"] .stage-loading { opacity: 1; }
.stage-loading::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(243, 225, 190, .12) 50%, transparent 70%); background-size: 250% 100%; animation: tsweep 2.2s linear infinite; }
@keyframes tsweep { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.stage-note { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; font-size: .6rem; letter-spacing: .26em; text-transform: uppercase; color: rgba(243, 237, 225, .7); opacity: 0; transition: opacity .4s; }
.tryon[data-mode="intro"] .stage-note--intro { opacity: 1; }
.tryon-badge { position: absolute; left: 14px; bottom: 14px; margin: 0; padding: 7px 12px; font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; background: rgba(11, 11, 10, .78); opacity: 0; transition: opacity .4s; }
.tryon[data-mode="result"] .tryon-badge { opacity: 1; }

/* panel */
.tryon-eyebrow { display: flex; align-items: center; gap: 8px; color: var(--sand); }
.tryon-eyebrow::before { content: ""; width: 14px; height: 14px; border: 1px solid currentColor; border-radius: 50%; box-shadow: inset 0 0 0 3px #111012, inset 0 0 0 10px currentColor; }
.tryon-title { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.02; letter-spacing: .02em; text-transform: uppercase; margin: 14px 0 8px; }
.tryon-title--sm { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.tryon-text { color: var(--bone-soft); }
.tryon-colors { display: flex; gap: 10px; margin: 18px 0 14px; flex-wrap: wrap; }
.tryon-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 6px 0 16px; }
.tryon-tiles:has(> :only-child) { grid-template-columns: 1fr; }
.tryon-tile {
  display: grid; justify-items: center; gap: 4px; padding: 20px 12px 18px; cursor: pointer; text-align: center;
  border: 1px solid rgba(243, 237, 225, .34); transition: border-color .3s, background .3s;
}
.tryon-tile:first-child { background: var(--bone); color: #17130f; border-color: var(--bone); }
.tryon-tile:first-child span { color: #5b544a; }
.tryon-tile:hover { border-color: var(--sand); }
.tryon-tile:first-child:hover { background: var(--sand); border-color: var(--sand); }
.tryon-tile:focus-within, .tryon-tile:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }
.tryon-tile svg { width: 24px; height: 24px; margin-bottom: 6px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.tryon-tile b { font-size: .86rem; font-weight: 500; }
.tryon-tile span { font-size: .72rem; color: var(--bone-dim); }
.tryon-tips { margin: 0 0 18px; display: grid; gap: 6px; font-size: .8rem; color: var(--bone-soft); }
.tryon-tips li::before { content: "—"; color: var(--sand); margin-right: 10px; }
.tryon-notes { display: grid; gap: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.tryon-notes li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; font-size: .74rem; color: var(--bone-dim); }
.tryon-notes svg { width: 22px; height: 22px; fill: none; stroke: var(--sand); stroke-width: 1.2; }
.tryon-notes b { display: block; font-weight: 500; font-size: .8rem; color: var(--bone); margin-bottom: 2px; }
.tryon-pick { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.tryon-pick .btn { flex: 1 1 200px; min-height: 50px; padding-inline: 16px; cursor: pointer; white-space: nowrap; }
.tryon-pick--wrap .btn { flex: 1 1 46%; }
.tryon-small { margin-top: 14px; font-size: .72rem; line-height: 1.55; color: var(--bone-dim); }
.tryon-consent { display: block; margin-top: 16px; font-size: .82rem; line-height: 1.55; color: var(--bone-soft); }
.tryon-consent input { width: 18px; height: 18px; margin-right: 8px; vertical-align: -3px; accent-color: var(--sand); }
.tryon-consent a { text-decoration: underline; }
.tryon-privacy { margin-top: 12px; padding: 12px; border: 1px solid var(--line); font-size: .76rem; line-height: 1.55; color: var(--bone-soft); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.tryon-pulse { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--sand); animation: tpulse 1.6s var(--ease-soft) infinite; }
@keyframes tpulse { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }

/* phones: image on top, controls below */
@media (max-width: 760px) {
  .tryon { width: 100vw; height: 100svh; max-height: none; border: 0; }
  .tryon-inner { grid-template-columns: 1fr; grid-template-rows: auto 1fr; min-height: 100svh; }
  .tryon-stage { order: 0; min-height: 0; height: 42svh; }
  .tryon[data-mode="result"] .tryon-stage { height: 56svh; }
  .tryon-panel { padding: 24px 18px 28px; max-height: none; }
  .tryon-close { background: rgba(11, 11, 10, .6); border-radius: 50%; right: 10px; top: 10px; }
  .tryon-title { font-size: 1.9rem; }
}
@media (prefers-reduced-motion: reduce) { .tryon-pulse, .stage-loading::after { animation: none; } .peak--dawn .peak-frame, .focus { transition: none; } }

/* =============================================================
   18. Checkout y confirmación de pedido
   ============================================================= */
.page-checkout { background: #0e0d0f; }
.page-checkout .topbar { background: #0e0d0f; border-bottom: 1px solid var(--line); }
.co-back { font-size: .64rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--bone-soft); }
.co-back:hover { color: var(--sand); }
.co { max-width: 1180px; margin: 0 auto; padding: 120px var(--gutter) 80px; }
.co-head { margin-bottom: 36px; }
.co-title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; margin-top: 10px; }
.co-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.co-form { order: 1; }
.co-summary { order: 2; position: sticky; top: 100px; padding: 28px; border: 1px solid var(--line); background: #141315; }
.co-h2 { font-size: .66rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--sand); margin: 0 0 18px; }
.co-form .co-h2:not(:first-child) { margin-top: 34px; }
.co-item { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; margin-bottom: 20px; }
.co-item img { width: 96px; height: 96px; object-fit: cover; background: #0b0b0a; }
.co-item-name { font-family: var(--serif); font-size: 1.3rem; line-height: 1.15; }
.co-item-meta { font-size: .78rem; color: var(--bone-dim); margin-top: 4px; }
.co-item-price { font-family: var(--serif); font-size: 1.15rem; color: var(--sand); margin-top: 4px; }
.co-qty { display: flex; align-items: center; justify-content: space-between; margin: 8px 0 18px; font-size: .66rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--bone-dim); }
.qty { display: inline-flex; border: 1px solid var(--line); }
.qty button { width: 44px; height: 44px; font-size: 1.1rem; color: var(--bone); }
.qty button:hover { color: var(--sand); }
.qty input { width: 48px; height: 44px; border: 0; border-inline: 1px solid var(--line); background: none; color: var(--bone); text-align: center; font: inherit; font-size: 1rem; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.co-totals { display: grid; gap: 10px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .9rem; }
.co-totals div { display: flex; justify-content: space-between; }
.co-totals dt { color: var(--bone-soft); }
.co-total { padding-top: 8px; }
.co-total dt { color: var(--bone); font-weight: 500; }
.co-total dd { font-family: var(--serif); font-size: 1.6rem; color: var(--sand); line-height: 1; }
.co-total small { font-family: var(--sans); font-size: .62rem; letter-spacing: .18em; color: var(--bone-dim); }
.co-perks { margin-top: 18px; padding-top: 0; border-top: 0; font-size: .8rem; color: var(--bone-soft); }
.co-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field span { font-size: .62rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--bone-dim); }
.field input, .field select {
  width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid rgba(237, 231, 220, .22); background: #141315;
  color: var(--bone); font: inherit; font-size: 1rem; border-radius: 0; transition: border-color .3s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--bone-soft) 50%), linear-gradient(135deg, var(--bone-soft) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--sand); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #d98b74; }
.field em, .co-terms em { font-style: normal; font-size: .76rem; color: #e7a08a; min-height: 0; }
.field em:empty, .co-terms em:empty { display: none; }
.co-terms { display: block; margin: 26px 0 0; font-size: .86rem; line-height: 1.5; color: var(--bone-soft); }
.co-terms input { width: 18px; height: 18px; margin-right: 8px; vertical-align: -3px; accent-color: var(--sand); }
.co-terms a { text-decoration: underline; }
.co-terms em { display: block; margin-top: 6px; }
.co-alert { margin-top: 18px; padding: 14px 16px; border: 1px solid rgba(217, 139, 116, .5); background: rgba(217, 139, 116, .08); font-size: .88rem; line-height: 1.5; }
.co-alert a { text-decoration: underline; color: var(--sand); }
.co-pay { display: block; width: 100%; min-height: 58px; margin-top: 22px; padding: 18px 16px; font-size: .74rem; line-height: 1.5; text-align: center; }
.co-pay[disabled] { opacity: .7; cursor: progress; }
.co-note { margin-top: 12px; font-size: .76rem; line-height: 1.55; color: var(--bone-dim); }
.footer--slim { padding: 28px var(--gutter); }
@media (max-width: 900px) {
  .co { padding-top: 100px; }
  .co-grid { grid-template-columns: 1fr; }
  .co-summary { order: 0; position: static; padding: 20px; }
}
@media (max-width: 560px) {
  .co-fields { grid-template-columns: 1fr; }
}

/* confirmación */
.order { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 110px var(--gutter) 60px; overflow: hidden; isolation: isolate; }
.order-bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; filter: brightness(.45) saturate(.9); }
.order-card { width: min(560px, 100%); padding: clamp(28px, 5vw, 48px); background: rgba(14, 13, 15, .78); border: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.order-title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 6vw, 3.4rem); line-height: 1.02; margin: 12px 0 12px; }
.order-text { color: var(--bone-soft); line-height: 1.6; }
.order[data-state="approved"] .eyebrow { color: #b9d7a8; }
.order[data-state="rejected"] .eyebrow, .order[data-state="cancelled"] .eyebrow, .order[data-state="error"] .eyebrow { color: #e7a08a; }
.order-sum { display: grid; gap: 10px; margin: 24px 0 4px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .9rem; }
.order-sum div { display: flex; justify-content: space-between; gap: 16px; }
.order-sum dt { color: var(--bone-dim); }
.order-sum dd { text-align: right; }
.order-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.order-actions .btn { flex: 1 1 200px; min-height: 50px; }
.order [hidden] { display: none !important; }

/* nothing may push the page sideways on phones (clip keeps sticky elements working) */
html, body { overflow-x: clip; }

/* =============================================================
   19. Instagram (@changes.newera)
   ============================================================= */
.ig-link {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px;
  font-size: .64rem; font-weight: 500; letter-spacing: .16em; color: var(--bone-soft);
  transition: color .3s;
}
.ig-link:hover { color: var(--bone); }
.ig-link span { display: none; }
@media (min-width: 1100px) { .ig-link span { display: inline; } }
.foot-ig { display: inline-flex; align-items: center; gap: 8px; }
.foot-ig svg { flex: none; }
.ig-link { flex: none; }
@media (max-width: 480px) {
  .topbar { gap: 10px; }
  .ig-link { padding: 6px; }
  .brand span { letter-spacing: .26em; }
}
