/* Korea Store BY — Catalog v02
   Scoped only to body[data-catalog-page]. */
body[data-catalog-page]{
  --ksc-v2-ink:#211c19;
  --ksc-v2-muted:#746c66;
  --ksc-v2-line:#e3dcd6;
  --ksc-v2-paper:#fbfaf8;
  --ksc-v2-soft:#f4f0ec;
  --ksc-v2-shadow:0 16px 44px rgba(43,34,29,.08);
}
body[data-catalog-page] .ksc-hero{
  border:1px solid rgba(43,34,29,.08);
  box-shadow:var(--ksc-v2-shadow);
}
body[data-catalog-page] .ksc-toolbar{
  position:sticky;
  top:0;
  z-index:35;
  padding-top:10px;
  padding-bottom:10px;
  background:rgba(251,250,248,.94);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
body[data-catalog-page] .ksc-toolbar__row{
  gap:10px 16px;
  flex-wrap:wrap;
}
body[data-catalog-page] .ksc-toolbar__row p{
  margin:0;
  color:var(--ksc-v2-muted);
  font-weight:650;
}
body[data-catalog-page] .ksc-layout{
  align-items:start;
}
body[data-catalog-page] .ksc-sidebar{
  position:sticky;
  top:82px;
  max-height:calc(100vh - 96px);
  overflow:auto;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:#cfc7c0 transparent;
}
body[data-catalog-page] .ksc-filter-group{
  border-top:1px solid var(--ksc-v2-line);
  padding-top:14px;
  margin-top:14px;
}
body[data-catalog-page] .ksc-filter-group:first-of-type{
  border-top:0;
  padding-top:0;
  margin-top:0;
}
body[data-catalog-page] .ksc-filter-list label.is-disabled{
  opacity:.42;
  cursor:not-allowed;
}
body[data-catalog-page] .ksc-filter-list label.is-disabled input{
  pointer-events:none;
}
body[data-catalog-page] .ksc-facet-empty{
  display:block;
  padding:9px 0;
  color:#958b84;
  font-size:12px!important;
  line-height:1.45!important;
}
body[data-catalog-page] .ksc-data-note{
  margin-top:8px;
  padding:9px 10px;
  border-radius:10px;
  background:#f6f2ee;
  color:#756c66;
  font-size:11.5px!important;
  line-height:1.45!important;
}
body[data-catalog-page] .ksc-grid .ks2-product{
  min-width:0;
  overflow:hidden;
  border:1px solid rgba(45,36,31,.09);
  box-shadow:0 8px 24px rgba(45,36,31,.035);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
@media(hover:hover){
  body[data-catalog-page] .ksc-grid .ks2-product:hover{
    transform:translateY(-3px);
    border-color:rgba(45,36,31,.16);
    box-shadow:0 14px 34px rgba(45,36,31,.08);
  }
}
body[data-catalog-page] .ksc-product-image-link{
  position:relative;
  display:block;
  width:100%;
  height:100%;
  overflow:hidden;
}
body[data-catalog-page] .ksc-product-image-link img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:contain;
  transition:opacity .22s ease,transform .28s ease;
}
body[data-catalog-page] .ksc-product-image-link img[data-catalog-alt]{
  opacity:0;
}
@media(hover:hover){
  body[data-catalog-page] .ks2-product.has-alt-image:hover .ksc-product-image-link img:first-child{opacity:0}
  body[data-catalog-page] .ks2-product.has-alt-image:hover .ksc-product-image-link img[data-catalog-alt]{opacity:1}
}
body[data-catalog-page] .ksc-card-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
body[data-catalog-page] .ksc-card-meta .ksc-volume{
  margin:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body[data-catalog-page] .ksc-card-stock{
  display:flex!important;
  align-items:center;
  gap:6px;
  min-height:20px;
}
body[data-catalog-page] .ksc-card-stock::before{
  content:"";
  width:6px;
  height:6px;
  flex:0 0 auto;
  border-radius:50%;
  background:#6e9877;
}
body[data-catalog-page] .ksc-card-stock.is-low::before{background:#c77a45}
body[data-catalog-page] .ksc-card-stock.is-out::before{background:#b76b7a}
body[data-catalog-page] .ksc-card-actions{
  display:grid;
  grid-template-columns:1fr auto;
  gap:6px;
  margin-top:8px;
}
body[data-catalog-page] .ksc-card-actions .ks2-cart{
  margin:0;
}
body[data-catalog-page] .ksc-card-details{
  width:40px;
  height:40px;
  border:1px solid #ddd5ce;
  border-radius:10px;
  display:grid;
  place-items:center;
  color:#37312d;
  background:#fff;
  transition:background .18s ease,border-color .18s ease;
}
body[data-catalog-page] .ksc-card-details:hover{
  background:#f3efeb;
  border-color:#bdb3ab;
}
body[data-catalog-page] .ksc-card-details svg{width:16px;height:16px;stroke-width:1.8}
body[data-catalog-page] .ksc-skin-filters button:disabled{
  opacity:.38;
  cursor:not-allowed;
  transform:none!important;
}
body[data-catalog-page] .ksc-no-data-pill{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:0 10px;
  border:1px solid #e2dad4;
  border-radius:999px;
  color:#81776f;
  background:#faf8f6;
  font-size:11px!important;
  font-weight:650;
}
body[data-catalog-page] .ksc-filter-mobile-footer{
  display:none;
}
body[data-catalog-page] .ks2-footer-bottom{
  gap:12px;
  flex-wrap:wrap;
}
body[data-catalog-page] .ks2-footer-bottom a{
  color:inherit;
  text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,.28);
}

@media(max-width:767px){
  body[data-catalog-page]{
    padding-bottom:calc(132px + env(safe-area-inset-bottom));
  }
  body[data-catalog-page] .ksc-page{
    padding-left:10px;
    padding-right:10px;
  }
  body[data-catalog-page] .ksc-breadcrumbs{display:none}
  body[data-catalog-page] .ksc-hero{
    margin-top:8px;
    border-radius:20px;
  }
  body[data-catalog-page] .ksc-hero__copy{
    padding:22px 18px;
  }
  body[data-catalog-page] .ksc-hero__copy h1{
    font-size:clamp(38px,11vw,52px);
    line-height:.98;
  }
  body[data-catalog-page] .ksc-hero__copy p{
    font-size:13.5px!important;
  }
  body[data-catalog-page] .ksc-hero__actions{
    display:grid;
    grid-template-columns:1fr 1fr;
  }
  body[data-catalog-page] .ksc-toolbar{
    top:0;
    margin-left:-10px;
    margin-right:-10px;
    padding:9px 10px;
    border-bottom:1px solid rgba(44,35,30,.08);
  }
  body[data-catalog-page] .ksc-sidebar{
    position:fixed;
    top:0;
    left:0;
    bottom:0;
    z-index:190;
    width:min(92vw,390px);
    max-height:none;
    padding-bottom:92px;
    transform:translateX(-105%);
    transition:transform .22s ease;
    box-shadow:24px 0 60px rgba(31,24,20,.18);
  }
  body[data-catalog-page] .ksc-sidebar.is-open{transform:translateX(0)}
  body[data-catalog-page] .ksc-filter-mobile-footer{
    position:fixed;
    left:0;
    bottom:0;
    z-index:2;
    width:min(92vw,390px);
    padding:10px;
    display:grid;
    grid-template-columns:.78fr 1.22fr;
    gap:7px;
    border-top:1px solid #e0d9d3;
    background:rgba(255,255,255,.97);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
  }
  body[data-catalog-page] .ksc-filter-mobile-footer button{
    min-height:46px;
    border:1px solid #d9d1ca;
    border-radius:12px;
    background:#fff;
    font-weight:750;
  }
  body[data-catalog-page] .ksc-filter-mobile-footer button:last-child{
    border-color:#29231f;
    background:#29231f;
    color:#fff;
  }
  body[data-catalog-page] .ksc-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
  }
  body[data-catalog-page] .ksc-grid .ks2-product-body{
    padding:10px!important;
  }
  body[data-catalog-page] .ksc-grid .ks2-product h3{
    min-height:34px;
    font-size:13px!important;
    line-height:1.28!important;
  }
  body[data-catalog-page] .ksc-grid .ks2-price strong{
    font-size:15px!important;
  }
  body[data-catalog-page] .ksc-card-actions{
    grid-template-columns:1fr 38px;
  }
  body[data-catalog-page] .ksc-card-actions .ks2-cart,
  body[data-catalog-page] .ksc-card-details{
    min-height:38px;
    height:38px;
  }
  body[data-catalog-page] .ksc-mobile-tools{
    bottom:calc(68px + env(safe-area-inset-bottom))!important;
  }
  body[data-catalog-page] .ks2-mobile-nav{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    height:calc(68px + env(safe-area-inset-bottom));
  }
  body[data-catalog-page] .ks2-mobile-nav a{
    min-width:0;
    padding-inline:2px;
  }
  body[data-catalog-page] .ks2-mobile-nav span{
    font-size:12px!important;
  }
  body[data-catalog-page] .ks2-mobile-nav svg{
    width:20px;
    height:20px;
  }
  body[data-catalog-page] .ksc-quickview__benefits{
    grid-template-columns:1fr!important;
  }
}
@media(max-width:430px){
  body[data-catalog-page] .ksc-hero__visual{display:none}
  body[data-catalog-page] .ksc-hero{display:block}
  body[data-catalog-page] .ksc-hero__copy{min-height:330px}
  body[data-catalog-page] .ksc-hero__actions{grid-template-columns:1fr}
  body[data-catalog-page] .ksc-toolbar__row h2{font-size:24px}
  body[data-catalog-page] .ksc-grid{gap:6px!important}
}
@media(max-width:360px){
  body[data-catalog-page] .ksc-grid .ks2-product-body{padding:8px!important}
  body[data-catalog-page] .ksc-card-actions{grid-template-columns:1fr 36px}
  body[data-catalog-page] .ksc-card-actions .ks2-cart,
  body[data-catalog-page] .ksc-card-details{min-height:36px;height:36px}
}
@media(prefers-reduced-motion:reduce){
  body[data-catalog-page] .ksc-sidebar,
  body[data-catalog-page] .ksc-grid .ks2-product,
  body[data-catalog-page] .ksc-product-image-link img{transition:none!important}
}

/* Catalog preview v07 · 2026-10-24: compact readable product names and full-width cart */
body[data-catalog-page] .ksc-grid .ks2-product.ks-card-linkable{cursor:pointer}
body[data-catalog-page] .ksc-grid .ksc-card-meta{display:block;min-width:0;margin-bottom:3px}
body[data-catalog-page] .ksc-grid .ksc-card-meta .ksc-volume{
  display:block;min-width:0;width:100%;margin:0;
  font-family:inherit;font-size:13.5px!important;font-weight:650;line-height:1.35!important;
  color:#403b38;letter-spacing:0;text-transform:none;
  white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:break-word;
}
body[data-catalog-page] .ksc-grid .ks2-product h3{
  min-height:0;margin:0 0 2px;font-size:14px!important;line-height:1.35!important;font-weight:750;
}
body[data-catalog-page] .ksc-grid .ks2-product h3 a{
  display:block;color:#241f1d;text-decoration:none;
}
body[data-catalog-page] .ksc-grid .ks2-product h3 .ksc-title-main{
  display:block;font-size:inherit!important;font-weight:760;color:#211d1b;
  background:linear-gradient(110deg,#211d1b 0%,#211d1b 44%,#b9b1aa 50%,#211d1b 56%,#211d1b 100%);
  background-size:270% 100%;background-position:100% 50%;
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
  animation:kscTitleLightPass 10s ease-in-out infinite;
}
body[data-catalog-page] .ksc-grid .ks2-product h3 .ksc-title-original{
  display:block;margin-top:3px;color:#77716e;font-size:12px!important;font-weight:420;line-height:1.37;
  letter-spacing:0;overflow-wrap:anywhere;
}
@keyframes kscTitleLightPass{
  0%,20%,100%{background-position:100% 50%}
  57%,77%{background-position:0 50%}
}
body[data-catalog-page] .ksc-grid .ks2-product h3 a:hover .ksc-title-main{
  background:none;-webkit-text-fill-color:#9c435a;color:#9c435a;
}
body[data-catalog-page] .ksc-grid .ks2-product .ks2-price>strong{color:#26211f!important}
body[data-catalog-page] .ksc-grid .ks2-product.is-priced-sale .ks2-price>strong{color:#bf354b!important}
body[data-catalog-page] .ksc-grid .ks2-product .ks2-price>del{
  color:#968f8a!important;text-decoration-color:#a69c97;
}
body[data-catalog-page] .ksc-grid .ksc-card-stock:not(.is-out){color:#547b5d!important}
body[data-catalog-page] .ksc-grid .ksc-card-stock.is-low::before{background:#6e9877}
body[data-catalog-page] .ksc-grid .ksc-card-actions{
  display:grid;grid-template-columns:minmax(0,1fr)!important;gap:0;width:100%;
}
body[data-catalog-page] .ksc-grid .ksc-card-actions .ks2-cart{
  display:block;width:100%;min-width:0;min-height:42px;margin:0;font-weight:770;
}
body[data-catalog-page] .ksc-grid .ksc-card-details,
body[data-catalog-page] .ksc-grid .ksc-quick{display:none!important}
@media(max-width:767px){
  body[data-catalog-page] .ksc-grid .ks2-product h3{font-size:14px!important;line-height:1.35!important}
  body[data-catalog-page] .ksc-grid .ks2-product h3 .ksc-title-original{font-size:12px!important}
  body[data-catalog-page] .ksc-grid .ksc-card-meta .ksc-volume{font-size:13.5px!important}
  body[data-catalog-page] .ksc-grid .ksc-card-actions{grid-template-columns:minmax(0,1fr)!important}
  body[data-catalog-page] .ksc-grid .ksc-card-actions .ks2-cart{min-height:42px;height:auto}
}
@media(prefers-reduced-motion:reduce){
  body[data-catalog-page] .ksc-grid .ks2-product h3 .ksc-title-main{
    animation:none;background:none;color:#211d1b;-webkit-text-fill-color:currentColor;
  }
}

/* 2026-10-24 · Catalogue promotional flag v08.
   A single dynamic, rectangular label sits above the photo's bottom/right edge.
   Unrelated NEW/HIT badges and full product page remain unchanged. */
body[data-catalog-page] .ksc-grid .ks2-product-media{
  position:relative;
  isolation:isolate;
}
body[data-catalog-page] .ksc-grid .ks2-product-media .ksc-image-sale{
  position:absolute;
  right:9px;
  bottom:10px;
  z-index:8;
  display:inline-flex;
  align-items:center;
  gap:5px;
  width:max-content;
  max-width:calc(100% - 18px);
  box-sizing:border-box;
  padding:6px 9px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:3px;
  background:linear-gradient(120deg,#f15a91,#e44880 58%,#d93672);
  box-shadow:0 3px 8px rgba(112,34,66,.14);
  color:#fff;
  font-family:inherit;
  line-height:1.15;
  white-space:nowrap;
  pointer-events:none;
  user-select:none;
  text-shadow:none;
}
body[data-catalog-page] .ksc-grid .ks2-product-media .ksc-image-sale span{
  color:inherit;
  font-size:10.5px;
  font-weight:700;
  letter-spacing:.055em;
}
body[data-catalog-page] .ksc-grid .ks2-product-media .ksc-image-sale strong{
  color:inherit;
  font-size:13px;
  font-weight:850;
  letter-spacing:-.01em;
  font-variant-numeric:tabular-nums;
}
@media(max-width:767px){
  body[data-catalog-page] .ksc-grid .ks2-product-media .ksc-image-sale{
    right:7px;
    bottom:7px;
    gap:4px;
    padding:5px 7px;
    max-width:calc(100% - 14px);
  }
  body[data-catalog-page] .ksc-grid .ks2-product-media .ksc-image-sale span{font-size:9px}
  body[data-catalog-page] .ksc-grid .ks2-product-media .ksc-image-sale strong{font-size:11.5px}
}
