/* ── Google Reviews section ─────────────────────────────── */
.gr-section {
    padding: 48px 0 56px;
    background: #fff;
}

.gr-wrap {
    margin: 0 auto;
}

/* ── Header ─────────────────────────────────────────────── */
.gr-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 16px;
    flex-wrap: wrap;
}

.gr-header__left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gr-header__title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gr-google-logo {
    height: 24px;
    width: auto;
    flex-shrink: 0;
}

.gr-header__label {
    font-size: 1.75rem;
    font-weight: 700;
    color: #202124;
}

.gr-header__rating {
    display: flex;
    align-items: center;
    gap: 6px;
}

.gr-header__avg {
    font-size: 2rem;
    font-weight: 700;
    color: #202124;
    line-height: 1;
}

.gr-header__stars {
    display: flex;
    gap: 1px;
}

.gr-header__count {
    font-size: 1.1rem;
    color: #70757a;
}

/* ── Write a Review button ──────────────────────────────── */
.gr-write-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border: 1px solid #dadce0;
    border-radius: 100px;
    background: #fff;
    color: #1a73e8;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s, box-shadow 0.15s;
    align-self: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.gr-write-btn:hover {
    background: #f1f3f4;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
    text-decoration: none;
    color: #1a73e8;
}

/* ── Stars (shared) ─────────────────────────────────────── */
.gr-star {
    font-size: 25px;
    color: #fbbc04;
}

.gr-star--empty {
    color: #dadce0;
}

.gr-star--half {
    color: #fbbc04;
    opacity: 0.5;
}

/* ── Cards carousel ─────────────────────────────────────── */
.gr-carousel {
    /* owl applies width */
}

.gr-carousel .owl-stage {
    display: flex;
}

.gr-carousel .owl-item {
    display: flex;
}

.gr-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    box-sizing: border-box;
}

.gr-card__top {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Avatar */
.gr-card__avatar-wrap {
    flex-shrink: 0;
}

.gr-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.gr-card__avatar--placeholder {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #5f6368;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Meta */
.gr-card__meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.gr-card__author {
    font-size: 16px;
    line-height: 1.2em;
    font-weight: 600;
    color: #202124;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gr-card__time {
    font-size: 11px;
    line-height: 1.2em;
    color: #70757a;
}

/* Google G logo */
.gr-card__glogo {
    flex-shrink: 0;
    margin-left: auto;
}

/* Stars in card */
.gr-card__stars {
    display: flex;
    gap: 1px;
}

.gr-card__stars .gr-star {
    font-size: 20px;
}

/* Text */
.gr-card__text {
    font-size: 15px;
    color: #3c4043;
    line-height: 1.6em;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Featured badge */
.gr-card__featured {
    font-size: 0.72rem;
    color: #f59e0b;
    font-weight: 600;
    margin-top: auto;
}

/* ── Owl nav overrides ───────────────────────────────────── */
.gr-section .owl-carousel .owl-stage-outer { padding: 0 20px; }
.gr-section .owl-carousel .owl-stage { margin: 0 -19px; }
.gr-section .owl-carousel .owl-nav button.owl-prev { left: -20px; }
.gr-section .owl-carousel .owl-nav button.owl-next { right: -20px; }
.gr-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff !important;
    border: 1px solid #dadce0 !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12) !important;
    font-size: 26px  !important;
    color: #5f6368 !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.15s;
}

.gr-carousel .owl-nav button:hover {
    box-shadow: 0 3px 10px rgba(0,0,0,0.18) !important;
    color: #202124 !important;
}

.gr-carousel .owl-nav .owl-prev { left: -70px; }
.gr-carousel .owl-nav .owl-next { right: -70px; }

.gr-carousel .owl-dots {
    text-align: center;
    margin-top: 20px;
}

.gr-carousel .owl-dots .owl-dot span {
    background: #dadce0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: block;
    margin: 0 3px;
    transition: background 0.2s;
}

.gr-carousel .owl-dots .owl-dot.active span,
.gr-carousel .owl-dots .owl-dot:hover span {
    background: #1a73e8;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 767px) {
    .gr-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .gr-write-btn {
        align-self: flex-start;
    }

    .gr-section .owl-carousel .owl-nav button.owl-prev { left: -15px; }
    .gr-section .owl-carousel .owl-nav button.owl-next { right: -15px; }
}
