.reviews-section {
  position: relative;
  overflow: hidden;
}

.reviews {
  display: flex;
  overflow-x: auto;
  direction: rtl;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;

  /* כל הכרטיסים נמתחים לגובה של ההמלצה הארוכה ביותר */
  align-items: stretch;
}

.reviews::-webkit-scrollbar {
  display: none;
}

/* .review {
  flex: 0 0 100%;
  scroll-snap-align: center;

  padding: 22px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.7;
  text-align: center;

  display: flex;
  flex-direction: column;
  justify-content: center;
} */



.review {
  position: relative;
  isolation: isolate;
  flex: 0 0 100%;
  scroll-snap-align: center;

  padding: 36px 32px 28px;
  border-radius: 20px;
  overflow: hidden;

  background:
    radial-gradient(
      ellipse at 50% 0%,
      rgba(255, 255, 255, 0.05),
      transparent 75%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.055),
      rgba(255, 255, 255, 0.015)
    );

  border: none;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035);

  color: #f0edf3;
  font-weight: 500;
  line-height: 1.85;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* תאורה עליונה עדינה */
.review::after {
  content: "";
  position: absolute;
  top: 0;
  left: 25%;
  right: 25%;
  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.16),
    transparent
  );

  pointer-events: none;
}

/* כוכבים */
.review .stars {
  color: var(--gold);
  margin-bottom: 16px;
  letter-spacing: 3px;
  font-size: 17px;
  text-shadow: 0 0 18px rgba(220, 170, 80, 0.18);
}

/* שם הממליץ */
.review-author {
  position: relative;
  margin-top: 22px;
  padding-top: 16px;

  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2px;
}

/* קו הפרדה זהוב */
.review-author::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);

  width: 48px;
  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    var(--gold),
    transparent
  );
}

@media (max-width: 820px) {
  .review {
    flex-basis: 82%;
    min-width: 245px;
    padding: 30px 25px 24px;
  }
}



.stars {
  color: var(--gold);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.review-author {
  margin-top: 14px;
  color: var(--text);
  font-weight: 800;
}

.review-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.review-dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: 0.25s;
}

.review-dot.active {
  width: 24px;
  background: var(--pink);
}

.review-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;

  width: 44px;
  height: 44px;

  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(5, 9, 20, 0.82);

  color: var(--text);
  font-size: 34px;
  line-height: 1;

  cursor: pointer;

  transform: translateY(-50%);
  transition: 0.25s;
}

.review-arrow:hover {
  background: rgba(5, 9, 20, 0.30);
}

.review-next {
  right: 14px;
}

.review-prev {
  left: 14px;
}

@media (max-width: 820px) {
  .review-arrow {
    display: none;
  }

  .review {
    flex-basis: 82%;
    min-width: 245px;
  }
}


/* מרכוז המלצה בודדת */
.reviews.single-review {
  justify-content: center;
  overflow-x: hidden;
  scroll-snap-type: none;
}

.reviews.single-review .review {
  flex: 0 1 100%;
}

/* במובייל שומרים על רוחב מעודן וממורכז */
@media (max-width: 820px) {
  .reviews.single-review .review {
    flex: 0 1 82%;
    min-width: min(345px, 100%);
  }
}
