/* Korea Store — premium public product layout, 2026-10-20.
   Scope: product page ONLY. No CRM, cart pricing or inventory logic changes. */
body[data-product-page]{
  --ksp-premium-ink:#25221f;
  --ksp-premium-soft:#756e67;
  --ksp-premium-edge:#e9e3dc;
  --ksp-premium-cream:#fbfaf7;
}
body[data-product-page] .ksp-page{
  width:min(1290px,calc(100% - 44px));
  padding-top:20px;
}
body[data-product-page] .ksp-breadcrumbs{
  margin-bottom:20px;
  font-size:12px;
  color:#857d76;
}
body[data-product-page] .ksp-product{
  grid-template-columns:minmax(0,1.03fr) minmax(0,.97fr);
  gap:clamp(16px,3.2vw,40px);
  align-items:start;
}
body[data-product-page] .ksp-media{
  position:relative;
  min-width:0;
}
body[data-product-page] .ksp-main-media{
  min-height:0;
  aspect-ratio:1/1.06;
  border-radius:20px;
  box-shadow:none;
  background:#f5f1ed;
  overflow:hidden;
}
body[data-product-page] .ksp-main-media img[data-gallery-main]{
  object-fit:contain;
}
body[data-product-page] .ksp-main-media.is-photo-pending{
  background:radial-gradient(circle at 50% 38%,#fff 0,#f8f5f0 43%,#eee8e1 100%);
}
body[data-product-page] .ksp-main-media.is-photo-pending img[data-gallery-main]{
  opacity:0;
  pointer-events:none;
}
body[data-product-page] .ksp-main-media.is-photo-pending .ksp-zoom{display:none}
body[data-product-page] .ksp-photo-coming{
  position:absolute;
  inset:0;
  z-index:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:14px;
  color:#7d756e;
  text-align:center;
  pointer-events:none;
}
body[data-product-page] .ksp-photo-coming>span{
  color:#6b625b;
  font:600 clamp(13px,1.8vw,19px)/1.2 Georgia,serif;
  letter-spacing:.3em;
}
body[data-product-page] .ksp-photo-coming .ksp-photo-star{
  margin:0 .2em;
  color:#b88d80;
  letter-spacing:0;
}
body[data-product-page] .ksp-photo-coming p{
  margin:0;
  font-size:clamp(12px,1vw,14px);
  line-height:1.65;
}
body[data-product-page] .ksp-badges{z-index:2}
body[data-product-page] .ksp-detail{
  position:static;
  width:100%;
  min-width:0;
  padding:clamp(23px,2.8vw,38px);
  border:1px solid #e9e4df;
  border-radius:20px;
  background:#fff;
  box-shadow:0 18px 48px rgba(35,28,24,.045);
}
body[data-product-page] .ksp-brand-row{
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:16px;
}
body[data-product-page] .ksp-category-link{
  color:#8e6c66;
  border-bottom:1px solid #d8bbb3;
  font-size:11px;
  letter-spacing:.12em;
  text-decoration:none;
}
body[data-product-page] .ksp-category-link:hover{color:#6c4c46;border-color:#6c4c46}
body[data-product-page] .ksp-sku{
  margin-left:auto;
  font-size:11px;
  color:#938c85;
  letter-spacing:.01em;
}
body[data-product-page] .ksp-title-kicker{
  max-width:57ch;
  margin:0 0 9px;
  color:#827972;
  font-size:clamp(12px,1vw,14px);
  line-height:1.6;
  font-weight:450;
}
body[data-product-page] .ksp-detail h1{
  max-width:24ch;
  margin:0 0 17px;
  color:var(--ksp-premium-ink);
  font-family:Georgia,"Times New Roman",serif;
  font-weight:400;
  font-size:clamp(27px,2.55vw,39px);
  line-height:1.12;
  letter-spacing:-.034em;
  overflow-wrap:break-word;
  text-wrap:balance;
}
body[data-product-page] .ksp-rating-line{margin:0 0 17px}
body[data-product-page] .ksp-review-jump{
  min-height:0;
  padding:0;
  color:#81776d;
  background:transparent;
  border:0;
  font-size:12px;
  text-decoration:underline;
  text-decoration-color:#d6ccc1;
  text-underline-offset:4px;
}
body[data-product-page] .ksp-purchase-top{
  display:flex;
  gap:10px 20px;
  flex-wrap:wrap;
  align-items:center;
  margin:0 0 13px;
}
body[data-product-page] .ksp-price-row{margin:0}
body[data-product-page] .ksp-price-row strong{
  color:#22201e;
  font-size:clamp(29px,2.6vw,37px);
  font-weight:750;
  letter-spacing:-.045em;
}
body[data-product-page] .ksp-stock,
body[data-product-page] .ksp-inline-availability{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:0;
  padding:6px 11px;
  border:1px solid #d2e5d5;
  border-radius:999px;
  color:#306744;
  background:#eef7ef;
  font-size:12px;
  line-height:1.3;
  font-weight:700;
}
body[data-product-page] .ksp-stock::before,
body[data-product-page] .ksp-inline-availability::before{
  content:"";
  display:inline-block;
  width:7px;
  height:7px;
  border-radius:50%;
  flex:0 0 7px;
  background:#3c9c63;
}
body[data-product-page] .ksp-stock--low{
  border-color:#ebdaa9;
  background:#fff8e9;
  color:#886620;
}
body[data-product-page] .ksp-stock--low::before{background:#d4a13f}
body[data-product-page] .ksp-stock--out{
  border-color:#ecc8c9;
  background:#fff0f0;
  color:#a63f47;
}
body[data-product-page] .ksp-stock--out::before{background:#c84d54}
body[data-product-page] .ksp-lead{
  max-width:60ch;
  margin:0 0 15px;
  color:#635d57;
  font-size:clamp(13px,1.06vw,15px);
  line-height:1.72!important;
}
body[data-product-page] .ksp-profile-preview{
  gap:7px;
  margin:0 0 20px;
}
body[data-product-page] a.ksp-facet-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  max-width:100%;
  padding:7px 11px;
  min-height:32px;
  border:1px solid #e7dfd7;
  border-radius:999px;
  background:#faf8f5;
  color:#625951;
  font-weight:500;
  text-decoration:none;
  white-space:normal;
  transition:background .15s,border-color .15s,transform .15s;
}
body[data-product-page] a.ksp-facet-link>span{
  font-size:12px;
  color:#a99c91;
  opacity:0;
  transition:opacity .15s;
}
body[data-product-page] a.ksp-facet-link:hover,
body[data-product-page] a.ksp-facet-link:focus-visible{
  background:#f5ebe5;
  color:#3c332d;
  border-color:#cdb9aa;
  transform:translateY(-1px);
  outline-offset:2px;
}
body[data-product-page] a.ksp-facet-link:hover>span,
body[data-product-page] a.ksp-facet-link:focus-visible>span{opacity:1}
body[data-product-page] .ksp-variant{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  padding:12px 0;
  margin-bottom:13px;
  border-top:1px solid var(--ksp-premium-edge);
  border-bottom:1px solid var(--ksp-premium-edge);
}
body[data-product-page] .ksp-variant-head{
  display:flex;
  justify-content:space-between;
  gap:18px;
  margin:0;
  flex:1;
}
body[data-product-page] .ksp-variant-head span{
  letter-spacing:.1em;
  font-size:11px;
}
body[data-product-page] .ksp-variant-head strong{
  color:#332e2a;
  font-size:13px;
}
body[data-product-page] .ksp-purchase{
  grid-template-columns:105px minmax(0,1fr) 46px;
  gap:8px;
  margin-bottom:7px;
}
body[data-product-page] .ksp-purchase .ksp-add{
  border-radius:10px;
  min-height:49px;
}
body[data-product-page] .ksp-buy{
  grid-column:1/-1;
  min-height:46px;
  background:#fff;
  border:1px solid #cfc4bb;
  color:#322d29;
  border-radius:10px;
}
body[data-product-page] .ksp-buy:hover{background:#faf5f1;border-color:#9c8c80}
body[data-product-page] .ksp-favorite{
  min-width:46px;
  border-radius:10px;
}
body[data-product-page] .ksp-alert-row{
  margin-top:8px;
}
body[data-product-page] .ksp-alert-row button{
  min-height:36px;
  background:transparent;
  border:0;
  color:#7e7167;
  padding:0 2px;
  text-decoration:underline;
  text-underline-offset:4px;
  font-size:12px;
}
body[data-product-page] .ksp-service{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
  margin-top:15px;
}
body[data-product-page] .ksp-service a{
  min-height:61px;
  padding:10px 12px;
  border:1px solid #eee8e1;
  border-radius:11px;
  background:#faf8f5;
  box-shadow:none;
}
body[data-product-page] .ksp-service a:hover{
  transform:none;
  background:#f4eee8;
}
body[data-product-page] .ksp-service a b{
  color:#423b36;
  font-size:12px;
}
body[data-product-page] .ksp-service a span{
  font-size:11px;
  color:#85786d;
}
body[data-product-page] .ksp-info--unified{
  margin-top:33px;
  padding:clamp(20px,3vw,35px);
  border:1px solid #ece5de;
  border-radius:20px;
  background:#fff;
  box-shadow:none;
}
body[data-product-page] .ksp-info-head{
  align-items:center;
  padding-bottom:17px;
}
body[data-product-page] .ksp-info-head h2{
  margin:6px 0 0;
  font-size:clamp(25px,2.5vw,34px);
  line-height:1.15;
  color:#302923;
}
body[data-product-page] .ksp-info-head p{
  max-width:290px;
  color:#948a82;
  font-size:12px;
}
body[data-product-page] .ksp-info--unified .ksp-facts{
  grid-template-columns:repeat(4,minmax(0,1fr));
  padding:13px 0;
  gap:10px;
  border-bottom:1px solid #eee8e2;
}
body[data-product-page] .ksp-info--unified .ksp-facts>div{
  border:0!important;
  min-height:61px;
  padding:12px 13px;
  border-radius:9px;
  background:#faf8f6;
}
body[data-product-page] .ksp-facts span{
  color:#94877c;
  font-size:10px;
  line-height:1.3;
  letter-spacing:.1em;
}
body[data-product-page] .ksp-facts strong{
  color:#433a33;
  font-size:12px;
  font-weight:650;
  overflow-wrap:anywhere;
}
body[data-product-page] .ksp-profile-grid{
  margin:0;
  padding:18px 0 6px;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px 27px;
  border-bottom:1px solid #eee8e2;
  background:transparent;
}
body[data-product-page] .ksp-profile-group{
  background:transparent;
  padding:0 0 15px;
}
body[data-product-page] .ksp-profile-group>span{
  margin-bottom:10px;
  color:#94877c;
  letter-spacing:.09em;
  font-size:11px;
}
body[data-product-page] .ksp-profile-group>div{gap:7px}
body[data-product-page] .ksp-tag-section{
  padding:17px 0;
  border-bottom:1px solid #eee8e2;
}
body[data-product-page] .ksp-tag-section>span{
  display:block;
  margin-bottom:11px;
  color:#968980;
  font-size:11px;
  letter-spacing:.09em;
  text-transform:uppercase;
  font-weight:750;
}
body[data-product-page] .ksp-tag-section>div{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
body[data-product-page] .ksp-accordions{
  margin:0;
  gap:0;
  border:0;
}
body[data-product-page] .ksp-accordions details{
  background:transparent;
  border:0;
  border-bottom:1px solid #eee8e2;
  border-radius:0;
}
body[data-product-page] .ksp-accordions details:last-child{border-bottom:0}
body[data-product-page] .ksp-accordions summary{
  padding:19px 2px;
  color:#332d28;
  font-size:14px;
  font-weight:700;
}
body[data-product-page] .ksp-accordions summary:hover{color:#8c6458}
body[data-product-page] .ksp-info--unified .ksp-accordions details div.ksp-long-copy{
  max-width:82ch;
  padding:0 2px 20px;
  color:#696158;
  font-size:14px;
  line-height:1.85;
}
body[data-product-page] .ksp-long-copy p{
  margin:0 0 12px;
  font-size:inherit;
  line-height:inherit;
  overflow-wrap:anywhere;
}
body[data-product-page] .ksp-long-copy p:last-child{margin-bottom:0}
body[data-product-page] .ksp-composition{
  color:#6c655e;
  font-size:12px!important;
  line-height:1.8!important;
}
body[data-product-page] .ksp-info--unified .ksp-accordions .ksp-characteristics{
  padding:0 0 20px;
  border-bottom:0;
  gap:0 18px;
}
body[data-product-page] .ksp-characteristics>div{
  font-size:12px;
  padding:11px 3px;
}
body[data-product-page] .ksp-characteristics strong{text-align:right}
body[data-product-page] .ksp-inline-availability{vertical-align:middle}
body[data-product-page] .ksp-rec-stock.ksp-stock--low{
  color:#9b7326;
}
body[data-product-page] .ksp-rec-stock.ksp-stock--out{
  color:#a8444c;
}
@media(max-width:1000px){
  body[data-product-page] .ksp-product{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:16px;
  }
  body[data-product-page] .ksp-detail{padding:22px}
  body[data-product-page] .ksp-detail h1{font-size:clamp(25px,3vw,33px)}
  body[data-product-page] .ksp-service{grid-template-columns:1fr}
}
@media(max-width:820px){
  body[data-product-page] .ksp-page{width:min(100% - 26px,760px);padding:14px 0 0}
  body[data-product-page] .ksp-product{grid-template-columns:1fr;gap:13px}
  body[data-product-page] .ksp-main-media{aspect-ratio:1/1.05;max-height:600px}
  body[data-product-page] .ksp-detail{padding:23px;position:static}
  body[data-product-page] .ksp-detail h1{
    max-width:27ch;
    font-size:clamp(30px,5.5vw,40px);
  }
  body[data-product-page] .ksp-service{grid-template-columns:repeat(2,minmax(0,1fr))}
  body[data-product-page] .ksp-info--unified{margin-top:17px}
  body[data-product-page] .ksp-info--unified .ksp-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
  body[data-product-page] .ksp-page{width:calc(100% - 20px)}
  body[data-product-page] .ksp-breadcrumbs{margin-bottom:10px}
  body[data-product-page] .ksp-detail{padding:20px 18px}
  body[data-product-page] .ksp-detail h1{
    font-size:clamp(27px,7.4vw,35px);
    line-height:1.14;
    margin-bottom:14px;
  }
  body[data-product-page] .ksp-sku{font-size:10px}
  body[data-product-page] .ksp-title-kicker{font-size:12px}
  body[data-product-page] .ksp-purchase{grid-template-columns:89px minmax(0,1fr) 43px}
  body[data-product-page] .ksp-service{grid-template-columns:1fr}
  body[data-product-page] .ksp-info--unified{
    border-radius:16px;
    padding:18px 16px;
  }
  body[data-product-page] .ksp-info-head p{display:none}
  body[data-product-page] .ksp-info--unified .ksp-facts{gap:7px}
  body[data-product-page] .ksp-info--unified .ksp-facts>div{padding:11px 10px;min-height:55px}
  body[data-product-page] .ksp-profile-grid{grid-template-columns:1fr;gap:8px}
  body[data-product-page] .ksp-profile-group{padding-bottom:13px}
  body[data-product-page] .ksp-info--unified .ksp-accordions details div.ksp-long-copy{font-size:13px}
  body[data-product-page] .ksp-characteristics{grid-template-columns:1fr}
  body[data-product-page] .ksp-characteristics strong{text-align:right}
}
@media(prefers-reduced-motion:reduce){
  body[data-product-page] a.ksp-facet-link{transition:none}
}
/* Availability text in the fixed mobile purchase bar. */
body[data-product-page] .ksp-mobile-cta [data-mobile-stock].ksp-stock--plenty{color:#2d7948}
body[data-product-page] .ksp-mobile-cta [data-mobile-stock].ksp-stock--low{color:#987021}
body[data-product-page] .ksp-mobile-cta [data-mobile-stock].ksp-stock--out{color:#ba454d}
