#pheromone-selector {
  --ph-bg: #f6f7f8;
  --ph-surface: #ffffff;
  --ph-ink: #17181b;
  --ph-muted: #666b73;
  --ph-line: #dadddf;
  --ph-accent: #b72d3d;
  --ph-accent-dark: #8f1f2d;
  --ph-teal: #0d6f68;
  --ph-teal-soft: #e6f3f1;
  --ph-rose-soft: #f8e8eb;
  --ph-amber-soft: #f7efd8;
  --ph-shadow: 0 16px 40px rgba(22, 24, 27, .08);
  --ph-radius: 8px;
  background: var(--ph-bg);
  color: var(--ph-ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  padding: 42px 20px;
  container-type: inline-size;
}

#pheromone-selector * {
  box-sizing: border-box;
}

#pheromone-selector img {
  display: block;
  max-width: 100%;
}

#pheromone-selector [hidden] {
  display: none !important;
}

#pheromone-selector .ph-guide__inner {
  max-width: 1180px;
  margin: 0 auto;
}

#pheromone-selector .ph-guide__eyebrow {
  margin: 0 0 10px;
  color: var(--ph-teal);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

#pheromone-selector .ph-guide__title {
  max-width: 820px;
  margin: 0 0 12px;
  color: var(--ph-ink);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}

#pheromone-selector .ph-guide__lead {
  max-width: 760px;
  margin: 0 0 26px;
  color: var(--ph-muted);
  font-size: 18px;
}

#pheromone-selector .ph-guide__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

#pheromone-selector .ph-panel,
#pheromone-selector .ph-recommendation,
#pheromone-selector .ph-popular,
#pheromone-selector .ph-trust,
#pheromone-selector .ph-faq {
  border: 1px solid var(--ph-line);
  border-radius: var(--ph-radius);
  background: var(--ph-surface);
  box-shadow: var(--ph-shadow);
}

#pheromone-selector .ph-panel {
  padding: 22px;
}

#pheromone-selector .ph-step {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--ph-line);
}

#pheromone-selector .ph-step--first {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

#pheromone-selector .ph-step__header {
  margin-bottom: 14px;
}

#pheromone-selector .ph-step h2,
#pheromone-selector .ph-guide__education h2,
#pheromone-selector .ph-popular h2,
#pheromone-selector .ph-faq h2,
#pheromone-selector .ph-recommendation__title {
  margin: 0 0 10px;
  color: var(--ph-ink);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: 0;
}

#pheromone-selector .ph-step__header p,
#pheromone-selector .ph-guide__education p,
#pheromone-selector .ph-recommendation p,
#pheromone-selector .ph-popular p,
#pheromone-selector .ph-faq p {
  margin: 0;
  color: var(--ph-muted);
}

#pheromone-selector .ph-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

#pheromone-selector .ph-choice-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#pheromone-selector .ph-choice {
  width: 100%;
  min-height: 132px;
  padding: 16px;
  border: 1px solid var(--ph-line);
  border-radius: var(--ph-radius);
  background: #fff;
  color: var(--ph-ink);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  font: inherit;
  text-align: left;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

#pheromone-selector .ph-choice:hover,
#pheromone-selector .ph-choice:focus-visible {
  border-color: var(--ph-teal);
  box-shadow: 0 10px 26px rgba(13, 111, 104, .12);
  outline: none;
  transform: translateY(-1px);
}

#pheromone-selector .ph-choice[aria-pressed="true"] {
  border-color: var(--ph-teal);
  background: var(--ph-teal-soft);
  box-shadow: 0 0 0 2px rgba(13, 111, 104, .18);
}

#pheromone-selector .ph-choice__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-weight: 800;
}

#pheromone-selector .ph-choice__title span:last-child {
  color: var(--ph-teal);
  font-size: 18px;
}

#pheromone-selector .ph-choice__copy {
  color: var(--ph-muted);
  font-size: 14px;
}

#pheromone-selector .ph-guide__education {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #ead8a5;
  border-radius: var(--ph-radius);
  background: var(--ph-amber-soft);
}

#pheromone-selector .ph-guide__education h2 {
  font-size: 22px;
}

#pheromone-selector .ph-guide__education p {
  color: #5e563e;
}

#pheromone-selector .ph-recommendation {
  position: static;
  overflow: hidden;
}

#pheromone-selector .ph-recommendation__header {
  padding: 18px 18px 0;
}

#pheromone-selector .ph-recommendation__title {
  margin-top: 12px;
  font-size: 23px;
}

#pheromone-selector .ph-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--ph-rose-soft);
  color: var(--ph-accent-dark);
  font-size: 13px;
  font-weight: 700;
}

#pheromone-selector .ph-product-media {
  min-height: 260px;
  margin: 16px 18px 0;
  border: 1px solid var(--ph-line);
  border-radius: var(--ph-radius);
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
}

#pheromone-selector .ph-product-media--empty {
  padding: 24px;
  background: #f8f9fb;
  text-align: center;
}

#pheromone-selector .ph-product-media--empty p {
  color: var(--ph-muted);
}

#pheromone-selector .ph-product-media img {
  width: 100%;
  height: 260px;
  padding: 18px;
  object-fit: contain;
}

#pheromone-selector .ph-product-media--combo {
  grid-template-columns: 1fr 1fr;
}

#pheromone-selector .ph-product-media--combo img {
  border-right: 1px solid var(--ph-line);
}

#pheromone-selector .ph-product-media--combo img:last-child {
  border-right: 0;
}

#pheromone-selector .ph-recommendation__body {
  padding: 18px;
}

#pheromone-selector .ph-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#pheromone-selector .ph-button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--ph-line);
  border-radius: var(--ph-radius);
  background: #fff;
  color: var(--ph-ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  text-align: center;
  text-decoration: none;
}

#pheromone-selector .ph-button--primary {
  border-color: var(--ph-accent);
  background: var(--ph-accent);
  color: #fff;
  font-weight: 800;
}

#pheromone-selector .ph-button--primary:hover,
#pheromone-selector .ph-button--primary:focus-visible {
  border-color: var(--ph-accent-dark);
  background: var(--ph-accent-dark);
  outline: none;
}

#pheromone-selector .ph-button--secondary:hover,
#pheromone-selector .ph-button--secondary:focus-visible {
  border-color: var(--ph-teal);
  outline: none;
}

#pheromone-selector .ph-button[aria-disabled="true"] {
  opacity: .52;
  pointer-events: none;
}

#pheromone-selector .ph-popular,
#pheromone-selector .ph-trust,
#pheromone-selector .ph-faq {
  margin-top: 18px;
  padding: 22px;
  box-shadow: none;
}

#pheromone-selector .ph-popular__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

#pheromone-selector .ph-popular-card {
  border: 1px solid var(--ph-line);
  border-radius: var(--ph-radius);
  background: #fff;
  display: grid;
  grid-template-rows: 160px auto;
  overflow: hidden;
}

#pheromone-selector .ph-popular-card img {
  width: 100%;
  height: 160px;
  padding: 12px;
  background: #f8f9fb;
  object-fit: contain;
}

#pheromone-selector .ph-popular-card__body {
  padding: 14px;
}

#pheromone-selector .ph-popular-card h3 {
  margin: 0 0 8px;
  color: var(--ph-ink);
  font-size: 19px;
  line-height: 1.2;
}

#pheromone-selector .ph-popular-card p {
  margin: 0 0 12px;
  color: var(--ph-muted);
  font-size: 14px;
}

#pheromone-selector .ph-link-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ph-accent-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-align: left;
}

#pheromone-selector .ph-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

#pheromone-selector .ph-trust__item {
  padding: 14px;
  border-left: 4px solid var(--ph-teal);
  border-radius: var(--ph-radius);
  background: #f8faf9;
  color: var(--ph-ink);
  font-weight: 700;
}

#pheromone-selector .ph-faq details {
  padding: 15px 0;
  border-top: 1px solid var(--ph-line);
}

#pheromone-selector .ph-faq details:first-of-type {
  border-top: 0;
}

#pheromone-selector .ph-faq summary {
  cursor: pointer;
  color: var(--ph-ink);
  font-weight: 800;
}

#pheromone-selector .ph-faq p {
  max-width: 780px;
  margin: 10px 0 0;
}

@media (max-width: 980px) {
  #pheromone-selector .ph-product-media,
  #pheromone-selector .ph-product-media img {
    min-height: 220px;
    height: 220px;
  }
}

@container (min-width: 1000px) {
  #pheromone-selector .ph-guide__layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, .75fr);
  }

  #pheromone-selector .ph-recommendation {
    position: sticky;
    top: 72px;
  }
}

@media (max-width: 760px) {
  #pheromone-selector {
    padding: 28px 14px;
  }

  #pheromone-selector .ph-choice-grid,
  #pheromone-selector .ph-choice-grid--two,
  #pheromone-selector .ph-popular__grid,
  #pheromone-selector .ph-trust__grid {
    grid-template-columns: 1fr;
  }

  #pheromone-selector .ph-panel,
  #pheromone-selector .ph-popular,
  #pheromone-selector .ph-trust,
  #pheromone-selector .ph-faq {
    padding: 16px;
  }

  #pheromone-selector .ph-button-row,
  #pheromone-selector .ph-button {
    width: 100%;
  }

  #pheromone-selector .ph-product-media--combo {
    grid-template-columns: 1fr;
  }

  #pheromone-selector .ph-product-media--combo img {
    border-right: 0;
    border-bottom: 1px solid var(--ph-line);
  }

  #pheromone-selector .ph-product-media--combo img:last-child {
    border-bottom: 0;
  }
}
