.cc_fSfPJ4rhnD_bIVwDsmTiH .rp-grid-section {
  width: 100%;
  font-family: var(--rp-font);
}

/* "→ Get the Look" style label above the strip */
.cc_fSfPJ4rhnD_bIVwDsmTiH .rp-grid__heading {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-block: 16px;
}

.cc_fSfPJ4rhnD_bIVwDsmTiH .rp-grid__heading-icon {
  width: 16px;
  height: 16px;
}

.cc_fSfPJ4rhnD_bIVwDsmTiH .rp-grid__heading-text {
  font-size: var(--rp-text-sm);
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0.02em;
}

/* Mobile shows two columns, matching the reference's 2-up category grid */
.cc_fSfPJ4rhnD_bIVwDsmTiH .rp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--rp-gap);
  width: 100%;
}

/* Odd card counts can't fill a two-up grid, so on phones they become a
   swipeable row instead of leaving a hole. Two cards plus a sliver of the
   next signals that it scrolls — same ratio the product rails use. */
.cc_fSfPJ4rhnD_bIVwDsmTiH .rp-grid--scroll {
  display: flex;
  overflow-x: auto;
  /* Explicit, because a non-visible overflow-x forces overflow-y to
     compute as auto — which makes this a vertical scroll container too and
     Chrome latches the wheel to it, freezing the page scroll under the
     cursor. */
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
}

.cc_fSfPJ4rhnD_bIVwDsmTiH .rp-grid--scroll::-webkit-scrollbar {
  display: none;
}

.cc_fSfPJ4rhnD_bIVwDsmTiH .rp-grid--scroll .rp-grid__card {
  flex: 0 0 calc(100% / 2.09);
  scroll-snap-align: start;
}

/* Photo runs the full height of the tile — caption rides on top of it,
 * not in a panel underneath, matching the "Get the Look" reference.
 */
.cc_fSfPJ4rhnD_bIVwDsmTiH .rp-grid__card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  color: inherit;
  text-decoration: none;
}

.cc_fSfPJ4rhnD_bIVwDsmTiH .rp-grid__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.cc_fSfPJ4rhnD_bIVwDsmTiH .rp-grid__card:hover .rp-grid__img {
  transform: scale(1.03);
}

.cc_fSfPJ4rhnD_bIVwDsmTiH .rp-grid__scrim {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 12px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.08) 25%,
    rgba(0, 0, 0, 0) 45%
  );
}

/* Outlined pill around the caption, matching the reference category strip */
.cc_fSfPJ4rhnD_bIVwDsmTiH .rp-grid__title {
  display: inline-block;
  max-width: 100%;
  padding: 6px 16px;
  border: 1px solid var(--rp-white);
  border-radius: 999px;
  font-size: var(--rp-text-sm);
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0.01em;
  color: var(--rp-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.cc_fSfPJ4rhnD_bIVwDsmTiH .rp-grid__card:hover .rp-grid__title {
  background-color: var(--rp-white);
  color: var(--rp-black);
}

@media (min-width: 768px) {
  .cc_fSfPJ4rhnD_bIVwDsmTiH .rp-grid {
    grid-template-columns: repeat(var(--rp-cols, 4), 1fr);
  }

  /* Wide enough for every card to sit in one row — back to the plain grid. */
  .cc_fSfPJ4rhnD_bIVwDsmTiH .rp-grid--scroll {
    display: grid;
    overflow-x: visible;
  }

  .cc_fSfPJ4rhnD_bIVwDsmTiH .rp-grid__scrim {
    padding: 20px;
  }

  .cc_fSfPJ4rhnD_bIVwDsmTiH .rp-grid__title {
    padding: 8px 20px;
  }
}
