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

:root {
  --bg:         #FAF8F4;
  --navy:       #193764;
  --amber:      #FFBD59;
  --body-txt:   #3a4a5e;
  --divider:    rgba(25,55,100,0.15);
  --navy-light: rgba(25,55,100,0.08);
}

html, body {
  width: 100%; height: 100%;
  overflow: hidden;
  background: var(--bg);
  font-family: 'Montserrat', sans-serif;
  color: var(--body-txt);
}

/* ═══════════════════════════════════════
   HEADER
═══════════════════════════════════════ */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 58px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  background: var(--bg);
  border-bottom: 1px solid var(--divider);
}

.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600; font-size: 13px;
  letter-spacing: 0.26em; color: var(--navy);
  text-transform: uppercase; text-decoration: none;
}
.logo-mark {
  width: 26px; height: 26px;
  border: 1.8px solid var(--navy);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px; font-weight: 600;
  color: var(--navy);
  position: relative;
}
.logo-mark::after {
  content: '';
  position: absolute;
  bottom: -2px; right: -2px;
  width: 6px; height: 6px;
  background: var(--amber);
  border-radius: 50%;
}

nav {
  display: flex; gap: 36px;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-label {
  font-size: 8.5px; font-weight: 400; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--navy);
  opacity: 0.7;
}

.header-icons {
  display: flex; align-items: center; gap: 22px;
}
.header-icons button {
  background: none; border: none; cursor: pointer;
  color: var(--navy); opacity: 0.55; padding: 4px;
  transition: opacity 0.2s;
  display: flex; align-items: center;
}
.header-icons button:hover { opacity: 1; }
.header-icons svg { width: 17px; height: 17px; }

/* ═══════════════════════════════════════
   HERO — 28/72 split
═══════════════════════════════════════ */
.hero {
  width: 100vw; height: 100vh;
  display: flex;
  padding-top: 58px;
  overflow: hidden;
}

/* ─── LEFT TEXT PANEL ─── */
.panel-text {
  width: 28%;
  height: 100%;
  background: var(--bg);
  position: relative;
  flex-shrink: 0;
  border-right: 1px solid var(--divider);
  overflow: hidden;
}
.panel-text-inner {
  width: 100%;
  height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 52px 0 64px;
  transition: opacity 0.4s ease, transform 0.5s ease;
}
.panel-text-inner.swap-out-left  { opacity: 0; transform: translateX(-30px); }
.panel-text-inner.swap-out-right { opacity: 0; transform: translateX(30px); }

.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 8px; font-weight: 500;
  letter-spacing: 0.36em; text-transform: uppercase;
  color: var(--navy); opacity: 0.55;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 22px; height: 1.5px;
  background: var(--amber);
  flex-shrink: 0;
}

.product-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(44px, 5vw, 78px);
  line-height: 0.90;
  color: var(--navy);
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}
.color-name {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 300;
  letter-spacing: 0.30em;
  color: var(--body-txt);
  margin-top: 10px;
  transition: opacity 0.3s ease;
}

.divider-line {
  width: 100%;
  height: 1px;
  background: var(--divider);
  margin: 22px 0;
}

.desc {
  font-size: 11.5px; font-weight: 300;
  line-height: 1.95; color: var(--body-txt);
  max-width: 300px;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
  text-align: justify;
}

/* SIZES */
.size-label {
  font-size: 8px; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--navy); opacity: 0.5;
  margin-bottom: 10px;
}
.sizes {
  display: flex; gap: 8px; margin-bottom: 22px;
}
.size-btn {
  width: 38px; height: 38px;
  border: 1px solid var(--divider);
  background: transparent;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--body-txt);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex; align-items: center; justify-content: center;
}
.size-btn:hover { border-color: var(--navy); color: var(--navy); }
.size-btn.active {
  background: var(--navy); color: #fff;
  border-color: var(--navy);
}

/* PRICE */
.price-row {
  display: flex; align-items: baseline; gap: 4px;
  margin-bottom: 6px;
}
.price-symbol {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px; font-weight: 300;
  color: var(--navy);
  position: relative;
}
.price-symbol::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--amber);
  opacity: 0.7;
}
.price-value {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(30px, 3.2vw, 48px);
  color: var(--navy); line-height: 1;
}
.shipping-note {
  display: flex; align-items: center; gap: 7px;
  font-size: 8px; font-weight: 400;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--body-txt); opacity: 0.6;
  margin-bottom: 24px;
}
.shipping-note svg { width: 12px; height: 12px; flex-shrink: 0; }

/* CTA */
.cta-row { display: flex; gap: 10px; margin-bottom: 20px; }
.btn-primary {
  background: var(--navy); color: #fff;
  border: 1px solid var(--amber);
  padding: 13px 30px;
  font-family: 'Montserrat', sans-serif;
  font-size: 8.5px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  cursor: pointer; transition: all 0.25s ease;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--amber); color: var(--navy);
  border-color: var(--amber);
}
.btn-secondary {
  background: transparent; color: var(--navy);
  border: 1px solid var(--divider);
  padding: 13px 22px;
  font-family: 'Montserrat', sans-serif;
  font-size: 8.5px; font-weight: 300;
  letter-spacing: 0.22em; text-transform: uppercase;
  cursor: pointer; transition: all 0.25s ease;
  opacity: 0.7;
  text-decoration: none; display: inline-flex; align-items: center;
}
.btn-secondary:hover { border-color: var(--navy); opacity: 1; }

/* COLOR SWATCHES */
.color-section {
  display: flex; flex-direction: column; gap: 10px;
}
.color-label {
  font-size: 8px; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--navy); opacity: 0.5;
}
.swatches-row { display: flex; gap: 10px; }
.swatch {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
  outline: none;
  box-shadow: 0 1px 5px rgba(0,0,0,0.15);
  padding: 0;
}
.swatch:hover { transform: scale(1.1); }
.swatch.active { border-color: var(--navy); }

/* FEATURES */
.features-strip {
  position: absolute;
  bottom: 28px; left: 64px;
  display: flex; gap: 32px;
}
.feature-item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
}
.feature-name {
  font-size: 7px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--navy); opacity: 0.55;
}
.feature-sub {
  font-size: 6.5px; font-weight: 300;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--body-txt); opacity: 0.5;
}

/* ─── RIGHT PHOTO PANEL ─── */
.panel-photo {
  width: 72%;
  height: 100%;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.model-photo {
  position: absolute; inset: 0;
  z-index: 1;
}
.model-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
  transition: opacity 0.4s ease, transform 0.6s ease;
}
.model-photo img.swap-out-left  { opacity: 0; transform: translateX(-40px); }
.model-photo img.swap-out-right { opacity: 0; transform: translateX(40px); }

.jacket-stage {
  position: absolute; inset: 0;
  z-index: 3;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}

.photo-vignette {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(to right, var(--bg) 0%, transparent 10%),
    linear-gradient(to bottom, rgba(25,55,100,0.08) 0%, transparent 20%),
    linear-gradient(to top, rgba(25,55,100,0.12) 0%, transparent 18%);
}

.jacket-wrap {
  width: min(68vh, 520px);
  height: min(68vh, 520px);
  display: flex; align-items: center; justify-content: center;
  animation: floatJacket 5.5s ease-in-out infinite;
  pointer-events: all;
  cursor: pointer;
  position: relative;
}

.jacket-shadow {
  position: absolute;
  bottom: 8%;
  left: 50%; transform: translateX(-50%);
  width: 220px; height: 20px;
  background: radial-gradient(ellipse at center,
    rgba(25,55,100,0.18) 0%,
    transparent 70%
  );
  filter: blur(10px);
  z-index: 0;
  animation: shadowPulse 5.5s ease-in-out infinite;
}

@keyframes shadowPulse {
  0%, 100% { transform: translateX(-50%) scaleX(1); opacity: 1; }
  50%      { transform: translateX(-50%) scaleX(0.84); opacity: 0.7; }
}

.jacket-img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 24px 48px rgba(25,55,100,0.18))
    drop-shadow(0 8px 20px rgba(25,55,100,0.12));
  transition: transform 0.5s ease, filter 0.4s ease, opacity 0.4s ease;
  position: relative; z-index: 1;
}
.jacket-img.swap-out-left  { opacity: 0; transform: translateX(-60px) scale(0.95); }
.jacket-img.swap-out-right { opacity: 0; transform: translateX(60px) scale(0.95); }

.jacket-wrap:hover .jacket-img {
  transform: scale(1.04) translateY(-7px);
  filter:
    drop-shadow(0 36px 60px rgba(25,55,100,0.24))
    drop-shadow(0 12px 28px rgba(25,55,100,0.16));
}

/* WhatsApp hint badge en hover del mockup */
.jacket-wrap::after {
  content: '';
  position: absolute;
  top: 12%; right: 12%;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #25D366 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347z'/%3E%3Cpath d='M12 0C5.373 0 0 5.373 0 12c0 2.137.564 4.14 1.534 5.876L0 24l6.29-1.508A11.955 11.955 0 0012 24c6.627 0 12-5.373 12-12S18.627 0 12 0zm0 22c-1.885 0-3.65-.51-5.17-1.394l-.37-.22-3.732.895.937-3.63-.242-.374A9.96 9.96 0 012 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10z'/%3E%3C/svg%3E") center/60% no-repeat;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 10;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(37,211,102,0.4);
}
.jacket-wrap:hover::after {
  opacity: 1;
  transform: scale(1);
}

@keyframes floatJacket {
  0%,100% { transform: translateY(0px) rotate(0.3deg); }
  33%     { transform: translateY(-13px) rotate(-0.25deg); }
  66%     { transform: translateY(-7px) rotate(0.4deg); }
}

/* PRODUCT TAG */
.product-tag {
  position: absolute;
  top: 28px; right: 28px;
  z-index: 5;
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
}
.tag-label {
  font-size: 7px; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--navy); opacity: 0.5;
}
.tag-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
}

/* DOTS */
.dots {
  position: absolute;
  bottom: 28px; right: 28px;
  display: flex; flex-direction: column; gap: 7px;
  z-index: 10;
}
.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(25,55,100,0.2);
  border: none; cursor: pointer;
  transition: background 0.25s, transform 0.25s;
  padding: 0;
}
.dot.active {
  background: var(--navy);
  transform: scale(1.3);
}

/* ═══════════════════════════════════════
   NAV ARROWS — pasar entre modelos
═══════════════════════════════════════ */
.nav-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 15;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(250, 248, 244, 0.85);
  border: 1px solid var(--divider);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--navy);
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(25,55,100,0.08);
}
.nav-arrow:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 6px 18px rgba(25,55,100,0.20);
}
.nav-arrow:hover svg { stroke: var(--amber); }
.nav-arrow svg { width: 18px; height: 18px; transition: stroke 0.2s; }
.nav-arrow-prev { left: 24px; }
.nav-arrow-next { right: 70px; }

.nav-arrow:disabled,
.nav-arrow.is-busy {
  pointer-events: none;
  opacity: 0.6;
}

/* ═══════════════════════════════════════
   MOBILE SWATCHES BAR — hidden on desktop
═══════════════════════════════════════ */
.mobile-swatches-bar {
  display: none;
}

/* ═══════════════════════════════════════
   MOBILE — stack vertical
═══════════════════════════════════════ */
@media (max-width: 768px) {

  html, body { overflow-y: auto; height: auto; }

  /* Header */
  header {
    padding: 0 20px;
    height: 52px;
  }
  nav { display: none; }
  .header-icons { gap: 14px; }

  /* Hero stack vertical */
  .hero {
    flex-direction: column;
    height: auto;
    padding-top: 52px;
    overflow: visible;
  }

  /* Photo arriba */
  .panel-photo {
    width: 100%;
    height: 72vw;
    min-height: 340px;
    order: 1;
    flex-shrink: 0;
  }

  .model-photo img {
    object-position: center top;
  }

  .jacket-stage {
    align-items: center;
    justify-content: center;
  }
  .jacket-wrap {
    width: min(48vw, 220px);
    height: min(48vw, 220px);
  }

  /* Hide visual extras on mobile */
  .dots { display: none; }
  .product-tag { display: none; }

  /* Needed so the pill can overflow below the photo panel */
  .panel-photo { overflow: visible; }
  /* Keep the actual photo clipped inside */
  .model-photo { overflow: hidden; border-radius: 0; }

  /* Mobile swatches bar — floating pill at bottom of photo */
  .mobile-swatches-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%) translateY(50%);
    z-index: 20;
    background: var(--bg);
    border: 1px solid var(--divider);
    border-radius: 100px;
    padding: 10px 20px;
    box-shadow: 0 4px 18px rgba(25,55,100,0.12);
  }

  /* Hide original color section in text panel on mobile */
  .color-section { display: none; }

  /* Nav arrows mobile — más chicas, sobre la foto */
  .nav-arrow {
    width: 38px; height: 38px;
  }
  .nav-arrow svg { width: 15px; height: 15px; }
  .nav-arrow-prev { left: 14px; }
  .nav-arrow-next { right: 14px; }

  /* Text panel abajo */
  .panel-text {
    width: 100%;
    height: auto;
    border-right: none;
    border-top: 1px solid rgba(25,55,100,0.07);
    box-shadow: 0 -8px 24px rgba(25,55,100,0.04);
    order: 2;
    overflow: visible;
  }
  .panel-text-inner {
    height: auto;
    padding: 48px 24px 36px 24px;
  }

  /* Typography scale */
  .eyebrow { font-size: 7.5px; margin-bottom: 12px; }

  .product-title {
    font-size: clamp(38px, 11vw, 58px);
    margin-bottom: 4px;
  }
  .color-name {
    font-size: 10px;
    margin-top: 8px;
  }

  .divider-line { margin: 16px 0; }

  .desc {
    font-size: 12px;
    max-width: 100%;
    margin-bottom: 20px;
  }

  /* Sizes — más grandes para touch */
  .size-label { margin-bottom: 8px; }
  .sizes { gap: 7px; margin-bottom: 18px; }
  .size-btn { width: 44px; height: 44px; font-size: 11px; }

  /* Price */
  .price-row { margin-bottom: 4px; }
  .price-symbol { font-size: 18px; }
  .price-value { font-size: clamp(28px, 8vw, 40px); }

  .shipping-note { font-size: 8px; margin-bottom: 20px; }

  /* CTA — full width stack */
  .cta-row {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
  }
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 9px;
  }
  .btn-secondary { padding: 14px 24px; }

  /* Swatches */
  .color-label { font-size: 8px; }
  .swatch { width: 32px; height: 32px; }

  /* Features strip — fila horizontal abajo */
  .features-strip {
    position: relative;
    bottom: auto; left: auto;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--divider);
    justify-content: space-between;
    width: 100%;
    gap: 0;
  }
  .feature-name { font-size: 7.5px; }
  .feature-sub { font-size: 6.5px; }
}
