.gloss-product-page {
  --series-accent: #d4af37;
  --series-accent-soft: rgba(212, 175, 55, 0.18);
  --series-ink: #26052a;
  background:
    radial-gradient(circle at 8% 18%, rgba(212, 175, 55, 0.12), transparent 28%),
    radial-gradient(circle at 90% 62%, rgba(159, 39, 125, 0.14), transparent 32%),
    #fdf2ff;
}

.gloss-product-page.apex-detail-page {
  --series-accent: #e0c15a;
  --series-accent-soft: rgba(224, 193, 90, 0.2);
}

.gloss-product-page .gloss-detail {
  padding-bottom: 90px !important;
  overflow: hidden;
}

.gloss-product-page .gloss-hero {
  isolation: isolate;
  width: min(1400px, calc(100% - 48px));
  height: clamp(540px, 72vh, 720px);
  margin: 28px auto 0;
  padding: clamp(42px, 7vw, 92px);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 30px;
  align-items: flex-end;
  background-position: center;
  box-shadow: 0 36px 90px rgba(54, 5, 58, 0.25);
}

.gloss-product-page .gloss-hero::after {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(20, 2, 23, 0.9) 0%, rgba(31, 5, 34, 0.62) 42%, rgba(31, 5, 34, 0.08) 78%),
    linear-gradient(0deg, rgba(31, 5, 34, 0.7), transparent 62%);
}

.gloss-product-page .gloss-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(118deg, transparent 0 54%, rgba(255, 255, 255, 0.16) 55%, transparent 58%),
    radial-gradient(circle at 18% 24%, var(--series-accent-soft), transparent 34%);
  pointer-events: none;
}

.gloss-hero__content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  animation: glossDetailRise 700ms ease-out both;
}

.gloss-hero__eyebrow,
.detail-section-eyebrow,
.detail-cta__eyebrow {
  margin: 0 0 16px;
  color: var(--series-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.gloss-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
}

.gloss-hero__eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--series-accent);
  box-shadow: 0 0 14px var(--series-accent);
}

.gloss-hero__eyebrow span {
  color: var(--series-accent);
}

.gloss-product-page .gloss-hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(72px, 10vw, 142px);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.075em;
  text-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.gloss-product-page .gloss-hero h1 span {
  display: block;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.gloss-hero__lede {
  max-width: 650px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(14px, 1.35vw, 17px);
  line-height: 1.7;
}

.gloss-hero__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.gloss-hero__metric {
  min-width: 132px;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.gloss-hero__metric strong {
  display: block;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.2;
}

.gloss-hero__metric span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.gloss-product-page .gloss-detail-content {
  max-width: 1280px;
  padding: 92px 24px 0;
  overflow: visible;
  line-height: normal;
}

.detail-intro {
  max-width: 980px;
  margin-bottom: 48px;
}

.detail-intro h2 {
  max-width: 840px;
  margin: 0;
  color: var(--series-ink);
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.detail-intro__copy {
  max-width: 780px;
  margin: 22px 0 0;
  color: #744c79;
  font-size: 16px;
  line-height: 1.75;
}

.feature-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 76px;
  border-top: 1px solid rgba(74, 4, 78, 0.18);
  border-bottom: 1px solid rgba(74, 4, 78, 0.18);
}

.feature-grid::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 250px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(212, 175, 55, 0.48) 14%, rgba(74, 4, 78, 0.12) 88%, transparent);
}

.gloss-product-page .feature-grid .feature-item {
  position: relative;
  min-height: 250px;
  margin: 0;
  padding: 46px 0 50px;
  border: 0;
  border-bottom: 1px solid rgba(74, 4, 78, 0.13);
  border-radius: 0;
  align-items: flex-start;
  gap: 22px;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  transition: transform 260ms ease;
}

.gloss-product-page .feature-grid .feature-item::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 58px;
  height: 1px;
  background: linear-gradient(90deg, var(--series-accent), rgba(159, 39, 125, 0.82));
  transition: width 260ms ease;
}

.gloss-product-page .feature-grid .feature-item::after {
  content: none;
}

.gloss-product-page .feature-grid .feature-item:hover {
  transform: translateX(8px);
  box-shadow: none;
}

.gloss-product-page .feature-grid .feature-item:hover::before {
  width: 128px;
}

.gloss-product-page .feature-grid .feature-item:nth-child(1) {
  grid-column: 1 / -1;
  min-height: 250px;
  padding: 54px 0 58px;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
  gap: 34px;
}

.gloss-product-page .feature-grid .feature-item:nth-child(2),
.gloss-product-page .feature-grid .feature-item:nth-child(3),
.gloss-product-page .feature-grid .feature-item:nth-child(4),
.gloss-product-page .feature-grid .feature-item:nth-child(5) {
  grid-column: span 1;
}

.gloss-product-page .feature-grid .feature-item:nth-child(1) .feature-icon-wrapper {
  width: 76px;
  height: 76px;
}

.gloss-product-page .feature-grid .feature-item:nth-child(1) .feature-text {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  align-items: end;
  gap: clamp(36px, 6vw, 88px);
}

.gloss-product-page .feature-grid .feature-item:nth-child(1) .feature-text h4 {
  margin: 0;
  color: var(--series-ink);
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.gloss-product-page .feature-grid .feature-item:nth-child(1) .feature-text p {
  color: #745078;
  font-size: 15px;
  line-height: 1.8;
}

.gloss-product-page .feature-icon-wrapper {
  position: relative;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.gloss-product-page .feature-icon-wrapper::before {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(212, 175, 55, 0.045);
}

.gloss-product-page .feature-icon-wrapper svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 5px 8px rgba(184, 134, 11, 0.16));
}

.gloss-product-page .feature-text {
  position: relative;
  z-index: 1;
}

.gloss-product-page .feature-text h4 {
  margin: 0 0 12px;
  color: var(--series-ink);
  font-size: clamp(21px, 2.2vw, 27px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  text-transform: none;
}

.gloss-product-page .feature-text p {
  margin: 0;
  color: #745078;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.72;
}

.detail-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  margin-top: 28px;
  padding: 36px 38px;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 0%, rgba(212, 175, 55, 0.23), transparent 34%),
    linear-gradient(135deg, #26052a, #4a044e 66%, #69115f);
  box-shadow: 0 26px 62px rgba(74, 4, 78, 0.2);
}

.detail-cta::after {
  content: "VEXA";
  position: absolute;
  right: 22px;
  bottom: -22px;
  color: rgba(255, 255, 255, 0.05);
  font-size: 92px;
  font-weight: 800;
  font-style: italic;
  line-height: 1;
  pointer-events: none;
}

.detail-cta__copy,
.detail-cta__actions {
  position: relative;
  z-index: 1;
}

.detail-cta h2 {
  max-width: 640px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.detail-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.gloss-product-page .detail-cta .btn-back,
.detail-shop-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 0;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease;
}

.gloss-product-page .detail-cta .btn-back:hover {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.detail-shop-button {
  border-color: transparent;
  background: linear-gradient(135deg, #d4af37, #f9e29c 52%, #b8860b);
  color: #2a0f2d;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
}

.detail-shop-button:hover,
.gloss-product-page .detail-cta .btn-back:hover {
  transform: translateY(-2px);
}

@keyframes glossDetailRise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .gloss-product-page .gloss-hero {
    height: 640px;
    background-position: 62% center;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .feature-grid::after {
    display: none;
  }

  .gloss-product-page .feature-grid .feature-item:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .gloss-product-page .feature-grid .feature-item:nth-child(1) {
    min-height: 0;
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .gloss-product-page .feature-grid .feature-item:nth-child(1) .feature-text {
    display: block;
  }

  .detail-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-cta__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .gloss-product-page .gloss-detail {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .gloss-product-page .gloss-hero {
    width: 100vw !important;
    height: auto !important;
    min-height: 610px;
    margin: 0 calc(50% - 50vw) !important;
    padding: 54px 20px 36px !important;
    border-left: 0;
    border-right: 0;
    border-radius: 0 !important;
    background-position: 64% center;
  }

  .gloss-product-page .gloss-hero::after {
    background:
      linear-gradient(0deg, rgba(20, 2, 23, 0.94) 0%, rgba(31, 5, 34, 0.66) 56%, rgba(31, 5, 34, 0.18) 100%);
  }

  .gloss-product-page .gloss-hero h1 {
    font-size: clamp(64px, 24vw, 94px);
  }

  .gloss-product-page .gloss-hero h1 span {
    margin-top: 18px;
    font-size: 21px;
  }

  .gloss-hero__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gloss-hero__metric {
    min-width: 0;
    padding: 10px;
  }

  .gloss-hero__metric strong {
    font-size: 13px;
  }

  .gloss-product-page .gloss-detail-content {
    padding: 66px 14px 0;
  }

  .detail-intro h2 {
    font-size: 38px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .gloss-product-page .feature-grid .feature-item:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
  }

  .gloss-product-page .feature-grid .feature-item:nth-child(1) {
    min-height: 0;
    padding: 42px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .gloss-product-page .feature-grid .feature-item {
    min-height: 0;
    padding: 36px 0 40px;
    border-radius: 0;
    gap: 18px;
  }

  .gloss-product-page .feature-icon-wrapper {
    width: 54px;
    height: 54px;
    padding: 0;
    border-radius: 0;
  }

  .detail-cta {
    padding: 30px 24px;
    border-radius: 20px;
  }

  .detail-cta__actions {
    width: 100%;
    flex-direction: column;
  }

  .gloss-product-page .detail-cta .btn-back,
  .detail-shop-button {
    width: 100%;
    box-sizing: border-box;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gloss-hero__content {
    animation: none;
  }

  .gloss-product-page .feature-grid .feature-item,
  .detail-shop-button,
  .gloss-product-page .detail-cta .btn-back {
    transition: none;
  }
}
