/* Google Reviews Slider - 61ce8656 */

.gr-slider-wrapper {
    display: flex;
    align-items: stretch;
    gap: 24px;
    border-radius: 12px;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
}

/* Summary Block */
.gr-summary-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    max-width: 200px;
    padding: 24px 20px;
    text-decoration: none;
    color: inherit;
    gap: 8px;
    flex-shrink: 0;
    border-radius: 8px;
    transition: opacity 0.2s ease;
}

.gr-summary-block:hover {
    opacity: 0.85;
}

.gr-summary-label {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.gr-summary-stars {
    font-size: 22px;
    line-height: 1;
    display: flex;
    gap: 2px;
}

.gr-summary-count {
    font-size: 13px;
    opacity: 0.75;
    text-align: center;
}

.gr-google-logo {
    margin-top: 8px;
}

/* Slider Container */
.gr-slider-container {
    flex: 1;
    min-width: 0;
    position: relative;
    padding: 0 48px;
}

.gr-swiper {
    overflow: hidden;
    width: 100%;
}

/* Cards */
.gr-card {
    padding: 20px;
    border: 1px solid #e0e0e0;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    transition: box-shadow 0.2s ease;
}

.gr-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.gr-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.gr-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
    line-height: 1;
}

.gr-card-header-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.gr-reviewer-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gr-time-ago {
    font-size: 12px;
    line-height: 1.3;
}

.gr-google-g {
    flex-shrink: 0;
}

.gr-stars-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.gr-stars {
    display: flex;
    gap: 1px;
    font-size: 16px;
    line-height: 1;
}

.gr-star {
    color: inherit;
}

.gr-star-empty {
    opacity: 0.3;
}

.gr-verified-icon {
    font-size: 14px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: currentColor;
    position: relative;
}

.gr-verified-icon::after {
    content: '\2713';
    color: #ffffff;
    font-size: 11px;
    position: absolute;
}

/* Review Text */
.gr-review-text-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.gr-review-text {
    font-size: 13px;
    line-height: 1.5;
    max-height: 60px; /* ~3 lines */
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.gr-review-text.gr-expanded {
    max-height: 600px;
}

.gr-read-more {
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    margin-top: 6px;
    display: inline-block;
    border: none;
    background: none;
    padding: 0;
}

.gr-read-more:hover {
    text-decoration: underline;
}

.gr-read-more.gr-hidden {
    display: none;
}

/* Navigation Arrows */
.gr-arrow-prev,
.gr-arrow-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    padding: 0;
    width: 40px;
    height: 40px;
    line-height: 40px;
}

.gr-arrow-prev {
    left: 0;
}

.gr-arrow-next {
    right: 0;
}

.gr-arrow-prev:disabled,
.gr-arrow-next:disabled {
    opacity: 0.3;
    cursor: default;
}

/* Responsive */
@media (max-width: 1024px) {
    .gr-slider-wrapper {
        flex-direction: column;
    }

    .gr-summary-block {
        flex-direction: row;
        max-width: 100%;
        min-width: auto;
        gap: 16px;
        padding: 16px 20px;
    }

    .gr-summary-stars {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .gr-slider-wrapper {
        flex-direction: column;
        padding: 16px;
    }

    .gr-summary-block {
        flex-direction: column;
        text-align: center;
    }

    .gr-slider-container {
        padding: 0;
    }

    .gr-arrow-prev,
    .gr-arrow-next {
        display: none;
    }

    .gr-card {
        padding: 16px;
    }
}

/* Swiper slide height fix */
.gr-swiper .swiper-wrapper {
    align-items: stretch;
}

.gr-swiper .swiper-slide {
    height: auto;
}
