/* Codex: AF Google Reviews layout hardening */
.ag-google-reviews-module-slot {
    clear: both;
    width: 100%;
    max-width: 1180px;
    margin: 44px auto 52px;
    padding: 0 16px;
    box-sizing: border-box;
}

.ag-google-reviews-module-slot--home {
    margin-top: 52px;
}

.ag-google-reviews-module-slot--listing {
    max-width: 100%;
    margin: 42px auto 48px;
    padding-right: 0;
    padding-left: 0;
}

.ag-google-reviews-module-slot--cms {
    margin-top: 38px;
    margin-bottom: 56px;
}

.ag-google-reviews-module-slot #googleReviewsContainer.container {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 26px 26px 30px;
    overflow: hidden;
    border: 1px solid rgba(205, 167, 86, 0.28);
    border-radius: 22px;
    background: linear-gradient(135deg, #fffaf0 0%, #f3fffd 100%) !important;
    box-shadow: 0 18px 40px rgba(30, 41, 59, 0.08);
}

.ag-google-reviews-module-slot #googleReviewsContainer > .row {
    row-gap: 18px;
    margin-right: -10px;
    margin-left: -10px;
}

.ag-google-reviews-module-slot #googleReviewsContainer > .row > [class*="col-"] {
    padding-right: 10px;
    padding-left: 10px;
}

.ag-google-reviews-module-slot #googleReviewsGlobal {
    height: auto !important;
    min-height: 244px;
    padding: 20px !important;
    border: 1px solid rgba(56, 189, 248, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 10px 25px rgba(30, 41, 59, 0.07);
}

.ag-google-reviews-module-slot #googleReviewsGlobal .review-global {
    width: 100%;
}

.ag-google-reviews-module-slot #googleReviewsGlobal #globalNoteTitle {
    margin-bottom: 8px;
    color: #143d6b !important;
    font-size: 1.35rem;
    line-height: 1.15;
}

.ag-google-reviews-module-slot #googleReviewsGlobal #logoGoogle {
    width: 150px !important;
    min-width: 0 !important;
    height: 42px !important;
    margin: 10px auto 8px;
}

.ag-google-reviews-module-slot #googleReviewsGlobal .iconsReviews {
    display: flex;
    justify-content: center;
    gap: 3px;
    line-height: 1;
}

.ag-google-reviews-module-slot #googleReviewsGlobal .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    margin: 7px 4px 0;
    padding: 0.45rem 0.8rem;
    border: 0;
    border-radius: 999px;
    background: var(--primary-color, #cda756) !important;
    color: #fff !important;
    box-shadow: none;
    line-height: 1.2;
}

.ag-google-reviews-module-slot #googleReviewsGlobal .btn-secondary:hover,
.ag-google-reviews-module-slot #googleReviewsGlobal .btn-secondary:focus {
    background: var(--color-turquoise, #38bdf8) !important;
    color: #fff !important;
    text-decoration: none;
}

.ag-google-reviews-module-slot #googleReviews {
    width: 100%;
    padding: 8px 36px 18px !important;
    box-sizing: border-box;
}

.ag-google-reviews-module-slot #googleReviews:not(.slick-initialized) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.ag-google-reviews-module-slot #googleReviews:not(.slick-initialized) .containerItems:nth-of-type(n+4) {
    display: none;
}

.ag-google-reviews-module-slot #googleReviews .slick-list {
    margin: 0 -6px;
    padding: 3px 0 12px !important;
    overflow: hidden;
}

.ag-google-reviews-module-slot #googleReviews .slick-track {
    display: flex !important;
    align-items: stretch;
}

.ag-google-reviews-module-slot #googleReviews .slick-slide {
    height: auto !important;
}

.ag-google-reviews-module-slot #googleReviews .containerItems {
    display: flex !important;
    flex-direction: column;
    height: auto !important;
    min-height: 246px;
    margin: 8px !important;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 18px !important;
    box-shadow: 0 8px 20px rgba(30, 41, 59, 0.08) !important;
}

.ag-google-reviews-module-slot #googleReviews:not(.slick-initialized) .containerItems {
    margin: 0 !important;
}

.ag-google-reviews-module-slot #googleReviews .containerItems > .container {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    width: 100%;
    max-width: none;
    height: 100%;
    padding: 16px !important;
}

.ag-google-reviews-module-slot #googleReviews .containerItems .review_item {
    align-items: center !important;
    justify-content: flex-start !important;
    min-height: 44px;
    margin-bottom: 10px;
}

.ag-google-reviews-module-slot #googleReviews .containerItems .review_item .imgReviews {
    flex: 0 0 auto;
    margin-right: 10px !important;
}

.ag-google-reviews-module-slot #googleReviews .containerItems .review_item .imgReviews img {
    width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;
    object-fit: cover;
    border-radius: 50%;
}

.ag-google-reviews-module-slot #googleReviews .containerItems .review_item .linkReviews {
    min-width: 0;
    line-height: 1.2 !important;
}

.ag-google-reviews-module-slot #googleReviews .containerItems .review_item .linkReviews .author_name {
    max-width: 100%;
    overflow: hidden;
    color: #143d6b !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ag-google-reviews-module-slot #googleReviews .containerItems .review_item .linkReviews .date_review {
    color: var(--color-text-muted, #64748b) !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
}

.ag-google-reviews-module-slot #googleReviews .containerItems .review_stars_text {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
}

.ag-google-reviews-module-slot #googleReviews .containerItems .review_stars_text .iconsReviews {
    display: flex;
    gap: 2px;
    margin-bottom: 8px;
    line-height: 1;
}

.ag-google-reviews-module-slot #googleReviews .containerItems .review_stars_text i {
    padding-bottom: 0;
}

.ag-google-reviews-module-slot #googleReviews .containerItems .review_stars_text p {
    display: -webkit-box;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    overflow: hidden !important;
    color: #334155 !important;
    font-size: 14px !important;
    line-height: 1.48 !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    line-clamp: 5;
}

.ag-google-reviews-module-slot--listing #googleReviewsContainer.container {
    padding: 22px 22px 26px;
}

.ag-google-reviews-module-slot--listing #googleReviewsGlobal,
.ag-google-reviews-module-slot--listing #googleReviews .containerItems {
    min-height: 224px;
}

.ag-google-reviews-module-slot--listing #googleReviews .containerItems .review_stars_text p {
    font-size: 13px !important;
    -webkit-line-clamp: 4;
    line-clamp: 4;
}

.ag-google-reviews-module-slot--cms #googleReviews .containerItems {
    min-height: 282px;
}

.ag-google-reviews-module-slot--cms #googleReviews .containerItems .review_stars_text p {
    -webkit-line-clamp: 8;
    line-clamp: 8;
}

.ag-google-reviews-module-slot #googleReviews.slick-slider .af-arrow {
    position: absolute;
    top: 50% !important;
    z-index: 5;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-turquoise, #38bdf8), var(--color-green, #34d399));
    box-shadow: 0 8px 18px rgba(30, 41, 59, 0.16);
    color: #fff !important;
    font-size: 23px !important;
    line-height: 1 !important;
    transform: translateY(-50%);
}

.ag-google-reviews-module-slot #googleReviews.slick-slider .arrow-icon-prev {
    left: -2px !important;
}

.ag-google-reviews-module-slot #googleReviews.slick-slider .arrow-icon-next {
    right: -2px !important;
}

#googleFloatingBadge {
    max-width: min(325px, calc(100vw - 24px));
    border: 1px solid rgba(205, 167, 86, 0.28);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96) !important;
    color: #143d6b !important;
    box-shadow: 0 14px 30px rgba(30, 41, 59, 0.14);
}

#googleFloatingBadge .closeBadge {
    color: var(--color-text-muted, #64748b);
}

@media (max-width: 991px) {
    .ag-google-reviews-module-slot #googleReviewsContainer.container {
        padding: 20px 18px 24px;
    }

    .ag-google-reviews-module-slot #googleReviewsGlobal {
        min-height: 0;
    }
}

@media (max-width: 767px) {
    .ag-google-reviews-module-slot,
    .ag-google-reviews-module-slot--home,
    .ag-google-reviews-module-slot--listing,
    .ag-google-reviews-module-slot--cms {
        margin: 30px auto 36px;
        padding: 0 12px;
    }

    .ag-google-reviews-module-slot #googleReviewsContainer.container {
        padding: 16px 12px 18px;
        border-radius: 18px;
    }

    .ag-google-reviews-module-slot #googleReviewsContainer > .row {
        margin-right: 0;
        margin-left: 0;
    }

    .ag-google-reviews-module-slot #googleReviewsContainer > .row > [class*="col-"] {
        padding-right: 0;
        padding-left: 0;
    }

    .ag-google-reviews-module-slot #googleReviewsGlobal {
        margin-bottom: 12px;
        padding: 16px !important;
    }

    .ag-google-reviews-module-slot #googleReviewsGlobal #globalNoteTitle {
        font-size: 1.25rem;
    }

    .ag-google-reviews-module-slot #googleReviews {
        padding: 4px 30px 16px !important;
    }

    .ag-google-reviews-module-slot #googleReviews:not(.slick-initialized) {
        grid-template-columns: 1fr;
    }

    .ag-google-reviews-module-slot #googleReviews:not(.slick-initialized) .containerItems:nth-of-type(n+2) {
        display: none;
    }

    .ag-google-reviews-module-slot #googleReviews .slick-list {
        margin: 0;
        padding-bottom: 10px !important;
    }

    .ag-google-reviews-module-slot #googleReviews .containerItems {
        min-height: 214px;
        margin: 6px !important;
    }

    .ag-google-reviews-module-slot #googleReviews .containerItems > .container {
        padding: 14px !important;
    }

    .ag-google-reviews-module-slot #googleReviews .containerItems .review_stars_text p,
    .ag-google-reviews-module-slot--listing #googleReviews .containerItems .review_stars_text p,
    .ag-google-reviews-module-slot--cms #googleReviews .containerItems .review_stars_text p {
        font-size: 13px !important;
        -webkit-line-clamp: 5;
    line-clamp: 5;
    }

    .ag-google-reviews-module-slot #googleReviews.slick-slider .arrow-icon-prev {
        left: -1px !important;
    }

    .ag-google-reviews-module-slot #googleReviews.slick-slider .arrow-icon-next {
        right: -1px !important;
    }

    #googleFloatingBadge {
        right: 10px;
        bottom: 70px;
        transform: scale(0.92);
        transform-origin: right bottom;
    }
}

/* Codex: AF Google Reviews text scroll and promotions alignment */
.ag-google-reviews-module-slot #googleReviews .containerItems {
    height: 246px !important;
    min-height: 246px;
}

.ag-google-reviews-module-slot #googleReviews .containerItems .review_stars_text p {
    display: block !important;
    height: 124px !important;
    max-height: 124px !important;
    padding-right: 6px;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-box-orient: initial;
    -webkit-line-clamp: initial;
    line-clamp: initial;
    scrollbar-width: thin;
    scrollbar-color: rgba(56, 189, 248, 0.55) transparent;
}

.ag-google-reviews-module-slot #googleReviews .containerItems .review_stars_text p::-webkit-scrollbar {
    width: 5px;
}

.ag-google-reviews-module-slot #googleReviews .containerItems .review_stars_text p::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.55);
}

.ag-google-reviews-module-slot #googleReviews .containerItems .review_stars_text p::-webkit-scrollbar-track {
    background: transparent;
}

.ag-google-reviews-module-slot--listing #googleReviewsGlobal,
.ag-google-reviews-module-slot--listing #googleReviews .containerItems {
    height: 224px !important;
    min-height: 224px;
}

.ag-google-reviews-module-slot--listing #googleReviews .containerItems .review_stars_text p {
    height: 102px !important;
    max-height: 102px !important;
    font-size: 13px !important;
}



@media (max-width: 767px) {
    .ag-google-reviews-module-slot #googleReviews .containerItems {
        height: 214px !important;
        min-height: 214px;
    }

    .ag-google-reviews-module-slot #googleReviews .containerItems .review_stars_text p,
    .ag-google-reviews-module-slot--listing #googleReviews .containerItems .review_stars_text p,
    .ag-google-reviews-module-slot--cms #googleReviews .containerItems .review_stars_text p {
        display: block !important;
        height: 88px !important;
        max-height: 88px !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-box-orient: initial;
        -webkit-line-clamp: initial;
        line-clamp: initial;
    }

}


/* Codex: make review text truly scrollable inside home/listing/promotions cards */
.ag-google-reviews-module-slot--home #googleReviews .containerItems .review_stars_text,
.ag-google-reviews-module-slot--listing #googleReviews .containerItems .review_stars_text {
    display: block !important;
    height: 144px !important;
    max-height: 144px !important;
    min-height: 0 !important;
    padding-right: 7px;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: rgba(56, 189, 248, 0.65) rgba(226, 232, 240, 0.35);
    touch-action: pan-y;
}

.ag-google-reviews-module-slot--listing #googleReviews .containerItems .review_stars_text {
    height: 122px !important;
    max-height: 122px !important;
}

.ag-google-reviews-module-slot--home #googleReviews .containerItems .review_stars_text::-webkit-scrollbar,
.ag-google-reviews-module-slot--listing #googleReviews .containerItems .review_stars_text::-webkit-scrollbar {
    width: 6px;
}

.ag-google-reviews-module-slot--home #googleReviews .containerItems .review_stars_text::-webkit-scrollbar-thumb,
.ag-google-reviews-module-slot--listing #googleReviews .containerItems .review_stars_text::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.65);
}

.ag-google-reviews-module-slot--home #googleReviews .containerItems .review_stars_text::-webkit-scrollbar-track,
.ag-google-reviews-module-slot--listing #googleReviews .containerItems .review_stars_text::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(226, 232, 240, 0.35);
}

.ag-google-reviews-module-slot--home #googleReviews .containerItems .review_stars_text p,
.ag-google-reviews-module-slot--listing #googleReviews .containerItems .review_stars_text p,
body#prices-drop #content-wrapper .ag-google-reviews-module-slot--listing #googleReviews .containerItems .review_stars_text p {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    padding-right: 0 !important;
    overflow: visible !important;
    -webkit-box-orient: initial !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
}

body#prices-drop #content-wrapper .ag-google-reviews-module-slot--listing #googleReviews .containerItems .review_stars_text {
    height: 122px !important;
    max-height: 122px !important;
    overflow-y: auto !important;
}

@media (max-width: 767px) {
    .ag-google-reviews-module-slot--home #googleReviews .containerItems .review_stars_text,
    .ag-google-reviews-module-slot--listing #googleReviews .containerItems .review_stars_text,
    body#prices-drop #content-wrapper .ag-google-reviews-module-slot--listing #googleReviews .containerItems .review_stars_text {
        height: 94px !important;
        max-height: 94px !important;
        overflow-y: auto !important;
    }

    .ag-google-reviews-module-slot--home #googleReviews .containerItems .review_stars_text p,
    .ag-google-reviews-module-slot--listing #googleReviews .containerItems .review_stars_text p,
    body#prices-drop #content-wrapper .ag-google-reviews-module-slot--listing #googleReviews .containerItems .review_stars_text p {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        -webkit-line-clamp: unset !important;
        line-clamp: unset !important;
    }
}

/* Codex: final review cards text wrapping + internal paragraph scroll */
.ag-google-reviews-module-slot--home #googleReviews .containerItems,
.ag-google-reviews-module-slot--listing #googleReviews .containerItems {
    height: 260px !important;
    min-height: 260px !important;
    max-height: 260px !important;
}

.ag-google-reviews-module-slot--home #googleReviews .containerItems > .container,
.ag-google-reviews-module-slot--listing #googleReviews .containerItems > .container {
    min-width: 0 !important;
    overflow: hidden !important;
}

.ag-google-reviews-module-slot--home #googleReviews .containerItems .review_stars_text,
.ag-google-reviews-module-slot--listing #googleReviews .containerItems .review_stars_text,
body#prices-drop #content-wrapper .ag-google-reviews-module-slot--listing #googleReviews .containerItems .review_stars_text {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    min-width: 0 !important;
    min-height: 0 !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    padding-right: 0 !important;
    overflow: hidden !important;
    white-space: normal !important;
}

.ag-google-reviews-module-slot--home #googleReviews .containerItems .review_stars_text .iconsReviews,
.ag-google-reviews-module-slot--listing #googleReviews .containerItems .review_stars_text .iconsReviews,
body#prices-drop #content-wrapper .ag-google-reviews-module-slot--listing #googleReviews .containerItems .review_stars_text .iconsReviews {
    flex: 0 0 auto !important;
    margin-bottom: 10px !important;
}

.ag-google-reviews-module-slot--home #googleReviews .containerItems .review_stars_text p,
.ag-google-reviews-module-slot--listing #googleReviews .containerItems .review_stars_text p,
body#prices-drop #content-wrapper .ag-google-reviews-module-slot--listing #googleReviews .containerItems .review_stars_text p {
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 8px 0 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    color: #334155 !important;
    font-size: 14px !important;
    line-height: 1.48 !important;
    text-align: left !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    -webkit-box-orient: initial !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: rgba(56, 189, 248, 0.7) rgba(226, 232, 240, 0.45);
    touch-action: pan-y !important;
}

.ag-google-reviews-module-slot--home #googleReviews .containerItems .review_stars_text p::-webkit-scrollbar,
.ag-google-reviews-module-slot--listing #googleReviews .containerItems .review_stars_text p::-webkit-scrollbar,
body#prices-drop #content-wrapper .ag-google-reviews-module-slot--listing #googleReviews .containerItems .review_stars_text p::-webkit-scrollbar {
    width: 6px;
}

.ag-google-reviews-module-slot--home #googleReviews .containerItems .review_stars_text p::-webkit-scrollbar-thumb,
.ag-google-reviews-module-slot--listing #googleReviews .containerItems .review_stars_text p::-webkit-scrollbar-thumb,
body#prices-drop #content-wrapper .ag-google-reviews-module-slot--listing #googleReviews .containerItems .review_stars_text p::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.7);
}

.ag-google-reviews-module-slot--home #googleReviews .containerItems .review_stars_text p::-webkit-scrollbar-track,
.ag-google-reviews-module-slot--listing #googleReviews .containerItems .review_stars_text p::-webkit-scrollbar-track,
body#prices-drop #content-wrapper .ag-google-reviews-module-slot--listing #googleReviews .containerItems .review_stars_text p::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(226, 232, 240, 0.45);
}

body#prices-drop #content-wrapper .ag-google-reviews-module-slot--listing #googleReviews .containerItems {
    height: 260px !important;
    min-height: 260px !important;
    max-height: 260px !important;
}

@media (max-width: 767px) {
    .ag-google-reviews-module-slot--home #googleReviews .containerItems,
    .ag-google-reviews-module-slot--listing #googleReviews .containerItems,
    body#prices-drop #content-wrapper .ag-google-reviews-module-slot--listing #googleReviews .containerItems {
        height: 224px !important;
        min-height: 224px !important;
        max-height: 224px !important;
    }

    .ag-google-reviews-module-slot--home #googleReviews .containerItems .review_stars_text p,
    .ag-google-reviews-module-slot--listing #googleReviews .containerItems .review_stars_text p,
    body#prices-drop #content-wrapper .ag-google-reviews-module-slot--listing #googleReviews .containerItems .review_stars_text p {
        font-size: 13px !important;
        line-height: 1.42 !important;
    }
}

/* Codex: global safety against one-line clipped review texts */
.ag-google-reviews-module-slot #googleReviews,
.ag-google-reviews-module-slot #googleReviews .slick-list,
.ag-google-reviews-module-slot #googleReviews .slick-track,
.ag-google-reviews-module-slot #googleReviews .slick-slide,
.ag-google-reviews-module-slot #googleReviews .containerItems,
.ag-google-reviews-module-slot #googleReviews .containerItems > .container,
.ag-google-reviews-module-slot #googleReviews .containerItems .review_stars_text,
.ag-google-reviews-module-slot #googleReviews .containerItems .review_stars_text p {
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.ag-google-reviews-module-slot #googleReviews .containerItems .review_stars_text p {
    max-width: 100% !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
}

/* Codex: force Bootstrap .container inside review cards to respect card width */
.ag-google-reviews-module-slot #googleReviews .containerItems > .container,
.ag-google-reviews-module-slot #googleReviews .containerItems > .container.container,
.ag-google-reviews-module-slot #googleReviews .slick-slide .containerItems > .container,
.ag-google-reviews-module-slot #googleReviews .slick-slide .containerItems > .container.container {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    box-sizing: border-box !important;
}

.ag-google-reviews-module-slot #googleReviews .containerItems .review_item,
.ag-google-reviews-module-slot #googleReviews .containerItems .review_stars_text,
.ag-google-reviews-module-slot #googleReviews .containerItems .review_stars_text p {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.ag-google-reviews-module-slot #googleReviews .containerItems .review_stars_text p {
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
}

/* Codex: polish the global Google badge on promotions */
body#prices-drop .ag-google-reviews-module-slot--listing #googleReviewsGlobal {
    width: 100% !important;
    max-width: 272px !important;
    height: 260px !important;
    min-height: 260px !important;
    max-height: 260px !important;
    margin: 0 auto !important;
    padding: 16px 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body#prices-drop .ag-google-reviews-module-slot--listing #googleReviewsGlobal .review-global,
body#prices-drop .ag-google-reviews-module-slot--listing #googleReviewsGlobal .review-global > div {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
}

body#prices-drop .ag-google-reviews-module-slot--listing #googleReviewsGlobal #globalNoteTitle {
    margin: 0 !important;
    font-size: 1.28rem !important;
    line-height: 1.12 !important;
}

body#prices-drop .ag-google-reviews-module-slot--listing #googleReviewsGlobal .iconsReviews {
    margin: 0 !important;
}

body#prices-drop .ag-google-reviews-module-slot--listing #googleReviewsGlobal .iconsReviews i {
    padding-bottom: 0 !important;
    font-size: 18px !important;
}

body#prices-drop .ag-google-reviews-module-slot--listing #googleReviewsGlobal p {
    margin: 2px 0 4px !important;
    font-size: 0.88rem !important;
    line-height: 1.25 !important;
}

body#prices-drop .ag-google-reviews-module-slot--listing #googleReviewsGlobal #logoGoogle {
    width: 118px !important;
    min-width: 118px !important;
    max-width: 118px !important;
    height: 34px !important;
    margin: 4px auto 7px !important;
}

body#prices-drop .ag-google-reviews-module-slot--listing #googleReviewsGlobal .btn-secondary {
    width: auto !important;
    min-width: 128px !important;
    min-height: 30px !important;
    margin: 3px 0 0 !important;
    padding: 0.36rem 0.68rem !important;
    font-size: 0.78rem !important;
    line-height: 1.15 !important;
}

body#prices-drop .ag-google-reviews-module-slot--listing #googleReviewsGlobal #leaveReview {
    margin: 0 !important;
    padding: 0 !important;
}

/* Codex: polish the global Google badge on native product listings */
body#category .ag-google-reviews-module-slot--listing #googleReviewsGlobal {
    width: 100% !important;
    max-width: 272px !important;
    height: 260px !important;
    min-height: 260px !important;
    max-height: 260px !important;
    margin: 0 auto !important;
    padding: 16px 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body#category .ag-google-reviews-module-slot--listing #googleReviewsGlobal .review-global,
body#category .ag-google-reviews-module-slot--listing #googleReviewsGlobal .review-global > div {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
}

body#category .ag-google-reviews-module-slot--listing #googleReviewsGlobal #globalNoteTitle {
    margin: 0 !important;
    font-size: 1.28rem !important;
    line-height: 1.12 !important;
}

body#category .ag-google-reviews-module-slot--listing #googleReviewsGlobal .iconsReviews {
    margin: 0 !important;
}

body#category .ag-google-reviews-module-slot--listing #googleReviewsGlobal .iconsReviews i {
    padding-bottom: 0 !important;
    font-size: 18px !important;
}

body#category .ag-google-reviews-module-slot--listing #googleReviewsGlobal p {
    margin: 2px 0 4px !important;
    font-size: 0.88rem !important;
    line-height: 1.25 !important;
}

body#category .ag-google-reviews-module-slot--listing #googleReviewsGlobal #logoGoogle {
    width: 118px !important;
    min-width: 118px !important;
    max-width: 118px !important;
    height: 34px !important;
    margin: 4px auto 7px !important;
}

body#category .ag-google-reviews-module-slot--listing #googleReviewsGlobal .btn-secondary {
    width: auto !important;
    min-width: 128px !important;
    min-height: 30px !important;
    margin: 3px 0 0 !important;
    padding: 0.36rem 0.68rem !important;
    font-size: 0.78rem !important;
    line-height: 1.15 !important;
}

body#category .ag-google-reviews-module-slot--listing #googleReviewsGlobal #leaveReview {
    margin: 0 !important;
    padding: 0 !important;
}

/* Codex: use the Agorajeux SVG arrows on AF Google Reviews carousels. */
body #googleReviewsContainer #googleReviews.slick-slider,
body #googleReviewsContainer #googleReviewsPageListing.slick-slider,
.ag-google-reviews-module-slot #googleReviews.slick-slider,
.ag-google-reviews-module-slot #googleReviewsPageListing.slick-slider {
    position: relative !important;
    z-index: 3 !important;
}

body #googleReviewsContainer #googleReviews.slick-slider .slick-arrow,
body #googleReviewsContainer #googleReviewsPageListing.slick-slider .slick-arrow,
.ag-google-reviews-module-slot #googleReviews.slick-slider .slick-arrow,
.ag-google-reviews-module-slot #googleReviewsPageListing.slick-slider .slick-arrow {
    position: absolute !important;
    z-index: 60 !important;
    width: 36px !important;
    height: 64px !important;
    overflow: hidden !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: -9999px !important;
    background-color: transparent !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    border: 0 !important;
    box-shadow: none !important;
}

body #googleReviewsContainer #googleReviews.slick-slider .slick-arrow::before,
body #googleReviewsContainer #googleReviewsPageListing.slick-slider .slick-arrow::before,
.ag-google-reviews-module-slot #googleReviews.slick-slider .slick-arrow::before,
.ag-google-reviews-module-slot #googleReviewsPageListing.slick-slider .slick-arrow::before {
    content: "" !important;
    display: none !important;
}

body #googleReviewsContainer #googleReviews.slick-slider .arrow-icon-prev,
body #googleReviewsContainer #googleReviewsPageListing.slick-slider .arrow-icon-prev,
.ag-google-reviews-module-slot #googleReviews.slick-slider .arrow-icon-prev,
.ag-google-reviews-module-slot #googleReviewsPageListing.slick-slider .arrow-icon-prev {
    left: -18px !important;
    background-image: url("../img/ag-google-review-arrow-left.svg") !important;
}

body #googleReviewsContainer #googleReviews.slick-slider .arrow-icon-next,
body #googleReviewsContainer #googleReviewsPageListing.slick-slider .arrow-icon-next,
.ag-google-reviews-module-slot #googleReviews.slick-slider .arrow-icon-next,
.ag-google-reviews-module-slot #googleReviewsPageListing.slick-slider .arrow-icon-next {
    right: -18px !important;
    background-image: url("../img/ag-google-review-arrow-right.svg") !important;
}

@media (max-width: 767px) {
    body #googleReviewsContainer #googleReviews.slick-slider .slick-arrow,
    body #googleReviewsContainer #googleReviewsPageListing.slick-slider .slick-arrow,
    .ag-google-reviews-module-slot #googleReviews.slick-slider .slick-arrow,
    .ag-google-reviews-module-slot #googleReviewsPageListing.slick-slider .slick-arrow {
        width: 30px !important;
        height: 53px !important;
    }

    body #googleReviewsContainer #googleReviews.slick-slider .arrow-icon-prev,
    body #googleReviewsContainer #googleReviewsPageListing.slick-slider .arrow-icon-prev,
    .ag-google-reviews-module-slot #googleReviews.slick-slider .arrow-icon-prev,
    .ag-google-reviews-module-slot #googleReviewsPageListing.slick-slider .arrow-icon-prev {
        left: -12px !important;
    }

    body #googleReviewsContainer #googleReviews.slick-slider .arrow-icon-next,
    body #googleReviewsContainer #googleReviewsPageListing.slick-slider .arrow-icon-next,
    .ag-google-reviews-module-slot #googleReviews.slick-slider .arrow-icon-next,
    .ag-google-reviews-module-slot #googleReviewsPageListing.slick-slider .arrow-icon-next {
        right: -12px !important;
    }
}
