@charset "UTF-8";
#pag {
  display: inline-flex;
}
.reviews-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  display: none; /* скрыт по умолчанию */
  justify-content: center;
  align-items: center;
  z-index: 999;
}
/* Само попап окно — карточка */
.reviews-popup {
  background: #ffffff;
  width: 1160px;
  padding: 32px 20px 40px 42px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: fadeSlide 0.25s ease-out;
}
/* Контейнер для кнопок (действия) */
.reviews-popup-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
/* Базовая стилизация кнопок в попапе */
.reviews-popup-actions button {
  padding: 10px 22px;
  border: none;
  border-radius: 40px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.1s;
}
.reviews-popup-actions button:active {
  transform: scale(0.96);
}
/* Кнопка "Закрыть" — серая */
.reviews-popup-actions .btn-close {
  background: #e9edf2;
  color: #1e293b;
}
.reviews-popup-actions .btn-close:hover {
  background: #d3dae3;
}
/* Кнопка "Подтвердить" — синяя (акцент) */
.reviews-popup-actions .btn-confirm {
  background: #1a73e8;
  color: #fff;
}
.reviews-popup-actions .btn-confirm:hover {
  background: #1557b0;
}
/* Кнопка закрытия «крестик» (опционально, но очень удобно) */
.reviews-popup-close-x {
  height: 15px;
  width: 15px;
  position: absolute;
  top: 20px;
  right: 11px;
  background: none;
  border: none;
  cursor: pointer;
}
.reviews-popup-close-x img {
  height: 100%;
  width: 100%;
}
.reviews-popup .review-scroll {
  max-height: 70vh;
  overflow-y: scroll;
  padding-right: 16px;
}

.review {
  overflow: hidden;
  position: relative;
}
.review-card {
  padding: 30px 30px 20px 30px;
  border: 1px solid #cfd8e4;
  border-radius: 15px;
}
.review-card__top {
  display: flex;
  justify-content: space-between;
  max-width: 100%;
}
.review-card__top-left {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}
.review-card__top-right {
  display: flex;
  gap: 10px;
  height: 100%;
}
.review-card__stars {
  display: flex;
  align-items: center;
  gap: 3px;
}
.review-card__stars img {
  height: 13px;
  width: 13px;
}
.review-card__rating {
  padding: 3px 4px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 18px;
  line-height: 22px;
  letter-spacing: -0.24px;
}
.review-card__img {
  width: 40px;
  height: 40px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  margin-right: 18px;
}
.review-card__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 50%;
}
.review-card__date,
.review-card__name {
  letter-spacing: 0.02em;
}
.review-card__date {
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: #5e6272;
}
.review-card__name {
  font-weight: 700;
  font-size: 20px;
  line-height: 20px;
  color: #141b31;
}
.review-card__desc {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.02em;
  color: #5e6272;
  margin-top: 10px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}
.review-card__all {
  display: none;
  align-items: center;
  margin-top: 10px;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.05em;
  color: #141b31;
  text-decoration-line: underline;
}
.review-card__all * {
  pointer-events: none;
}
.review-card._cut .review-card__all {
  display: flex;
}
.review-card._cut .review-card__all span:before {
  content: "Показать еще";
}
.review-card._show .review-card__desc {
  -webkit-line-clamp: unset !important;
}
.review-card._show .review-card__all span:before {
  content: "Скрыть";
}
.review-card._show .review-card__all svg {
  transform: rotate(180deg);
}
.review__items {
  margin-top: 40px;
}
@media (min-width: 992px) {
  .review__items .swiper-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 20px;
    transform: unset !important;
  }
}
.reviews-popup .review-sort {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
}
.reviews-popup .review-sort div {
  cursor: pointer;
  padding: 5px 7px;
  border: 0.5px solid #8291a7;
  border-radius: 30px;
  font-weight: 600;
  font-size: 12px;
  line-height: 14px;
  color: #8291a7;
}
.reviews-popup .review-sort div.active {
  background: #8291a7;
  color: #ffffff;
}
.reviews-popup .review__items {
  margin-top: 15px;
}
.reviews-popup .review__items .swiper-wrapper {
  display: flex;
  flex-direction: column;
  margin-bottom: 1px;
  gap: 10px;
  transform: unset !important;
}
.review__items .swiper-slide {
  height: auto;
  min-height: 211px;
}
@media (max-width: 992px) {
  .review__items .swiper-wrapper {
    align-items: stretch;
  }
  .reviews-popup {
    padding: 30px 12px 40px 30px;
    width: calc(100% - 20px);
  }
}
.review-stat__title {
  display: flex;
  align-items: center;
}
.review-stat__title img {
  margin-right: 10px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}
.review-stat__items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 41px;
}
.review-stat__item {
  max-width: 460px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: -0.05em;
}
.review-stat__rating {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 223px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}
.review-stat__progress {
  position: relative;
  background: #d9d9d9;
  border-radius: 3px;
  width: 175px;
  height: 4px;
}
.review-stat__progress span {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: #2d77e8;
  border-radius: inherit;
}
.review__all {
  width: 267px;
  height: 44px;
  font-weight: 700;
  background-color: #fff;
  font-size: 16px;
  margin-top: 30px;
  padding: 13px !important;
}
.review-stat {
  margin-top: 40px;
}
@media (max-width: 992px) {
  .review-card__info {
    width: calc(100% - 58px);
  }
  .review-card__name {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
  }
  .review-stat {
    margin-top: 34px;
    padding-top: 43px;
  }
}
@media (max-width: 744px) {
  .review-stat__items {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 576px) {
  .review-card {
    padding: 20px 20px 40px 20px;
  }
  .reviews-popup .review-scroll {
    padding-right: 2px;
  }
  .review-card__top {
    gap: 10px;
  }
  .reviews-popup .review-card__img {
    margin-right: 10px;
  }
  .review__all {
    width: 100%;
    margin-top: 46px;
  }
  .reviews-popup {
    padding: 20px 12px 40px 20px;
    width: calc(100% - 20px);
  }
  .review-card__top-right {
    gap: 0;
  }
}

/*# sourceMappingURL=style.css.map */
