.title_and_position {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.position {
    display: flex;
    gap: 9px;
}

.var {
    border: 0.65px solid #e2e2e2;
    border-radius: 3px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.var.active img {
    filter: brightness(0) saturate(100%) invert(44%) sepia(84%) saturate(717%) hue-rotate(61deg) brightness(100%) contrast(104%);
}

.catalog_new_products {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 15px;
    row-gap: 30px;
}

.item_card {
    background: #f9f9f9;
    padding: 20px;
    position: relative;
}

.picture {
    position: relative;
}

.text_hit, .text_action {
    position: absolute;
    top: 0;
    right: 0;
    font-weight: 700;
    font-size: 20px;
    line-height: 120%;
    text-transform: uppercase;
}

.text_hit {
    color: #f00;
}

.text_action {
    color: #ffd500;
}

.picture img {
    width: 100%;
}

.main_characteristics {
    display: flex;
    justify-content: space-between;
    padding: 108px 0 60px;
}

.main .title {
    font-family: "Prosto One", sans-serif;
    font-weight: 400;
    font-size: 30px;
    line-height: 120%;
    color: #151515;
    margin-bottom: 10px;
    transition: 0.3s;
}

.item_card:hover .main .title {
    color: #38b000;
}

.main .price {
    font-weight: 700;
    font-size: 20px;
    line-height: 120%;
    color: #151515;
}

.main .price.on_request {
    color: #7d7d7d;
    opacity: 0.5;
}

.main .old_price {
    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
    text-decoration: line-through;
    color: #7d7d7d;
}

.characteristics_basic {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-left: 10px;
    border-left: 1px solid #d9d9d9;
}

.characteristics_basic .elem {
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #7d7d7d;
}

.all_buttons {
    opacity: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    width: 100%;
    transition: 0.3s;
}

.item_card:hover .all_buttons {
    opacity: 1;
}

.all_buttons .button {
    width: 100%;
    border-radius: 0;
}

.green_button {
    background: #38b000;
    color: #fff;
}

/*Слайдер*/

.slider_catalog_new {
    display: none;
    width: 100%;
}

.slider_catalog_new_item {
    width: 100%;
    display: none;
    opacity: 0;
    transition: 0.5s ease-in-out;
    position: relative;
}

.slider_catalog_new_item.active {
    display: block;
    opacity: 1;
}

.name_price .title {
    font-family: "Prosto One", sans-serif;
    font-size: 50px;
    line-height: 120%;
    color: #151515;
    margin-bottom: 17px;
}

.all_price {
    display: flex;
    gap: 20px;
}

.name_price .price {
    font-weight: 700;
    font-size: 25px;
    line-height: 120%;
    color: #38b000;
}

.name_price .old_price {
    font-weight: 400;
    font-size: 25px;
    line-height: 120%;
    text-decoration: line-through;
    color: #9c9c9c;
}

.slider_catalog_new_characteristics_picture {
    display: grid;
    grid-template-columns: 20% 75%;
    align-items: center;
}

.slider_catalog_new_characteristics {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.key {
    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
    color: #7d7d7d;
    margin-bottom: 5px;
}

.value {
    font-weight: 500;
    font-size: 30px;
    line-height: 120%;
    color: #151515;
}

.fon_title {
    font-family: "Prosto One", sans-serif;
    font-size: 190px;
    line-height: 120%;
    text-transform: uppercase;
    text-align: center;
    color: #f6f6f6;
    height: 100%;
    position: absolute;
    top: -5%;
    left: 0;
    z-index: -1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slider_catalog_new_picture {
    max-width: 700px;
    margin-bottom: 40px;
    justify-self: center;
    position: relative;
}

.slider_catalog_new_picture .main_picture {
    width: 100%;
    height: 520px;
}

.dop_text {
    font-weight: 700;
    font-size: 25px;
    line-height: 120%;
    height: 25px;
    text-transform: uppercase;
    color: #ffd500;
    margin-bottom: 34px;
    text-align: center;
}

.button_up, .button_down {
    cursor: pointer;
    padding: 20px 0;
}

.list {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 20px;
    position: relative;
}

.list_elem {
    cursor: pointer;
}

.list_elem p {
    white-space: nowrap;
    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
    text-transform: uppercase;
    text-align: right;
    color: #7d7d7d;
    transition: 0.3s ease-in-out;
}

.list_elem.active p {
    font-weight: 700;
    font-size: 16px;
    color: #38b000;
}

.slider_catalog_new_buttons {
    display: flex;
    justify-content: center;
    gap: 9px;
    position: absolute;
    left: 5%;
    bottom: 0;
}

.slider_catalog_new_buttons .button {
    width: 211px;
    font-size: 16px;
    text-transform: uppercase;
}

.slider_catalog_new_buttons .white_button {
    border: 1px solid #000;
    border-radius: 5px;
}

/*Для слайдера slick*/

.catalog_new_products_slider {
    position: relative;
    display: block;
    overflow-x: clip;
    box-sizing: border-box;
}

.catalog_new_products_slider .item_card {
    float: left;
    height: 100%;
    min-height: 1px;
    margin-right: 20px;
}

/* Очистка float */
.catalog_new_products_slider:before,
.catalog_new_products_slider:after {
    content: " ";
    display: table;
}

.catalog_new_products_slider:after {
    clear: both;
}

/* Скрыть слайды до инициализации */
.catalog_new_products_slider.slick-initialized {
    display: block;
}

.catalog_new_products_slider:not(.slick-initialized) {
    display: none;
}

.catalog_slider .main_characteristics {
    padding-top: 50px;
}

.title_and_arrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.catalog_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) */
.catalog_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%;
}

.catalog_slider .slick-dots li {
    width: 30px;
    height: 3px;
    margin: 0;
}

.catalog_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;
}

.catalog_slider .slick-dots li button:before {
    display: none !important; /* Полностью убираем стандартные кружки */
}

.catalog_slider .slick-dots li.slick-active button {
    opacity: 1;
    background: #000;
}

@media screen and (max-width: 1500px) { 
    .catalog_slider .characteristics_basic .elem {
        font-size: 14px;
    }

    .catalog_slider .main .title {
        font-size: 18px;
    }

    .catalog_slider .main .price {
        font-size: 16px;
    }

    .catalog_new .characteristics_basic {
        width: 60%;
    }
}

@media screen and (max-width: 1300px) {
    .catalog_new_products {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 1080px) { 
    .main_characteristics {
        padding: 50px 0 70px;
    }

    .catalog_slider .characteristics_basic {
        width: 65%;
    }

    .catalog_slider .main_characteristics {
        padding-top: 20px;
    }

    .catalog_slider .item_card {
        padding: 10px;
    }

    .catalog_slider .main .title {
        font-size: 15px;
    }
}

@media screen and (max-width: 950px) {
    .catalog_new_products {
        grid-template-columns: 1fr;
    }

    .catalog_new .position {
        display: none;
    }
}

@media screen and (max-width: 672px) { 
    .catalog_new_products {
        grid-template-columns: 1fr;
    }

    .main_characteristics {
        padding: 20px 0 40px;
    }

    .catalog_new_products_slider .item_card {
        margin-right: 0px;
    }

    .catalog_slider_arrow {
        display: none;
    }

    .catalog_slider .characteristics_basic {
        width: 50%;
    }

    .catalog_slider .slick-dots {
        display: flex !important;
        padding-top: 15px;
        margin-top: 15px;
    }
}