/* ── Google Reviews Carousel ─────────────────────────────────────────────── */

.grc-wrapper {
    max-width: 1060px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: inherit;
    box-sizing: border-box;
}

/* ── Rating score ─────────────────────────────────────────────────────────── */

.grc-rating-score {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 25px;
}

.grc-rating-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #888;
    margin-bottom: 10px;
}

.grc-rating-main {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    line-height: 1;
    margin-bottom: 6px;
}

.grc-google-label {
    font-size: 24px;
    font-weight: 600;
    color: #22225B;
}

.grc-rating-number {
    font-size: 64px;
    font-weight: 800;
    color: #22225B;
    line-height: 1;
}

.grc-rating-outof {
    font-size: 18px;
    font-weight: 400;
    color: #555;
}

.grc-rating-based {
    font-size: 16px;
    color: #555;
    margin-bottom: 12px;
}

.grc-rating-based strong {
    font-size: 22px;
    font-weight: 800;
    color: #22225B;
}
.adress-recenzii {
    color: #7d7d7d;
    margin-bottom: 20px;
}
.logo-recenzii {
    padding-top: 7px;
}


.component-blue .grc-google-label,
.component-blue .grc-rating-number,
.component-blue .grc-rating-outof,
.component-blue .grc-rating-based,
.component-blue .grc-rating-based strong,
.component-blue .adress-recenzii,
.component-blue .grc-rating-label {
    color: #fff;
}
.component-blue .grc-nav {
    background: #fff;
    color: #22225B;
}
.component-blue .grc-nav:hover:not(:disabled) {
    color: #fff !important;
}
.component-blue .logo-recenzii img {
    background: #fff;
    padding: 10px;
    border-radius: 15px;
}

/* ── Stars ────────────────────────────────────────────────────────────────── */

.grc-stars {
    display: inline-flex;
    gap: 2px;
    line-height: 1;
}

.grc-star {
    font-style: normal;
}

.grc-star-full {
    color: #ffc107;
}

.grc-star-half {
    color: #ffc107;
    opacity: 0.6;
}

.grc-star-empty {
    color: #ddd;
}

.grc-rating-score .grc-star {
    font-size: 26px;
}

.grc-review-stars .grc-star {
    font-size: 15px;
}

/* ── Carousel container ────────────────────────────────────────────────────── */

.grc-carousel-container {
    display: flex;
    align-items: center;
    gap: 14px;
}

.grc-carousel-track-wrapper {
    flex: 1;
    overflow: hidden;
    border-radius: 20px;
    transition: height 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

.grc-carousel-track {
    display: flex;
    align-items: flex-start;
    will-change: transform;
    transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Slides ───────────────────────────────────────────────────────────────── */

.grc-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 28px;
}

.grc-slide-inner {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.10);
    padding: 36px 44px;
    display: flex;
    align-items: center;
    gap: 44px;
    min-height: 180px;
    box-sizing: border-box;
}

/* ── Author column ────────────────────────────────────────────────────────── */

.grc-author-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 120px;
    flex-shrink: 0;
}

.grc-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    flex-shrink: 0;
    background-color: #4CAF50;
}

.grc-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.grc-avatar span {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    user-select: none;
}

.grc-author-name {
    font-size: 15px;
    font-weight: 500;
    color: #22225B;
    margin-bottom: 4px;
    word-break: break-word;
}

.grc-review-time {
    font-size: 12px;
    color: #aaa;
    margin-bottom: 8px;
}

.grc-review-stars {
    margin-top: 2px;
}

/* ── Review column ────────────────────────────────────────────────────────── */

.grc-review-col {
    flex: 1;
    min-width: 0;
}

.grc-review-text {
    font-size: 15px;
    line-height: 1.75;
    color: #333;
    word-break: break-word;
}

/* ── Navigation buttons ───────────────────────────────────────────────────── */

.grc-nav {
    background: #22225B;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    transition: background 0.2s ease, opacity 0.2s ease, transform 0.15s ease;
    user-select: none;
}

.grc-nav:hover:not(:disabled) {
    background: #CF0F0F;
    transform: scale(1.08);
}

.grc-nav:disabled {
    opacity: 0.3;
    cursor: default;
    transform: none;
}

/* ── Dots ─────────────────────────────────────────────────────────────────── */

.grc-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.grc-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #D4D4EF;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.grc-dot.active {
    background: #22225B;
    transform: scale(1.25);
}

.grc-dot:hover:not(.active) {
    background: #9999cc;
}
.grc-nav span {
    position: relative;
    top: -2px;
}

/* ── Error message ────────────────────────────────────────────────────────── */

.grc-error {
    color: #CF0F0F;
    font-size: 14px;
    padding: 10px 16px;
    background: #fff0f0;
    border: 1px solid #ffc8c8;
    border-radius: 6px;
    display: inline-block;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */

@media (max-width: 767px) {
    .grc-slide-inner {
        flex-direction: column;
        align-items: center;
        padding: 28px 22px;
        gap: 22px;
        text-align: center;
    }

    .grc-review-col {
        text-align: left;
    }

    .grc-author-col {
        min-width: unset;
    }

    .grc-rating-number {
        font-size: 48px;
    }

    .grc-nav {
        width: 38px;
        height: 38px;
        font-size: 24px;
    }

    .grc-carousel-container {
        gap: 8px;
    }
    .google-reviews-module.container {
        padding-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .grc-wrapper {
        padding: 0;
    }

    .grc-slide-inner {
        padding: 22px 16px;
    }

    .grc-nav {
        width: 34px;
        height: 34px;
        font-size: 20px;
        position: absolute;
        z-index: 1;
    }
    .grc-carousel-container {
        position: relative;
    }
    button.grc-nav.grc-next {
        right: -8px;
    }
    button.grc-nav.grc-prev {
        left: -8px;
    }
}

.google-reviews-module.container {
    width: 100%;
    max-width: 100%;
}

.google-reviews-module .btn-red,
.google-reviews-module .bg-red,
.google-reviews-module.component-red,
.google-reviews-module .wpcf7-submit {
    background: linear-gradient(90deg, rgb(255 193 7) 0%, rgb(211 161 10) 50%, rgb(201 152 5) 100%);
}
.google-reviews-module .btn-red:after {
    background: rgb(213 160 0);
    background: linear-gradient(90deg, rgb(213 160 0) 0%, rgb(213 160 0) 50%, rgb(255 193 7) 100%);
}