.characteristics_tab {
    display: flex;
    gap: 8px;
    margin: 24px 0;
}

.characteristics_tab_item {
    border-radius: 6px;
    padding: 8px;
    background: #f8f8f8;
    border: 1px solid #f8f8f8;
    cursor: pointer;
}

.characteristics_tab_item.active {
    border: 1px solid #5ab563;
}

.characteristics_tab_item p {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 170%;
    color: #323232;
}

.characteristics_slider {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.characteristics_arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: absolute;
    right: 5px;
    bottom: 120px;
}

.characteristics_left,
.characteristics_right {
    border: 1px solid #5ab563;
    background: #fff;
    border-radius: 50px;
    padding: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    cursor: pointer;
}

.characteristics_slider_properties {
    display: flex;
    justify-content: space-between;
    gap: 58px;
}

.characteristics_slider_properties_item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.characteristics_slider_properties_item_img {
    border: 1px solid #5ab563;
    border-radius: 40px;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.characteristics_slider_properties_item p {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 130%;
    letter-spacing: 0.02em;
    color: #323232;
    margin-top: 7px;
}

.characteristics_all {
    display: flex;
    flex-direction: column;
    margin: 24px 0 16px;
}

.characteristics_item {
    border-bottom: 1px dashed #dedede;
    display: flex;
    justify-content: space-between;
}

.characteristics_item_param {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 170%;
    color: #8d8d8d;
}

.characteristics_item_value {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 170%;
    color: #323232;
}

.characteristics_link_button {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 16px;
}

.characteristics_link_button_block {
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 16px;
}

.characteristics_price {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 130%;
    letter-spacing: 0.02em;
    color: #323232;
}

.characteristics_operating_instructions {
    font-family: "Inter", sans-serif;
    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_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: 543px;
    height: 362px;
    margin: 0 auto;
    overflow: hidden;
}

.characteristics_slider_picture_active img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.characteristics_slider_description {
    width: 50%;
}

@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;
    }
}

@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%;
    }
}

@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_properties_item_img {
        width: 70px;
        height: 70px;
    }

    .characteristics_slider_properties_item p {
        font-size: 16px;
    }

    .characteristics_slider_picture_active {
        height: 410px;
    }
}

/*ЛУПА*/
.img-magnifier-container {
    position: relative;
}

.img-magnifier-glass {
    position: absolute;
    border: 1px solid #5ab563;
    border-radius: 50%;
    cursor: none;
    width: 80px;
    height: 80px;
}
