/* ============================================================
   Google Reviews — Section & Page
   ============================================================ */

/* ---- Section wrapper ---- */
.google-reviews-section {
    padding: 2.5rem 0 1.5rem;
}

.google-reviews-section .section-title {
    font-size: clamp(1.35rem, 2.5vw, 2rem);
    font-weight: 700;
    color: var(--color-primary, #3d1d04);
    margin-bottom: 1rem;
}

/* ---- Overall rating badge ---- */
.gr-overall-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #E68A8F;
    color: #fff;
    padding: 0.45rem 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1;
}

/* ---- Star row (in badge & card) ---- */
.gr-stars {
    display: flex;
    gap: 3px;
    align-items: center;
}

.gr-stars .bi-star-fill { color: #fbbc04; }
.gr-stars .bi-star-half { color: #fbbc04; }
.gr-stars .bi-star       { color: #d1d1d1; }

/* ---- Card ---- */
.gr-card {
    background: rgba(255, 255, 255, 0.70);
    border: 1px solid rgba(61, 29, 4, 0.10);
    border-radius: 14px;
    padding: 1.25rem 1.1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    box-shadow: 0 2px 12px rgba(61, 29, 4, 0.08);
    transition: box-shadow 0.25s, transform 0.25s;
    height: 100%;
    min-height: 180px;
}

.gr-card:hover {
    box-shadow: 0 6px 22px rgba(61, 29, 4, 0.15);
    transform: translateY(-3px);
}

/* ---- Avatar (circular) ---- */
.gr-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    object-fit: cover;
    overflow: hidden;
    border: 2px solid #E68A8F;
    flex-shrink: 0;
}

.gr-avatar-placeholder {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    user-select: none;
}

/* ---- Author info ---- */
.gr-author {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-primary, #3d1d04);
    line-height: 1.3;
}

.gr-date {
    font-size: 0.78rem;
    color: #999;
    margin-top: 1px;
}

/* ---- Google branding tag ---- */
.gr-google-tag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.72rem;
    color: #aaa;
    font-weight: 500;
}

/* ---- Review text ---- */
.gr-text {
    font-size: 0.91rem;
    color: #4a4a4a;
    line-height: 1.6;
    flex: 1;
}

.gr-text-clamped {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gr-text-full {
    display: block;
    overflow: visible;
}

/* ---- Carousel item: stretch card to equal height ---- */
.reviews-carousel .item {
    padding: 4px 8px 12px;
    display: flex;
}

.reviews-carousel .item .gr-card {
    width: 100%;
}

/* ---- Custom external nav buttons ---- */
.rv-carousel-wrap {
    position: relative;
    padding: 0 48px;
}

.rv-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    background: #E68A8F;
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1rem;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0.85;
    box-shadow: 0 2px 8px rgba(230, 138, 143, 0.35);
    transition: opacity 0.2s, background 0.2s, transform 0.2s;
    padding: 0;
    margin: 0;
}

.rv-nav:hover {
    opacity: 1;
    background: #c96b70;
    transform: translateY(-50%) scale(1.08);
}

.rv-nav-prev { left: 0; }
.rv-nav-next { right: 0; }

/* ---- Dots ---- */
.reviews-carousel .owl-dots {
    margin-top: 10px;
}

.reviews-carousel .owl-dots .owl-dot span {
    background: rgba(61, 29, 4, 0.20) !important;
    width: 8px;
    height: 8px;
    transition: background 0.2s, width 0.2s;
}

.reviews-carousel .owl-dots .owl-dot.active span {
    background: #E68A8F !important;
    width: 20px;
    border-radius: 4px;
}

/* ---- "See all" button ---- */
.gr-see-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #E68A8F;
    border: 2px solid #E68A8F;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.55rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 3px 10px rgba(230,138,143,0.35);
}

.gr-see-all-btn:hover {
    background: #d9787e;
    border-color: #d9787e;
    color: #fff;
    box-shadow: 0 5px 16px rgba(230,138,143,0.45);
}

/* ---- Full reviews page ---- */
.google-reviews-page .gr-card {
    background: rgba(255, 255, 255, 0.70);
    border-color: rgba(61, 29, 4, 0.12);
    min-height: unset;
}

.google-reviews-page .gr-text-clamped {
    -webkit-line-clamp: unset;
    overflow: visible;
    display: block;
}

/* ---- Responsive ---- */
@media (max-width: 767px) {
    .rv-carousel-wrap {
        padding: 0;
    }
    .gr-card { padding: 1rem 0.9rem 0.85rem; }
}

@media (max-width: 575px) {
    .google-reviews-section { padding: 1.5rem 0 1rem; }
    .gr-overall-badge { font-size: 0.95rem; padding: 0.4rem 1rem; }
    .gr-text-clamped { -webkit-line-clamp: 4; }
}
