/* Vertical spacing comes from the "Dikey Boşluk" prop as an inline style
 * (equal top/bottom, editable per section) — this only sets the rest.
 */
.cc_fSfPJ4rhnD_H2lKDQs1T0 .rp-rail {
  width: 100%;
  font-family: var(--rp-font);
}

.cc_fSfPJ4rhnD_H2lKDQs1T0 .rp-rail__inner {
  width: 100%;
}

/* "→ Complete the look" style label above the strip, same pattern as
   RepresentCollectionGrid's heading. */
.cc_fSfPJ4rhnD_H2lKDQs1T0 .rp-rail__heading {
  display: flex;
  align-items: center;
  gap: 8px;
  /* Equal 16/16 box padding still reads top-heavy with bold uppercase type —
     its cap-height sits inside the line box with more empty room above the
     glyphs than below the baseline. Trimming the top compensates. */
  padding-block: 12px 16px;
}

.cc_fSfPJ4rhnD_H2lKDQs1T0 .rp-rail__heading-icon {
  width: 16px;
  height: 16px;
}

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

/* Sliding underline that tracks horizontal scroll position, replacing
   prev/next arrow buttons. */
.cc_fSfPJ4rhnD_H2lKDQs1T0 .rp-rail__scrollbar {
  padding-block: 12px 4px;
}

.cc_fSfPJ4rhnD_H2lKDQs1T0 .rp-rail__scrollbar-track {
  position: relative;
  height: 1px;
  background: var(--rp-line);
}

.cc_fSfPJ4rhnD_H2lKDQs1T0 .rp-rail__scrollbar-thumb {
  position: absolute;
  top: 0;
  height: 1px;
  background: var(--rp-ink);
  transition: left 100ms linear;
}

/* Horizontal, snap-scrolling track — the reference site's product strip */
.cc_fSfPJ4rhnD_H2lKDQs1T0 .rp-rail__track {
  display: flex;
  gap: var(--rp-rail-gap);
  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 mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-padding-left: 0;
}

.cc_fSfPJ4rhnD_H2lKDQs1T0 .rp-rail__track::-webkit-scrollbar {
  display: none;
}

.cc_fSfPJ4rhnD_H2lKDQs1T0 .rp-rail__item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  /* Mobile: two cards plus a sliver, edge to edge like the reference strip */
  width: calc(100% / 2.09);
}

.cc_fSfPJ4rhnD_H2lKDQs1T0 .rp-rail__empty {
  margin: 0;
  padding-block: 32px;
  font-size: var(--rp-text-sm);
  color: var(--rp-muted);
}

@media (min-width: 768px) {
  .cc_fSfPJ4rhnD_H2lKDQs1T0 .rp-rail__item {
    width: calc((100% - 2 * var(--rp-rail-gap)) / 3);
  }
}

@media (min-width: 1024px) {
  .cc_fSfPJ4rhnD_H2lKDQs1T0 .rp-rail__item {
    width: calc(
      (100% - (var(--rp-per-view, 5) - 1) * var(--rp-rail-gap)) /
        var(--rp-per-view, 5)
    );
  }
}

/* The strip itself stays full-bleed; only the head row is inset */
.cc_fSfPJ4rhnD_H2lKDQs1T0 .rp-rail__track {
  padding-inline: 0;
}
