/* ==========================================================================
   GLAMWEL LABORATOIRES - Styles specifiques a la page categorie FRAGRANCE
   Extrait a l'identique de sourceHtml/fragrance.html
   ========================================================================== */

.purchase-block {
  margin-top: 17px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.price-label {
  display: block;
  margin-bottom: 5px;
  color: #81786e;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.product-price {
  display: block;
  color: var(--black);
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1;
}

.buy-button {
  display: flex;
  width: 100%;
  min-height: 54px;
  margin-top: 16px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px;
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--white);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition:
    background 300ms var(--ease),
    border-color 300ms var(--ease),
    color 300ms var(--ease),
    transform 300ms var(--ease);
}

.buy-button:hover {
  border-color: var(--gold);
  background: var(--gold);
  transform: translateY(-1px);
}

.buy-button .buy-arrow {
  position: relative;
  width: 22px;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
  transition: width 300ms var(--ease);
}

.buy-button .buy-arrow::after {
  position: absolute;
  top: -2px;
  right: 0;
  width: 5px;
  height: 5px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.buy-button:hover .buy-arrow {
  width: 30px;
}

/* TABLET */
@media (min-width: 760px) {
  .product-price { font-size: 34px; }
  .buy-button { min-height: 58px; font-size: 10px; }
}

/* =========================================================
   CATEGORY PAGE — GLAMWEL FRAGRANCE
   ========================================================= */
.category-hero {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  background: #5f5147;
  color: var(--white);
}

.category-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.24) 0%, rgba(0,0,0,.04) 38%, rgba(0,0,0,.64) 100%);
}

.category-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 92svh;
  align-items: flex-end;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 52px;
}

.category-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 19px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .23em;
  text-transform: uppercase;
}

.category-kicker::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fragrance);
  content: "";
}

.category-title {
  font-family: var(--serif);
  font-size: clamp(58px, 14vw, 138px);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: .82;
}

.category-hero-copy p {
  max-width: 570px;
  margin-top: 25px;
  color: rgba(255,255,255,.84);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.85;
}

.category-hero-actions { margin-top: 31px; }

.category-intro { background: var(--warm-white); }

.category-intro-grid {
  display: grid;
  gap: 45px;
}

.category-intro-copy { max-width: 520px; }

.category-intro-copy p {
  color: #686159;
  font-size: 13px;
  line-height: 1.9;
}

.category-intro-copy p + p { margin-top: 17px; }
.category-intro-copy .text-link { margin-top: 26px; }

.category-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.category-meta span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.category-collection-note {
  max-width: 520px;
  color: #6f685f;
  font-size: 12px;
  line-height: 1.8;
}


/* FRAGRANCE SUBCATEGORIES */
.subcategory-nav-wrap {
  position: sticky;
  z-index: 900;
  top: var(--header-height);
  background: rgba(247,244,238,.96);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.subcategory-nav {
  display: flex;
  overflow-x: auto;
  align-items: center;
  gap: 0;
  scrollbar-width: none;
}

.subcategory-nav::-webkit-scrollbar { display: none; }

.subcategory-link {
  position: relative;
  flex: 0 0 auto;
  padding: 18px 24px 16px;
  color: #70685f;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: color 250ms ease;
}

.subcategory-link:first-child { padding-left: 0; }
.subcategory-link:last-child { padding-right: 0; }

.subcategory-link::after {
  position: absolute;
  right: 24px;
  bottom: 0;
  left: 24px;
  height: 1px;
  background: var(--black);
  content: "";
  transform: scaleX(0);
  transition: transform 250ms ease;
}

.subcategory-link:first-child::after { left: 0; }
.subcategory-link:last-child::after { right: 0; }

.subcategory-link:hover,
.subcategory-link.active { color: var(--black); }

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

.subcategory-section {
  scroll-margin-top: calc(var(--header-height) + 56px);
  background: var(--ivory);
}

.subcategory-section.alt { background: var(--warm-white); }

.subcategory-head {
  display: grid;
  gap: 17px;
  margin-bottom: 42px;
}

.subcategory-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.subcategory-title {
  font-family: var(--serif);
  font-size: clamp(44px, 8vw, 78px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: .93;
}

.subcategory-count {
  flex: 0 0 auto;
  color: #81786e;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.subcategory-description {
  max-width: 590px;
  color: #6d665e;
  font-size: 13px;
  line-height: 1.85;
}

.category-editorial {
  display: grid;
  background: var(--black);
  color: var(--white);
}

.category-editorial-media {
  position: relative;
  min-height: 64svh;
  overflow: hidden;
}

.category-editorial-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-editorial-copy {
  display: flex;
  align-items: center;
  padding: 62px var(--page-padding);
}

.category-editorial-inner { max-width: 560px; }

.category-editorial-inner p {
  max-width: 440px;
  margin-top: 24px;
  color: rgba(255,255,255,.62);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.9;
}

.category-editorial-inner .text-link { margin-top: 28px; }

.category-related { background: var(--warm-white); }

.category-related-head { margin-bottom: 40px; }

.category-related-grid {
  display: grid;
  gap: 6px;
}

.category-related-card {
  position: relative;
  min-height: 52svh;
  overflow: hidden;
  background: #ddd;
  color: var(--white);
}

.category-related-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}

.category-related-card:hover img { transform: scale(1.035); }

.category-related-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.58));
}

.category-related-content {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 28px 22px;
}

.category-related-content span {
  display: block;
  margin-bottom: 5px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.category-related-content h3 {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 400;
  line-height: .9;
}

@media (min-width: 760px) {
  .category-intro-grid {
    grid-template-columns: 1.3fr .7fr;
    align-items: end;
    gap: 80px;
  }

  .category-related-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1120px) {
  .category-hero-inner { padding-bottom: 76px; }

  .category-editorial {
    min-height: 760px;
    grid-template-columns: 57% 43%;
  }

  .category-editorial-media { min-height: 100%; }
  .category-editorial-copy { padding: 80px clamp(60px, 7vw, 110px); }
}
