

/* Start:/local/templates/slavdor/components/bitrix/news.list/reviews_list/style.css?17824221085049*/
/* ===== Блок отзывов ===== */
.reviews-content {
    padding: 60px 0;
}

/* ===== Заголовок ===== */
.section_titles {
    margin-bottom: 40px;
}

.section_titles__title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    position: relative;
    padding-bottom: 15px;
}

.section_titles__title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: #e31e24;
    border-radius: 2px;
}

/* ===== Список отзывов ===== */
.reviews-content__list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.reviews-content__list__item {
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    background: #ffffff;
    transition: all 0.3s ease;
    overflow: hidden;
}

.reviews-content__list__item:hover {
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
}

/* ===== Карточка отзыва ===== */
.reviews-content__card {
    padding: 25px 30px;
}

/* ===== Шапка карточки ===== */
.reviews-content__card__header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 18px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.review-author {
    font-size: 19px;
    font-weight: 700;
    color: #1a1a1a;
}

.reviews-date {
    font-size: 14px;
    color: #888888;
    margin-left: auto;
}

/* ===== Тело карточки ===== */
.reviews-content__card__body {
    display: flex;
    gap: 30px;
}

.reviews-content__card__body.with-product {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 35px;
}

/* ===== Текст отзыва ===== */
.block__text {
    flex: 1;
}

.block__text p {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin: 0 0 15px 0;
}

/* ===== Рейтинг звездами ===== */
.reviews-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}

.reviews-rating span:first-child {
    font-size: 14px;
    color: #666;
    margin-right: 5px;
}

.reviews-rating .star {
    font-size: 24px;
    color: #ddd;
    transition: color 0.2s ease;
}

.reviews-rating .star.active {
    color: #f5a623;
}

/* ===== Карточка товара ===== */
.reviews-product {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.product-card {
    width: 100%;
    max-width: 280px;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.product-image {
    margin-bottom: 12px;
    overflow: hidden;
    border-radius: 6px;
    background: #fff;
    padding: 5px;
}

.product-image img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    display: block;
}

.product-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 12px 0 14px 0;
    line-height: 1.4;
    min-height: 44px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-link {
    margin-top: 5px;
}

.product-link a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #e31e24;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 8px 20px;
    border: 2px solid #e31e24;
    border-radius: 6px;
}

.product-link a:hover {
    background: #e31e24;
    color: #ffffff;
    text-decoration: none;
    transform: translateX(4px);
}

/* ===== Пагинация ===== */
.reviews-pagination {
    margin-top: 45px;
    text-align: center;
}

.reviews-pagination .bx-pagination {
    display: inline-block;
}

/* ===== Адаптив ===== */
@media (max-width: 992px) {
    .reviews-content__card__body.with-product {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .reviews-product {
        justify-content: center;
    }
    
    .product-card {
        max-width: 250px;
    }
}

@media (max-width: 768px) {
    .reviews-content {
        padding: 40px 0;
    }
    
    .section_titles__title {
        font-size: 26px;
    }
    
    .reviews-content__card {
        padding: 18px 20px;
    }
    
    .reviews-content__card__header {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .review-author {
        font-size: 17px;
    }
    
    .reviews-date {
        font-size: 13px;
        margin-left: 0;
        width: 100%;
    }
    
    .product-card {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .section_titles__title {
        font-size: 22px;
    }
    
    .reviews-content__card {
        padding: 15px 16px;
    }
    
    .review-author {
        font-size: 16px;
    }
    
    .block__text p {
        font-size: 14px;
    }
    
    .reviews-rating .star {
        font-size: 20px;
    }
    
    .product-name {
        font-size: 14px;
        min-height: 38px;
    }
}
/* End */
/* /local/templates/slavdor/components/bitrix/news.list/reviews_list/style.css?17824221085049 */
