/* ================================================================
   GOOGLE REVIEWS & INTERACTIVE 6-CARD CAROUSEL
   ================================================================ */

.google-review-header {
    background: #ffffff;
    border: 1.5px solid #e0d5c5;
    border-radius: 24px;
    padding: 26px 35px;
    max-width: 860px;
    margin: 0 auto 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 8px 25px rgba(71, 37, 13, 0.05);
    flex-wrap: wrap;
    gap: 20px;
}

.google-score-col {
    display: flex;
    align-items: center;
    gap: 18px;
}

.google-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    flex-shrink: 0;
}

.google-icon-circle svg {
    width: 30px;
    height: 30px;
}

.google-rating-number {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    color: #1a0b04;
    line-height: 1;
}

.google-stars {
    color: #fbbc04;
    font-size: 1.1rem;
    margin: 4px 0 2px;
    display: flex;
    gap: 3px;
}

.google-count-text {
    font-size: 0.85rem;
    color: #5f6368;
    font-weight: 600;
}

.google-verified-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e8f0fe;
    color: #1a73e8;
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
}

/* ================= Carousel Container & Tracks ================= */
.g-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 48px;
}

.g-carousel-viewport {
    overflow: hidden;
    width: 100%;
    padding: 15px 5px 25px;
}

.g-carousel-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.g-carousel-slide {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
    padding: 0 12px;
    box-sizing: border-box;
}

/* Review Card Styling */
.google-review-card {
    background: #ffffff;
    border: 1.5px solid #e8decb;
    border-radius: 22px;
    padding: 26px;
    position: relative;
    box-shadow: 0 6px 20px rgba(71, 37, 13, 0.05);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 290px;
}

.google-review-card:hover {
    transform: translateY(-8px);
    border-color: #c28213;
    box-shadow: 0 16px 35px rgba(71, 37, 13, 0.12);
}

.g-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 14px;
}

.g-reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.g-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #ffffff;
    font-weight: 800;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.g-name {
    font-size: 1rem;
    font-weight: 700;
    color: #202124;
    margin-bottom: 2px;
}

.g-subtext {
    font-size: 0.76rem;
    color: #70757a;
    display: flex;
    align-items: center;
    gap: 4px;
}

.g-badge-icon {
    color: #fbbc04;
    font-size: 0.82rem;
}

.g-logo-mini svg {
    width: 20px;
    height: 20px;
}

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

.g-date {
    font-size: 0.78rem;
    color: #70757a;
}

.g-review-text {
    font-size: 0.92rem;
    color: #3c4043;
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
}

.g-review-text strong {
    color: #1a0b04;
}

.g-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #f1f3f4;
    font-size: 0.8rem;
    color: #70757a;
}

.g-helpful-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #5f6368;
    background: transparent;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: color 0.2s ease;
    border: none;
    padding: 0;
}

.g-helpful-btn:hover {
    color: #1a73e8;
}

.g-verified-tick {
    color: #1a73e8;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ================= Carousel Navigation Arrows ================= */
.g-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #dcd1c2;
    color: #1a0b04;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.g-carousel-nav:hover {
    background: #c28213;
    border-color: #c28213;
    color: #ffffff;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 20px rgba(194, 130, 19, 0.3);
}

.g-carousel-nav.g-prev {
    left: 0;
}

.g-carousel-nav.g-next {
    right: 0;
}

/* ================= Carousel Dots ================= */
.g-carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.g-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d4c7b8;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.g-carousel-dot.active {
    width: 28px;
    border-radius: 12px;
    background: #c28213;
}

/* ================= Responsive Carousel Adjustments ================= */
@media (max-width: 1024px) {
    .g-carousel-slide {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .g-carousel-wrapper {
        padding: 10px 42px;
    }
}

@media (max-width: 768px) {
    .google-review-header {
        flex-direction: column;
        text-align: center;
        padding: 22px;
    }
    .google-score-col {
        flex-direction: column;
    }
    .g-carousel-slide {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .g-carousel-wrapper {
        padding: 10px 10px;
    }
    .g-carousel-nav {
        display: none; /* Swipe & dots used on mobile */
    }
}
