.header-menu__btn:hover {
        color: #000;
        background: #ffed00;
    }

.header-phones__callback {
background: #c5c6c6;
    padding: 3px 10px !important;
    white-space: nowrap;
    border-radius: 5px;
font-size: smaller;
text-transform: none;
color: #000000 !important;
text-decoration: none;
}
.header-phones__span {
    border-bottom: none;
}
button.header-phones__li {
background: none;
}
i.header-phones__show-phone.dropdown-toggle.fas.fa-chevron-down {
display: none !important;
}
.pchone_btn {
    background: #f0f0f0;
    padding: 10px;
    min-height: 45px;
    min-width: 45px;
    margin-right: 10px;
}
.pchone_btn:hover {
background: #ffed00;
}

.header-search__input {
    height: 45px;
}
.header-block__item-search {
    padding: 0 2px 0 5px;
}
@media (max-width: 991px) {
    .menu-open {
        height: 45px;
}
.header-phones.has-addit {
    display: none;
}
}
@media (min-width: 992px) {
    .header-menu__btn {
        height: 45px;
        padding: 0 25px;
    }
}
.header-block__item-logo {
    margin-bottom: 21px;
}
.header-cart__btn {
    display: flex;
}
.cartnameheader {
    padding: 0 0 0 10px;
    font-weight: 500;
    margin-top: -3px;
}
.header-cart__btn {
    display: flex;
    background: #ffed00;
    padding: 14px 24px;
    border-radius: 8px;
}
@media (max-width: 500px) {
    .cartnameheader {
        display: none;
}
.header-cart__btn {
    padding: 14px 14px;
}
.header-block__item-telephone {
        padding: var(--header-telephone-padding, 0 0px 0 5px);
    }
    .header-logo {
        max-width: 215px;
    }
}
.header-account, .header-wishlist, .header-compare {
    position: relative;
    padding: 12px 14px;
    border-radius: 8px;
    background: #f0f0f0;
}
.header-block__item-account, .header-block__item-wishlist, .header-block__item-compare {
padding: 0 5px;
}
header.fixed .header-block {
    padding: 2px 0;
}

.owl-carousel .owl-next, .owl-carousel .owl-prev {
    border-radius: 8px;
}
.uni-slideshow_v2 .owl-nav button {
    border: 1px solid #FFED00 !important;
}
.owl-carousel .owl-nav button {
    border: 1px solid #FFED00 !important;
}

/* Десктоп: 5 в ряд для 10 банеров */
@media (min-width: 992px) {
    .uni-banner__item--ten {
        width: 20%;
        float: left;
    }
}

/* Планшет: 3 в ряд, последний — на всю ширину */
@media (min-width: 768px) and (max-width: 991px) {
    .uni-banner__item--ten {
        width: 33.3333%;
        float: left;
    }
    .uni-banner__item--ten.uni-banner__item--last {
        width: 100%;
    }
}

/* Мобильный: 2 в ряд */
@media (max-width: 767px) {
    .uni-banner__item--ten {
        width: 50%;
        float: left;
    }
}

.uni-banner__title {
    font-size: 1.1em;
    color: #000;
    text-shadow: none;
    background: none;
}
.media {
    display: flex;
    align-items: center;
    background-color: #f8f8f8;
    border-radius: 8px;
    margin-top: 15px;
    padding: 15px;
}

.media-heading {
    margin: 0 0 0 25px; /* Убираем верхний отступ, оставляем только отступ слева */
}

.home-page .html-module {
       background: none;
padding: 0px 0px 0px;
}
div.heading {
    display: flex;
    padding: 30px 0px 10px;
}
.price-tax {
    display: none;
}
.btn-primary.ckshare {
    font-weight: 500;
    padding-top: 6px;
}
.alert {
    word-break: break-word !important;
}
.goods__container_right_box_bottom {
    display: flex;
    gap: 25px;
}
.goods__container_box_item {
    flex: 1 1 50%;
}
.goods__container_box_item, .goods__container_right_box {
    padding: 25px 30px;
}
.goods__container_box_item_title {
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
@media (max-width: 991px) {
    .goods__container_right_box_bottom {
        flex-flow: column;
    }
}
.product-block {
        background-color: #f8f8f8;
        padding: 25px 30px 0px 30px;
        border-radius: 15px;
}
.product-page__textblock-inner {
    padding: 0px;
    background: none;
}
/* Кнопка "Скачать КП" в карточке товара */
.product-thumb__kp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    color: #2c3e50;
    text-decoration: none;
    background: #f4f6f8;
    border: 1px solid #dfe4e8;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.product-thumb__kp i {
    font-size: 14px;
    color: #3498db;
    transition: color 0.2s ease;
}

.product-thumb__kp:hover {
    color: #000;
    background: #ffed00;
    border-color: #3498db;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(52, 152, 219, 0.3);
    transform: translateY(-1px);
}

.product-thumb__kp:hover i {
    color: #000;
}

.product-thumb__kp:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(52, 152, 219, 0.3);
}
.pull-right {
    float: right !important;
    margin-top: 2px;
    margin-left: 12rem;
    position: absolute;
}
@media (max-width: 456px) {
.pull-right {
    display: contents;
}
.btn-primary.ckshare {
     margin-left: 7px;
}
.kom-download__toggle {
     margin-top: 5px;
    }
}
#tab-specification {
    border: 1px solid #f8f8f8;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
}


#tab-specification .product-data__item-div:first-child:after {
    border-bottom: none;
}
#tab-specification .product-data {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* чтобы элементы не растягивались */
}

#tab-specification .product-data__item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
    padding: 8px 12px;
    border-radius: 4px;
    width: 100%;
    max-width: 700px; /* фиксированная ширина блока */
    box-sizing: border-box;
}
@media (max-width: 550px) {
    #tab-specification .product-data__item {
        gap: 0 !important;
        padding: 6px 8px !important;
    }
}

#tab-specification .product-data__item-div {
    flex: 0 1 auto;
    max-width: 70%; /* ограничиваем ширину названия */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Значение справа */
#tab-specification .product-data__item > *:last-child {
    flex: 0 0 auto;
    text-align: right;
}

/* Две колонки для характеристик на ПК */
@media (min-width: 992px) {
    #tab-specification .product-data {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 24px;
        row-gap: 0; /* строки идут вплотную, фон чередуется через nth-child */
    }

    /* Каждый элемент — как строка внутри своей колонки */
    #tab-specification .product-data__item {
        display: flex;
        align-items: baseline;
        padding: 8px 12px;
        border-radius: 4px;
        box-sizing: border-box;
        width: 100%;
        max-width: none; /* сбрасываем прежнее ограничение 700px */
        gap: 8px;
    }

    /* Название — 60% ширины строки */
    #tab-specification .product-data__item-div {
        flex: 0 0 60%;
        max-width: 60%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* Значение — прижато вправо, не переносится */
    #tab-specification .product-data__item-value {
        flex: 1 1 auto;
        text-align: right;
        white-space: nowrap;
    }
#tab-specification .product-data__item:nth-child(4n+1),
#tab-specification .product-data__item:nth-child(4n+2) {
    background-color: #f7f7f7;
}
#tab-specification .product-data__item:nth-child(4n+3),
#tab-specification .product-data__item:nth-child(4n+4) {
    background-color: #ffffff;
}
}

.product-data .product-data__item:nth-child(odd) {
    background-color: #f7f7f7;
}
}
#tab-specification .product-data {
    max-width: 100%;
}

.header-block {
    padding: 0px 0;
}

.unicheckout-sticky__wrapper {
    box-shadow: 0 4px 15px rgba(0 0 0 / .10);
}
@media (min-width: 768px) {
    .ocf-open .ocf-active-label + .ocf-filter-name {
        white-space: normal !important; /* Принудительный перенос */
        overflow: visible !important;
        text-overflow: clip !important;
        height: auto !important;        /* Высота растет под текст */
        min-height: 100%;
        background-color: #fff;
        display: block;                 /* Важно для переноса */
        line-height: 1.2;               /* Чтобы строки не слипались */
    }
}

.uni-banner__title {
        color: #000000 !important;
    /*background: rgb(232 232 232 / 47%) !important;*/
position: relative;
    display: block;
}

/* ==========================================================================
   ВЫПАДАЮЩИЙ ТРЕТИЙ УРОВЕНЬ МЕНЮ (десктоп)
   Добавляем только для экранов >= 992px, чтобы не ломать мобильную версию
   ========================================================================== */
@media (min-width: 992px) {

    /* 1. Родитель второго уровня — относительное позиционирование */
    .menu__level-2-ul {
        position: relative !important;
        /* Убираем возможные ограничения высоты/обрезки */
        overflow: visible !important;
    }

    /* 2. Скрываем третий уровень по умолчанию */
    .menu__level-3 {
        display: none !important;
        position: absolute !important;
        top: -10px !important;          /* выравниваем по верху пункта */
        left: 100% !important;          /* сразу справа от пункта */
        width: auto !important;
        min-width: 230px !important;
        max-width: 320px !important;
        height: auto !important;
        max-height: 70vh !important;
        overflow-y: auto !important;
        overflow-x: visible !important;
        margin: 0 !important;
        padding: 10px 0 !important;
        background: #fff !important;
        box-shadow: 0 5px 20px rgba(0, 0, 0, .15) !important;
        border-radius: 4px !important;
        z-index: 9999 !important;
        /* Убираем внутренние отступы, которые могли бы «сжимать» */
        box-sizing: border-box !important;
    }

    /* 3. Показываем при наведении на пункт второго уровня */
    .menu__level-2-ul:hover > .menu__level-3 {
        display: block !important;
    }

    /* 4. Список внутри третьего уровня — сбрасываем стандартные стили */
    .menu__level-3-ul {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* 5. Пункты третьего уровня — на всю ширину */
    .menu__level-3-li {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* 6. Ссылки третьего уровня */
    .menu__level-3-a {
        display: block !important;
        width: 100% !important;
        padding: 8px 15px !important;
        font-size: .9em !important;
        font-weight: 400 !important;
        color: var(--menu-main-level-3-c, #333) !important;
        text-decoration: none !important;
        white-space: normal !important;   /* разрешаем перенос длинных названий */
        line-height: 1.35 !important;
        transition: background .15s, color .15s;
        box-sizing: border-box !important;
    }

    .menu__level-3-a:hover {
        background: rgba(0, 0, 0, .05) !important;
        color: var(--menu-main-level-3-c-hover, #000) !important;
    }

    /* 7. Кнопка «Назад» на десктопе не нужна */
    .menu__back.level-3 {
        display: none !important;
    }

    /* 8. Стрелка у пункта второго уровня — не должна перехватывать hover */
    .menu__chevron-level-2 {
        pointer-events: none !important;
        position: absolute;
        right: 5px;
        top: 50%;
        transform: translateY(-50%);
        font-size: .75em;
        opacity: .6;
    }

    /* 9. Убеждаемся, что родители не обрезают выпадашку */
    .menu1 .menu__level-2,
    .menu1 .menu__level-2-wrap,
    .menu-wrapper,
    .main-menu {
        overflow: visible !important;
    }

    /* 10. Если у пункта второго уровня есть картинка — оставляем её как есть,
          но третий уровень всё равно должен появляться справа */
    .menu__level-2-ul.has-image > .menu__level-3 {
        left: 100% !important;
    }
/* 11. Стрелка у пункта второго уровня, если есть третий уровень */
    .menu__level-2-ul > .menu__chevron-level-2 {
        display: flex !important;              /* принудительно показываем */
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 50%;
        right: 5px;
        width: 20px;
        height: 20px;
        margin: -10px 0 0 0;                   /* центрируем по вертикали */
        font-size: .7em;
        color: var(--menu-main-level-2-c, #999);
        opacity: .7;
        pointer-events: none;                  /* чтобы не мешала hover */
        transform: rotate(-90deg);             /* поворачиваем вправо */
        transition: transform .15s, opacity .15s;
    }

    /* При наведении на пункт — стрелка чуть ярче */
    .menu__level-2-ul:hover > .menu__chevron-level-2 {
        opacity: 1;
        color: var(--menu-main-level-2-c-hover, #000);
    }

    /* Сдвигаем текст ссылки, чтобы не наезжал на стрелку */
    .menu__level-2-ul > .menu__level-2-a.has-children {
        padding-right: 25px !important;
    }
}

.pdf-link {
    text-decoration: none;
    color: #333;
    display: block;
}

.pdf-title {
justify-self: center;
}

    .ms-stock-status { font-weight: 700; }

    .ms-status-instock  { color: #28a745; } /* зелёный — На складе */
    .ms-status-transit  { color: #eece00; } /* желтый — В пути */
    .ms-status-outstock { color: #eece00; } /* желтый — Временно нет на складе */
    .ms-status-preorder { color: #ff0000; } /* красный — Под заказ */

