.properties_all {
    margin-top: 24px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
}

.properties_title_arrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.h2_adaptiv {
    display: none;
}

.properties_arrow {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.properties_left,
.properties_right {
    border: 1px solid #5ab563;
    border-radius: 50px;
    padding: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    cursor: pointer;
}

.properties_item_two {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.properties_item {
    position: relative;
    z-index: 2;
    width: 100%;
}

.properties_item_two .properties_item {
    height: 50%;
}

.properties_item_adaptiv {
    display: none;
}

.properties_item img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    transition: 0.3s;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.properties_item:hover img {
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 40%);
}

.properties_item_four:hover img {
    clip-path: polygon(0 0, 100% 0, 100% 15%, 0 5%);
}

.properties_hidden_block {
    position: absolute;
    bottom: 0;
    z-index: 1;
    padding: 0 17px 20px;
}

.properties_hidden_block_title {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 130%;
    letter-spacing: 0.02em;
    color: #323232;
    margin-bottom: 16px;
}

.properties_hidden_description {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.properties_hidden_description p {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 170%;
    color: #323232;
}

/*Слайдер*/
.slick-slider_review {
    min-width: 0;
}

/*Ограничивающая оболочка*/
.slick-list {
    overflow-x: hidden;
    width: 100% !important;
    display: flex;
}

/*Лента слайдов*/
.slick-track {
    display: flex;
    align-items: flex-start;
}

.slider-nav {
    text-align: center;
    margin-top: 24px;
}

.tab {
    border: none;
    background-color: #fff;
    border-radius: 2px;
    border: 1px solid #5ab563;
    margin: 0 8px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.tab.active {
    background-color: #5ab563;
}

/* Стили для стрелок */
.slick-prev,
.slick-next {
    opacity: 1; /* Убедитесь, что стрелки видимы */
    transition: opacity 0.3s; /* Добавим плавный переход */
}

.properties_left.slick-disabled,
.properties_right.slick-disabled {
    opacity: 0.5; /* Изменение opacity для неактивных стрелок */
}

.properties_item_adaptiv_vers {
    display: none;
}

.properties_item.muravei:hover img {
    clip-path: polygon(0 0, 100% 0, 100% 65%, 0% 55%);
}

.properties_item.muravei.four:hover img,
.properties_item.muravei.three:hover img {
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 25%);
}

@media screen and (max-width: 1500px) {
    .properties_hidden_description {
        gap: 4px;
    }

    /* @media (max-width: 1080px) { */
    .properties_item_two {
        display: none;
    }

    .properties_item {
        height: 500px;
        overflow: hidden;
    }

    .properties_item img {
        height: 500px;
    }

    .properties_item_adaptiv {
        display: block;
    }

    .properties_arrow {
        display: flex;
    }

    .properties_hidden_block_title,
    .properties_hidden_description p {
        font-size: 14px;
    }

    .properties_hidden_block_title {
        margin-bottom: 10px;
    }

    .properties_hidden_description {
        gap: 0;
    }

    .properties_item_comp_vers {
        display: none;
    }

    .properties_item_adaptiv_vers {
        display: block;
    }

    .properties_item:hover img {
        clip-path: polygon(0 0, 100% 0, 100% 48%, 0 38%);
    }

    .properties_item.one:hover img,
    .properties_item.three:hover img {
        clip-path: polygon(0 0, 100% 0, 100% 65%, 0 55%);
    }

    .properties_item.muravei.four:hover img,
    .properties_item.muravei.three:hover img {
        clip-path: polygon(0 0, 100% 0, 100% 65%, 0 55%);
    }
    
    .properties_drive .properties_item.three:hover img {
        clip-path: polygon(0 0, 100% 0, 100% 50%, 0 40%);
    }
}

@media (max-width: 1080px) {
    .properties_item {
        height: 430px;
    }

    .properties_item img {
        height: 430px;
    }

    .properties_hidden_block {
        padding: 0 4px 20px;
    }

    .properties_item:hover img {
        clip-path: polygon(0 0, 100% 0, 100% 3%, 0 0%);
    }

    .properties_item.one:hover img,
    .properties_item.three:hover img {
        clip-path: polygon(0 0, 100% 0, 100% 40%, 0 30%);
    }

    .properties_item.muravei.two:hover img {
        clip-path: polygon(0 0, 100% 0, 100% 40%, 0 30%);
    }

    .properties_item.muravei.three:hover img {
        clip-path: polygon(0 0, 100% 0, 100% 55%, 0 45%);
    }

    .properties_item.muravei.four:hover img {
        clip-path: polygon(0 0, 100% 0, 100% 30%, 0 20%);
    }
    
    .properties_drive .properties_item.three:hover img {
        clip-path: polygon(0 0, 100% 0, 100% 45%, 0 35%);
    }
    
    .properties_drive .properties_item.three.properties_item_adaptiv:hover img {
        clip-path: polygon(0 0, 100% 0, 100% 15%, 0 5%);
    }
}

@media (max-width: 672px) {
    .properties .h2 {
        display: none;
    }

    .properties .h2_adaptiv {
        display: block;
    }

    .properties_item img {
        border-radius: 6px;
    }

    .properties_item.one:hover img {
        clip-path: polygon(0 0, 100% 0, 100% 60%, 0 50%);
    }

    .properties_item.two:hover img {
        clip-path: polygon(0 0, 100% 0, 100% 45%, 0 35%);
    }

    .properties_item.three:hover img {
        clip-path: polygon(0 0, 100% 0, 100% 70%, 0 60%);
    }

    .properties_item.four:hover img {
        clip-path: polygon(0 0, 100% 0, 100% 35%, 0 25%);
    }

    .properties_item.muravei.two:hover img,
    .properties_item.muravei.four:hover img {
        clip-path: polygon(0 0, 100% 0, 100% 60%, 0 50%);
    }

    .properties_item.muravei.three:hover img {
        clip-path: polygon(0 0, 100% 0, 100% 70%, 0 60%);
    }

    .properties_arrow {
        gap: 4px;
    }

    .properties_all {
        height: 70vh;
    }
}
