:root{
  --bg:#eceef1;
  --surface:#ffffff;
  --ink:#1b1c1f;
  --ink-strong:#101113;
  --muted:#777b82;
  --line:#e1e4e8;
  --accent:#1b1c1f;
  --accent-soft:rgba(27,28,31,.06);
  --button:#1b1c1f;
  --radius-xl:22px;
  --radius-lg:16px;
  --radius-md:12px;
  --shadow-soft:0 16px 40px rgba(22,25,32,.07);
  --shadow-ui:0 10px 24px rgba(22,25,32,.06);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-height:100vh;
  font-family:"Geist",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ink);
  background:
    radial-gradient(circle at 50% -5%, #f6f7f9 0%, transparent 42%),
    linear-gradient(165deg,#eef0f3 0%,#e5e7eb 58%,#eef0f2 100%);
  background-attachment:fixed;
  overflow-x:hidden;
}

.page-grain{
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.04;
  mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.17'/%3E%3C/svg%3E");
}

img{display:block;max-width:100%}
a{text-decoration:none;color:inherit}
button{font:inherit}

.site-header{
  position:relative;
  z-index:2;
  width:min(78vw, 1320px);
  margin:0 auto;
  padding:24px 0 4px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.brand{
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
}

.brand-title{
  font-size:clamp(28px,2vw,36px);
  font-weight:500;
  letter-spacing:.22em;
}

.brand-subtitle{
  font-size:11px;
  font-weight:400;
  letter-spacing:.55em;
  transform:translateX(.2em);
  color:var(--muted);
}

.top-nav{
  display:flex;
  align-items:center;
  gap:clamp(22px,2.6vw,40px);
}

.top-nav a{
  font-size:13px;
  font-weight:500;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:#4b4e54;
  transition:color .2s ease, transform .2s ease;
}
.top-nav a:hover{color:var(--ink); transform:translateY(-1px)}

.nav-button{
  background:var(--ink);
  color:#fff !important;
  padding:14px 24px;
  border-radius:999px;
  box-shadow:none;
}
.nav-button:hover{background:#000}

.product-layout{
  position:relative;
  width:min(78vw, 1320px);
  margin:0 auto;
  padding:14px 0 38px;
  min-height:calc(100vh - 92px);
  display:grid;
  grid-template-columns:minmax(230px,.72fr) minmax(330px,.88fr) minmax(320px,.72fr);
  align-items:center;
  column-gap:clamp(28px,3.2vw,54px);
}

.story-panel,
.visual-panel,
.detail-panel{position:relative;z-index:1}

.eyebrow,
.sub-eyebrow,
.control-title,
.product-name{
  margin:0;
  text-transform:uppercase;
}

.eyebrow{
  font-size:12px;
  font-weight:500;
  letter-spacing:.18em;
  margin-bottom:10px;
  color:var(--muted);
}

.sub-eyebrow{
  font-size:12px;
  font-weight:500;
  letter-spacing:.17em;
  color:var(--ink);
  margin-bottom:16px;
}

.accent-line,
.soft-line{
  display:block;
  width:58px;
  height:2px;
  border-radius:2px;
}

.accent-line{background:var(--ink); margin-bottom:24px}
.soft-line{background:rgba(27,28,31,.18); margin:18px 0 16px}

.hero-title{
  margin:0;
  max-width:370px;
  font-family:"Cormorant Garamond", Georgia, serif;
  font-size:clamp(58px,4.65vw,84px);
  line-height:.84;
  letter-spacing:-.035em;
  text-transform:uppercase;
  font-weight:300;
  color:var(--ink);
}

.hero-title span{display:block}
.hero-title .line-gold{color:#5c5f66}

.hero-copy{
  max-width:310px;
  margin:0 0 30px;
  font-size:clamp(15px,1vw,18px);
  line-height:1.42;
  font-weight:400;
  color:var(--ink-soft, #3a3d43);
}

.benefits-list{
  display:grid;
  gap:16px;
  max-width:240px;
}

.benefit-item{
  display:grid;
  grid-template-columns:50px 1fr;
  align-items:center;
  gap:14px;
}

.benefit-icon{
  width:50px;
  height:50px;
  border-radius:999px;
  border:1px solid var(--line);
  display:grid;
  place-items:center;
  color:var(--ink);
  background:var(--surface);
  transition:border-color .2s ease, background .2s ease, transform .2s ease, color .2s ease;
}
.benefit-item:hover .benefit-icon{
  border-color:var(--ink);
  transform:translateY(-2px);
}

.benefit-icon svg{
  width:25px;
  height:25px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.benefit-icon i{font-size:26px; line-height:1}

.benefit-item p{
  margin:0;
  font-size:12px;
  font-weight:400;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--muted);
}

.benefit-item strong{
  display:block;
  font-size:18px;
  line-height:1.02;
  text-transform:uppercase;
  letter-spacing:.04em;
  font-weight:500;
}

.visual-panel{
  min-height:560px;
  display:grid;
  align-items:center;
  justify-items:center;
}

.visual-orbit{
  position:absolute;
  width:min(31vw, 470px);
  aspect-ratio:1 / 1;
  border-radius:50%;
  border:1px solid rgba(27,28,31,.08);
  opacity:.9;
}

.product-stage{
  position:relative;
  width:min(30vw, 440px);
  min-height:530px;
  display:grid;
  place-items:center;
}

.product-stage::before{
  content:"";
  position:absolute;
  left:50%;
  top:49%;
  width:min(34vw, 500px);
  aspect-ratio:1 / 1;
  transform:translate(-50%,-50%);
  border-radius:50%;
  background:
    radial-gradient(circle at 50% 44%, rgba(255,255,255,.75) 0%, transparent 55%),
    radial-gradient(circle at 50% 62%, rgba(120,123,130,.08) 0%, transparent 66%);
  filter:blur(8px);
  z-index:0;
}

#productImage{
  position:relative;
  z-index:1;
  width:auto;
  max-width:min(70%, 330px);
  max-height:64vh;
  object-fit:contain;
  filter:drop-shadow(0 26px 42px rgba(40,44,52,.22));
  transition:transform .26s ease, opacity .26s ease;
}
#productImage.is-changing{opacity:.58; transform:translateY(8px) scale(.985)}

.nav-arrow{
  position:absolute;
  top:50%;
  z-index:3;
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border:0;
  background:transparent;
  color:var(--ink);
  cursor:pointer;
  opacity:.5;
  transition:transform .18s ease, color .18s ease, opacity .18s ease;
}
.nav-arrow i{font-size:32px; line-height:1}
.nav-arrow:hover{opacity:1; transform:translateY(-50%) scale(1.14)}
.nav-arrow:active{transform:translateY(-50%) scale(.95)}
.nav-prev{left:0; transform:translateY(-50%)}
.nav-next{right:0; transform:translateY(-50%)}

.visual-dots{
  position:absolute;
  bottom:22px;
  display:flex;
  gap:11px;
}

.dot{
  width:11px;
  height:11px;
  border-radius:50%;
  background:#cfd3d9;
}
.dot-active{background:var(--ink)}

.detail-panel{
  width:100%;
  max-width:400px;
  justify-self:end;
  padding:30px 28px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-xl);
  box-shadow:var(--shadow-soft);
}

.product-name{
  font-size:clamp(20px,1.65vw,25px);
  line-height:1.26;
  letter-spacing:.12em;
  font-weight:500;
  margin-bottom:20px;
}

.price-block{
  display:flex;
  align-items:flex-end;
  gap:12px;
  margin-bottom:24px;
}

.price-block strong{
  font-size:clamp(50px,3.6vw,62px);
  line-height:.88;
  font-weight:500;
  letter-spacing:-.05em;
  color:var(--ink-strong);
}

.price-block span{
  padding-bottom:9px;
  font-size:clamp(12px,.78vw,15px);
  text-transform:uppercase;
  letter-spacing:.14em;
  font-weight:500;
  color:var(--muted);
}

.section-divider{
  width:100%;
  height:1px;
  background:var(--line);
  margin-bottom:24px;
}

.control-block{margin-bottom:24px}

.control-title{
  display:block;
  margin-bottom:14px;
  font-size:13px;
  letter-spacing:.13em;
  font-weight:500;
  color:var(--muted);
}
.control-title strong{
  text-transform:none;
  letter-spacing:0;
  font-weight:500;
  font-size:16px;
  color:var(--ink);
}

.swatches,
.sizes{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.swatch{
  width:34px;
  height:34px;
  border:0;
  border-radius:999px;
  background:var(--swatch);
  cursor:pointer;
  position:relative;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.08), 0 4px 10px rgba(22,25,32,.12);
  transition:transform .18s ease;
}
.swatch:hover,.size:hover{transform:translateY(-2px)}
.swatch::after{
  content:"";
  position:absolute;
  inset:-6px;
  border-radius:999px;
  border:1.6px solid transparent;
  opacity:.75;
  transition:border-color .18s ease;
}
.swatch:hover::after{border-color:rgba(27,28,31,.25)}
.swatch-active{transform:scale(1.04)}
.swatch-active::after{inset:-5px; border-width:2px; border-color:var(--ink); opacity:1}
.swatch-active::before{
  content:"";
  position:absolute;
  left:50%;
  top:48%;
  width:5.5px;
  height:10px;
  border:solid #fff;
  border-width:0 2px 2px 0;
  transform:translate(-50%,-50%) rotate(42deg);
  filter:drop-shadow(0 1px 1.5px rgba(0,0,0,.55));
  z-index:1;
}

.size{
  min-width:44px;
  height:38px;
  padding:0 12px;
  border-radius:10px;
  border:1px solid var(--line);
  background:var(--surface);
  color:var(--ink);
  font-size:16px;
  font-weight:400;
  cursor:pointer;
  transition:all .18s ease;
}
.size:hover{
  border-color:var(--ink);
}
.size-active,
.size-active:hover{
  background:var(--ink);
  color:#fff;
  border-color:var(--ink);
}

.guide-toggle{
  appearance:none;
  border:0;
  background:transparent;
  padding:0;
  margin:2px 0 26px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  cursor:pointer;
  font-size:14px;
  text-transform:uppercase;
  letter-spacing:.13em;
  font-weight:500;
  color:var(--ink);
}

.guide-icon{
  width:26px;
  height:26px;
  display:grid;
  place-items:center;
  color:var(--muted);
}
.guide-icon svg{
  width:24px;
  height:24px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.guide-icon i{font-size:23px; line-height:1}

.size-guide{
  margin:-10px 0 24px;
  border:1px solid var(--line);
  background:var(--surface);
  border-radius:16px;
  overflow:hidden;
  box-shadow:var(--shadow-soft);
}

.size-guide-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 14px;
  border-bottom:1px solid var(--line);
}
.size-guide-head strong{
  font-size:14px;
  font-weight:500;
}
.size-guide-head span{
  font-size:11px;
  font-weight:500;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--muted);
}

table{width:100%; border-collapse:collapse; font-size:12px; text-align:left}
th,td{padding:10px 12px; border-bottom:1px solid var(--line)}
th{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.09em;
  font-weight:500;
  background:#f4f5f7;
  color:var(--muted);
}
tr.active-row td{
  background:var(--accent-soft);
  color:var(--ink);
  font-weight:500;
}

.action-group{display:grid; gap:12px}
.button{
  height:52px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:11px;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:13px;
  font-weight:500;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.button:active{transform:translateY(0)}
.button svg{
  width:23px;
  height:23px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.button i{font-size:23px; line-height:1}
.button-primary{
  color:#fff;
  background:var(--ink);
}
.button-primary:hover{
  transform:translateY(-2px);
  background:#000;
}
.button-secondary{
  color:var(--ink);
  background:var(--surface);
  border:1px solid var(--line);
}
.button-secondary:hover{
  transform:translateY(-2px);
  border-color:var(--ink);
}

.mobile-bar{display:none}

@media (min-width:861px) and (max-height:820px){
  .site-header{padding-top:20px}
  .product-layout{min-height:calc(100vh - 76px); padding-top:8px}
  .visual-panel{min-height:560px}
  .product-stage{min-height:540px}
  #productImage{max-height:66vh; max-width:min(64%, 330px)}
  .hero-title{font-size:clamp(58px,4.8vw,86px)}
  .hero-copy{margin-bottom:28px}
  .benefits-list{gap:16px}
  .price-block strong{font-size:clamp(54px,3.8vw,66px)}
  .control-block{margin-bottom:20px}
  .guide-toggle{margin-bottom:20px}
}

@media (max-width:1180px){
  .product-layout{
    grid-template-columns:1fr 1fr;
    grid-template-areas:
      "story detail"
      "visual visual";
    align-items:start;
  }
  .story-panel{grid-area:story}
  .detail-panel{grid-area:detail}
  .visual-panel{
    grid-area:visual;
    min-height:520px;
    padding-top:18px;
  }
  .product-stage{min-height:480px}
  #productImage{max-width:min(62%, 340px); max-height:68vh}
  .benefits-list{grid-template-columns:repeat(3,minmax(0,1fr)); max-width:100%; gap:16px}
  .benefit-item{grid-template-columns:46px 1fr; gap:12px}
  .benefit-icon{width:46px;height:46px}
  .hero-title{font-size:clamp(60px,7vw,88px)}
}

@media (max-width:860px){
  body{
    background:linear-gradient(160deg,#eef0f3 0%,#e6e8ec 100%);
  }
  .site-header{
    padding:20px 18px 0;
    justify-content:center;
  }
  .top-nav{display:none}
  .product-layout{
    display:flex;
    flex-direction:column;
    min-height:auto;
    gap:0;
    padding:6px 18px 92px;
  }
  .visual-panel{
    order:1;
    width:100%;
    min-height:0;
    padding-top:8px;
  }
  .visual-orbit{width:84vw}
  .product-stage{
    width:100%;
    min-height:340px;
    height:44vh;
  }
  #productImage{max-width:min(68vw,320px); max-height:100%}
  .visual-dots{position:relative; bottom:auto; margin-top:8px; margin-bottom:2px}

  .story-panel{
    order:2;
    width:100%;
    margin-top:6px;
  }
  .eyebrow,.sub-eyebrow,.accent-line,.benefits-list{display:none}
  .hero-title{
    max-width:92%;
    font-size:clamp(48px,14vw,66px);
    line-height:.88;
  }
  .hero-copy{
    max-width:330px;
    margin-bottom:20px;
    font-size:16px;
  }

  .detail-panel{
    order:3;
    width:100%;
    max-width:none;
  }
  .product-name{font-size:21px; margin-bottom:14px}
  .price-block{margin-bottom:14px}
  .price-block strong{font-size:48px}
  .price-block span{font-size:13px; padding-bottom:8px}
  .section-divider{margin-bottom:18px}
  .control-block{margin-bottom:18px}
  .control-title{margin-bottom:12px}
  .swatch{width:38px;height:38px}
  .size{min-width:46px;height:40px;font-size:15px}
  .action-group{display:none}
  .size-guide{overflow-x:auto}
  table{min-width:490px}

  .mobile-bar{
    position:fixed;
    left:12px;
    right:12px;
    bottom:12px;
    z-index:8;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:8px;
    border-radius:16px;
    border:1px solid var(--line);
    background:rgba(255,255,255,.85);
    backdrop-filter:blur(16px);
    box-shadow:0 12px 30px rgba(22,25,32,.12);
  }
  .mobile-bar a{
    flex:1;
    height:46px;
    border-radius:12px;
    display:grid;
    place-items:center;
    background:var(--ink);
    color:#fff;
    font-size:12px;
    font-weight:500;
    letter-spacing:.12em;
    text-transform:uppercase;
  }
  .mobile-bar span{
    padding-right:8px;
    font-size:14px;
    font-weight:500;
    color:var(--muted);
    white-space:nowrap;
  }
}

@media (max-width:440px){
  .product-layout{padding-inline:14px}
  .hero-title{font-size:50px}
  .hero-copy{font-size:15px}
  .swatches{gap:10px}
  .sizes{gap:10px}
  .mobile-bar span{display:none}
}

/* Ajuste editorial desktop al 78% */
@media (min-width:1181px){
  .story-panel{align-self:center}
  .detail-panel{align-self:center}
  .visual-dots{bottom:14px}
  .brand-title{font-size:30px}
  .brand-subtitle{font-size:10px}
  .top-nav a{font-size:12px}
  .nav-button{padding:13px 22px}
}

/* Mobile product detail: pensado como landing real, no solo escala de desktop */
@media (max-width:860px){
  .site-header{
    width:100%;
    padding:18px 18px 0;
  }

  .product-layout{
    width:100%;
    padding:8px 18px 96px;
  }

  .visual-panel{
    background:rgba(255,255,255,.2);
    border:0;
    border-radius:26px;
    margin-top:14px;
    padding:16px 10px 10px;
  }

  .visual-orbit{
    width:min(78vw,360px);
    opacity:.6;
  }

  .product-stage{
    height:auto;
    min-height:0;
    padding:4px 0;
  }

  #productImage{
    max-width:min(72vw,300px);
    max-height:48vh;
  }

  .story-panel{
    padding-top:18px;
  }

  .hero-title{
    font-size:clamp(44px,12.2vw,58px);
    line-height:.88;
    letter-spacing:-.025em;
    font-weight:300;
  }

  .soft-line{
    margin:14px 0 14px;
  }

  .hero-copy{
    font-size:15px;
    line-height:1.45;
    margin-bottom:18px;
  }

  .detail-panel{
    margin-top:16px;
    padding:24px 20px;
  }

  .product-name{
    font-size:20px;
    letter-spacing:.12em;
  }

  .price-block strong{
    font-size:46px;
  }

  .price-block span{
    font-size:12px;
  }

  .swatches{
    gap:12px;
  }

  .swatch{
    width:34px;
    height:34px;
  }

  .sizes{
    display:grid;
    grid-template-columns:repeat(6, minmax(0, 1fr));
    gap:8px;
  }

  .size{
    min-width:0;
    width:100%;
    height:40px;
    padding:0;
    font-size:14px;
  }

  .guide-toggle{
    font-size:12px;
  }
}

@media (max-width:440px){
  .visual-panel{
    border-radius:22px;
  }

  .product-stage{
    min-height:0;
    height:auto;
  }

  #productImage{
    max-width:min(70vw,260px);
    max-height:44vh;
  }

  .hero-title{
    font-size:44px;
  }

  .product-name{
    font-size:18px;
  }

  .sizes{
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion:reduce){
  *, *::before, *::after{
    animation:none !important;
    transition:none !important;
    scroll-behavior:auto !important;
  }
}
