/* Korea Store BY — Product page v02 */
body[data-product-page]{
  --ksp-v2-ink:#211c19;
  --ksp-v2-muted:#746c66;
  --ksp-v2-line:#e3dcd6;
  --ksp-v2-paper:#fbfaf8;
  --ksp-v2-shadow:0 18px 50px rgba(43,34,29,.08);
}
body[data-product-page] .ksp-product{
  gap:clamp(20px,4vw,56px);
}
body[data-product-page] .ksp-media,
body[data-product-page] .ksp-detail{
  min-width:0;
}
body[data-product-page] .ksp-main-media{
  border:1px solid rgba(44,35,30,.08);
  box-shadow:var(--ksp-v2-shadow);
}
body[data-product-page] .ksp-thumb{
  border-color:#ded7d1;
  transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease;
}
body[data-product-page] .ksp-thumb.is-active{
  border-color:#332d29;
  box-shadow:0 0 0 2px rgba(51,45,41,.06);
}
@media(hover:hover){
  body[data-product-page] .ksp-thumb:hover{transform:translateY(-1px);border-color:#a99f97}
}
body[data-product-page] .ksp-detail{
  align-self:start;
  position:sticky;
  top:18px;
}
body[data-product-page] .ksp-detail h1{
  max-width:760px;
  letter-spacing:-.045em;
}
body[data-product-page] .ksp-lead{
  color:var(--ksp-v2-muted);
  line-height:1.58!important;
}
body[data-product-page] .ksp-stock{
  display:inline-flex;
  align-items:center;
  gap:7px;
}
body[data-product-page] .ksp-stock::before{
  content:"";
  width:7px;height:7px;border-radius:50%;background:#689072;flex:0 0 auto;
}
body[data-product-page] .ksp-stock.is-out::before{background:#b46978}
body[data-product-page] .ksp-service{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
body[data-product-page] .ksp-service a{
  min-width:0;
  border:1px solid var(--ksp-v2-line);
  background:#fff;
}
body[data-product-page] .ksp-service a span{
  white-space:normal;
  line-height:1.35;
}
body[data-product-page] .ksp-alert-row{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
body[data-product-page] .ksp-alert-row button{
  min-height:40px;
  padding:0 14px;
  border:1px solid #d9d1ca;
  border-radius:999px;
  background:#fff;
  color:#332d29;
  font-weight:750;
}
body[data-product-page] .ksp-info{
  border:1px solid rgba(44,35,30,.08);
  border-radius:24px;
  background:#fff;
}
body[data-product-page] .ksp-facts{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
body[data-product-page] .ksp-accordions details{
  border-color:var(--ksp-v2-line);
}
body[data-product-page] .ksp-product-video{
  border-radius:18px;
  overflow:hidden;
}
body[data-product-page] .ksp-recommendations{
  margin-top:clamp(34px,5vw,70px);
}
body[data-product-page] .ksp-rec-card{
  border:1px solid rgba(44,35,30,.08);
  box-shadow:0 8px 24px rgba(44,35,30,.035);
}
body[data-product-page] .ks2-footer-bottom{
  gap:12px;
  flex-wrap:wrap;
}
body[data-product-page] .ks2-footer-bottom a{
  color:inherit;
  text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,.28);
}
@media(max-width:900px){
  body[data-product-page] .ksp-detail{position:static}
  body[data-product-page] .ksp-service{grid-template-columns:1fr}
  body[data-product-page] .ksp-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:767px){
  body[data-product-page]{
    padding-bottom:calc(132px + env(safe-area-inset-bottom));
  }
  body[data-product-page] .ksp-page{
    padding-left:10px;
    padding-right:10px;
  }
  body[data-product-page] .ksp-breadcrumbs{display:none}
  body[data-product-page] .ksp-product{
    gap:14px;
  }
  body[data-product-page] .ksp-main-media{
    border-radius:18px;
  }
  body[data-product-page] .ksp-detail h1{
    font-size:clamp(30px,8.8vw,42px);
    line-height:1.02;
  }
  body[data-product-page] .ksp-purchase{
    gap:7px;
  }
  body[data-product-page] .ksp-buy{
    min-height:44px;
  }
  body[data-product-page] .ksp-info{
    border-radius:18px;
  }
  body[data-product-page] .ksp-info-head{
    display:block;
  }
  body[data-product-page] .ksp-facts{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  body[data-product-page] .ksp-mobile-cta{
    bottom:calc(68px + env(safe-area-inset-bottom))!important;
  }
  body[data-product-page] .ks2-mobile-nav{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    height:calc(68px + env(safe-area-inset-bottom));
  }
  body[data-product-page] .ks2-mobile-nav a{min-width:0;padding-inline:2px}
  body[data-product-page] .ks2-mobile-nav span{font-size:12px!important}
  body[data-product-page] .ks2-mobile-nav svg{width:20px;height:20px}
}
@media(max-width:430px){
  body[data-product-page] .ksp-facts{grid-template-columns:1fr}
  body[data-product-page] .ksp-thumbs{
    display:flex;
    overflow-x:auto;
    scroll-snap-type:x proximity;
    scrollbar-width:none;
  }
  body[data-product-page] .ksp-thumbs::-webkit-scrollbar{display:none}
  body[data-product-page] .ksp-thumb{flex:0 0 64px;scroll-snap-align:start}
}
@media(prefers-reduced-motion:reduce){
  body[data-product-page] .ksp-thumb{transition:none!important}
}
