/* VC custom CSS */

/* Breadcrumbs separator */
.breadcrumbs .breadcrumb-separator { color: #999; margin: 0 4px; }
.breadcrumbs .mod-breadcrumbs__here { color: #666; font-weight: bold; }
.breadcrumbs .breadcrumb-item { display: inline; }
.breadcrumbs .breadcrumb-item.active { color: #000; }


/* === VC Cart widget (SVG) === */
.vc-cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 40px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none !important;
    vertical-align: middle;
    margin-right: 8px;
    transition: box-shadow .15s, border-color .15s;
}
.vc-cart-link:hover {
    box-shadow: 0 2px 6px rgba(0,0,0,.12);
    border-color: #b58f57;
    color: #b58f57;
}
.vc-cart-icon {
    display: block;
    color: inherit;
}
.vc-cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    background: #d9534f;
    color: #fff;
    border-radius: 10px;
    font-size: 11px;
    font-weight: bold;
    line-height: 20px;
    text-align: center;
}
/* Скрыть заголовок mod_custom */
.moduletable .vc-cart-link { }
.header-search .moduletable > h3 { display: none !important; }

/* ============================================================
 * JS 5.9.4 product card fix (не совместимо с card-fix.css) — Prod-эталон визуал
 * Наша структура: .jshop_list_product > .row-fluid > .sblock4 > .block_product > .product > .name/.image/.oiproduct
 * ============================================================ */

/* Общий контейнер — flex для равной высоты */
.jshop_list_product .row-fluid { display: flex !important; flex-wrap: wrap !important; gap: 0 !important; }
.jshop_list_product .sblock4,
.jshop_list_product [class^="sblock"] { display: flex !important; align-items: stretch !important; padding: 4px !important; }
.jshop_list_product .block_product {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    background: #fff !important;
    border: 1px solid #eee !important;
    border-radius: 4px !important;
    padding: 12px !important;
    box-sizing: border-box !important;
}
.jshop_list_product .block_product .product {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}
/* Название сверху, компактное */
.jshop_list_product .block_product .product .name {
    order: 1 !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
    min-height: 3.9em !important;  /* 3 строки */
    text-align: center !important;
}
.jshop_list_product .block_product .product .name a { color: #333 !important; text-decoration: none !important; }
/* Изображение */
.jshop_list_product .block_product .product .image { order: 2 !important; text-align: center !important; margin: 8px 0 !important; }
.jshop_list_product .block_product .product .image .jshop_img { max-height: 180px !important; width: auto !important; }
/* Блок цены и кнопок — растянется на всю оставшуюся высоту */
.jshop_list_product .block_product .product .oiproduct {
    order: 3 !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    justify-content: flex-end !important;
    text-align: center !important;
}
/* Old price + price */
.jshop_list_product .block_product .product .old_price { text-align: center !important; color: #999 !important; font-size: 12px !important; margin-bottom: 2px !important; }
.jshop_list_product .block_product .product .old_price span { text-decoration: line-through !important; }
.jshop_list_product .block_product .product .jshop_price {
    text-align: center !important;
    font-size: 18px !important;
    font-weight: bold !important;
    color: #333 !important;
    margin-bottom: 12px !important;
}
/* Скрыть невозможные показатели */
.jshop_list_product .block_product .product .price_extra_info,
.jshop_list_product .block_product .product .plusshippinginfo,
.jshop_list_product .block_product .product .manufacturer_name,
.jshop_list_product .block_product .product .manufacturer_code,
.jshop_list_product .block_product .product .productweight,
.jshop_list_product .block_product .product .qty_in_stock,
.jshop_list_product .block_product .product .real_ean,
.jshop_list_product .block_product .product .description,
.jshop_list_product .block_product .product .deliverytime,
.jshop_list_product .block_product .product .default_price,
.jshop_list_product .block_product .product .base_price,
.jshop_list_product .block_product .product .review_mark,
.jshop_list_product .block_product .product .count_commentar,
.jshop_list_product .block_product .product .block_available.available,
.jshop_list_product .block_product .product .extra_fields
{ display: none !important; }

/* "Нет в наличии" плашка — красная, компактная */
.jshop_list_product .block_product .product .block_available.not_available {
    display: block !important;
    background: transparent !important;
    color: #c00 !important;
    font-size: 12px !important;
    padding: 2px 0 !important;
    text-align: center !important;
    font-weight: 500 !important;
}
.jshop_list_product .block_product .product .stock_return_date {
    text-align: center !important;
    color: #666 !important;
    font-size: 11px !important;
    margin-bottom: 6px !important;
}

/* === КНОПКИ — как на prod-эталоне === */
.jshop_list_product .block_product .product .buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    margin-top: 8px !important;
}
.jshop_list_product .block_product .product .buttons > a.btn.button_buy,
.jshop_list_product .block_product .product .buttons > a.btn-success.button_buy {
    background: #8b1a1a !important;
    background-color: #8b1a1a !important;
    color: #fff !important;
    border: none !important;
    border-radius: 3px !important;
    padding: 10px 16px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    display: block !important;
    text-align: center !important;
}
.jshop_list_product .block_product .product .buttons > a.btn.button_buy:hover,
.jshop_list_product .block_product .product .buttons > a.btn-success.button_buy:hover {
    background: #6e1414 !important;
    background-color: #6e1414 !important;
    color: #fff !important;
}
.jshop_list_product .block_product .product .buttons > a.btn.button_detail,
.jshop_list_product .block_product .product .buttons > a.btn-primary.button_detail {
    background: #fff !important;
    background-color: #fff !important;
    color: #333 !important;
    border: 1.5px solid #ccc !important;
    border-radius: 3px !important;
    padding: 10px 16px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    display: block !important;
    text-align: center !important;
}
.jshop_list_product .block_product .product .buttons > a.btn.button_detail:hover,
.jshop_list_product .block_product .product .buttons > a.btn-primary.button_detail:hover {
    background: #f5f5f5 !important;
    background-color: #f5f5f5 !important;
    border-color: #999 !important;
    color: #333 !important;
}

/* === Фильтр в списке товаров: скрываю всё кроме сортировки/количества === */
.jshop_list_product .product_filter,
.jshop_list_product .filter_manuf,
.jshop_list_product .filter_price,
.jshop_list_product .filter_button,
.jshop_list_product .reset_filter,
.jshop_list_product .apply_filter,
.jshop_list_product form[name="filter"] .filter_manuf,
.jshop_list_product form[name="filter"] .filter_price,
.jshop_list_product form[name="filter"] .filter_button,
.jshop_list_product form[name="filter"] .reset_filter,
.jshop_list_product .price_filter,
.jshop_list_product .manuf_filter
{ display: none !important; }

/* === Sort bar — одна строка + читаемая стрелка === */
/* Общий контейнер: sort + count + фильтры в один ряд */
.form_sort_count {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 10px 12px !important;
    background: #f5f5f5 !important;
    border-radius: 4px !important;
    margin-bottom: 12px !important;
}
.form_sort_count .block_sorting_count_to_page,
.form_sort_count .jshop.filters,
.form_sort_count .jshop.filters .box_cat_man {
    display: contents !important;
}
.form_sort_count .control-group {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
}
.form_sort_count .control-label { margin: 0 !important; padding: 0 !important; font-weight: normal !important; }
.form_sort_count .controls { margin: 0 !important; }
.form_sort_count select { padding: 4px 8px !important; }

/* Убираем всё "мобильное" и лишние подписи фильтров */
.form_sort_count .filter_mob_head,
.form_sort_count .filter_price,
.form_sort_count .box_category,
.form_sort_count .margin_filter { display: none !important; }

/* Стрелка направления сортировки — текстовая (внешние иконки не грузятся) */
.form_sort_count .icon-arrow {
    display: inline-block !important;
    cursor: pointer !important;
    margin-left: 4px !important;
    width: auto !important;
    height: auto !important;
    line-height: 1 !important;
}
.form_sort_count .icon-arrow-up::before  { content: "▲"; font-size: 11px; color: #666; }
.form_sort_count .icon-arrow-down::before { content: "▼"; font-size: 11px; color: #666; }
.form_sort_count .icon-arrow-up,
.form_sort_count .icon-arrow-down {
    display: inline-block !important;
    padding: 2px 4px !important;
}
.vc-cart-count[hidden] { display: none !important; }


/* === Страница товара (product view) === */

/* Скрыть плашку "Есть в наличии" — лезет на фото и не несёт смысла (если товара нет — уже показывается not_available) */
.jshop_prod_description .block_available.available,
#jshop_product .block_available.available,
.jshop.product .block_available.available { display: none !important; }

/* "Нет в наличии" — оставить, но скромной (не бежевая широкая полоса) */
.jshop_prod_description .block_available.not_available,
#jshop_product .block_available.not_available,
.jshop.product .block_available.not_available {
    background: transparent !important;
    color: #c00 !important;
    padding: 6px 0 !important;
    font-weight: bold !important;
    text-align: left !important;
    border: none !important;
}

/* Кнопки "В КОРЗИНУ" и "В СПИСОК ПОЖЕЛАНИЙ" — та же стилистика что в каталоге */
#jshop_product .button_buy,
#jshop_product input.button_buy,
#jshop_product button.button_buy,
#jshop_product a.button_buy,
.jshop.product .button_buy,
.jshop_prod_description .button_buy {
    background: #8b1a1a !important;
    background-color: #8b1a1a !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 20px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    border-radius: 3px !important;
    cursor: pointer !important;
}
#jshop_product .button_buy:hover,
.jshop.product .button_buy:hover,
.jshop_prod_description .button_buy:hover {
    background: #6e1414 !important;
    background-color: #6e1414 !important;
    color: #fff !important;
}
#jshop_product .button_wishlist,
#jshop_product input.button_wishlist,
#jshop_product a.button_wishlist,
.jshop.product .button_wishlist,
.jshop_prod_description .button_wishlist {
    background: #fff !important;
    background-color: #fff !important;
    color: #333 !important;
    border: 1.5px solid #ccc !important;
    padding: 10px 20px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    border-radius: 3px !important;
    cursor: pointer !important;
}
#jshop_product .button_wishlist:hover,
.jshop.product .button_wishlist:hover {
    background: #f5f5f5 !important;
    border-color: #999 !important;
}

/* ============================================================
 * ЕДИНАЯ ТИПОГРАФИКА (эталон — /dostavka)
 * Палитра: #1f1410 (заголовки), #313131 (текст), #8b1a1a (акцент красный),
 *          #6a330e (акцент коричневый), #f5deb3 (бежевые блоки/выделения)
 * ============================================================ */

/* --- Основной текст: единый шрифт для всех страниц --- */
body, body.site,
.item-page, .item-page p, .item-page li, .item-page td,
#comjshop_list_product, .jshop, .jshop *,
#jshop_product, #jshop_product * {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    color: #313131;
}
.item-page p, .item-page div, .item-page li {
    font-size: 14px !important;
    line-height: 1.55 !important;
    color: #313131 !important;
}

/* --- Заголовки (h1..h4) — стабильные размеры + цвета --- */
body h1, body .h1,
.item-page h1, .item-page .page-header h1,
.jshop_prod_description h1, #jshop_product h1 {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 28px !important;
    line-height: 1.2 !important;
    color: #1f1410 !important;
    font-weight: 700 !important;
    margin: 0 0 16px 0 !important;
}
body h2, body .h2,
.item-page h2 {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 22px !important;
    line-height: 1.3 !important;
    color: #6a330e !important;
    font-weight: 700 !important;
    margin: 20px 0 12px 0 !important;
}
body h3, body .h3,
.item-page h3 {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 18px !important;
    line-height: 1.35 !important;
    color: #1f1410 !important;
    font-weight: 700 !important;
    margin: 16px 0 10px 0 !important;
}
body h4, .item-page h4 {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    color: #6a330e !important;
    font-weight: 700 !important;
    margin: 14px 0 8px 0 !important;
}

/* --- Ссылки: спокойный цвет + hover красный --- */
body a, .item-page a {
    color: #6a330e;
    text-decoration: none;
    transition: color .15s;
}
body a:hover, .item-page a:hover {
    color: #8b1a1a;
    text-decoration: underline;
}
/* Меню сайта — не трогать (там свой стиль) */
.header nav a, #main-menu a, .moduletable_menu a { color: inherit !important; }

/* --- Списки внутри статей — с bullet, но нашими цветами --- */
.item-page ul, .item-page ol { padding-left: 24px; margin: 10px 0; }
.item-page ul li, .item-page ol li { margin-bottom: 6px; color: #313131; }
.item-page ul li::marker { color: #8b1a1a; }

/* --- Выделенные блоки (typical для /dostavka) --- */
.item-page .highlight, .item-page div[style*="background"] {
    padding: 12px 16px;
    border-left: 3px solid #8b1a1a;
    background: #f5deb3;
    color: #1f1410 !important;
    margin: 12px 0;
    border-radius: 3px;
}

/* --- Разделительная линия под заголовком статьи --- */
.item-page .page-header {
    border-bottom: 2px solid #8b1a1a;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

/* --- Название категории каталога — тот же стиль что h1 статьи --- */
#comjshop_list_product > h1, .jshop_list_product h1 {
    color: #1f1410 !important;
    font-size: 24px !important;
    text-align: center;
    padding: 12px 0;
    border-bottom: 2px solid #8b1a1a;
    margin-bottom: 16px;
}

/* --- Значки (можно использовать псевдоклассы ::before для декора) --- */
.item-page strong { color: #6a330e; }
.item-page em { color: #313131; font-style: italic; }

/* ============================================================
 * Fix 2: Синий текст в статьях (inline color) → наш palette
 * ============================================================ */
.item-page *:not(a):not(.button_buy):not(.button_detail):not(.btn):not(.stock_return_date):not(.not_available_list) {
    color: #313131 !important;
}
.item-page a { color: #6a330e !important; }
.item-page a:hover { color: #8b1a1a !important; }
.item-page h1, .item-page h1 * { color: #1f1410 !important; }
.item-page h2, .item-page h2 * { color: #6a330e !important; }
.item-page h3, .item-page h3 * { color: #1f1410 !important; }
.item-page h4, .item-page h4 * { color: #6a330e !important; }
.item-page strong, .item-page strong * { color: #6a330e !important; }
/* Inline font/span/div color— override */
.item-page span[style*="color"],
.item-page font[color],
.item-page div[style*="color"],
.item-page p[style*="color"] { color: #313131 !important; }

/* ============================================================
 * Модули товаров mod_jshopping_latest_products → горизонтальная карусель
 * ============================================================ */
/* Общий контейнер модуля */
.moduletable .mod_jshopping_latest_products,
.moduletable[class*="last"] .products,
.moduletable[class*="popular"] .products,
.moduletable[class*="new"] .products,
.mod-jshopping-latest-products,
div[id^="mod_jshopping_latest_products"] {
    position: relative;
}

/* Название блока (в шапке модуля) */
.moduletable .mod_jshopping_latest_products h3,
.moduletable > h3 {
    color: #1f1410;
    font-size: 18px;
    padding: 8px 0;
    border-bottom: 2px solid #8b1a1a;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Список товаров модуля — горизонтальный flex со скроллом */
.mod_jshopping_latest_products ul,
.mod_jshopping_latest_products .row,
div[id^="mod_jshopping_latest_products"] ul,
div[id^="mod_jshopping_latest_products"] .row-fluid,
.moduletable_menu .mod-jshopping-latest-products ul {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-behavior: smooth !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 8px 4px 16px 4px !important;
    margin: 0 !important;
    list-style: none !important;
    gap: 12px !important;
}

/* Каждая карточка в модуле — фиксированная ширина */
.mod_jshopping_latest_products li,
div[id^="mod_jshopping_latest_products"] li,
div[id^="mod_jshopping_latest_products"] .row-fluid > div,
.mod-jshopping-latest-products li {
    flex: 0 0 200px !important;
    scroll-snap-align: start !important;
    background: #fff !important;
    border: 1px solid #eee !important;
    border-radius: 4px !important;
    padding: 10px !important;
    box-sizing: border-box !important;
    text-align: center !important;
    list-style: none !important;
    margin: 0 !important;
}

/* Внутри карточки: фото + название + цена */
.mod_jshopping_latest_products li img,
div[id^="mod_jshopping_latest_products"] li img {
    max-width: 100% !important;
    max-height: 160px !important;
    width: auto !important;
    height: auto !important;
    margin: 0 auto 8px !important;
    display: block !important;
}
.mod_jshopping_latest_products li a,
div[id^="mod_jshopping_latest_products"] li a {
    color: #313131 !important;
    text-decoration: none !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    display: block !important;
    margin-bottom: 6px !important;
}
.mod_jshopping_latest_products li .price,
.mod_jshopping_latest_products li .jshop_price,
div[id^="mod_jshopping_latest_products"] li .price {
    color: #8b1a1a !important;
    font-weight: bold !important;
    font-size: 14px !important;
}

/* Скроллбар — тонкий */
.mod_jshopping_latest_products ul::-webkit-scrollbar,
div[id^="mod_jshopping_latest_products"] ul::-webkit-scrollbar,
div[id^="mod_jshopping_latest_products"] .row-fluid::-webkit-scrollbar {
    height: 6px;
}
.mod_jshopping_latest_products ul::-webkit-scrollbar-thumb,
div[id^="mod_jshopping_latest_products"] .row-fluid::-webkit-scrollbar-thumb {
    background: #6a330e;
    border-radius: 3px;
}
.mod_jshopping_latest_products ul::-webkit-scrollbar-track,
div[id^="mod_jshopping_latest_products"] .row-fluid::-webkit-scrollbar-track {
    background: #f5deb3;
    border-radius: 3px;
}

/* ============================================================
 * Fix 3: Модули товаров ГОРИЗОНТАЛЬНАЯ карусель
 * Правильные селекторы: .latest_products > .block_item
 * ============================================================ */

/* Контейнер списка */
.latest_products.jshop.jshop_list_product {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-behavior: smooth !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 8px 4px 16px 4px !important;
    margin: 0 -4px !important;
    gap: 12px !important;
    background: transparent !important;
    border: none !important;
}

/* Каждая карточка — фикс ширины, снап */
.latest_products .block_item.block_product.product {
    flex: 0 0 200px !important;
    max-width: 200px !important;
    scroll-snap-align: start !important;
    background: #fff !important;
    border: 1px solid #eee !important;
    border-radius: 4px !important;
    padding: 10px !important;
    box-sizing: border-box !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Image */
.latest_products .block_item .image {
    order: 1 !important;
    text-align: center !important;
    min-height: 160px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.latest_products .block_item .image .image_block img.jshop_img {
    max-width: 100% !important;
    max-height: 150px !important;
    width: auto !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
}

/* Name */
.latest_products .block_item .name {
    order: 2 !important;
    margin: 8px 0 6px 0 !important;
    min-height: 3em !important;
}
.latest_products .block_item .name a {
    color: #313131 !important;
    text-decoration: none !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}
.latest_products .block_item .name a:hover { color: #8b1a1a !important; }

/* Price */
.latest_products .block_item .jshop_price {
    order: 3 !important;
    color: #8b1a1a !important;
    font-weight: bold !important;
    font-size: 15px !important;
    margin-top: auto !important;
}
.latest_products .block_item .jshop_price span { color: #8b1a1a !important; }
.latest_products .block_item .old_price {
    order: 3 !important;
    color: #999 !important;
    font-size: 11px !important;
    text-decoration: line-through !important;
}

/* Скрыть лишние поля в маленьких карточках модулей */
.latest_products .block_item .manufacturer_name,
.latest_products .block_item .productweight,
.latest_products .block_item .qty_in_stock,
.latest_products .block_item .short_description,
.latest_products .block_item .description,
.latest_products .block_item .default_price,
.latest_products .block_item .review_mark,
.latest_products .block_item .count_commentar,
.latest_products .block_item .deliverytime,
.latest_products .block_item .buttons,
.latest_products .block_item .not_available,
.latest_products .block_item .jshop_code_prod { display: none !important; }

/* Красивый scrollbar */
.latest_products::-webkit-scrollbar { height: 8px; }
.latest_products::-webkit-scrollbar-thumb {
    background: #6a330e;
    border-radius: 4px;
}
.latest_products::-webkit-scrollbar-thumb:hover { background: #8b1a1a; }
.latest_products::-webkit-scrollbar-track {
    background: #f5deb3;
    border-radius: 4px;
}

/* Firefox */
.latest_products {
    scrollbar-width: thin;
    scrollbar-color: #6a330e #f5deb3;
}

/* Заголовок модуля над каруселью */
.moduletable_menu > h3, .moduletable > h3,
.custom > h3, div[class^="moduletable"] > h3 {
    color: #1f1410 !important;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 20px !important;
    padding: 12px 4px 8px 4px !important;
    margin: 20px 0 8px 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-bottom: 2px solid #8b1a1a !important;
    display: inline-block !important;
}

/* ============================================================
 * Fix 4: Шапка — корзина на одной линии с поиском
 * ============================================================ */
.header-search,
header.header .header-inner .header-search,
header.header div.header-search {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
}
.header-search .moduletable,
.header-search .custom {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* Виджет корзины — вертикально по центру */
.header-search .vc-cart-link {
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;
}
/* Поисковая форма — тоже по центру */
.header-search .searchForm,
.header-search form,
.header-search .content-form {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    gap: 6px !important;
}

/* ============================================================
 * Fix 5: Футер — равномерное распределение по ширине + линии-разделители
 * ============================================================ */

/* Позиция footer — flex row, все модули на равных долях */
[class*="footer"]:not(.footer02):not(footer):not(#footer) {
    /* Ничего */
}

/* Обёртка footer position — уточним селектор через jdoc:include name="footer" */
body .footer,
body #footer,
body footer.footer {
    background: #1f1410 !important;
    color: #f5deb3 !important;
    padding: 30px 20px !important;
    border-top: 3px solid #8b1a1a !important;
}

/* Контейнер модулей внутри footer позиции */
body .footer > .container,
body footer.footer > .container,
body #footer > .container,
body .footer-inner {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 24px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

/* Каждый модуль футера — равная доля с разделителем справа */
body .footer .moduletable,
body footer.footer .moduletable,
body #footer .moduletable {
    flex: 1 1 200px !important;
    min-width: 180px !important;
    padding: 0 16px !important;
    border-left: 1px solid rgba(245, 222, 179, 0.2) !important;
}
body .footer .moduletable:first-child,
body footer.footer .moduletable:first-child,
body #footer .moduletable:first-child {
    border-left: none !important;
    padding-left: 0 !important;
}

/* Заголовки модулей футера */
body .footer .moduletable > h3,
body footer.footer .moduletable > h3,
body #footer .moduletable > h3 {
    color: #f5deb3 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    margin: 0 0 12px 0 !important;
    padding: 0 0 8px 0 !important;
    border-bottom: 1px solid rgba(245, 222, 179, 0.3) !important;
    letter-spacing: 0.5px !important;
    display: block !important;
}

/* Ссылки в футере */
body .footer a,
body footer.footer a,
body #footer a {
    color: #f5deb3 !important;
    text-decoration: none !important;
    line-height: 1.7 !important;
    font-size: 13px !important;
}
body .footer a:hover,
body footer.footer a:hover,
body #footer a:hover {
    color: #fff !important;
    text-decoration: underline !important;
}

/* Списки-меню в футере */
body .footer ul,
body footer.footer ul,
body #footer ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
body .footer ul li,
body footer.footer ul li,
body #footer ul li {
    padding: 2px 0 !important;
    border: none !important;
}

/* footer02 — счётчики / копирайт под футером */
body .footer02 {
    background: #1f1410 !important;
    color: #f5deb3 !important;
    text-align: center !important;
    padding: 12px 20px !important;
    font-size: 12px !important;
    border-top: 1px solid rgba(245, 222, 179, 0.15) !important;
}

/* ============================================================
 * Fix 6: Кнопка "Старт" в поиске — нашего цвета + ниже
 * ============================================================ */
.header-search input[type="submit"],
.header-search button[type="submit"],
.header-search .btn,
.header-search .button,
header .header-search input.button,
header .searchForm input[type="submit"],
header .searchForm button {
    background: #8b1a1a !important;
    background-color: #8b1a1a !important;
    color: #fff !important;
    border: none !important;
    border-radius: 3px !important;
    padding: 6px 14px !important;
    font-size: 12px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    height: 32px !important;
    line-height: 20px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    align-self: center !important;
    box-sizing: border-box !important;
}
.header-search input[type="submit"]:hover,
.header-search button[type="submit"]:hover,
.header-search .btn:hover,
header .searchForm button:hover {
    background: #6e1414 !important;
    background-color: #6e1414 !important;
    color: #fff !important;
}

/* Input поля поиска — та же высота что кнопка */
.header-search input[type="text"],
.header-search input[type="search"],
header .searchForm input[type="text"] {
    height: 32px !important;
    padding: 4px 10px !important;
    font-size: 12px !important;
    border: 1px solid #ccc !important;
    border-radius: 3px !important;
    box-sizing: border-box !important;
    align-self: center !important;
}

/* Убираю min-height у контейнера */
.header-search .content-form,
.header-search .searchForm,
.header-search form {
    min-height: auto !important;
    padding: 0 !important;
}

/* ============================================================
 * Fix 7: Обрезаются буквы слева в статьях — Bootstrap .row отриц. margin
 * ============================================================ */
.com-content-article,
.com-content-article__body,
.item-page {
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}
.com-content-article__body > .row,
.item-page .row,
.item-page > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.com-content-article__body > .row > [class^="col-"],
.com-content-article__body > .row > [class^="span"],
.item-page .row > [class^="col-"],
.item-page .row > [class^="span"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* ============================================================
 * Fix 8: Галереи со стрелками (без scrollbar)
 * ============================================================ */

/* Обёртка модуля latest_products получит relative для абсолютных стрелок */
.moduletable_latest_products,
.moduletable_menu[class*="latest"],
.moduletable.mod-latest-products,
.moduletable:has(> .latest_products),
.custom:has(> .latest_products) {
    position: relative;
}

/* Скрываем scrollbar */
.latest_products.jshop.jshop_list_product {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}
.latest_products.jshop.jshop_list_product::-webkit-scrollbar {
    display: none !important;
    height: 0 !important;
    width: 0 !important;
}

/* Кнопки-стрелки (добавляются через JS) */
.vc-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #8b1a1a;
    color: #8b1a1a;
    font-size: 22px;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: all .15s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-weight: bold;
}
.vc-carousel-arrow:hover {
    background: #8b1a1a;
    color: #fff;
}
.vc-carousel-arrow.vc-prev { left: -18px; }
.vc-carousel-arrow.vc-next { right: -18px; }
.vc-carousel-arrow[disabled] { opacity: 0.3; cursor: not-allowed; }
.vc-carousel-arrow[disabled]:hover { background: #fff; color: #8b1a1a; }

/* Ограничить overflow чтоб стрелки не резались */
.moduletable_latest_products,
.moduletable:has(.latest_products) {
    overflow: visible !important;
    padding: 0 20px !important;
}

/* --- Заголовок над каждой галереей: единый стиль --- */
.moduletable > h3,
.custom > h3,
.moduletable_menu > h3,
div[class*="moduletable"] > h3 {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    color: #1f1410 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 12px 0 8px 0 !important;
    margin: 24px 0 12px 0 !important;
    border-bottom: 2px solid #8b1a1a !important;
    display: block !important;
    text-align: left !important;
}

/* ============================================================
 * Fix 9: Футер — колонки выровнять по левому краю копирайта
 * (первая колонка сдвинута правее из-за Bootstrap padding)
 * ============================================================ */

/* Сбрасываю padding у ВСЕХ первых элементов футера */
footer.footer .moduletable:first-of-type,
#footer .moduletable:first-of-type,
.footer > .moduletable:first-child,
footer > .moduletable:first-child,
[class="footer"] > .moduletable:first-child,
body footer .container > .moduletable:first-child,
body .footer .container > .moduletable:first-child,
body #footer .container > .moduletable:first-child,
body footer .footer-inner > .moduletable:first-child,
body .footer .footer-inner > .moduletable:first-child {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

/* Уточняю: если .container имеет padding — убираю его */
footer.footer > .container,
#footer > .container,
.footer > .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
}

/* Основной контейнер — flex + одинаковый padding с копирайтом */
footer.footer,
#footer,
body .footer {
    padding: 30px 20px !important;
}

.footer02, footer.footer02, #footer02 {
    padding: 15px 20px !important;
}

/* Первая колонка — обнуляем всё */
body footer.footer > .moduletable:first-child,
body footer.footer .footer-inner > .moduletable:first-child,
body footer.footer > .container > .moduletable:first-child,
body [role="contentinfo"] > .moduletable:first-child,
[class*="footer"] > .moduletable:first-child,
[id*="footer"] > .moduletable:first-child {
    padding-left: 0 !important;
    margin-left: 0 !important;
    border-left: none !important;
}

/* ============================================================
 * Fix 10: Футер ПРАВИЛЬНЫЕ селекторы (ul/div children, не .moduletable)
 * ============================================================ */
footer.footer > .container,
#footer > .container,
.footer > .container {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 24px !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Первая колонка (ul) — без padding, выровнена по левому краю футера */
footer.footer > .container > ul:first-child,
footer.footer > .container > div:first-child {
    padding-left: 0 !important;
    margin-left: 0 !important;
    border-left: none !important;
}

/* Все колонки — flex-grow + padding */
footer.footer > .container > ul,
footer.footer > .container > div {
    flex: 1 1 200px !important;
    min-width: 180px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    border-left: 1px solid rgba(245, 222, 179, 0.15) !important;
    padding-left: 16px !important;
}
footer.footer > .container > ul:first-child,
footer.footer > .container > div:first-child {
    border-left: none !important;
    padding-left: 0 !important;
}

/* Пункты меню */
footer.footer .mod-menu li,
footer.footer .mod-menu .nav-item {
    padding: 2px 0 !important;
    border: none !important;
    list-style: none !important;
}

/* ============================================================
 * Fix 11: Заголовок над каруселью (наш override)
 * ============================================================ */
.vc-gallery-wrap {
    position: relative;
    padding: 0 20px;
    margin: 20px 0;
}
.vc-gallery-title {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    color: #1f1410 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 10px 0 8px 0 !important;
    margin: 0 0 12px 0 !important;
    border-bottom: 2px solid #8b1a1a !important;
    display: block !important;
    text-align: left !important;
}

/* ============================================================
 * Fix 12: Плашка "Есть в наличии" в карточке товара — СКРЫТЬ (широкие селекторы)
 * ============================================================ */
.block_available.available,
.block_available_available,
.jshop_product .block_available.available,
.jshop.product .block_available.available,
#jshop_product .block_available.available,
.jshop_prod_description .block_available.available,
div.block_available,
div[class*="block_available"][class*="available"]:not([class*="not_available"]),
div[class*="in_stock"]:not(.count_commentar),
.product-availability.in-stock,
.availability_available,
.product_available:not(.not_available) {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Если плашка вложена как span в другом div, скрою и её */
.item-page .available:not(.not_available),
.jshop.product .available:not(.not_available) {
    display: none !important;
}

/* ============================================================
 * Fix 13: Плашка "Есть в наличии" точный селектор #not_available.available
 * (когда в наличии — скрыть; когда нет в наличии — оставить)
 * ============================================================ */
#not_available.available,
div#not_available.block_available.available {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: none !important;
    background: transparent !important;
}
/* Оставляем плашку "Нет в наличии" (красная) — только для товаров без stock */
#not_available.not_available,
div#not_available.block_available.not_available {
    display: block !important;
    background: transparent !important;
    color: #c00 !important;
    font-size: 14px !important;
    font-weight: bold !important;
    padding: 6px 0 !important;
    margin: 6px 0 !important;
    border: none !important;
    text-align: left !important;
}

/* ============================================================
 * Fix 14: Страница товара (jshop_product) — единый стиль текста
 * ============================================================ */

/* Название товара (h1) — как в статьях */
#jshop_product h1,
.jshop.product h1,
.jshop_prod_description h1,
body #jshop_product h1 {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    color: #1f1410 !important;
    font-size: 24px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    margin: 0 0 16px 0 !important;
    padding: 0 0 10px 0 !important;
    border-bottom: 2px solid #8b1a1a !important;
    text-transform: none !important;
}

/* Основной текст описания и характеристики */
#jshop_product,
#jshop_product *:not(h1):not(h2):not(h3):not(h4):not(.button_buy):not(.button_detail):not(.button_wishlist):not(.btn):not(input):not(select):not(.stock_return_date):not(#not_available),
.jshop.product,
.jshop.product *:not(h1):not(h2):not(h3):not(h4):not(.button_buy):not(.button_detail):not(.button_wishlist):not(.btn):not(input):not(select):not(.stock_return_date):not(#not_available) {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    color: #313131 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

/* Заголовки в блоках товара (h2/h3/h4) */
#jshop_product h2, .jshop.product h2 {
    color: #6a330e !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin: 16px 0 10px 0 !important;
}
#jshop_product h3, .jshop.product h3 {
    color: #1f1410 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    margin: 12px 0 8px 0 !important;
}
#jshop_product h4, .jshop.product h4 {
    color: #6a330e !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    margin: 10px 0 6px 0 !important;
}

/* Метки характеристик (Производитель:, Вес:, Срок поставки:) */
#jshop_product .jshop_prod_description > div,
.jshop.product .jshop_prod_description > div,
#jshop_product .manufacturer_name,
#jshop_product .productweight,
#jshop_product .deliverytime,
#jshop_product .qty_in_stock,
#jshop_product .real_ean,
#jshop_product .extra_field {
    color: #313131 !important;
    font-size: 13px !important;
    margin-bottom: 4px !important;
    padding: 2px 0 !important;
}
#jshop_product .manufacturer_name span,
#jshop_product .productweight span,
#jshop_product .deliverytime span,
#jshop_product .qty_in_stock span {
    color: #1f1410 !important;
    font-weight: bold !important;
}

/* Цена — тёмно-красный, крупная */
#jshop_product .jshop_price,
.jshop.product .jshop_price,
.jshop_prod_description .jshop_price {
    color: #8b1a1a !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    margin: 12px 0 !important;
}
#jshop_product .jshop_price span,
.jshop.product .jshop_price span {
    color: #8b1a1a !important;
}
#jshop_product .old_price {
    color: #999 !important;
    font-size: 14px !important;
    text-decoration: line-through !important;
    margin-bottom: 4px !important;
}

/* Плюс доставка / срок */
#jshop_product .plusshippinginfo,
.jshop_prod_description .plusshippinginfo {
    color: #6a330e !important;
    font-size: 12px !important;
    font-style: italic !important;
}

/* Ссылки в карточке */
#jshop_product a:not(.btn):not(.button_buy):not(.button_detail):not(.button_wishlist),
.jshop.product a:not(.btn) {
    color: #6a330e !important;
    text-decoration: none !important;
}
#jshop_product a:hover:not(.btn), .jshop.product a:hover:not(.btn) {
    color: #8b1a1a !important;
}

/* Описание/short_description */
#jshop_product .short_description,
#jshop_product .full_description,
#jshop_product .description,
.jshop_prod_description .description {
    color: #313131 !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    margin: 12px 0 !important;
}

/* Число "Количество" — оставить inline поле */
#jshop_product .quantity label,
.jshop.product .quantity label {
    color: #313131 !important;
    font-size: 13px !important;
}
#jshop_product input[type="text"].input_quantity,
#jshop_product .quantity input {
    border: 1px solid #ccc !important;
    padding: 4px 8px !important;
    border-radius: 3px !important;
    text-align: center !important;
    width: 50px !important;
}

/* Раздел "Хиты" / "Рейтинг" — компактный, справа */
#jshop_product .hits, .jshop_prod_description .hits {
    color: #999 !important;
    font-size: 12px !important;
}

/* Отменяю inline color в описаниях (может быть blue/red из старого редактора) */
#jshop_product [style*="color"],
.jshop.product [style*="color"],
.jshop_prod_description [style*="color"] {
    color: #313131 !important;
}
#jshop_product [style*="font-family"],
.jshop.product [style*="font-family"] {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

/* ============================================================
 * Fix 15: Мобильная версия (эталон prod)
 * - логотип-картинка (не текст)
 * - меню Каталог в бургер
 * - шапка компактная, всё в одну линию
 * ============================================================ */

/* Логотип: адаптивный img */
header.header .header-inner > a.brand,
header.header a.brand {
    display: inline-block !important;
    max-width: 220px !important;
    padding: 6px 0 !important;
    line-height: 1 !important;
}
header.header a.brand .vc-logo,
header.header a.brand img {
    max-width: 100% !important;
    max-height: 60px !important;
    width: auto !important;
    height: auto !important;
    display: block !important;
}

/* Скрываю "site-title" span если вдруг остался */
header.header a.brand .site-title { display: none !important; }

/* ================= МОБИЛЬНАЯ ВЕРСИЯ (≤ 768px) ================= */
@media (max-width: 768px) {
    /* Компактная шапка: логотип слева, корзина+бургер справа */
    header.header .header-inner {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        padding: 8px 12px !important;
        flex-wrap: wrap !important;
    }
    header.header a.brand {
        max-width: 130px !important;
        flex: 0 0 auto !important;
    }
    header.header a.brand img { max-height: 36px !important; }

    /* Скрываю тел/email в мобилке */
    header.header .tel,
    header.header .info {
        display: none !important;
    }

    /* Поиск занимает всю ширину под шапкой на моб */
    header.header .header-search {
        order: 3 !important;
        flex: 1 1 100% !important;
        margin-top: 6px !important;
        justify-content: flex-start !important;
    }

    /* Корзина видна */
    .vc-cart-link {
        width: 40px !important;
        height: 36px !important;
    }
    .vc-cart-icon { width: 24px !important; height: 24px !important; }

    /* --- БУРГЕР --- */
    .vc-burger {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 40px !important;
        height: 36px !important;
        border: 1px solid #ddd !important;
        border-radius: 3px !important;
        background: #fff !important;
        cursor: pointer !important;
        padding: 0 !important;
        margin-left: 6px !important;
    }
    .vc-burger span {
        display: block !important;
        width: 22px !important;
        height: 3px !important;
        background: #1f1410 !important;
        margin: 3px 0 !important;
        border-radius: 1px !important;
        transition: all .2s !important;
    }
    .vc-burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .vc-burger.is-open span:nth-child(2) { opacity: 0; }
    .vc-burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

    /* Меню сайта — скрыто по умолчанию, открывается по бургеру */
    nav.navigation, .main-nav, [class*="menu-1"] .moduletable {
        display: none !important;
    }
    body.vc-menu-open nav.navigation,
    body.vc-menu-open .main-nav,
    body.vc-menu-open [class*="menu-1"] .moduletable {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        width: 80% !important;
        max-width: 320px !important;
        height: 100vh !important;
        background: #fff !important;
        z-index: 9999 !important;
        padding: 60px 20px 20px 20px !important;
        overflow-y: auto !important;
        box-shadow: -4px 0 12px rgba(0,0,0,0.2) !important;
    }
    body.vc-menu-open nav.navigation ul,
    body.vc-menu-open .main-nav ul {
        display: block !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    body.vc-menu-open nav.navigation li,
    body.vc-menu-open .main-nav li {
        display: block !important;
        border-bottom: 1px solid #eee !important;
        padding: 12px 0 !important;
    }
    body.vc-menu-open nav.navigation a,
    body.vc-menu-open .main-nav a {
        color: #1f1410 !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        text-decoration: none !important;
        display: block !important;
    }

    /* Убираем боковое меню каталога на моб (оно в бургере через link) */
    .moduletable_menu, .sidebar-nav, [class*="menu-21"] {
        /* оставляем — просто адаптируем */
    }

    /* Каталог блок — компактный */
    #comjshop_list_product,
    .item-page,
    .com-content-article__body {
        padding: 8px !important;
    }

    /* Карточки в 2 колонки */
    .jshop_list_product .row-fluid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }
    .jshop_list_product .sblock4 { padding: 0 !important; }

    /* Товар — цена крупная */
    .jshop_list_product .block_product .product .name a { font-size: 12px !important; }
    .jshop_list_product .block_product .product .jshop_price { font-size: 16px !important; }

    /* Кнопки товара — компакт */
    .jshop_list_product .block_product .product .buttons > a.btn {
        padding: 8px !important;
        font-size: 11px !important;
    }

    /* Футер: колонки в одну колонну */
    footer.footer > .container {
        flex-direction: column !important;
        gap: 12px !important;
    }
    footer.footer > .container > ul,
    footer.footer > .container > div {
        padding: 0 !important;
        border: none !important;
        border-top: 1px solid rgba(245,222,179,0.15) !important;
        padding-top: 12px !important;
    }
    footer.footer > .container > *:first-child {
        border-top: none !important;
        padding-top: 0 !important;
    }

    /* Заголовок карусели без большого отступа */
    .vc-gallery-wrap { padding: 0 10px !important; margin: 12px 0 !important; }
    .vc-gallery-title { font-size: 16px !important; }
    .vc-carousel-arrow { display: none !important; } /* На моб — свайп */
    .latest_products.jshop.jshop_list_product::-webkit-scrollbar { height: 4px !important; display: block !important; }
    .latest_products .block_item.block_product.product { flex: 0 0 160px !important; max-width: 160px !important; }
}

/* Overlay для меню */
@media (max-width: 768px) {
    body.vc-menu-open::before {
        content: '';
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,0.4);
        z-index: 9998;
    }
}

/* ============================================================
 * Fix 16: доработки — бургер только моб + гриды + меню в бургер
 * ============================================================ */

/* Бургер НЕ ПОКАЗЫВАТЬ на десктопе */
@media (min-width: 769px) {
    .vc-burger { display: none !important; }
}

/* На моб: и меню Каталог (боковое position-3) тоже в бургер */
@media (max-width: 768px) {
    /* Скрываю position-3 (Каталог сайдбар) — он должен идти в burger */
    .sidebar-nav, .col-md-3 .moduletable_menu,
    div[class*="span3"] .moduletable_menu,
    aside.left, .position-3, [class*="position-3"] {
        display: none !important;
    }
    /* Но когда открыт бургер — показываем ВСЁ меню внутри него */
    body.vc-menu-open aside,
    body.vc-menu-open .sidebar-nav {
        display: block !important;
    }

    /* --- Каталог: 2 колонки, но перенос при overflow --- */
    .jshop_list_product .row-fluid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 6px !important;
        padding: 0 !important;
    }
    .jshop_list_product .sblock4,
    .jshop_list_product [class^="sblock"] {
        padding: 0 !important;
        width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }
    .jshop_list_product .block_product {
        padding: 8px !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    .jshop_list_product .block_product .product {
        min-width: 0 !important;
    }
    .jshop_list_product .block_product .product .image .jshop_img {
        max-width: 100% !important;
        max-height: 140px !important;
    }

    /* Кнопки: перенос текста, не срезать */
    .jshop_list_product .block_product .product .buttons > a.btn {
        padding: 8px 4px !important;
        font-size: 10px !important;
        letter-spacing: 0 !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        line-height: 1.15 !important;
        min-height: 32px !important;
    }

    /* Название товара — 2 строки макс */
    .jshop_list_product .block_product .product .name {
        font-size: 11px !important;
        line-height: 1.25 !important;
        min-height: 2.5em !important;
        overflow: hidden !important;
    }
    .jshop_list_product .block_product .product .name a {
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    /* Уточню бургер — не на месте logo */
    header.header .header-inner {
        gap: 4px !important;
    }
    header.header a.brand {
        min-width: 0 !important;
    }

    /* Меню в бургере — ссылки на страницы каталога явно перечислим */
    body.vc-menu-open .main-nav ul,
    body.vc-menu-open [class*="menu-1"] ul,
    body.vc-menu-open nav ul {
        padding: 0 !important;
    }
}

/* Уверенный fallback для логотипа: img всегда виден */
.vc-logo, header.header a.brand img.vc-logo {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 220px !important;
    max-height: 60px !important;
    width: auto !important;
    height: auto !important;
}
@media (max-width: 768px) {
    .vc-logo, header.header a.brand img.vc-logo {
        max-height: 36px !important;
    }
}