/*NOTE: This file is intended for programmers. Aspro technical support is not advised to work with him.*/

/* Examples (uncomment to use):*/

/* Expand site width */
/* body .wrapper { max-width: 1400px !important;  } */

/* Set site background image */
/* body {  background: url(image_source) top no-repeat; }

/* Hide compare button */
/* a.compare_item { display: none !important;  }*/

/* скрыли цену доставки в оформлении заказа 1-место */
#bx-soa-order .bx-soa-pp-item-container .bx-soa-pp-delivery-cost {
    display: none;
}

/* скрыли цену доставки в оформлении заказа 2-место */
#bx-soa-order .bx-soa-pp-desc-container .bx-soa-pp-company ul.bx-soa-pp-list li  {
    display: none;
}

/* скрыли цену доставки в оформлении заказа 3-место */
#bx-soa-order #bx-soa-delivery .bx-soa-pp-price {
    display: none;
}

/* скрыли сумму экономии в товаре на разводной и в товаре */
.sale_block .text {
    display: none;
}

/* скрыли  "экономия" в Рекомендованное в корзине*/
.sale_block .title {
    display: none;
}

/* скрыли сумму экономии в товаре в блоке Похожие ------------------ */
.bottom_slider.custom_type.tab_slider_wrapp .sale_block .value {
    display: none;
}

/* скрыли сумму экономии в товаре в корзине*/
#basket-root .basket-item-price-difference, #basket-root .basket-checkout-block-total-price-inner .basket-coupon-block-total-price-difference {
    display: none;
}

/* скрыли сумму экономии в товаре в оформлении заказа*/
body #bx-soa-order .bx-soa-cart-total-line.bx-soa-cart-total-line-highlighted {
    background: #ffd02e;
    display: none;
    padding: 3px 8px 2px;
    border-radius: 3px;
    margin: 10px 0 10px;
}

/* скругление штатных иконок шаблона 1 */
.rounded_block .social-icons li a, .soc-avt .row a {
    border-radius: 2px;
}

/* скругление штатных иконок шаблона 2 */
.social-icons li a, .soc-avt .row a {
    border-radius: 2px;
}

.socnets_fix_widget {
    position: fixed;
    right: 8px;
    top: 60%;
    width: 40px;
    z-index: 40;
}

.socnets_fix_widget__item {
    display: block;
    width: 48px;
    height: 48px;
    overflow: hidden;
    margin-bottom: 6px;
    position: relative;
    border-radius: 2px;
}

.socnets_fix_widget__item img {
    width: 48px;
    display: block;
}

.socnets_fix_widget__item:hover .socnets_fix_widget__item_hover {
    display: block;
}

.socnets_fix_widget__item_hover {
    background: rgba(0, 0, 0, 0.2);
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 48px;
    height: 48px;
    display: none;
}

/* ховер на меню жёлтым цветом */
.menu-row.middle-block:not(.bglight) .mega-menu table td.active .wrap>a, .menu-row.middle-block:not(.bglight) .mega-menu table td:not(.search-item):hover .wrap>a {
    color: #d9de97;
}

/* выпадающий фильтр в разделе */
@media (min-width: 768px) {
    .bx_filter.compact .bx_filter_block:not(.limited_block) {
        width: 200%;
        min-width: 225px;}
}

/* выдвижное меню слева - Рамка1*/
.menu_top_block.catalogfirst li.full > .dropdown, .menu_top_block.catalog_block .dropdown > li.full > .dropdown {
    box-shadow: 10px -2px 10px 0px rgb(29 53 81 / 70%);
}

/* выдвижное меню слева - Полоска слева*/
header .menu_top_block li.catalog > .dropdown > li:hover > a:before, .menu_top_block.catalog_block .dropdown > li.full:hover > a:before, .left_menu > li:hover > a:before {
    width: 9px;
}

/* выдвижное меню слева - Серый большой*/
.menu_top_block li.full:not(.v_bottom):hover > .dropdown, header .menu_top_block.catalogfirst li.full:not(.v_bottom):hover > .dropdown {
    background-color: #fefefe;
}

/* выдвижное меню слева - Серый фон малый*/
header .menu_top_block li .dropdown>li.menu_item>a:hover, .menu_top_block.catalog_block .dropdown>li.full>.dropdown>li>a:not(.section):hover, .menu_top_block.catalog_block .dropdown>li.full:hover>a, .left_menu>li:hover>a
 {
    background-color: #fefefe;
}


/* уменьшил список разделов на разводной*/
@media (min-width: 992px) {
    .col-md-3 {
        width: 20%;
    }

/* раскрытие карточки товара в списке - добавил ширину для вывода размеров*/
html:not(.mobile) .catalog_block .catalog_item_wrapp .footer_button, html:not(.mobile) .catalog_block_slider .catalog_item .footer_button, html:not(.mobile) .bottom_slider.specials .tabs_slider .catalog_item .footer_button, html:not(.mobile) .viewed_slider .tabs_slider .catalog_item .footer_button {
    padding-left: 10px;
    padding-right: 9px;
}

/* заметный фон под фильтром */
@media (min-width: 768px) {
    .bx_filter.compact.fill_Y {
        background-color: #c4cf5954;
    }
}

/* фон-ховер под активным пунктом меню */
header .menu_top_block li .dropdown>li.menu_item>a:hover, .menu_top_block.catalog_block .dropdown>li.full>.dropdown>li>a:not(.section):hover, .menu_top_block.catalog_block .dropdown>li.full:hover>a, .left_menu>li:hover>a {
    background-color: #c4cf59;
}

/* карточка товара в табличном списке*/
/* Для десктопа: ширина блока с информацией */
@media (min-width: 992px) {
  .display_list .list_item td.information_wrapp {
    width: 45%;
    min-width: 165px;
    max-width: 500px;
    padding: 0;
  }
}

.display_list .article_block {
    font-size: 13px;
}

.display_list .list_item .image_block {
    width: 15%;
    zoom: 1;
    text-align: center;
    min-height: 60px;
}

.bx_filter .sku .bx_filter_input_checkbox .bx_filter_param_text,
.sku_props .bx_item_detail_size ul li span {
    padding: 5px 0px 5px;
    font-size: 12px;
}

.display_list .information_wrapp .information {
    padding: 25px 8px 27px 6px;
}

.display_list .cost.prices .price {
    font-size: 20px;
}

.information .cost.prices .price {
    line-height: 20px;
    text-align-last: center;
}

.list_item .image_wrapper_block,
.list_item .image_wrapper_block a {
    width: 120px;
    height: 120px;
    line-height: 120px;
}

.bx_filter_vertical input[type="checkbox"] + label.sku,
.sku_props .bx_item_detail_size ul li {
    font-size: 9px;
    padding: 0 8px;
    margin: 0 5px 5px 0;
}

/* =========================================
   СТИЛИ ДЛЯ ТАБЛИЦ В ТОВАРАХ (colored_table)
   ========================================= */

/* ======================= БАЗА ======================= */
.catalog_detail .detail_text table.colored_table {
  width: 100% !important;
  table-layout: auto !important; /* ширина колонок зависит от содержимого */
  border-collapse: collapse !important;
  font-family: Arial, sans-serif;
  font-size: 14px;
  border: 1px solid #e7e7e7;
  background-color: #fff;
}

/* ====== ЯЧЕЙКИ ====== */
.catalog_detail .detail_text table.colored_table th,
.catalog_detail .detail_text table.colored_table td {
  border: 1px solid #e7e7e7 !important;
  padding: 6px 8px !important;
  text-align: center !important;
  vertical-align: middle !important;
}

/* ====== ЗАГОЛОВКИ (РАЗРЕШАЕМ ПЕРЕНОСЫ) ====== */
.catalog_detail .detail_text table.colored_table thead th {
  background: #f7f7f7 !important;
  color: #555 !important;
  font-weight: 700 !important;
  white-space: normal !important;        /* разрешаем переносы */
  word-break: break-word !important;
  overflow-wrap: break-word !important;
}

/* ====== ДАННЫЕ (ЗАПРЕЩАЕМ ПЕРЕНОСЫ) ====== */
.catalog_detail .detail_text table.colored_table tbody td {
  white-space: nowrap !important;        /* запрет переносов */
  word-break: normal !important;
  overflow-wrap: normal !important;
}

/* ====== ЧЕРЕДОВАНИЕ СТРОК ====== */
.catalog_detail .detail_text table.colored_table tbody tr:nth-child(even) td {
  background: #fafafa !important;
}

/* ====== МОБИЛЬНЫЙ РЕЖИМ ====== */
@media (max-width: 991.98px) {
  .catalog_detail .detail_text table.colored_table {
    display: block !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .catalog_detail .detail_text table.colored_table th,
  .catalog_detail .detail_text table.colored_table td {
    font-size: 12px !important;
    padding: 4px 6px !important;
  }
  .catalog_detail .detail_text table.colored_table td::before {
    content: none !important;
  }
}

/* ====== ОЧЕНЬ УЗКИЕ ====== */
@media (max-width: 768px) {
  .catalog_detail .detail_text table.colored_table th,
  .catalog_detail .detail_text table.colored_table td {
    font-size: 11px !important;
    padding: 3px 4px !important;
  }
}
