/* ==========================================================================
   FEATURED RESEARCH COMPOUNDS
   Section layout only — card visuals come from the approved
   .product-card component in css/cards.css.
   ========================================================================== */

.featured {
  background: var(--color-white);
  padding-block: var(--space-24);
}

.featured__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-12);
  gap: var(--space-6);
}

.featured__heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 40px;
  line-height: 44px;
  letter-spacing: -0.01em;
  color: var(--color-obsidian);
  margin-top: 12px;
}

.featured__row {
  display: flex;
  gap: var(--space-6);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--space-2);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.featured__row::-webkit-scrollbar {
  display: none;
}

.featured__row > .product-card {
  scroll-snap-align: start;
  flex-shrink: 0;
}

.featured__dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: var(--space-5);
}

.featured__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-graphite-border-light-strong);
  border: none;
  padding: 0;
  transition: width var(--dur-base) var(--ease-out), background-color var(--dur-base) var(--ease-out);
}

.featured__dot.is-active {
  width: 8px;
  height: 8px;
  background: var(--color-royal-violet);
}

@media (max-width: 767px) {
  .featured {
    padding-block: var(--space-16);
  }

  .featured__header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
    margin-bottom: var(--space-8);
  }

  .featured__heading {
    font-size: 32px;
    line-height: 36px;
  }

  .featured__row > .product-card {
    width: calc(100vw - 2 * var(--container-margin-mobile) - 32px);
  }

  .featured__dots {
    display: flex;
  }
}
