

/* Start:/local/components/reviews/reviews.list/templates/.default/style.css?178177533015240*/
.reviews-component {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 78px 40px 90px;
}

.reviews-desc {
  display: flex;
  gap: 26px;
  position: relative;
}

.reviews-desc__background {
  position: absolute;
  right: -200px;
  top: 0;
}

.desc-small {
  font-family: Inter, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: #FF6B0C;
  text-align: start;
}

.desc-title {
  font-family: Unbounded, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 64px;
  line-height: 66px;
  letter-spacing: -0.03em;
  color: #242D58;
  margin: 24px 0;
  text-align: start;
}

.desc-text {
  max-width: 620px;
  font-family: Inter, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 19px;
  line-height: 28px;
  color: #666B85;
  text-align: start;
  margin: 0;
}

/* Статистика */
.reviews-stats {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  align-items: flex-start;
}

.stat-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 24px 28px;
  width: 260px;
  height: fit-content;
  background: #FFFFFF;
  border: 1px solid #E6E8F0;
  border-radius: 18px;
}

.stat-subitem {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 2px;
}

.stat-label {
  font-family: Inter, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
  color: #666B85;
  margin: 0;
  text-align: start;
}

.stat-tags .stat-label {
  margin-bottom: 6px;
}

.stat-value {
  font-family: Unbounded, sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 36px;
  line-height: 42px;
  color: #242D58;
}

.star-value {
  font-family: Unbounded, sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 36px;
  line-height: 42px;
  color: #FF6B0C;
}

.stat-devider {
  width: 100%;
  height: 1px;
  background: #E6E8F0;
  margin: 24px 0;
}

.stat-tags {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 28px 30px;
  gap: 14px;
  width: 384px;
  height: fit-content;
  background: #FFFFFF;
  border: 1px solid #E6E8F0;
  border-radius: 18px;
}

.tag-stat {
  display: flex;
  gap: 12px;
  font-family: Inter, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
  color: #242D58;
  text-align: start;
  margin: 0;
}

.tag-percent {
  min-width: 40px;
  font-family: Inter, sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 15px;
  line-height: 18px;
  color: #3BBDAD;
  text-align: end;
}

/* Табы */
.reviews-tabs {
  width: fit-content;
  display: flex;
  gap: 2px;
  padding: 5px;
  background: #F8F9FB;
  border-radius: 50px;
  margin: 80px 0 48px;
}

.tab-btn {
  padding: 11px 22px;
  border-radius: 50px;
  font-family: Inter, sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 15px;
  line-height: 18px;
  color: #666B85;
  border: unset;
  background: unset;
  cursor: pointer;
}

.tab-btn:hover {
  background: #FFFFFF;
  box-shadow: 0px 2px 6px rgba(23, 28, 41, 0.1);
}

.tab-btn.active {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 11px 22px;
  gap: 9px;
  width: fit-content;
  height: 40px;
  background: #FFFFFF;
  box-shadow: 0px 2px 6px rgba(23, 28, 41, 0.1);
  border-radius: 50px;
  color: #242D58;
}

.tab-btn.active::before {
  content: '';
  width: 7px;
  height: 7px;
  background: #3BBDAD;
  border-radius: 50px;
}

/* =============================================
   Список отзывов — Desktop (>= 1025px)
   Сортировка сверху вниз, затем слева направо
   grid-auto-flow: column + явные строки
   ============================================= */
.reviews-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(5, auto);
  grid-auto-flow: column;
  gap: 24px;
}

.review-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 26px 24px;
  width: 100%;
  min-height: 588px;
  height: fit-content;
  background: #FFFFFF;
  border: 1px solid #E6E8F0;
  box-shadow: 0px 14px 34px -14px rgba(36, 45, 88, 0.14);
  border-radius: 24px;
  overflow: hidden;
}

/* Видеоотзыв */
.review-video-label {
  position: absolute;
  top: 12px;
  left: 16px;
  background: rgba(0, 0, 0, .7);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 13px;
  z-index: 2;
}

.review-video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 */
  height: 0;
  margin-bottom: 16px;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
}

.review-video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.review-author {
  font-weight: 600;
  margin-bottom: 4px;
}

.review-nickname,
.review-spec {
  font-size: 14px;
  color: #666;
}

.review-spec {
  margin-top: 4px;
  font-style: italic;
}

/* Текстовый отзыв */
.review-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.review-subheader {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 30px;
}

.review-avatar {
  width: 38px;
  height: 38px;
  background: #3BBDAD;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Unbounded, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 22px;
  line-height: 28px;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}

.review-nickname {
  font-family: Inter, sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 17px;
  line-height: 22px;
  color: #242D58;
}

.review-stars {
  display: flex;
  gap: 3px;
  position: relative;
}

.review-stars::before {
  content: '';
  position: absolute;
  width: 3px;
  height: 30px;
  left: -27px;
  top: 0;
  background: #FF6B0C;
  border-radius: 0px 3px 3px 0px;
}

.star {
  color: #ddd;
  font-size: 18px;
}

.star.active {
  color: #FF6B0C;
}

.review-site {
  padding: 5px 10px;
  background: #F8F9FB;
  border-radius: 50px;
  font-family: Inter, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: #666B85;
  margin-left: auto;
  cursor: pointer;
  text-decoration: unset;
}

.review-site:hover {
  text-decoration: underline;
}

.review-text-wrap {
  position: relative;
  display: block;
}

.review-text {
  font-family: Inter, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
  color: #242D58;
  -webkit-line-clamp: 15;
  line-clamp: 15;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
  text-align: start;
  position: relative;
}

.review-expand-btn {
  display: none;
  position: absolute;
  right: -16px;
  bottom: 0;
  background: unset;
  border: none;
  color: #242D58;
  font-family: Inter, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
  cursor: pointer;
}

.review-expand-btn:hover {
  text-decoration: underline;
}

.review-text-wrap.is-expanded .review-text {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  padding-right: 0;
}

.review-text-wrap.is-expanded .review-expand-btn {
  display: none !important;
}

.review-devider {
  width: 100%;
  margin: auto 0 25px;
  border-bottom: 1px solid #E6E8F0;
  padding: 25px 0 0;
}

.review-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag {
  padding: 6px 11px;
  height: 28px;
  background: #E7F7F4;
  border: 1px solid #BBE8E1;
  border-radius: 9px;
  font-family: Inter, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: #1C7A6E;
}

/* Пагинация */
.reviews-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 40px auto;
  flex-wrap: wrap;
}

.pag-link {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0px;
  width: 44px;
  height: 44px;
  border: 1px solid #E6E8F0;
  border-radius: 10px;
  font-family: Inter, sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 15px;
  line-height: 18px;
  color: #242D58;
  transition: all 0.15s;
  text-decoration: unset;
}

.pag-link:hover,
.pag-link.active {
  background: #242D58;
  color: #fff;
  border-color: #242D58;
}

.pag-link.disabled {
  opacity: 0.4;
  pointer-events: none;
  border-color: #eee;
  background: #f9f9f9;
}

.pag-ellipsis {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0px;
  width: 44px;
  height: 44px;
  font-family: Inter, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 15px;
  line-height: 18px;
  color: #666B85;
}

/* Индикатор загрузки для infinite scroll (скрыт по умолчанию, показывается через JS) */
.reviews-loader {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 30px 0;
  font-family: Inter, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 15px;
  line-height: 18px;
  color: #666B85;
}

.loader-spinner {
  margin: 24px auto;
  width: 36px;
  height: 36px;
  border: 3px solid #E6E8F0;
  border-top-color: #3BBDAD;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* =============================================
   Планшет (769px - 1024px)
   Masonry через JS (position: absolute)
   Сортировка слева направо, 2 колонки
   ============================================= */
@media (max-width: 1024px) {
  .reviews-desc {
    flex-direction: column;
  }

  .review-card {
    min-height: unset;
    height: fit-content;
    width: 100%;
    margin-bottom: 0;
    transition: none;
  }

  .review-text {
    -webkit-line-clamp: 20;
    line-clamp: 20;
  }

  .reviews-stats {
    flex-direction: column;
    gap: 24px;
  }

  .stat-item {
    flex-direction: row;
    width: 100%;
  }

  .stat-devider {
    width: 1px;
    height: 72px;
    background: #E6E8F0;
    margin: auto 27px;
  }

  .stat-subitem {
    width: 42%;
  }

  /* Планшет: контейнер для masonry (JS управляет position:absolute) */
  .reviews-list {
    display: block;
    position: relative;
    width: 100%;
  }

  .reviews-desc__background {
    top: unset;
    bottom: 8px;
    right: 10px;
  }

  .reviews-tabs {
    margin: 40px 0 26px;
  }

  .desc-title {
    font-weight: 600;
    font-size: 48px;
    line-height: 52px;
    margin: 13px 0 24px;
  }

  .desc-text {
    font-size: 17px;
    line-height: 26px;
  }
}

/* =============================================
   Мобильные (<= 769px)
   1 колонка, бесконечный скролл
   ============================================= */
@media (max-width: 769px) {
  .reviews-component {
    padding: 40px 16px 60px;
  }

  .desc-title {
    font-size: 36px;
    line-height: 40px;
    margin: 16px 0;
  }

  .desc-text {
    font-size: 16px;
    line-height: 24px;
  }

  .reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: static;
  }

  .review-card {
    width: 100%;
    min-height: unset;
    height: fit-content;
    padding: 20px;
    margin-bottom: 0;
    position: static !important;
  }

  .review-text {
    -webkit-line-clamp: 18;
    line-clamp: 18;
  }

  .reviews-stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat-item {
    flex-direction: row;
    width: 100%;
    padding: 16px 14px;
  }

  .stat-tags {
    width: 100%;
    padding: 24px 20px;
  }

  .stat-devider {
    width: 1px;
    height: 72px;
    background: #E6E8F0;
    margin: auto 16px;
  }

  .stat-subitem {
    width: 42%;
  }

  .reviews-tabs {
    margin: 24px 0 20px;
    overflow-x: auto;
    width: 100%;
    max-width: 375px;
    border-radius: 50px;
    justify-content: space-between;
  }

  .tab-btn {
    white-space: nowrap;
    padding: 11px 18px;
    font-size: 14px;
    line-height: 18px;
    font-weight: 500;
  }

  .tab-btn.active {
    padding: 11px 28px;
  }

  .tab-btn .tab-btn__text {
    display: none;
  }

  .tab-btn::after {
    content: attr(data-mobile-title);
    display: inline-block;
  }

  .reviews-pagination {
    display: none !important;
  }

  .reviews-desc__background {
    display: none;
  }

  .desc-small {
    font-size: 14px;
    line-height: 17px;
  }

  .desc-title {
    line-height: 42px;
    margin: 24px 0 16px;
  }

  .desc-text {
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
  }

  .star-value {
    font-weight: 800;
    font-size: 28px;
    line-height: 32px;
    letter-spacing: -0.02em;
  }

  .stat-label {
    font-weight: 600;
    font-size: 13px;
    line-height: 16px;
  }

  .stat-tags .stat-label {
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
  }

  .review-subheader {
    margin-bottom: 13px;
    gap: 10px;
  }

  .review-avatar {
    width: 36px;
    height: 36px;
    font-weight: 700;
    font-size: 15px;
    line-height: 18px;
  }

  .review-devider {
    margin: auto 0 13px;
    padding: 33px 0 0;
  }

  .review-tags {
    gap: 6px;
  }

  .tag {
    font-weight: 600;
    line-height: 15px;
  }

  .star {
    font-size: 14px;
  }

  .review-site {
    padding: 5px 9px;
    font-size: 11px;
  }
}


/* =============================================
   Скелетон (пульсирующие плейсхолдеры)
   ============================================= */
.reviews-skeleton {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.skeleton-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 26px 24px;
  background: #FFFFFF;
  border: 1px solid #E6E8F0;
  box-shadow: 0px 14px 34px -14px rgba(36, 45, 88, 0.14);
  border-radius: 24px;
  gap: 16px;
}

.skeleton-image {
  width: 100%;
  height: 180px;
  border-radius: 6px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.skeleton-line {
  width: 100%;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.skeleton-line--short {
  width: 60%;
}

@keyframes skeleton-pulse {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* Планшет: скелетон в 2 колонки */
@media (max-width: 1024px) {
  .reviews-skeleton {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Мобильные: скелетон в 1 колонку */
@media (max-width: 769px) {
  .reviews-skeleton {
    grid-template-columns: 1fr;
  }
}


.reviews-end-message {
  text-align: center;
  padding: 24px 16px;
  color: #999;
  font-size: 14px;
}

.reviews-end-message {
  text-align: center;
  padding: 24px 16px;
  color: #999;
  font-size: 14px;
}
/* End */
/* /local/components/reviews/reviews.list/templates/.default/style.css?178177533015240 */
