/*Для слайдера slick*/

.news_all_slides {
    position: relative;
    display: block;
    overflow-x: clip;
    box-sizing: border-box;
}

.news_all_slides .news_item {
    float: left;
    height: 100%;
    min-height: 1px;
    margin-right: 20px;
}

/* Очистка float */
.news_all_slides:before,
.news_all_slides:after {
    content: " ";
    display: table;
}

.news_all_slides:after {
    clear: both;
}

/* Скрыть слайды до инициализации */
.news_all_slides.slick-initialized {
    display: block;
}

.news_all_slides:not(.slick-initialized) {
    display: none;
}

.title_and_arrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.news_slider_arrow {
    display: flex;
    gap: 3px;
}

.slider_arrow_left, .slider_arrow_right {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #2b2d2e;
}

/* Кастомные точки (палочки) */
/* Стили для пагинации (dots) */
.news_slider .slick-dots {
    display: flex !important; /* Важно: переопределяем скрытие */
    justify-content: center;
    gap: 6px;
    padding: 20px 0 0;
    margin: 20px 0 0;
    list-style: none;
    position: relative;
    width: 100%;
}

.news_slider .slick-dots li {
    width: 30px;
    height: 3px;
    margin: 0;
}

.news_slider .slick-dots li button {
    width: 100%;
    height: 100%;
    padding: 0;
    background: #000;
    border-radius: 0;
    opacity: 0.3;
    transition: opacity 0.3s;
    font-size: 0;
    color: transparent;
    cursor: pointer;
}

.news_slider .slick-dots li button:before {
    display: none !important; /* Полностью убираем стандартные кружки */
}

.news_slider .slick-dots li.slick-active button {
    opacity: 1;
    background: #000;
}

@media screen and (max-width: 672px) { 
    .news_all_slides .news_item {
        margin-right: 0px;
    }

    .news_slider_arrow {
        display: none;
    }
    
    .catalog_slider .slick-dots {
        display: flex !important;
        padding-top: 15px;
        margin-top: 15px;
    }
}