/* ============================================================
   0. ГЛОБАЛЬНЫЕ ПЕРЕМЕННЫЕ ПО УМОЛЧАНИЮ И ТЕМЫ КАТЕГОРИЙ
   ============================================================ */
:root {
    --cat-main: #B39DDB;       
    --cat-hover: #7E57C2;      
    --cat-bg: rgba(179, 157, 219, 0.1);
    --cat-shadow: rgba(179, 157, 219, 0.3);
}

body.boan-theme-gigiena-uhod, body.boan-theme-gigiena { --cat-main: #70C1B3; --cat-hover: #00897B; --cat-bg: rgba(112, 193, 179, 0.1); --cat-shadow: rgba(112, 193, 179, 0.3); }
body.boan-theme-pitanie-kormlenie, body.boan-theme-pitanie { --cat-main: #FFC107; --cat-hover: #F57F17; --cat-bg: rgba(255, 193, 7, 0.1); --cat-shadow: rgba(255, 193, 7, 0.3); }
body.boan-theme-detskaya-komnata, body.boan-theme-son-detskaya-komnata, body.boan-theme-komnata { --cat-main: #A4CBEB; --cat-hover: #1565C0; --cat-bg: rgba(164, 203, 235, 0.1); --cat-shadow: rgba(164, 203, 235, 0.3); }
body.boan-theme-stirka-uborka, body.boan-theme-stirka { --cat-main: #B39DDB; --cat-hover: #7E57C2; --cat-bg: rgba(179, 157, 219, 0.1); --cat-shadow: rgba(179, 157, 219, 0.3); }
body.boan-theme-kolyaski-transport, body.boan-theme-kolyaski { --cat-main: #A5D6A7; --cat-hover: #2E7D32; --cat-bg: rgba(165, 214, 167, 0.1); --cat-shadow: rgba(165, 214, 167, 0.3); }
body.boan-theme-avtokresla { --cat-main: #FFAB91; --cat-hover: #D84315; --cat-bg: rgba(255, 171, 145, 0.1); --cat-shadow: rgba(255, 171, 145, 0.3); }
body.boan-theme-igrushki-tvorchestvo, body.boan-theme-igrushki { --cat-main: #F48FB1; --cat-hover: #C2185B; --cat-bg: rgba(244, 143, 177, 0.1); --cat-shadow: rgba(244, 143, 177, 0.3); }
body.boan-theme-odezhda-obuv, body.boan-theme-detskaya-odezhda-i-obuv, body.boan-theme-odezhda { --cat-main: #E6CCB2; --cat-hover: #5D4037; --cat-bg: rgba(230, 204, 178, 0.1); --cat-shadow: rgba(230, 204, 178, 0.3); }

/* ============================================================
   1. АРХИТЕКТУРА И ДИЗАЙН ШАПКИ КАТАЛОГА
   ============================================================ */
html body.woocommerce .archive-description,
html body.woocommerce .term-description,
html body.woocommerce .page-description,
html body.woocommerce .entry-header .archive-description,
html body.woocommerce .entry-header .term-description,
html body.woocommerce .entry-hero-section-inner .archive-description,
html body.woocommerce .woocommerce-products-header,
html body.woocommerce .woocommerce-products-header .page-description,
html body.woocommerce .kadence-shop-hero-description,
html body.woocommerce .entry-hero .archive-description,
html body.woocommerce header .archive-description {
    display: none !important;
}

html body.woocommerce #main.site-main { 
    display: flex !important; 
    flex-wrap: wrap !important; 
    align-items: center !important; 
    justify-content: space-between !important; 
    padding-top: 10px !important; 
    overflow: visible !important; 
}

html body.woocommerce .entry-header.product-archive-title { 
    order: 1 !important; 
    flex: 1 1 auto !important; 
    display: flex !important; 
    flex-direction: row !important; 
    align-items: center !important; 
    justify-content: flex-start !important; 
    gap: 15px !important; 
    padding: 0 0 0 15px !important; 
    margin: 0 0 15px 0 !important; 
    border: none !important; 
    background: transparent !important; 
}

/* Заголовок категории */
html body.woocommerce .entry-header.product-archive-title h1.page-title,
html body.woocommerce .entry-header h1.page-title,
html body.woocommerce h1.archive-title,
html body.woocommerce h1.page-title { 
    font-family: 'Montserrat', sans-serif !important; 
    font-size: 28px !important; 
    font-weight: 500 !important; 
    color: var(--cat-hover) !important; 
    text-shadow: 0 0 15px var(--cat-shadow) !important; 
    margin: 0 !important; 
    text-transform: none !important; 
    line-height: 1 !important; 
    white-space: nowrap !important; 
}

/* Хлебные крошки */
html body.woocommerce .kadence-breadcrumbs, 
html body.woocommerce .kadence-breadcrumbs p, 
html body.woocommerce .kadence-breadcrumbs nav { 
    font-family: 'Montserrat', sans-serif !important; 
    font-size: 15px !important; 
    color: #999999 !important; 
    font-weight: 400 !important; 
    background: transparent !important; 
    box-shadow: none !important; 
    border: none !important; 
    padding: 0 !important; 
    margin: 0 !important; 
    display: flex !important; 
    align-items: center !important; 
    flex-wrap: nowrap !important; 
    white-space: nowrap !important; 
    gap: 4px !important; 
}
html body.woocommerce .kadence-breadcrumbs a { 
    color: var(--cat-main) !important; 
    font-weight: 400 !important; 
    text-decoration: none !important; 
    transition: color 0.3s ease !important; 
}
html body.woocommerce .kadence-breadcrumbs a:hover, 
html body.woocommerce .kadence-breadcrumbs .last { 
    color: var(--cat-hover) !important; 
    font-weight: 500 !important; 
}
html body.woocommerce .kadence-breadcrumbs .separator { 
    color: var(--cat-hover) !important; 
    opacity: 0.8 !important; 
    font-size: 16px !important; 
    margin: 0 4px !important; 
    line-height: 1 !important; 
    font-weight: 500 !important; 
}

/* Верхние правые кнопки: строгая единая строка */
html body.woocommerce .kadence-shop-top-row { 
    order: 2 !important; 
    flex: 0 0 auto !important; 
    margin: 0 0 15px 0 !important; 
    padding: 0 15px 0 0 !important; 
    background: transparent !important; 
    border: none !important; 
    box-shadow: none !important; 
    display: flex !important; 
    flex-wrap: nowrap !important; 
    align-items: center !important; 
    justify-content: flex-end !important; 
    gap: 12px !important; 
}

html body.woocommerce .kadence-woo-offcanvas-filter-area .filter-toggle-open,
html body.woocommerce .kadence-shop-top-row .filter-toggle-open,
html body.woocommerce .kadence-shop-top-row a,
html body.woocommerce .kadence-shop-top-row button,
html body.woocommerce .boan-filter-btn { 
    background: #ffffff !important; 
    border: 1px solid var(--cat-main) !important; 
    border-radius: 20px 4px 20px 20px !important; 
    color: var(--cat-hover) !important; 
    font-family: 'Montserrat', sans-serif !important; 
    font-size: 13px !important; 
    font-weight: 500 !important; 
    padding: 0 20px !important; 
    height: 42px !important; 
    display: flex !important; 
    align-items: center !important; 
    justify-content: center !important; 
    gap: 8px !important; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04) !important; 
    transition: all 0.3s ease !important; 
    cursor: pointer !important; 
    text-decoration: none !important; 
}
html body.woocommerce .kadence-woo-offcanvas-filter-area .filter-toggle-open:hover,
html body.woocommerce .kadence-shop-top-row .filter-toggle-open:hover,
html body.woocommerce .kadence-shop-top-row a:hover,
html body.woocommerce .kadence-shop-top-row button:hover,
html body.woocommerce .boan-filter-btn:hover { 
    background: var(--cat-bg) !important; 
    border-color: var(--cat-hover) !important; 
    color: var(--cat-hover) !important; 
    transform: translateY(-2px) !important; 
    box-shadow: 0 6px 15px var(--cat-shadow) !important; 
}
html body.woocommerce .kadence-woo-offcanvas-filter-area .filter-toggle-icon,
html body.woocommerce .kadence-shop-top-row svg,
html body.woocommerce .boan-filter-btn svg { 
    color: var(--cat-hover) !important; 
    stroke: var(--cat-hover) !important; 
    display: flex !important; 
}

/* Ликвидация заводского select темы Kadence */
html body.woocommerce .woocommerce-ordering,
html body.woocommerce form.woocommerce-ordering {
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
}

html body.woocommerce .woocommerce-ordering select,
html body.woocommerce form.woocommerce-ordering select { 
    display: none !important; 
    opacity: 0 !important; 
    visibility: hidden !important; 
    width: 0 !important; 
    height: 0 !important; 
    pointer-events: none !important; 
}

/* Кастомный select сортировки */
.boan-custom-select { 
    position: relative !important; 
    min-width: 200px !important; 
    font-family: 'Montserrat', sans-serif !important; 
    z-index: 50 !important; 
    display: inline-block !important; 
}
.boan-select-trigger { 
    background: #ffffff !important; 
    border: 1px solid var(--cat-main) !important; 
    border-radius: 20px 4px 20px 20px !important; 
    color: var(--cat-hover) !important; 
    font-size: 13px !important; 
    font-weight: 500 !important; 
    height: 42px !important; 
    line-height: 40px !important; 
    padding: 0 40px 0 20px !important; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04) !important; 
    cursor: pointer !important; 
    transition: all 0.3s ease !important; 
    position: relative !important; 
    user-select: none !important; 
}
.boan-select-trigger:hover,
.boan-custom-select.open .boan-select-trigger { 
    background: var(--cat-bg) !important; 
    border-color: var(--cat-hover) !important; 
    transform: translateY(-2px) !important; 
    box-shadow: 0 6px 15px var(--cat-shadow) !important; 
}
.boan-select-trigger::after { 
    content: "" !important; 
    position: absolute !important; 
    right: 15px !important; 
    top: 50% !important; 
    transform: translateY(-50%) !important; 
    width: 16px !important; 
    height: 16px !important; 
    background-color: var(--cat-hover) !important; 
    -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important; 
    mask-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important; 
    -webkit-mask-size: contain !important; 
    mask-size: contain !important; 
    transition: transform 0.3s ease !important; 
}
.boan-custom-select.open .boan-select-trigger::after { transform: translateY(-50%) rotate(180deg) !important; }
.boan-select-options { 
    position: absolute !important; 
    top: calc(100% - 2px) !important; 
    left: 0 !important; 
    right: 0 !important; 
    background: #ffffff !important; 
    border: 1px solid var(--cat-hover) !important; 
    border-top: none !important; 
    border-radius: 0 0 20px 20px !important; 
    box-shadow: 0 15px 35px var(--cat-shadow) !important; 
    opacity: 0 !important; 
    visibility: hidden !important; 
    transform: translateY(-10px) !important; 
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important; 
    overflow: hidden !important; 
    z-index: 201 !important; 
}
.boan-custom-select.open .boan-select-options { opacity: 1 !important; visibility: visible !important; transform: translateY(0) !important; }
html body.woocommerce .boan-option { 
    padding: 10px 20px !important; 
    font-size: 13px !important; 
    color: #4A4A4A !important; 
    font-weight: 500 !important; 
    cursor: pointer !important; 
    transition: all 0.2s ease !important; 
    border-bottom: 1px dashed var(--cat-bg) !important; 
}
html body.woocommerce .boan-option:last-child { border-bottom: none !important; }
html body.woocommerce .boan-option:hover, html body.woocommerce .boan-option.selected { 
    background-color: var(--cat-bg) !important; 
    color: var(--cat-hover) !important; 
    padding-left: 25px !important; 
}

/* ============================================================
   2. ГОРИЗОНТАЛЬНЫЕ ЧИПСЫ В ШАПКЕ
   ============================================================ */
html body.woocommerce .wpc-filters-labels, 
html body.woocommerce .kadence-shop-active-filters, 
html body.woocommerce .woocommerce-notices-wrapper { 
    order: 3 !important; 
    width: 100% !important; 
    display: flex !important; 
    flex-wrap: wrap !important; 
    gap: 8px !important; 
    margin: 0 0 20px 0 !important; 
    padding: 0 15px !important; 
    list-style: none !important; 
}
html body.woocommerce .wpc-filters-labels:empty, 
html body.woocommerce .kadence-shop-active-filters:empty, 
html body.woocommerce .woocommerce-notices-wrapper:empty { 
    display: none !important; 
    margin: 0 !important; 
    height: 0 !important; 
}
html body.woocommerce .wpc-filters-labels li, 
html body.woocommerce .kadence-shop-active-filters .kadence-active-filter { 
    background: #ffffff !important; 
    border: 1px solid var(--cat-main) !important; 
    border-radius: 16px 4px 16px 16px !important; 
    padding: 6px 14px !important; 
    font-family: 'Montserrat', sans-serif !important; 
    font-size: 12px !important; 
    font-weight: 500 !important; 
    color: var(--cat-hover) !important; 
    display: inline-flex !important; 
    align-items: center !important; 
    gap: 6px !important; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.04) !important; 
    transition: all 0.25s ease !important; 
    cursor: pointer !important; 
    margin: 0 !important; 
}
html body.woocommerce .wpc-filters-labels li:hover, 
html body.woocommerce .kadence-shop-active-filters .kadence-active-filter:hover { 
    background: var(--cat-bg) !important; 
    border-color: var(--cat-hover) !important; 
    transform: translateY(-2px) !important; 
    box-shadow: 0 6px 15px var(--cat-shadow) !important; 
}
html body.woocommerce .wpc-filters-labels li a, 
html body.woocommerce .kadence-shop-active-filters .kadence-active-filter a { 
    color: #FF8A65 !important; 
    text-decoration: none !important; 
    font-weight: 600 !important; 
    font-size: 15px !important; 
    line-height: 1 !important; 
    margin-left: 4px !important; 
    display: inline-flex !important; 
}
html body.woocommerce .wpc-filters-labels li a:hover, 
html body.woocommerce .kadence-shop-active-filters .kadence-active-filter a:hover { 
    color: #E65100 !important; 
}
html body.woocommerce .wpc-filter-label-prefix { display: none !important; }

/* ============================================================
   3. ЕДИНЫЙ ОБЪЕДИНЕННЫЙ AJAX-КОНТЕЙНЕР
   ============================================================ */
#boan-products-wrap { 
    order: 4 !important; 
    width: 100% !important; 
    display: block !important; 
    position: relative !important; 
    clear: both !important; 
}

/* ============================================================
   4. ШТОРКА ФИЛЬТРА, ЧЕКБОКСЫ И ЦИФРЫ
   ============================================================ */
.drawer-overlay.active, .kadence-offcanvas-overlay.active { 
    backdrop-filter: none !important; 
    -webkit-backdrop-filter: none !important; 
    background: rgba(0, 0, 0, 0.4) !important; 
}

#filter-drawer .drawer-inner { 
    background: #ffffff !important; 
    border-left: 1px solid var(--cat-bg) !important; 
    box-shadow: -15px 0 45px rgba(0, 0, 0, 0.15) !important; 
    padding: 25px 22px !important; 
}

#filter-drawer .drawer-header { 
    border-bottom: 1px solid var(--cat-bg) !important; 
    padding-bottom: 15px !important; 
    margin-bottom: 20px !important; 
    display: flex !important; 
    align-items: center !important; 
    justify-content: space-between !important; 
}
#filter-drawer .drawer-title { 
    font-family: 'Montserrat', sans-serif !important; 
    font-weight: 600 !important; 
    color: var(--cat-hover) !important; 
    font-size: 18px !important; 
    margin: 0 !important; 
}

.boan-drawer-reset-capsule { 
    display: flex !important; 
    width: 100% !important; 
    margin-bottom: 18px !important; 
}
.boan-drawer-reset-capsule a.boan-reset-link { 
    display: inline-flex !important; 
    align-items: center !important; 
    justify-content: center !important; 
    width: 100% !important; 
    height: 38px !important; 
    background-color: #FFF3E0 !important; 
    color: #E65100 !important; 
    border: 1px solid rgba(255, 138, 101, 0.5) !important; 
    border-radius: 20px 4px 20px 20px !important; 
    font-family: 'Montserrat', sans-serif !important; 
    font-size: 12px !important; 
    font-weight: 600 !important; 
    letter-spacing: 0.3px !important; 
    text-transform: uppercase !important; 
    text-decoration: none !important; 
    transition: all 0.25s ease !important; 
    cursor: pointer !important; 
}
.boan-drawer-reset-capsule a.boan-reset-link:hover { 
    background-color: #FFE0B2 !important; 
    color: #BF360C !important; 
    transform: translateY(-2px) !important; 
    box-shadow: 0 4px 12px rgba(230, 81, 0, 0.25) !important; 
}

.wpc-filters-section { 
    margin-bottom: 25px !important; 
    border-bottom: 1px dashed var(--cat-bg) !important; 
    padding-bottom: 20px !important; 
}
.wpc-filters-section:last-child { border-bottom: none !important; }
.wpc-filter-header .wpc-filter-title { 
    font-family: 'Montserrat', sans-serif !important; 
    font-size: 14px !important; 
    font-weight: 600 !important; 
    color: var(--cat-hover) !important; 
    text-transform: uppercase !important; 
    letter-spacing: 0.5px !important; 
    margin-bottom: 14px !important; 
}

.wpc-filter-search-form input.wpc-filter-search-input { 
    border: 1px solid var(--cat-main) !important; 
    border-radius: 20px 4px 20px 20px !important; 
    font-family: 'Montserrat', sans-serif !important; 
    font-size: 13px !important; 
    padding: 9px 15px !important; 
    outline: none !important; 
    background: #ffffff !important; 
    box-shadow: none !important; 
    margin-bottom: 15px !important; 
    width: 100% !important; 
    box-sizing: border-box !important; 
}
.wpc-filter-search-form input.wpc-filter-search-input:focus { 
    border-color: var(--cat-hover) !important; 
    box-shadow: 0 0 0 3px var(--cat-shadow) !important; 
}

.wpc-filter-layout-checkboxes ul.wpc-filters-ul, 
.wpc-filter-layout-radios ul.wpc-filters-ul { 
    list-style: none !important; 
    padding: 0 !important; 
    margin: 0 !important; 
    display: flex !important; 
    flex-direction: column !important; 
    gap: 10px !important; 
}

.wpc-filter-layout-checkboxes li.wpc-checkbox-item label.wpc-checkbox-label, 
.wpc-filter-layout-radios li.wpc-radio-item label.wpc-radio-label { 
    display: flex !important; 
    align-items: center !important; 
    cursor: pointer !important; 
    font-family: 'Montserrat', sans-serif !important; 
    font-size: 13.5px !important; 
    line-height: 1.4 !important; 
    font-weight: 500 !important; 
    color: #4A4A4A !important; 
    padding: 6px 10px !important; 
    border-radius: 8px !important; 
    transition: all 0.2s ease !important; 
    user-select: none !important; 
}

.wpc-filter-layout-checkboxes li.wpc-checkbox-item label.wpc-checkbox-label:hover, 
.wpc-filter-layout-radios li.wpc-radio-item label.wpc-radio-label:hover { 
    background-color: var(--cat-bg) !important; 
    color: var(--cat-hover) !important; 
}

.wpc-filter-layout-checkboxes li.wpc-checkbox-item input[type="checkbox"], 
.wpc-filter-layout-radios li.wpc-radio-item input[type="radio"] { 
    appearance: none !important; 
    -webkit-appearance: none !important; 
    width: 18px !important; 
    height: 18px !important; 
    min-width: 18px !important; 
    min-height: 18px !important; 
    border: 1.5px solid var(--cat-main) !important; 
    border-radius: 5px !important; 
    background: #ffffff !important; 
    margin: 0 12px 0 0 !important; 
    cursor: pointer !important; 
    position: relative !important; 
    outline: none !important; 
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important; 
    display: inline-flex !important; 
    align-items: center !important; 
    justify-content: center !important; 
    box-sizing: border-box !important; 
}

.wpc-filter-layout-checkboxes li.wpc-checkbox-item input[type="checkbox"]:hover, 
.wpc-filter-layout-radios li.wpc-radio-item input[type="radio"]:hover { 
    border-color: var(--cat-hover) !important; 
    box-shadow: 0 0 0 3px var(--cat-shadow) !important; 
}

.wpc-filter-layout-checkboxes li.wpc-checkbox-item input[type="checkbox"]:checked, 
.wpc-filter-layout-radios li.wpc-radio-item input[type="radio"]:checked { 
    background-color: var(--cat-hover) !important; 
    border-color: var(--cat-hover) !important; 
    box-shadow: 0 2px 8px var(--cat-shadow) !important; 
}

.wpc-filter-layout-checkboxes li.wpc-checkbox-item.wpc-term-selected label.wpc-checkbox-label, 
.wpc-filter-layout-radios li.wpc-radio-item.wpc-term-selected label.wpc-radio-label { 
    color: var(--cat-hover) !important; 
    font-weight: 600 !important; 
}

html body #filter-drawer .wpc-term-count-brackets-open, 
html body #filter-drawer .wpc-term-count-brackets-close { 
    display: none !important; 
}

html body #filter-drawer .wpc-term-count, 
html body .wpc-filters-section .wpc-term-count, 
span.wpc-term-count { 
    background: transparent !important; 
    border: none !important; 
    box-shadow: none !important; 
    padding: 0 !important; 
    margin: 0 0 0 auto !important; 
    display: inline-flex !important; 
    align-items: center !important; 
}

html body #filter-drawer .wpc-term-count-value, 
span.wpc-term-count-value { 
    font-family: 'Montserrat', sans-serif !important; 
    font-size: 12px !important; 
    font-weight: 600 !important; 
    color: var(--cat-hover) !important; 
}

/* ============================================================
   5. СЕТКА ТОВАРОВ И КАРТОЧКИ (АНАЛОГИЧНО ГЛАВНОЙ СТРАНИЦЕ)
   ============================================================ */
html body.woocommerce ul.products { 
    width: 100% !important; 
    padding: 10px 15px 30px 15px !important; 
    box-sizing: border-box !important; 
    overflow: visible !important; 
}
html body.woocommerce ul.products li.product { 
    background: transparent !important; 
    backdrop-filter: blur(15px) !important; 
    -webkit-backdrop-filter: blur(15px) !important; 
    border-radius: 20px 4px 20px 20px !important; 
    border: 1.5px solid rgba(255, 255, 255, 0.7) !important; 
    box-shadow: none !important; 
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease !important; 
    position: relative !important; 
    overflow: visible !important; 
    z-index: 1; 
}

/* Снятие внутренних блокировок Kadence для выноса иконок */
html body.woocommerce ul.products li.product .product-details,
html body.woocommerce ul.products li.product .entry-content-wrap,
html body.woocommerce ul.products li.product .product-action-wrap {
    position: static !important;
    transform: none !important;
    contain: none !important;
    perspective: none !important;
    filter: none !important;
}

/* Подсветка карточки при наведении */
html body.woocommerce ul.products li.product:hover { 
    background: rgba(255, 255, 255, 0.25) !important; 
    transform: translateY(-8px) !important; 
    border-color: var(--cat-hover) !important; 
    box-shadow: 0 14px 40px var(--cat-shadow) !important; 
    z-index: 10; 
}

html body.woocommerce ul.products li.product .woocommerce-loop-image-link { 
    position: relative !important; 
    display: block !important; 
    overflow: hidden !important; 
    border-radius: 20px 4px 0 0 !important; 
    background: transparent !important; 
}
html body.woocommerce ul.products li.product img { 
    border-radius: 20px 4px 0 0 !important; 
    pointer-events: none !important; 
}

/* 🟢 НАЗВАНИЕ ТОВАРА: 2 СТРОКИ НА ДЕСКТОПЕ */
html body.woocommerce ul.products li.product .woocommerce-loop-product__title,
html body.woocommerce ul.products li.product h2.woocommerce-loop-product__title { 
    font-family: 'Montserrat', sans-serif !important; 
    font-size: 13.5px !important; 
    font-weight: 500 !important; 
    line-height: 1.35 !important;
    color: #4A4A4A !important; 
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8) !important; 
    margin: 8px 0 !important;
    padding: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* 🟢 БЛОК ЦЕН: АДАПТИВНЫЙ, НЕ РАЗРЫВАЕТ ЦИФРЫ ПОПОЛАМ */
html body.woocommerce ul.products li.product .price {
    display: flex !important;
    align-items: baseline !important;
    flex-wrap: wrap !important;
    gap: 4px 8px !important;
    font-family: 'Montserrat', sans-serif !important;
    margin: 6px 0 12px 0 !important;
}

/* Зачеркнутая старая цена (строго regular 400, без жирности) */
html body.woocommerce ul.products li.product .price del,
html body.woocommerce ul.products li.product .price del * { 
    color: #a0a0a0 !important; 
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13px !important; 
    font-weight: 400 !important; /* РОВНО REGULAR */
    text-decoration: line-through !important;
    white-space: nowrap !important;
    margin: 0 !important;
}

/* Актуальная цена со скидкой (medium 500) */
html body.woocommerce ul.products li.product .price ins,
html body.woocommerce ul.products li.product .price ins *,
html body.woocommerce ul.products li.product .price > .amount,
html body.woocommerce ul.products li.product .price ins .woocommerce-Price-amount,
html body.woocommerce ul.products li.product .price ins .woocommerce-Price-currencySymbol { 
    color: #E65100 !important; 
    font-family: 'Montserrat', sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important; /* БЕЗ ЖИРНОСТИ */
    text-decoration: none !important; 
    letter-spacing: 0.1px !important;
    white-space: nowrap !important;
}

/* Защита от дублей: скрытие любых внешних бейджей Kadence */
html body.woocommerce ul.products li.product span.onsale,
html body.woocommerce ul.products li.product .onsale {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Кнопка "В КОРЗИНУ" */
html body.woocommerce ul.products li.product .button, 
html body.woocommerce ul.products li.product .add_to_cart_button, 
html body.woocommerce ul.products li.product a.button { 
    border-radius: 20px 4px 20px 20px !important; 
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), background-color 0.3s ease, box-shadow 0.3s ease !important; 
    font-family: 'Montserrat', sans-serif !important; 
    font-weight: 500 !important; 
    text-transform: uppercase !important; 
    font-size: 12px !important; 
    letter-spacing: 0.5px !important; 
    background-color: var(--cat-main) !important; 
    border-color: var(--cat-main) !important; 
    color: #ffffff !important; 
    box-shadow: 0 4px 12px var(--cat-shadow) !important; 
    height: auto !important; 
    padding: 10px 15px !important; 
}
html body.woocommerce ul.products li.product:hover .button, 
html body.woocommerce ul.products li.product .button:hover, 
html body.woocommerce ul.products li.product .add_to_cart_button:hover { 
    transform: translateY(-3px) translateZ(0) !important; 
    box-shadow: 0 10px 20px var(--cat-shadow) !important; 
    background-color: var(--cat-hover) !important; 
    border-color: var(--cat-hover) !important; 
    color: #ffffff !important; 
}

/* ============================================================
   🔘 3 ИКОНКИ ДЕЙСТВИЙ (ИЗБРАННОЕ, СРАВНЕНИЕ, ПРОСМОТР)
   ВЫНОС ВВЕРХ И ВПРАВО: right: -10px
   ============================================================ */
html body.woocommerce ul.products li.product .tinv-wraper,
html body.woocommerce ul.products li.product .tinvwl-wraper,
html body.woocommerce ul.products li.product .kadence-product-quickview-wrap {
    position: static !important;
    display: contents !important;
}

html body.woocommerce ul.products li.product a.tinvwl_add_to_wishlist_button, 
html body.woocommerce ul.products li.product .woosc-btn,
html body.woocommerce ul.products li.product .kt-woo-quickview-button,
html body.woocommerce ul.products li.product button.kt-woo-quickview-button { 
    position: absolute !important; 
    right: -10px !important; 
    left: auto !important; 
    bottom: auto !important; 
    width: 38px !important; 
    height: 38px !important; 
    min-width: 38px !important; 
    min-height: 38px !important; 
    max-width: 38px !important; 
    max-height: 38px !important; 
    border-radius: 50% !important; 
    background: #ffffff !important; 
    background-color: #ffffff !important; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important; 
    border: 1.5px solid var(--cat-main) !important; 
    display: flex !important; 
    align-items: center !important; 
    justify-content: center !important; 
    z-index: 100 !important; 
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease !important; 
    cursor: pointer !important; 
    padding: 0 !important; 
    margin: 0 !important; 
    font-size: 0 !important; 
    color: transparent !important; 
    box-sizing: border-box !important; 
    line-height: 1 !important; 
    opacity: 1 !important; 
    visibility: visible !important; 
}

/* Вертикальный ряд с левитацией */
html body.woocommerce ul.products li.product a.tinvwl_add_to_wishlist_button { 
    top: -10px !important; 
}
html body.woocommerce ul.products li.product .woosc-btn { 
    top: 34px !important; 
}
html body.woocommerce ul.products li.product .kt-woo-quickview-button,
html body.woocommerce ul.products li.product button.kt-woo-quickview-button { 
    top: 78px !important; 
}

/* Блокировка паразитных иконок, текста и двойных сердечек плагинов */
html body.woocommerce ul.products li.product a.tinvwl_add_to_wishlist_button::before,
html body.woocommerce ul.products li.product a.tinvwl_add_to_wishlist_button .tinvwl-icon-heart,
html body.woocommerce ul.products li.product a.tinvwl_add_to_wishlist_button svg,
html body.woocommerce ul.products li.product a.tinvwl_add_to_wishlist_button img,
html body.woocommerce ul.products li.product a.tinvwl_add_to_wishlist_button span,
html body.woocommerce ul.products li.product .woosc-btn::before,
html body.woocommerce ul.products li.product .woosc-btn svg,
html body.woocommerce ul.products li.product .woosc-btn img,
html body.woocommerce ul.products li.product .woosc-btn span {
    display: none !important;
    content: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
}

/* Иконки Избранного и Сравнения (маски) */
html body.woocommerce ul.products li.product a.tinvwl_add_to_wishlist_button::after, 
html body.woocommerce ul.products li.product .woosc-btn::after { 
    content: "" !important; 
    display: block !important; 
    width: 20px !important; 
    height: 20px !important; 
    position: absolute !important; 
    top: 50% !important; 
    left: 50% !important; 
    transform: translate(-50%, -50%) !important; 
    background: var(--cat-main) !important; 
    background-color: var(--cat-main) !important; 
    -webkit-mask-size: contain !important; 
    mask-size: contain !important; 
    -webkit-mask-repeat: no-repeat !important; 
    mask-repeat: no-repeat !important; 
    -webkit-mask-position: center !important; 
    mask-position: center !important; 
    transition: background-color 0.25s ease !important; 
    opacity: 1 !important; 
}
html body.woocommerce ul.products li.product a.tinvwl_add_to_wishlist_button::after { 
    -webkit-mask-image: url('https://bcstore.uz/wp-content/uploads/2026/02/lyubimoe-icon-809650.svg') !important; 
    mask-image: url('https://bcstore.uz/wp-content/uploads/2026/02/lyubimoe-icon-809650.svg') !important; 
}
html body.woocommerce ul.products li.product .woosc-btn::after { 
    -webkit-mask-image: url('https://bcstore.uz/wp-content/uploads/2026/02/sravnenie-icon-6d7dee.svg') !important; 
    mask-image: url('https://bcstore.uz/wp-content/uploads/2026/02/sravnenie-icon-6d7dee.svg') !important; 
}

/* Иконка Быстрого просмотра (глазок Kadence) */
html body.woocommerce ul.products li.product .kt-woo-quickview-button svg { 
    display: block !important; 
    width: 20px !important; 
    height: 20px !important; 
    color: var(--cat-main) !important; 
    stroke: var(--cat-main) !important; 
    fill: none !important; 
    position: absolute !important; 
    top: 50% !important; 
    left: 50% !important; 
    transform: translate(-50%, -50%) !important; 
    margin: 0 !important; 
    transition: stroke 0.25s ease, color 0.25s ease !important; 
    opacity: 1 !important; 
}

/* 🟢 СОЧНЫЙ ХОВЕР В ЦВЕТ КАТЕГОРИИ ДЛЯ ВСЕХ 3 КНОПОК */
html body.woocommerce ul.products li.product a.tinvwl_add_to_wishlist_button:hover, 
html body.woocommerce ul.products li.product .woosc-btn:hover, 
html body.woocommerce ul.products li.product .kt-woo-quickview-button:hover,
html body.woocommerce ul.products li.product button.kt-woo-quickview-button:hover { 
    background: #ffffff !important; 
    background-color: #ffffff !important; 
    border-color: var(--cat-hover) !important; 
    transform: scale(1.1) !important; 
    box-shadow: 0 6px 18px var(--cat-shadow) !important; 
    opacity: 1 !important;
}

html body.woocommerce ul.products li.product a.tinvwl_add_to_wishlist_button:hover::after, 
html body.woocommerce ul.products li.product .woosc-btn:hover::after { 
    background: var(--cat-hover) !important; 
    background-color: var(--cat-hover) !important; 
    opacity: 1 !important; 
}
html body.woocommerce ul.products li.product .kt-woo-quickview-button:hover svg { 
    color: var(--cat-hover) !important; 
    stroke: var(--cat-hover) !important; 
    opacity: 1 !important; 
}

/* Активное состояние */
html body.woocommerce ul.products li.product a.tinvwl_add_to_wishlist_button.tinvwl-product-in-list, 
html body.woocommerce ul.products li.product .woosc-btn.added, 
html body.woocommerce ul.products li.product .woosc-btn.boan-wpc-active { 
    background-color: var(--cat-hover) !important; 
    border-color: var(--cat-hover) !important; 
}
html body.woocommerce ul.products li.product a.tinvwl_add_to_wishlist_button.tinvwl-product-in-list::after, 
html body.woocommerce ul.products li.product .woosc-btn.added::after, 
html body.woocommerce ul.products li.product .woosc-btn.boan-wpc-active::after { 
    background: #ffffff !important; 
    background-color: #ffffff !important; 
}

/* ============================================================
   6. ЛЕНТА ПОДКАТЕГОРИЙ СО СВАЙПОМ
   ============================================================ */
html body.woocommerce .boan-subcategories-row { 
    order: 3 !important; 
    width: 100% !important; 
    display: flex !important; 
    flex-wrap: nowrap !important; 
    overflow-x: auto !important; 
    gap: 12px !important; 
    padding: 15px 15px 25px 15px !important; 
    box-sizing: border-box !important; 
    -webkit-overflow-scrolling: touch !important; 
    scrollbar-width: none !important; 
}
html body.woocommerce .boan-subcategories-row::-webkit-scrollbar { display: none !important; }

html body.woocommerce .boan-subcategories-row li.product-category { 
    all: unset !important; 
    flex: 0 0 auto !important; 
    background: #ffffff !important; 
    border-radius: 20px 4px 20px 20px !important; 
    border: 1px solid var(--cat-main) !important; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.05) !important; 
    transition: all 0.3s ease !important; 
    display: flex !important; 
    align-items: center !important; 
    height: 42px !important; 
    cursor: pointer !important; 
}
html body.woocommerce .boan-subcategories-row li.product-category a { 
    display: flex !important; 
    align-items: center !important; 
    padding: 0 20px 0 6px !important; 
    text-decoration: none !important; 
    gap: 8px !important; 
}
html body.woocommerce .boan-subcategories-row li.product-category h2.woocommerce-loop-category__title { 
    font-family: 'Montserrat', sans-serif !important; 
    font-size: 13px !important; 
    font-weight: 500 !important; 
    color: var(--cat-hover) !important; 
    margin: 0 !important; 
    padding: 0 !important; 
    text-transform: none !important; 
    border: none !important; 
}
html body.woocommerce .boan-subcategories-row li.product-category:hover { 
    background: var(--cat-bg) !important; 
    border-color: var(--cat-hover) !important; 
    transform: translateY(-2px) !important; 
    box-shadow: 0 6px 15px var(--cat-shadow) !important; 
}

/* ============================================================
   7. SEO-АККОРДЕОН ОПИСАНИЯ КАТЕГОРИИ
   ============================================================ */
.boan-seo-accordion-wrap { 
    background: rgba(255, 255, 255, 0.6) !important; 
    backdrop-filter: blur(15px) !important; 
    -webkit-backdrop-filter: blur(15px) !important; 
    border-radius: 40px 10px 40px 40px !important; 
    padding: 35px 45px 15px 45px !important; 
    max-width: 950px !important; 
    margin: 40px auto 60px auto !important; 
    box-shadow: 0 8px 25px var(--cat-shadow) !important; 
    border: 1px solid rgba(255, 255, 255, 0.7) !important; 
    position: relative !important; 
    width: 100% !important; 
    box-sizing: border-box !important; 
    order: 15 !important; 
    cursor: pointer !important; 
    clear: both !important; 
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease !important; 
}

.boan-seo-accordion-wrap:hover { 
    transform: translateY(-4px) !important; 
    box-shadow: 0 15px 40px var(--cat-shadow) !important; 
    border-color: var(--cat-main) !important; 
    background: rgba(255, 255, 255, 0.75) !important; 
}

.boan-seo-content { 
    max-height: 100px; 
    overflow: hidden; 
    transition: max-height 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
    color: #4A4A4A !important; 
    font-family: 'Montserrat', sans-serif !important; 
    font-size: 14px !important; 
    line-height: 1.6 !important; 
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%); 
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%); 
}

html body.woocommerce .boan-seo-content.expanded { 
    max-height: 15000px !important; 
    -webkit-mask-image: none !important; 
    mask-image: none !important; 
}

.boan-seo-content h1, 
.boan-seo-content h2, 
.boan-seo-content h3 { 
    color: var(--cat-hover) !important; 
    font-weight: 500 !important; 
    margin-top: 1.2em !important; 
    margin-bottom: 0.6em !important; 
    font-size: 18px !important; 
}
.boan-seo-content h2:first-child, .boan-seo-content h1:first-child { margin-top: 0 !important; }

.boan-seo-toggle { 
    color: var(--cat-main) !important; 
    font-family: 'Montserrat', sans-serif !important; 
    font-weight: 500 !important; 
    font-size: 13px !important; 
    border: none !important; 
    padding: 20px 0 5px 0 !important; 
    display: flex !important; 
    align-items: center !important; 
    justify-content: center !important; 
    width: 100% !important; 
    transition: color 0.3s ease !important; 
    text-transform: uppercase !important; 
    letter-spacing: 0.5px !important; 
    outline: none !important; 
    pointer-events: none !important; 
    background: transparent !important; 
}
.boan-seo-accordion-wrap:hover .boan-seo-toggle { color: var(--cat-hover) !important; }
.boan-seo-toggle span { margin-left: 8px; font-size: 10px; transition: transform 0.3s ease; }
.boan-seo-toggle.open span { transform: rotate(180deg); }

/* ============================================================
   8. СКРЫТИЕ СТАТИЧЕСКОЙ ПАГИНАЦИИ В КАТАЛОГЕ (ВАРИАНТ А)
   ============================================================ */
html body.woocommerce nav.woocommerce-pagination {
    display: none !important;
}

/* ============================================================
   9. ИНФИНИТИ-СКРОЛЛ: ЖЕЛЕЗНЫЙ ЛОАДЕР БЕЗ СЕРЫХ ТОЧЕК
   ============================================================ */
html body.woocommerce div.page-load-status { 
    display: block !important; 
    text-align: center !important; 
    padding: 20px 0 35px 0 !important; 
    width: 100% !important; 
    clear: both !important; 
}

/* 🛑 ДЕЛАЕМ СЕРЫЕ ТОЧКИ KADENCE ПОЛНОСТЬЮ НЕВИДИМЫМИ */
html body.woocommerce .kt-loader-ellips,
html body.woocommerce .kt-loader-ellips span,
html body.woocommerce .kt-loader-ellips__dot { 
    background: transparent !important; 
    color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    font-size: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Капсула подгрузки: по умолчанию скрыта */
html body.woocommerce div.page-load-status .infinite-scroll-request { 
    width: fit-content !important; 
    max-width: 280px !important; 
    margin: 0 auto !important; 
    display: none; 
    align-items: center !important; 
    justify-content: center !important; 
    gap: 12px !important; 
    background: #ffffff !important; 
    padding: 12px 28px !important; 
    border-radius: 30px !important; 
    border: 1.5px solid var(--cat-main) !important; 
    box-shadow: 0 10px 25px var(--cat-shadow) !important; 
}

/* Показываем капсулу ТОЛЬКО во время активного запроса */
html body.woocommerce div.page-load-status .infinite-scroll-request[style*="display: block"],
html body.woocommerce div.page-load-status.is-loading .infinite-scroll-request { 
    display: inline-flex !important; 
}

/* Строго скрываем лоадер, если запрос завершен или скрыт скриптом */
html body.woocommerce div.page-load-status .infinite-scroll-request[style*="display: none"],
html body.woocommerce div.page-load-status.is-last .infinite-scroll-request { 
    display: none !important; 
}

/* Наш чистый текст */
html body.woocommerce div.page-load-status .infinite-scroll-request::before { 
    content: "Загружаем товары..." !important; 
    font-family: 'Montserrat', sans-serif !important; 
    font-size: 13.5px !important; 
    font-weight: 600 !important; 
    color: var(--cat-hover) !important; 
    display: inline-block !important; 
}

/* Наш аккуратный спиннер */
html body.woocommerce div.page-load-status .infinite-scroll-request::after { 
    content: "" !important; 
    width: 16px !important; 
    height: 16px !important; 
    border: 2.5px solid var(--cat-bg) !important; 
    border-top-color: var(--cat-hover) !important; 
    border-radius: 50% !important; 
    display: inline-block !important; 
    animation: boan-spin 0.65s linear infinite !important; 
}
@keyframes boan-spin { to { transform: rotate(360deg); } }

/* Финальная плашка окончания каталога */
html body.woocommerce div.page-load-status p.infinite-scroll-last { 
    font-family: 'Montserrat', sans-serif !important; 
    font-size: 13px !important; 
    font-weight: 500 !important; 
    color: var(--cat-hover) !important; 
    background: #ffffff !important; 
    border: 1.5px dashed var(--cat-main) !important; 
    padding: 10px 28px !important; 
    border-radius: 20px 4px 20px 20px !important; 
    margin: 15px auto !important; 
    box-shadow: 0 4px 15px var(--cat-shadow) !important; 
    text-align: center !important; 
    width: fit-content !important; 
}

html body.woocommerce div.page-load-status p.infinite-scroll-error, 
html body.woocommerce div.page-load-status p.infinite-scroll-last ~ p.infinite-scroll-last { 
    display: none !important; 
}

/* ============================================================
   10. ЛИКВИДАЦИЯ ПАРАЗИТНЫХ ТОЧЕК И ШАБЛОНОВ ТУЛТИПОВ
   ============================================================ */
.woosc-btn-show,
.woosc-area,
.woosc-trigger,
.woosq-btn-show,
.wooscp-btn-show,
.woosw-btn-show,
#woosc-area,
.woosc-bar {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
}

#boan-global-tooltip {
    position: fixed !important; 
    background: var(--cat-hover, #7E57C2) !important; 
    color: #ffffff !important; 
    padding: 6px 12px !important; 
    border-radius: 16px 4px 16px 16px !important; 
    font-family: 'Montserrat', sans-serif !important; 
    font-size: 11px !important; 
    font-weight: 500 !important; 
    pointer-events: none !important; 
    z-index: 2147483647 !important; 
    opacity: 0 !important; 
    visibility: hidden !important; 
    transition: opacity 0.2s ease !important; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important; 
    white-space: nowrap !important; 
}
#boan-global-tooltip.boan-show {
    opacity: 1 !important; 
    visibility: visible !important; 
}

/* ============================================================
   11. МОБИЛЬНАЯ АДАПТАЦИЯ (<= 768px): 3 СТРОКИ НАЗВАНИЯ И ТОНКИЕ ЦЕНЫ
   ============================================================ */
@media (max-width: 768px) { 
    html body.woocommerce .entry-header.product-archive-title { 
        width: 100% !important; 
        flex-direction: column !important; 
        align-items: flex-start !important; 
        gap: 8px !important; 
    } 
    html body.woocommerce .entry-header.product-archive-title h1.page-title { 
        font-size: 22px !important; 
        white-space: normal !important; 
        line-height: 1.3 !important; 
    } 
    html body.woocommerce .kadence-shop-top-row { 
        width: 100% !important; 
        display: flex !important; 
        flex-direction: row !important; 
        justify-content: space-between !important; 
        gap: 10px !important; 
        padding: 0 !important; 
    } 
    .boan-custom-select { 
        width: 100% !important; 
        min-width: 0 !important; 
    } 
    .boan-seo-accordion-wrap { 
        padding: 25px 20px 15px 20px !important; 
        border-radius: 20px 4px 20px 20px !important; 
        margin: 30px 15px 40px 15px !important; 
        width: auto !important; 
    } 

    /* 🟢 НАЗВАНИЕ НА СМАРТФОНАХ: 3 СТРОКИ, 12.5px, БОЛЬШЕ СЛОВ ВЛЕЗАЕТ */
    html body.woocommerce ul.products li.product .woocommerce-loop-product__title,
    html body.woocommerce ul.products li.product h2.woocommerce-loop-product__title {
        font-size: 12.5px !important;
        line-height: 1.3 !important;
        -webkit-line-clamp: 3 !important;
        min-height: 48px !important;
        margin: 6px 0 !important;
    }

    /* 🟢 БЛОК ЦЕН НА СМАРТФОНАХ: СТРОГО СТРОКАМИ ДРУГ ПОД ДРУГОМ, БЕЗ ЖИРНОСТИ */
    html body.woocommerce ul.products li.product .price {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1px !important;
        margin: 2px 0 8px 0 !important;
    }
    html body.woocommerce ul.products li.product .price del,
    html body.woocommerce ul.products li.product .price del * {
        font-size: 11.5px !important;
        font-weight: 400 !important; /* REGULAR БЕЗ ЖИРНОСТИ */
        line-height: 1.2 !important;
    }
    html body.woocommerce ul.products li.product .price ins,
    html body.woocommerce ul.products li.product .price ins *,
    html body.woocommerce ul.products li.product .price > .amount,
    html body.woocommerce ul.products li.product .price ins .woocommerce-Price-amount,
    html body.woocommerce ul.products li.product .price ins .woocommerce-Price-currencySymbol {
        font-size: 14.5px !important;
        font-weight: 500 !important; /* MEDIUM БЕЗ ИЗЛИШНЕЙ ЖИРНОСТИ */
        line-height: 1.2 !important;
    }
    /* ============================================================
       📱 МОБИЛЬНАЯ ШАПКА: ЧИСТЫЙ ЗАГОЛОВОК И КРОШКИ (БЕЗ СОРТИРОВКИ)
       ============================================================ */

    /* 1. Заголовок категории и хлебные крошки */
    html body.woocommerce .entry-header.product-archive-title { 
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important; 
        align-items: flex-start !important; 
        gap: 4px !important; 
        padding: 0 15px !important;
        margin: 5px 0 10px 0 !important;
        box-sizing: border-box !important;
    } 

    html body.woocommerce .entry-header.product-archive-title h1.page-title { 
        font-size: 20px !important; 
        white-space: normal !important; 
        line-height: 1.25 !important; 
        margin: 0 !important;
    } 

    html body.woocommerce .kadence-breadcrumbs, 
    html body.woocommerce .kadence-breadcrumbs p, 
    html body.woocommerce .kadence-breadcrumbs nav { 
        font-size: 11.5px !important; 
        flex-wrap: wrap !important; 
        white-space: normal !important; 
        line-height: 1.35 !important;
        gap: 2px 4px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* 2. Полная ликвидация верхней строки на мобильных (сортировка, дубли фильтров и брендов) */
    html body.woocommerce .kadence-shop-top-row,
    html body.woocommerce div.kadence-shop-top-row { 
        display: none !important; 
        visibility: hidden !important;
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }
}