.characteristics {
    padding-bottom: 90px;
    border-bottom: 1px solid #d9d9d9;
}

.characteristics .container {
    margin-bottom: 0;
}

.characteristics .h2 {
    font-family: "Prosto One", sans-serif;
    font-size: 50px;
    line-height: 120%;
    color: #151515;
    text-transform: inherit;
    margin-bottom: 36px;
}

.characteristics_slider {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    position: relative;
    height: 680px;
}

.characteristics_arrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    bottom: 60%;
    width: 100%;
    padding: 0 15px;
}

.characteristics_left,
.characteristics_right {
    cursor: pointer;
}

.characteristics_slider_properties {
    display: flex;
    justify-content: space-between;
    gap: 88px;
    padding-bottom: 33px;
    border-bottom: 1px solid #181c28;
}

.characteristics_slider_properties_item {
    display: flex;
    flex-direction: column;
}

.characteristics_slider_properties_item .param {
    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
    color: #7d7d7d;
}

.characteristics_slider_properties_item .value {
    font-weight: 700;
    font-size: 20px;
    line-height: 120%;
    color: #38b000;
    margin-top: 5px;
}

.characteristics_all {
    display: flex;
    flex-direction: column;
    margin-bottom: 38px;
}

.characteristics_item {
    border-bottom: 1px solid #dedede;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
}

.characteristics_item_param {
    font-weight: 400;
    font-size: 16px;
    line-height: 170%;
    color: #8d8d8d;
}

.characteristics_item_value {
    font-weight: 500;
    font-size: 16px;
    line-height: 170%;
    color: #181c28;
}

.characteristics_link_button {
    display: flex;
    align-items: center;
    gap: 16px;
}

.characteristics_link_button_block {
    display: flex;
    align-items: center;
    gap: 30px;
    position: absolute;
    bottom: 0;
}

.download_present {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
    color: #38b000;
}

.characteristics_price {
    font-weight: 700;
    font-size: 20px;
    line-height: 130%;
    letter-spacing: 0.02em;
    color: #323232;
}

.characteristics_operating_instructions {
    font-weight: 400;
    font-size: 14px;
    line-height: 170%;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: #8d8d8d;
    text-align: end;
}

.characteristics_slider_description .button {
    width: 214px;
}

.characteristics_filter {
    display: flex;
    border-bottom: 1px solid #d9d9d9;
    margin-bottom: 27px;
}

.characteristics_filter_item {
    width: 100%;
    padding: 13px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 20px;
    line-height: 120%;
    text-transform: uppercase;
    color: #151515;
    cursor: pointer;
}

.characteristics_filter_item.active {
    border-bottom: 1px solid #000;
}

.characteristics_main_text {
    font-weight: 700;
    font-size: 20px;
    line-height: 120%;
    color: #38b000;
    margin-bottom: 5px;
}

.characteristics_standard_text {
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
    color: #000;
    margin-bottom: 10px;
}

.block2 ul {
    padding-left: 16px;
}

.block1, .block2, .block3 {
    display: none;
}

.block1.active, .block2.active, .block3.active {
    display: block;
}

.block2.active, .block3.active {
    height: 490px;
    overflow-y: scroll;
}

.block2::-webkit-scrollbar, .block3::-webkit-scrollbar {
  width: 12px;               /* ширина scrollbar */
}

.block2::-webkit-scrollbar-track, .block3::-webkit-scrollbar-track {
  background: lightgrey;        /* цвет дорожки */
}

.block2::-webkit-scrollbar-thumb, .block3::-webkit-scrollbar-thumb {
  background-color: #38b000;    /* цвет плашки */
  border-radius: 20px;       /* закругления плашки */
  border: 3px solid lightgrey;  /* padding вокруг плашки */
}

.block2, .block3 {
  scrollbar-width: thin;          /* "auto" или "thin"  */
  scrollbar-color: #38b000 lightgrey;   /* плашка скролла и дорожка */ 
}

/*Слайдер*/

.characteristics_slider_picture {
    text-align: center;
    border-radius: 6px;
    background: #f8f8f8;
    position: relative;
}

.characteristics_slider_picture_active img {
    max-width: 100%; /* Активное изображение занимает всю ширину блока */
}

.characteristics_slider_picture_group {
    display: flex;
    justify-content: center;
    margin-top: 80px;
    overflow-x: auto; /* Добавим скроллинг, если изображений больше 6 */
}

.characteristics_slider_picture_item {
    flex: 0 0 auto; /* Не допускаем растяжение */
    max-width: 100px; /* Ширина для каждого элемента (настраиваемая) */
    max-height: 100px;
    margin: 0 5px; /* Задаем отступы */
}

.characteristics_slider_picture_item img {
    width: 100%; /* Изображение занимает всю ширину элемента */
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
    object-fit: cover;
}

.characteristics_slider_picture_item img:hover {
    opacity: 1;
}

.characteristics_slider_picture_active img {
    transition: opacity 0.5s ease; /* Плавный переход для изменения прозрачности */
    opacity: 1; /* Полная прозрачность для активного изображения */
}

.characteristics_slider_picture_group img {
    transition: opacity 0.5s ease; /* Плавный переход для изменения прозрачности */
    opacity: 0.6; /* Начальная прозрачность для неактивных изображений */
}

.characteristics_slider_picture_item img:hover {
    opacity: 1; /* При наведении курсора на изображение, оно становится полностью видимым */
}

.characteristics_slider_picture_active {
    width: 550px;
    height: 500px;
    margin: 0 auto;
    overflow: hidden;
}

.characteristics_slider_picture_active img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: pointer;
}

.characteristics_slider_description {
    width: 50%;
}

/*Открытие каждой картинки в Popup*/

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s, visibility 0.5s;
    z-index: 1000;
}

.popup.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    height: 75%;
    background: #fff;
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

@media screen and (max-width: 1500px) {
    .characteristics_slider_properties {
        gap: 46px;
    }

    .characteristics .h2 {
        width: 80%;
    }

    .characteristics_slider_picture_active {
        width: 100%;
        min-width: 478px;
    }

    .characteristics_slider_picture_group {
        margin-top: 40px;
    }

    .characteristics_filter_item {
        font-size: 14px;
    }

    .characteristics_slider_properties {
        gap: 30px;
    }

    .characteristics_link_button_block {
        position: static;
        margin-top: 30px;
    }

    .characteristics_all {
        margin-bottom: 0;
    }

    .characteristics_slider {
        height: auto;
    }
}

@media screen and (max-width: 1080px) {
    .characteristics_slider {
        flex-direction: column;
    }

    .characteristics_slider_properties {
        gap: 0;
        justify-content: space-between;
    }

    .characteristics_slider_description {
        width: 100%;
    }

    .characteristics_filter {
        flex-direction: column;
    }

    .popup-content {
        height: auto;
        width: 100%;
    }

    .characteristics_filter_item {
        font-size: 20px;
    }

    .characteristics .h2 {
        width: 100%;
    }
}

@media screen and (max-width: 672px) {
    .characteristics_tab_item {
        padding: 3px;
    }

    .characteristics_slider_picture_active {
        min-width: 320px;
    }

    .characteristics_slider_picture_group {
        margin-top: 0px;
    }

    .characteristics_item_param,
    .characteristics_item_value {
        font-size: 14px;
    }

    .characteristics_link_button {
        align-items: end;
        flex-direction: column;
    }

    .characteristics_slider_description .button {
        width: 100%;
    }

    .characteristics_slider_picture_active {
        height: 410px;
    }
}


