.oc-reviews-section {
  padding: 45px 0 35px 0;
}
.reviews-slider-outer {
  position: relative;
  padding: 0 30px;
}

.review-card {
  padding: 15px;
  border: 1px solid #2424241a;
  border-radius: 5px;
  gap: 10px;
}

.review-card__header {
  padding-bottom: 5px;
  border-bottom: 1px solid #2424241a;
}

.review-card__author {
  font-weight: 500;
  color: #242424;
}

.review-card__product {
  gap: 5px;
}

.review-card__product-image {
  width: 50px;
  height: 50px;
}

.review-card__product-image img {
  object-fit: contain;
}

.review-card__product-link {
  text-decoration: underline;
  font-size: 14px;
  font-weight: 400;
  color: #000000;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  display: block;
}

/* Текст отзыва */
.review-text-content {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
  font-size: 13px;
  color: #000000;
}
.review-text-content.expanded {
  display: block;
  -webkit-line-clamp: unset;
}

.rev-stars {
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: flex-end;
}

.star {
  display: inline-block;
  width: 18px;
  height: 18px;
}
.star.full {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffa600'%3E%3Cpath d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E")
    no-repeat center;
}
.star.empty {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e0e0e0'%3E%3Cpath d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E")
    no-repeat center;
}

/* Кнопка "Читать полностью" */
.btn-toggle-text {
  font-weight: 500;
  font-size: 12px;
  color: #00a046;
  font-family: "Monserrat", sans-serif;
  margin-left: auto;
  display: none;
}
.btn-toggle-text.is-visible {
  display: block;
}
.btn-toggle-text .arrow-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: middle;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2342C161'%3E%3Cpath d='M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6z'/%3E%3C/svg%3E")
    no-repeat center;
}
.expanded + .btn-toggle-text .arrow-icon {
  transform: rotate(180deg);
}

/* Зеленые стрелки навигации */
.swiper-button-prev-custom,
.swiper-button-next-custom {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 55px;
  background-color: #00a046; /* bootstrap success */
  border-radius: 2px;
  z-index: 10;
  cursor: pointer;
}
.swiper-button-prev-custom {
  left: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.swiper-button-next-custom {
  right: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.swiper-pagination {
  margin-top: 7px;
  gap: 5px;
}

.swiper-pagination-bullet {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  opacity: 30%;
  background: #00a046;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}

/* Адаптивность */
@media (max-width: 991px) {
  .reviews-slider-outer {
    padding: 0;
  }
  .swiper-button-prev-custom,
  .swiper-button-next-custom {
    display: none;
  }
}

@media (min-width: 768px) {
  .oc-reviews-section {
    margin-top: -5rem;
  }
}

@media (max-width: 768px) {
  .oc-reviews-section {
    margin-top: -2.5rem;
    padding: 35px 0;
  }
  .review-card {
    padding: 10px;
    gap: 7px;
  }
  .review-card__author {
    font-size: 14px;
  }
  .review-card__product-image {
    width: 45px;
    height: 45px;
  }

  .review-card__product-link {
    font-size: 13px;
  }
}
