#rm_fixed_contact_button, .rm-fixed-contact-pulsation, .rm-header-cart-quantity, .rm-news-item-date, .oct-fixed-bar-quantity-cart, .rm-slideshow-plus .slick-dots li.slick-active button, .rm-slideshow-plus .slick-dots li:hover button, .rm-day-discounts .slick-dots li.slick-active button, .rm-day-discounts .slick-dots li:hover button, .rm-product-tabs .nav-link.active:before, .radio-box::after, .rm-product-images-main .slick-dots li.slick-active button, #loginTabs .nav-link.active:before {background:rgb(177, 16, 22);}
@media (min-width: 1200px){.rm-account-list-item:hover::before{background:rgb(177, 16, 22);}}
.rm-product-top-button:hover, .oct-fixed-bar-item:hover {background:rgb(177, 16, 22);}
.rm-module-header span, .rm-product-top-button:hover {border-color:rgb(177, 16, 22);}
.oct-bottom-free-shipping-from .progress-bar, .oct-checkout-block ul.dropdown-address li:hover, .oct-checkout-block #button-confirm {background-color:rgb(177, 16, 22);}
body {background-color:rgb(255, 255, 255);}
.form-checkbox-group label a, .subcat-item:hover .subcat-item-title, .rm-content a, .blue-link, .blue-link:hover, .rm-category-wall-item:hover span, .rm-promotional-product-item:hover a, #oct-menu-ul .group-title a, .rm-last-reviews-item:hover .rm-last-reviews-item-title, .rm-module-item:hover .rm-module-title > a, .rm-module-item:hover .rm-module-title > a:visited, .rm-news-item:hover .rm-news-item-title, .rm-livesearch-list-item-name a, .rm-fixed-contact-item:hover, .category-landing-links-item-link span, .modal-content a, .rm-manufacturer-item a:hover span, .table td a, .rm-alert-text a, .rm-day-discounts-item:hover a, .rm-header-phones-list-item:hover, .rm-header-location-phones a .rm-footer-phones-link, .rm-footer-mail-link, .rm-footer-mail-link:hover, .collapse-value > button, .collapse-value > button:focus, .collapse-value > button:active, .collapse-value > button:active:focus, .rm-product-advantages-item:hover .rm-product-advantages-item-title, .rm-contact-location a, .rm-breadcrumb-item a, .rm-account-list-item:hover a, .rm-menu-list-item:hover > div:first-child .rm-menu-list-item-link, .rm-menu-list-item.active > div:first-child .rm-menu-list-item-link, .rm-footer-phones-link, .rm-footer-phones-link:hover, .rm-header-location-phones a, .oct-checkout-block a.blue-link, .oct-checkout-actions .form-check-label a, .ds-cart-recommended-products-item:hover .rm-module-title, .ds-cart-item-title:hover, .payment-method-check-item a {color:rgb(0, 0, 0);}
.rm-module-buttons button:hover {background-color:rgb(0, 0, 0);border-color:rgb(0, 0, 0);}
.rm-btn.primary, button[data-target="#ocfilter-hidden-options"], #ocfilter .btn-primary, #ocfilter .btn-primary:active, #ocfilter .btn-primary:focus, .simplecheckout-cart-buttons .button:hover, .simplecheckout-button-right .button:hover, #simplecheckout_button_login:hover, .pagination li.active span, .pagination li:hover a, #rm_livesearch_close, .simplecheckout-cart-buttons .button, .rm-header-location.active .rm-btn, #rm_mobile_menu_button, .rm-sidebar #rm_mobile_menu_toggle_button:before, .rm-btn.secondary:hover, .rm-btn.dark:hover {background-color:rgb(0, 0, 0);}
@media (min-width: 1200px){.rm-btn.secondary:hover, .rm-btn.dark:hover, .rm-module-item:hover .rm-cart-btn {background:rgb(0, 0, 0);}}
.rm-btn.primary, .rm-btn.primary .rm-btn-text {color:rgb(255, 255, 255);}
.rm-btn.dark {background-color:rgb(0, 0, 0);}
.rm-btn.dark, .rm-btn.dark .rm-btn-text {color:rgb(255, 255, 255);}
.rm-btn.secondary {background-color:rgb(233, 233, 233);}
.rm-btn.secondary, .rm-btn.secondary .rm-btn-text {color:rgb(0, 0, 0);}
#top {background:rgb(255, 218, 0);}
.top-nav-info-list a, .top-nav-account-links-item a, .top-nav-account-links-item button, .top-nav-account-links-item > span {color:rgb(57, 57, 57)!important;}
.top-nav-info-list a:hover, #top .top-nav-account-links-item button:focus, .top-nav-account-links-item:hover > a, .top-nav-account-links-item button:hover, .top-nav-account-links-item:hover form > button, .top-nav li:hover > a, .top-nav-account-links-item > span:hover {color:rgb(177, 16, 22) !important;}
.top-nav .rm-dropdown-box:hover .rm-dropdown-toggle::after {background:rgb(177, 16, 22) !important;}
.rm-footer {background-color:rgb(255, 255, 255);}
.rm-footer-text, .rm-footer-credits {color:rgb(0, 0, 0);}
.rm-footer-phones, .rm-footer-links-list a {color:rgb(0, 0, 0);}
.rm-footer-phones a:hover, .rm-footer-links-list a:hover {color:rgb(177, 16, 22);}
.rm-column-categories-item {background:rgb(255, 255, 255);}
.rm-column-categories-item {color:rgb(0, 0, 0);}
.rm-column-categories-item.active > span, .rm-column-categories-item .rm-categories-3 .active, .rm-column-categories-item a:hover {color:rgb(177, 16, 22);}
.modal-header {background:rgba(255, 255, 255, 0);}
.modal-title {color:rgb(12, 12, 12);}
.modal-close-icon {background-color:rgb(0, 0, 0);}
#rm_mobile_nav {background:rgb(255, 255, 255);}
.oct_dynamic_stylesheet_begin{display: none;}
.ocf-container {
    margin: 10px 10px;
}

.rm-sidebar .rm_mobile_menu_second .rm_mobile_menu-list-item { padding: 0 6px 0 5px !important; } 

.ocf-container {
    margin: 10px 10px;
}

.rm-sidebar .rm_mobile_menu_second .rm_mobile_menu-list-item { padding: 0 6px 0 5px !important; }

/* 1. ПОПУЛЯРНЫЕ КАТЕГОРИИ 150х150 */
.rm-popular-category-item-image img,
.rm-popular-categories-item img {
    max-height: 150px !important;
    max-width: 150px !important;
    object-fit: contain !important;
}

/* 2. УБИРАЕМ ГОРИЗОНТАЛЬНЫЙ СДВИГ СТРАНИЦЫ */
html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
}

/* 3. ЖЕСТКАЯ ФИКСАЦИЯ СТИКЕРА "БЕЗКОШТОВНА ДОСТАВКА" (Для всех устройств) */
.rm-module-stickers,
.oct-sticker,
.us-module-stickers,
.rm-module-sticker-discount {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    display: inline-block !important;
    margin: 4px 0 !important;
    z-index: 5 !important;
}

.oct-sticker-free-shipping,
.rm-module-sticker {
    font-size: 9px !important;
    padding: 2px 5px !important;
    white-space: nowrap !important;
    line-height: 1 !important;
    display: inline-block !important;
}

/* 4. ЖЕСТКАЯ ФИКСАЦИЯ НАЛИЧИЯ И ХАРАКТЕРИСТИК (Телефоны и Планшеты до 1200px) */
@media (max-width: 1200px) {
    .rm-module-stock,
    .rm-product-stock,
    .us-product-attr-stock,
    .oct-product-stock,
    .rm-category-product-stock {
        position: relative !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        display: block !important;
        height: auto !important;
        line-height: 1.3 !important;
        font-size: 11px !important;
        margin: 6px 0 !important;
        white-space: normal !important;
        clear: both !important;
    }

    .rm-product-attr,
    .rm-module-attr,
    .us-product-attr-item,
    .oct-product-attr {
        position: relative !important;
        top: auto !important;
        transform: none !important;
        margin-top: 5px !important;
        clear: both !important;
    }

    .rm-filter-box, #oct-filter-box {
        font-size: 11px !important;
        word-break: normal !important;
    }
}

/* --- ФИКС ДЛЯ ПЛАНШЕТА (ДОПОЛНЕНИЕ) --- */
.rm-category-product-item-info,
.rm-module-attr,
.rm-product-attr,
.us-product-attr-item,
.oct-product-attr {
    position: static !important;
    transform: none !important;
    top: auto !important;
    margin-top: 6px !important;
    display: block !important;
    clear: both !important;
}

.rm-category-product-stock,
.rm-module-stock,
.rm-product-stock,
.oct-product-stock {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    display: block !important;
    height: auto !important;
    min-height: 18px !important;
    margin-bottom: 4px !important;
    clear: both !important;
}

/* --- СТАБИЛИЗАЦИЯ ВЫВОДА КОЛИЧЕСТВА ШТУК (ПЛАНШЕТЫ И ПК) --- */
/* 1. Делаем контейнер наличия гибким строчным блоком */
.rm-category-product-stock,
.rm-product-stock,
.rm-module-stock,
.oct-product-stock {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    height: auto !important;
    min-height: 20px !important;
    margin: 4px 0 6px 0 !important;
}

/* --- КРАСИВЫЙ СТИЛЬ НАЛИЧИЯ И КОЛИЧЕСТВА (В ОДНУ СТРОКУ) --- */
.rm-category-product-stock,
.rm-product-stock,
.rm-module-stock,
.oct-product-stock {
    position: relative !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important; /* Строго одна строка */
    height: auto !important;
    min-height: 22px !important;
    margin: 6px 0 8px 0 !important;
    font-size: 12px !important;
    line-height: 1 !important;
}

/* --- ВЫРАВНИВАНИЕ НАЛИЧИЯ В ОДНУ СТРОКУ (ПК, ПЛАНШЕТ, ТЕЛЕФОН) --- */
.rm-category-product-stock,
.rm-product-stock,
.rm-module-stock,
.oct-product-stock,
.us-product-attr-stock {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important; /* Запрещаем перенос на вторую строку */
    align-items: center !important;
    justify-content: flex-start !important;
    white-space: nowrap !important;
    height: auto !important;
    margin: 4px 0 6px 0 !important;
    font-size: 11px !important;
}

/* Убираем внутренние переносы строк и делаем элементы единым целым */
.rm-category-product-stock *,
.rm-product-stock *,
.rm-module-stock *,
.oct-product-stock *,
.us-product-attr-stock * {
    display: inline-block !important;
    position: static !important;
    float: none !important;
    clear: none !important;
    margin: 0 1px !important;
    padding: 0 !important;
    white-space: nowrap !important;
}

/* На совсем узких экранах смартфонов чуть уменьшаем шрифт, чтобы 100% влезло */
@media (max-width: 480px) {
    .rm-category-product-stock,
    .rm-product-stock,
    .oct-product-stock {
        font-size: 10px !important;
    }
}

/* --- СТАБИЛЬНЫЙ ФИКС СТЕНЫ КАТЕГОРИЙ --- */
.rm-category-wall-item,
.oct-category-wall-item {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 5px !important;
    box-sizing: border-box !important;
}

.rm-category-wall-item-image img,
.oct-category-wall-item-image img {
    max-height: 90px !important;
    max-width: 100% !important;
    object-fit: contain !important;
    margin: 0 auto !important;
}

.rm-category-wall-item-title,
.oct-category-wall-item-title,
.rm-category-wall-item a {
    text-align: center !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
    margin-top: auto !important;
}

/* 1. Делаем шрифт легким и разрешаем перенос слов */
.rm-menu-list-item-child-links-categories-item-title,
.rm-menu-list-item-child-links-categories-item-title span {
    font-weight: 400 !important; /* Убираем жирноту */
    font-size: 13px !important;
    line-height: 1.25 !important;
    word-break: break-word !important; /* Автоперенос длинных слов */
    overflow-wrap: anywhere !important;
    text-align: center !important;
}

/* --- ФИКС СТИКЕРОВ НА МОБИЛЬНЫХ ДЛЯ БЛОКА ПЕРЕГЛЯНУТІ ТОВАРИ --- */
@media (max-width: 767px) {
    /* Подгоняем размер шрифта и высоту рамки стикера */
    .rm-module-sticker,
    [class*="sticker"] {
        font-size: 10px !important;       /* Уменьшаем шрифт, чтобы текст влезал */
        line-height: 1.1 !important;      /* Плотный межстрочный интервал */
        height: auto !important;          /* Разрешаем рамке подстраиваться */
        min-height: 20px !important;
        padding: 3px 5px !important;       /* Аккуратные внутренние отступы */
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }
}





.oct_dynamic_stylesheet_end{display: none;}
