/* Sellifyy Catalog Page V4 Stylesheet - Standalone Design Integration */
:root {
  --cat-violet: #6131DF;
  --cat-violet2: #582DCB;
  --cat-violet-tint: #F7F3FF;
  --cat-night: #1B1A39;
  --cat-mid: #494861;
  --cat-muted: #9696A4;
  --cat-line: #E8E5EF;
  --cat-off: #FAF9FB;
  --cat-gold: #A47E52;
  --cat-cream: #F7F1E9;
  --cat-success: #05A157;
  --cat-shadow: 0 10px 40px rgba(33,25,62,.08);
}

/* Standalone v4 parity overrides. Keep these last so the shared site theme cannot
   resize or recolor the catalog and product-detail components. */
@media (min-width: 1025px) {
  .product-page .catalog-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 27px;
  }
  .product-page .hero {
    min-height: 325px;
    margin-bottom: 0;
  }
  .product-page .hero-content {
    width: 54%;
    padding: 34px 0 30px 35px;
  }
  .product-page .hero-eyebrow { font-size: 9.5px; }
  .product-page .hero h1 {
    font-size: clamp(28px, 3.15vw, 44px);
    letter-spacing: -1.7px;
    line-height: 1.16;
    margin: 12px 0;
  }
  .product-page .hero p {
    max-width: 360px;
    font-size: 10.5px;
    color: #746C8B;
    margin: 0 0 17px;
    line-height: 1.9;
  }
  .product-page .hero-media { width: 46%; }
  .product-page .hero.fashion .hero-first {
    width: 177px;
    height: 275px;
    right: 42%;
  }
  .product-page .hero.fashion .hero-second {
    width: 177px;
    height: 279px;
    top: 16px;
  }
  .product-page .hero.jewelry .hero-first {
    width: 270px;
    height: 270px;
    right: 25%;
    top: 27px;
  }
  .product-page .hero.jewelry .hero-second {
    right: 1%;
    top: 120px;
  }
  .product-page .hero.all .hero-first {
    width: 169px;
    height: 250px;
    right: 41%;
  }
  .product-page .hero.all .hero-second {
    width: 209px;
    height: 209px;
  }
  .product-page .hero-chip {
    bottom: 17px;
    right: 14px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 9px;
    letter-spacing: .2px;
  }
  .product-page .perks {
    gap: 10px;
    padding: 19px 0;
    margin-bottom: 0;
    border-top: 0;
  }
  .product-page .perk { gap: 8px; }
  .product-page .perk-icon {
    width: 35px;
    height: 35px;
    border: 1px solid #E8E0FF;
    border-radius: 10px;
  }
  .market-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }

  .detail-head {
    padding: 21px 0;
    margin: 0 0 22px;
    background: transparent;
  }
  .detail-top {
    grid-template-columns: minmax(0, 1.06fr) minmax(340px, .94fr);
  }
  .detail-media { position: static; }
  .detail-gallery {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 13px;
    align-items: start;
  }
  .gallery-thumb {
    width: 70px;
    min-width: 70px;
    height: 80px;
    padding: 3px;
    border: 1px solid #E8E4EB;
    border-radius: 9px;
    background: #fff;
    aspect-ratio: auto;
  }
  .gallery-main { min-height: 450px; }
  .detail-info h1 {
    font-size: clamp(26px, 2.5vw, 38px);
    line-height: 1.2;
    letter-spacing: -1.25px;
    margin: 10px 0 13px;
  }
  .detail-pricebox {
    padding: 18px;
    margin-bottom: 15px;
  }
  .detail-section {
    margin-top: 0;
    border-top: 0;
    padding-top: 33px;
  }
  .tab-content {
    padding: 27px 2px 20px;
    max-width: none;
    color: #625D70;
    line-height: 1.9;
    font-size: 11px;
  }
  .related-zone { margin: 22px 0 45px; }
  .browse-all {
    margin: 25px 0 40px;
    border-radius: 15px;
    padding: 25px;
  }
}

@media (max-width: 1024px) and (min-width: 641px) {
  .market-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .market-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.product-page.shell {
  max-width: 1320px;
  width: min(100% - 50px, 1320px);
  margin: 0 auto;
  padding: 0 0 60px;
  color: var(--cat-night);
  font-family: inherit;
}

@media (max-width: 1199.98px) {
  .product-page.shell {
    width: min(100% - 35px, 1320px);
  }
}

/* Breadcrumb */
.product-page .breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 0 18px;
  color: #9B96A9;
  font-size: 12px;
  background: transparent;
  margin: 0;
}
.product-page .breadcrumb a {
  color: #716B81;
  text-decoration: none;
  transition: color .2s;
}
.product-page .breadcrumb a:hover {
  color: var(--cat-violet);
}
.product-page .breadcrumb b {
  color: var(--cat-violet);
  font-weight: 700;
}
.product-page .breadcrumb span {
  opacity: 0.6;
}

/* Catalog Layout */
.product-page .catalog-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

/* Catalog Sidebar */
.product-page .catalog-sidebar {
  border: 1px solid var(--cat-line);
  border-radius: 14px;
  background: #ffffff;
  position: sticky;
  top: 95px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #DFD8EB transparent;
}
.product-page .catalog-sidebar::-webkit-scrollbar {
  width: 5px;
}
.product-page .catalog-sidebar::-webkit-scrollbar-thumb {
  background: #DFD8EB;
  border-radius: 4px;
}

.product-page .sidebar-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 800;
  padding: 18px 16px;
  border-bottom: 1px solid #EFEAF4;
  color: var(--cat-night);
}
.product-page .sidebar-label {
  font-size: 9.5px;
  letter-spacing: .5px;
  background: #F1ECFF;
  color: var(--cat-violet);
  padding: 4px 8px;
  border-radius: 5px;
  font-weight: 700;
}

/* Category Tree */
.product-page .tree-list {
  padding: 10px 8px;
  border-bottom: 1px solid #EFEAF4;
}
.product-page .tree-root {
  width: 100%;
  border: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  background: #ffffff;
  border-radius: 8px;
  text-align: left;
  color: #55506B;
  font-weight: 700;
  font-size: 12.5px;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s, color .18s;
  box-sizing: border-box;
}
.product-page .tree-root .tree-icon {
  font-size: 16px;
  width: 20px;
  text-align: center;
  color: var(--cat-violet);
}
.product-page .tree-root .tree-arrow {
  margin-left: auto;
  font-size: 11px;
  color: #ADA6C2;
}
.product-page .tree-root:hover {
  background: #FAF8FF;
  color: var(--cat-violet);
}
.product-page .tree-root.active {
  background: #F5F0FF;
  color: var(--cat-violet);
  font-weight: 800;
}
.product-page .tree-branch {
  border-left: 1px solid #EAE4F6;
  margin: 3px 0 8px 24px;
  padding-left: 12px;
}
.product-page .tree-second {
  border: 0;
  background: transparent;
  width: 100%;
  display: flex;
  gap: 6px;
  align-items: center;
  text-align: left;
  color: #716B81;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 4px;
  text-decoration: none;
  cursor: pointer;
  border-radius: 6px;
  transition: color .18s, background .18s;
}
.product-page .tree-second:hover {
  color: var(--cat-violet);
  background: #FAF8FF;
}
.product-page .tree-second.active {
  color: var(--cat-violet);
  font-weight: 800;
}
.product-page .tree-third-wrap {
  border-left: 1px solid #E9E1F8;
  padding-left: 10px;
  margin: 2px 0 6px 8px;
}
.product-page .tree-third {
  display: block;
  text-align: left;
  width: 100%;
  border: 0;
  background: none;
  color: #8C869C;
  font-size: 11.5px;
  padding: 6px 8px;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: color .18s, background .18s;
}
.product-page .tree-third:hover {
  color: var(--cat-violet);
}
.product-page .tree-third.active {
  background: #F7F3FF;
  color: var(--cat-violet);
  font-weight: 750;
}

/* Sidebar Filter Section */
.product-page .sidebar-filter-section {
  padding: 16px;
  border-bottom: 1px solid #EFEAF4;
}
.product-page .filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.product-page .filter-head strong {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--cat-night);
}
.product-page .filter-head strong .material-symbols-outlined {
  font-size: 16px;
  color: var(--cat-violet);
}
.product-page .clear-filters-link {
  font-size: 11px;
  font-weight: 700;
  color: var(--cat-violet);
  text-decoration: none;
  cursor: pointer;
}
.product-page .clear-filters-link:hover {
  text-decoration: underline;
}

.product-page .filter-block {
  margin-bottom: 18px;
}
.product-page .filter-block > label {
  display: block;
  font-size: 11.5px;
  font-weight: 750;
  color: #55506B;
  margin-bottom: 8px;
}
.product-page .price-range {
  position: relative;
  height: 28px;
  display: flex;
  align-items: center;
}
.product-page .range-line {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 4px;
  top: 50%;
  transform: translateY(-50%);
  background: #ECE7F5;
  border-radius: 2px;
}
.product-page .range-line span {
  position: absolute;
  height: 100%;
  background: var(--cat-violet);
  border-radius: 2px;
}
.product-page .price-range input[type="range"] {
  position: absolute;
  left: 0;
  width: 100%;
  height: 28px;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
  margin: 0;
  padding: 0;
  outline: none;
  z-index: 2;
}
.product-page .price-range input[type="range"]:focus {
  z-index: 5;
}
.product-page .price-range input[type="range"]::-webkit-slider-runnable-track {
  background: transparent;
  border: none;
  height: 4px;
}
.product-page .price-range input[type="range"]::-moz-range-track {
  background: transparent;
  border: none;
  height: 4px;
}
.product-page .price-range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  pointer-events: auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid var(--cat-violet);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  margin-top: -6px;
}
.product-page .price-range input[type="range"]::-moz-range-thumb {
  pointer-events: auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid var(--cat-violet);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  box-sizing: border-box;
}
.product-page .price-inputs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
}
.product-page .price-inputs input {
  width: 90px;
  padding: 6px 10px;
  border: 1px solid #E4DFED;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: #373248;
  background: #FAF9FB;
  text-align: center;
}
.product-page .price-inputs span {
  font-size: 11px;
  color: #9C96A8;
}

.product-page .filter-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: #5C5572;
  margin-bottom: 6px;
  cursor: pointer;
}
.product-page .filter-check input {
  accent-color: var(--cat-violet);
  width: 15px;
  height: 15px;
  cursor: pointer;
}
.product-page .filter-check.zero-count {
  opacity: 0.65;
  color: #8C869E;
}
.product-page .filter-check.zero-count input:not(:checked) {
  cursor: not-allowed;
}
.product-page .filter-check .facet-count {
  font-size: 10.5px;
  color: #928B9F;
  margin-left: 3px;
  font-weight: 500;
}
.product-page .product-filter-color {
  display: inline-block;
  width: 13px;
  height: 13px;
  border-radius: 3px;
  border: 1px solid #DCD6E8;
}

/* Sidebar Mini */
.product-page .sidebar-mini {
  margin: 14px 12px 16px;
  padding: 16px;
  border: 1px solid #EBE2FF;
  border-radius: 11px;
  background: linear-gradient(140deg, #F8F5FF, #EFEBFF);
}
.product-page .sidebar-mini small {
  display: block;
  color: var(--cat-violet);
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 9.5px;
}
.product-page .sidebar-mini strong {
  display: block;
  font-size: 13.5px;
  color: var(--cat-night);
  margin: 6px 0 7px;
  line-height: 1.35;
}
.product-page .sidebar-mini p {
  font-size: 11px;
  color: #766E91;
  line-height: 1.6;
  margin: 0 0 10px;
}
.product-page .sidebar-mini-link {
  color: var(--cat-violet);
  font-weight: 800;
  text-decoration: none;
  font-size: 11px;
}
.product-page .sidebar-mini-link:hover {
  text-decoration: underline;
}

/* Catalog Main */
.product-page .catalog-main {
  min-width: 0;
}

/* Category Switches */
.product-page .category-switches {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.product-page .category-switch-btn {
  border: 1px solid #EAE5F1;
  background: #ffffff;
  padding: 9px 15px;
  border-radius: 9px;
  color: #635D73;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
  transition: all .2s;
  cursor: pointer;
}
.product-page .category-switch-btn:hover {
  border-color: #D3C6F7;
  color: var(--cat-violet);
}
.product-page .category-switch-btn.active {
  color: #ffffff;
  background: var(--cat-violet);
  border-color: var(--cat-violet);
  box-shadow: 0 6px 15px rgba(97, 49, 223, 0.18);
}
.product-page .catalog-tagline {
  margin-left: auto;
  font-size: 11.5px;
  color: #9C96AA;
  font-weight: 500;
}

/* Adaptive Hero Banner */
.product-page .hero {
  position: relative;
  min-height: 335px;
  overflow: hidden;
  border-radius: 17px;
  display: flex;
  isolation: isolate;
  border: 1px solid #EBE6F5;
  margin-bottom: 24px;
}
.product-page .hero.fashion {
  background: linear-gradient(112deg, #F5F0FF 0%, #E9DCFF 100%);
}
.product-page .hero.jewelry {
  background: linear-gradient(113deg, #252239 0%, #40334C 48%, #64536B 100%);
  color: #ffffff;
  border-color: #51445D;
}
.product-page .hero.all {
  background: linear-gradient(112deg, #F4F0FF, #EFE9EB);
}
.product-page .hero.future {
  background: linear-gradient(112deg, #F4F9FA, #E6EDF4);
}
.product-page .hero::after {
  content: "";
  position: absolute;
  right: 2%;
  top: -36%;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 50%;
  width: 420px;
  height: 420px;
  z-index: 0;
  pointer-events: none;
}
.product-page .hero-content {
  width: 55%;
  padding: 38px 0 35px 38px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.product-page .hero-eyebrow {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
  color: #8052E2;
}
.product-page .hero.jewelry .hero-eyebrow {
  color: #D6B78F;
}
.product-page .hero h1 {
  font-size: clamp(28px, 3.2vw, 44px);
  letter-spacing: -1.4px;
  line-height: 1.15;
  margin: 10px 0 12px;
  font-weight: 800;
  color: var(--cat-night);
}
.product-page .hero.jewelry h1 {
  font-family: Georgia, serif;
  font-weight: 500;
  letter-spacing: -.8px;
  color: #ffffff;
}
.product-page .hero h1 em {
  font-style: normal;
  color: #7E52E7;
}
.product-page .hero.jewelry h1 em {
  color: #E5CCAC;
}
.product-page .hero p {
  max-width: 410px;
  font-size: 12.5px;
  color: #6C6482;
  margin: 0 0 20px;
  line-height: 1.8;
}
.product-page .hero.jewelry p {
  color: #E2D5E2;
}
.product-page .hero .btn-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  background: var(--cat-violet);
  color: #ffffff;
  border: 1px solid var(--cat-violet);
  box-shadow: 0 6px 15px rgba(97, 49, 223, 0.22);
  transition: transform .2s, background .2s;
}
.product-page .hero .btn-hero-cta:hover {
  transform: translateY(-1px);
  background: var(--cat-violet2);
}
.product-page .hero.jewelry .btn-hero-cta {
  background: var(--cat-gold);
  border-color: var(--cat-gold);
  color: #ffffff;
  box-shadow: 0 6px 15px rgba(164, 126, 82, 0.28);
}

.product-page .hero-media {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 45%;
  z-index: 1;
}
.product-page .hero-media img {
  position: absolute;
  object-fit: cover;
  box-shadow: 0 15px 38px rgba(34, 23, 67, 0.22);
}
.product-page .hero.fashion .hero-first {
  height: 270px;
  width: 175px;
  top: 32px;
  right: 40%;
  border: 6px solid #ffffff;
  border-radius: 12px;
  transform: rotate(-9deg);
  object-position: center top;
}
.product-page .hero.fashion .hero-second {
  height: 275px;
  width: 175px;
  right: 8%;
  top: 18px;
  border: 6px solid #ffffff;
  border-radius: 12px;
  transform: rotate(8deg);
  object-position: center top;
}
.product-page .hero.jewelry .hero-first {
  width: 250px;
  height: 250px;
  right: 23%;
  top: 30px;
  border: 7px solid #F9F5EE;
  border-radius: 50%;
  object-fit: contain;
  background: #FFF9F1;
}
.product-page .hero.jewelry .hero-second {
  width: 120px;
  height: 120px;
  right: 2%;
  top: 110px;
  border: 5px solid #FFF4E4;
  border-radius: 15px;
  object-fit: contain;
  background: #FFF9F0;
  transform: rotate(9deg);
}
.product-page .hero.all .hero-first {
  height: 245px;
  width: 165px;
  top: 33px;
  right: 40%;
  border: 5px solid #ffffff;
  border-radius: 13px;
}
.product-page .hero.all .hero-second {
  height: 200px;
  width: 200px;
  top: 60px;
  right: 3%;
  border: 6px solid #ffffff;
  border-radius: 16px;
  object-fit: contain;
  background: #F7F0E9;
}
.product-page .hero-chip {
  position: absolute;
  bottom: 18px;
  right: 22px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 1px;
  color: #372A52;
  box-shadow: 0 4px 14px rgba(27, 26, 57, 0.12);
  z-index: 3;
}

/* Perks Bar */
.product-page .perks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 20px 0;
  margin-bottom: 26px;
  border-top: 1px solid #EFEBF5;
  border-bottom: 1px solid #EFEBF5;
}
.product-page .perk {
  display: flex;
  align-items: center;
  gap: 12px;
}
.product-page .perk-icon {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: #F6F1FF;
  color: var(--cat-violet);
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 800;
  flex-shrink: 0;
}
.product-page .perk b {
  display: block;
  font-size: 12px;
  color: var(--cat-night);
  line-height: 1.35;
}
.product-page .perk span {
  font-size: 10.5px;
  color: #8C849B;
}

/* Section Heading */
.product-page .section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 28px 0 16px;
  gap: 16px;
}
.product-page .overline {
  display: block;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-weight: 850;
  color: var(--cat-violet);
  margin-bottom: 4px;
}
.product-page .section-heading h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.6px;
  margin: 0;
  color: var(--cat-night);
}
.product-page .section-heading p {
  font-size: 12px;
  color: #79718B;
  margin: 3px 0 0;
}
.product-page .section-heading .faint {
  font-size: 11.5px;
  color: #A39DB0;
  text-align: right;
}

/* Collection Subcategory Tabs */
.product-page .collection-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 14px;
  scrollbar-width: thin;
  scrollbar-color: #DFD8EB transparent;
  -webkit-overflow-scrolling: touch;
}
.product-page .collection-tabs::-webkit-scrollbar {
  height: 4px;
}
.product-page .collection-tabs::-webkit-scrollbar-thumb {
  background: #DFD8EB;
  border-radius: 3px;
}
.product-page .collection-tab-btn {
  white-space: nowrap;
  background: #ffffff;
  border: 1px solid #E7E3ED;
  border-radius: 9px;
  padding: 9px 15px;
  font-weight: 750;
  font-size: 11.5px;
  color: #706B81;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: all .18s;
}
.product-page .collection-tab-btn:hover {
  border-color: #CBB8FA;
  color: var(--cat-violet);
}
.product-page .collection-tab-btn.active {
  border-color: #CAB9FA;
  color: var(--cat-violet);
  background: #F5F1FF;
}

/* Catalog Tools */
.product-page .catalog-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 8px 0 18px;
}
.product-page .tool-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.product-page .tool-left b {
  font-size: 13.5px;
  color: var(--cat-night);
}
.product-page .product-count {
  background: #F1EAFF;
  color: #6338D0;
  font-size: 10.5px;
  font-weight: 850;
  padding: 5px 11px;
  border-radius: 100px;
}
.product-page .tool-right {
  display: flex;
  gap: 8px;
  align-items: center;
}
.product-page .search {
  height: 39px;
  border: 1px solid #E6E3EE;
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 0 11px;
  gap: 8px;
  background: #ffffff;
  box-sizing: border-box;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.product-page .search:hover {
  border-color: #D6C7FA;
}
.product-page .search:focus-within {
  border-color: var(--cat-violet, #6131DF);
  box-shadow: 0 0 0 3px rgba(97, 49, 223, 0.15);
}
.product-page .search .search-icon,
.product-page .search svg {
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  color: #A6A0B7;
  flex-shrink: 0;
  display: block;
  transition: color .18s ease;
  pointer-events: none;
}
.product-page .search:focus-within .search-icon,
.product-page .search:focus-within svg {
  color: var(--cat-violet, #6131DF);
}
.product-page .search span {
  font-size: 16px;
  color: #A6A0B7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.product-page .search input {
  width: 175px;
  height: 100%;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: var(--cat-night, #1B1A39);
  background: transparent !important;
  font-size: 12px;
  padding: 0 !important;
  margin: 0 !important;
  line-height: normal;
  vertical-align: middle;
  -webkit-appearance: none;
  appearance: none;
}
.product-page .search input:focus,
.product-page .search input:focus-visible {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}
.product-page .search input::placeholder {
  color: #A6A0B7;
  opacity: 1;
}
.product-page .sort {
  height: 39px;
  border: 1px solid #E6E3EE;
  border-radius: 8px;
  padding: 0 10px;
  max-width: 170px;
  background: #ffffff;
  color: #595469;
  font-size: 12px;
  font-weight: 600;
  outline: 0;
  cursor: pointer;
}
.product-page .view-btn {
  height: 39px;
  width: 39px;
  border: 1px solid #E6E3EE;
  background: #ffffff;
  border-radius: 8px;
  color: #9891AA;
  font-size: 16px;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: all .18s;
}
.product-page .view-btn:hover {
  color: var(--cat-violet);
  border-color: #D6C7FA;
}
.product-page .view-btn.active {
  color: var(--cat-violet);
  background: #F5F0FF;
  border-color: #CAB9FA;
}

/* Product Grid */
.product-page .product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.product-page .product-card {
  border: 1px solid #E9E7F0;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
  min-width: 0;
}
.product-page .product-card:hover {
  box-shadow: var(--cat-shadow);
  transform: translateY(-3px);
}

.product-page .product-image {
  position: relative;
  overflow: hidden;
  background: #F7F4F2;
  cursor: pointer;
}
.product-page .product-image.fashion {
  aspect-ratio: 3 / 4;
}
.product-page .product-image.jewelry {
  aspect-ratio: 1 / 1;
  background: #F8F5F1;
}
.product-page .product-image-link {
  display: block;
  width: 100%;
  height: 100%;
}
.product-page .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.product-page .product-image.jewelry img {
  object-fit: contain;
}
.product-page .product-image.fashion img {
  object-position: center top;
}
.product-page .product-card:hover .product-image img {
  transform: scale(1.035);
}

.product-page .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 8px rgba(30, 20, 53, 0.11);
  border-radius: 5px;
  font-size: 9.5px;
  font-weight: 800;
  color: #61566C;
  padding: 4px 8px;
  z-index: 2;
  text-transform: capitalize;
}
.product-page .wish-btn {
  position: absolute;
  right: 9px;
  top: 9px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  display: grid;
  place-items: center;
  font-size: 16px;
  color: #93869E;
  cursor: pointer;
  z-index: 2;
  transition: color .2s, transform .15s;
}
.product-page .wish-btn:hover {
  color: #E34F76;
  transform: scale(1.1);
}
.product-page .wish-btn.saved {
  color: #E34F76;
}

.product-page .quick-btn {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #ffffff;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 800;
  padding: 9px;
  text-align: center;
  text-decoration: none;
  opacity: 0;
  transform: translateY(5px);
  transition: all .2s;
  color: #38324C;
  z-index: 2;
}
.product-page .product-card:hover .quick-btn,
.product-page .quick-btn:focus {
  opacity: 1;
  transform: none;
}
.product-page .quick-btn:hover {
  background: var(--cat-violet);
  color: #ffffff;
}

.product-page .product-body {
  padding: 14px 14px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-page .product-label {
  color: #8A7BB0;
  font-size: 9.5px;
  letter-spacing: .6px;
  font-weight: 800;
  text-transform: uppercase;
}
.product-page .list-mobile-badge {
  display: none;
}
.product-page .product-title {
  margin: 5px 0 8px;
  line-height: 1.45;
  min-height: 36px;
  font-size: 13px;
  font-weight: 800;
  color: var(--cat-night);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .18s;
}
.product-page .product-title:hover {
  color: var(--cat-violet);
}
.product-page .tag-set {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.product-page .tag-set span {
  background: #F7F6F8;
  color: #8B8795;
  border-radius: 4px;
  padding: 3px 6px;
  font-size: 9.5px;
}
.product-page .price-row {
  border-top: 1px solid #F0EDF4;
  padding-top: 11px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 9px;
  margin-top: auto;
}
.product-page .price-row small {
  display: block;
  font-size: 9.5px;
  color: #928E9C;
}
.product-page .price-row strong {
  font-size: 18px;
  letter-spacing: -.5px;
  line-height: 1.35;
  color: var(--cat-night);
}
.product-page .card-arrow {
  background: #F4EFFF;
  color: var(--cat-violet);
  border: 1px solid #E6DAFF;
  border-radius: 8px;
  width: 35px;
  height: 35px;
  font-size: 16px;
  display: inline-grid;
  place-items: center;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s, color .18s;
}
.product-page .card-arrow:hover {
  background: var(--cat-violet);
  color: #ffffff;
}

/* List View Mode (TBJ-23) */
.product-page .product-grid.view-list {
  grid-template-columns: 1fr;
  gap: 16px;
}
.product-page .product-grid.view-list .product-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 180px;
  background: #ffffff;
  border: 1px solid #E9E7F0;
  border-radius: 12px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  min-width: 0;
}
.product-page .product-grid.view-list .product-image {
  position: relative !important;
  width: 190px !important;
  min-width: 190px !important;
  max-width: 190px !important;
  flex: 0 0 190px !important;
  min-height: 180px;
  height: auto;
  align-self: stretch;
  aspect-ratio: auto;
  overflow: hidden;
  background: #F7F4F2;
  display: flex;
  flex-direction: column;
}
.product-page .product-grid.view-list .product-image.jewelry {
  background: #F8F5F1;
}
.product-page .product-grid.view-list .product-image-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 180px;
  background: inherit;
}
.product-page .product-grid.view-list .product-image img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  display: block;
}
.product-page .product-grid.view-list .product-image.jewelry img {
  object-fit: contain;
}
.product-page .product-grid.view-list .badge {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  right: auto !important;
  bottom: auto !important;
  margin: 0 !important;
  z-index: 3 !important;
  display: inline-block !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: calc(100% - 20px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-page .product-grid.view-list .wish-btn {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 3;
}
.product-page .product-grid.view-list .quick-btn {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 3;
}
.product-page .product-grid.view-list .product-body {
  text-align: left !important;
  display: flex;
  flex-direction: column;
  align-items: flex-start !important;
  justify-content: flex-start;
  padding: 20px 24px;
  flex: 1 1 auto;
  min-width: 0;
}
.product-page .product-grid.view-list .product-label {
  position: static !important;
  inset: auto !important;
  text-align: left !important;
  align-self: flex-start !important;
  width: 100%;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #8A7BB0 !important;
  margin-bottom: 4px;
}
.product-page .product-grid.view-list .product-title {
  text-align: left !important;
  align-self: flex-start !important;
  width: 100%;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
  min-height: 0;
  margin: 0 0 10px 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  text-transform: none !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-page .product-grid.view-list .tag-set {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-self: flex-start !important;
  justify-content: flex-start !important;
  width: 100%;
  margin-bottom: 12px;
}
.product-page .product-grid.view-list .price-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #F0EDF4;
}
.product-page .product-grid.view-list .catalog-card-price {
  text-align: left !important;
}
.product-page .product-grid.view-list .catalog-card-price small {
  display: block;
  text-align: left !important;
  font-size: 9.5px;
  color: #928E9C;
}
.product-page .product-grid.view-list .catalog-card-price strong {
  display: block;
  text-align: left !important;
  font-size: 18px;
  letter-spacing: -.5px;
  line-height: 1.35;
  color: var(--cat-night);
}
@media (max-width: 576px) {
  .product-page .product-grid.view-list .product-card {
    min-height: 140px;
  }
  .product-page .product-grid.view-list .product-image {
    width: 125px !important;
    min-width: 125px !important;
    max-width: 125px !important;
    min-height: 140px;
    flex: 0 0 125px !important;
  }
  .product-page .product-grid.view-list .product-image-link,
  .product-page .product-grid.view-list .product-image img {
    min-height: 140px;
  }
  .product-page .product-grid.view-list .product-body {
    padding: 12px 14px;
  }
  .product-page .product-grid.view-list .product-title {
    font-size: 13.5px;
    margin-bottom: 6px;
  }
  .product-page .product-grid.view-list .tag-set {
    gap: 4px;
    margin-bottom: 8px;
  }
  .product-page .product-grid.view-list .tag-set span {
    font-size: 8.5px;
    padding: 2px 5px;
  }
  .product-page .product-grid.view-list .price-row strong {
    font-size: 15px;
  }
  .product-page .product-grid.view-list .product-image > .badge {
    display: none !important;
  }
  .product-page .product-grid.view-list .list-mobile-badge {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 7px;
    padding: 4px 8px;
    border-radius: 5px;
    background: var(--cat-violet);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.35;
    text-transform: uppercase;
    white-space: normal;
    overflow-wrap: anywhere;
    box-sizing: border-box;
  }
  .product-page .product-grid.view-list .product-label {
    display: none;
  }
  .product-page .product-grid.view-list .quick-btn {
    display: none !important;
  }
}

/* Empty State */
.product-page .catalog-empty {
  grid-column: 1 / -1;
  padding: 60px 24px;
  text-align: center;
  background: #FDFBFF;
  border: 1px dashed #DFD8EB;
  border-radius: 14px;
  color: #817B94;
}
.product-page .catalog-empty span {
  font-size: 38px;
  color: var(--cat-violet);
}
.product-page .catalog-empty strong {
  display: block;
  font-size: 16px;
  color: var(--cat-night);
  margin: 10px 0 6px;
}
.product-page .catalog-empty p {
  font-size: 12px;
  margin: 0;
}

/* Pagination / Load More */
.product-page .product-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin: 32px 0 16px;
}
.product-page .product-pagination a {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #E6E1EE;
  border-radius: 8px;
  background: #ffffff;
  color: #58516B;
  font-size: 12.5px;
  font-weight: 750;
  text-decoration: none;
  transition: all .18s;
}
.product-page .product-pagination a:hover {
  border-color: #CBB9FA;
  color: var(--cat-violet);
}
.product-page .product-pagination a.active {
  background: var(--cat-violet);
  border-color: var(--cat-violet);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(97, 49, 223, 0.2);
}

/* Steps Strip */
.product-page .steps-strip {
  margin: 33px 0 43px;
  padding: 25px;
  border: 1px solid #EDE8F5;
  border-radius: 16px;
  background: linear-gradient(130deg, #FAF9FE, #F5F1FF);
}
.product-page .steps-strip h2 {
  font-size: 17px;
  margin: 0 0 18px;
  letter-spacing: -.5px;
  color: var(--cat-night);
  font-weight: 800;
}
.product-page .steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 11px;
}
.product-page .step {
  background: #ffffff;
  border: 1px solid #EEE9F6;
  border-radius: 9px;
  padding: 13px;
}
.product-page .step span {
  color: var(--cat-violet);
  font-size: 9px;
  font-weight: 800;
  display: block;
}
.product-page .step b {
  display: block;
  font-size: 10.5px;
  margin-top: 9px;
  color: var(--cat-night);
}
.product-page .step p {
  font-size: 9px;
  color: #918B9D;
  line-height: 1.8;
  margin: 4px 0 0;
}

/* Responsive Media Queries */
@media (max-width: 1160px) {
  .product-page .catalog-layout {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 20px;
  }
  .product-page .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .product-page.shell {
    width: calc(100% - 28px);
  }
  .product-page .catalog-layout {
    display: block;
  }
  .product-page .catalog-sidebar {
    position: static;
    margin-bottom: 24px;
    max-height: none;
  }
  .product-page .catalog-tagline {
    display: none;
  }
  .product-page .hero {
    min-height: 430px;
    flex-direction: column;
  }
  .product-page .hero-content {
    width: 100%;
    padding: 28px 24px 0;
    min-height: 210px;
  }
  .product-page .hero h1 {
    font-size: 32px;
  }
  .product-page .hero p {
    max-width: 100%;
  }
  .product-page .hero-media {
    width: 100%;
    height: 210px;
    position: relative;
    margin-top: auto;
  }
  .product-page .hero.fashion .hero-first {
    width: 130px;
    height: 195px;
    right: 46%;
    top: 8px;
  }
  .product-page .hero.fashion .hero-second {
    height: 205px;
    width: 140px;
    right: 18%;
    top: 0;
  }
  .product-page .hero.jewelry .hero-first {
    width: 190px;
    height: 190px;
    top: 5px;
    right: 28%;
  }
  .product-page .hero.jewelry .hero-second {
    height: 95px;
    width: 95px;
    top: 95px;
    right: 9%;
  }
  .product-page .hero.all .hero-first {
    height: 190px;
    width: 130px;
    top: 5px;
    right: 46%;
  }
  .product-page .hero.all .hero-second {
    width: 155px;
    height: 155px;
    right: 12%;
    top: 22px;
  }
  .product-page .perks {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-page .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* #region Mobile Viewport PLP Fixes (TBJ-34, TBJ-35, TBJ-36) (max-width: 767.98px) */
@media (max-width: 767.98px) {
  /* TBJ-34: Consistent symmetric 16px horizontal container spacing */
  body .container,
  header.site-header .container,
  .v7-header .container,
  .v7-topbar .container {
    width: calc(100% - 32px) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-inline: auto !important;
  }
  .master-wrapper-content {
    width: calc(100% - 32px) !important;
  }
  .product-page.shell {
    width: calc(100% - 32px) !important;
    margin: 0 auto !important;
  }

  /* TBJ-35: Country/market selector popover stays inside 320px-414px viewport */
  .v7-country-wrapper {
    position: static !important;
  }
  .v7-country-pop {
    position: absolute !important;
    right: 0 !important;
    top: calc(100% + 6px) !important;
    width: min(300px, 100%) !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 16px !important;
  }
  .v7-country-pop b {
    font-size: 16px !important;
  }
  .v7-country-pop p {
    font-size: 11px !important;
    margin: 4px 0 10px !important;
    line-height: 1.45 !important;
  }
  .v7-country-pop select {
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 6px 0 12px !important;
    font-size: 12px !important;
  }
  .v7-country-action {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
  }
  .v7-country-action .btnSecondary {
    min-height: 34px !important;
    padding: 7px 16px !important;
    font-size: 11px !important;
  }

  /* TBJ-36: Heading and description stack cleanly */
  .product-page .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin: 22px 0 14px;
  }
  .product-page .section-heading h2 {
    font-size: 20px;
    line-height: 1.25;
    margin: 0;
  }
  .product-page .section-heading p {
    font-size: 11.5px;
    margin: 2px 0 0;
    color: #79718B;
  }
  .product-page .section-heading .faint {
    text-align: left;
    font-size: 11px;
    color: #A39DB0;
    margin-top: 2px;
  }

  /* TBJ-36: Category switches and child category tabs spacing on mobile */
  .product-page .category-switches {
    gap: 6px;
    margin-bottom: 14px;
  }
  .product-page .category-switch-btn,
  .product-page .category-switches button {
    font-size: 11px;
    padding: 7px 11px;
  }
  .product-page .collection-tabs {
    gap: 6px;
    padding: 2px 0 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .product-page .collection-tab-btn {
    font-size: 11px;
    padding: 7px 12px;
  }

  /* TBJ-36: Toolbar reflow & search input usability (prevents collapsing) */
  .product-page .catalog-tools {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin: 8px 0 16px;
  }
  .product-page .tool-left {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .product-page .tool-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    width: 100%;
  }
  .product-page .search {
    order: -1;
    width: 100% !important;
    flex: 1 1 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .product-page .search input {
    width: 100% !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
  .product-page .mobile-filter-trigger {
    flex: 0 0 auto;
    font-size: 12px;
    padding: 8px 14px;
    min-height: 38px;
    box-sizing: border-box;
  }
  .product-page .sort {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    font-size: 12px;
    min-height: 38px;
    box-sizing: border-box;
  }
  .product-page .view-btn {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    min-height: 38px;
    box-sizing: border-box;
  }
}
/* #endregion */

@media (max-width: 500px) {
  .product-page .breadcrumb {
    font-size: 10.5px;
    padding: 14px 0;
  }
  .product-page .hero h1 {
    font-size: 26px;
  }
  .product-page .hero p {
    font-size: 11px;
  }
  .product-page .perks {
    gap: 12px 8px;
  }
  .product-page .perk b {
    font-size: 11px;
  }
  .product-page .perk span {
    font-size: 9.5px;
  }
  .product-page .product-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .product-page .steps-strip {
    padding: 17px;
  }
  .product-page .steps-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* ========================================================
   MARKETPLACE CHANNELS & MODAL SECTION
   ======================================================== */
#channels-section {
  margin: 32px 0 28px;
}
.market-box {
  padding: 16px;
  border: 1px solid #EAE7F2;
  border-radius: 14px;
  background: linear-gradient(145deg, #ffffff, #FCFBFF);
}
.market-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 1200px) {
  .market-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .market-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.market-tile {
  text-align: left;
  border: 1px solid #EAE7F1;
  border-radius: 10px;
  padding: 12px 10px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  transition: all .16s ease;
  min-width: 0;
  cursor: pointer;
  outline: none;
}
.market-tile:hover {
  border-color: #BFAAF9;
  background: #F9F6FF;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(97, 49, 223, 0.08);
}
.market-tile b {
  font-size: 11.5px;
  font-weight: 750;
  color: var(--cat-night);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}
.market-tile small {
  font-size: 9.5px;
  color: var(--cat-violet);
  font-weight: 600;
}
.market-logo {
  height: 34px;
  width: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  border: 1px solid #ECE8F1;
  font-weight: 850;
  font-size: 13.5px;
}
.market-note {
  margin: 12px 2px 0;
  font-size: 10.5px;
  color: #8D869E;
  line-height: 1.5;
}

/* Modal for Channels & Zoom */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(27, 26, 57, 0.45);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  z-index: 1000;
  padding: 16px;
}
.modal-backdrop[hidden] {
  display: none !important;
}
.modal-panel {
  position: relative;
  background: #ffffff;
  border: 1px solid #E6E1EE;
  border-radius: 16px;
  max-width: 520px;
  width: 100%;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(27, 26, 57, 0.16);
  animation: modalPop .2s cubic-bezier(.16,1,.3,1);
}
@keyframes modalPop {
  from { opacity: 0; transform: scale(.95); }
  to { opacity: 1; transform: scale(1); }
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #EAE5F2;
  background: #FAFAFD;
  color: #716B81;
  font-size: 14px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all .16s;
}
.modal-close:hover {
  background: #F3EEFC;
  color: var(--cat-violet);
}

/* Load More Presentation */
.load-more {
  display: flex;
  justify-content: center;
  margin: 28px 0 16px;
}
.load-more .btn.outline {
  padding: 11px 28px;
  font-size: 12px;
  font-weight: 700;
  border: 1.5px solid #D6CCE8;
  border-radius: 8px;
  background: #ffffff;
  color: #554D69;
  cursor: pointer;
  transition: all .18s;
}
.load-more .btn.outline:hover {
  border-color: var(--cat-violet);
  color: var(--cat-violet);
  background: #F8F5FF;
  transform: translateY(-1px);
}

/* ========================================================
   PRODUCT DETAILS DESIGN ALIGNMENT (PORTED FROM STANDALONE)
   ======================================================== */
.product-details-page.shell,
.product-details-container {
  max-width: 1320px;
  width: min(100% - 50px, 1320px);
  margin: 0 auto;
  padding: 0 0 60px;
  color: #1B1A39;
  font-family: inherit;
}

@media (max-width: 1199.98px) {
  .product-details-page.shell,
  .product-details-container {
    width: min(100% - 35px, 1320px);
  }
}

@media (max-width: 767.98px) {
  .product-details-page.shell,
  .product-details-container {
    width: calc(100% - 28px);
  }
}
.detail-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 0 20px;
  color: #9B96A9;
  font-size: 12px;
  margin-bottom: 8px;
}
.detail-head a {
  color: #716B81;
  text-decoration: none;
  transition: color .2s;
}
.detail-head a:hover {
  color: var(--cat-violet);
}
.detail-head b {
  color: var(--cat-violet);
  font-weight: 700;
}
.detail-head span {
  opacity: 0.6;
}

.detail-top {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr);
  align-items: start;
  gap: 44px;
}
@media (max-width: 1024px) {
  .detail-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Detail Media & Gallery */
.detail-media {
  position: sticky;
  top: 95px;
}
.detail-gallery {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 14px;
}
@media (max-width: 640px) {
  .detail-gallery {
    grid-template-columns: 1fr;
  }
}
.gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 540px;
  overflow-y: auto;
  scrollbar-width: none;
}
@media (max-width: 640px) {
  .gallery-thumbs {
    order: 2;
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
  }
}
.gallery-thumb {
  border: 1.5px solid #ECE7F2;
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  background: #FAF8F6;
  aspect-ratio: 1/1;
  cursor: pointer;
  transition: all .16s;
  width: 100%;
  min-width: 64px;
}
.gallery-thumb.active,
.gallery-thumb:hover {
  border-color: var(--cat-violet);
  box-shadow: 0 0 0 2px rgba(97, 49, 223, 0.2);
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-main {
  position: relative;
  border: 1px solid #EEEAF0;
  border-radius: 15px;
  background: #F7F4F2;
  overflow: hidden;
  min-height: 480px;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-main.fashion {
  aspect-ratio: 3/4;
}
.gallery-main.jewelry {
  aspect-ratio: 1/1;
  background: #F7F3EE;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
  cursor: zoom-in;
}
.gallery-main:hover img {
  transform: scale(1.02);
}
.gallery-label {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .8px;
  background: #ffffff;
  color: var(--cat-night);
  border: 1px solid #ECE6F3;
  border-radius: 6px;
  padding: 5px 9px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.gallery-zoom {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: #ffffffE6;
  backdrop-filter: blur(4px);
  border: 1px solid #E8E1ED;
  border-radius: 8px;
  padding: 8px 12px;
  color: #494055;
  font-size: 10.5px;
  font-weight: 750;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all .16s;
}
.gallery-zoom:hover {
  background: #ffffff;
  border-color: var(--cat-violet);
  color: var(--cat-violet);
}
.gallery-caption {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 11px;
  color: #8C869A;
}

/* Detail Info */
.detail-info {
  display: flex;
  flex-direction: column;
}
.detail-info .smallcaps {
  color: var(--cat-violet);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
.detail-info .smallcaps.goldtext {
  color: var(--cat-gold);
}
.detail-info h1 {
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.8px;
  margin: 10px 0 12px;
  color: #1B1A39;
}
.product-blurb {
  color: #5D576E;
  font-size: 12.5px;
  line-height: 1.7;
  margin: 0 0 14px;
}
.sku-line {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 11px;
  color: #8D859B;
  padding-bottom: 14px;
  border-bottom: 1px solid #EFEBF3;
  margin-bottom: 16px;
}
.sku-line span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Price Box */
.detail-pricebox {
  background: #FCFBFD;
  border: 1px solid #ECE8F1;
  border-radius: 13px;
  padding: 18px 20px;
  margin-bottom: 18px;
}
.detail-pricebox .cost-label {
  display: block;
  color: #8B8594;
  font-size: 10.5px;
  font-weight: 600;
  margin-bottom: 4px;
}
.detail-pricebig {
  font-size: 32px;
  font-weight: 850;
  letter-spacing: -1px;
  color: #1B1A39;
  line-height: 1.15;
}
.detail-pricefoot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-size: 11px;
  color: #797187;
  flex-wrap: wrap;
}
.chip-green {
  background: #E8F7F0;
  color: #05A157;
  font-weight: 750;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 5px;
  border: 1px solid #C4EED9;
}

/* Mode Switcher */
.detail-mode {
  display: flex;
  gap: 8px;
  padding: 5px;
  background: #F5F3F8;
  border-radius: 10px;
  margin-bottom: 18px;
}
.detail-mode button {
  flex: 1;
  border: 0;
  background: transparent;
  border-radius: 7px;
  padding: 10px;
  color: #877F98;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: all .16s;
}
.detail-mode button.active {
  background: #ffffff;
  box-shadow: 0 2px 9px rgba(38, 29, 69, 0.08);
  color: var(--cat-violet);
}

/* Options & Attributes */
.option-row {
  margin-bottom: 16px;
}
.option-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  font-weight: 750;
  color: #383149;
  margin-bottom: 7px;
}
.option-head span {
  font-weight: 500;
  font-size: 10.5px;
  color: #8C859B;
}
.select-wrap select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #E5DFED;
  border-radius: 9px;
  background: #ffffff;
  font-size: 12px;
  color: #342D45;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}
.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.swatch-choice {
  border: 1.5px solid #E4DEEB;
  background: #ffffff;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 11px;
  font-weight: 700;
  color: #554D67;
  cursor: pointer;
  transition: all .15s;
}
.swatch-choice:hover,
.swatch-choice.active,
.swatch-choice:has(input:checked) {
  border-color: var(--cat-violet);
  background: #F8F5FF;
  color: var(--cat-violet);
}

/* Quantity & Order Value */
.qty-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.qty-counter {
  border: 1px solid #E7E3EC;
  border-radius: 9px;
  display: flex;
  align-items: center;
  height: 42px;
  overflow: hidden;
  background: #ffffff;
}
.qty-counter button {
  width: 38px;
  height: 40px;
  border: 0;
  background: #ffffff;
  font-size: 18px;
  color: #5D5372;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .15s;
}
.qty-counter button:hover {
  background: #F6F2FC;
  color: var(--cat-violet);
}
.qty-counter input {
  width: 52px;
  text-align: center;
  border: 0;
  height: 40px;
  outline: 0;
  font-size: 13px;
  font-weight: 750;
  color: #1B1A39;
  -moz-appearance: textfield;
}
.qty-counter input::-webkit-outer-spin-button,
.qty-counter input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.summary-total {
  text-align: right;
}
.summary-total small {
  display: block;
  font-size: 10px;
  color: #928A9F;
  margin-bottom: 2px;
}
.summary-total span {
  font-size: 20px;
  font-weight: 850;
  color: #1B1A39;
}

/* Margin Preview */
.margin-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #F8F5FF;
  border: 1px solid #E7DCFF;
  border-radius: 10px;
  padding: 13px 15px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.margin-preview > div:first-child {
  flex: 1;
  min-width: 170px;
}
.margin-preview label {
  font-size: 11px;
  font-weight: 800;
  display: block;
  color: #2F2746;
}
.margin-preview label small {
  font-weight: 400;
  color: #8C849E;
}
.margin-preview span {
  font-size: 10.5px;
  color: #6C647F;
  margin-top: 2px;
  display: block;
}
.margin-preview span b {
  color: #05A157;
  font-weight: 800;
}
.margin-input {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 750;
  color: #6131DF;
}
.margin-input input {
  width: 85px;
  padding: 6px 10px;
  border: 1px solid #D6C7F7;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 750;
  color: #1B1A39;
  background: #ffffff;
  outline: none;
}

/* Detail CTAs */
.detail-ctas {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.detail-ctas .btn {
  flex: 1;
  padding: 13px 18px;
  font-size: 12px;
  font-weight: 800;
  border-radius: 9px;
  text-align: center;
  cursor: pointer;
  transition: all .16s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
}
.detail-ctas .btn.primary {
  background: var(--cat-violet);
  color: #ffffff;
}
.detail-ctas .btn.primary:hover {
  background: var(--cat-violet2);
  transform: translateY(-1px);
}
.detail-ctas .btn.outline {
  background: #ffffff;
  color: #4D4563;
  border: 1.5px solid #DCD6E7;
}
.detail-ctas .btn.outline:hover {
  border-color: var(--cat-violet);
  color: var(--cat-violet);
  background: #FAF7FF;
}

.detail-note {
  font-size: 10.5px;
  color: #8F879D;
  margin: 12px 0 0;
  line-height: 1.5;
}

/* Benefit Points */
.detail-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0 0;
  border-top: 1px solid #EFEAF2;
  padding-top: 15px;
}
@media (max-width: 500px) {
  .detail-points {
    grid-template-columns: 1fr;
  }
}
.detail-points div {
  font-size: 10px;
  color: #7D768B;
  line-height: 1.4;
}
.detail-points strong {
  display: block;
  color: #383149;
  font-size: 10.5px;
  margin-bottom: 2px;
}

/* Detail Tabs Section */
.detail-section {
  margin-top: 48px;
  border-top: 1px solid #EAE5EF;
  padding-top: 16px;
}
.tab-menu {
  display: flex;
  border-bottom: 1px solid #EAE6EE;
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-menu button {
  border: 0;
  border-bottom: 2.5px solid transparent;
  background: none;
  padding: 14px 4px;
  font-size: 12px;
  color: #7F788F;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
  transition: all .16s;
}
.tab-menu button.active {
  color: var(--cat-violet);
  border-color: var(--cat-violet);
}
/* Keep vertical scrolling on the page; tabs should only switch document-flow content. */
.tab-content {
  padding: 24px 2px 20px;
  min-height: 190px;
  max-height: none;
  overflow: visible;
  overscroll-behavior: auto;
  color: #554F64;
  line-height: 1.8;
  font-size: 12px;
}
.tab-pane {
  display: none;
}
.tab-pane.active {
  display: block;
  animation: fadeIn .2s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.tab-content h3 {
  color: #241E38;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.4px;
  line-height: 1.4;
  margin: 0 0 14px;
}
.tab-content p {
  margin: 0 0 12px;
  max-width: 820px;
}
.spec-table {
  border: 1px solid #EEEAF0;
  border-radius: 10px;
  overflow: hidden;
  max-width: 820px;
  margin: 16px 0;
}
.spec-line {
  display: flex;
  padding: 10px 16px;
  font-size: 11.5px;
  border-bottom: 1px solid #F1ECF5;
}
.spec-line:last-child {
  border-bottom: none;
}
.spec-line:nth-child(even) {
  background: #FCFAFD;
}
.spec-line strong {
  width: 180px;
  flex: none;
  color: #383149;
  font-weight: 700;
}
.spec-line span {
  color: #615B71;
}

.bulk-table {
  width: 100%;
  max-width: 780px;
  border-collapse: collapse;
  font-size: 11.5px;
  margin: 16px 0;
  border: 1px solid #EDE8F2;
  border-radius: 10px;
  overflow: hidden;
}
.bulk-table th {
  text-align: left;
  background: #F4F0FE;
  padding: 12px 16px;
  color: #574081;
  font-weight: 800;
}
.bulk-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #EDE8F2;
  color: #4D4561;
}
.bulk-table tr:last-child td {
  border-bottom: none;
}

.faq-item {
  border-bottom: 1px solid #EAE6EF;
  max-width: 820px;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px;
  font-weight: 750;
  font-size: 12.5px;
  color: #383146;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "›";
  font-size: 16px;
  color: var(--cat-violet);
  transition: transform .2s;
}
.faq-item[open] summary::after {
  transform: rotate(90deg);
}
.faq-item p {
  margin: 0 0 16px;
  padding: 0 16px;
  font-size: 12px;
  color: #6A637B;
  line-height: 1.7;
}
#pane-Shipping,
#pane-Shipping .faq-item,
#pane-Shipping .faq-item p {
  width: 100%;
  max-width: none;
}

/* #region V12 Related Products and Catalog Bottom Styles (100% matched to product.html & catalog.html) */
.sc-related {
  padding-top: 42px;
  margin: 30px 0 20px;
}
.sc-related h2 {
  font-size: 26px;
  font-weight: 700;
  color: #1b1a39;
  letter-spacing: -0.5px;
  margin: 0 0 24px 0;
}
.sc-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 25px;
}
.sc-product {
  border: 1px solid #ebe6f4;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sc-product:hover {
  box-shadow: 0 15px 40px rgba(50, 35, 83, 0.086);
  transform: translateY(-2px);
}
.sc-image {
  position: relative;
  display: block;
  background: #faf8fa;
  overflow: hidden;
  width: 100%;
}
.sc-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.sc-product:hover .sc-image img {
  transform: scale(1.03);
}
.sc-image.fashion {
  aspect-ratio: 3/4;
}
.sc-image.jewellery {
  aspect-ratio: 1/1;
}
.sc-badge {
  position: absolute;
  left: 11px;
  top: 10px;
  background: #ffffff;
  color: #6946a9;
  font-size: 10px;
  padding: 7px 9px;
  font-weight: 800;
  border-radius: 7px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.sc-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}
.sc-info small {
  font-size: 11px;
  font-weight: 750;
  color: #8661b2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sc-info h3 {
  font-size: 15px;
  line-height: 1.5;
  min-height: 45px;
  margin: 3px 0;
  color: #1b1a39;
  font-weight: 600;
}
.sc-info p {
  color: #777188;
  line-height: 1.65;
  font-size: 12px;
  margin: 0 0 5px;
}
.sc-price {
  font-weight: 800;
  font-size: 16px;
  color: #1b1a39;
  margin-top: auto;
  padding-bottom: 8px;
}
.sc-info .sc-btn {
  margin-top: auto;
  width: 100%;
  font-size: 12px;
}
.sc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid var(--cat-violet, #6131df);
  border-radius: 12px;
  background: var(--cat-violet, #6131df);
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 750;
  font-size: 14px;
  gap: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
  box-sizing: border-box;
}
.sc-btn:hover {
  filter: brightness(0.93);
  box-shadow: 0 4px 12px rgba(97, 49, 223, 0.25);
}
.sc-btn.soft {
  background: #ffffff;
  color: var(--cat-violet, #6131df) !important;
}
.sc-btn.soft:hover {
  background: #fbf9ff;
  border-color: var(--cat-violet, #6131df);
}
.sc-note {
  color: #86819a;
  font-size: 12px;
  line-height: 1.6;
}
.sc-actions-bottom,
.sc-catalog-bottom-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 980px) {
  .sc-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
}
@media (max-width: 740px) {
  .sc-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
    padding-bottom: 25px;
  }
  .sc-info {
    padding: 11px;
  }
  .sc-info h3 {
    font-size: 12px;
    min-height: 0;
  }
  .sc-info small {
    font-size: 9px;
  }
  .sc-info p {
    font-size: 10px;
  }
  .sc-info .sc-btn {
    padding: 10px 6px;
    font-size: 10px;
  }
  .sc-price {
    font-size: 14px;
  }
}

/* Related Zone compatibility */
.related-zone {
  margin: 30px 0 20px;
}
.related-zone .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 16px;
}
@media (max-width: 900px) {
  .related-zone .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* #endregion */

/* Browse All CTA */
.browse-all {
  margin: 30px 0 40px;
  border: 1px solid #ECE6F3;
  background: linear-gradient(115deg, #F8F4FF, #F3EFF8);
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.browse-all h2 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 6px;
  color: #1B1A39;
}
.browse-all p {
  color: #797187;
  font-size: 11.5px;
  margin: 0;
}
.browse-all .btn {
  padding: 12px 24px;
  font-size: 12px;
  font-weight: 800;
  border-radius: 9px;
  background: var(--cat-violet);
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
}

/* Mobile Sticky Detail Action Bar */
.mobile-detail-bar {
  display: none;
}
@media (max-width: 768px) {
  .mobile-detail-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0 !important;
    right: 0 !important;
    z-index: 90;
    background: #ffffff;
    border-top: 1px solid #EAE5EF;
    box-shadow: 0 -5px 22px rgba(30, 20, 50, 0.1);
    padding: 10px 16px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }
  .mobile-detail-bar.is-footer-visible {
    display: none;
  }
  .html-product-details-page .v10-whatsapp-float,
  .html-product-details-page a.v10-whatsapp-float,
  body:has(.mobile-detail-bar) .v10-whatsapp-float,
  body:has(.mobile-detail-bar) a.v10-whatsapp-float {
    right: 16px !important;
    bottom: 84px !important;
    z-index: 99 !important;
  }
  .mobile-detail-bar > div {
    flex: 0 1 auto;
    min-width: 0;
  }
  .mobile-detail-bar small {
    display: block;
    font-size: 9.5px;
    color: #8C849B;
  }
  .mobile-detail-bar b {
    font-size: 18px;
    font-weight: 850;
    color: #1B1A39;
  }
  .mobile-detail-bar .btn {
    padding: 10px 18px;
    font-size: 11.5px;
    font-weight: 800;
    border-radius: 8px;
    background: var(--cat-violet);
    color: #ffffff;
    border: none;
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
    text-align: center;
    white-space: nowrap;
  }
}

/* Zoom View in Modal */
.zoom-view img {
  width: auto;
  height: auto;
  max-width: calc(100vw - 64px);
  max-height: calc(100dvh - 64px);
  object-fit: contain;
  display: block;
  border-radius: 8px;
}

/* TBJ-45: keep PDP zoom media crisp while the blur remains behind the dialog. */
#zoomModal {
  background: rgba(27, 26, 57, 0.58);
  isolation: isolate;
}

#zoomModal > .modal-panel {
  width: auto;
  max-width: calc(100vw - 32px) !important;
  max-height: calc(100dvh - 32px);
  padding: 12px !important;
  overflow: visible;
  opacity: 1;
  filter: none;
  backdrop-filter: none;
  background: #ffffff;
}

#zoomModal .zoom-view {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  max-height: calc(100dvh - 56px);
  overflow: hidden;
  background: #f5f4f7;
  border-radius: 10px;
  opacity: 1;
  filter: none;
  backdrop-filter: none;
}

#zoomModal #zoomImage {
  opacity: 1 !important;
  filter: none !important;
  backdrop-filter: none !important;
  image-rendering: auto;
}

#zoomModal .modal-close {
  z-index: 2;
}

@media (max-width: 768px) {
  #zoomModal > .modal-panel {
    max-width: calc(100vw - 20px) !important;
    max-height: calc(100dvh - 20px);
    padding: 8px !important;
  }

  #zoomModal .zoom-view,
  #zoomModal .zoom-view img {
    max-width: calc(100vw - 36px);
    max-height: calc(100dvh - 36px);
  }
}

/* Final desktop parity layer for the supplied standalone v4 reference. */
@media (min-width: 1025px) {
  .product-page .catalog-layout { grid-template-columns:240px minmax(0,1fr);gap:27px; }
  .product-page .hero { min-height:325px;margin-bottom:0; }
  .product-page .hero-content { width:54%;padding:34px 0 30px 35px; }
  .product-page .hero-eyebrow { font-size:9.5px; }
  .product-page .hero h1 { font-size:clamp(28px,3.15vw,44px);letter-spacing:-1.7px;line-height:1.16;margin:12px 0; }
  .product-page .hero p { max-width:360px;font-size:10.5px;color:#746C8B;margin:0 0 17px;line-height:1.9; }
  .product-page .hero-media { width:46%; }
  .product-page .hero.fashion .hero-first { width:177px;height:275px;right:42%; }
  .product-page .hero.fashion .hero-second { width:177px;height:279px;top:16px; }
  .product-page .hero.jewelry .hero-first { width:270px;height:270px;right:25%;top:27px; }
  .product-page .hero.jewelry .hero-second { right:1%;top:120px; }
  .product-page .hero.all .hero-first { width:169px;height:250px;right:41%; }
  .product-page .hero.all .hero-second { width:209px;height:209px; }
  .product-page .hero-chip { bottom:17px;right:14px;padding:10px 12px;border-radius:8px;font-size:9px;letter-spacing:.2px; }
  .product-page .perks { gap:10px;padding:19px 0;margin-bottom:0;border-top:0; }
  .product-page .perk { gap:8px; }
  .product-page .perk-icon { width:35px;height:35px;border:1px solid #E8E0FF;border-radius:10px; }
  .market-grid { grid-template-columns:repeat(5,minmax(0,1fr)); }
  .detail-head { padding:21px 0;margin:0 0 22px;background:transparent; }
  .detail-top { grid-template-columns:minmax(0,1.06fr) minmax(340px,.94fr); }
  .detail-media { position:static; }
  .detail-gallery { grid-template-columns:70px minmax(0,1fr);gap:13px;align-items:start; }
  .gallery-thumb { width:70px;min-width:70px;height:80px;padding:3px;border:1px solid #E8E4EB;border-radius:9px;background:#fff;aspect-ratio:auto; }
  .gallery-main { min-height:450px; }
  .detail-info h1 { font-size:clamp(26px,2.5vw,38px);line-height:1.2;letter-spacing:-1.25px;margin:10px 0 13px; }
  .detail-pricebox { padding:18px;margin-bottom:15px; }
  .detail-section { margin-top:0;border-top:0;padding-top:33px; }
  .tab-content { padding:27px 2px 20px;max-width:none;color:#625D70;line-height:1.9;font-size:11px; }
  .related-zone { margin:22px 0 45px; }
  .browse-all { margin:25px 0 40px;border-radius:15px;padding:25px; }
}

@media (max-width:1024px) and (min-width:641px) {
  .market-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:640px) {
  .market-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}


/* ==========================================================================
   V12 Catalog Mobile Filter Drawer & Responsive Interactivity
   ========================================================================== */

/* Mobile filter trigger button: hidden on desktop */
.mobile-filter-trigger {
  display: none;
}

/* Sidebar drawer close button: hidden on desktop */
.sidebar-drawer-close {
  display: none;
}

/* Mobile filter backdrop */
.mobile-filter-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 13, 37, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.mobile-filter-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile Filter Drawer for Viewports <= 1024px */
@media (max-width: 1024px) {
  .mobile-filter-trigger {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 15px;
    border: 1px solid #DFD8EB;
    border-radius: 999px;
    background: #ffffff;
    font-weight: 700;
    font-size: 13px;
    color: var(--cat-night);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(33, 25, 62, 0.05);
    transition: background 0.2s, border-color 0.2s;
  }

  .mobile-filter-trigger:hover {
    background: #FAF8FF;
    border-color: var(--cat-violet);
    color: var(--cat-violet);
  }

  .sidebar-drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #F4F0FF;
    color: var(--cat-violet);
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    margin-left: auto;
  }

  .product-page .catalog-layout {
    display: block;
  }

  .product-page .catalog-sidebar {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: min(340px, 86vw) !important;
    height: 100vh !important;
    max-height: 100vh !important;
    z-index: 1050 !important;
    background: #ffffff !important;
    box-shadow: -12px 0 40px rgba(18, 13, 37, 0.2) !important;
    border-radius: 0 !important;
    border: none !important;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .product-page .catalog-sidebar.drawer-open {
    transform: translateX(0);
  }

  body.filter-drawer-open {
    overflow: hidden;
  }
}

/* AJAX Loading State on Products Catalog Container */
#productsCatalogContainer.loading {
  position: relative;
  pointer-events: none;
  min-height: 250px;
}

#productsCatalogContainer.loading::after {
  content: "";
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border: 3.5px solid #EFEAF8;
  border-top-color: var(--cat-violet);
  border-radius: 50%;
  animation: catalogSpinner 0.75s linear infinite;
  z-index: 10;
}

@keyframes catalogSpinner {
  to { transform: translateX(-50%) rotate(360deg); }
}

/* Catalog Error State */
.catalog-error-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  background: #ffffff;
  border: 1px dashed #E5DCF8;
  border-radius: 18px;
  margin: 20px 0;
}

.catalog-error-state strong {
  display: block;
  font-size: 18px;
  color: var(--cat-night);
  margin: 10px 0 6px;
}

.catalog-error-state p {
  color: var(--cat-mid);
  font-size: 13px;
  margin: 0 0 16px;
}

/* #region Mobile Viewport Product Detail Fixes (max-width: 768px) */
@media (max-width: 768px) {
  .product-details-page {
    overflow-x: hidden;
    max-width: 100%;
  }
  .detail-top {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    max-width: 100% !important;
  }
  .detail-media {
    width: 100% !important;
    max-width: 100% !important;
    position: static !important;
  }
  .detail-gallery {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 12px !important;
  }
  .detail-gallery > div:last-child {
    order: 1 !important;
    width: 100% !important;
  }
  .gallery-main {
    min-height: auto !important;
    max-height: 380px !important;
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 1 / 1 !important;
  }
  .gallery-thumbs {
    order: 2 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    gap: 8px !important;
    padding: 2px 0 8px !important;
    margin: 0 !important;
    max-height: none !important;
    scrollbar-width: none;
  }
  .gallery-thumbs::-webkit-scrollbar {
    display: none;
  }
  .gallery-thumb {
    flex: 0 0 60px !important;
    width: 60px !important;
    min-width: 60px !important;
    max-width: 60px !important;
    height: 60px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 9px !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
  .gallery-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 7px !important;
  }
  .gallery-thumbs.single-image {
    display: none !important;
  }
  .detail-info {
    width: 100% !important;
    max-width: 100% !important;
  }
  .tab-menu {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
  }
  .detail-section {
    max-width: 100%;
    overflow-x: hidden;
  }
}
/* #endregion */


/* #region Vendor PDP Actions */
.sc-btn-remove {
  background: #fff1f2 !important;
  color: #e11d48 !important;
  border: 1px solid #fecdd3 !important;
}
.sc-actions .sc-btn.sc-btn-remove:hover {
  background: #ffe4e6 !important;
  color: #be123c !important;
  border-color: #fda4af !important;
}
.sc-actions .sc-btn.sc-btn-manage {
  background: #f5f3ff !important;
  color: #6131df !important;
  border: 1px solid #ddd6fe !important;
}
.sc-actions .sc-btn.sc-btn-manage:hover {
  background: #ede9fe !important;
  color: #4f25c7 !important;
}
.sc-actions-wrap {
  margin: 18px 0 !important;
}
.sc-actions-wrap .sc-actions {
  margin: 0 0 10px 0 !important;
}
.sc-sync-notice {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
  margin-top: 4px !important;
  margin-bottom: 8px !important;
  padding: 10px 14px !important;
  background: #f6f3ff !important;
  border: 1px solid #e0d7fc !important;
  border-radius: 10px !important;
  font-size: 12.5px !important;
  color: #5527ca !important;
  font-weight: 550 !important;
  line-height: 1.45 !important;
}
.sc-sync-notice svg {
  color: #6131df !important;
  flex-shrink: 0 !important;
}
.sc-action-feedback {
  margin-top: 6px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
}
.sc-action-feedback.sc-feedback-success {
  color: #16a34a !important;
}
.sc-action-feedback.sc-feedback-info {
  color: #6131df !important;
}
.sc-action-feedback.sc-feedback-warning {
  color: #d97706 !important;
}
.sc-action-feedback.sc-feedback-error {
  color: #dc2626 !important;
}
.sc-tabs {
  display: flex !important;
  gap: 7px !important;
  flex-wrap: wrap !important;
  padding: 17px 0 !important;
  margin-top: 18px !important;
  border-bottom: 1px solid #e8e1f1 !important;
}
.sc-tabs button {
  padding: 11px 13px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #f6f2fa !important;
  color: #807792 !important;
  font-weight: 750 !important;
  font-size: 12px !important;
  cursor: pointer !important;
  transition: all .15s ease !important;
}
.sc-tabs button.on,
.sc-tabs button.active {
  background: #eee6ff !important;
  color: #6131df !important;
}
.sc-pane {
  padding: 15px 0 !important;
  min-height: 135px !important;
  color: #5a566f !important;
  font-size: 14px !important;
  line-height: 1.85 !important;
}
.sc-pane b {
  display: block !important;
  font-size: 15px !important;
  color: #1b1a39 !important;
  margin-bottom: 8px !important;
  font-weight: 750 !important;
}
.sc-pane ul {
  margin: 0 !important;
  padding-left: 20px !important;
}
.sc-pane li {
  margin-bottom: 4px !important;
}
.sc-pane p {
  color: #5a566f !important;
  font-size: 14px !important;
  line-height: 1.85 !important;
  margin: 0 0 10px 0 !important;
}
.sc-disclaimer {
  font-size: 11px !important;
  color: #8b879c !important;
  line-height: 1.6 !important;
  margin-top: 12px !important;
}
.sc-image .wish-btn {
  position: absolute !important;
  top: 10px !important;
  right: 11px !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: #fff !important;
  border: 1px solid #eee5ff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
  cursor: pointer !important;
  font-size: 14px !important;
  color: #1b1a39 !important;
  z-index: 5 !important;
  padding: 0 !important;
  line-height: 1 !important;
  transition: transform .15s ease, background .15s ease, color .15s ease !important;
}
.sc-image .wish-btn:hover {
  transform: scale(1.1) !important;
  background: #f7f3ff !important;
  color: #6131df !important;
}
@media (max-width: 980px) {
  .sc-detail {
    gap: 25px !important;
  }
  .sc-gallery-main img {
    height: 390px !important;
  }
}
@media (max-width: 740px) {
  .sc-detail {
    grid-template-columns: 1fr !important;
  }
  .sc-gallery-main img {
    height: 350px !important;
  }
  .sc-detail-info h1 {
    font-size: 30px !important;
  }
  .sc-selectrow {
    grid-template-columns: 1fr 1fr !important;
  }
}
/* #endregion */
