/* Section + inner spacing mirror .multi-tab-product-slider(-inner) so the
   heading's top gap, the left edge and the bottom gap match the product
   sliders exactly. Background = the site's warm ecru. */
.cc_xcxanevt_VMCSwD1CyW .reviews-slider {
  width: 100%;
  background: #FAF8F5;
  padding-top: var(--space-md);
  padding-bottom: calc(var(--space-lg) * 0.7);
}

@media (min-width: 1024px) {
  .cc_xcxanevt_VMCSwD1CyW .reviews-slider {
    padding-bottom: calc(var(--space-xl) * 0.7);
  }
}

.cc_xcxanevt_VMCSwD1CyW .reviews-slider-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 80px);
}

@media (min-width: 1024px) {
  .cc_xcxanevt_VMCSwD1CyW .reviews-slider-inner {
    max-width: none;
    padding: 0 clamp(24px, 3vw, 56px);
  }
}

/* ── Lean card carousel ──────────────────────────────────────────
   Viewport clips a flex track of equal-width slides (4 visible on desktop, 1 on
   mobile — the width of each slide is set inline from the visible count). The
   track slides one card per step; clones at both ends make the loop endless. */
/* Heading mirrors .mtps-title in MultiTabProductSliderFinalV2 exactly (font,
   size, weight, tracking, colour, margins) so it reads as the same system. */
.cc_xcxanevt_VMCSwD1CyW .reviews-slider-heading {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.2;
  color: var(--color-text-primary);
  margin: 0;
  text-wrap: balance;
}

.cc_xcxanevt_VMCSwD1CyW .reviews-slider-heading-gap {
  display: block;
  flex: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

.cc_xcxanevt_VMCSwD1CyW .reviews-slider-stage {
  position: relative;
}

.cc_xcxanevt_VMCSwD1CyW .reviews-slider-viewport {
  overflow: hidden;
}

.cc_xcxanevt_VMCSwD1CyW .reviews-slider-track {
  display: flex;
  align-items: stretch; /* every slide (and its card) = height of the tallest */
  margin: 0 -6px;
  will-change: transform;
}

.cc_xcxanevt_VMCSwD1CyW .reviews-slider-slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: 0 6px;
  display: flex;
}

/* One soft box per review. Stars / name are fixed rows at the same offsets in
   every card; the text takes the remaining space, so all cards in the row share
   one height (driven by the longest text) and their content lines up. */
.cc_xcxanevt_VMCSwD1CyW .reviews-slider-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 0.875rem;
  /* Very light blue tint of the brand navy (#000075) over the ecru section
     background, with a faint navy hairline — separation without a white box. */
  background: rgba(0, 0, 117, 0.05);
  border: 1px solid rgba(0, 0, 117, 0.2);
  border-radius: 14px;
  text-align: left;
}

.cc_xcxanevt_VMCSwD1CyW .reviews-slider-stars {
  height: 1rem;
  color: #f5b301;
  font-size: 0.95rem;
  letter-spacing: 2px;
  line-height: 1;
}

.cc_xcxanevt_VMCSwD1CyW .reviews-slider-name {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 1.4rem;
  color: var(--color-accent);
  font-size: 0.875rem;
  line-height: 1.4;
}

.cc_xcxanevt_VMCSwD1CyW .reviews-slider-name-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc_xcxanevt_VMCSwD1CyW .reviews-slider-check {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: var(--verified-badge-bg, #e9f4ec);
  color: var(--verified-badge-icon, #2e8b57);
  font-size: 0.55rem;
  font-weight: 700;
}

.cc_xcxanevt_VMCSwD1CyW .reviews-slider-text {
  flex: 1;
  margin: 0;
  color: var(--color-tertiary);
  font-size: 0.8125rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

@media (min-width: 768px) {
  .cc_xcxanevt_VMCSwD1CyW .reviews-slider-track {
    margin: 0 -8px;
  }
  .cc_xcxanevt_VMCSwD1CyW .reviews-slider-slide {
    flex-basis: 25%;
    padding: 0 8px;
  }
  .cc_xcxanevt_VMCSwD1CyW .reviews-slider-card {
    padding: 1.25rem 1.125rem;
    gap: 0.625rem;
  }
  .cc_xcxanevt_VMCSwD1CyW .reviews-slider-name {
    font-size: 0.9375rem;
  }
  .cc_xcxanevt_VMCSwD1CyW .reviews-slider-text {
    font-size: 0.9375rem;
  }
}

/* Minimal arrows — desktop only; mobile uses swipe + autoplay. */
.cc_xcxanevt_VMCSwD1CyW .reviews-slider-arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #FAF8F5;
  border: 1px solid rgba(0, 0, 117, 0.2);
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--color-accent);
  cursor: pointer;
  transition: color 200ms ease;
}

@media (min-width: 768px) {
  .cc_xcxanevt_VMCSwD1CyW .reviews-slider-arrow {
    display: inline-flex;
  }
}

.cc_xcxanevt_VMCSwD1CyW .reviews-slider-arrow--prev {
  left: -1rem;
}

.cc_xcxanevt_VMCSwD1CyW .reviews-slider-arrow--next {
  right: -1rem;
}

.cc_xcxanevt_VMCSwD1CyW .reviews-slider-arrow:hover {
  color: var(--color-secondary);
}

.cc_xcxanevt_VMCSwD1CyW .reviews-slider-arrow:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .cc_xcxanevt_VMCSwD1CyW .reviews-slider-arrow {
    transition: none;
  }
}
