:root {
  /* ========================================================
     BRAND COLOR PALETTE
     Primary: #5B009C
     Dark: #32005A
     Light Purple: #EDE0F5
     Soft Background: #FAF7FC
     White: #FFFFFF
     Text: #17121A
     Luxury Accent: #D4AF37
     ======================================================== */
  --palette-primary: #5B009C;
  --palette-dark: #32005A;
  --palette-light-purple: #EDE0F5;
  --palette-soft-bg: #FAF7FC;
  --palette-white: #FFFFFF;
  --palette-text: #17121A;
  --palette-luxury: #D4AF37;

  /* Global Brand Variables */
  --brand-color: var(--palette-primary);
  --brand-hover: var(--palette-dark);
  --brand-active: #20003b;
  --brand-light: var(--palette-light-purple);
  --brand-subtle: rgba(91, 0, 156, 0.05);

  /* Semantic Variables (Tied directly to Global Brand Color) */
  --primary-color: var(--palette-primary);
  --secondary-color: var(--palette-dark);
  --accent-color: var(--palette-luxury);
  --text-color: var(--palette-text);
  --soft-bg: var(--palette-soft-bg);
  --luxury-accent: var(--palette-luxury);
  --light-purple: var(--palette-light-purple);

  /* Professional Geometric Typography */
  --font-family-base: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Header & Navigation */
  --topbar-bg: var(--palette-primary);
  --header-icon-color: var(--palette-primary);
  --header-icon-hover: var(--palette-dark);

  /* Buttons */
  --btn-bg: var(--palette-primary);
  --btn-hover: var(--palette-dark);
  --btn-text: #ffffff;

  /* Footer & Copyright */
  --footer-bg: var(--palette-dark);
  --footer-text: #ffffff;
  --footer-link: rgba(255, 255, 255, 0.88);
  --footer-link-hover: var(--palette-luxury);
  --copyright-bg: rgba(23, 18, 26, 0.7);
  --copyright-text: #ffffff;
}

html, body {
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: var(--font-family-base);
  font-size: 15px;
  font-weight: 400;
  background-color: var(--soft-bg, #FAF7FC);
  color: var(--text-color);
  letter-spacing: -0.01em;
}
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family-base);
  color: var(--text-color);
  letter-spacing: -0.02em;
}
.card-body {
  color: var(--text-color);
}
.text-site {
  color: var(--header-icon-color, var(--brand-color));
}
.bg-site {
  background-color: var(--brand-color);
}

.page__title {
  font-size: 28px !important;
  font-weight: 700;
  margin-bottom: 5px;
  text-align: center;
  font-family: var(--font-family-base);
  letter-spacing: -0.025em;
  color: var(--text-color);
}
.page__sub_title {
  font-size: 15px !important;
  font-weight: 400;
  margin-bottom: 30px;
  color: rgba(23, 18, 26, 0.65);
  text-align: center;
  font-family: var(--font-family-base);
}

.primary__bg {
  background-color: var(--primary-color);
}
.secondary__bg {
  background-color: var(--secondary-color);
}
.accent__bg {
  background-color: var(--accent-color);
}

.primary__color {
  color: var(--primary-color);
}
.secondary__color {
  color: var(--secondary-color);
}
.accent__color {
  color: var(--accent-color);
}

.btn-site {
  background-color: var(--brand-color, #5d2d91) !important;
  color: var(--btn-text, #fff) !important;
  border: 1px solid var(--brand-color, #5d2d91) !important;
  transition: all 0.2s ease;
}
.btn-site:hover,
.btn-site:focus {
  background-color: var(--brand-hover) !important;
  border-color: var(--brand-hover) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

.btn-primary {
  background-color: var(--brand-color, #5d2d91) !important;
  border-color: var(--brand-color, #5d2d91) !important;
  color: #fff !important;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--brand-hover) !important;
  border-color: var(--brand-hover) !important;
  color: #fff !important;
}

.btn.primary__bg {
  background-color: var(--brand-color, #5d2d91) !important;
  border-color: var(--brand-color, #5d2d91) !important;
  color: #fff !important;
}
.btn.primary__bg:hover,
.btn.primary__bg:focus {
  background-color: var(--brand-hover) !important;
  border-color: var(--brand-hover) !important;
  color: #fff !important;
}

.btn.secondary__bg {
  background-color: var(--secondary-color, var(--brand-hover)) !important;
  border-color: var(--secondary-color, var(--brand-hover)) !important;
  color: #fff !important;
}
.btn.secondary__bg:hover,
.btn.secondary__bg:focus {
  background-color: var(--brand-active) !important;
  border-color: var(--brand-active) !important;
  color: #fff !important;
}

.custom-tabs {
  gap: 0.75rem;
  padding: 0.35rem;
  border: 1px solid rgba(32, 42, 27, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.custom-tabs .nav-item {
  flex: 1 1 0;
}

.custom-tabs .nav-link {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--primary-color);
  font-weight: 600;
  padding: 0.8rem 1rem;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.custom-tabs .nav-link:hover,
.custom-tabs .nav-link:focus {
  color: var(--brand-active);
  background:#EDE0F5;
  border-color: rgba(32, 42, 27, 0.12);
}

.custom-tabs .nav-link.active,
.custom-tabs .show > .nav-link {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.site-logo {
  display: block;
  max-height: 80px;
  width: auto;
  object-fit: contain;
}

.site-topbar {
  background-color: var(--topbar-bg, #5d2d91) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.site-topbar__slider {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
  min-height: 2.25rem;
}

.site-topbar__nav {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: #ffffff;
  opacity: 0.92;
  transition:
    opacity 0.15s ease,
    background-color 0.15s ease;
}

.site-topbar__nav:hover:not(:disabled) {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.site-topbar__nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.site-topbar__nav .bi {
  font-size: 1.15rem;
  line-height: 1;
  color: #ffffff !important;
}

.site-topbar__text-col {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.5rem;
  text-align: center;
  overflow: hidden;
}

.site-topbar__slot {
  position: relative;
  min-height: 1.35em;
  overflow: hidden;
}

.site-topbar__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  transition-property: transform, opacity, filter;
  will-change: transform, opacity;
  white-space: nowrap;
}

.site-topbar__slot.is-animating .site-topbar__item {
  position: absolute;
  inset: 0;
}

.site-topbar__slot.is-animating.is-next .site-topbar__item.is-current,
.site-topbar__slot.is-animating.is-prev .site-topbar__item.is-current {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.site-topbar__slot.is-animating.is-next
  .site-topbar__item.is-current.is-exiting {
  opacity: 0;
  transform: translate3d(-100%, 0, 0);
  filter: blur(1px);
  transition-duration: 0.3s;
  transition-timing-function: cubic-bezier(0.55, 0, 1, 0.45);
}

.site-topbar__slot.is-animating.is-prev
  .site-topbar__item.is-current.is-exiting {
  opacity: 0;
  transform: translate3d(100%, 0, 0);
  filter: blur(1px);
  transition-duration: 0.3s;
  transition-timing-function: cubic-bezier(0.55, 0, 1, 0.45);
}

.site-topbar__slot.is-animating.is-next .site-topbar__item.is-incoming {
  opacity: 0;
  transform: translate3d(100%, 0, 0);
  filter: blur(1px);
}

.site-topbar__slot.is-animating.is-prev .site-topbar__item.is-incoming {
  opacity: 0;
  transform: translate3d(-100%, 0, 0);
  filter: blur(1px);
}

.site-topbar__slot.is-animating .site-topbar__item.is-incoming.is-entering {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
  transition-duration: 0.65s;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.site-topbar__text,
.site-topbar__link {
  margin: 0;
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.35;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-topbar__link {
  text-decoration: none;
}

.site-topbar__link:hover {
  text-decoration: underline;
  color: #ffffff;
}

.homepage__slide {
  overflow: hidden;
  height: 75vh;
  max-height: 75vh;
}

.homepage__hero-inner {
  background: var(--soft-bg, #FAF7FC);
  height: 100%;
  max-height: 75vh;
}

.homepage__slide #homeHeroCarousel,
.homepage__slide .carousel-item {
  height: 100%;
  max-height: 75vh;
}

.homepage__hero-image {
  object-position: center center;
  max-height: 75vh;
}

@media (max-width: 767.98px) {
  .homepage__slide {
    height: auto !important;
    max-height: 75vh !important;
  }

  .homepage__slide .container-fluid,
  .homepage__slide #homeHeroCarousel,
  .homepage__slide .carousel-inner,
  .homepage__slide .carousel-item {
    height: auto !important;
    max-height: 75vh !important;
  }

  .homepage__slide .carousel-item > div {
    aspect-ratio: 430 / 785;
    max-height: 75vh;
  }

  .homepage__slide .carousel-item picture,
  .homepage__slide .carousel-item img,
  .homepage__slide .carousel-item video {
    width: 100%;
    height: 100%;
    max-height: 75vh;
    display: block;
  }

  .homepage__slide .carousel-item img {
    object-fit: cover;
    object-position: center center;
  }
}

#homeHeroCarousel .carousel-item {
  transition:
    transform 0.45s cubic-bezier(0.55, 0, 1, 0.45),
    opacity 0.45s cubic-bezier(0.55, 0, 1, 0.45);
}

#homeHeroCarousel .carousel-item .ratio,
#homeHeroCarousel .carousel-item img,
#homeHeroCarousel .carousel-item video {
  will-change: transform, opacity;
}

/* Hero Slide Centered Content Overlay (V/H center/middle) */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.38));
  z-index: 3;
}

.hero-slide-content {
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-slide-subtitle {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.65);
}

.hero-slide-title {
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  font-size: 1.75rem;
  margin-bottom: 1rem;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.7);
}

@media (min-width: 768px) {
  .hero-slide-subtitle {
    font-size: 1rem;
    letter-spacing: 3px;
    margin-bottom: 0.75rem;
  }
  .hero-slide-title {
    font-size: 2.35rem;
  }
}

@media (min-width: 992px) {
  .hero-slide-title {
    font-size: 3rem !important; /* Exactly 3rem on desktop */
    line-height: 1.15;
  }
  .hero-slide-subtitle {
    font-size: 1.1rem;
    letter-spacing: 3.5px;
  }
}

.hero-slide-action {
  margin-top: 0.75rem;
}

.btn-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #111111;
  background-color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hero-cta:hover,
.btn-hero-cta:focus {
  background-color: #111111;
  color: #ffffff;
  border-color: #111111;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

#homeHeroCarousel .carousel-item .ratio {
  transform: scale(1.035);
  opacity: 0;
  transition:
    transform 1.05s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 1.05s cubic-bezier(0.16, 1, 0.3, 1);
}

#homeHeroCarousel .carousel-item.active .ratio,
#homeHeroCarousel .carousel-item.carousel-item-start .ratio,
#homeHeroCarousel .carousel-item.carousel-item-end .ratio,
#homeHeroCarousel .carousel-item.carousel-item-next .ratio,
#homeHeroCarousel .carousel-item.carousel-item-prev .ratio {
  opacity: 1;
}

#homeHeroCarousel .carousel-item.active .ratio {
  transform: scale(1);
}

#homeHeroCarousel.is-next .carousel-item-next .ratio,
#homeHeroCarousel.is-prev .carousel-item-prev .ratio {
  transform: scale(1);
}

#homeHeroCarousel.is-next .carousel-item-start .ratio,
#homeHeroCarousel.is-prev .carousel-item-end .ratio {
  transform: scale(0.985);
  opacity: 0.9;
  transition-duration: 0.45s;
  transition-timing-function: cubic-bezier(0.55, 0, 1, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  #homeHeroCarousel .carousel-item,
  #homeHeroCarousel .carousel-item .ratio {
    transition: none;
  }

  #homeHeroCarousel .carousel-item .ratio {
    transform: none;
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-topbar__nav {
    transition: none;
  }

  .site-topbar__item {
    transition: none;
    filter: none;
  }
}

/* ==========================================================================
   Ohsogo-Inspired Header & Center-Split Navigation
   ========================================================================== */

.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #ededed;
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  min-height: 72px;
  position: static;
}

.header-desktop-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  position: static;
}

.header-logo-col {
  flex: 1 0 0%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
}

.header-nav-col {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: static;
  margin: 0 auto;
  min-width: 0;
}

.header-actions-col {
  flex: 1 0 0%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.site-header-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  line-height: 1;
}

.site-logo-img {
  max-height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}

.site-header-logo-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.site-logo-img-mobile {
  max-height: 32px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Desktop Navigation Items */
.header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  gap: 0.35rem;
  position: static;
}

.header-nav-item {
  position: relative;
}

.header-nav-item.has-mega-menu {
  position: static !important;
}

.header-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #1a1a1a;
  text-decoration: none;
  padding: 1.5rem 0.65rem;
  white-space: nowrap;
  transition: color 0.2s ease;
  position: relative;
  cursor: pointer;
}

.header-nav-link:hover,
.header-nav-link.active {
  color: var(--primary-color, #5d2d91);
}

.header-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.65rem;
  right: 0.65rem;
  height: 2px;
  background: var(--primary-color, #5d2d91);
  transform: scaleX(0);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px 2px 0 0;
}

.header-nav-item:hover .header-nav-link::after,
.header-nav-link.active::after {
  transform: scaleX(1);
}

.nav-chevron {
  font-size: 0.65rem;
  transition: transform 0.2s ease, color 0.2s ease;
  margin-left: 2px;
  color: #888;
}

.header-nav-item:hover .nav-chevron {
  transform: rotate(180deg);
  color: var(--primary-color, #5d2d91);
}

.header-nav-link--sale {
  color: #d32f2f !important;
  font-weight: 700;
}

.header-nav-link--sale:hover {
  color: #b71c1c !important;
}

.header-nav-link--sale::after {
  background: #d32f2f !important;
}

.header-nav-link--sale i {
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.header-nav-link--sale:hover i {
  transform: scale(1.18);
}

.badge-sale {
  font-size: 9px;
  font-weight: 700;
  background: #e53935;
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 999px;
  margin-left: 4px;
  letter-spacing: 0.04em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

/* Header Action Cluster Icons */
.header-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a !important;
  text-decoration: none;
  background: transparent;
  border: 0;
  padding: 0.45rem;
  font-size: 1.25rem;
  transition: color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  line-height: 1;
  position: relative;
}

.header-icon-btn:hover {
  color: var(--primary-color, #5d2d91) !important;
  transform: scale(1.08);
}

.header-badge {
  position: absolute;
  top: -3px;
  right: -6px;
  background: var(--primary-color, #5d2d91);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #ffffff;
  box-shadow: 0 2px 5px rgba(93, 45, 145, 0.35);
}

/* Standard Dropdown Menu */
.header-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #ededed;
  border-radius: 0 0 10px 10px;
  padding: 0.6rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 1050;
  pointer-events: none;
}

.has-dropdown:hover > .header-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-link {
  display: block;
  padding: 0.55rem 1.25rem;
  font-size: 13px;
  color: #444;
  text-decoration: none;
  transition: all 0.15s ease;
}

.dropdown-link:hover {
  background-color: rgba(93, 45, 145, 0.05);
  color: var(--primary-color, #5d2d91);
  padding-left: 1.5rem;
}

/* Mega Menu Panel (Skin Care, etc.) */
.mega-menu-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.09);
  border-top: 1px solid #ededed;
  border-bottom: 2px solid var(--primary-color, #5d2d91);
  padding: 2.2rem 2.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1050;
  pointer-events: none;
}

.has-mega-menu:hover > .mega-menu-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mega-col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1a1a1a;
  margin-bottom: 0.85rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #f0f0f0;
  display: block;
  text-decoration: none;
}

.mega-col-title:hover {
  color: var(--primary-color, #5d2d91);
}

.mega-col-list li {
  margin-bottom: 0.2rem;
}

.mega-col-link {
  display: block;
  font-size: 13px;
  color: #555;
  text-decoration: none;
  padding: 0.3rem 0;
  transition: color 0.15s ease, transform 0.15s ease;
}

.mega-col-link:hover {
  color: var(--primary-color, #5d2d91);
  transform: translateX(4px);
}

/* Responsive Desktop Header Adjustments (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .header-logo-col {
    margin-right: 0;
  }
  .header-nav {
    gap: 0.15rem;
  }
  .header-nav-link {
    padding: 1.5rem 0.35rem;
    font-size: 12px;
    letter-spacing: 0.02em;
  }
  .header-nav-link::after {
    left: 0.35rem;
    right: 0.35rem;
  }
  .site-logo-img {
    max-height: 36px;
  }
  .header-icon-btn {
    padding: 0.35rem;
    font-size: 1.15rem;
  }
}

/* Mobile Header Bar */
.header-mobile-bar {
  height: 58px;
  min-height: 58px;
}

.header-account-dropdown .dropdown-toggle::after {
  display: none;
}

.site-menu-offcanvas .offcanvas-header {
  background-color: #ffffff !important;
  color: #1a1a1a !important;
  border-bottom: 1px solid #ededed;
}

.cart-drawer-panel .offcanvas-header {
  background-color: var(--header-icon-color, #5d2d91) !important;
  color: #ffffff !important;
}

#searchModal .btn.primary__bg {
  background-color: var(--header-icon-color, #5d2d91) !important;
  border-color: var(--header-icon-color, #5d2d91) !important;
  color: #ffffff !important;
}

#searchModal .btn.primary__bg:hover {
  background-color: var(--header-icon-hover, #4b2476) !important;
  border-color: var(--header-icon-hover, #4b2476) !important;
}

.site-menu-offcanvas.offcanvas-start {
  width: min(100vw - 2rem, 320px);
}

.site-menu-nav li a {
  display: block;
  padding: 0.85rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--primary-color);
  text-decoration: none;
  border-bottom: 1px solid rgba(32, 42, 27, 0.08);
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}

.site-menu-nav li a:hover,
.site-menu-nav li a:focus {
  background-color: rgba(157, 176, 137, 0.2);
  color: var(--primary-color);
}

.site-menu-item {
  border-bottom: 1px solid rgba(32, 42, 27, 0.08);
}

.site-menu-row {
  display: flex;
  align-items: stretch;
  background-color: #fff;
}

.site-menu-link {
  flex: 1 1 auto;
  min-width: 0;
}

.site-menu-nav .site-menu-link {
  border-bottom: 0;
}

.site-menu-toggle {
  flex: 0 0 3.5rem;
  border: 0;
  border-left: 1px solid rgba(32, 42, 27, 0.08);
  background: transparent;
  color: var(--primary-color);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-menu-toggle:hover,
.site-menu-toggle:focus {
  background-color: rgba(157, 176, 137, 0.2);
  color: var(--primary-color);
}

.site-menu-toggle i {
  display: inline-block;
  transition: transform 0.2s ease;
}

.site-menu-toggle:not(.collapsed) i {
  transform: rotate(180deg);
}

.site-submenu {
  background-color: rgba(157, 176, 137, 0.08);
}

.site-submenu .site-menu-row {
  background-color: transparent;
}

.site-menu-link--depth-2 {
  padding-left: 2rem;
  font-size: 0.92rem;
}

.site-menu-link--depth-3 {
  padding-left: 2.8rem;
  font-size: 0.89rem;
}

.cart-drawer-item-image {
  width: 78px;
  height: 78px;
  object-fit: cover;
  border: 1px solid #efefef;
  background: #fff;
}

.cart-drawer-summary {
  border-top: 1px dashed #9c9c9c;
}

.cart-drawer-actions .btn {
  min-height: 48px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease-in-out;
}
.cart-drawer-actions .btn:first-child:hover,
.cart-drawer-actions .btn:first-child:focus,
.cart-drawer-actions .btn:first-child:active {
  background-color: var(--brand-hover) !important;
  border-color: var(--brand-hover) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(91, 0, 156, 0.25);
}
.cart-drawer-actions .btn:last-child:hover,
.cart-drawer-actions .btn:last-child:focus,
.cart-drawer-actions .btn:last-child:active {
  background-color: #17002b !important;
  border-color: #17002b !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(32, 0, 59, 0.35);
}

.cart-drawer-panel .offcanvas-body {
  padding: 1.5rem;
}

.cart-drawer-line {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.cart-drawer-title {
  font-size: 0.95rem;
  line-height: 1.4;
  margin-bottom: 0.3rem;
}

.cart-drawer-price {
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}

.cart-drawer-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.cart-drawer-qty button,
.cart-drawer-qty span {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.cart-drawer-qty button {
  border: 0;
  background: #f1f1f1;
  color: #111;
  cursor: default;
}

.cart-drawer-qty span {
  font-weight: 500;
}

.cart-drawer-note {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

.floating-cart-button {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--header-icon-color, #5d2d91);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 999;
  box-shadow: 0 10px 25px rgba(93, 45, 145, 0.35);
  line-height: 1;
  padding: 0;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.floating-cart-button:hover {
  background: var(--header-icon-hover, #4b2476);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(93, 45, 145, 0.45);
}

.floating-cart-button i {
  font-size: 1.25rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
}

.floating-cart-badge {
  position: absolute;
  top: -6px;
  right: -4px;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #111;
}

.floating-cart-button .floating-cart-badge {
  background: #fff;
  color: var(--header-icon-color, #5d2d91);
  border: 1.5px solid var(--header-icon-color, #5d2d91);
}

.product__card {
  overflow: hidden;
  margin-bottom: 0;
  border-radius: 1.25rem !important;
  background: #ffffff;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.product__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.product__card-media {
  position: relative;
  overflow: hidden !important;
  border-radius: 1.25rem 1.25rem 0 0;
  background: #ffffff;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product__card-media > a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.product__card-media img,
.product__card .card-img-top {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
  will-change: transform;
}

.product__card:hover .product__card-media img,
.product__card:hover .card-img-top {
  transform: scale(1.08);
}

/* Floating Wishlist Button on Product Cards */
.product__wishlist-form {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 4;
  margin: 0 !important;
  padding: 0;
  line-height: 1;
}

.product__wishlist-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  padding: 0;
  line-height: 1;
  outline: none;
}

.product__wishlist-btn:hover {
  background: #ffffff;
  color: #e11d48;
  transform: scale(1.12);
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.22);
}

.product__wishlist-btn.is-active {
  background: #ffffff;
  color: #e11d48;
  border-color: rgba(225, 29, 72, 0.2);
  box-shadow: 0 2px 10px rgba(225, 29, 72, 0.18);
}

.product__wishlist-btn.is-active i {
  color: #e11d48 !important;
}

.product__wishlist-btn:focus-visible {
  outline: 2px solid var(--brand-color, #5d2d91);
  outline-offset: 2px;
}

.product__name {
  font-size: 13px !important;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 35px;
  color: #1f2937;
}

.product__price {
  font-size: 14px !important;
  font-weight: 700;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  flex-wrap: wrap;
  line-height: 1.25;
}

.product__price-current {
  color: #111827;
  white-space: nowrap;
}

.product__old-price {
  color: #9ca3af;
  font-size: 12px !important;
  font-weight: 500;
  text-decoration: line-through;
  white-space: nowrap;
}

.product__badge-discount {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 4;
  background: linear-gradient(135deg, #5B009C 0%, #32005A 100%);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(91, 0, 156, 0.28);
  pointer-events: none;
  line-height: 1.2;
  text-transform: uppercase;
}

@media (max-width: 575.98px) {
  .product__badge-discount {
    top: 0.5rem;
    left: 0.5rem;
    font-size: 0.62rem;
    padding: 0.18rem 0.45rem;
  }
}

.product__card .product__card-body {
  padding: 0.75rem 0.85rem 0.65rem;
  background: #ffffff;
  position: relative;
  z-index: 1;
}

.product__card .product__card-actions {
  margin-bottom: 0;
}

.product__card .btn-site {
  background-color: var(--brand-color, #5d2d91) !important;
  border-color: var(--brand-color, #5d2d91) !important;
  color: #fff !important;
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
}

.product__card .btn-site:hover {
  background-color: var(--brand-hover) !important;
  border-color: var(--brand-hover) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px var(--brand-light, rgba(93, 45, 145, 0.3));
}

.shop-page-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
}

.shop-page-head__side {
  min-width: 0;
}

.shop-page-head__side--end {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 575.98px) {
  .shop-page-head {
    grid-template-columns: 1fr;
  }

  .shop-page-head__side {
    display: none;
  }

  .shop-page-head__side--end {
    display: flex;
    justify-content: center;
  }
}

.homepage__brands img {
  transition: 0.35s ease;
  object-fit: cover;
}
.homepage__brands img:hover {
  opacity: 0.65;
}

.homepage__categories img {
  transition: 0.35s ease;
}
.homepage__categories img:hover {
  transform: translateY(-7px);
}

/*================================
PRODUCT DETAILS
/*================================
PRODUCT DETAILS - ULTRA PREMIUM LUXURY
================================*/
.product-detail-page {
  padding-top: 6.5rem;
  padding-bottom: 5.5rem;
  background: #fdfdfd;
}

/* Breadcrumbs */
.product-detail-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  color: #71717a;
  margin-bottom: 2rem;
}

.product-detail-breadcrumbs a {
  color: #52525b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-detail-breadcrumbs a:hover {
  color: var(--brand-color, #5d2d91);
}

.product-detail-breadcrumbs .breadcrumb-sep {
  font-size: 0.72rem;
  color: #a1a1aa;
}

.product-detail-breadcrumbs .breadcrumb-current {
  color: #18181b;
  font-weight: 500;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Main Two-Column Grid */
.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 1fr);
  gap: 3.5rem;
  align-items: start;
}

/* Gallery Container */
.product-gallery-shell {
  position: sticky;
  top: 90px;
}

.product-gallery-main {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: crosshair;
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease-out;
  user-select: none;
}

.product-gallery-main:hover img {
  transform: scale(1.15);
}

/* Gallery Badges */
.product-gallery-badge-discount {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: linear-gradient(135deg, #5B009C 0%, #32005A 100%);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(91, 0, 156, 0.35);
  z-index: 2;
  text-transform: uppercase;
}

.product-gallery-badge-korea {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: #1f2937;
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 2;
}

/* Gallery Thumbnails */
.product-gallery-thumbs {
  display: flex;
  gap: 0.85rem;
  margin-top: 1.15rem;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.product-gallery-thumb {
  flex: 0 0 82px;
  width: 82px;
  height: 82px;
  border: 2px solid transparent;
  background: #ffffff;
  border-radius: 18px;
  padding: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.product-gallery-thumb:hover {
  transform: translateY(-2px);
  border-color: rgba(93, 45, 145, 0.35);
}

.product-gallery-thumb.is-active {
  border-color: var(--brand-color, #5d2d91);
  box-shadow: 0 4px 16px rgba(93, 45, 145, 0.22);
  transform: translateY(-2px);
}

.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Buy Box & Intelligence */
.product-brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-color, #5d2d91);
  background: rgba(93, 45, 145, 0.08);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.product-brand-chip:hover {
  background: rgba(93, 45, 145, 0.15);
  color: var(--brand-color, #5d2d91);
}

.product-detail-title {
  font-size: clamp(1.4rem, 2.4vw, 1.95rem);
  font-weight: 700;
  line-height: 1.25;
  color: #111827;
  margin-bottom: 0.75rem;
  letter-spacing: -0.015em;
}

/* Social Proof & Rating Bar */
.product-social-proof-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
}

.product-stars {
  color: var(--luxury-accent, #D4AF37);
  display: inline-flex;
  gap: 2px;
}

.product-rating-text {
  font-weight: 600;
  color: #374151;
}

.product-demand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #fff1f2;
  color: #e11d48;
  font-weight: 600;
  font-size: 0.78rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid #ffe4e6;
}

/* Price Section */
.product-detail-price-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.85rem 1rem;
  margin-bottom: 0.35rem;
}

.product-detail-price-current {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
}

.product-detail-price-compare {
  color: #9ca3af;
  font-size: 1.25rem;
  text-decoration: line-through;
  font-weight: 500;
}

.product-detail-price-save {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
}

.product-tax-note {
  font-size: 0.82rem;
  color: #6b7280;
  margin-bottom: 1.25rem;
}

/* Live Stock Dot */
.product-detail-stock {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #065f46;
  background: #f0fdf4;
  border: 1px solid #dcfce7;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.product-detail-stock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
  animation: stockPulse 2s infinite;
}

@keyframes stockPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Purchase Actions Row */
.product-detail-primary-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.product-detail-primary-row .js-add-to-cart-form {
  flex: 1 1 auto;
}

.product-detail-wishlist-form {
  flex: 0 0 auto;
}

.product-detail-buy {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 0.85rem;
  margin-bottom: 0;
}

.product-detail-qty {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  border: 1.5px solid #e5e7eb;
  background: #ffffff;
  border-radius: 999px;
  min-height: 56px;
  padding: 0 0.85rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.product-detail-qty button {
  border: 0;
  background: transparent;
  font-size: 1.3rem;
  font-weight: 600;
  color: #374151;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.15s ease;
}

.product-detail-qty button:hover {
  color: var(--brand-color, #5d2d91);
}

.product-detail-qty input {
  width: 44px;
  border: 0;
  background: transparent;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  -moz-appearance: textfield;
  appearance: textfield;
}

.product-detail-qty input::-webkit-outer-spin-button,
.product-detail-qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-detail-add-btn {
  background: linear-gradient(135deg, #5B009C 0%, #32005A 100%) !important;
  color: #ffffff !important;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 999px !important;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: 0 6px 20px rgba(91, 0, 156, 0.35);
  border: none !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  width: 100%;
}

.product-detail-add-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(91, 0, 156, 0.45);
  color: #ffffff !important;
}

.product-detail-add-btn:active {
  transform: translateY(0);
}

/* Secondary Actions Bar (WhatsApp, Messenger) */
.product-detail-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.product-action-btn-whatsapp {
  background: #25d366;
  color: #ffffff !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.25);
}

.product-action-btn-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
  color: #ffffff !important;
}

.product-action-btn-messenger {
  background: #0084ff;
  color: #ffffff !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(0, 132, 255, 0.25);
}

.product-action-btn-messenger:hover {
  background: #0073e6;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 132, 255, 0.35);
  color: #ffffff !important;
}

.product-detail-wishlist-btn {
  width: 56px;
  height: 56px;
  min-height: 56px;
  border-radius: 999px;
  border: 1.5px solid #e5e7eb;
  background: #ffffff;
  color: #374151;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.product-detail-wishlist-btn:hover {
  border-color: #ec4899;
  color: #ec4899;
  transform: scale(1.05);
}

.product-detail-wishlist-btn.is-active {
  background: #fdf2f8;
  border-color: #ec4899;
  color: #ec4899;
}

/* Social Share Toolbar */
.product-detail-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
  margin-bottom: 1.75rem;
  padding: 0.75rem 1rem;
  background: #fdfdfd;
  border: 1px solid #f1f2f4;
  border-radius: 16px;
}

.product-share-label {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  flex-shrink: 0;
}

.product-share-label i {
  color: var(--brand-color, #5B009C);
  font-size: 0.9rem;
}

.product-share-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex-grow: 1;
}

.product-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #334155;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  line-height: 1.2;
}

.product-share-btn i {
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}

.product-share-btn:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.product-share-btn:active {
  transform: translateY(0);
}

/* WhatsApp Share Pill */
.product-share-btn--whatsapp {
  color: #15803d;
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.product-share-btn--whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

/* Messenger Share Pill */
.product-share-btn--messenger {
  color: #0070e0;
  background: #f0f7ff;
  border-color: #bfdbfe;
}

.product-share-btn--messenger:hover {
  background: #0084ff;
  border-color: #0084ff;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 132, 255, 0.35);
}

/* Facebook Share Pill */
.product-share-btn--facebook {
  color: #1877f2;
  background: #f0f5ff;
  border-color: #c7d7fe;
}

.product-share-btn--facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.35);
}

/* Copy Link Pill */
.product-share-btn--copy {
  color: #475569;
  background: #ffffff;
  border-color: #e2e8f0;
}

.product-share-btn--copy:hover {
  background: #1e293b;
  border-color: #1e293b;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(30, 41, 59, 0.25);
}

/* Copied State */
.product-share-btn--copy.is-copied {
  background: #ecfdf5 !important;
  border-color: #10b981 !important;
  color: #059669 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2) !important;
  transform: scale(1.02);
}

/* Floating Share Toast */
.product-share-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translate(-50%, 20px);
  background: #111827;
  color: #ffffff;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  display: flex;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-share-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.product-share-toast i {
  color: #34d399;
  font-size: 1.05rem;
}

/* Luxury Reassurance 4-Grid Box */
.product-reassurance-card {
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-radius: 20px;
  padding: 1.25rem 1.4rem;
  margin-bottom: 2rem;
}

.product-reassurance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem 1.25rem;
}

.product-reassurance-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.product-reassurance-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(93, 45, 145, 0.08);
  color: var(--brand-color, #5d2d91);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.product-reassurance-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 2px;
}

.product-reassurance-desc {
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.35;
  margin-bottom: 0;
}

/* Product Specs Bar (SKU, Category, Origin) */
.product-detail-specs-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  padding: 0.85rem 1.25rem;
  background: #fbf9fd;
  border: 1px solid #ede8f5;
  border-radius: 16px;
  margin-top: 1rem;
  box-shadow: 0 2px 8px rgba(93, 45, 145, 0.03);
}

.product-spec-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.product-spec-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(93, 45, 145, 0.08);
  color: var(--brand-color, #5d2d91);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.product-spec-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.product-spec-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8b7ca6;
}

.product-spec-val {
  font-size: 0.86rem;
  font-weight: 600;
  color: #1f2937;
}

.product-spec-divider {
  width: 1px;
  height: 24px;
  background: #e3ddef;
}

@media (max-width: 576px) {
  .product-detail-specs-bar {
    gap: 0.65rem 0.85rem;
    padding: 0.75rem 0.9rem;
  }
  .product-spec-divider {
    display: none;
  }
  .product-spec-val {
    font-size: 0.8rem;
  }
}

/* Editorial Tabs Section */
.product-editorial-tabs-wrap {
  margin-top: 4.5rem;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #f3f4f6;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.product-editorial-nav {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid #f3f4f6;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  overflow-x: auto;
}

.product-editorial-nav .nav-link {
  border: 0;
  background: transparent;
  color: #6b7280;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.product-editorial-nav .nav-link:hover {
  color: var(--brand-color, #5d2d91);
  background: rgba(93, 45, 145, 0.06);
}

.product-editorial-nav .nav-link.active {
  background: var(--brand-color, #5d2d91) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(93, 45, 145, 0.25);
}

.product-tab-content {
  color: #4b5563;
  line-height: 1.85;
  font-size: 0.98rem;
}

.product-tab-content h3,
.product-tab-content h4 {
  color: #111827;
  font-weight: 700;
  margin-top: 1rem;
  margin-bottom: 0.75rem;
}

/* Routine Steps Diagram */
.k-routine-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.75rem 0;
}

.k-routine-step {
  text-align: center;
  background: #fafafa;
  border: 1px solid #f3f4f6;
  border-radius: 18px;
  padding: 1.2rem 0.75rem;
  transition: all 0.2s ease;
}

.k-routine-step.is-current {
  background: #fdf2f8;
  border-color: #fbcfe8;
  box-shadow: 0 4px 14px rgba(93, 45, 145, 0.08);
}

.k-routine-num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-color, #5d2d91);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.k-routine-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 2px;
}

.k-routine-sub {
  font-size: 0.72rem;
  color: #6b7280;
}

/* Customer Reviews Section in Tabs */
.product-reviews-container {
  padding: 0.5rem 0;
}

.product-reviews-score-badge {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  background: rgba(91, 0, 156, 0.06);
  border: 1px solid rgba(91, 0, 156, 0.15);
  padding: 0.6rem 1.1rem;
  border-radius: 16px;
}

.product-reviews-score-val {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-color, #5B009C);
  line-height: 1;
}

.product-reviews-score-max {
  font-size: 0.95rem;
  font-weight: 600;
  color: #64748b;
}

/* Star Rating Picker in Review Form */
.product-star-picker {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.star-pick-btn {
  background: transparent;
  border: 0;
  padding: 0.2rem;
  font-size: 1.65rem;
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1;
}

.star-pick-btn:hover,
.star-pick-btn.is-active {
  color: #f59e0b;
  transform: scale(1.1);
}

.star-pick-btn:focus {
  outline: none;
}

.star-pick-feedback {
  font-size: 0.92rem;
  color: #475569;
}

/* Reviewer Avatar */
.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-color, #5B009C), #8b5cf6);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(91, 0, 156, 0.2);
}

.shadow-xs {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* Mobile Sticky Add to Cart Bar */
.product-mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1045;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  padding: 0.75rem 1rem;
  transform: translateY(120%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: none;
}

.product-mobile-sticky-bar.is-visible {
  transform: translateY(0);
}

.product-mobile-sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.product-mobile-sticky-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.product-mobile-sticky-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid #f3f4f6;
  flex-shrink: 0;
}

.product-mobile-sticky-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

.product-mobile-sticky-price {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--brand-color, #5d2d91);
}

.product-mobile-sticky-btn {
  background: var(--brand-color, #5d2d91);
  color: #ffffff !important;
  border: 0;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  flex-shrink: 0;
}

/* Related Products Section */
.related-products-wrap {
  margin-top: 5rem;
}

.related-products-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.related-products-title {
  font-family: var(--font-family-base);
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--text-color, #17121A);
  letter-spacing: -0.02em;
}

.related-products-nav {
  display: flex;
  gap: 0.5rem;
}

.related-products-nav button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #ffffff;
  color: #1f2937;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.related-products-nav button:hover {
  background: var(--brand-color, #5d2d91);
  border-color: var(--brand-color, #5d2d91);
  color: #ffffff;
}

@media (max-width: 991.98px) {
  .product-detail-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
  .product-detail-grid > div {
    min-width: 0;
    max-width: 100%;
  }
  .product-gallery-shell {
    position: static;
  }
  .product-editorial-tabs-wrap {
    padding: 1.75rem 1.25rem;
  }
  .k-routine-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .product-detail-page {
    padding-top: 5rem;
    padding-bottom: 6.5rem;
  }
  .product-detail-breadcrumbs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    white-space: nowrap;
    padding-bottom: 4px;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
  }
  .product-detail-breadcrumbs::-webkit-scrollbar {
    display: none;
  }
  .product-detail-breadcrumbs .breadcrumb-current {
    max-width: 180px;
  }
  .product-detail-primary-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.45rem;
    margin-bottom: 0.65rem;
    width: 100%;
  }
  .product-detail-primary-row .js-add-to-cart-form {
    flex: 1 1 auto;
    min-width: 0;
  }
  .product-detail-wishlist-form {
    flex: 0 0 50px;
    width: 50px;
  }
  .product-detail-buy {
    display: flex;
    gap: 0.45rem;
    width: 100%;
  }
  .product-detail-qty {
    flex: 0 0 90px;
    min-height: 50px;
    padding: 0 0.4rem;
  }
  .product-detail-qty button {
    width: 24px;
    height: 24px;
    font-size: 1.15rem;
  }
  .product-detail-qty input {
    width: 28px;
    font-size: 0.95rem;
  }
  .product-detail-add-btn {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 50px;
    font-size: 0.88rem;
    padding: 0 0.5rem;
    gap: 0.35rem;
  }
  .product-detail-wishlist-btn {
    width: 50px;
    height: 50px;
    min-height: 50px;
    flex: 0 0 50px;
    font-size: 1.15rem;
  }
  .product-detail-secondary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }
  .product-action-btn-whatsapp,
  .product-action-btn-messenger {
    min-height: 44px;
    font-size: 0.82rem;
    padding: 0 0.5rem;
    gap: 0.35rem;
    white-space: nowrap;
  }
  .product-action-btn-whatsapp span,
  .product-action-btn-messenger span {
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .product-detail-stock {
    font-size: 0.78rem;
    padding: 0.35rem 0.75rem;
    margin-bottom: 1rem;
    line-height: 1.35;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }
  .product-detail-share {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 0.65rem 0.8rem;
    margin-bottom: 1.25rem;
    border-radius: 14px;
  }
  .product-share-label {
    font-size: 0.72rem;
  }
  .product-share-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.35rem;
    width: 100%;
  }
  .product-share-btn {
    padding: 0.42rem 0.2rem;
    font-size: 0.72rem;
    justify-content: center;
    text-align: center;
    gap: 0.25rem;
  }
  .product-share-btn i {
    font-size: 0.82rem;
  }
  .product-share-btn span {
    font-size: 0.68rem;
    white-space: nowrap;
  }
  .product-reassurance-card {
    padding: 1rem 1.1rem;
    margin-bottom: 1.5rem;
    border-radius: 16px;
  }
  .product-reassurance-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
  .product-reassurance-item {
    gap: 0.65rem;
  }
  .product-reassurance-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
    border-radius: 10px;
  }
  .product-reassurance-title {
    font-size: 0.82rem;
  }
  .product-reassurance-desc {
    font-size: 0.74rem;
    line-height: 1.35;
  }
  .product-editorial-tabs-wrap {
    margin-top: 2.25rem;
    padding: 1.25rem 1rem;
    border-radius: 20px;
  }
  .product-editorial-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.45rem;
    padding-bottom: 0.5rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid #f1f2f4;
  }
  .product-editorial-nav::-webkit-scrollbar {
    display: none;
  }
  .product-editorial-nav .nav-item {
    flex: 0 0 auto;
  }
  .product-editorial-nav .nav-link {
    font-size: 0.84rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    color: #4b5563;
  }
  .product-editorial-nav .nav-link.active {
    background: var(--brand-color, #5B009C) !important;
    border-color: var(--brand-color, #5B009C) !important;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(91, 0, 156, 0.25);
  }
  .product-mobile-sticky-bar {
    display: block;
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
  }
  .k-routine-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }
  .k-routine-step {
    padding: 0.85rem 0.5rem;
    border-radius: 14px;
  }
  /* Floating cart button hidden on product details, cart, and checkout pages to prevent collision & redundant UX */
  body:has(.product-detail-page) .floating-cart-button,
  body:has(.cart-page) .floating-cart-button,
  body:has(.checkout-page-wrapper) .floating-cart-button,
  .product-detail-page ~ .floating-cart-button,
  .cart-page ~ .floating-cart-button,
  .checkout-page-wrapper ~ .floating-cart-button,
  .floating-cart-button.is-product-detail {
    display: none !important;
  }
}

@media (max-width: 576px) {
  .floating-cart-button {
    width: 48px;
    height: 48px;
    right: 14px;
    bottom: 14px;
  }
  .floating-cart-button i {
    font-size: 1.15rem;
  }
  .product-gallery-main {
    border-radius: 20px;
  }
  .product-gallery-badge-discount {
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.32rem 0.65rem;
    font-size: 0.72rem;
    max-width: calc(65% - 1rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .product-gallery-badge-korea {
    top: auto;
    bottom: 0.75rem;
    right: 0.75rem;
    padding: 0.32rem 0.65rem;
    font-size: 0.7rem;
  }
  .product-detail-specs-bar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem;
    padding: 0.75rem 0.5rem;
    border-radius: 14px;
    margin-top: 0.75rem;
  }
  .product-spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.25rem;
  }
  .product-spec-divider {
    display: none;
  }
  .product-spec-icon {
    width: 26px;
    height: 26px;
    font-size: 0.8rem;
  }
  .product-spec-label {
    font-size: 0.62rem;
  }
  .product-spec-val {
    font-size: 0.75rem;
    word-break: break-word;
  }
  .site-topbar__nav {
    width: 1.85rem;
  }
  .site-topbar__nav .bi {
    font-size: 0.95rem;
  }
  .site-topbar__text,
  .site-topbar__link {
    font-size: 0.72rem;
  }
  .footer__trust-card {
    padding: 0.65rem 0.5rem;
    gap: 0.35rem;
  }
  .footer__trust-card .ms-3 {
    margin-left: 0.35rem !important;
  }
  .footer__trust-icon-box {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
  .footer__trust-title {
    font-size: 0.76rem;
  }
  .footer__trust-desc {
    font-size: 0.66rem;
    line-height: 1.25;
  }
}


/*========================================
CART
========================================*/
.cart-page {
  padding-top: 7rem;
  padding-bottom: 4rem;
}
.cart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(320px, 0.9fr);
  gap: 2.5rem;
}
.cart-table-head,
.cart-line {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) 140px 120px 36px;
  gap: 1.5rem;
  align-items: center;
}
.cart-table-head {
  padding: 0 0 1.25rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #1f1f1f;
  font-weight: 500;
}
.cart-line {
  padding: 1.5rem 0;
  border-bottom: 1px dashed #999;
}
.cart-product {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.cart-product-image {
  width: 88px;
  height: 88px;
  object-fit: cover;
  background: #fff;
  border: 1px solid #eee;
  flex-shrink: 0;
}
.cart-product-name {
  font-size: 1rem;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.cart-product-price,
.cart-line-subtotal {
  font-size: 1rem;
}
.cart-qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid #1f1f1f;
  min-width: 112px;
  justify-content: space-between;
  padding: 0.45rem 0.5rem;
}
.cart-qty-button {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  font-size: 1.25rem;
  line-height: 1;
}
.cart-qty-input {
  width: 34px;
  border: 0;
  text-align: center;
  background: transparent;
  font-weight: 500;
  -moz-appearance: textfield;
  appearance: textfield;
}
.cart-qty-input::-webkit-outer-spin-button,
.cart-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.cart-remove {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 1rem;
  color: #111;
}
.cart-summary-card {
  border: 2px solid #737373;
  border-radius: 30px;
  padding: 1.5rem;
  position: sticky;
  top: 7rem;
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.cart-summary-divider {
  border-top: 1px dashed #999;
  margin: 1.5rem 0;
}
.cart-coupon {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.cart-feedback {
  min-height: 1.5rem;
}
@media (max-width: 991.98px) {
  .cart-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .cart-grid > * {
    min-width: 0;
  }
  .cart-summary-card {
    position: static;
  }
}
@media (max-width: 767.98px) {
  .cart-table-head {
    display: none;
  }
  .cart-line {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .cart-product {
    align-items: flex-start;
  }
}

/*========================================
PAGINATION
========================================*/
.page-link {
  color: var(--primary-color);
  font-size: 14px;
  outline: none;
  box-shadow: none;
}
.page-item.active .page-link {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

/*========================================
MULTI RANGE SLIDER
========================================*/
.multi-range {
  height: 24px;
}
.multi-range input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
  top: 0;
  left: 0;
  margin: 0;
}
.multi-range input[type="range"]:focus {
  outline: none;
}
.multi-range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: all;
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 0 2px #fff;
  margin-top: 2px;
}
.multi-range input[type="range"]::-moz-range-thumb {
  pointer-events: all;
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 0 2px #fff;
  border: none;
}

/*========================================
FOOTER & COPYRIGHT (LUXURY K-BEAUTY REDESIGN)
========================================*/
.footer.lumi-footer {
  background: radial-gradient(120% 80% at 50% 0%, rgba(91, 0, 156, 0.35) 0%, rgba(50, 0, 90, 0.95) 55%, #17121A 100%), linear-gradient(180deg, #32005A 0%, #17121A 100%) !important;
  color: #f1edf4 !important;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer.lumi-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), transparent);
  pointer-events: none;
}

/* Trust Bar / Value Proposition Strip */
.footer__trust-section {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__trust-card {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  height: 100%;
}

.footer__trust-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(212, 175, 55, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.footer__trust-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(91, 0, 156, 0.45) 0%, rgba(50, 0, 90, 0.3) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--luxury-accent, #D4AF37);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(50, 0, 90, 0.3);
  transition: transform 0.3s ease;
}

.footer__trust-card:hover .footer__trust-icon-box {
  transform: scale(1.08);
  color: #ffffff;
}

.footer__trust-title {
  color: #ffffff !important;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.footer__trust-desc {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
  line-height: 1.35;
}

/* Main Footer Section */
.footer__logo {
  max-height: 60px;
  max-width: 210px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
  transition: opacity 0.25s ease;
}

.footer__logo:hover {
  opacity: 0.9;
}

.footer__brand-tagline {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 20px;
}

.footer__contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__contact-link {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none;
  font-size: 0.86rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer__contact-link i {
  color: #e9b3ff;
  font-size: 0.95rem;
  margin-top: 2px;
}

.footer__contact-link:hover {
  color: #ffffff !important;
  transform: translateX(3px);
}

.footer__contact-link--static:hover {
  transform: none;
  color: rgba(255, 255, 255, 0.8) !important;
}

.footer__heading {
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #ffffff !important;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.footer__heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, #8344c8, transparent);
  border-radius: 2px;
}

.footer__links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links-list li {
  display: block;
}

.footer__links-list li a {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 0.88rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.footer__links-list li a::before {
  content: "›";
  font-size: 1.1rem;
  line-height: 1;
  color: rgba(131, 68, 200, 0.7);
  transition: transform 0.2s ease, color 0.2s ease;
}

.footer__links-list li a:hover {
  color: #ffffff !important;
  transform: translateX(4px);
  text-decoration: none !important;
}

.footer__links-list li a:hover::before {
  color: #ffffff;
  transform: translateX(2px);
}

/* Newsletter Block */
.footer__newsletter-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 16px;
}

.footer__newsletter-input-wrap {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 4px 4px 4px 16px;
  transition: all 0.25s ease;
}

.footer__newsletter-input-wrap:focus-within {
  border-color: rgba(131, 68, 200, 0.8);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 4px rgba(93, 45, 145, 0.25);
}

.footer__newsletter-input {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-size: 0.88rem;
  width: 100%;
  padding: 7px 0;
}

.footer__newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.footer__newsletter-submit {
  background: linear-gradient(135deg, #5B009C 0%, #32005A 100%);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.84rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.footer__newsletter-submit:hover {
  background: linear-gradient(135deg, #32005A 0%, #5B009C 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(91, 0, 156, 0.45);
}

.footer__newsletter-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.footer__newsletter-feedback {
  font-size: 0.82rem;
  min-height: 18px;
  transition: all 0.2s ease;
}

.footer__newsletter-feedback.is-success {
  color: #57e389;
}

.footer__newsletter-feedback.is-error {
  color: #ff7676;
}

/* Social Chips */
.footer__social-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

.footer__social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 1.05rem;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  backdrop-filter: blur(8px);
}

.footer__social-btn:hover {
  background: #5B009C;
  border-color: #8344c8;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(91, 0, 156, 0.45);
}

/* Bottom Bar & Trust Badges */
.footer__bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.35);
}

.footer__copyright {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer__copyright a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s;
}

.footer__copyright a:hover {
  color: #ffffff;
  text-decoration: underline !important;
}

.footer__payment-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.74rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.02em;
}

.footer__payment-pill i {
  color: var(--palette-light-purple, #EDE0F5);
}

.footer__back-to-top {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.footer__back-to-top:hover {
  background: #5B009C;
  border-color: #8344c8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(91, 0, 156, 0.35);
}

@media (max-width: 767.98px) {
  .footer__trust-card {
    padding: 10px 10px;
  }
  .footer__trust-icon-box {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
  .footer__trust-title {
    font-size: 0.85rem;
  }
  .footer__trust-desc {
    font-size: 0.72rem;
  }
  .footer__payment-badges {
    justify-content: center !important;
  }
}

/* ==========================================================================
   5-Column Product Grid System with Proper Responsiveness
   ========================================================================== */
.col-5th,
.col-lg-5th {
  flex: 0 0 auto;
  width: 50% !important; /* Mobile (< 768px): 2 columns */
}

@media (min-width: 576px) {
  .col-5th,
  .col-lg-5th {
    width: 50% !important; /* Mobile landscape: 2 columns */
  }
}

@media (min-width: 768px) {
  .col-5th,
  .col-lg-5th {
    width: 33.333333% !important; /* Tablet (768px - 991px): 3 columns */
  }
}

@media (min-width: 992px) {
  .col-5th,
  .col-lg-5th,
  .col-xl-5th {
    width: 20% !important; /* Desktop (>= 992px): 5 columns */
  }
}

/* ==========================================================================
   Homepage Brands Swiper (Curated For You)
   ========================================================================== */
.homepage__brands {
  position: relative;
  overflow: hidden;
  background-color: #ffffff !important;
}

.brands-swiper-container {
  position: relative;
}

.brands-swiper {
  width: 100%;
  padding: 6px 4px 32px !important;
  overflow: hidden;
}

.brand__card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  height: 105px;
  padding: 6px 14px;
  border: none;
  box-shadow: none;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  overflow: visible;
}

.brand__card:hover {
  transform: none;
  border: none;
  box-shadow: none;
}

.brand__logo-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand__logo-img {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.88;
}

.brand__card:hover .brand__logo-img {
  transform: scale(1.08);
  opacity: 1;
}

/* Swiper Navigation Buttons */
.brands-swiper-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  color: #2b2b2b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
  margin-top: -19px; /* Offset pagination padding */
}

.brands-swiper-btn:hover {
  background: var(--brand-color, #5B009C);
  border-color: var(--brand-color, #5B009C);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(91, 0, 156, 0.25);
  transform: translateY(-50%) scale(1.08);
}

.brands-swiper-btn:active {
  transform: translateY(-50%) scale(0.96);
}

.brands-swiper-btn.swiper-button-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.brands-swiper-prev {
  left: -10px;
}

.brands-swiper-next {
  right: -10px;
}

@media (min-width: 768px) {
  .brands-swiper-prev {
    left: -14px;
  }
  .brands-swiper-next {
    right: -14px;
  }
}

@media (min-width: 1200px) {
  .brands-swiper-prev {
    left: -20px;
  }
  .brands-swiper-next {
    right: -20px;
  }
}

/* Pagination Dots */
.brands-swiper-pagination {
  bottom: 4px !important;
}

.brands-swiper-pagination .swiper-pagination-bullet {
  background: #999999;
  opacity: 0.4;
  width: 7px;
  height: 7px;
  margin: 0 4px;
  transition: all 0.3s ease;
}

.brands-swiper-pagination .swiper-pagination-bullet-active {
  background: var(--brand-color, #5B009C);
  opacity: 1;
  width: 22px;
  border-radius: 4px;
}

@media (max-width: 767.98px) {
  .brand__card {
    height: 75px;
    padding: 4px 8px;
  }
  .brand__logo-img {
    max-height: 58px;
  }
  .brands-swiper-btn {
    display: none;
  }
  .brands-swiper {
    padding: 4px 2px 26px !important;
  }
}

.rounded-4 {
  border-radius: 1rem !important;
}

/* ==========================================================================
   HOMEPAGE COMBO SECTION ("SAVE MORE WITH COMBOS")
   ========================================================================== */
.homepage__combos {
  background-color: #ffffff;
}

.combo__banner-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.combo__banner-wrap:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.combo__banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 7;
}

@media (max-width: 767.98px) {
  .combo__banner-img {
    aspect-ratio: 16 / 9;
  }
}

.combo__filter-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 28px;
}

.combo__filter-pill {
  display: inline-block;
  padding: 8px 32px;
  border-radius: 9999px;
  border: 1.5px solid #2d2d2d;
  background-color: #ffffff;
  color: #2d2d2d;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  outline: none;
}

.combo__filter-pill:hover {
  background-color: #f3f4f6;
  color: #000000;
  border-color: #000000;
}

.combo__filter-pill.active {
  background-color: #2e2e2e !important;
  color: #ffffff !important;
  border-color: #2e2e2e !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

@media (max-width: 576px) {
  .combo__filter-container {
    gap: 8px;
    margin: 20px 0 16px;
  }
  .combo__filter-pill {
    padding: 6px 18px;
    font-size: 11px;
    letter-spacing: 0.5px;
  }
}

.combo__card {
  position: relative;
  background: #ffffff;
  border: 1px solid #ededed;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.combo__card:hover {
  transform: translateY(-4px);
  border-color: #d1d5db;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
}

.combo__badge-discount {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #e6005c;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 9999px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(230, 0, 92, 0.35);
}

.combo__card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 12px;
  background: #fafafa;
  border-radius: 8px;
}

.combo__card-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.combo__card:hover .combo__card-img {
  transform: scale(1.04);
}

.combo__card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.combo__card-brand {
  font-size: 11px;
  font-weight: 500;
  color: #8c8c8c;
  text-transform: capitalize;
  margin-bottom: 4px;
}

.combo__card-title {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 8px;
  min-height: 36px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.combo__card-title a {
  color: #1e293b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.combo__card-title a:hover {
  color: var(--brand-color, #5B009C);
}

.combo__card-price {
  margin-bottom: 6px;
  font-size: 15px;
}

.combo__old-price {
  color: #94a3b8;
  font-size: 13px;
  margin-right: 6px;
  font-weight: 400;
}

.combo__current-price {
  color: #e6005c;
  font-weight: 800;
  font-size: 16px;
}

.combo__card-stars {
  color: #f59e0b;
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.combo__add-to-cart-btn {
  background: #000000;
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  width: 100%;
  padding: 9px 0;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.2s ease;
  cursor: pointer;
  display: block;
  text-align: center;
}

.combo__add-to-cart-btn:hover {
  background: var(--brand-color, #5B009C);
  color: #ffffff;
  transform: scale(1.01);
}

.combo__add-to-cart-btn:active {
  transform: scale(0.99);
}

/* ========================================================
   CHECKOUT PAGE REDESIGN & FIXES
   ======================================================== */
.checkout-page-container {
  max-width: 1240px;
  margin: 0 auto;
}

.checkout-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--palette-light-purple, #EDE0F5);
  color: var(--palette-primary, #5B009C);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Card & Section Styling */
.checkout-main-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(91, 0, 156, 0.08);
  box-shadow: 0 4px 20px rgba(91, 0, 156, 0.04);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.checkout-section {
  margin-bottom: 2rem;
}

.checkout-section:last-child {
  margin-bottom: 0;
}

.checkout-section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--palette-text, #17121A);
  margin-bottom: 1.25rem;
  padding-bottom: 0.65rem;
  border-bottom: 1.5px solid #f2edf7;
}

.checkout-step-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--palette-primary, #5B009C);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Form Controls */
.checkout-form .form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #3b3342;
  margin-bottom: 0.4rem;
}

.checkout-form .form-control,
.checkout-form .form-select {
  border-radius: 12px;
  border: 1.5px solid #e7e2ed;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  color: #17121A;
  background-color: #faf9fc;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.checkout-form .form-control:focus,
.checkout-form .form-select:focus {
  border-color: var(--palette-primary, #5B009C);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(91, 0, 156, 0.12);
}

.checkout-form textarea.form-control {
  resize: vertical;
}

/* Payment Method Selection Cards */
.checkout-payment-methods {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checkout-payment-card {
  position: relative;
  border: 1.5px solid #e7e2ed;
  border-radius: 14px;
  padding: 1rem 1.15rem;
  cursor: pointer;
  background: #ffffff;
  transition: all 0.2s ease;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.checkout-payment-card:hover {
  border-color: #c9b5db;
  background: #faf8fd;
}

.checkout-payment-card.active,
.checkout-payment-card:has(input[type="radio"]:checked) {
  border-color: var(--palette-primary, #5B009C);
  background: rgba(91, 0, 156, 0.03);
  box-shadow: 0 2px 10px rgba(91, 0, 156, 0.06);
}

.checkout-payment-card input[type="radio"] {
  accent-color: var(--palette-primary, #5B009C);
  margin-top: 3px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkout-payment-info {
  flex: 1;
}

.checkout-payment-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.checkout-payment-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #17121A;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkout-payment-desc {
  font-size: 0.8rem;
  color: #6e6477;
  margin: 0;
  line-height: 1.35;
}

/* Order Summary Sidebar (Unified Card) */
.checkout-summary-sticky {
  position: sticky;
  top: 7rem;
}

.checkout-summary-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(91, 0, 156, 0.08);
  box-shadow: 0 4px 25px rgba(91, 0, 156, 0.05);
  padding: 1.5rem;
}

.checkout-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  margin-bottom: 1rem;
  border-bottom: 1.5px solid #f2edf7;
}

.checkout-summary-head h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #17121A;
  margin: 0;
}

/* Items List */
.checkout-items-scroll {
  max-height: 290px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
  margin-bottom: 1.25rem;
}

.checkout-items-scroll::-webkit-scrollbar {
  width: 5px;
}
.checkout-items-scroll::-webkit-scrollbar-track {
  background: #f7f5fa;
  border-radius: 6px;
}
.checkout-items-scroll::-webkit-scrollbar-thumb {
  background: #d8cde3;
  border-radius: 6px;
}
.checkout-items-scroll::-webkit-scrollbar-thumb:hover {
  background: #bfaed0;
}

.checkout-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #f5f2f8;
}

.checkout-item-row:last-child {
  border-bottom: none;
}

.checkout-item-thumb-box {
  position: relative;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 12px;
  border: 1px solid #eee8f3;
  background: #fbf9fd;
}

.checkout-item-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 11px;
}

.checkout-item-qty-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--palette-primary, #5B009C);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  border: 1.5px solid #ffffff;
  line-height: 1;
}

.checkout-item-details {
  flex: 1 1 0%;
  min-width: 0; /* CRITICAL FIX: prevents flex overflow */
}

.checkout-item-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #17121A;
  line-height: 1.35;
  margin-bottom: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

.checkout-item-unit-price {
  font-size: 0.75rem;
  color: #887e91;
}

.checkout-item-total-price {
  flex-shrink: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #17121A;
  text-align: right;
  white-space: nowrap;
}

/* Coupon Box */
.checkout-coupon-card {
  background: #faf7fc;
  border: 1px dashed #d5c5e5;
  border-radius: 14px;
  padding: 0.85rem;
  margin-bottom: 1.25rem;
}

.checkout-coupon-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: #4b3d5b;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.checkout-applied-coupon-box {
  background: #ebf9f0;
  border: 1px solid #b7ebd0;
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

/* Summary Rows */
.checkout-calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #554d5c;
  margin-bottom: 0.65rem;
}

.checkout-calc-row.discount-row {
  color: #198754;
  font-weight: 600;
}

.checkout-divider {
  border-top: 1px solid #f0ecf5;
  margin: 1rem 0;
}

.checkout-grand-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 0.85rem;
  margin-top: 0.5rem;
  border-top: 2px solid #f0ecf5;
}

.checkout-grand-total-label {
  font-size: 1.05rem;
  font-weight: 700;
  color: #17121A;
}

.checkout-grand-total-value {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--palette-primary, #5B009C);
}

/* Place order button */
.checkout-place-order-btn {
  background: var(--palette-primary, #5B009C);
  color: #ffffff !important;
  border: none;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(91, 0, 156, 0.25);
}

.checkout-place-order-btn:hover {
  background: var(--palette-dark, #32005A) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(91, 0, 156, 0.35);
}

.checkout-place-order-btn:active {
  transform: translateY(0);
}

.checkout-trust-assurances {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: #fbf9fd;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin-top: 1rem;
  font-size: 0.78rem;
  color: #63586f;
}

.checkout-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

