*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

        body {
            font-family: 'Inter', sans-serif;
            background: #f4f6f4;
            color: #1a1a1a;
            overflow-x: hidden;
            line-height: 1.6;
        }

        a { text-decoration: none; color: inherit; }

        .container {
            max-width: 1440px;
            margin: 0 auto;
            padding: 0 32px;
        }

        /* ===== TOP BAR ===== */
        .top-bar { background: #1a1a1a; padding: 10px 0; }
        .top-bar-inner { display: flex; align-items: center; justify-content: space-between; }
        .top-bar-left { display: flex; align-items: center; gap: 28px; }
        .top-bar-link { color: #8a8a8a; font-size: 13px; font-weight: 500; transition: color 0.2s; }
        .top-bar-link:hover { color: #fff; }
        .top-bar-right { display: flex; align-items: center; gap: 32px; }
        .top-bar-phone { color: #fff; font-size: 15px; font-weight: 700; transition: opacity 0.2s; }
        .top-bar-phone:hover { opacity: 0.8; }
        .top-bar-email { color: #6fcf6f; font-size: 13px; font-weight: 500; transition: color 0.2s; }
        .top-bar-email:hover { color: #fff; }
        .top-bar-sep { width: 1px; height: 16px; background: #333; }

        /* ===== MAIN HEADER ===== */
        .main-header {
            background: #fff;
            border-bottom: 1px solid #e5e5e5;
            position: sticky;
            top: 0;
            z-index: 1000;
            transition: box-shadow 0.3s;
        }
        .main-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
        .main-header-inner { display: flex; align-items: center; height: 76px; gap: 24px; }
        .logo-link { display: flex; align-items: center; flex-shrink: 0; transition: transform 0.2s; }
        .logo-link:hover { transform: scale(1.03); }
        .logo-link img { height: 50px; width: auto; }

        .catalog-btn {
            display: flex; align-items: center; gap: 12px;
            padding: 12px 24px;
            background: linear-gradient(135deg, #2d8c3c, #3ba54e);
            color: #fff; border: none; border-radius: 14px;
            font-size: 15px; font-weight: 700; font-family: 'Inter', sans-serif;
            cursor: pointer; transition: all 0.3s ease; flex-shrink: 0;
            box-shadow: 0 2px 12px rgba(45,140,60,0.3);
        }
        .catalog-btn:hover {
            background: linear-gradient(135deg, #1f6b2c, #2d8c3c);
            box-shadow: 0 4px 20px rgba(45,140,60,0.4);
            transform: translateY(-1px);
        }
        .burger-lines { display: flex; flex-direction: column; gap: 4px; width: 18px; }
        .burger-lines span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s ease; }
        .burger-lines span:nth-child(1) { width: 100%; }
        .burger-lines span:nth-child(2) { width: 70%; }
        .burger-lines span:nth-child(3) { width: 100%; }
        .catalog-btn.active .burger-lines span:nth-child(1) { transform: rotate(45deg) translate(3px, 3px); }
        .catalog-btn.active .burger-lines span:nth-child(2) { opacity: 0; }
        .catalog-btn.active .burger-lines span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

        .search-wrapper { flex: 1; position: relative; }
        .search-input {
            width: 100%; height: 50px; padding: 0 130px 0 20px;
            border: 2px solid #e0e0e0; border-radius: 14px;
            font-size: 14px; font-family: 'Inter', sans-serif;
            color: #1a1a1a; background: #fafafa; transition: all 0.3s; outline: none;
        }
        .search-input::placeholder { color: #aaa; }
        .search-input:focus { border-color: #3ba54e; background: #fff; box-shadow: 0 0 0 4px rgba(59,165,78,0.12); }
        .search-right { position: absolute; right: 6px; top: 6px; bottom: 6px; display: flex; align-items: center; gap: 6px; }
        .search-btn {
            width: 38px; height: 38px; background: #3ba54e; border: none;
            border-radius: 10px; cursor: pointer; display: flex;
            align-items: center; justify-content: center; transition: background 0.2s;
        }
        .search-btn:hover { background: #2d8c3c; }
        .search-btn svg { width: 18px; height: 18px; color: #fff; }
        .search-category-btn {
            padding: 8px 14px; background: #f0f0f0; border: none; border-radius: 10px;
            font-size: 12px; font-weight: 600; font-family: 'Inter', sans-serif;
            color: #555; cursor: pointer; transition: background 0.2s; white-space: nowrap;
        }
        .search-category-btn:hover { background: #e0e0e0; }

        .header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
        .action-link {
            display: flex; flex-direction: column; align-items: center; gap: 3px;
            padding: 8px 14px; color: #555; border-radius: 12px; transition: all 0.2s; position: relative;
        }
        .action-link:hover { background: #f0f7f1; color: #2d8c3c; }
        .action-link svg { width: 22px; height: 22px; }
        .action-link .label { font-size: 11px; font-weight: 600; }
        .action-link .badge {
            position: absolute; top: 2px; right: 6px;
            background: #e53935; color: #fff; font-size: 10px; font-weight: 700;
            min-width: 18px; height: 18px; border-radius: 9px;
            display: flex; align-items: center; justify-content: center; padding: 0 4px;
            border: 2px solid #fff;
        }
        .request-btn {
            display: flex; align-items: center; gap: 8px;
            padding: 12px 22px;
            background: linear-gradient(135deg, #ff9500, #ff6f00);
            color: #fff; border: none; border-radius: 14px;
            font-size: 14px; font-weight: 700; font-family: 'Inter', sans-serif;
            cursor: pointer; transition: all 0.3s;
            box-shadow: 0 2px 12px rgba(255,149,0,0.3); white-space: nowrap;
        }
        .request-btn:hover {
            background: linear-gradient(135deg, #ff6f00, #e65100);
            box-shadow: 0 4px 20px rgba(255,149,0,0.4); transform: translateY(-1px);
        }
        .request-btn svg { width: 18px; height: 18px; }

        .mobile-menu-btn { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; border: none; background: none; cursor: pointer; padding: 0; }
        .mobile-menu-btn svg { width: 24px; height: 24px; color: #333; }

        /* ===== MOBILE NAV ===== */
        .mobile-nav-overlay { position: fixed; top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,0.5);z-index:2000;opacity:0;visibility:hidden;transition:all 0.3s; }
        .mobile-nav-overlay.active { opacity:1;visibility:visible; }
        .mobile-nav {
            position:fixed;top:0;right:-320px;width:300px;max-width:85vw;height:100vh;
            background:#fff;z-index:2001;transition:right 0.3s cubic-bezier(0.4,0,0.2,1);
            overflow-y:auto;padding:24px;
        }
        .mobile-nav.active { right:0; }
        .mobile-nav-header { display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;padding-bottom:16px;border-bottom:1px solid #eee; }
        .mobile-nav-close { width:36px;height:36px;border:none;background:#f5f5f5;border-radius:10px;cursor:pointer;display:flex;align-items:center;justify-content:center; }
        .mobile-nav-close svg { width:18px;height:18px;color:#666; }
        .mobile-nav-links { display:flex;flex-direction:column;gap:4px;margin-bottom:24px; }
        .mobile-nav-link { padding:12px 16px;border-radius:10px;font-size:15px;font-weight:500;color:#333;transition:background 0.2s; }
        .mobile-nav-link:hover { background:#f0f7f1;color:#2d8c3c; }
        .mobile-nav-divider { height:1px;background:#eee;margin:16px 0; }
        .mobile-nav-contacts { display:flex;flex-direction:column;gap:12px; }
        .mobile-nav-contact { display:flex;align-items:center;gap:10px;font-size:14px;font-weight:500;color:#333; }
        .mobile-nav-contact svg { width:18px;height:18px;color:#3ba54e;flex-shrink:0; }

        /* ===== BREADCRUMBS ===== */
        .breadcrumbs {
            padding: 16px 0 12px;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            color: #888;
            flex-wrap: wrap;
        }
        .breadcrumbs a { color: #666; transition: color 0.2s; }
        .breadcrumbs a:hover { color: #3ba54e; }
        .breadcrumbs .sep { color: #ccc; }
        .breadcrumbs .current { color: #1a1a1a; font-weight: 500; }

        /* ===== PAGE HEADER ===== */
        .page-header { margin-bottom: 28px; }
        .page-header-top { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 12px; flex-wrap: wrap; gap: 8px; }
        .page-title { font-size: 32px; font-weight: 800; color: #1a1a1a; }
        .results-count { font-size: 14px; color: #888; }
        .page-header-desc { font-size: 15px; color: #666; line-height: 1.6; max-width: 800px; }

        /* ===== SUBCATEGORIES ===== */
        .subcategories-bar {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            margin-bottom: 20px;
            padding: 16px 20px;
            background: #fff;
            border-radius: 14px;
            border: 1px solid #e8e8e8;
        }

        .subcat-title {
            font-size: 13px;
            font-weight: 700;
            color: #555;
            display: flex;
            align-items: center;
            gap: 6px;
            white-space: nowrap;
            padding-right: 8px;
            border-right: 1px solid #e0e0e0;
            margin-right: 4px;
        }

        .subcat-title svg { width: 16px; height: 16px; color: #3ba54e; }

        .subcat-link {
            padding: 6px 14px;
            border-radius: 8px;
            font-size: 13px;
            font-weight: 500;
            color: #555;
            transition: all 0.2s;
            white-space: nowrap;
        }

        .subcat-link:hover { background: #e8f5e9; color: #2d8c3c; }
        .subcat-link.active { background: #3ba54e; color: #fff; }

        /* ===== CATEGORY DESCRIPTION BLOCK ===== */
        .catalog-cat-desc-wrap { margin-bottom: 0; }

        .catalog-cat-desc {
            margin: 0 0 20px;
            padding: 18px 22px;
            background: #fff;
            border-radius: 14px;
            border-left: 4px solid #3ba54e;
            font-size: 15px;
            line-height: 1.75;
            color: #444;
            transition: opacity 0.25s;
        }

        .catalog-cat-desc p { margin-bottom: 12px; }
        .catalog-cat-desc p:last-child { margin-bottom: 0; }

        .catalog-cat-desc h2,
        .catalog-cat-desc h3,
        .catalog-cat-desc h4 {
            font-size: 17px;
            font-weight: 700;
            color: #1a1a1a;
            margin: 16px 0 8px;
        }
        .catalog-cat-desc h2:first-child,
        .catalog-cat-desc h3:first-child,
        .catalog-cat-desc h4:first-child { margin-top: 0; }

        .catalog-cat-desc ul,
        .catalog-cat-desc ol { padding-left: 22px; margin-bottom: 12px; }

        .catalog-cat-desc li {
            font-size: 15px;
            color: #444;
            line-height: 1.75;
            margin-bottom: 6px;
        }

        .catalog-cat-desc a { color: #3ba54e; font-weight: 600; }
        .catalog-cat-desc a:hover { text-decoration: underline; }

        .catalog-cat-desc strong { color: #1a1a1a; }

        /* ===== SORTING BAR ===== */
        .sorting-bar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 14px 20px;
            background: #fff;
            border-radius: 14px;
            border: 1px solid #e8e8e8;
            margin-bottom: 20px;
            flex-wrap: wrap;
            gap: 12px;
        }

        .sort-left { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
        .sort-label { font-size: 13px; font-weight: 600; color: #555; }
        .sort-options { display: flex; gap: 6px; flex-wrap: wrap; }

        .sort-btn {
            padding: 8px 16px;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            background: #fff;
            font-size: 13px;
            font-weight: 500;
            font-family: 'Inter', sans-serif;
            color: #666;
            cursor: pointer;
            transition: all 0.2s;
        }

        .sort-btn:hover { border-color: #3ba54e; color: #3ba54e; }
        .sort-btn.active { background: #3ba54e; border-color: #3ba54e; color: #fff; }

        /* ===== FILTER SIDEBAR ===== */
        .catalog-layout { display: flex; gap: 24px; }
        .filter-sidebar { width: 280px; flex-shrink: 0; }

        .filter-card {
            background: #fff;
            border-radius: 16px;
            border: 1px solid #e8e8e8;
            margin-bottom: 16px;
            overflow: hidden;
        }

        .filter-card-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 18px 20px 14px;
            cursor: pointer;
            user-select: none;
        }

        .filter-card-title { font-size: 15px; font-weight: 700; color: #1a1a1a; }

        .filter-toggle-icon { transition: transform 0.2s; color: #ccc; }
        .filter-card-header.open .filter-toggle-icon { transform: rotate(180deg); }

        .filter-card-body { padding: 0 20px 18px; display: none; }
        .filter-card-body.open { display: block; }

        .filter-checkbox {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 0;
            cursor: pointer;
            font-size: 14px;
            color: #444;
            transition: color 0.2s;
        }

        .filter-checkbox:hover { color: #3ba54e; }
        .filter-checkbox input[type="checkbox"] { display: none; }

        .filter-checkmark {
            width: 20px; height: 20px;
            border: 2px solid #ddd; border-radius: 6px;
            display: flex; align-items: center; justify-content: center;
            transition: all 0.2s; flex-shrink: 0;
        }

        .filter-checkbox input:checked + .filter-checkmark {
            background: #3ba54e; border-color: #3ba54e;
        }

        .filter-checkbox input:checked + .filter-checkmark::after {
            content: '';
            width: 10px; height: 10px;
            background: #fff;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/contain no-repeat;
            -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/contain no-repeat;
        }

        .filter-count { margin-left: auto; margin-right: 15px; font-size: 12px; color: #bbb; font-weight: 500; }

        .price-range-inputs {
            display: flex; align-items: center;
            border: 1.5px solid #e0e0e0; border-radius: 10px;
            overflow: hidden; background: #fff;
            transition: border-color 0.2s;
        }
        .price-range-inputs:focus-within { border-color: #3ba54e; }

        .price-input {
            flex: 1; min-width: 0;
            height: 38px; padding: 0 10px;
            border: none; outline: none; background: transparent;
            font-size: 13px; font-family: 'Inter', sans-serif;
            color: #1a1a1a; text-align: center;
        }
        .price-input::placeholder { color: #bbb; }

        .price-sep {
            flex-shrink: 0; color: #ccc; font-size: 15px;
            padding: 0 2px; user-select: none; line-height: 1;
        }

        .filter-search {
            width: 100%; height: 36px; padding: 0 12px;
            border: 1px solid #e0e0e0; border-radius: 8px;
            font-size: 13px; font-family: 'Inter', sans-serif;
            color: #1a1a1a; outline: none; margin-bottom: 10px;
            transition: border-color 0.2s;
        }

        .filter-search:focus { border-color: #3ba54e; }

        .filter-checkboxes-list { max-height: 200px; overflow-y: auto; }
        .filter-checkboxes-list::-webkit-scrollbar { width: 3px; }
        .filter-checkboxes-list::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }

        .filter-actions { display: flex; gap: 8px; padding: 16px 20px; border-top: 1px solid #f0f0f0; }

        .filter-apply-btn {
            flex: 1; padding: 10px;
            background: #3ba54e; color: #fff; border: none; border-radius: 10px;
            font-size: 13px; font-weight: 700; font-family: 'Inter', sans-serif;
            cursor: pointer; transition: all 0.2s;
        }
        .filter-apply-btn:hover { background: #2d8c3c; }

        .filter-reset-btn {
            padding: 10px 16px; background: #f5f5f5; color: #666;
            border: none; border-radius: 10px; font-size: 13px;
            font-weight: 600; font-family: 'Inter', sans-serif;
            cursor: pointer; transition: all 0.2s;
        }
        .filter-reset-btn:hover { background: #eee; }

        /* ===== ACTIVE FILTERS ===== */
        .active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }

        .active-filter-tag {
            display: flex; align-items: center; gap: 6px;
            padding: 6px 12px; background: #e8f5e9; border-radius: 8px;
            font-size: 13px; font-weight: 500; color: #2d8c3c;
        }

        .active-filter-tag .remove {
            width: 16px; height: 16px; border-radius: 50%;
            background: rgba(45,140,60,0.2); display: flex;
            align-items: center; justify-content: center;
            cursor: pointer; transition: background 0.2s;
        }
        .active-filter-tag .remove:hover { background: rgba(45,140,60,0.4); }
        .active-filter-tag .remove svg { width: 10px; height: 10px; }

        /* ===== PRODUCTS GRID ===== */
        .products-area { flex: 1; min-width: 0; }

        .mobile-filter-btn {
            display: none;
            align-items: center; gap: 8px;
            padding: 10px 18px;
            background: #fff; border: 1px solid #e0e0e0; border-radius: 12px;
            font-size: 14px; font-weight: 600; font-family: 'Inter', sans-serif;
            color: #333; cursor: pointer; margin-bottom: 16px;
        }
        .mobile-filter-btn svg { width: 18px; height: 18px; color: #3ba54e; }

        .products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

        .product-card {
            background: #fff;
            border-radius: 16px;
            overflow: hidden;
            border: 1px solid #e8e8e8;
            transition: all 0.3s;
            display: flex;
            flex-direction: column;
        }

        .product-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 28px rgba(0,0,0,0.08);
            border-color: #c8e6c9;
        }

        .product-image {
            width: 100%;
            height: 200px;
            background: #f9f9f9;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            position: relative;
        }

        .product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
        .product-card:hover .product-image img { transform: scale(1.05); }

        .product-badge {
            position: absolute;
            top: 12px; left: 12px;
            padding: 4px 10px; border-radius: 8px;
            font-size: 11px; font-weight: 700; color: #fff;
        }
        .badge-sale { background: #e53935; }
        .badge-new { background: #3ba54e; }
        .badge-hit { background: #ff9800; }

        .product-wishlist {
            position: absolute; top: 12px; right: 12px;
            width: 32px; height: 32px;
            background: rgba(255,255,255,0.9); border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            cursor: pointer; transition: all 0.2s; border: none;
        }
        .product-wishlist:hover { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
        .product-wishlist svg { width: 16px; height: 16px; color: #ccc; }
        .product-wishlist.active svg { color: #e53935; fill: #e53935; }

        .product-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
        .product-brand {
            font-size: 11px; font-weight: 700; color: #3ba54e;
            text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px;
        }
        .product-name { font-size: 14px; font-weight: 600; color: #1a1a1a; line-height: 1.35; margin-bottom: 6px; }
        .product-name a { transition: color 0.2s; }
        .product-name a:hover { color: #3ba54e; }
        .product-sku { font-size: 12px; color: #999; margin-bottom: 10px; }

        .product-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
        .product-stars { display: flex; gap: 2px; }
        .product-stars svg { width: 14px; height: 14px; }
        .star-filled { color: #ffc107; }
        .star-empty { color: #ddd; }
        .product-rating-count { font-size: 12px; color: #999; }

        .product-price-row { display: flex; align-items: flex-end; gap: 8px; margin-bottom: 14px; }
        .product-price { font-size: 20px; font-weight: 800; color: #1a1a1a; }
        .product-old-price { font-size: 14px; color: #bbb; text-decoration: line-through; }
        .product-discount {
            font-size: 12px; font-weight: 700; color: #e53935;
            background: #ffebee; padding: 2px 8px; border-radius: 6px;
        }

        .product-availability { display: flex; align-items: center; gap: 6px; font-size: 12px; margin-bottom: 10px; }
        .availability-dot { width: 8px; height: 8px; border-radius: 50%; }
        .in-stock .availability-dot { background: #3ba54e; }
        .in-stock { color: #3ba54e; font-weight: 500; }
        .out-stock .availability-dot { background: #e53935; }
        .out-stock { color: #e53935; font-weight: 500; }

        .product-actions { display: flex; gap: 8px; margin-top: auto; }

        .product-btn-cart {
            flex: 1; padding: 10px;
            background: linear-gradient(135deg, #3ba54e, #2d8c3c);
            color: #fff; border: none; border-radius: 10px;
            font-size: 13px; font-weight: 700; font-family: 'Inter', sans-serif;
            cursor: pointer; transition: all 0.2s;
        }
        .product-btn-cart:hover {
            background: linear-gradient(135deg, #2d8c3c, #1f6b2c);
            box-shadow: 0 2px 8px rgba(59,165,78,0.3);
        }

        .product-btn-details {
            padding: 10px 14px; background: #f5f5f5; border: none;
            border-radius: 10px; font-size: 12px; font-weight: 600;
            font-family: 'Inter', sans-serif; color: #666;
            cursor: pointer; transition: all 0.2s; white-space: nowrap;
        }
        .product-btn-details:hover { background: #e8f5e9; color: #2d8c3c; }

        .product-no-price {
            display: inline-flex; align-items: center; gap: 5px;
            background: #f3f4f6; border-radius: 7px; padding: 5px 10px;
            font-size: 12px; font-weight: 600; color: #666;
        }
        .product-no-price svg { width: 13px; height: 13px; }
        .product-btn-phone {
            flex: 1; display: flex; align-items: center; justify-content: center; gap: 4px;
            padding: 9px 6px; background: linear-gradient(135deg, #3ba54e, #2d8c3c);
            color: #fff; border-radius: 10px; font-size: 11px; font-weight: 700;
            font-family: 'Inter', sans-serif; text-decoration: none; transition: all 0.2s;
            white-space: nowrap;
        }
        .product-btn-phone:hover {
            background: linear-gradient(135deg, #2d8c3c, #1f6b2c);
            box-shadow: 0 2px 8px rgba(59,165,78,0.3); color: #fff;
        }
        .product-btn-phone svg { width: 13px; height: 13px; flex-shrink: 0; }

        /* ===== PAGINATION ===== */
        .pagination {
            display: flex; align-items: center; justify-content: center;
            gap: 6px; margin-top: 32px;
        }
        .page-btn {
            width: 40px; height: 40px;
            border: 1px solid #e0e0e0; border-radius: 10px;
            background: #fff; font-size: 14px; font-weight: 600;
            font-family: 'Inter', sans-serif; color: #555;
            cursor: pointer; display: flex; align-items: center; justify-content: center;
            transition: all 0.2s;
        }
        .page-btn:hover { border-color: #3ba54e; color: #3ba54e; }
        .page-btn.active { background: #3ba54e; border-color: #3ba54e; color: #fff; }
        .page-btn-arrow {
            width: 40px; height: 40px;
            border: 1px solid #e0e0e0; border-radius: 10px;
            background: #fff; display: flex; align-items: center; justify-content: center;
            cursor: pointer; transition: all 0.2s;
        }
        .page-btn-arrow:hover { border-color: #3ba54e; }
        .page-btn-arrow svg { width: 16px; height: 16px; color: #888; }
        .page-dots { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: #ccc; font-size: 14px; }

        /* ===== SEO ARTICLE ===== */
        .seo-article {
            margin-top: 48px;
            margin-bottom: 48px;
        }

        .article-card {
            background: #fff;
            border-radius: 20px;
            border: 1px solid #e8e8e8;
            padding: 48px;
        }

        .article-card h2 {
            font-size: 28px;
            font-weight: 800;
            color: #1a1a1a;
            margin-bottom: 16px;
            line-height: 1.3;
        }

        .article-card h3 {
            font-size: 22px;
            font-weight: 700;
            color: #1a1a1a;
            margin-top: 36px;
            margin-bottom: 14px;
            line-height: 1.35;
        }

        .article-card h4 {
            font-size: 18px;
            font-weight: 700;
            color: #1a1a1a;
            margin-top: 28px;
            margin-bottom: 12px;
        }

        .article-card p {
            font-size: 15px;
            color: #444;
            line-height: 1.75;
            margin-bottom: 16px;
        }

        .article-card p:last-child { margin-bottom: 0; }

        .article-card ul,
        .article-card ol {
            padding-left: 24px;
            margin-bottom: 16px;
        }

        .article-card li {
            font-size: 15px;
            color: #444;
            line-height: 1.75;
            margin-bottom: 8px;
        }

        .article-card ul li {
            list-style: none;
            position: relative;
            padding-left: 20px;
        }

        .article-card ul li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 10px;
            width: 8px;
            height: 8px;
            background: #3ba54e;
            border-radius: 50%;
        }

        .article-card ol li {
            padding-left: 4px;
        }

        .article-card ol {
            counter-reset: article-list;
        }

        .article-card ol li {
            list-style: none;
            counter-increment: article-list;
            position: relative;
            padding-left: 28px;
        }

        .article-card ol li::before {
            content: counter(article-list);
            position: absolute;
            left: 0;
            top: 2px;
            width: 22px;
            height: 22px;
            background: #3ba54e;
            color: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: 700;
        }

        .article-card a {
            color: #3ba54e;
            font-weight: 600;
            text-decoration: underline;
            text-decoration-color: rgba(59,165,78,0.3);
            text-underline-offset: 3px;
            transition: all 0.2s;
        }

        .article-card a:hover {
            text-decoration-color: #3ba54e;
        }

        .article-card blockquote {
            border-left: 4px solid #3ba54e;
            background: #f8fdf8;
            padding: 20px 24px;
            border-radius: 0 12px 12px 0;
            margin: 24px 0;
        }

        .article-card blockquote p {
            font-style: italic;
            color: #555;
            margin-bottom: 0;
        }

        .article-card img {
            width: 100%;
            border-radius: 14px;
            margin: 24px 0;
            object-fit: cover;
        }

        .article-card .img-caption {
            text-align: center;
            font-size: 13px;
            color: #999;
            margin-top: -16px;
            margin-bottom: 24px;
        }

        .article-card hr {
            border: none;
            height: 1px;
            background: #e8e8e8;
            margin: 32px 0;
        }

        /* ===== PRODUCTS IN ARTICLE ===== */
        .article-products-title {
            font-size: 22px;
            font-weight: 700;
            color: #1a1a1a;
            margin-top: 36px;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .article-products-title svg { width: 22px; height: 22px; color: #3ba54e; }

        .article-products-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 14px;
            margin-bottom: 24px;
        }

        .article-product-card {
            background: #fafafa;
            border-radius: 14px;
            overflow: hidden;
            border: 1px solid #eee;
            transition: all 0.3s;
            display: flex;
            flex-direction: column;
        }

        .article-product-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(0,0,0,0.08);
            border-color: #c8e6c9;
            background: #fff;
        }

        .article-product-image {
            width: 100%;
            height: 140px;
            background: #f5f5f5;
            overflow: hidden;
        }

        .article-product-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s;
        }

        .article-product-card:hover .article-product-image img { transform: scale(1.05); }

        .article-product-body { padding: 12px; flex: 1; display: flex; flex-direction: column; }

        .article-product-brand {
            font-size: 10px;
            font-weight: 700;
            color: #3ba54e;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 4px;
        }

        .article-product-name {
            font-size: 13px;
            font-weight: 600;
            color: #1a1a1a;
            line-height: 1.3;
            margin-bottom: 8px;
            flex: 1;
        }

        .article-product-price {
            font-size: 16px;
            font-weight: 800;
            color: #1a1a1a;
            margin-bottom: 10px;
        }

        .article-product-btn {
            width: 100%;
            padding: 8px;
            background: #3ba54e;
            color: #fff;
            border: none;
            border-radius: 8px;
            font-size: 12px;
            font-weight: 700;
            font-family: 'Inter', sans-serif;
            cursor: pointer;
            transition: all 0.2s;
        }

        .article-product-btn:hover {
            background: #2d8c3c;
        }

        /* ===== ADVANTAGES BAR ===== */
        .advantages-bar {
            background: #fff;
            border-radius: 20px;
            border: 1px solid #e8e8e8;
            overflow: hidden;
        }

        .advantages-grid { display: grid; grid-template-columns: repeat(4, 1fr); }

        .advantage-item {
            display: flex; align-items: center; gap: 16px;
            padding: 28px 32px; border-right: 1px solid #f0f0f0;
            transition: background 0.2s;
        }

        .advantage-item:last-child { border-right: none; }
        .advantage-item:hover { background: #f8fdf8; }

        .advantage-icon {
            width: 48px; height: 48px;
            border-radius: 14px;
            background: linear-gradient(135deg, #e8f5e9, #d4edda);
            display: flex; align-items: center; justify-content: center;
            flex-shrink: 0;
        }

        .advantage-icon svg { width: 22px; height: 22px; color: #2d8c3c; }
        .advantage-title { font-size: 14px; font-weight: 700; color: #1a1a1a; margin-bottom: 2px; }
        .advantage-desc { font-size: 12px; color: #888; }

        /* ===== FOOTER ===== */
        .footer { background: #1a1a1a; color: #ccc; padding-top: 56px; }

        .footer-main {
            display: grid;
            grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
            gap: 40px;
            padding-bottom: 48px;
        }

        .footer-logo { display: flex; align-items: center; margin-bottom: 16px; }
        .footer-logo img { height: 44px; width: auto; }
        .footer-brand-desc { font-size: 14px; color: #888; line-height: 1.6; margin-bottom: 20px; }

        .footer-socials { display: flex; gap: 10px; }
        .footer-social {
            width: 40px; height: 40px; border-radius: 10px; background: #2a2a2a;
            display: flex; align-items: center; justify-content: center;
            transition: all 0.2s; cursor: pointer;
        }
        .footer-social:hover { background: #3ba54e; }
        .footer-social svg { width: 18px; height: 18px; color: #888; }
        .footer-social:hover svg { color: #fff; }

        .footer-col-title {
            font-size: 14px; font-weight: 700; color: #fff;
            text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px;
        }

        .footer-links { display: flex; flex-direction: column; gap: 12px; }
        .footer-link { font-size: 14px; color: #888; transition: color 0.2s; }
        .footer-link:hover { color: #3ba54e; }

        .footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 16px; }
        .footer-contact-item svg { width: 18px; height: 18px; color: #3ba54e; flex-shrink: 0; margin-top: 2px; }
        .footer-contact-text { font-size: 14px; color: #888; line-height: 1.5; }
        .footer-contact-text a { color: #fff; font-weight: 600; transition: color 0.2s; }
        .footer-contact-text a:hover { color: #3ba54e; }

        .footer-bottom {
            border-top: 1px solid #2a2a2a; padding: 24px 0;
            display: flex; align-items: center; justify-content: space-between;
            flex-wrap: wrap; gap: 16px;
        }
        .footer-copyright { font-size: 13px; color: #666; }
        .footer-bottom-links { display: flex; gap: 24px; }
        .footer-bottom-link { font-size: 13px; color: #666; transition: color 0.2s; }
        .footer-bottom-link:hover { color: #3ba54e; }

        /* ===== MOBILE FILTER OVERLAY ===== */
        .mobile-filter-overlay {
            position: fixed; top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0,0,0,0.5); z-index: 3000;
            opacity: 0; visibility: hidden; transition: all 0.3s;
        }
        .mobile-filter-overlay.active { opacity: 1; visibility: visible; }

        .mobile-filter-panel {
            position: fixed; top: 0; left: -340px;
            width: 320px; max-width: 85vw; height: 100vh;
            background: #fff; z-index: 3001;
            transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            overflow-y: auto;
        }
        .mobile-filter-panel.active { left: 0; }

        .mobile-filter-header {
            display: flex; align-items: center; justify-content: space-between;
            padding: 20px; border-bottom: 1px solid #eee;
            position: sticky; top: 0; background: #fff; z-index: 1;
        }
        .mobile-filter-title { font-size: 18px; font-weight: 700; }
        .mobile-filter-close {
            width: 36px; height: 36px; border: none; background: #f5f5f5;
            border-radius: 10px; cursor: pointer;
            display: flex; align-items: center; justify-content: center;
        }
        .mobile-filter-close svg { width: 18px; height: 18px; color: #666; }
        .mobile-filter-body { padding: 16px; }
        .mobile-filter-actions {
            display: flex; gap: 10px; padding: 16px 20px;
            border-top: 1px solid #eee; position: sticky; bottom: 0; background: #fff;
        }
        .mobile-filter-apply {
            flex: 1; padding: 14px; background: #3ba54e; color: #fff;
            border: none; border-radius: 12px; font-size: 15px;
            font-weight: 700; font-family: 'Inter', sans-serif; cursor: pointer;
        }
        .mobile-filter-reset {
            padding: 14px 20px; background: #f5f5f5; color: #666;
            border: none; border-radius: 12px; font-size: 14px;
            font-weight: 600; font-family: 'Inter', sans-serif; cursor: pointer;
        }

        /* ===== ANIMATIONS ===== */
        @keyframes fadeUp {
            from { opacity: 0; transform: translateY(8px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .product-card { animation: fadeUp 0.3s ease forwards; }
        .article-product-card { animation: fadeUp 0.3s ease forwards; }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 1200px) {
            .products-grid { grid-template-columns: repeat(3, 1fr); }
            .article-products-grid { grid-template-columns: repeat(3, 1fr); }
            .footer-main { grid-template-columns: repeat(3, 1fr); }
        }

        @media (max-width: 1024px) {
            .filter-sidebar { display: none; }
            .mobile-filter-btn { display: flex; }
            .products-grid { grid-template-columns: repeat(2, 1fr); }
            .article-products-grid { grid-template-columns: repeat(2, 1fr); }
        }

        @media (max-width: 900px) {
            .container { padding: 0 20px; }
            .top-bar-left { display: none; }
            .top-bar-right { justify-content: center; width: 100%; }
            .mobile-menu-btn { display: flex; }
            .catalog-btn { display: none; }
            .main-header-inner { gap: 12px; height: 64px; }
            .search-input { height: 42px; padding: 0 50px 0 14px; font-size: 13px; }
            .search-category-btn { display: none; }
            .search-right { right: 4px; }
            .search-btn { width: 34px; height: 34px; }
            .request-btn .req-text { display: none; }
            .action-link .label { display: none; }
            .action-link { padding: 8px 10px; }

            .page-title { font-size: 26px; }
            .subcategories-bar { padding: 12px 16px; gap: 6px; }
            .subcat-title { padding-right: 6px; margin-right: 2px; font-size: 12px; }
            .subcat-link { padding: 5px 10px; font-size: 12px; }

            .article-card { padding: 28px 20px; }
            .article-card h2 { font-size: 22px; }
            .article-card h3 { font-size: 19px; margin-top: 28px; }
            .article-card h4 { font-size: 16px; }
            .article-card p,
            .article-card li { font-size: 14px; }
            .article-card ul li { padding-left: 18px; }
            .article-card ul li::before { width: 6px; height: 6px; top: 9px; }
            .article-card ol li { padding-left: 24px; }
            .article-card ol li::before { width: 20px; height: 20px; font-size: 11px; }
            .article-card blockquote { padding: 16px 18px; }

            .advantages-grid { grid-template-columns: repeat(2, 1fr); }
            .advantage-item { border-bottom: 1px solid #f0f0f0; padding: 20px 24px; }
            .advantage-item:nth-child(2) { border-right: none; }

            .footer-main { grid-template-columns: repeat(2, 1fr); gap: 32px; }
            .footer-brand { grid-column: 1 / -1; }
            .footer-bottom { flex-direction: column; text-align: center; padding: 20px 0; }
            .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 16px; }
        }

        @media (max-width: 600px) {
            .container { padding: 0 14px; }
            .top-bar { padding: 8px 0; }
            .top-bar-right { gap: 16px; }
            .top-bar-phone { font-size: 13px; }
            .top-bar-email { font-size: 11px; }

            .main-header-inner { padding: 0 14px; height: 58px; }
            .logo-link img { height: 38px; }

            .search-input { height: 40px; padding-right: 44px; font-size: 12px; }
            .search-btn { width: 32px; height: 32px; }

            .page-header { margin-bottom: 20px; }
            .page-title { font-size: 22px; }
            .page-header-desc { font-size: 13px; }
            .results-count { font-size: 13px; }

            .subcategories-bar { padding: 10px 14px; gap: 5px; }
            .subcat-title { display: none; }
            .subcat-link { padding: 5px 10px; font-size: 12px; }

            .sorting-bar { padding: 10px 14px; gap: 10px; }
            .sort-left { width: 100%; }
            .sort-label { display: none; }
            .sort-options { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
            .sort-btn { padding: 7px 14px; font-size: 12px; white-space: nowrap; }

            .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
            .product-image { height: 140px; }
            .product-body { padding: 10px; }
            .product-name { font-size: 12px; }
            .product-sku { font-size: 10px; margin-bottom: 6px; }
            .product-rating { margin-bottom: 6px; }
            .product-stars svg { width: 12px; height: 12px; }
            .product-rating-count { font-size: 10px; }
            .product-availability { font-size: 11px; margin-bottom: 6px; }
            .product-price { font-size: 15px; }
            .product-old-price { font-size: 12px; }
            .product-discount { font-size: 10px; }
            .product-btn-cart { padding: 7px; font-size: 10px; }
            .product-btn-details { padding: 7px 8px; font-size: 9px; }
            .product-badge { font-size: 9px; padding: 3px 7px; }
            .product-wishlist { width: 28px; height: 28px; }
            .product-wishlist svg { width: 14px; height: 14px; }

            .pagination { gap: 4px; }
            .page-btn, .page-btn-arrow { width: 36px; height: 36px; }
            .page-dots { width: 36px; height: 36px; }

            .article-card { padding: 20px 16px; border-radius: 14px; }
            .article-card h2 { font-size: 20px; }
            .article-card h3 { font-size: 17px; margin-top: 24px; }
            .article-card h4 { font-size: 15px; }
            .article-card p,
            .article-card li { font-size: 13px; line-height: 1.65; }
            .article-card blockquote { padding: 14px 16px; border-radius: 0 10px 10px 0; }
            .article-card img { border-radius: 10px; margin: 16px 0; }
            .article-card .img-caption { font-size: 11px; margin-top: -12px; margin-bottom: 16px; }
            .article-products-title { font-size: 18px; margin-top: 28px; margin-bottom: 14px; }

            .article-products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
            .article-product-image { height: 110px; }
            .article-product-body { padding: 10px; }
            .article-product-brand { font-size: 9px; }
            .article-product-name { font-size: 12px; margin-bottom: 6px; }
            .article-product-price { font-size: 14px; margin-bottom: 8px; }
            .article-product-btn { padding: 7px; font-size: 11px; }

            .advantages-bar { border-radius: 14px; }
            .advantages-grid { grid-template-columns: 1fr; }
            .advantage-item { border-right: none; padding: 16px 20px; }

            .footer { padding-top: 36px; }
            .footer-main { grid-template-columns: 1fr; gap: 28px; }
            .footer-brand { grid-column: auto; }
        }

/* ===== WORDPRESS CATALOG PAGE ADJUSTMENTS ===== */
.myagroparts-catalog-page .header-actions .action-link { order: 1; }
.myagroparts-catalog-page .header-actions .request-btn { order: 2; }
.myagroparts-catalog-page .footer { margin-top: 96px; }


        /* ===== SORTING BAR — right side (results count + view toggle) ===== */
        .brand-sorting-bar {
            justify-content: space-between;
        }

        .brand-sort-right {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        /* ===== VIEW TOGGLE (Grid / List) ===== */
        .brand-view-toggle {
            display: flex;
            gap: 4px;
            background: #f5f5f5;
            border-radius: 10px;
            padding: 4px;
            flex-shrink: 0;
        }

        .brand-view-btn {
            width: 34px;
            height: 34px;
            border: none;
            border-radius: 8px;
            background: transparent;
            color: #aaa;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all .2s;
        }

        .brand-view-btn svg {
            width: 16px;
            height: 16px;
        }

        .brand-view-btn.active {
            background: #fff;
            color: #3ba54e;
            box-shadow: 0 1px 4px rgba(0,0,0,.12);
        }

        /* ===== LIST VIEW — products-grid--list modifier ===== */
        .products-grid.products-grid--list {
            grid-template-columns: 1fr;
            gap: 12px;
        }

        .products-grid--list .product-card {
            display: grid;
            grid-template-columns: 200px 1fr;
            border-radius: 14px;
            align-items: start;
        }

        .products-grid--list .product-image {
            height: 180px;
            border-radius: 14px 0 0 14px;
        }

        .products-grid--list .product-body {
            padding: 20px 24px;
            display: grid;
            grid-template-columns: 1fr auto;
            grid-template-rows: auto;
            gap: 4px 24px;
        }

        .products-grid--list .product-name  { grid-column: 1; font-size: 15px; }
        .products-grid--list .product-brand { grid-column: 1; }
        .products-grid--list .product-sku   { grid-column: 1; }
        .products-grid--list .product-rating{ grid-column: 1; }
        .products-grid--list .product-availability { grid-column: 1; }

        .products-grid--list .product-price-row {
            grid-column: 2;
            grid-row: 1 / 3;
            align-self: start;
            text-align: right;
        }

        .products-grid--list .product-actions {
            grid-column: 2;
            grid-row: 3 / 6;
            align-self: end;
            flex-direction: column;
            width: 160px;
        }

        .products-grid--list .product-btn-cart,
        .products-grid--list .product-btn-details {
            width: 100%;
        }

        /* ===== RESPONSIVE — view toggle & list view ===== */
        @media (max-width: 900px) {
            .brand-sort-right .results-count {
                display: none;
            }
        }

        @media (max-width: 768px) {
            .brand-sorting-bar {
                flex-direction: column;
                align-items: flex-start;
                gap: 12px;
            }

            .brand-sort-right {
                width: 100%;
                justify-content: space-between;
            }

            .brand-sort-right .results-count {
                display: inline;
            }

            /* list view: single column on mobile */
            .products-grid--list .product-card {
                grid-template-columns: 1fr;
            }

            .products-grid--list .product-image {
                border-radius: 14px 14px 0 0;
                height: 200px;
            }

            .products-grid--list .product-body {
                grid-template-columns: 1fr;
            }

            .products-grid--list .product-price-row,
            .products-grid--list .product-actions {
                grid-column: 1;
                grid-row: auto;
                text-align: left;
                width: 100%;
            }
        }

        /* ===== BRAND FILTER — LOGO MODE ===== */
        .brand-filter-logo {
            display: block;
            width: 100px;
            height: auto;
            flex-shrink: 0;
        }

        .brand-filter-name {
            flex: 1;
        }

        /* В режиме логотипов — чуть увеличить высоту строки */
        .brand-logos-mode .filter-checkbox {
            padding: 4px 0;
            min-height: 36px;
        }
