/* ============================================
   GOOGLE REVIEWS CAROUSEL - COMPLETE CSS
   ============================================ */

:root {
    --gold: #FB8C00;
}

/* ===== MAIN WRAPPER - TWO COLUMN LAYOUT ===== */
.grc-main-wrapper {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* ===== SUMMARY CARD - LEFT COLUMN ===== */
.grc-summary-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid #e8eaed;
    width: 250px;
    flex-shrink: 0;
    position: sticky;
    top: 20px;
}

.grc-summary-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.grc-summary-title {
    font-size: 22px;
    font-weight: 700;
    color: #202124;
    margin: 0 0 5px 0;
}

.grc-summary-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 5px 0;
}

.grc-rating-number {
    font-size: 30px;
    font-weight: 700;
    color: #FB8C00;
    line-height: 1;
    margin-bottom: 0;
}

.grc-summary-stars {
    font-size: 28px;
    line-height: 1;
    letter-spacing: 2px;
    display: inline-flex;
    gap: 2px;
}

.grc-summary-stars .grc-star-full {
    color: #FB8C00;
}

.grc-summary-stars .grc-star-half {
    background: linear-gradient(90deg, #FB8C00 50%, #ddd 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.grc-summary-total {
    font-size: 15px;
    color: #5f6368;
    margin: 5px 0;
}

.grc-summary-powered {
    font-size: 14px;
    color: #5f6368;
    margin: 5px 0 15px 0;
}

.grc-google-text {
    font-weight: 600;
    background: linear-gradient(135deg, #4285F4, #34A853, #FBBC05, #EA4335);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.grc-summary-button {
    display: inline-block;
    background: #4285F4;
    color: #ffffff;
    padding: 10px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.3);
    margin-top: 5px;
    border: none;
    cursor: pointer;
}

.grc-summary-button:hover {
    background: #3367d6;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(66, 133, 244, 0.4);
    color: #ffffff;
    text-decoration: none;
}

/* Hide old overlay */
.grc-summary-overlay {
    display: none !important;
}

/* ===== CAROUSEL - RIGHT COLUMN ===== */
.grc-carousel-wrapper {
    flex: 1;
    min-width: 0;
    position: relative;
}

.grc-carousel-wrapper .swiper {
    width: 100%;
    padding: 5px 0;
}

/* ===== REVIEW BUTTON ===== */
.grc-review-button {
    margin-top: 15px;
    text-align: center;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.grc-button {
    display: inline-block;
    background: #4285F4;
    color: #fff !important;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none !important;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
    border: none;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.3);
}

.grc-button:hover {
    background: #3367d6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.4);
    color: #fff !important;
}

.grc-button:active {
    transform: translateY(0);
}

/* ===== EXISTING STYLES ===== */
.grc-star {
    position: relative;
    display: inline-block;
    line-height: 1;
}

.grc-star.full {
    color: var(--gold);
}

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

.grc-star.half:before {
    content: "★";
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    overflow: hidden;
    color: var(--gold);
}

.grc-rating-value {
    color: #FB8C00;
    font-size: 30px;
    font-weight: 700;
    margin-left: 8px;
}

.grc-wrapper {
    position: relative;
    padding: 0;
}

.swiper {
    width: 100%;
}

.grc-google-word {
    margin-top: 0px;
    font-size: 33px;
    font-weight: 700;
}

.blue { color: #4285F4; }
.red { color: #EA4335; }
.yellow { color: #FBBC05; }
.green { color: #34A853; }

.grc-google-icon {
    font-size: 22px;
    font-weight: 700;
    font-family: Arial, sans-serif;
    line-height: 1;
    background: conic-gradient(
        #4285F4 0deg 90deg,
        #34A853 90deg 180deg,
        #FBBC05 180deg 270deg,
        #EA4335 270deg 360deg
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    flex-shrink: 0;
}

.grc-card {
    background: #f1f1f1;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    padding: 20px;
    min-height: 230px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.grc-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.grc-user {
    display: flex;
    gap: 12px;
    align-items: center;
}

.grc-avatar,
.grc-avatar-letter {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.grc-avatar-letter {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}

.grc-name {
    color: #1967D2;
    font-size: 16px;
    font-weight: 700;
}

.grc-date {
    font-size: 12px;
    color: #5f6368;
    line-height: 1.3;
}

.grc-stars {
    margin-top: 15px;
    color: #FB8C00;
    font-size: 24px;
    letter-spacing: 2px;
    text-align: left;
    display: flex;
    gap: 2px;
}

.grc-stars span {
    color: #ddd;
}

.grc-review-text {
    margin-top: 12px;
    line-height: 1.7;
    font-size: 15px;
    color: #333;
    max-height: 110px;
    overflow-y: auto;
    padding-right: 6px;
    text-align: left;
    text-transform: none;
    flex: 1;
}

.grc-review-text::-webkit-scrollbar {
    width: 5px;
}

.grc-review-text::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 20px;
}

.grc-prev,
.grc-next {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9;
    cursor: pointer;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.grc-prev {
    left: -15px;
}

.grc-next {
    right: -15px;
}

.grc-prev:before {
    transform: translate(-30%, -50%) rotate(45deg);
    transition: all 200ms ease-out;
    content: "";
    display: block;
    position: absolute;
    border-style: solid;
    border-width: 0;
    border-bottom-width: 2px;
    border-left-width: 2px;
    border-color: #575757;
    width: 10px;
    height: 10px;
    top: 50%;
    left: 50%;
}

.grc-next:before {
    transform: translate(-70%, -50%) rotate(-135deg);
    transition: all 200ms ease-out;
    content: "";
    display: block;
    position: absolute;
    border-style: solid;
    border-width: 0;
    border-bottom-width: 2px;
    border-left-width: 2px;
    border-color: #575757;
    width: 10px;
    height: 10px;
    top: 50%;
    left: 50%;
}

.swiper-pagination {
    margin-top: 25px;
    position: relative !important;
}

.swiper-pagination-bullet {
    background: #d5d5d5;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #FB8C00;
}

/* ============================================
   RESPONSIVE FIXES
   ============================================ */

@media(max-width: 992px) {
    .grc-main-wrapper {
        flex-direction: column !important;
        gap: 30px !important;
        padding: 0 15px !important;
    }

    .grc-summary-card {
        width: 100% !important;
        position: static !important;
        padding: 25px 20px !important;
        margin-bottom: 0 !important;
    }

    .grc-carousel-wrapper {
        width: 100% !important;
    }

    .grc-prev {
        left: -10px !important;
    }

    .grc-next {
        right: -10px !important;
    }
}

@media(max-width: 768px) {
    .grc-main-wrapper {
        padding: 0 10px !important;
        gap: 20px !important;
    }

    .grc-summary-card {
        padding: 20px 15px !important;
    }

    .grc-summary-title {
        font-size: 18px !important;
    }

    .grc-rating-number {
        font-size: 32px !important;
    }

    .grc-summary-stars {
        font-size: 22px !important;
    }

    .grc-summary-total {
        font-size: 13px !important;
    }

    .grc-summary-powered {
        font-size: 12px !important;
    }

    .grc-summary-button {
        padding: 8px 30px !important;
        font-size: 13px !important;
    }

    .grc-prev,
    .grc-next {
        display: none !important;
    }

    .grc-card {
        padding: 15px !important;
        min-height: 240px !important;
    }

    .grc-stars {
        font-size: 20px !important;
    }

    .grc-review-text {
        font-size: 14px !important;
        max-height: 80px !important;
    }

    .grc-name {
        font-size: 14px !important;
    }

    .grc-date {
        font-size: 11px !important;
    }

    .grc-avatar,
    .grc-avatar-letter {
        width: 40px !important;
        height: 40px !important;
        font-size: 15px !important;
    }

    .grc-google-icon {
        width: 22px !important;
        height: 22px !important;
        font-size: 14px !important;
    }

    .grc-review-button {
        margin-top: 10px !important;
        padding-top: 8px !important;
    }

    .grc-button {
        padding: 8px 20px !important;
        font-size: 12px !important;
    }

    .swiper-pagination {
        margin-top: 20px !important;
    }

    .swiper-pagination-bullet {
        width: 8px !important;
        height: 8px !important;
    }

    .swiper-pagination-bullet-active {
        width: 20px !important;
    }
}

@media(max-width: 480px) {
    .grc-main-wrapper {
        padding: 0 8px !important;
        gap: 15px !important;
    }

    .grc-summary-card {
        padding: 15px 12px !important;
    }

    .grc-summary-title {
        font-size: 16px !important;
    }

    .grc-rating-number {
        font-size: 28px !important;
    }

    .grc-summary-stars {
        font-size: 18px !important;
    }

    .grc-summary-total {
        font-size: 12px !important;
    }

    .grc-summary-powered {
        font-size: 11px !important;
    }

    .grc-summary-button {
        padding: 8px 25px !important;
        font-size: 12px !important;
    }

    .grc-card {
        padding: 12px !important;
        min-height: 200px !important;
    }

    .grc-stars {
        font-size: 16px !important;
        margin-top: 10px !important;
    }

    .grc-review-text {
        font-size: 13px !important;
        max-height: 65px !important;
        margin-top: 8px !important;
        line-height: 1.5 !important;
    }

    .grc-name {
        font-size: 13px !important;
    }

    .grc-date {
        font-size: 10px !important;
    }

    .grc-avatar,
    .grc-avatar-letter {
        width: 32px !important;
        height: 32px !important;
        font-size: 12px !important;
    }

    .grc-google-icon {
        width: 20px !important;
        height: 20px !important;
        font-size: 12px !important;
    }

    .grc-user {
        gap: 8px !important;
    }

    .grc-review-button {
        margin-top: 8px !important;
        padding-top: 6px !important;
    }

    .grc-button {
        padding: 6px 16px !important;
        font-size: 11px !important;
    }

    .swiper-pagination {
        margin-top: 15px !important;
    }

    .swiper-pagination-bullet {
        width: 6px !important;
        height: 6px !important;
    }

    .swiper-pagination-bullet-active {
        width: 16px !important;
    }

    /* Hide any extra theme elements that might appear */
    .grc-card .webshop-producten,
    .grc-card .producten,
    .grc-card .webshop {
        display: none !important;
    }
}

/* Fix for any theme conflicts */
.grc-card * {
    max-width: 100% !important;
}

.grc-card .grc-review-text {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

/* Ensure carousel doesn't overflow on mobile */
.grc-carousel-wrapper {
    overflow: hidden !important;
}

.grc-carousel-wrapper .swiper-slide {
    height: auto !important;
}