/* ===== ОБЩАЯ ТАБЛИЦА ===== */
.table-view.js_append.flexbox.flexbox--row {
    flex-wrap: wrap;
    padding-block-start: 5px;
}
.wr-table {
    display: table !important;
    width: 100%;
}
.wr-row {
    display: table-row;
}
.wr-head {
    display: table-row;
    background-color: #f4f5f6 !important;
    font-weight: bold;
    position: sticky;
    top: 60px;
    z-index: 3;
}
.wr-cell {
    display: table-cell;
    border-bottom: 1px solid #B3B4B6;
    padding: 4px;
    text-align: center;
    vertical-align: middle;
    font-size: 12px !important;
    line-height: 1.4;
}
.wr-catalog-section-price .button_block svg {
    display: none;
    margin: 0;
}
.table-view__item.item.bordered {
    border: 1px solid #365edc;
}

/* ===== ШИРИНА КОЛОНОК ===== */
.wr-cell.wr-prod-num      { width: 2%; }
.wr-cell.wr-prod-code     { width: 6%; }
.wr-cell.wr-prod-img      { width: 5%; }
.wr-cell.wr-prod-name     { width: 22%; position: relative; padding-top: 20px; padding-bottom: 10px; }
.wr-cell.wr-prod-perv-up  { width: 7%; }
.wr-cell.wr-prod-tran-up  { width: 7%; }
.wr-cell.wr-prod-price    { width: 7%; }

/* Три ценовых ступени */
.wr-cell.wr-prod-price-tier1 { width: 7%; }
.wr-cell.wr-prod-price-tier2 { width: 7%; }
.wr-cell.wr-prod-price-tier3 { width: 7%; }

.wr-cell.wr-prod-price-technolog { width: 7%; }
.wr-cell.wr-prod-price-ekspert   { width: 7%; }
.wr-cell.wr-prod-btns     { width: 10%; }

/* ===== HIT-СЕКЦИИ ===== */
.subtitle__table--hit { margin-bottom: 4px; }
.hit-section-badge {
    display: inline-block;
    font-size: 22px !important;
    font-weight: bold !important;
}

/* ===== ЗАГОЛОВКИ РАЗДЕЛОВ ===== */
.subtitle__table {
    font-size: 26px !important;
    font-weight: normal !important;
    margin-bottom: 0;
    width: 100%;
    padding: 10px;
    text-align: center;
}
.depth-2 { color: #365edc; }
.depth-3 {
    color: #8c8d8d;
    font-size: 18px !important;
    background-color: #f4fafa !important;
    margin-top: -20px;
    box-shadow: 3px 3px 3px rgba(152,142,142,0.6);
}

/* ===== НАЗВАНИЕ ТОВАРА ===== */
.wr-prod-name .prod-name .dark_link {
    color: #365edc !important;
    font: 14px/16px "Montserrat", Arial, sans-serif !important;
}
span.prod-name {
    word-wrap: break-word;
    display: inline-block;
    max-width: 190px;
}
span.prod-code { font-size: 11px; }

/* ===== КНОПКИ ===== */
.item-buttons { width: 170px; }
.counter_wrapp { padding: 0 !important; white-space: normal !important; }
.counter_wrapp.list > div {
    width: 50% !important;
    float: left !important;
}
.button_block {
    margin-top: 0 !important;
}
.table-view .item-buttons .counter_wrapp.list .button_block.wide {
    width: 100% !important;
}
.button_block.wide .small.to-order,
.button_block.wide .more_text {
    float: none;
    width: 100% !important;
}

/* ===== МЕТКИ (стикеры) ===== */
.stic-container { display: flex; }
.stic {
    position: absolute;
    top: 0;
    left: 0;
    padding: 3px;
}
.stic__item {
    padding: 2px 5px;
    font-size: 10px;
    border-radius: 2px;
}
.stic__item_new    { background-color: #60c339; color: #fff; }
.stic__item_akciya { background-color: #ffd83a; color: #333; }

/* ===== ПОИСК ===== */
form.search-price { margin-top: 30px; }
form.search-price .search-close {
    position: absolute;
    top: -1px;
    padding: 17px;
    right: 50px;
    cursor: pointer;
}
form.search-price .search-close-item {
    width: 11px; height: 1px;
    background-color: #a39d9d;
}
form.search-price .search-close-item-1 { transform: rotate(45deg); }
form.search-price .search-close-item-2 { transform: rotate(135deg); margin-top: -1px; }
.search-pricetable .sum-search { display: none; padding-left: 14px; font-size: 13px; }
.search-pricetable .sum-search span { color: #365edc; }
.search-null {
    display: none;
    width: 510px;
    text-align: center;
    margin: 30px auto;
}
.search-price .btn-search-price { padding: 8px 15px 7px; }

/* ===== ЛЕВОЕ МЕНЮ (CSS меню) ===== */
#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a,
#cssmenu > ul > li > a {
    border: 0 none;
    box-sizing: border-box;
    display: block;
    line-height: 1;
    list-style: none outside none;
    margin: 0; padding: 0;
    position: relative;
    color: #afafaf;
}
#cssmenu {
    font-family: Helvetica, Arial, sans-serif;
    width: 272px;
    box-shadow: 3px 3px 3px rgba(152,142,142,0.6);
}
#cssmenu ul ul { display: none; }
#cssmenu > ul > li > a {
    background: #fff; 
    border-left: 1px solid #fafafa;
    border-right: 1px solid #fafafa;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset;
    color: #afafaf;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    padding: 15px 20px;
    text-decoration: none;
    text-transform: uppercase;
}
#cssmenu > ul > li.active > a,
#cssmenu > ul > li.open > a {
    background: #365edc;
    color: #fafafa;
}
#cssmenu > ul > li.open > a {
    border-bottom: 1px solid #365edc;
}
#cssmenu ul ul li a {
    background: #f2f6fc;
    border-bottom: 1px solid #365edc;
    color: #777;
    font-size: 13px;
    padding: 10px 20px;
    text-transform: none;
}
#cssmenu ul ul li:hover > a,
#cssmenu ul ul li.active > a { background: #d0e8ea; }

/* Индикаторы раскрытия подменю */
.holder {
    height: 0; position: absolute;
    right: 0; top: 0; width: 0;
}
.holder:before {
    content: "+";
    display: block;
    position: absolute;
    right: 20px;
    top: 11px;
    font-size: 25px;
    color: #afafaf;
}
#cssmenu > ul > li.active > a > .holder:before,
#cssmenu > ul > li.open > a  > .holder:before {
    content: "–";
    color: #fff;
    font-size: 24px;
    top: 8px;
}

/* ===== МОБИЛЬНАЯ БУРГЕР-КНОПКА ===== */
.burger_price { display: none; }
[for='myBtn'] {
    background: #365edc;
    color: white;
    padding: 10px 16px;
    font-size: 20px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}
.burger_price.pull-left .modal-content {
    display: none;
    background-color: #fff;
    border: 5px solid #fff;
    position: fixed;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    animation: animatetop 0.4s;
}
#myBtn:checked + .form-check-label + .modal-content { display: block; }
.sticky-content.fixed {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 9999;
}
@keyframes animatetop {
    from { top: -300px; opacity: 0; }
    to   { top: 0;      opacity: 1; }
}

/* ===== ЦЕНЫ ===== */
.table-view__item .prod-price-tier1,
.table-view__item .prod-price-tier2,
.table-view__item .prod-price-tier3,
.table-view__item .prod-price-technolog,
.table-view__item .prod-price-ekspert { font-weight: normal; }

/* ===== АДАПТИВНОСТЬ ===== */
@media screen and (max-width: 990px) {
    .burger_price { width: 100%; display: block; position: relative; }
    .wr-cell {
        padding: 2px;
        font-size: 6px !important;
        line-height: 1;
        max-width: 10%;
    }
    .wr-cell.wr-prod-btns { width: 10%; }
    .counter_wrapp.list > div { width: 100% !important; float: left !important; }
    .item-buttons { width: 80px; }
    .wr-prod-name .prod-name .dark_link {
        font: 7px/9px "Montserrat", Arial, sans-serif !important;
    }
    span.prod-code { font-size: 6px; }
    .wr-cell.wr-prod-name { padding-top: 0; padding-bottom: 0; }
    span.prod-name { max-width: 65%; }
    .search-null { width: 90%; }
}

/* ===== СУММА В СЧЁТЧИКЕ ===== */
.wr-prod-btns .total_summ {
    height: 60px;
}

/* ===== ПОДСВЕТКА АКТИВНОЙ ЦЕНОВОЙ ЯЧЕЙКИ ===== */
.wr-cell.wr-prod-price.price-cell-active {
    background: rgba(54, 94, 220, 0.10);
    border-left: 3px solid #365edc;
    transition: background 0.2s, border-color 0.2s;
}
.wr-cell.wr-prod-price.price-cell-active span {
    color: #365edc;
    font-weight: 600;
}

/* ===== ВСПОМОГАТЕЛЬНЫЕ ===== */
div.bx-component-opener { display: none !important; }
.fast_view_block.wicons.rounded2 { display: none; }
.item-foto__picture:hover .fast_view_block.wicons.rounded2 { display: block; }
.bottom_nav { padding-bottom: 0; }
.wr-catalog-section-price .bottom_nav:not(.animate-load-state) { padding-bottom: 0; }

ul:not([id*="bx_"]) > li:before{
    display: none;
}