/* buyblock: компактная шапка темы insales на компьютере (вариант 1, 03.11.2026):
   тонкая тёмная полоса 34 px + строка 68 px, корзина — плашка с полоской до следующих цен (wholesale). */
@media (min-width: 992px) {
    /* верхняя полоса */
    .header__top .header__wrap { padding-top: 0 !important; padding-bottom: 0 !important; min-height: 34px; align-items: center; }
    .header__top .h-menu__link, .header__top .h-menu__name, .header__top .s-hicon__name, .header__top .h-phone__content-tel a { font-size: 13px !important; line-height: 34px !important; }
    .header__top .h-menu__link { padding-top: 0 !important; padding-bottom: 0 !important; }
    .header__top .h-phone__content-tel a { font-weight: 500; }
    .header__top .h-phone__home, .header__top .h-phone__content { align-items: center !important; }
    .header__top .h-phone__icon { align-self: center !important; }

    /* основная строка */
    .header__midd .header__wrap { padding-top: 8px !important; padding-bottom: 8px !important; align-items: center; }
    .header__midd-block { height: auto !important; min-height: 0 !important; display: flex; align-items: center; }
    .header__logo img { height: 44px !important; width: auto !important; }
    .header__midd .search__input { height: 44px !important; border-radius: 10px !important; font-size: 15px; }
    .header__midd .search__button { height: 44px !important; }

    /* корзина-плашка */
    .header__midd-cart { flex: 0 0 auto !important; width: auto !important; max-width: none !important; }
    .header__midd-cart .mcart, .header__midd-cart .mcart__link { width: auto !important; max-width: none !important; }
    .header__midd-cart .mcart__link { display: flex !important; align-items: center; gap: 12px; height: auto !important; padding: 4px 16px 4px 6px; border: 1px solid #e3e5ea; border-radius: 14px; background: #fff; transition: border-color .15s; }
    .header__midd-cart .mcart__link:hover { border-color: #b9c6ea; }
    .header__midd-cart .mcart__icon { width: 44px !important; height: 44px !important; border-radius: 50%; background: #eaf0fd !important; box-shadow: none !important; display: flex !important; align-items: center; justify-content: center; position: relative; flex: 0 0 44px; }
    .header__midd-cart .mcart__icon svg { fill: #2f5bd3 !important; color: #2f5bd3 !important; }
    .header__midd-cart .mcart__count { position: absolute !important; top: -5px !important; right: -8px !important; left: auto !important; margin: 0 !important; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #22a45d !important; color: #fff !important; font-size: 12px !important; font-weight: 700; line-height: 18px !important; text-align: center; border: 2px solid #fff; }
    .header__midd-cart .mcart__count:not(.hcount_active) { display: none !important; }
    .header__midd-cart .mcart__info { margin: 0 !important; display: block; width: auto !important; max-width: none !important; flex: 0 0 auto !important; }
    .header__midd-cart .mcart__title { display: block; margin: 0 0 2px !important; font-size: 12px; color: #7a8091; }
    .header__midd-cart .mcart__link:has(.hcount_active) .mcart__title { display: none !important; }
    .header__midd-cart .mcart__price { font-size: 17px !important; font-weight: 700 !important; color: #1f2433 !important; line-height: 1.15 !important; }
    .header__midd-cart .mcart__empty { font-size: 14px; color: #1f2433; }
    .header__midd-cart .bbws-hc { margin: 5px 0 0 !important; display: block; width: auto !important; }
    .header__midd-cart .bbws-hc[hidden] { display: none !important; }
    .header__midd-cart .bbws-bar { width: 170px !important; height: 5px !important; border-radius: 3px !important; background: #e6e9ef !important; }
    .header__midd-cart .bbws-bar i { background: #22a45d !important; border-radius: 3px !important; }
    .header__midd-cart .bbws-hc-t { display: block; margin-top: 3px !important; font-size: 11.5px !important; line-height: 1.2 !important; color: #7a8091 !important; white-space: nowrap; }
}

/* место под строку «ещё ≈ … до цен …» держим заранее — шапка не меняет размер, когда она появляется */
@media (min-width: 992px) {
    .header__midd-cart .mcart__link { min-height: 56px; }
    .header__midd-cart .mcart__link:has(.hcount_active) .mcart__info { min-width: 196px; }
}

/* 04.11.2026: название категории мельче — примерно как «Каталог товаров» слева */
@media (min-width: 992px) {
    h1.category-name { font-size: 18px !important; line-height: 1.3 !important; font-weight: 600 !important; }
}

/* 04.11.2026: фото в карточках списка 190 px по высоте — как на vashpult.ru (там 190×190) */
@media (min-width: 992px) {
    .products__item .products__item-img { padding-top: 190px !important; }
    .products__item .products__item-img img { object-fit: contain !important; }
}

/* 04.11.2026: от шапки до каталога/заголовка минимальный отступ; заголовок категории по верхнему краю блока «Каталог товаров» */
@media (min-width: 992px) {
    header.header > .in-separator { margin-top: 14px !important; }
    h1.category-name { line-height: 1 !important; margin-top: -1px !important; }
}

/* 04.11.2026: фильтр слева компактнее — заголовки, галочки и строки меньше */
@media (min-width: 992px) {
    .in-left__item-filters { margin-top: 16px !important; }
    .in-left__item-filters .filters-title { height: 40px !important; min-height: 0 !important; }
    .in-left__item-filters .filter__name { font-size: 13px !important; line-height: 16px !important; }
    .in-left__item-filters .filter__name-b { line-height: 16px !important; }
    .in-left__item-filters .filter__label { margin-bottom: 7px !important; font-size: 13px !important; line-height: 15px !important; min-height: 0 !important; }
    .in-left__item-filters .filter__label input[type="checkbox"], .in-left__item-filters .filter__label input[type="radio"] { width: 14px !important; height: 14px !important; min-width: 14px; margin-right: 6px !important; }
}
@media (min-width: 992px) {
    .in-left__item-filters .filter { padding: 12px 16px !important; }
    .in-left__item-filters .filter__param { padding-bottom: 10px !important; margin-bottom: 10px !important; }
    .in-left__item-filters .filter__sliders { margin: 10px 0 6px !important; height: auto !important; }
    .in-left__item-filters .filter__inp { height: 28px !important; margin: 2px 0 12px !important; font-size: 13px !important; }
    .in-left__item-filters .filter__inp.max { margin-left: 10px !important; }
    .in-left__item-filters .filter__check { margin-top: 10px !important; }
    .in-left__item-filters .filter__reset { height: 28px !important; line-height: 26px !important; font-size: 13px !important; }
}
