.reviews {
    background-color: var(--colors-primary);

    padding: clamp(20px, 4vw, 40px) 0 clamp(40px, 8vw, 80px) 0;

    &__top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 40px;

        .title-main {
            color: #fff;
            margin-bottom: 0;
        }
    }

    &__nav {
        display: flex;
        gap: 54px;
        padding: 10px 0px;

        @include sm-mobile {
            display: none;
        }
    }

    .reviews-next,
    .reviews-prev {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: var(--colors-default);
        z-index: 10;
        cursor: pointer;
        transition: 0.23s;

        &:hover {
            opacity: 0.9;
        }
    }

    .reviews-item {

        background: var(--colors-white);
        padding: 28px 20px;

        &__top {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            margin-bottom: 15px;

            @include sm-mobile {
                flex-direction: column;
                gap: 16px;
            }
        }

        &__info {
            display: flex;
            align-items: flex-start;
            gap: 13px;
        }

        &__avatar {
            width: 40px;
            height: 40px;
            border-radius: 100px;
            overflow: hidden;

            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }

        &__name {
            font-family: var(--font-family);
            font-weight: 400;
            font-size: 16px;
            line-height: 125%;
            letter-spacing: 0.01em;
            color: var(--colors-default);
        }

        &__rate {
            margin-top: 4px;
            display: flex;
            gap: 5px;
        }

        &__date {
            font-family: var(--font-family);
            font-weight: 400;
            font-size: 12px;
            letter-spacing: 0.02em;
            text-align: right;
            color: #7f7f7f;
            margin-top: 4px;
        }

        &__content {
            font-family: var(--font-family);
            font-weight: 400;
            font-size: 16px;
            line-height: 140%;
            letter-spacing: 0.01em;
            color: var(--colors-default);
        }
    }

    @include sm-mobile {
        &__top {
            margin-bottom: 20px;
        }

        .reviews-item {

            padding: 20px 10px;

            &__info {
                gap: 13px;
            }

            &__avatar {
                width: 35px;
                height: 35px;
            }

            &__name {
                font-size: 14px;
            }

            &__rate {
                margin-top: 4px;
                gap: 5px;

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

            &__date {
                font-size: 12px;
                margin-top: 4px;
            }

            &__content {
                font-size: 14px;
            }
        }
    }

}






.product {
    padding: clamp(20px, 4vw, 40px) 0 clamp(40px, 8vw, 80px) 0;
    background: var(--colors-grey-light-2);

    &__box {
        display: flex;
        gap: 80px;
    }

    &__left {
        max-width: 578px;
    }

    &__main{
        width: 100%;
    }

    @media (max-width: 1500px) {

        &__left{
            max-width: 450px;
        }
        &__box{
            gap: 24px;
        }
    }

    @include desktop {
        &__left{
            max-width: 400px;
        }
    }

    @include tablet{
        &__left {
            max-width: 100%;
        }
        &__box{
            flex-direction: column;
        }
    }

}


.product-gallery {
    max-width: 600px;
    margin: auto;
}

.productMainSlider .swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.product-thumbs-wrapper {
    position: relative;
    margin-top: 30px;
    display: flex;
    align-items: center;
}

.productThumbsSlider {
    padding: 0 32px;

    @include sm-mobile {
        padding: 0 12px;
    }
}

.productThumbsSlider .swiper-slide {
    cursor: pointer;

    opacity: 1;
    transition: opacity 0.3s ease;

    &:not(.swiper-slide-visible) {
        opacity: 0;
    }
}

.productThumbsSlider .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid var(--colors-primary2);
}

.productThumbsSlider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbs-button-prev,
.thumbs-button-next {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    max-width: 40px;
    min-height: 40px;
    max-height: 40px;
    background: var(--colors-default);
    cursor: pointer;
    transition: 0.23s;
    // margin-top: 15px;

    &:hover {
        opacity: 0.8;
    }

    user-select: none;

    @include desktop {
        min-width: 30px;
        max-width: 30px;
        min-height: 30px;
        max-height: 30px;
        svg{
            width: 15px;
            height: 15px;
        }
    }

}



.info-box {
    background-image: url(../img/icon-info.svg);
    background-repeat: no-repeat;
    background-position: top 20px left;
    margin-top: 20px;
    padding: 20px 0 20px 60px;
    min-height: 40px;

    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 125%;
    letter-spacing: 0.01em;
    color: var(--colors-grey2);

    @include sm-mobile {
        background-size: 36px;
        padding: 15px 0 15px 44px;
        font-size: 14px;
    }
}



// 

.product-top-line{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;

    @include sm-mobile {
        gap: 12px;
    }

    .avlbl{
        font-family: var(--font-family);
        font-weight: 500;
        font-size: 18px;
        line-height: 133%;    
        background-repeat: no-repeat;
        background-position: center left;
        background-size: 20px;
    
        padding-left: 28px;
    
        &--yes{
            background-image: url(../img/icons/check.svg);
            color: #00aa5b;
        }
        &--order{
            background-image: url(../img/icons/bookmark.svg);
            color: #ffc120;
        }
    
        @include sm-mobile{
            font-size: 14px;
            background-size: 14px;
            padding-left: 20px;
        }
    }
}



.brand-lbl{
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 133%;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: var(--colors-default);

    &:hover{
        text-decoration: none;
    }
    @include sm-mobile{
        font-size: 14px;
    }
}

.prod-code{
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 133%;
    color: var(--colors-grey2);
    @include sm-mobile{
        font-size: 14px;
    }
}


.product-order{
    &__top{
        background: var(--colors-primary);
        padding: 40px 40px 32px 40px;
        display: flex;
        gap: 24.5px;
    }
    .product-prc{
        &__title{
            font-family: var(--font-family);
            font-weight: 400;
            font-size: 16px;
            line-height: 125%;
            color: var(--colors-grey-light-2);
            display: inline-flex;
            margin-bottom: 12px;
        }
        &__box{
            display: flex;
            align-items: center;
            gap: 20px;
        }
        &__old{
            font-family: var(--font-family);
            font-weight: 400;
            font-size: 24px;
            line-height: 83%;
            text-decoration: line-through;
            color: var(--colors-grey);
        }
        &__current{
            font-family: var(--font-family);
            font-weight: 600;
            font-size: 24px;
            line-height: 117%;
            color: var(--colors-white);
        }

    }

    .prod-item-count{
        min-width: 157px;
        max-width: 157px;
        background-color: #fff;
        border-color: #fff;
    }

    .btn-dark{
        width: 100%;
        border: none;
        font-family: var(--font-family);
        font-weight: 500;
        font-size: 16px;
        line-height: 120%;
        letter-spacing: 0.01em;
        color: var(--colors-white);
        border: 1px solid var(--colors-default);
        &:hover{
            background: var(--colors-default);
            opacity: 0.9;
        }
    }

    &__main{
        background: rgba(18, 120, 237, 0.2);
        padding: 40px;
    }

    @media (max-width: 1300px) {
        &__top{
            flex-wrap: wrap;
        }

        .product-prc{
            width: 100%;
        }

        .btn-dark{
            width: auto;
        }
    }

    @include desktop {
        &__top{
            background: var(--colors-primary);
            padding: 20px 20px 22px 20px;
            gap: 16px;
        }
        &__main{
            padding: 20px;
        }
    }

    @include sm-mobile{

        &__top{
            padding-left: 15px;
            padding-right: 15px;
        }
        .product-prc{
            &__title{
                font-size: 14px;
                margin-bottom: 12px;
            }
            &__box{
                gap: 20px;
            }
            &__old{
                font-size: 18px;
            }
            &__current{
                font-size: 20px;
            }
    
        }
        .prod-item-count{
            min-width: 100%;
            max-width: 100%;
            height: 45px;
        }
        .btn-dark{
            width: 100%;
        }

        &__main{
            padding-left: 15px;
            padding-right: 15px;
        }
    }

}

.product-uslugi{
    display: grid;
    gap: clamp(5px, 1.333vw, 20px);
    &__title{
        font-family: var(--font-family);
        font-weight: 700;
        font-size: clamp(24px, 4vw, 36px);
        line-height: 111%;
        letter-spacing: 0.01em;
        color: var(--colors-default);
        padding: 10px 0;
    }

    &__list{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 10px 0;
    }

    @include desktop {
        &__list{
            grid-template-columns: 100%;
        }
    }

    @include sm-mobile {

    }
}

// 
// 

.usluga-addon{
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
    background: var(--colors-white);
    border: 1px solid var(--colors-primary);
    cursor: pointer;

    input[type='radio'] {
        position: absolute;
        display: none;
        opacity: 0;
        pointer-events: none;
    }

    &__label{
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        width: 100%;
        padding: 10px 13px 10px 20px;
        cursor: pointer;
    }

    &__main{
        display: grid;
        gap: 12px;
    }

    &__title{
        font-family: var(--second-family);
        font-weight: 600;
        font-size: 16px;
        line-height: 120%;
        letter-spacing: 0.01em;
        color: var(--colors-default);
    }

    &__price{
        font-family: var(--font-family);
        font-weight: 500;
        font-size: 14px;
        letter-spacing: 0.01em;
        color: var(--colors-primary);
    }

    input[type='radio']:checked+.usluga-addon__label {

        .usluga-addon__btn{
            svg{
                fill: var(--colors-primary);
                transition: 0.23s;
            }
            path{
                transition: 0.23s;
                &:nth-child(3){
                    stroke: #fff;
                }
                &:nth-child(2){
                    opacity: 0;
                    visibility: hidden;
                }
            }
    
            &:hover{
                svg{
                    fill: #0c67cf;
                }
            }
        }
    }

    @include mobile {
        gap: 8px;
    
        &__main{
            gap: 12px;
        }
    
        &__title{
            font-size: 14px;
        }
    
        &__price{
            font-size: 12px;
        }
    }


    @include mobile{
        svg{
            width: 35px;
            height: 35px;
        }
    }
}

// 


.link-box{
    margin: 40px 0;
    &__title{
        font-family: var(--font-family);
        font-weight: 400;
        font-size: 16px;
        line-height: 125%;
        letter-spacing: 0.01em;
        color: var(--colors-default);
        margin-bottom: 10px;
    }

    &__list{
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

    @include sm-mobile {
        &__list{
            gap: 8px;
        }
    }
}

.link{
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 143%;
    letter-spacing: 0.01em;
    text-align: center;
    color: var(--colors-default);
    padding: 9.5px 15px;
    padding-left: 50px;
    background: var(--colors-white);

    background-image: url(../img/icons/link.svg);
    background-position: center left 15px;
    background-repeat: no-repeat;
    border: 1px solid #7f7f7f;

    @include sm-mobile {
        background-position: center left 10px;
        background-size: 16px;
        font-size: 14px;
        padding: 7px 10px;
        padding-left: 32px;
    }

    transition: 0.23s;

    &:hover{
        background-color: #CEDDF5;
    }
}



.product-advant{
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 20px 21px;

    .product-advant-item{
        padding: 20px 24px;
        display: flex;
        align-items: center;
        background: var(--colors-white);
        gap: 12px;

        &__icon{

        }

        &__content{

        }

        &__title{
            font-family: var(--second-family);
            font-weight: 600;
            font-size: 20px;
            line-height: 150%;
            letter-spacing: 0.01em;
            color: var(--colors-default);
            padding: 9.5px 0;
        }
    }

    @include desktop {
        gap: 12px;
        .product-advant-item{
            padding: 12px 14px;
            gap: 12px;
    
            &__icon{
                img{
                    width: 44px;
                }
            }
    
            &__content{
    
            }
    
            &__title{
                font-size: 16px;
                padding: 9.5px 0;
            }
        }
    }

    @include sm-mobile{
        grid-template-columns: 100%;
    }
}