/* §3 "Real Skin, Real Transformations" — Figma 1201:6306 (desktop) / 1214:2104 (mobile).
   Three-up on desktop, one-up swipe on mobile. */

.rt-section .rd-h2 {
  margin-bottom: 30px;
}
/* Eleven cards now, so desktop is a scroll rail too rather than a fixed 3-up grid. */
.rt-track {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--rd-gutter);
  margin-inline: calc(var(--rd-gutter) * -1);
  padding-inline: var(--rd-gutter);
  scrollbar-width: none;
}
.rt-track::-webkit-scrollbar {
  display: none;
}
.rt-card {
  flex: 0 0 calc((100% - 30px) / 3);
  scroll-snap-align: start;
}
.rt-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rd-hairline);
  border-radius: var(--rd-radius-card);
  background: #fff;
  overflow: hidden;
}
/* The shop page's imagery is 3:2 with "Before" / "After N treatments" in the top
   corners; the old 760:606 box cropped the sides and would cut those labels. */
.rt-card__media {
  position: relative;
  aspect-ratio: 3 / 2;
}
.rt-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rt-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
}
.rt-card__body .rd-chip {
  font-size: 15px;
  padding: 5px 12px;
}
.rt-card__quote {
  margin: 0;
  font-family: var(--base-font-family), system-ui, sans-serif;
  font-size: var(--rd-fs-body);
  line-height: 1.4;
  color: var(--rd-body);
}
.rt-card__author {
  margin: 0;
  font-size: var(--rd-fs-label);
  color: var(--rd-muted);
}

.rt-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
}
.rt-arrows {
  display: flex;
  gap: 12px;
}

@media (max-width: 1023px) {
  .rt-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--rd-gutter);
    margin-inline: calc(var(--rd-gutter) * -1);
    padding-inline: var(--rd-gutter);
    scrollbar-width: none;
  }
  .rt-track::-webkit-scrollbar {
    display: none;
  }
  /* one full-width card per screen. 86% showed a sliver of the next one, which is not
     what the frame does — Osh's card spans the full 328px container at 360. */
  .rt-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
  }
  .rt-section .rd-h2 {
    margin-bottom: 26px;
  }
}
