.cc_99htTM51oX_hvnFwCDnEL .category-circles {
  width: 100%;
}

.cc_99htTM51oX_hvnFwCDnEL .category-circles__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--space-lg) clamp(16px, 5vw, 80px);
}

.cc_99htTM51oX_hvnFwCDnEL .category-circles__title {
  margin: 0 0 var(--space-sm);
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text-primary);
}

.cc_99htTM51oX_hvnFwCDnEL .category-circles__viewport {
  position: relative;
}

.cc_99htTM51oX_hvnFwCDnEL .category-circles__row {
  display: flex;
  justify-content: center;
  justify-content: safe center;
  gap: var(--space-sm);
  /* vertical room so the hover scale isn't clipped by overflow-x's vertical clip */
  padding-block: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.cc_99htTM51oX_hvnFwCDnEL .category-circles__row::-webkit-scrollbar {
  display: none;
}

/* Scroll arrows — shown on mobile / small tablets, hidden on desktop.
   `top` lines the button up with the vertical centre of the circle:
   row padding-top (0.75rem) + half the circle height. */
.cc_99htTM51oX_hvnFwCDnEL .category-circles__arrow {
  position: absolute;
  top: 3.75rem;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.125rem;
  height: 2.125rem;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background-color: var(--color-surface);
  color: var(--lava-teal);
  box-shadow: 0 2px 8px rgba(12, 45, 46, 0.18);
  cursor: pointer;
  z-index: 2;
}

.cc_99htTM51oX_hvnFwCDnEL .category-circles__arrow--prev {
  left: -0.25rem;
}

.cc_99htTM51oX_hvnFwCDnEL .category-circles__arrow--next {
  right: -0.25rem;
}

.cc_99htTM51oX_hvnFwCDnEL .category-circles__arrow[aria-hidden="true"] {
  opacity: 0;
  pointer-events: none;
}

.cc_99htTM51oX_hvnFwCDnEL .category-circles__arrow:focus-visible {
  outline: 2px solid var(--lava-gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: no-preference) {
  .cc_99htTM51oX_hvnFwCDnEL .category-circles__arrow {
    transition: background-color 160ms ease, border-color 160ms ease,
      color 160ms ease, opacity 160ms ease;
  }
}

.cc_99htTM51oX_hvnFwCDnEL .category-circles__arrow:hover {
  background-color: var(--lava-teal);
  border-color: var(--lava-teal);
  color: var(--lava-gold);
}

.cc_99htTM51oX_hvnFwCDnEL .category-circles__description {
  margin: var(--space-sm) 0 0;
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.5;
  color: var(--color-text-secondary);
}

@media (min-width: 640px) {
  /* circle grows to 108px here → re-centre the arrow on it */
  .cc_99htTM51oX_hvnFwCDnEL .category-circles__arrow {
    top: 4.125rem;
  }
}

@media (min-width: 1024px) {
  .cc_99htTM51oX_hvnFwCDnEL .category-circles__container {
    padding: var(--space-lg) clamp(16px, 5vw, 80px);
  }

  .cc_99htTM51oX_hvnFwCDnEL .category-circles__row {
    gap: var(--space-md);
  }

  /* desktop centres the row and it fits — arrows are a mobile affordance */
  .cc_99htTM51oX_hvnFwCDnEL .category-circles__arrow {
    display: none;
  }
}
