.navigation-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 37px;
}

.navigation-buttons button {
    font-family: var(--font1);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary-color);
    background-color: transparent;
    cursor: pointer;
    padding: 8px 20px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 50px;
    transition: all 0.2s ease-in-out;
}

.navigation-buttons button svg {
    width: 18px;
    height: 18px;
}

.navigation-buttons button:hover {
    background-color: #0f0f0f;
    color: white;
}

.reviews-slider-section-ltr,
.reviews-slider-section-rtl {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y pinch-zoom;
    padding: 6px 0;
}

.reviews-slider-section-ltr {
    margin-bottom: 5px;
}

.rating-total {
    padding: 0px 0 27px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 12px;
}

.rating-stars-container {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    /* margin-bottom: 15px; */
}

.rating-stars-container .rating-star-big {
    font-size: 55px;
    color: #fbbf24;
    line-height: 0.75;
}

.rating-stars-container .rating-ratio {
    font-size: 45px;
    font-weight: 400;
    font-family: var(--font1);
    line-height: 0.8;
}

.rating-stars-container .rating-ratio .ratio-small {
    font-size: 90%;
}

.rating-total .rating-number {
    font-style: italic;
    font-size: 13px;
    font-weight: 500;
    line-height: 0.85;
    text-transform: capitalize;
    font-family: var(--font1);
    color: var(--text-secondary-color);
}

.reviews-slider-section-ltr.is-dragging,
.reviews-slider-section-rtl.is-dragging {
    cursor: grabbing !important;
}

.reviews-slider-section-ltr.is-dragging *,
.reviews-slider-section-rtl.is-dragging * {
    user-select: none !important;
    -webkit-user-select: none !important;
    pointer-events: none !important;
}

.reviews-track {
    display: flex;
    gap: 16px;
    width: max-content;
    will-change: transform;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reviews-track.no-transition {
    transition: none !important;
}

.one-review {
    flex: 0 0 470px;
    width: 470px;
    height: auto;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.04) 0px 2px 5px 0px, rgba(27, 31, 35, 0.08) 0px 0px 0px 1px;
    flex-shrink: 0;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.one-review:hover {
    box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px 0px, rgba(27, 31, 35, 0.12) 0px 0px 0px 1px;
}

.one-review .review-context {
    flex: 1;
    height: auto;
    padding: 18px 18px 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.one-review .review-context .rating-stars {
    display: flex;
    gap: 2px;
    font-size: 16px;
    color: #fbbf24;
    margin-bottom: 8px;
}

.one-review .review-context .rating-stars .negative-star {
    color: #d1d5db;
}

.one-review .review-context .review-text {
    font-size: 13px;
    font-weight: 400;
    font-family: var(--font1);
    color: #222222;
    line-height: 1.45;
    font-style: italic;
    margin-bottom: 10px;
}

.one-review .review-context .review-user-name {
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font1);
    color: #000;
    text-transform: capitalize;
    margin-bottom: 2px;
}

.one-review .review-context .review-user-location {
    font-size: 11px;
    font-weight: 400;
    font-family: var(--font1);
    color: #777777;
    text-transform: capitalize;
}

.one-review .review-gallery {
    width: 100%;
    max-width: 165px;
    height: auto;
    aspect-ratio: 1/1;
    display: grid;
    gap: 2px;
    flex-shrink: 0;
    background-color: #f3f4f6;
}

.one-media-gallery {
    grid-template-columns: 1fr;
}

.two-media-gallery {
    grid-template-columns: repeat(2, 1fr);
}

.three-media-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
}

.three-media-gallery button:nth-child(1) {
    grid-area: 1 / 1 / 3 / 2;
}

.one-review .review-gallery button {
    width: 100%;
    height: 100%;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    position: relative;
    padding: 0;
    overflow: hidden;
}

.one-review .review-gallery button.is-a-video::after {
    content: "▶";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    color: #fff;
    padding-left: 2px;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.65), 0px 4px 12px rgba(0, 0, 0, 0.37) !important;
}

.one-review .review-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease, filter 0.2s ease;
    -webkit-user-drag: none;
    user-drag: none;
}

.one-review .review-gallery button:hover img {
    transform: scale(1.05);
    filter: brightness(0.9);
}

/* Dots styling enhancements */
.reviews-section .slider-counter-dots-container {
    padding-top: 24px;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
}

.reviews-section .counter-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background-color: #d1d5db;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.reviews-section .counter-dot:hover {
    background-color: #9ca3af;
}

.reviews-section .counter-dot.active {
    width: 24px;
    background-color: #111827;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .one-review {
        flex: 0 0 380px;
        width: 380px;
        gap: 12px;
    }

    .one-review .review-context {
        padding: 14px 14px 14px 16px;
    }

    .one-review .review-gallery {
        max-width: 135px;
    }

    .one-review .review-context .review-text {
        font-size: 12px;
    }
}

@media (max-width: 540px) {
    .one-review {
        flex: 0 0 86vw;
        width: 86vw;
        gap: 10px;
    }

    .navigation-buttons button {
        font-size: 12px;
        padding: 6px 16px;
    }

    .navigation-buttons button svg {
        width: 15px;
        height: 15px;
    }

    .rating-stars-container .rating-star-big {
        font-size: 45px;
    }

    .rating-stars-container .rating-ratio {
        font-size: 37px;
    }

    .rating-total .rating-number {
        font-size: 12px;
    }

    .one-review .review-context {
        padding: 12px;
    }

    .one-review .review-gallery {
        max-width: 105px;
    }

    .one-review .review-context .rating-stars {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .one-review .review-context .review-text {
        font-size: 11.5px;
        line-height: 1.35;
        margin-bottom: 6px;
    }
}