.google-reviews-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    border-radius: 10px;
    padding: 12px 16px;
    text-align: center;
    background: #fff;
    margin: 10px 0;
    text-decoration: none !important;
    cursor: pointer;
}

.google-reviews-logo {
    margin-bottom: 5px;
}

.google-reviews-logo img {
    width: 30px;
    height: 30px;
}

.google-reviews-rating {
    display: flex;
    font-size: large;
    align-items: center;
    gap: 5px;
}

.google-reviews-rating span {
    font-weight: bold;
    font-size: 22px;
    line-height: 28px;
    color: rgb(17, 17, 17);
    word-break: normal !important;
    font-family: 'Manrope', Helvetica, Arial, sans-serif
}

.google-reviews-badge > .google-reviews-rating > .stars {
    pointer-events: none !important;
    display: flex;
    align-items: center;

    .fa-star-half-alt {
        color: #f39f25;
    }
}

.google-reviews-badge > .google-reviews-rating > .stars > i {
    margin: 0 !important;
}

.google-reviews-link a {
    padding: 0;
    line-height: 1.17;
    text-align: center;
    color: rgba(17, 17, 17, 0.5) !important;
    font-size: 12px !important;
    text-decoration: underline;
}

.google-reviews-link a:hover {
    color: rgba(17, 17, 17, 0.9);
}

.google-badge-modal {
    width: 500px;
    border-radius: 20px !important;

    .modal-header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media(max-width: 500px) {
    .google-badge-modal {
        width: 100%;
        position: fixed;

    }
}


.badge-modal-reviews {
    display: flex;
    flex-direction: column;
    align-items: center;

    .modal-title {
        display: flex;
        align-items: center;
        font-size: x-large;
        font-weight: bold;
    }

    .modal-rating {
        display: flex;
        align-items: center;

        .fa-star {
            color: #f39f25;
        }
    }

    .modal-link {
        margin-top: 15px;
        padding: 10px 0;

        .google-create-review-link {
            color: white !important;
            background-color: #0a58ca !important;
            text-decoration: none !important;
            padding: 10px 15px !important;
            font-weight: bold !important;
            border-radius: 100px !important;
        }
    }
}

.badge-modal-card {
    padding: 20px 25px;
    margin: 10px 0;
    border-radius: 15px;
    border: 3px solid #f2f2f2;

    .carousel-item {
        display: flex;
        flex-direction: column;
        align-items: start;
        gap: 10px;
    }

    .carousel-item > .google-reviews-profile > .individual-review > .review-name {
        font-size: 15px !important;
        line-height: 18px !important;
        font-weight: 600 !important;
        overflow: hidden !important;
        white-space: nowrap !important;
        text-overflow: ellipsis !important;
        max-width: 100% !important;
    }
    .carousel-item > .stars {
        display: flex;
        align-items: center;
    }

    .carousel-item > .stars {
        margin: 0 !important;
    }

    .carousel-item > .modal-review-information {
        display: block;
    }

    .carousel-item > .modal-review-information > .badge-review-information{
        .review-information-text {
            display: block;
            text-align: start;
            text-size-adjust: 100%;
            font-size: 16px;
            line-height: 23px;
        }

        .modal-read-more-btn {
            font-size: 16px !important;
            color: rgb(25, 123, 255) !important;
        }

        .modal-read-more-btn:hover {
            text-decoration: underline;
        }
    }
}

@media(max-width: 500px) {
    .google-reviews-badge {
        padding: 10px 16px;
        margin: 0px 10px;
    }
}

/* Carousel */
.blocklab-carousel {
    pointer-events: none !important;
}

.google-carousel {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 10px;
    gap: 30px;

    .title {
        line-height: 1.32;
        text-wrap: balance;
        font-size: 24px;
        font-weight: bold;
        font-style: normal;
        color: rgb(17, 17, 17);
    }

    .carousel {
        width: 100%;
        .carousel-item {
            word-break: normal !important;
            font-family: 'Manrope', Helvetica, Arial, sans-serif;
            background-color: rgb(246, 246, 248);
            padding: 20px;
            display: flex;
            flex-direction: column;
            align-items: start;
            gap: 5px;
            border-radius: 8px;
            border: 1px solid transparent;
            height: 190px;

            .stars {
                display: flex;
                align-items: center;
                height: 100%;
            }

            .stars i {
                margin: 0 !important;
            }
        }
    }

    .swiper-button-next-google {
        right: 0;
    }

    .swiper-button-prev-google {
        left: 0;
    }

    .swiper-button-next-google, .swiper-button-prev-google {
        font-size: x-large;
        width: 4rem;
        height: 4rem;
        position: absolute;
        align-content: center;
        z-index: 10;
        top: 70px;
        color: #007aff;
        text-align: center;
    }

    @media only screen {
        .swiper-button-next-google:hover, .swiper-button-prev-google:hover {
            background-color: rgba(77, 77, 77, 0.2);
            border-radius: 100%;
        }
    }
}

.google-reviews-info {
    display: flex;
    border-radius: 10px;
    width: 100%;

    flex-wrap: wrap;
    -webkit-box-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    align-items: center;
    background-color: rgb(246, 246, 248);
    padding: 20px;

    .google-create-review-link {
        text-decoration: none !important;
        padding: 8px 15px !important;
        border-radius: 24px !important;
        border-color: rgba(0, 0, 0, 0) !important;
        line-height: 1.32 !important;
        color: rgb(255, 255, 255) !important;
        font-family: inherit !important;
        font-weight: bold !important;
        font-size: 14px !important;
        background-color: rgb(25, 123, 255) !important;
        border-width: 2px !important;
    }

    .google-rating {
        display: flex;
        flex-direction: column;
        align-items: start;
        font-weight: bold;
        font-size: larger;

        .google-carousel-reviews-rating {
            font-size: larger;
            display: flex;
            align-items: center;

            .stars {
                color: #f39f25;
            }

            .stars i {
                margin: 0 !important;
            }

            .total-reviews {
                color: rgba(17, 17, 17, 0.5);
                font-size: 12px;
                line-height: 14px;
                font-weight: normal;
            }
        }

        .google-carousel-reviews-rating span{
            font-weight: bold;
            font-size: 22px;
            line-height: 28px;
            color: rgb(17, 17, 17);
            word-break: normal !important;
            font-family: 'Manrope', Helvetica, Arial, sans-serif
        }
    }

    .google-rating > .google-rating-title {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .google-rating > .google-rating-title img {
        height: 44px;
    }

    .google-rating > .google-rating-title span{
        font-weight: bold;
        font-size: 20px;
        line-height: 28px;
        color: rgb(17, 17, 17);
        word-break: normal !important;
        font-family: 'Manrope', Helvetica, Arial, sans-serif;
        text-transform: capitalize;
    }
}

.google-reviews-info > .google-rating > .google-carousel-reviews-rating > .stars {
    pointer-events: none !important;
    display: flex !important;
    align-items: center !important;

    .fa-star-half-alt {
        color: #f39f25;
    }
}

.google-reviews-info > .google-rating > .google-carousel-reviews-rating > .stars i {
    margin: 0 !important;
}

.google-review-information {
    display: flex;
    flex-direction: column;
    align-items: start;

    .review-information-text {
        position: relative !important;
        overflow: hidden !important;
        max-height: 50px !important;
        transition-duration: 0s !important;
        cursor: default;
        text-align: start !important;
        text-size-adjust: 100% !important;
        font-size: 16px !important;
        line-height: 23px !important;
        color: rgb(17, 17, 17) !important;
    }
}

.google-reviews-profile {
    display: flex;
    align-items: center;
    gap: 10px;

    .individual-review {
        display: flex;
        flex-direction: column;
        align-items: start;

        .review-name {
            font-weight: bold !important;
            font-size: medium !important;
            color: black !important;
            text-decoration: none !important;
        }

        .review-date {
            font-size: 12px;
            line-height: 16px;
            color: rgba(17, 17, 17, 0.5);
            pointer-events: none;
        }
    }

    .review-avatar {
        width: 4rem;
    }
}

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

.google-review-modal {
    border-radius: 8px !important;
    padding: 20px !important;
    width: 100% !important;

    .modal-header {
        font-size: large;
    }

    .modal-body {
        display: flex;
        flex-direction: column;
        align-items: start;
        gap: 10px;
    }

    .stars {
        font-size: large;
    }

    .review-information-text {
        flex: 0 1 0%;
        position: relative;
        z-index: 1;
        max-width: 100%;
        pointer-events: all;
        max-height: 100%;
    }

    .review-information-text span {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        text-size-adjust: 100% !important;
        font-size: 18px !important;
        line-height: 26px !important;
        color: rgb(17, 17, 17) !important;
    }
}

.read-more-btn {
    padding: 0 !important;
    font-size: 16px !important;
    color: rgb(25, 123, 255) !important;
    text-decoration: none !important;
}

.read-more-btn:hover {
    text-decoration: underline !important;
    cursor: pointer !important;
}

@media(max-width: 500px) {

    .google-reviews-info {
        display: flex;
        flex-direction: column;
        padding: 10px 0 20px 0;
        gap: 15px;

        .google-rating {
            align-items: center;
        }
    }

    .swiper-button-next-google:focus, .swiper-button-prev-google:focus {
        background-color: rgba(77, 77, 77, 0.2);
        border-radius: 100%;
    }
}