/* Meer Testimonials Slider v2 */

*, *::before, *::after { box-sizing: border-box; }

/* ── Section ─────────────────────────────────────────────────────────── */
.meer-test-section {
  padding: 60px 0;
  overflow: hidden;   /* clips the slider so it never causes page scroll */
}

/* ── Scroll container ─────────────────────────────────────────────────
   JS always sets an explicit width:
     desktop  → viewportWidth − outerLeft  (bleed to right edge)
     ≤1024px  → '100%'  (stays inside the Elementor container)
─────────────────────────────────────────────────────────────────────── */
.meer-test-outer {
  width: 100%;                       /* safe default before JS runs    */
  overflow-x: scroll;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.meer-test-outer::-webkit-scrollbar { display: none; }
.meer-test-outer.is-dragging        { cursor: grabbing; }

/* ── Track ────────────────────────────────────────────────────────────
   flex-wrap: nowrap is the single most important rule —
   it forces all cards into one horizontal row.
─────────────────────────────────────────────────────────────────────── */
.meer-test-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
  gap: 20px;
  width: max-content;
  padding-right: 40px;
}

/* ── Card ─────────────────────────────────────────────────────────── */
.meer-test-card {
  flex-shrink: 0 !important;
  width: 340px;
  background: #ffffff;
  border-radius: 14px;
  padding: 32px;
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

/* ── Stars ─────────────────────────────────────────────────────────── */
.meer-test-stars {
  color: #A07820;
  font-size: 18px;
  letter-spacing: 3px;
  margin-bottom: 22px;
  line-height: 1;
  flex-shrink: 0;
}

/* ── Quote ─────────────────────────────────────────────────────────── */
.meer-test-text {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  margin: 0 0 28px;
  flex: 1;
}

/* ── Author ─────────────────────────────────────────────────────────── */
.meer-test-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  flex-shrink: 0;
}

.meer-test-avatar {
  width: 40px;
  height: 40px;
  min-width: 40px;      /* never squish in a flex row */
  flex-shrink: 0;
  border-radius: 50%;
  background: #8B6000;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

.meer-test-name {
  font-size: 14px;
  font-weight: 500;
  color: #222;
}

/* ── Tablet (≤1024px) ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .meer-test-track { padding-right: 20px; }
  .meer-test-card  { width: 290px; padding: 26px; }
}

/* ── Mobile (≤767px) ─────────────────────────────────────────────── */
@media (max-width: 767px) {
  .meer-test-section { padding: 40px 0; }
  .meer-test-track   { padding-right: 16px; gap: 14px; }
  .meer-test-card    { width: 260px; padding: 22px; }
}
