/* KOREA STORE — Inna approved product card, stage 1 (2026-10-27)
   Scope: product price, real discount badge, 1-click button (desktop and mobile).
   Stage 3 full palette experiment is deliberately NOT applied here.
   All price/discount values continue to come from KoreaProductCards.model().
   All cart/quick-order handlers remain untouched.
*/
body[data-product-page] {
  --ksp-stage1-accent: #ad245c;
  --ksp-stage1-accent-hover: #891944;
  --ksp-stage1-soft: #f4cbd9;
  --ksp-stage1-line: #e6aac0;
}
/* Current price — consistent, visible, including Belarusian-ruble glyph. */
body[data-product-page] .ksp-detail .ksp-price-offer .ksp-price-row--reference > strong {
  color: var(--ksp-stage1-accent) !important;
  -webkit-text-fill-color: var(--ksp-stage1-accent) !important;
  font-weight: 850 !important;
  font-size: clamp(33px, 3vw, 39px) !important;
  line-height: 1.1 !important;
  letter-spacing: -.035em !important;
  font-variant-numeric: tabular-nums;
  text-shadow: none !important;
}
body[data-product-page] .ksp-detail .ksp-price-offer .ksp-price-row--reference > strong .ks-byn-sign {
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
  margin-inline-start: .12em !important;
}
body[data-product-page] .ksp-detail .ksp-price-offer .ksp-price-row--reference > del.ksp-price-old {
  color: #79616d !important;
  -webkit-text-fill-color: #79616d !important;
  text-decoration-color: #b692a0 !important;
  text-decoration-thickness: 1.5px !important;
  font-weight: 500 !important;
}
/* A real readable discount PILL instead of stray pink/red text. */
body[data-product-page] .ksp-detail .ksp-price-offer .ksp-price-row--reference > .ksp-price-discount {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: max-content !important;
  min-height: 24px !important;
  margin: 0 !important;
  padding: 3px 8px !important;
  border: 1px solid var(--ksp-stage1-line) !important;
  border-radius: 6px !important;
  background: var(--ksp-stage1-soft) !important;
  background-image: none !important;
  box-shadow: none !important;
  color: var(--ksp-stage1-accent) !important;
  -webkit-text-fill-color: var(--ksp-stage1-accent) !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
  vertical-align: middle !important;
  transform: none !important;
  animation: none !important;
}
body[data-product-page] .ksp-detail .ksp-price-offer .ksp-price-row--reference > .ksp-price-discount::before,
body[data-product-page] .ksp-detail .ksp-price-offer .ksp-price-row--reference > .ksp-price-discount::after {
  content: none !important;
}
/* One-click: ONE SOLID color, same burgundy as the price. No satin gradients/glows. */
body[data-product-page] .ksp-detail .ksp-purchase .ksp-buy,
body[data-product-page] .ksp-detail .ksp-purchase .ksp-buy:not(:disabled) {
  background: var(--ksp-stage1-accent) !important;
  background-image: none !important;
  background-size: auto !important;
  border: 1px solid var(--ksp-stage1-accent) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  box-shadow: none !important;
  text-shadow: none !important;
  animation: none !important;
  filter: none !important;
  transform: none !important;
  transition: background-color .16s ease, border-color .16s ease !important;
}
body[data-product-page] .ksp-detail .ksp-purchase .ksp-buy::before,
body[data-product-page] .ksp-detail .ksp-purchase .ksp-buy::after {
  content: none !important;
  animation: none !important;
}
body[data-product-page] .ksp-detail .ksp-purchase .ksp-buy > i {
  display: none !important;
}
body[data-product-page] .ksp-detail .ksp-purchase .ksp-buy:not(:disabled):hover {
  background: var(--ksp-stage1-accent-hover) !important;
  border-color: var(--ksp-stage1-accent-hover) !important;
  box-shadow: none !important;
  transform: none !important;
  filter: none !important;
}
body[data-product-page] .ksp-detail .ksp-purchase .ksp-buy:not(:disabled):active {
  background: #711537 !important;
  transform: none !important;
}
body[data-product-page] .ksp-detail .ksp-purchase .ksp-buy:focus-visible,
body[data-product-page] .ksp-mobile-cta .ksp-mobile-one-click:focus-visible {
  outline: 2px solid var(--ksp-stage1-accent) !important;
  outline-offset: 3px !important;
}
body[data-product-page] .ksp-detail .ksp-purchase .ksp-buy:disabled {
  opacity: .50 !important;
  cursor: not-allowed !important;
}
/* Sticky mobile checkout: same color and price emphasis, retained click handlers. */
@media (max-width:820px) {
  body[data-product-page] .ksp-mobile-cta__info [data-mobile-price] {
    color: var(--ksp-stage1-accent) !important;
    font-weight: 850 !important;
    -webkit-text-fill-color: var(--ksp-stage1-accent) !important;
  }
  body[data-product-page] .ksp-mobile-cta__actions > .ksp-mobile-one-click,
  body[data-product-page] .ksp-mobile-cta__actions > .ksp-mobile-one-click:not(:disabled) {
    background: var(--ksp-stage1-accent) !important;
    background-image: none !important;
    background-size: auto !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    border: 1px solid var(--ksp-stage1-accent) !important;
    box-shadow: none !important;
    text-shadow: none !important;
    animation: none !important;
    transform: none !important;
    filter: none !important;
    transition: background-color .16s ease, border-color .16s ease !important;
  }
  body[data-product-page] .ksp-mobile-cta__actions > .ksp-mobile-one-click:not(:disabled):hover {
    background: var(--ksp-stage1-accent-hover) !important;
    border-color: var(--ksp-stage1-accent-hover) !important;
  }
  body[data-product-page] .ksp-mobile-cta__actions > .ksp-mobile-one-click:disabled {
    opacity: .50 !important;
  }
  body[data-product-page] .ksp-detail .ksp-price-offer .ksp-price-row--reference > strong {
    font-size: clamp(30px, 7vw, 36px) !important;
  }
  body[data-product-page] .ksp-detail .ksp-price-offer .ksp-price-row--reference > .ksp-price-discount {
    font-size: 12px !important;
    min-height: 23px !important;
    padding: 3px 7px !important;
  }
}
@media (prefers-reduced-motion:reduce) {
  body[data-product-page] .ksp-detail .ksp-purchase .ksp-buy,
  body[data-product-page] .ksp-mobile-cta__actions > .ksp-mobile-one-click {
    transition: none !important;
  }
}
