@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Arabic:wght@400;500;700&display=swap');

/* ===== Font ===== */
.s-block--testimonials {
  padding: 50px 24px !important;
  font-family: 'IBM Plex Arabic', sans-serif !important;
}

.s-block--testimonials .s-reviews-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* ===== Title ===== */
h1.s-reviews-header {
  font-family: 'IBM Plex Arabic', sans-serif !important;
  font-size: 40px !important;
  font-weight: 700 !important;
  color: #2B1A1E !important;
  text-align: center !important;
  margin-bottom: 8px !important;
}

.s-reviews-header-wrapper {
  text-align: center !important;
  justify-content: center !important;
  margin-bottom: 20px !important;
}

.s-block--testimonials .s-slider-block__title {
  text-align: center !important;
  justify-content: center !important;
  margin-bottom: 24px !important;
}

.s-block--testimonials .s-slider-block__title-left {
  display: none !important;
}

/* ===== Cards ===== */
.s-block--testimonials .swiper-slide {
  background: #fff !important;
  border: 1px solid #ECE3DB !important;
  border-radius: 20px !important;
  padding: 32px 24px !important;
  text-align: center !important;
  box-shadow: 0 2px 12px rgba(43,26,30,0.04) !important;
  transition: all 300ms ease !important;
  margin: 10px 16px !important;
}

.s-block--testimonials .swiper-slide:hover {
  border-color: #D4B48C !important;
  box-shadow: 0 10px 32px rgba(212,180,140,0.18) !important;
  transform: translateY(-4px) !important;
}

.s-block--testimonials .swiper-slide-active {
  border-color: #D4B48C !important;
  box-shadow: 0 8px 32px rgba(212,180,140,0.22) !important;
}

/* ===== Quote Icon ===== */
.s-block--testimonials [class*="quote"],
.s-block--testimonials [class*="icon"] {
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: 48px !important;
  color: #D4B48C !important;
  line-height: 1 !important;
}

/* ===== Comment Text ===== */
.s-block--testimonials [class*="comment"],
.s-block--testimonials [class*="review"],
.s-block--testimonials [class*="content"],
.s-block--testimonials [class*="body"],
.s-block--testimonials [class*="text"],
.s-block--testimonials p {
  font-size: 16px !important;
  color: #2B1A1E !important;
  line-height: 1.9 !important;
  font-weight: 500 !important;
  margin-bottom: 16px !important;
  font-family: 'IBM Plex Arabic', sans-serif !important;
}

/* ===== Name ===== */
.s-block--testimonials [class*="name"],
.s-block--testimonials [class*="author"] {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #6F5F5B !important;
  font-family: 'IBM Plex Arabic', sans-serif !important;
}

/* ===== Stars ===== */
.s-block--testimonials .s-rating,
.s-block--testimonials [class*="star"],
.s-block--testimonials [class*="rating"] {
  color: #D4B48C !important;
  fill: #D4B48C !important;
}

/* ===== Avatar ===== */
.s-block--testimonials [class*="avatar"] img,
.s-block--testimonials [class*="photo"] img {
  border-radius: 50% !important;
  border: 2px solid #ECE3DB !important;
  width: 64px !important;
  height: 64px !important;
  object-fit: cover !important;
}

/* ===== Arrows ===== */
.s-block--testimonials [class*="arrow"],
.s-block--testimonials [class*="nav"] button,
.s-block--testimonials .s-slider-controls-outer button {
  border: 1px solid #D4B48C !important;
  background: #fff !important;
  color: #D4B48C !important;
  border-radius: 50% !important;
  width: 40px !important;
  height: 40px !important;
  transition: all 300ms ease !important;
}

.s-block--testimonials [class*="arrow"]:hover,
.s-block--testimonials [class*="nav"] button:hover {
  background: #D4B48C !important;
  color: #fff !important;
}

/* ===== Dots ===== */
.s-block--testimonials .swiper-pagination-bullet {
  background: #D4B48C !important;
  opacity: 0.3 !important;
  width: 28px !important;
  height: 6px !important;
  border-radius: 3px !important;
}

.s-block--testimonials .swiper-pagination-bullet-active {
  opacity: 1 !important;
}

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
  .s-block--testimonials {
    padding: 40px 16px !important;
  }

  h1.s-reviews-header {
    font-size: 26px !important;
  }

  .s-block--testimonials .swiper-slide {
    padding: 24px 16px !important;
    margin: 8px 8px !important;
    border-radius: 16px !important;
  }

  .s-block--testimonials p,
  .s-block--testimonials [class*="content"],
  .s-block--testimonials [class*="text"],
  .s-block--testimonials [class*="comment"],
  .s-block--testimonials [class*="review"] {
    font-size: 14px !important;
    line-height: 1.8 !important;
  }

  .s-block--testimonials [class*="name"],
  .s-block--testimonials [class*="author"] {
    font-size: 13px !important;
  }

  .s-block--testimonials [class*="avatar"] img,
  .s-block--testimonials [class*="photo"] img {
    width: 48px !important;
    height: 48px !important;
  }

  .s-block--testimonials [class*="arrow"],
  .s-block--testimonials .s-slider-controls-outer button {
    width: 32px !important;
    height: 32px !important;
    font-size: 14px !important;
  }
}