

/* Start:/bitrix/templates/novostroikino_copy/components/bitrix/catalog/poselki/style.css?1773778943649*/
.grid {}

.grid .bx_content_section { margin-bottom: 15px; }

.grid .bx_sidebar { margin-bottom: 15px; }

/* grid2x1 */
.grid2x1 {}

.grid2x1 .bx_content_section {
	float: left;
	width: 66%;
	margin-bottom: 15px;
}

.grid2x1 .bx_sidebar {
	float: right;
	width: 33%;
	margin-bottom: 15px;
	padding-left: 5%;
	box-sizing: border-box;
}

@media (max-width: 960px) {
	.grid2x1 .bx_sidebar { padding-left: 4%; }
}

@media (max-width: 640px) {
	.grid2x1 .bx_content_section,
	.grid2x1 .bx_sidebar {
		width: 100%;
		float: none;
	}

	.grid2x1 .bx_sidebar { padding-left: 3%; }
}

@media (max-width: 479px) {
	.grid2x1 .bx_sidebar { padding-left: 1%; }
}

/* End */


/* Start:/bitrix/templates/novostroikino_copy/components/bitrix/news.list/reviews/style.css?17770423476736*/
/* Основной контейнер */
.reviews-container {
    max-width: 900px;
    /*margin: 0 auto;*/
    padding: 40px 0;
    font-family: Mulish;
}

/* Секция с рейтингом */
.reviews-summary {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
}

.average-rating {
    flex: 0 0 200px;
    text-align: center;
}

.rating-number {
    font-size: 64px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 12px;
}

.rating-stars {
    margin-bottom: 8px;
}

.total-reviews {
    font-size: 14px;
    color: #6b4ce6;
    font-weight: 500;
}

/* Распределение рейтингов */
.rating-distribution {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.star-label {
    font-size: 14px;
    color: #666;
    width: 80px;
    display: flex;
    align-items: center;
    gap: 2px;
    letter-spacing: 2px;
}

.star-icon {
    font-size: 12px;
    color: #ffc107;
}

.rating-bar-container {
    flex: 1;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.rating-bar {
    height: 100%;
    background: #6b4ce6;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.rating-count {
    font-size: 14px;
    color: #666;
    width: 30px;
    text-align: right;
}

/* Кнопка добавить отзыв */
.add-review-wrapper {
    display: flex;
    align-items: center;
}

/* Стили звезд */
.star {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 2px;
    background-size: contain;
    background-repeat: no-repeat;
}

.star.filled {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffc107'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
}

.star.empty {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e0e0e0'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
}

.star.small {
    width: 16px;
    height: 16px;
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    gap: 8px;
    font-family: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.btn-primary {
    background: #6b4ce6;
    color: white;
}

.btn-primary:hover {
    background: #5a3bd4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 76, 230, 0.3);
}

.btn-outline {
    background: white;
    color: #1a1a1a;
    border: 2px solid #e0e0e0;
}

.btn-outline:hover {
    border-color: #6b4ce6;
    color: #6b4ce6;
}

.btn-add-review {
    width: 100%;
    max-width: 300px;
}

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

.review-item {
    display: flex;
    gap: 16px;
    padding: 20px 0 0 0;
}

.review-item:last-child {
    border-bottom: none;
}

.review-avatar {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
}

.review-avatar img,
.review-avatar .avatar-letter {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
}

.review-content {
    flex: 1;
    min-width: 0;
}

.review-header {
    margin-bottom: 8px;
}

.review-author {
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 16px;
    font-family: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.review-author:hover {
    color: #6b4ce6;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.review-rating {
    display: flex;
    gap: 2px;
}

.review-date {
    color: #999;
    font-size: 14px;
    font-family: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.review-source {
    color: var(--black-600);
    font-size: 12px;
    font-weight: 400;
    font-family: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    margin: 20px 0 0 0;
}

.review-text {
    color: #333;
    line-height: 1.6;
    font-size: 15px;
    font-family: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.review-text p {
    margin: 0 0 12px 0;
}

.review-text p:last-child {
    margin-bottom: 0;
}

/* Кнопка показать все */
.show-all-wrapper {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
}

.btn-show-all {
    min-width: 250px;
    background: white !important;
    border: 1px solid #EAEAF0 !important;
    color: #1C1C21 !important;
}

.arrow-down {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.btn-show-all:hover .arrow-down {
    transform: rotate(180deg);
}

/* Адаптивность */
@media (max-width: 768px) {
    .reviews-container {
        font-family: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    }
    
    .reviews-summary {
        flex-direction: column;
        gap: 30px;
    }
    
    .average-rating {
        flex: none;
    }
    
    .rating-number {
        font-size: 48px;
    }
    
    .review-item {
        /*flex-direction: column;*/
        gap: 12px;
    }
    
    .review-header {
        margin-bottom: 6px;
    }
    
    .review-meta {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .review-date {
        margin-left: 0;
    }
    
    .btn-add-review {
        max-width: 100%;
    }
    
    .btn {
        font-family: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    }
    
    .review-author,
    .review-text,
    .review-date {
        font-family: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    }
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.review-item {
    animation: fadeIn 0.3s ease;
}
/* End */
/* /bitrix/templates/novostroikino_copy/components/bitrix/catalog/poselki/style.css?1773778943649 */
/* /bitrix/templates/novostroikino_copy/components/bitrix/news.list/reviews/style.css?17770423476736 */
