/* Skipped (covered by shared chunk CSS): ../../sub-components/Icon/styles.css */
/* Skipped (covered by shared chunk CSS): ../../sub-components/Button/styles.css */
/* Skipped (covered by shared chunk CSS): ../../sub-components/SectionHeader/styles.css */
/* Skipped (covered by shared chunk CSS): ../../sub-components/Media/styles.css */
/* Skipped (covered by shared chunk CSS): ../../sub-components/Badge/styles.css */
/* Skipped (covered by shared chunk CSS): ../../sub-components/Price/styles.css */
/* Skipped (covered by shared chunk CSS): ../../sub-components/Swatch/styles.css */
/* Skipped (covered by shared chunk CSS): ../../sub-components/ProductCard/styles.css */
/* Skipped (covered by shared chunk CSS): ../../sub-components/ScrollIndicator/styles.css */
/* Skipped (covered by shared chunk CSS): ../../sub-components/Slider/styles.css */

/*
 * PDP §3.3 #7 RecommendedProducts
 * Section header (h1 title + link with arrow), then a product card slider:
 * 1.1 visible (<720) / 2.3 (>=720) / desktopColumns + 0.3 (>=1024) inside the content box.
 * The track runs into the right gutter so the next card peeks past the content box
 * (~393px cards, ~3.3 visible to the viewport edge at 1440, matching pdp-desktop-09);
 * the 2px scroll indicator stays inside the content width.
 * Gap comes from --rp-gap (inline on the section: 2/3-col or 4-col grid gap).
 */

.cc_ha5dwmyj_swtanwfhQL .rp {
  --rp-gap: var(--grid-col-gap);
}

.cc_ha5dwmyj_swtanwfhQL .rp-header {
  margin-bottom: var(--gap-section-header);
}

/* ---------- Slider bleeding into the right gutter ---------- */

.cc_ha5dwmyj_swtanwfhQL .rp-slider {
  margin-right: calc(-1 * var(--gutter));
}

.cc_ha5dwmyj_swtanwfhQL .rp-slider .slider-track {
  padding-right: var(--gutter);
  scroll-padding-right: var(--gutter);
}

.cc_ha5dwmyj_swtanwfhQL .rp-slider .slider-item {
  display: flex;
  flex-direction: column;
}

.cc_ha5dwmyj_swtanwfhQL .rp-slider .slider-item > * {
  flex: 1 1 auto;
}

.cc_ha5dwmyj_swtanwfhQL .rp-slider .slider-indicator {
  width: auto;
  margin-right: var(--gutter);
}

/* The overlaid next arrow stays inside the visible content box, not over the bleed. */
.cc_ha5dwmyj_swtanwfhQL .rp-slider .slider-arrow--next {
  right: calc(var(--gutter) + 16px);
}

@media (min-width: 720px) {
  .cc_ha5dwmyj_swtanwfhQL .rp-slider .slider-indicator {
    margin-top: 28px;
  }
}

@media (min-width: 1024px) {
  .cc_ha5dwmyj_swtanwfhQL .rp-slider .slider-indicator {
    margin-top: 32px;
  }
}

/* ---------- Editor placeholders (empty product list) ---------- */

.cc_ha5dwmyj_swtanwfhQL .rp-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.cc_ha5dwmyj_swtanwfhQL .rp-placeholder__media {
  width: 100%;
  margin-bottom: 20px;
  border-radius: var(--radius-image);
  background-color: var(--c-text-05);
  animation: cc_ha5dwmyj_swtanwfhQL_rp-pulse 1600ms var(--ease-out-quart) infinite alternate;
}

.cc_ha5dwmyj_swtanwfhQL .rp-placeholder__line {
  display: block;
  height: 14px;
  border-radius: var(--radius-pill);
  background-color: var(--c-text-10);
}

.cc_ha5dwmyj_swtanwfhQL .rp-placeholder__line--title {
  width: 60%;
  margin-bottom: 10px;
}

.cc_ha5dwmyj_swtanwfhQL .rp-placeholder__line--price {
  width: 30%;
}

@keyframes cc_ha5dwmyj_swtanwfhQL_rp-pulse {
  from {
    opacity: 1;
  }

  to {
    opacity: 0.6;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc_ha5dwmyj_swtanwfhQL .rp-placeholder__media {
    animation: none;
  }
}
