.customer-reviews__slider {
    &:hover{
        .reviews-slider__prev{
            opacity: 1;
        }

        .reviews-slider__next{
            opacity: 1;
        }
    }

    .swiper-slide {
        width: 30%;
        height: 275px;
        border-radius: 15px;
        padding: 19px 21px;
        display: flex !important;
        flex-wrap: wrap;
        background: #F7F5F6;

        .swiper-slide__image {
            flex: 0 0 47px;

            svg {
                width: 35px;
                height: 35px;
            }
        }

        .swiper-slide__name {
            flex: 1 0 auto;

            p {
                font-family: "Montserrat", Arial;
                font-weight: 600;
                font-size: 15px;
                line-height: 140%;
            }

            span {
                font-family: "Montserrat", Arial;
                font-weight: 400;
                font-size: 12.66px;
                line-height: 140%;
                color: #33313299;
            }
        }

        .swiper-slide__rate {
            flex: 0 0 105px;
            background: #ffffff;
            border-radius: 25px;
            border: 1px solid #D5D5D5;
            display: flex;
            align-items: center;
            justify-content: center;
            height: 28px;
            gap: 1px;

            svg {
                width: 17.7px;
                height: 17.7px;
            }

            svg.active {
                fill: #FFD13C;
            }

            svg.empty {
                width: 15px;
                height: 15px;
            }
        }

        .swiper-slide__section {
            flex: 0 0 110px;
            background: #568D9F;
            height: 28px;
            border-radius: 25px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: "Montserrat", Arial;
            color: #ffffff;
            font-size: 13px;
            line-height: 90%;
            margin-left: 4px;
            flex-wrap: wrap;
            text-align: center;
        }

        .swiper-slide__text {
            /*margin-top: 19px;*/
            flex-basis: 100%;
            font-family: "Montserrat", Arial;
            font-weight: 500;
            font-size: 15px;
            line-height: 120%;

            .swiper-slide__text-content {
                overflow: hidden;
                text-overflow: ellipsis;
                display: -webkit-box;
                -webkit-line-clamp: 6;
                -webkit-box-orient: vertical;
            }

            span {
                color: #ED6857;
                font-weight: 600;
                font-size: 13.93px;
                line-height: 140%;
                font-family: "Montserrat", Arial;
            }

            .swiper-slide__text-less, .swiper-slide__text-more {
                cursor: pointer;
                display: none !important;
            }

            .swiper-slide__text-less {
                display: none;
            }

            .swiper-slide__text-more {
                display: block;
            }

            &.active {
                .swiper-slide__text-content {
                    overflow: hidden;
                    text-overflow: ellipsis;
                    display: -webkit-box;
                    -webkit-line-clamp: 10;
                    -webkit-box-orient: vertical;
                }

                .swiper-slide__text-more {
                    display: none;
                }

                .swiper-slide__text-less {
                    display: block;
                }
            }
        }

        .swiper-slide__gallery {
            flex: 1 0 auto;
            align-items: end;
            /* justify-content: end; */
            display: flex;
            gap: 10px;

            .swiper-slide__gallery-item {
                display: none;

                img {
                    border-radius: 12.6px;
                }
            }

            /*.swiper-slide__gallery-item:nth-child(-n+6) {*/
            /*    display: inline-block;*/
            /*}*/
        }
    }

    .customer-reviews__slider button {
        transition: .3s;
    }

    .customer-reviews__slider:hover button {
        opacity: 1;
    }

    .reviews-slider__prev {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        background: #fff;
        border-radius: 50%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-filter: drop-shadow(0 13px 32px rgba(0, 0, 0, .08)) drop-shadow(0 1.6278px 8.13901px rgba(0, 0, 0, .035));
        filter: drop-shadow(0 13px 32px rgba(0, 0, 0, .08)) drop-shadow(0 1.6278px 8.13901px rgba(0, 0, 0, .035));
        height: 56rem;
        justify-content: center;
        left: 20rem;
        opacity: 0;
        position: absolute;
        top: 50%;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        width: 56rem;
        z-index: 5;
        transition: .3s;
    }

    .reviews-slider__next {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        background: #fff;
        border-radius: 50%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-filter: drop-shadow(0 13px 32px rgba(0, 0, 0, .08)) drop-shadow(0 1.6278px 8.13901px rgba(0, 0, 0, .035));
        filter: drop-shadow(0 13px 32px rgba(0, 0, 0, .08)) drop-shadow(0 1.6278px 8.13901px rgba(0, 0, 0, .035));
        height: 56rem;
        justify-content: center;
        opacity: 0;
        position: absolute;
        right: 20rem;
        top: 50%;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        width: 56rem;
        z-index: 5;
        transition: .3s;
    }

    .swiper-slide__text.active span {
        display: none;
    }

    .swiper-slide__text span {
        display: block;
    }
}

@media (min-width: 1720px){
    .customer-reviews__slider {
        .swiper-slide__gallery-item:nth-child(-n+6) {
            display: inline-block !important;
        }
    }
}

@media (min-width: 1440px) and (max-width: 1720px) {
    .customer-reviews__slider {
        .swiper-slide__gallery-item:nth-child(-n+5) {
            display: inline-block !important;
        }
    }
}

@media (min-width: 768px) and (max-width: 1440px) {
    .customer-reviews__slider {
        .swiper-slide__gallery-item:nth-child(-n+4) {
            display: inline-block !important;
        }

        .swiper-slide__text-content {
            font-size: 13px;
        }

        .swiper-slide {
            padding: 14px 16px;
        }
    }
}

@media (min-width: 360px) and (max-width: 768px) {
    .customer-reviews__slider {
        .swiper-slide__gallery-item:nth-child(-n+3) {
            display: inline-block !important;
        }

        .swiper-slide__text-content {
            font-size: 13px;
        }

        .swiper-slide {
            padding: 14px 16px;
        }
    }
}

@media (max-width: 768px) {
    .customer-reviews__slider {
        .swiper-slide__text {
            margin-top: 5px !important;
            font-size: 12px !important;
        }

        .swiper-slide {
            height: 300px !important;
        }
    }
}