.hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  width: fit-content;
  margin-top: 18px;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 8px;
}

.hero-secondary span {
  font-size: 12px;
}

.hero-secondary:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 6px;
}

.discovery-panel {
  margin: 0 3vw 42px;
  scroll-margin-top: 120px;
}

.discovery-intro {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: 7vw;
  padding: 48px 0 38px;
  border-top: 1px solid var(--stone);
}

.discovery-intro h3 {
  margin: 10px 0 0;
  letter-spacing: -0.045em;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.92;
}

.discovery-intro h3 em {
  margin-left: 0.55em;
  font-weight: 400;
}

.discovery-intro > p {
  max-width: 430px;
  margin: 0 0 6px;
  color: #5f574f;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
}

.mood-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--stone);
  border-left: 1px solid var(--stone);
}

.mood-tile {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  min-height: 165px;
  padding: 24px 22px;
  border-right: 1px solid var(--stone);
  border-bottom: 1px solid var(--stone);
  background: #f8f5ef;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.mood-tile:hover {
  background: #eee7dc;
}

.mood-tile.active {
  background: var(--ink);
  color: #fff;
}

.mood-tile:focus-visible {
  position: relative;
  z-index: 2;
  outline: 2px solid #9b7b4d;
  outline-offset: -5px;
}

.mood-tile > span {
  color: #a3855b;
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
}

.mood-tile small {
  display: block;
  margin-bottom: 18px;
  color: #81776e;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 7px;
}

.mood-tile.active small {
  color: #aaa29a;
}

.mood-tile strong {
  display: block;
  max-width: 260px;
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 400;
  line-height: 0.98;
}

.mood-tile p {
  margin: 12px 0 0;
  color: #6e655d;
  font-family: var(--serif);
  font-size: 12px;
  line-height: 1.35;
}

.mood-tile.active p {
  color: #bcb5ae;
}

.fragrance-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 0 3vw 24px;
}

.gender-filter-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.gender-filter-wrap > span,
.result-summary p {
  color: #766d64;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 7px;
}

.gender-filter-wrap .filters {
  margin: 0;
}

.result-summary {
  display: flex;
  align-items: center;
  gap: 16px;
}

.result-summary p {
  margin: 0;
}

.result-summary button {
  padding: 0 0 5px;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 7px;
}

.result-summary button[hidden] {
  display: none;
}

.product-identity {
  min-height: 26px;
  margin: 0 0 10px;
  color: #7c5f3d;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 8px;
  font-weight: 600;
  line-height: 1.35;
}

.product-identity span {
  display: block;
  margin-bottom: 4px;
  color: #7d756d;
  letter-spacing: 0.18em;
  font-size: 6px;
  font-weight: 400;
}

.identity-line {
  min-height: 43px;
  margin: 12px 0 18px;
  color: #3f3832;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.35;
}

.fragrance-empty {
  grid-column: 1 / -1;
  min-height: 360px;
  place-content: center;
  justify-items: center;
  padding: 50px;
  text-align: center;
}

.fragrance-empty h3 {
  margin: 10px 0 28px;
  font-size: 46px;
}

.product-detail-identity {
  margin: 24px 0 9px;
  color: #866a43;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 9px;
  font-weight: 600;
}

.product-detail-tagline {
  max-width: 650px;
  margin: 28px 0 0;
  color: #2f2924;
  font-family: var(--serif);
  font-size: 25px;
  font-style: italic;
  line-height: 1.25;
}

.product-detail-tagline + .product-detail-description {
  margin-top: 22px;
}

.product-occasions {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  margin-top: 18px;
  padding: 20px;
  border: 1px solid #c9c2b7;
}

.product-occasions > span {
  padding-top: 8px;
  color: #80766c;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 8px;
}

.product-occasions > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.product-occasions i {
  padding: 8px 11px;
  border: 1px solid #bdb4a9;
  border-radius: 30px;
  color: #4c443c;
  font-size: 9px;
  font-style: normal;
}

@media (max-width: 900px) {
  .mood-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fragrance-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .hero-secondary {
    margin-top: 16px;
    color: #fff;
  }

  .fragrances-section .section-heading {
    margin-bottom: 40px;
  }

  .discovery-panel {
    margin: 0 0 32px;
    scroll-margin-top: 90px;
  }

  .discovery-intro {
    display: block;
    padding: 35px 8px 28px;
  }

  .discovery-intro h3 {
    font-size: clamp(40px, 12vw, 54px);
  }

  .discovery-intro h3 em {
    margin-left: 0.18em;
  }

  .discovery-intro > p {
    margin-top: 24px;
    font-size: 15px;
  }

  .mood-tile {
    grid-template-columns: 22px 1fr;
    gap: 5px;
    min-height: 134px;
    padding: 15px 11px;
  }

  .mood-tile > span {
    font-size: 10px;
  }

  .mood-tile small {
    margin-bottom: 12px;
    letter-spacing: 0.11em;
    font-size: 5px;
  }

  .mood-tile strong {
    font-size: clamp(19px, 5.9vw, 25px);
  }

  .mood-tile p {
    margin-top: 9px;
    font-size: 10px;
  }

  .fragrance-toolbar {
    gap: 18px;
    margin: 0 4px 18px;
  }

  .gender-filter-wrap {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .gender-filter-wrap .filters {
    width: 100%;
  }

  .gender-filter-wrap .filters button {
    flex: 1;
    min-height: 40px;
    padding: 9px 8px;
  }

  .result-summary {
    width: 100%;
    justify-content: space-between;
  }

  .product-identity {
    min-height: 35px;
    margin-bottom: 8px;
    letter-spacing: 0.09em;
    font-size: 6px;
  }

  .product-identity span {
    margin-bottom: 3px;
    font-size: 5px;
  }

  .identity-line {
    min-height: 46px;
    margin: 9px 0 14px;
    font-size: 10px;
    line-height: 1.3;
  }

  .product-detail-identity {
    margin-top: 20px;
    font-size: 8px;
  }

  .product-detail-tagline {
    margin-top: 22px;
    font-size: 20px;
  }

  .product-occasions {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px;
  }

  .product-occasions > span {
    padding-top: 0;
  }

  .product-occasions i {
    padding: 7px 9px;
    font-size: 8px;
  }
}

@media (max-width: 360px) {
  .mood-tile {
    min-height: 128px;
    padding-right: 8px;
    padding-left: 8px;
  }

  .mood-tile strong {
    font-size: 18px;
  }

  .mood-tile p {
    font-size: 9px;
  }
}

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