/* HolyLand Google Reviews Slider Styles */

.holyland-reviews-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
}

.holyland-reviews-header {
    margin-bottom: 30px;
    text-align: center;
}

.reviews-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.average-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.rating-number {
    font-size: 48px;
    font-weight: bold;
    color: #fbbc04;
    line-height: 1;
}

.reviews-count {
    font-size: 14px;
    color: #5f6368;
}

.google-badge img {
    height: 40px;
}

/* Звезды */
.stars-rating {
    display: inline-flex;
    gap: 2px;
}

.star {
    font-size: 20px;
    line-height: 1;
}

.star-full {
    color: #fbbc04;
}

.star-half {
    color: #fbbc04;
    position: relative;
}

.star-half::after {
    content: '★';
    position: absolute;
    left: 0;
    color: #e8eaed;
    clip-path: inset(0 50% 0 0);
}

.star-empty {
    color: #e8eaed;
}

/* Слайдер */
.holyland-reviews-slider {
    position: relative;
    padding: 20px 50px;
}

.holyland-reviews-slider .swiper-slide {
    height: auto;
}

/* Карточка отзыва */
.review-card {
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 8px;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
}

.review-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    gap: 16px;
}

.author-info {
    display: flex;
    gap: 12px;
    align-items: center;
    flex: 1;
}

.author-photo,
.author-photo-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
}

.author-photo-placeholder {
    background: #fbbc04;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.author-details {
    flex: 1;
    min-width: 0;
}

.author-name {
    font-weight: 600;
    font-size: 14px;
    color: #202124;
    margin-bottom: 4px;
}

.review-time {
    font-size: 12px;
    color: #5f6368;
}

.review-rating {
    flex-shrink: 0;
}

.review-rating .stars-rating {
    gap: 1px;
}

.review-rating .star {
    font-size: 16px;
}

.review-text {
    font-size: 14px;
    line-height: 1.6;
    color: #3c4043;
    flex: 1;
}

/* Навигация слайдера */
.holyland-reviews-slider .swiper-button-next,
.holyland-reviews-slider .swiper-button-prev {
    color: #1a73e8;
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.holyland-reviews-slider .swiper-button-next::after,
.holyland-reviews-slider .swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

.holyland-reviews-slider .swiper-button-next:hover,
.holyland-reviews-slider .swiper-button-prev:hover {
    background: #f8f9fa;
}

/* Пагинация */
.holyland-reviews-slider .swiper-pagination {
    position: relative;
    margin-top: 20px;
}

.holyland-reviews-slider .swiper-pagination-bullet {
    background: #e8eaed;
    opacity: 1;
}

.holyland-reviews-slider .swiper-pagination-bullet-active {
    background: #1a73e8;
}

/* Пустое состояние */
.holyland-reviews-empty {
    text-align: center;
    padding: 40px;
    color: #5f6368;
    font-size: 16px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .holyland-reviews-slider {
        padding: 20px 0;
    }
    
    .holyland-reviews-slider .swiper-button-next,
    .holyland-reviews-slider .swiper-button-prev {
        display: none;
    }
    
    .review-card {
        padding: 16px;
    }
    
    .rating-number {
        font-size: 36px;
    }
    
    .reviews-stats {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .holyland-reviews-container {
        padding: 10px;
    }
    
    .review-header {
        flex-direction: column;
        gap: 12px;
    }
    
    .author-info {
        width: 100%;
    }
    
    .review-rating {
        align-self: flex-start;
    }
}
