/* Korea Store product stage 2, 2026-10-27.
   Real gallery images from existing admin, no placeholder reviews/ratings.
   Styling isolated to product page; stage 1 price/buttons unchanged.
*/
body[data-product-page] #reviews{
  scroll-margin-top:132px;
}
body[data-product-page] .ksp-detail .ksp-review-jump{
  display:inline-flex;
  align-items:center;
  flex-wrap:wrap;
  min-height:35px;
  max-width:100%;
  gap:7px;
  padding:6px 11px;
  border:1px solid #e4b5c6;
  border-radius:7px;
  background:#fce1eb;
  color:#ad245c;
  text-decoration:none;
  font-size:13px;
  font-weight:700;
  line-height:1.3;
}
body[data-product-page] .ksp-detail .ksp-review-jump:hover{
  background:#f4cbd9;
  border-color:#d891aa;
}
body[data-product-page] .ksp-detail .ksp-review-jump:focus-visible{
  outline:2px solid #ad245c;
  outline-offset:3px;
}
body[data-product-page] .ksp-detail .ksp-review-jump .ksp-rating-stars{
  color:#b33f72;
  font-size:15px;
  letter-spacing:1px;
}
body[data-product-page] .ksp-detail .ksp-review-jump__empty{
  color:#8e2250;
  font-weight:750;
}
body[data-product-page] .ksp-main-media .ksp-gallery-nav,
body[data-product-page] .ksp-lightbox .ksp-lightbox-nav{
  display:grid;
  place-items:center;
  width:37px;
  height:37px;
  padding:0;
  border:1px solid #e5bbcb;
  border-radius:50%;
  background:rgba(255,255,255,.93);
  color:#951f50;
  font-size:29px;
  font-family:inherit;
  font-weight:450;
  line-height:1;
  box-shadow:0 3px 12px rgba(45,22,30,.07);
  cursor:pointer;
  touch-action:manipulation;
}
body[data-product-page] .ksp-main-media .ksp-gallery-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:4;
}
body[data-product-page] .ksp-main-media .ksp-gallery-nav--prev{left:10px}
body[data-product-page] .ksp-main-media .ksp-gallery-nav--next{right:10px}
body[data-product-page] .ksp-main-media .ksp-gallery-nav:hover,
body[data-product-page] .ksp-lightbox .ksp-lightbox-nav:hover{
  background:#f4cbd9;
  border-color:#d597ae;
}
body[data-product-page] .ksp-main-media .ksp-gallery-nav:focus-visible,
body[data-product-page] .ksp-lightbox .ksp-lightbox-nav:focus-visible,
body[data-product-page] .ksp-thumbs .ksp-thumb:focus-visible{
  outline:2px solid #ad245c;
  outline-offset:3px;
}
body[data-product-page] .ksp-main-media .ksp-gallery-counter{
  position:absolute;
  bottom:15px;
  left:14px;
  z-index:4;
  display:inline-flex;
  min-height:27px;
  align-items:center;
  justify-content:center;
  padding:5px 9px;
  border:1px solid rgba(196,173,183,.55);
  border-radius:7px;
  background:rgba(255,255,255,.93);
  color:#522d40;
  font-size:12px;
  font-weight:800;
  font-variant-numeric:tabular-nums;
  pointer-events:none;
}
body[data-product-page] .ksp-media .ksp-thumbs{
  scroll-behavior:smooth;
  overscroll-behavior:contain;
}
body[data-product-page] .ksp-media .ksp-thumb{
  border-radius:8px;
  border:1px solid #e6bac9;
  background:#fff;
  min-width:0;
  flex:0 0 auto;
  transition:border-color .15s ease,box-shadow .15s ease;
}
body[data-product-page] .ksp-media .ksp-thumb.is-active{
  border:2px solid #ad245c;
  box-shadow:0 0 0 1px #fff inset;
}
body[data-product-page] .ksp-media .ksp-thumb:hover{
  border-color:#b54473;
  transform:none;
}
body[data-product-page] .ksp-lightbox .ksp-lightbox-nav{
  position:fixed;
  top:50%;
  transform:translateY(-50%);
  z-index:4;
}
body[data-product-page] .ksp-lightbox .ksp-lightbox-nav--prev{left:14px}
body[data-product-page] .ksp-lightbox .ksp-lightbox-nav--next{right:14px}
body[data-product-page] .ksp-lightbox .ksp-lightbox-nav[hidden]{display:none!important}
@media(max-width:820px){
  body[data-product-page] #reviews{scroll-margin-top:90px}
  body[data-product-page] .ksp-main-media .ksp-gallery-nav{
    width:34px;
    height:34px;
  }
  body[data-product-page] .ksp-main-media .ksp-gallery-nav--prev{left:7px}
  body[data-product-page] .ksp-main-media .ksp-gallery-nav--next{right:7px}
  body[data-product-page] .ksp-media .ksp-thumb{
    width:64px;
    min-width:64px;
    border-radius:7px;
  }
  body[data-product-page] .ksp-main-media .ksp-gallery-counter{
    bottom:10px;
    left:10px;
  }
  body[data-product-page] .ksp-lightbox .ksp-lightbox-nav--prev{left:5px}
  body[data-product-page] .ksp-lightbox .ksp-lightbox-nav--next{right:5px}
}
@media(prefers-reduced-motion:reduce){
  body[data-product-page] .ksp-media .ksp-thumbs{scroll-behavior:auto}
  body[data-product-page] .ksp-media .ksp-thumb{transition:none}
}
