/**
 * gnrg.ru — мобильный UI (ASPRO-layout, цвета сайта)
 * Подключается из header.php после template_styles.css
 * Breakpoints: ≤1024 планшет, ≤768 мобильный, ≤480 узкий
 *
 * Акцент: #4d020c  Фон: #f4f4f4 / #fff  Текст: #111 / #6b6b6b
 */

:root {
    --alda-accent: #4d020c;
    --alda-accent-soft: rgba(77, 2, 12, .08);
    --alda-bg: #f4f4f4;
    --alda-card: #fff;
    --alda-text: #111;
    --alda-muted: #6b6b6b;
    --alda-line: #ececec;
    --alda-radius: 0;
    --alda-header-h: 56px;
}

@keyframes aldaFadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}
@keyframes aldaSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: none; }
}
@keyframes aldaScaleIn {
    from { opacity: 0; transform: scale(.92); }
    to { opacity: 1; transform: none; }
}
@keyframes aldaFabIn {
    from { opacity: 0; transform: scale(.6); }
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* =========================================================
   ШАПКА: бургер + поиск | лого | корзина
   ========================================================= */
@media (max-width: 768px) {
    body.has-mobile-header {
        background: var(--alda-bg) !important;
    }

    body.has-mobile-header #HorizontMenuSections {
        margin-top: 0 !important;
        min-height: 0 !important;
        height: auto !important;
    }

    body.has-mobile-header #article_one {
        padding-top: var(--alda-header-h) !important;
        box-sizing: border-box !important;
        background: var(--alda-bg) !important;
    }

    #header { display: none !important; }

    #header_top {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        z-index: 1000 !important;
        height: var(--alda-header-h) !important;
        background: #fff !important;
        border-bottom: 1px solid var(--alda-line) !important;
        box-shadow: 0 1px 8px rgba(0, 0, 0, .06) !important;
        transition: box-shadow .25s ease !important;
    }
    body.has-mobile-header.is-scrolled #header_top {
        box-shadow: 0 4px 18px rgba(0, 0, 0, .1) !important;
    }
    #header_top .row,
    #header_top .block {
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    #logo_block {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        height: var(--alda-header-h) !important;
        padding: 0 8px !important;
        margin: 0 !important;
        gap: 2px !important;
        box-sizing: border-box !important;
    }
    #logo_block > .span4,
    #logo_block > .logo-cell,
    #header_top .span4 {
        display: block !important;
        width: auto !important;
        float: none !important;
        padding: 0 !important;
        margin: 0 !important;
        vertical-align: middle !important;
    }

    /* бургер — иконка слева */
    #logo_block > .mobile-menu-toggle {
        flex: 0 0 44px !important;
        order: 1 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        min-width: 44px !important;
        height: 44px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: var(--alda-text) !important;
        box-shadow: none !important;
        gap: 0 !important;
        transition: background .2s ease, transform .2s ease !important;
    }
    #logo_block > .mobile-menu-toggle:active {
        background: var(--alda-accent-soft) !important;
        transform: scale(.94) !important;
    }
    #logo_block > .mobile-menu-toggle .mobile-menu-toggle__bars {
        width: 20px !important;
        height: 14px !important;
    }
    #logo_block > .mobile-menu-toggle .mobile-menu-toggle__bars span {
        background: var(--alda-text) !important;
        height: 2px !important;
        border-radius: 0 !important;
        transition: transform .22s ease, opacity .22s ease !important;
    }
    #logo_block > .mobile-menu-toggle.is-active .mobile-menu-toggle__bars span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    #logo_block > .mobile-menu-toggle.is-active .mobile-menu-toggle__bars span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
    .mobile-menu-toggle__label { display: none !important; }

    /* поиск — иконка рядом с бургером */
    .mobile-search-toggle {
        flex: 0 0 44px !important;
        order: 2 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 44px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: var(--alda-text) !important;
        cursor: pointer !important;
        -webkit-appearance: none;
        appearance: none;
        transition: background .2s ease, transform .2s ease !important;
    }
    .mobile-search-toggle:active {
        background: var(--alda-accent-soft) !important;
        transform: scale(.94) !important;
    }
    .mobile-search-toggle svg {
        width: 22px;
        height: 22px;
        stroke: currentColor;
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    /* лого по центру */
    #logo_block > .logo-cell,
    #logo_block > .span4.logo-cell {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        flex: 0 0 auto !important;
        order: 3 !important;
        width: 140px !important;
        max-width: 140px !important;
        z-index: 1 !important;
        pointer-events: none !important;
    }
    #logo_block #logo {
        display: block !important;
        width: 140px !important;
        height: 36px !important;
        margin: 0 auto !important;
        background-size: contain !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        pointer-events: auto !important;
        transition: transform .25s ease !important;
    }
    #logo_block #logo:active {
        transform: scale(.96) !important;
    }
    #logo_block .logo-cell > p,
    #logo_block .logo-cell .font24,
    #logo_block .logo-cell .font17 {
        display: none !important;
    }

    /* телефоны скрыты — место под лого */
    #logo_block > #info,
    #header_top #info {
        display: none !important;
    }

    /* исходный поиск прячем — открывается оверлеем */
    #logo_block > #border,
    #header_top #border,
    #header_top #search {
        display: none !important;
    }

    /* сравнение / избранное скрыты, корзина — иконка справа */
    #header_top #block_compare,
    #header_top #block_favor,
    #header_top #cartline .txt,
    #header_top .ico-compare,
    #header_top .ico-favor {
        display: none !important;
    }
    #logo_block > #cartline,
    #header_top #cartline {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        flex: 1 1 auto !important;
        order: 4 !important;
        width: auto !important;
        margin: 0 0 0 auto !important;
        padding: 0 !important;
        background: none !important;
        border: none !important;
    }
    #cartline .cell {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        background: none !important;
    }
    #header_top #block_bask,
    #header_top .line_alda {
        display: block !important;
        width: 44px !important;
        height: 44px !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative !important;
    }
    #header_top .ico-bask {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 44px !important;
        border-radius: 0 !important;
        text-decoration: none !important;
        transition: background .2s ease, transform .2s ease !important;
    }
    #header_top .ico-bask:active {
        background: var(--alda-accent-soft) !important;
        transform: scale(.94) !important;
    }
    #header_top .ico-bask .ico-block {
        margin: 0 !important;
        width: 24px !important;
        height: 24px !important;
        background-size: contain !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }
    #header_top .ico-bask .badge {
        position: absolute !important;
        top: 4px !important;
        right: 4px !important;
        min-width: 16px !important;
        height: 16px !important;
        padding: 0 4px !important;
        border-radius: 0 !important;
        background: var(--alda-accent) !important;
        color: #fff !important;
        font-size: 10px !important;
        line-height: 16px !important;
        text-align: center !important;
        font-weight: 700 !important;
    }
    #header_top .ico-bask .badge:empty,
    #header_top .ico-bask .badge[data-empty="1"] {
        display: none !important;
    }
    #cartline .compare_popup { display: none !important; }

    /* оверлей поиска */
    .mobile-search-overlay {
        position: fixed !important;
        top: var(--alda-header-h) !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1001 !important;
        padding: 12px 12px 14px !important;
        background: #fff !important;
        box-shadow: 0 10px 24px rgba(0, 0, 0, .12) !important;
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: opacity .22s ease, transform .22s ease;
    }
    .mobile-search-overlay.is-open {
        opacity: 1;
        transform: none;
        pointer-events: auto;
        animation: aldaSlideDown .22s ease;
    }
    .mobile-search-overlay form {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        margin: 0 !important;
    }
    .mobile-search-overlay input[type="text"] {
        flex: 1 1 auto !important;
        height: 44px !important;
        margin: 0 !important;
        padding: 0 14px !important;
        border: 1px solid var(--alda-line) !important;
        border-radius: 0 !important;
        background: var(--alda-bg) !important;
        font-size: 16px !important;
        color: var(--alda-text) !important;
        box-sizing: border-box !important;
        outline: none !important;
    }
    .mobile-search-overlay input[type="text"]:focus {
        border-color: var(--alda-accent) !important;
        background: #fff !important;
    }
    .mobile-search-overlay button[type="submit"] {
        flex: 0 0 44px !important;
        width: 44px !important;
        height: 44px !important;
        border: none !important;
        border-radius: 0 !important;
        background: var(--alda-accent) !important;
        color: #fff !important;
        cursor: pointer !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: transform .15s ease, opacity .15s ease !important;
    }
    .mobile-search-overlay svg {
        width: 20px;
        height: 20px;
        stroke: currentColor;
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }
    .mobile-search-overlay button[type="submit"]:active {
        transform: scale(.94) !important;
        opacity: .9 !important;
    }
    .mobile-search-backdrop {
        position: fixed !important;
        inset: 0 !important;
        z-index: 999 !important;
        background: rgba(17, 17, 17, .35) !important;
        opacity: 0;
        pointer-events: none;
        transition: opacity .22s ease;
    }
    .mobile-search-backdrop.is-open {
        opacity: 1;
        pointer-events: auto;
    }

    #HorizontMenuSections.is-open,
    #HorizontMenuSections.is-open.active,
    #HorizontMenuSections.is-open.fix {
        animation: aldaSlideDown .25s ease;
    }
    #item .bread,
    #item .bread.zzxz {
        width: 100% !important;
        max-width: 100% !important;
        margin: 8px 0 6px !important;
        padding: 0 2px !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        white-space: normal !important;
        animation: aldaFadeUp .4s ease both;
    }
    #item .bread ul {
        display: block !important;
        width: 100% !important;
        white-space: normal !important;
    }
    #item .bread ul li {
        display: inline !important;
        float: none !important;
        font-size: 12px !important;
        line-height: 1.55 !important;
        color: var(--alda-muted) !important;
    }
    #item .bread ul li a {
        display: inline !important;
        white-space: normal !important;
        color: var(--alda-muted) !important;
    }

    #item h1.manufacture,
    #item h1.all_sect,
    .all_article h1.manufacture,
    .alda.level_two > h1.manufacture {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 22px !important;
        line-height: 1.25 !important;
        margin: 4px 0 14px !important;
        padding: 0 2px !important;
        box-sizing: border-box !important;
        word-break: break-word !important;
        color: var(--alda-text) !important;
        text-transform: none !important;
        animation: aldaFadeUp .45s ease both;
    }

    .all_product.alda.sect,
    .all_article.level_one,
    .alda.level_two,
    .gi_csl_homechild {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    /* тулбар: фильтр + вид */
    .mobile-catalog-toolbar {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        margin: 0 0 14px !important;
        animation: aldaFadeUp .4s .05s ease both;
    }
    .mobile-fab {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 44px !important;
        border: none !important;
        border-radius: 0 !important;
        background: var(--alda-accent) !important;
        color: #fff !important;
        cursor: pointer !important;
        box-shadow: 0 4px 12px rgba(77, 2, 12, .28) !important;
        -webkit-appearance: none;
        appearance: none;
        transition: transform .18s ease, box-shadow .18s ease !important;
        animation: aldaFabIn .35s ease both;
    }
    .mobile-fab:nth-child(2) { animation-delay: .08s; }
    .mobile-fab:active {
        transform: scale(.92) !important;
        box-shadow: 0 2px 6px rgba(77, 2, 12, .22) !important;
    }
    .mobile-fab svg {
        width: 20px;
        height: 20px;
        stroke: currentColor;
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }
    .mobile-fab.is-active {
        background: #2a0107 !important;
    }

    /* =========================================================
       Каталог разделов (#sections_level_one) — карточки с подкатегориями
       ========================================================= */
    #sections_level_one.product_list,
    .level_one #sections_level_one {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 12px !important;
        margin: 0 0 16px !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        text-align: left !important;
    }

    #sections_level_one > .product_block,
    .level_one .product_block {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        height: auto !important;
        min-height: 0 !important;
        box-sizing: border-box !important;
        animation: aldaFadeUp .45s ease both;
    }
    #sections_level_one > .product_block:nth-child(2) { animation-delay: .05s; }
    #sections_level_one > .product_block:nth-child(3) { animation-delay: .1s; }
    #sections_level_one > .product_block:nth-child(4) { animation-delay: .15s; }
    #sections_level_one > .product_block:nth-child(5) { animation-delay: .2s; }

    #sections_level_one .billet {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 14px !important;
        margin: 0 !important;
        overflow: visible !important;
        box-sizing: border-box !important;
        transform: none !important;
        background: var(--alda-card) !important;
        border-radius: var(--alda-radius) !important;
        box-shadow: 0 2px 12px rgba(0, 0, 0, .06) !important;
        transition: transform .22s ease, box-shadow .22s ease !important;
    }
    #sections_level_one .billet:hover,
    #sections_level_one .product_block:hover .billet {
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 20px rgba(0, 0, 0, .1) !important;
    }

    #sections_level_one .billet_botoom {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        background-image: none !important;
        list-style: none !important;
    }

    #sections_level_one .name-row {
        width: 100% !important;
        margin: 0 0 10px !important;
        padding: 0 !important;
        height: auto !important;
    }
    #sections_level_one .name-row .cell { width: 100% !important; max-width: 100% !important; }
    #sections_level_one .name-row a.billet_top_padd,
    #sections_level_one .name-row .cell h3 {
        display: block !important;
        width: 100% !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
        color: var(--alda-accent) !important;
        text-transform: none !important;
        white-space: normal !important;
        word-break: break-word !important;
    }

    #sections_level_one .img-row {
        position: relative !important;
        width: 100% !important;
        margin: 0 0 10px !important;
        min-height: 0 !important;
        border-radius: 0 !important;
        overflow: hidden !important;
        background: var(--alda-bg) !important;
    }
    #sections_level_one .painting {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: auto !important;
        min-height: 150px !important;
        max-height: none !important;
        margin: 0 !important;
        overflow: hidden !important;
    }
    #sections_level_one .link_img,
    .level_one .product_block .link_img {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: center !important;
    }
    #sections_level_one .link_img img,
    .level_one .product_block .link_img img {
        max-width: 100% !important;
        max-height: 180px !important;
        width: auto !important;
        height: auto !important;
        padding: 0 !important;
        margin: 0 auto !important;
        object-fit: contain !important;
        transition: transform .35s ease !important;
    }
    #sections_level_one .product_block:hover .link_img img {
        transform: scale(1.04) !important;
    }

    #sections_level_one .prod_count {
        position: absolute !important;
        left: 10px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 2 !important;
        pointer-events: none !important;
        text-align: left !important;
        opacity: .28 !important;
    }
    #sections_level_one .prod_count .font26 {
        font-size: 42px !important;
        line-height: 1 !important;
        margin: 0 !important;
    }
    #sections_level_one .prod_count .font18 { font-size: 13px !important; }

    #sections_level_one .dept_sect,
    #sections_level_one li.dept_sect {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        clear: both !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    #sections_level_one .dept_sect a.block,
    #sections_level_one li.dept_sect a.block {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px 8px !important;
        margin: 0 !important;
        font-size: 14px !important;
        line-height: 1.35 !important;
        white-space: normal !important;
        word-break: break-word !important;
        box-sizing: border-box !important;
        border-bottom: 1px solid var(--alda-line) !important;
        color: var(--alda-text) !important;
        transition: color .15s ease, padding-left .15s ease, background .15s ease !important;
    }
    #sections_level_one .dept_sect a.block:active {
        color: var(--alda-accent) !important;
        padding-left: 14px !important;
        background: var(--alda-accent-soft) !important;
    }
    #sections_level_one .dept_sect:last-child a.block { border-bottom: none !important; }
    #sections_level_one .dept_sect a.block:after,
    #sections_level_one .dept_sect:hover a.block:after {
        display: none !important;
        content: none !important;
    }

    /* =========================================================
       Подкатегории (#sections_level_two, homechild) — 2 колонки
       ========================================================= */
    #sections_level_two.product_list,
    .product_list.homechild,
    .product_list.home.homechild,
    .gi_csl_homechild #sections_level_two {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 16px !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        text-align: left !important;
        flex-direction: unset !important;
        flex-wrap: unset !important;
    }

    #sections_level_two > .product_block,
    .product_list.homechild > .product_block,
    .product_list.home.homechild > .product_block,
    .gi_csl_homechild .product_block,
    .alda.level_two .product_block,
    .gi_csl_homechild .product_block.rdesss {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        height: auto !important;
        min-height: 0 !important;
        box-sizing: border-box !important;
        animation: aldaFadeUp .45s ease both;
    }

    #sections_level_two .billet,
    .product_list.homechild .billet,
    .gi_csl_homechild .billet {
        display: flex !important;
        flex-direction: column !important;
        flex: 1 1 auto !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        padding: 10px !important;
        margin: 0 !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        transform: none !important;
        background: var(--alda-card) !important;
        border-radius: var(--alda-radius) !important;
        box-shadow: 0 2px 12px rgba(0, 0, 0, .06) !important;
        transition: transform .22s ease, box-shadow .22s ease !important;
    }
    #sections_level_two .billet:hover,
    .product_list.homechild .product_block:hover .billet {
        transform: translateY(-3px) !important;
        box-shadow: 0 8px 20px rgba(0, 0, 0, .1) !important;
    }

    #sections_level_two .billet_botoom,
    .product_list.homechild .billet_botoom {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        background-image: none !important;
        list-style: none !important;
        flex: 1 1 auto !important;
    }

    #sections_level_two .name-row,
    .product_list.homechild .name-row {
        width: 100% !important;
        margin: 0 0 8px !important;
        padding: 0 !important;
        height: auto !important;
        order: 2 !important;
    }
    #sections_level_two .name-row .cell,
    .product_list.homechild .name-row .cell { width: 100% !important; max-width: 100% !important; }
    #sections_level_two .name-row a.billet_top_padd,
    #sections_level_two .name-row .cell h3,
    .product_list.homechild .name-row a.billet_top_padd {
        display: block !important;
        width: 100% !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
        color: var(--alda-text) !important;
        text-transform: none !important;
        white-space: normal !important;
        word-break: break-word !important;
        text-align: left !important;
    }

    #sections_level_two .img-row,
    .product_list.homechild .img-row {
        position: relative !important;
        width: 100% !important;
        margin: 0 0 8px !important;
        min-height: 0 !important;
        order: 1 !important;
        border-radius: 0 !important;
        overflow: hidden !important;
        background: var(--alda-bg) !important;
    }
    #sections_level_two .painting,
    .product_list.homechild .painting {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 120px !important;
        min-height: 120px !important;
        max-height: 120px !important;
        margin: 0 !important;
        overflow: hidden !important;
    }
    #sections_level_two .link_img,
    .product_list.homechild .link_img,
    .alda.level_two .product_block .link_img {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: center !important;
    }
    #sections_level_two .link_img img,
    .product_list.homechild .link_img img,
    .alda.level_two .product_block .link_img img {
        max-width: 100% !important;
        max-height: 110px !important;
        width: auto !important;
        height: auto !important;
        padding: 0 !important;
        margin: 0 auto !important;
        object-fit: contain !important;
        transition: transform .35s ease !important;
    }
    .product_list.homechild .product_block:hover .link_img img {
        transform: scale(1.06) !important;
    }

    #sections_level_two .prod_count,
    .product_list.homechild .prod_count {
        position: absolute !important;
        left: 6px !important;
        bottom: 6px !important;
        top: auto !important;
        transform: none !important;
        z-index: 2 !important;
        pointer-events: none !important;
        text-align: left !important;
        opacity: .9 !important;
        background: rgba(255, 255, 255, .85) !important;
        border-radius: 0 !important;
        padding: 2px 6px !important;
    }
    #sections_level_two .prod_count .font26,
    .product_list.homechild .prod_count .font26 {
        font-size: 14px !important;
        line-height: 1.1 !important;
        margin: 0 !important;
        font-weight: 700 !important;
        color: var(--alda-accent) !important;
    }
    #sections_level_two .prod_count .font18 { font-size: 10px !important; }

    /* homechild без .billet (простые плитки) */
    .gi_csl_homechild .product_block.rdesss,
    .gi_csl_homechild .product_block.pzd,
    .alda.level_two .product_block:not(:has(.billet)) {
        background: var(--alda-card) !important;
        border-radius: var(--alda-radius) !important;
        box-shadow: 0 2px 12px rgba(0, 0, 0, .06) !important;
        padding: 10px !important;
        overflow: hidden !important;
    }
    .gi_csl_homechild .product_block a.block {
        display: block !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        color: var(--alda-text) !important;
        line-height: 1.3 !important;
        margin-top: 8px !important;
        text-align: left !important;
    }
    .gi_csl_homechild .product_block img {
        max-width: 100% !important;
        max-height: 110px !important;
        width: auto !important;
        height: auto !important;
        margin: 0 auto !important;
        display: block !important;
        object-fit: contain !important;
    }

    /* =========================================================
       Список товаров — 2 колонки, карточки как у ASPRO
       ========================================================= */
    .all_product.alda.sect .product_list.sect,
    .product_list.sect.alda_gi_cs_sect,
    .alda.sect .product_list.sect,
    .product_list.sect,
    .product_ul.pump_bl,
    .gi_ct_search .product_list,
    .gi_ct_scope .product_list,
    .gi_ct_home .tabs.cart_tab .product_ul.active,
    .tabs.cart_tab .tab-body-element.product_ul.active,
    .tabs.cart_tab .tab_cart_body .product_ul.active,
    .tabs.cart_tab .product_ul.active {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 0 8px !important;
        box-sizing: border-box !important;
        text-align: left !important;
        flex-direction: unset !important;
        flex-wrap: unset !important;
        list-style: none !important;
        align-items: stretch !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        visibility: visible !important;
        pointer-events: auto !important;
        float: none !important;
    }

    .all_product.alda.sect .product_list.sect > .product_block,
    .product_list.sect > li.product_block,
    .product_list.sect > .product_block,
    .alda.sect .product_list.sect .product_block,
    .product_list.sect.alda_gi_cs_sect > li,
    .gi_ct_search .product_block,
    .gi_ct_scope .product_block,
    .product_ul.pump_bl > .product_block,
    .gcsm_alda .product_block,
    .csp_alda .product_block,
    .gi_ct_home .tabs.cart_tab .product_ul.active > .product_block,
    .tabs.cart_tab .product_ul.active > .product_block,
    .all_product.gi_ct_home .product_ul.active > .product_block {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        height: auto !important;
        min-height: 0 !important;
        box-sizing: border-box !important;
        animation: aldaFadeUp .45s ease both;
    }
    .product_list.sect > .product_block:nth-child(odd),
    .tabs.cart_tab .product_ul.active > .product_block:nth-child(odd) { animation-delay: .04s; }
    .product_list.sect > .product_block:nth-child(even),
    .tabs.cart_tab .product_ul.active > .product_block:nth-child(even) { animation-delay: .1s; }

    .gi_ct_home .tabs.cart_tab .product_ul.active > .product_block.last-block,
    .tabs.cart_tab .product_ul.active > .product_block.last-block {
        grid-column: 1 / -1 !important;
        width: 100% !important;
    }

    .product_list.sect .billet,
    .alda.sect .product_block .billet,
    .gi_ct_home .product_block .billet,
    .tabs.cart_tab .product_ul.active .product_block .billet {
        display: flex !important;
        flex-direction: column !important;
        flex: 1 1 auto !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        padding: 10px 10px 12px !important;
        overflow: visible !important;
    }
    .alda.sect .product_block:hover .billet,
    .gi_ct_home .product_block:hover .billet,
    .tabs.cart_tab .product_ul.active .product_block:hover .billet {
        transform: translateY(-3px) !important;
        box-shadow: 0 10px 22px rgba(0, 0, 0, .1) !important;
    }
    .gi_ct_home .product_block .billet::before,
    .gi_ct_home .product_block .billet::after,
    .tabs.cart_tab .product_ul.active .product_block .billet::before,
    .tabs.cart_tab .product_ul.active .product_block .billet::after,
    .product_list.sect .billet::before,
    .product_list.sect .billet::after {
        display: none !important;
        content: none !important;
    }

    .product_list.sect .billet_botoom,
    .alda.sect .product_block .billet_botoom,
    .gi_ct_home .product_block .billet_botoom,
    .tabs.cart_tab .product_ul.active .product_block .billet_botoom {
        display: flex !important;
        flex-direction: column !important;
        flex: 1 1 auto !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        background: transparent !important;
        background-image: none !important;
        box-sizing: border-box !important;
        align-items: stretch !important;
    }

    .product_list.sect .img-row,
    .alda.sect .product_block .img-row,
    .gi_ct_home .product_block .img-row,
    .tabs.cart_tab .product_ul.active .product_block .img-row {
        position: relative !important;
        width: 100% !important;
        margin: 0 0 8px !important;
        flex: 0 0 auto !important;
        min-height: 0 !important;
    }

    .product_list.sect .painting,
    .alda.sect .product_block .painting,
    .gi_ct_home .product_block .painting,
    .tabs.cart_tab .product_ul.active .product_block .painting {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 132px !important;
        min-height: 132px !important;
        max-height: 132px !important;
        overflow: hidden !important;
        background: transparent !important;
        margin: 0 !important;
    }

    .product_list.sect .painting img,
    .product_list.sect .link_img img,
    .alda.sect .product_block .painting img,
    .gi_ct_home .product_block .painting img,
    .gi_ct_home .product_block .link_img img,
    .tabs.cart_tab .product_ul.active .product_block .painting img,
    .tabs.cart_tab .product_ul.active .product_block .link_img img {
        max-width: 100% !important;
        max-height: 132px !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
        margin: 0 auto !important;
        transition: transform .35s ease !important;
    }
    .product_list.sect .product_block:hover .painting img,
    .gi_ct_home .product_block:hover .painting img,
    .tabs.cart_tab .product_ul.active .product_block:hover .painting img {
        transform: scale(1.06) !important;
    }

    .product_list.sect .link_img,
    .gi_ct_home .product_block .link_img,
    .tabs.cart_tab .product_ul.active .product_block .link_img {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 100% !important;
    }

    /* сравнение слева, избранное справа */
    .product_list.sect .block-icon,
    .alda.sect .product_block .block-icon,
    .gi_ct_home .product_block .block-icon,
    .tabs.cart_tab .product_ul.active .product_block .block-icon {
        position: absolute !important;
        inset: 0 !important;
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
        width: auto !important;
        z-index: 3 !important;
        pointer-events: none !important;
        text-align: left !important;
    }
    .product_list.sect .block-icon .sni_item,
    .gi_ct_home .product_block .block-icon .sni_item,
    .tabs.cart_tab .product_ul.active .product_block .block-icon .sni_item {
        position: absolute !important;
        top: 0 !important;
        pointer-events: auto !important;
        width: 28px !important;
        height: 28px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        opacity: .85 !important;
        transition: opacity .15s ease, transform .15s ease !important;
    }
    .product_list.sect .block-icon .sni_item:first-child,
    .gi_ct_home .product_block .block-icon .sni_item:first-child,
    .tabs.cart_tab .product_ul.active .product_block .block-icon .sni_item:first-child {
        left: 0 !important;
        right: auto !important;
    }
    .product_list.sect .block-icon .sni_item:last-child,
    .gi_ct_home .product_block .block-icon .sni_item:last-child,
    .tabs.cart_tab .product_ul.active .product_block .block-icon .sni_item:last-child {
        right: 0 !important;
        left: auto !important;
    }
    .product_list.sect .block-icon .sni_item:active,
    .gi_ct_home .product_block .block-icon .sni_item:active {
        transform: scale(1.12) !important;
        opacity: 1 !important;
    }

    .product_list.sect .name-row,
    .product_list.sect .name-row .cell,
    .product_list.sect a.billet_top_padd,
    .gi_ct_home .product_block .name-row,
    .tabs.cart_tab .product_ul.active .product_block .name-row,
    .gi_ct_home .product_block a.billet_top_padd,
    .tabs.cart_tab .product_ul.active .product_block a.billet_top_padd,
    .all_product .name-row,
    .all_product a.billet_top_padd,
    .all_product .name-row .cell {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 0 4px !important;
        padding: 0 !important;
        text-align: left !important;
        overflow: visible !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }

    .product_block .name-row .cell h3,
    .product_list.sect .name-row .cell h3,
    .alda.sect .product_block .name-row .cell h3,
    .gi_ct_home .product_block .name-row .cell h3,
    .tabs.cart_tab .product_ul.active .product_block .name-row .cell h3 {
        font-size: 13px !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        display: block !important;
        -webkit-line-clamp: unset !important;
        text-align: left !important;
        white-space: normal !important;
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
        margin: 0 0 4px !important;
        padding: 0 !important;
        color: var(--alda-text) !important;
    }

    /* короткое описание под названием — оставляем; длинные характеристики прячем */
    .product_list.sect .billet_top_padd .props-row,
    .gi_ct_home .product_block .billet_top_padd .props-row,
    .tabs.cart_tab .product_ul.active .product_block .billet_top_padd .props-row {
        height: auto !important;
        max-height: none !important;
        min-height: 0 !important;
        justify-content: flex-start !important;
    }
    .product_list.sect .billet_top_padd .props-row .cell,
    .gi_ct_home .product_block .billet_top_padd .props-row .cell {
        font-size: 12px !important;
        line-height: 1.3 !important;
        color: var(--alda-muted) !important;
        text-align: left !important;
        display: block !important;
        -webkit-line-clamp: unset !important;
        overflow: visible !important;
        white-space: normal !important;
        word-break: break-word !important;
    }
    .product_list.sect .billet_top_padd .props-row .cell .black-color,
    .gi_ct_home .product_block .billet_top_padd .props-row .cell .black-color {
        color: var(--alda-muted) !important;
        font-weight: 400 !important;
    }

    .product_list.sect .props-row.two,
    .product_list.sect .product_block:hover .props-row.two,
    .alda.sect .product_block .props-row.two,
    .gi_ct_home .product_block .props-row.two,
    .tabs.cart_tab .product_ul.active .product_block .props-row.two,
    .gi_ct_home .product_block:hover .props-row.two,
    .tabs.cart_tab .product_ul.active .product_block:hover .props-row.two,
    .product_list.sect .props-row.first,
    .gi_ct_home .product_block .props-row.first,
    .tabs.cart_tab .product_ul.active .product_block .props-row.first {
        display: none !important;
    }

    /* цена + круглая кнопка «+» в одну строку */
    .product_list.sect .price-row,
    .alda.sect .product_block .price-row,
    .gi_ct_home .product_block .price-row,
    .tabs.cart_tab .product_ul.active .product_block .price-row {
        display: flex !important;
        align-items: center !important;
        width: auto !important;
        margin: auto 0 0 !important;
        padding: 8px 0 0 !important;
        text-align: left !important;
        flex: 1 1 auto !important;
    }
    .product_list.sect .price-row .cell,
    .gi_ct_home .product_block .price-row .cell,
    .tabs.cart_tab .product_ul.active .product_block .price-row .cell {
        font-size: 15px !important;
        font-weight: 700 !important;
        color: var(--alda-text) !important;
        line-height: 1.2 !important;
    }
    .product_list.sect .price-row .cell.green,
    .product_list.sect .price-row .red,
    .gi_ct_home .product_block .price-row .cell,
    .tabs.cart_tab .product_ul.active .product_block .price-row .cell {
        color: var(--alda-text) !important;
    }

    .product_list.sect .button-row,
    .product_list.sect .button_block,
    .product_list.sect .button_block form,
    .alda.sect .product_block .button-row,
    .gi_ct_home .product_block .button-row,
    .tabs.cart_tab .product_ul.active .product_block .button-row,
    .gi_ct_home .product_block .button_block,
    .tabs.cart_tab .product_ul.active .product_block .button_block,
    .gi_ct_home .product_block .button_block form,
    .tabs.cart_tab .product_ul.active .product_block .button_block form,
    .product_block .button-row,
    .product_block .button_block,
    .product_block .button_block form {
        position: static !important;
        display: block !important;
        width: auto !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0 !important;
        float: none !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
    }

    /* прижимаем футер карточки: цена и + в ряд */
    .product_list.sect .billet_botoom,
    .alda.sect .product_block .billet_botoom,
    .all_product.alda.sect .billet_botoom,
    .gi_ct_home .product_block .billet_botoom,
    .tabs.cart_tab .product_ul.active .product_block .billet_botoom {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: end !important;
        padding: 0 0 16px !important;
    }
    .product_list.sect .img-row,
    .product_list.sect .name-row,
    .product_list.sect .props-row,
    .alda.sect .product_block .img-row,
    .alda.sect .product_block .name-row,
    .alda.sect .product_block .props-row,
    .gi_ct_home .product_block .img-row,
    .gi_ct_home .product_block .name-row,
    .gi_ct_home .product_block .props-row,
    .tabs.cart_tab .product_ul.active .product_block .img-row,
    .tabs.cart_tab .product_ul.active .product_block .name-row,
    .tabs.cart_tab .product_ul.active .product_block .props-row {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .product_list.sect .price-row,
    .alda.sect .product_block .price-row,
    .all_product.alda.sect .price-row,
    .gi_ct_home .product_block .price-row,
    .tabs.cart_tab .product_ul.active .product_block .price-row {
        grid-column: 1 !important;
        width: auto !important;
        max-width: 100% !important;
        margin: 8px 0 0 !important;
        padding: 0 !important;
        flex: none !important;
        min-width: 0 !important;
    }
    .product_list.sect .button-row,
    .alda.sect .product_block .button-row,
    .all_product.alda.sect .button-row,
    .gi_ct_home .product_block .button-row,
    .tabs.cart_tab .product_ul.active .product_block .button-row {
        grid-column: 2 !important;
        grid-row: auto !important;
        width: auto !important;
        max-width: 36px !important;
        margin: 8px 0 0 6px !important;
        align-self: end !important;
        justify-self: end !important;
    }
    .product_list.sect .button-row .left_aa,
    .product_list.sect .button-row .clear,
    .alda.sect .product_block .button-row .left_aa,
    .alda.sect .product_block .button-row .clear {
        display: none !important;
    }

    .product_list.sect .basket_button,
    .product_list.sect .price_ask_small,
    .alda.sect .product_block .basket_button,
    .gi_ct_home .product_block .basket_button,
    .tabs.cart_tab .product_ul.active .product_block .basket_button,
    .gi_ct_home .product_block .price_ask_small,
    .tabs.cart_tab .product_ul.active .product_block .price_ask_small {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
        width: 36px !important;
        min-width: 36px !important;
        max-width: 36px !important;
        height: 36px !important;
        min-height: 36px !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        font-size: 0 !important;
        line-height: 0 !important;
        font-weight: 700 !important;
        text-align: center !important;
        box-sizing: border-box !important;
        border: none !important;
        border-radius: 0 !important;
        background: var(--alda-accent) !important;
        color: #fff !important;
        box-shadow: 0 3px 8px rgba(77, 2, 12, .28) !important;
        overflow: visible !important;
        transition: transform .18s ease, box-shadow .18s ease, background .18s ease !important;
    }
    /* плюс через ::before — ::after занят спиннером корзины */
    .product_list.sect .basket_button::before,
    .product_list.sect .price_ask_small::before,
    .gi_ct_home .product_block .basket_button::before,
    .tabs.cart_tab .product_ul.active .product_block .basket_button::before,
    .gi_ct_home .product_block .price_ask_small::before {
        content: '+' !important;
        font-size: 22px !important;
        line-height: 1 !important;
        font-weight: 400 !important;
        color: #fff !important;
        display: block !important;
        background: none !important;
        border: none !important;
        width: auto !important;
        height: auto !important;
        position: static !important;
        left: auto !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
        animation: none !important;
        -webkit-animation: none !important;
        opacity: 1 !important;
    }
    .product_list.sect .basket_button::after,
    .product_list.sect .price_ask_small::after,
    .gi_ct_home .product_block .basket_button::after,
    .tabs.cart_tab .product_ul.active .product_block .basket_button::after,
    .gi_ct_home .product_block .price_ask_small::after,
    .product_list.sect .basket_button.active::after,
    .gi_ct_home .product_block .basket_button.active::after,
    .tabs.cart_tab .product_ul.active .product_block .basket_button.active::after {
        display: none !important;
        content: none !important;
        animation: none !important;
        -webkit-animation: none !important;
        border: none !important;
        width: 0 !important;
        height: 0 !important;
        opacity: 0 !important;
    }
    .product_list.sect .basket_button.load::before,
    .gi_ct_home .product_block .basket_button.load::before,
    .tabs.cart_tab .product_ul.active .product_block .basket_button.load::before {
        visibility: hidden !important;
    }
    .product_list.sect .basket_button.load::after,
    .gi_ct_home .product_block .basket_button.load::after,
    .tabs.cart_tab .product_ul.active .product_block .basket_button.load::after {
        display: block !important;
        content: '' !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        width: 16px !important;
        height: 16px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 2px solid #fff !important;
        border-bottom-color: transparent !important;
        border-left-color: transparent !important;
        border-radius: 50% !important;
        background: none !important;
        opacity: 1 !important;
        animation: preloader-rotate .3s linear infinite !important;
        -webkit-animation: preloader-rotate .3s linear infinite !important;
        transform: translate(-50%, -50%) !important;
        -webkit-transform-origin: center center !important;
        transform-origin: center center !important;
    }
    .product_list.sect .basket_button:active,
    .gi_ct_home .product_block .basket_button:active,
    .tabs.cart_tab .product_ul.active .product_block .basket_button:active {
        transform: scale(.9) !important;
        background: #2a0107 !important;
    }
    .product_list.sect .basket_button:hover,
    .gi_ct_home .product_block .basket_button:hover,
    .tabs.cart_tab .product_ul.active .product_block .basket_button:hover {
        color: #fff !important;
        background: var(--alda-accent) !important;
    }

    .product_list.sect .snp_tooltip,
    .product_list.sect .magnifier,
    .gi_ct_home .product_block .snp_tooltip,
    .tabs.cart_tab .product_ul.active .product_block .snp_tooltip,
    .gi_ct_home .product_block .magnifier,
    .tabs.cart_tab .product_ul.active .product_block .magnifier {
        display: none !important;
    }
    .product_list.sect .clear,
    .gi_ct_home .product_block .clear,
    .tabs.cart_tab .product_ul.active .product_block .clear {
        display: none !important;
    }

    /* вид списком */
    .product_list.sect.is-list-view,
    .tabs.cart_tab .product_ul.active.is-list-view {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
    .product_list.sect.is-list-view .billet_botoom,
    .tabs.cart_tab .product_ul.active.is-list-view .billet_botoom {
        grid-template-columns: 96px 1fr auto !important;
        grid-template-rows: auto auto !important;
        column-gap: 10px !important;
        align-items: center !important;
    }
    .product_list.sect.is-list-view .img-row,
    .tabs.cart_tab .product_ul.active.is-list-view .img-row {
        grid-column: 1 !important;
        grid-row: 1 / span 2 !important;
        margin: 0 !important;
    }
    .product_list.sect.is-list-view .painting,
    .tabs.cart_tab .product_ul.active.is-list-view .painting {
        height: 88px !important;
        min-height: 88px !important;
        max-height: 88px !important;
    }
    .product_list.sect.is-list-view .painting img,
    .tabs.cart_tab .product_ul.active.is-list-view .painting img {
        max-height: 88px !important;
    }
    .product_list.sect.is-list-view .name-row,
    .tabs.cart_tab .product_ul.active.is-list-view .name-row {
        grid-column: 2 / span 2 !important;
        margin: 0 !important;
    }
    .product_list.sect.is-list-view .price-row,
    .tabs.cart_tab .product_ul.active.is-list-view .price-row {
        grid-column: 2 !important;
        margin: 4px 0 0 !important;
    }
    .product_list.sect.is-list-view .button-row,
    .tabs.cart_tab .product_ul.active.is-list-view .button-row {
        grid-column: 3 !important;
        margin: 4px 0 0 !important;
    }

    /* =========================================================
       Сортировка — компактная панель
       ========================================================= */
    .sorting.block {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 14px !important;
        padding: 12px !important;
        box-sizing: border-box !important;
        background: var(--alda-card) !important;
        border-radius: var(--alda-radius) !important;
        box-shadow: 0 2px 12px rgba(0, 0, 0, .06) !important;
        animation: aldaFadeUp .4s .08s ease both;
    }
    .sorting.block .show_left,
    .sorting.block .show_right {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        text-align: left !important;
        vertical-align: top !important;
    }
    .sorting.block .show_right ul,
    .sorting.block .show_left ul,
    .sorting.block .sort-form ul {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 6px 10px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }
    .sorting.block .head_block,
    .sorting.block .input_block,
    .sorting.block .show_right ul li,
    .sorting.block .show_left ul li {
        display: inline-flex !important;
        align-items: center !important;
        float: none !important;
        width: auto !important;
        max-width: 100% !important;
        margin: 0 !important;
        text-align: left !important;
        font-size: 13px !important;
        line-height: 1.3 !important;
    }
    .sorting.block .head_block span { font-size: 13px !important; }
    .sorting.block .sort-cell { margin: 0 4px !important; }

    /* =========================================================
       Умный фильтр — выезжающая панель
       ========================================================= */
    .bx_filter.bx_horizontal,
    .bx_filter.bx_blue,
    .bx_filter.zbs {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 14px !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        border-radius: var(--alda-radius) !important;
    }
    .bx_filter .bx_filter_section {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        background: var(--alda-card) !important;
        border-radius: var(--alda-radius) !important;
        box-shadow: 0 2px 12px rgba(0, 0, 0, .06) !important;
    }
    .bx_filter .bx_filter_title {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 14px 16px !important;
        box-sizing: border-box !important;
        background: var(--alda-accent) !important;
        color: #fff !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: .04em !important;
        cursor: pointer !important;
        user-select: none !important;
        -webkit-user-select: none !important;
        border-radius: var(--alda-radius) var(--alda-radius) 0 0 !important;
    }
    .bx_filter .bx_filter_title::after {
        content: '' !important;
        width: 8px !important;
        height: 8px !important;
        border-right: 2px solid #fff !important;
        border-bottom: 2px solid #fff !important;
        transform: rotate(45deg) !important;
        transition: transform .2s ease !important;
        margin-top: -4px !important;
    }
    .bx_filter.is-open .bx_filter_title::after {
        transform: rotate(-135deg) !important;
        margin-top: 2px !important;
    }
    .bx_filter:not(.is-open) {
        display: none !important;
    }
    .bx_filter.is-open {
        display: block !important;
        animation: aldaSlideDown .28s ease;
    }
    .bx_filter.is-open .smartfilter {
        display: block !important;
        width: 100% !important;
        padding: 10px !important;
        box-sizing: border-box !important;
    }
    .bx_filter.bx_horizontal .bx_filter_parameters_box,
    .bx_filter .bx_filter_parameters_box {
        display: block !important;
        float: none !important;
        clear: both !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 8px !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    .bx_filter.bx_horizontal .bx_filter_parameters_box:nth-child(4n+2),
    .bx_filter.bx_horizontal .bx_filter_parameters_box:nth-child(3n+2),
    .bx_filter.bx_horizontal .bx_filter_parameters_box:nth-child(2n+2) {
        clear: both !important;
    }
    .bx_filter .bx_filter_parameters_box_title {
        width: 100% !important;
        height: auto !important;
        min-height: 36px !important;
        line-height: 1.3 !important;
        padding: 8px 36px 8px 10px !important;
        font-size: 14px !important;
        box-sizing: border-box !important;
    }
    .bx_filter .bx_filter_block {
        width: 100% !important;
        max-width: 100% !important;
        padding: 8px 10px !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }
    .bx_filter .bx_filter_parameters_box_container {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .bx_filter .bx_filter_param_label {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 8px !important;
        box-sizing: border-box !important;
    }
    .bx_filter .bx_filter_param_text,
    .bx_filter .bx_filter_param_text span {
        white-space: normal !important;
        word-break: break-word !important;
        font-size: 13px !important;
        line-height: 1.35 !important;
    }
    .bx_filter .bx_filter_select_container,
    .bx_filter .bx_filter_select_block,
    .bx_filter .bx_filter_input_container,
    .bx_filter input[type="text"] {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .bx_filter .bx_filter_parameters_box_container.button-cell,
    .bx_filter .bx_filter_button_box .bx_filter_parameters_box_container {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        width: 100% !important;
        padding: 8px 0 !important;
        box-sizing: border-box !important;
    }
    .bx_filter .bx_filter_search_button,
    .bx_filter .bx_filter_search_reset,
    .bx_filter input.bx_filter_search_button,
    .bx_filter input.bx_filter_search_reset {
        display: block !important;
        flex: 1 1 calc(50% - 4px) !important;
        width: auto !important;
        min-width: 120px !important;
        margin: 0 !important;
        padding: 12px 12px !important;
        font-size: 14px !important;
        box-sizing: border-box !important;
        border-radius: 0 !important;
        transition: transform .15s ease, background .15s ease !important;
    }
    .bx_filter .bx_filter_search_button:active,
    .bx_filter .bx_filter_search_reset:active {
        transform: scale(.97) !important;
    }
    .bx_filter .bx_filter_popup_result {
        position: static !important;
        display: block !important;
        width: 100% !important;
        margin: 0 0 8px !important;
        left: auto !important;
        top: auto !important;
    }

    /* =========================================================
       Сайдбар / SEO / прочее
       ========================================================= */
    #article_one #block_offset.left.margin,
    #article_one .left.margin#block_offset,
    #block_offset.left.margin {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        margin: 20px 0 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    #block_offset .recommendations_expert,
    #block_offset .recommendations_expert.bann,
    #block_offset .wave-cell,
    #block_offset .red_border,
    #block_offset .left_block {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        margin: 0 0 14px !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        border-radius: var(--alda-radius) !important;
        overflow: hidden !important;
        animation: aldaFadeUp .45s ease both;
    }
    #block_offset .recommendations_expert img,
    #block_offset .wave-cell img,
    #block_offset a img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 auto !important;
    }
    #block_offset .red_border {
        padding: 16px 14px !important;
        box-sizing: border-box !important;
        background: var(--alda-card) !important;
        box-shadow: 0 2px 12px rgba(0, 0, 0, .06) !important;
    }
    #block_offset h3 {
        font-size: 16px !important;
        line-height: 1.3 !important;
        word-break: break-word !important;
    }

    .descript_txt,
    .descript_txt.homechild,
    .desc-infoblock,
    .desc-infoblock .block,
    .desc-infoblock .cell-two,
    #item .desc {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        display: block !important;
        padding: 8px 4px 16px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        font-size: 14px !important;
        line-height: 1.5 !important;
        word-break: break-word !important;
        color: var(--alda-muted) !important;
    }
    .descript_txt img,
    .descript_txt.homechild img {
        max-width: 100% !important;
        height: auto !important;
        border-radius: 0 !important;
    }

    .pumpsect .dept_sect {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 8px !important;
    }
    .util-clearfix.son-list,
    .util-clearfix.scope-list {
        display: block !important;
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 0 10px !important;
        box-sizing: border-box !important;
    }

    /* вкладки главной */
    .home .tab-header,
    .tabs.cart_tab .tab-header {
        border-radius: 0 !important;
        overflow: hidden !important;
        border: 1px solid var(--alda-line) !important;
        background: var(--alda-card) !important;
    }
    .home .tab-header li h3,
    .tabs.cart_tab .tab-header .tab-item h3 {
        transition: color .2s ease, background .2s ease !important;
    }
    .home .tab-header li.active,
    .tabs.cart_tab .tab-header .tab-item.active {
        background: var(--alda-accent-soft) !important;
    }
    .home .tab-header li.active h3,
    .tabs.cart_tab .tab-header .tab-item.active h3 {
        color: var(--alda-accent) !important;
    }

    /* футер компактнее */
    #footer,
    #footerBottom {
        animation: aldaFadeUp .5s ease both;
    }
    #footer .footer.top,
    #menu_bottom {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px 16px !important;
        padding: 16px 4px !important;
    }
    #menu_bottom li {
        float: none !important;
        width: auto !important;
        margin: 0 !important;
    }
    #menu_bottom li a {
        font-size: 14px !important;
        color: var(--alda-text) !important;
    }
    #footerBottom {
        padding: 8px 0 24px !important;
    }
    #footerBottom .one_cell,
    #footerBottom .two_cell,
    #footerBottom .three_cell {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        min-width: 0 !important;
        margin: 0 0 12px !important;
        padding: 0 4px !important;
        box-sizing: border-box !important;
        font-size: 13px !important;
        line-height: 1.45 !important;
        color: var(--alda-muted) !important;
    }
}

/* узкие телефоны */
@media (max-width: 480px) {
    body.has-mobile-header #article_one {
        padding-top: var(--alda-header-h) !important;
    }
    #item h1.manufacture,
    .all_article h1.manufacture {
        font-size: 20px !important;
    }
    #sections_level_one .painting { min-height: 130px !important; }
    #sections_level_two .painting,
    .product_list.homechild .painting {
        height: 100px !important;
        min-height: 100px !important;
        max-height: 100px !important;
    }
    .product_list.sect .painting,
    .alda.sect .product_block .painting,
    .gi_ct_home .product_block .painting,
    .tabs.cart_tab .product_ul.active .product_block .painting {
        height: 112px !important;
        min-height: 112px !important;
        max-height: 112px !important;
    }
    .product_list.sect .painting img,
    .product_list.sect .link_img img,
    .gi_ct_home .product_block .painting img,
    .tabs.cart_tab .product_ul.active .product_block .painting img {
        max-height: 112px !important;
    }
    #sections_level_one .prod_count .font26 { font-size: 32px !important; }
    #logo_block > .logo-cell,
    #logo_block > .span4.logo-cell,
    #logo_block #logo {
        width: 118px !important;
        max-width: 118px !important;
    }
}

/* планшет: те же 2 колонки, чуть просторнее */
@media (min-width: 769px) and (max-width: 1024px) {
    #sections_level_one.product_list {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 12px !important;
    }
    #sections_level_one > .product_block {
        width: calc(50% - 6px) !important;
        max-width: calc(50% - 6px) !important;
        height: auto !important;
        margin: 0 !important;
    }
    #sections_level_two.product_list,
    .product_list.homechild,
    .product_list.sect {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        gap: 12px !important;
    }
    #sections_level_two > .product_block,
    .product_list.homechild > .product_block,
    .product_list.sect > li.product_block,
    .product_list.sect > .product_block {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 !important;
    }
}

@media (min-width: 769px) {
    .mobile-menu-toggle,
    .mobile-search-toggle,
    .mobile-search-overlay,
    .mobile-search-backdrop,
    .mobile-catalog-toolbar { display: none !important; }
}

/* =========================================================
   Каталог товаров — финальные переопределения (после всех стилей темы)
   ========================================================= */
@media (max-width: 768px) {
    .all_product.alda.sect .product_list.sect,
    .product_list.sect.alda_gi_cs_sect,
    ul.product_list.sect {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        gap: 10px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .all_product.alda.sect .product_list.sect > .product_block,
    .product_list.sect.alda_gi_cs_sect > li,
    .product_list.sect > li.product_block,
    .alda.sect .product_list.sect .product_block {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        float: none !important;
    }

    .all_product.alda.sect .billet,
    .product_list.sect .billet,
    .alda.sect .product_block .billet,
    .gi_ct_home .product_block .billet,
    .tabs.cart_tab .product_ul.active .product_block .billet {
        border-radius: 0 !important;
        overflow: visible !important;
        height: auto !important;
        min-height: 0 !important;
        transform: none !important;
    }

    .all_product.alda.sect .name-row,
    .all_product.alda.sect .name-row .cell,
    .all_product.alda.sect a.billet_top_padd,
    .product_list.sect .name-row,
    .product_list.sect .name-row .cell,
    .product_list.sect a.billet_top_padd,
    .gi_ct_home .product_block .name-row,
    .gi_ct_home .product_block a.billet_top_padd,
    .tabs.cart_tab .product_ul.active .product_block .name-row,
    .tabs.cart_tab .product_ul.active .product_block a.billet_top_padd {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .all_product.alda.sect .billet_botoom,
    .alda.sect .product_block .billet_botoom,
    .product_list.sect .billet_botoom {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: end !important;
        padding: 0 0 16px !important;
    }
    .all_product.alda.sect .img-row,
    .all_product.alda.sect .name-row,
    .all_product.alda.sect .props-row,
    .alda.sect .product_block .img-row,
    .alda.sect .product_block .name-row,
    .alda.sect .product_block .props-row,
    .product_list.sect .img-row,
    .product_list.sect .name-row,
    .product_list.sect .props-row {
        grid-column: 1 / -1 !important;
    }
    .all_product.alda.sect .price-row,
    .alda.sect .product_block .price-row,
    .product_list.sect .price-row {
        grid-column: 1 !important;
        width: auto !important;
        margin: 8px 0 0 !important;
        min-width: 0 !important;
    }
    .all_product.alda.sect .button-row,
    .alda.sect .product_block .button-row,
    .product_list.sect .button-row {
        grid-column: 2 !important;
        width: auto !important;
        max-width: 36px !important;
        margin: 8px 0 0 6px !important;
        align-self: end !important;
        justify-self: end !important;
    }

    .all_product.alda.sect .name-row .cell h3,
    .product_list.sect .name-row .cell h3,
    .product_block .name-row .cell h3,
    .gi_ct_home .product_block .name-row .cell h3,
    .tabs.cart_tab .product_ul.active .product_block .name-row .cell h3 {
        display: block !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        white-space: normal !important;
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
        -webkit-line-clamp: unset !important;
        line-height: 1.3 !important;
        font-size: 13px !important;
        text-align: left !important;
    }

    .all_product.alda.sect .basket_button,
    .all_product.alda.sect .price_ask_small,
    .product_list.sect .basket_button,
    .product_list.sect .price_ask_small,
    .alda.sect .product_block .basket_button,
    .gi_ct_home .product_block .basket_button,
    .tabs.cart_tab .product_ul.active .product_block .basket_button {
        width: 36px !important;
        min-width: 36px !important;
        max-width: 36px !important;
        height: 36px !important;
        min-height: 36px !important;
        padding: 0 !important;
        margin: 0 !important;
        font-size: 0 !important;
        line-height: 0 !important;
        color: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        background-color: #4d020c !important;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M11 5h2v14h-2z'/%3E%3Cpath fill='%23fff' d='M5 11h14v2H5z'/%3E%3C/svg%3E") !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        background-size: 18px 18px !important;
        overflow: visible !important;
        box-shadow: none !important;
    }
    .all_product.alda.sect .basket_button::before,
    .all_product.alda.sect .basket_button::after,
    .product_list.sect .basket_button::before,
    .product_list.sect .basket_button::after,
    .product_list.sect .price_ask_small::before,
    .product_list.sect .price_ask_small::after,
    .gi_ct_home .product_block .basket_button::before,
    .gi_ct_home .product_block .basket_button::after,
    .tabs.cart_tab .product_ul.active .product_block .basket_button::before,
    .tabs.cart_tab .product_ul.active .product_block .basket_button::after,
    .all_product.alda.sect .basket_button.active::after,
    .product_list.sect .basket_button.active::after {
        display: none !important;
        content: none !important;
        animation: none !important;
        -webkit-animation: none !important;
        border: 0 !important;
        width: 0 !important;
        height: 0 !important;
        background: none !important;
        opacity: 0 !important;
        transform: none !important;
    }
    .all_product.alda.sect .basket_button.load,
    .product_list.sect .basket_button.load,
    .gi_ct_home .product_block .basket_button.load,
    .tabs.cart_tab .product_ul.active .product_block .basket_button.load {
        background-image: none !important;
    }
    .all_product.alda.sect .basket_button.load::after,
    .product_list.sect .basket_button.load::after,
    .gi_ct_home .product_block .basket_button.load::after,
    .tabs.cart_tab .product_ul.active .product_block .basket_button.load::after {
        display: block !important;
        content: '' !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        width: 16px !important;
        height: 16px !important;
        border: 2px solid #fff !important;
        border-bottom-color: transparent !important;
        border-left-color: transparent !important;
        border-radius: 50% !important;
        background: none !important;
        opacity: 1 !important;
        animation: preloader-rotate .3s linear infinite !important;
        transform: translate(-50%, -50%) !important;
    }

    .mobile-fab,
    .mobile-menu-toggle,
    .mobile-search-toggle,
    .mobile-search-overlay input[type="text"],
    .mobile-search-overlay button,
    .sorting.block,
    .bx_filter,
    .bx_filter .bx_filter_section,
    .bx_filter .bx_filter_title,
    .bx_filter .bx_filter_search_button,
    .bx_filter .bx_filter_search_reset,
    #header_top .ico-bask {
        border-radius: 0 !important;
    }
}

