* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --bg-primary: #f5f7fa;
            --bg-secondary: #ffffff;
            --border-light: #dbe4ee;
            --border-hover: #a0c4e2;
            --accent-blue: #5b9bd5;
            --accent-light: #e8f0fe;
            --text-primary: #2c3e50;
            --text-secondary: #6b7b8b;
            --text-light: #95a5a6;
            --success: #2ecc71;
            --warning: #f39c12;
            --danger: #e74c3c;
            --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
            --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
            --shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.02);
            --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.08);
            --header-height: 64px;
            --bottom-nav-height: 72px;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background-color: var(--bg-primary);
            color: var(--text-primary);
            line-height: 1.5;
            font-weight: 400;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        h1, h2, h3, h4 {
            font-weight: 500;
            letter-spacing: -0.01em;
        }

        /* ===== HEADER ===== */
        .header {
            background: var(--bg-secondary);
            border-bottom: 1px solid var(--border-light);
            padding: 0 20px;
            height: var(--header-height);
            display: flex;
            align-items: center;
            justify-content: space-between;
            position: sticky;
            top: 0;
            z-index: 100;
            backdrop-filter: blur(8px);
            background: rgba(255, 255, 255, 0.92);
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .logo-icon {
            font-size: 26px;
            color: var(--accent-blue);
        }

        .logo-text {
            font-size: 20px;
            font-weight: 400;
            color: var(--text-primary);
            letter-spacing: -0.02em;
        }

        .logo-text span {
            font-weight: 300;
            color: var(--text-light);
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 18px;
        }

        .header-actions a {
            color: var(--text-secondary);
            font-size: 20px;
            transition: all 0.2s ease;
            text-decoration: none;
            position: relative;
        }

        .header-actions a:hover {
            color: var(--accent-blue);
        }

        .cart-badge {
            position: relative;
        }

        .cart-count {
            position: absolute;
            top: -6px;
            right: -8px;
            background: var(--accent-blue);
            color: white;
            font-size: 11px;
            font-weight: 400;
            width: 18px;
            height: 18px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid white;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }

        .desktop-nav {
            display: flex;
            gap: 32px;
            margin-left: 40px;
        }

        .desktop-nav a {
            text-decoration: none;
            color: var(--text-secondary);
            font-weight: 400;
            font-size: 16px;
            transition: all 0.2s ease;
            padding: 8px 0;
            border-bottom: 2px solid transparent;
        }

        .desktop-nav a:hover,
        .desktop-nav a.active {
            color: var(--accent-blue);
            border-bottom-color: var(--accent-blue);
        }

        .header-left {
            display: flex;
            align-items: center;
        }

        .search-wrapper {
            flex: 1;
            max-width: 420px;
            margin: 0 20px;
        }

        .search-box {
            display: flex;
            align-items: center;
            background: var(--bg-primary);
            border: 1px solid var(--border-light);
            border-radius: 24px;
            padding: 8px 16px;
            transition: all 0.2s ease;
        }

        .search-box:focus-within {
            border-color: var(--accent-blue);
            background: white;
            box-shadow: var(--shadow-sm);
        }

        .search-box i {
            color: var(--text-light);
            font-size: 16px;
            margin-right: 10px;
        }

        .search-box input {
            border: none;
            background: transparent;
            outline: none;
            font-size: 15px;
            width: 100%;
            font-weight: 400;
            color: var(--text-primary);
        }

        .search-box input::placeholder {
            color: var(--text-light);
            font-weight: 300;
        }

        /* ===== ХЛЕБНЫЕ КРОШКИ ===== */
        .breadcrumbs {
            padding: 16px 20px 8px;
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
            font-size: 14px;
            color: var(--text-light);
        }

        .breadcrumbs a {
            color: var(--text-secondary);
            text-decoration: none;
            transition: color 0.2s;
        }

        .breadcrumbs a:hover {
            color: var(--accent-blue);
        }

        .breadcrumbs i {
            font-size: 10px;
            color: var(--border-light);
        }

        /* ===== ОСНОВНОЙ КОНТЕЙНЕР КАТАЛОГА ===== */
        .catalog-container {
            display: flex;
            gap: 0;
            max-width: 1400px;
            margin: 0 auto;
            width: 100%;
            padding: 0 20px 20px;
            position: relative;
        }

        /* ===== САЙДБАР (ПК) ===== */
        .sidebar {
            width: 280px;
            flex-shrink: 0;
            background: var(--bg-secondary);
            border-radius: 16px;
            border: 1px solid var(--border-light);
            padding: 20px;
            height: fit-content;
            position: sticky;
            top: calc(var(--header-height) + 20px);
            max-height: calc(100vh - var(--header-height) - 40px);
            overflow-y: auto;
            scrollbar-width: thin;
        }

        .sidebar::-webkit-scrollbar {
            width: 4px;
        }

        .sidebar::-webkit-scrollbar-thumb {
            background: var(--border-light);
            border-radius: 4px;
        }

        .sidebar-section {
            margin-bottom: 24px;
            padding-bottom: 20px;
            border-bottom: 1px solid var(--border-light);
        }

        .sidebar-section:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .sidebar-title {
            font-size: 15px;
            font-weight: 500;
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            color: var(--text-primary);
        }

        .sidebar-title i {
            color: var(--accent-blue);
            font-size: 14px;
        }

        .clear-filters {
            color: var(--text-light);
            font-size: 12px;
            cursor: pointer;
            transition: color 0.2s;
            font-weight: 400;
        }

        .clear-filters:hover {
            color: var(--danger);
        }

        /* Категории в сайдбаре */
        .category-list {
            list-style: none;
        }

        .category-item {
            margin-bottom: 8px;
        }

        .category-link {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 6px 0;
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 14px;
            transition: color 0.2s;
        }

        .category-link:hover {
            color: var(--accent-blue);
        }

        .category-link.active {
            color: var(--accent-blue);
            font-weight: 500;
        }

        .category-count {
            margin-left: auto;
            color: var(--text-light);
            font-size: 12px;
        }

        .category-link i {
            width: 16px;
            color: var(--text-light);
            font-size: 12px;
        }

        .subcategory-list {
            list-style: none;
            margin-left: 24px;
            margin-top: 4px;
        }

        /* Фильтры */
        .filter-group {
            margin-bottom: 16px;
        }

        .filter-label {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 6px 0;
            font-size: 14px;
            color: var(--text-secondary);
            cursor: pointer;
        }

        .filter-label input[type="checkbox"] {
            width: 18px;
            height: 18px;
            accent-color: var(--accent-blue);
            cursor: pointer;
        }

        .filter-count {
            margin-left: auto;
            color: var(--text-light);
            font-size: 12px;
        }

        /* Ценовой слайдер */
        .price-inputs {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 16px;
        }

        .price-input {
            flex: 1;
            padding: 8px 12px;
            border: 1px solid var(--border-light);
            border-radius: 12px;
            font-size: 14px;
            background: var(--bg-primary);
            color: var(--text-primary);
            outline: none;
            transition: border-color 0.2s;
        }

        .price-input:focus {
            border-color: var(--accent-blue);
        }

        .price-slider {
            width: 100%;
            margin: 12px 0;
        }

        .slider-track {
            height: 4px;
            background: var(--border-light);
            border-radius: 2px;
            position: relative;
        }

        .slider-fill {
            position: absolute;
            height: 100%;
            background: var(--accent-blue);
            border-radius: 2px;
            left: 0%;
            right: 0%;
        }

        .slider-input {
            position: relative;
        }

        .slider-input input {
            position: absolute;
            width: 100%;
            height: 18px;
            background: none;
            pointer-events: none;
            -webkit-appearance: none;
            appearance: none;
            top: -11px;
        }

        .slider-input input::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 18px;
            height: 18px;
            background: white;
            border: 2px solid var(--accent-blue);
            border-radius: 50%;
            pointer-events: auto;
            cursor: pointer;
            box-shadow: var(--shadow-sm);
        }

        .slider-range {
            pointer-events: auto;
        }

        .slider-input input::-moz-range-thumb {
            width: 18px;
            height: 18px;
            background: white;
            border: 2px solid var(--accent-blue);
            border-radius: 50%;
            cursor: pointer;
        }

        .slider-input input::-moz-range-track {
            height: 4px;
            background: transparent;
        }

        /* Рейтинг фильтр */
        .rating-filter {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 6px 0;
            cursor: pointer;
        }

        .rating-stars {
            display: flex;
            gap: 2px;
            color: #ffc107;
            font-size: 12px;
        }

        .rating-filter input {
            margin-right: 8px;
        }

        /* Кнопки сайдбара */
        .sidebar-btn {
            width: 100%;
            padding: 12px;
            background: var(--accent-blue);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
            margin-top: 8px;
        }

        .sidebar-btn:hover {
            background: #4a8bc7;
            box-shadow: var(--shadow-md);
        }

        .sidebar-btn-outline {
            background: transparent;
            border: 1px solid var(--border-light);
            color: var(--text-secondary);
        }

        .sidebar-btn-outline:hover {
            background: var(--bg-primary);
            border-color: var(--accent-blue);
            color: var(--accent-blue);
        }

        /* ===== ОСНОВНОЙ КОНТЕНТ КАТАЛОГА ===== */
        .catalog-content {
            flex: 1;
            min-width: 0;
            margin-left: 20px;
        }

        /* Заголовок каталога */
        .catalog-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 20px;
            flex-wrap: wrap;
            gap: 12px;
        }

        .catalog-title {
            font-size: 24px;
            font-weight: 400;
            color: var(--text-primary);
        }

        .catalog-title span {
            color: var(--text-light);
            font-size: 16px;
            margin-left: 8px;
        }

        /* Сортировка и управление */
        .catalog-controls {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
        }

        .sort-select {
            padding: 8px 32px 8px 16px;
            border: 1px solid var(--border-light);
            border-radius: 12px;
            font-size: 14px;
            background: var(--bg-secondary);
            color: var(--text-primary);
            cursor: pointer;
            outline: none;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2395a5a6' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 12px center;
        }

        .view-toggle {
            display: flex;
            gap: 4px;
            background: var(--bg-secondary);
            border: 1px solid var(--border-light);
            border-radius: 12px;
            padding: 4px;
        }

        .view-btn {
            padding: 6px 10px;
            border: none;
            background: transparent;
            border-radius: 8px;
            color: var(--text-light);
            cursor: pointer;
            transition: all 0.2s;
        }

        .view-btn:hover,
        .view-btn.active {
            background: var(--accent-light);
            color: var(--accent-blue);
        }

        /* Мобильная кнопка фильтров */
        .mobile-filter-btn {
            display: none;
            padding: 10px 16px;
            background: var(--bg-secondary);
            border: 1px solid var(--border-light);
            border-radius: 12px;
            font-size: 14px;
            color: var(--text-primary);
            cursor: pointer;
            align-items: center;
            gap: 8px;
        }

        /* Активные фильтры */
        .active-filters {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 16px;
        }

        .filter-tag {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: var(--accent-light);
            border: 1px solid var(--border-hover);
            border-radius: 20px;
            padding: 4px 12px;
            font-size: 13px;
            color: var(--accent-blue);
        }

        .filter-tag i {
            cursor: pointer;
            font-size: 12px;
            opacity: 0.7;
        }

        .filter-tag i:hover {
            opacity: 1;
        }

        /* Сетка товаров */
        .product-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 16px;
            margin-bottom: 24px;
        }

        .product-grid.list-view {
            grid-template-columns: 1fr;
        }

        /* Карточка товара */
        .product-card {
            background: var(--bg-secondary);
            padding: 16px;
            transition: all 0.2s ease;
            text-decoration: none;
            color: inherit;
            display: flex;
            flex-direction: column;
            position: relative;
            border-radius: 16px;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-light);
        }

        .product-card:hover {
            box-shadow: var(--shadow-lg);
            transform: translateY(-2px);
            border-color: var(--border-hover);
        }

        .product-grid.list-view .product-card {
            flex-direction: row;
            gap: 20px;
            align-items: center;
        }

        .product-grid.list-view .product-image {
            width: 180px;
            flex-shrink: 0;
        }

        .product-grid.list-view .product-info {
            flex: 1;
        }

        .product-badges {
            position: absolute;
            top: 12px;
            left: 12px;
            display: flex;
            gap: 4px;
            z-index: 2;
        }

        .badge {
            padding: 2px 8px;
            border-radius: 12px;
            font-size: 10px;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.3px;
            background: white;
            border: 0.5px solid var(--border-light);
        }

        .badge.hot {
            background: #fee2e2;
            color: #dc2626;
            border-color: #fecaca;
        }

        .badge.new {
            background: #dbeafe;
            color: #2563eb;
            border-color: #bfdbfe;
        }

        .badge.sale {
            background: #fef3c7;
            color: #d97706;
            border-color: #fde68a;
        }

        .product-image {
            width: 100%;
            aspect-ratio: 1 / 1;
            background: linear-gradient(145deg, #f0f5fa 0%, #e6eef5 100%);
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 12px;
            border: 0.5px solid rgba(91, 155, 213, 0.15);
            position: relative;
            overflow: hidden;
        }

        .product-image i {
            font-size: 42px;
            color: var(--accent-blue);
            opacity: 0.7;
            transition: transform 0.3s ease;
        }

        .product-card:hover .product-image i {
            transform: scale(1.1);
        }

        .product-category {
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.3px;
            color: var(--text-light);
            margin-bottom: 6px;
            font-weight: 400;
        }

        .product-title {
            font-size: 15px;
            font-weight: 500;
            margin-bottom: 6px;
            line-height: 1.3;
            color: var(--text-primary);
        }

        .product-grid.list-view .product-title {
            font-size: 18px;
        }

        .product-description {
            display: none;
            font-size: 14px;
            color: var(--text-secondary);
            margin: 8px 0;
        }

        .product-grid.list-view .product-description {
            display: block;
        }

        .product-price {
            margin-top: auto;
            display: flex;
            align-items: baseline;
            gap: 6px;
            flex-wrap: wrap;
        }

        .current-price {
            font-size: 20px;
            font-weight: 500;
            color: var(--accent-blue);
        }

        .old-price {
            font-size: 13px;
            color: var(--text-light);
            text-decoration: line-through;
            font-weight: 400;
        }

        .discount-badge {
            background: var(--danger);
            color: white;
            font-size: 10px;
            padding: 2px 6px;
            border-radius: 10px;
            font-weight: 500;
        }

        .product-meta {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-top: 8px;
            font-size: 12px;
            color: var(--text-light);
        }

        .rating {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .rating i {
            color: #ffc107;
            font-size: 11px;
        }

        .sales-count {
            display: flex;
            align-items: center;
            gap: 3px;
        }

        .wishlist-btn {
            margin-left: auto;
            color: var(--text-light);
            background: none;
            border: none;
            font-size: 16px;
            cursor: pointer;
            padding: 4px;
            transition: all 0.2s;
        }

        .wishlist-btn:hover {
            color: var(--danger);
            transform: scale(1.1);
        }

        .add-to-cart-btn {
            display: none;
            background: var(--accent-blue);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 12px;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.2s;
            margin-top: 12px;
        }

        .product-grid.list-view .add-to-cart-btn {
            display: inline-block;
        }

        .add-to-cart-btn:hover {
            background: #4a8bc7;
        }

        /* Пагинация */
        .pagination {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin: 32px 0;
        }

        .page-item {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid var(--border-light);
            border-radius: 12px;
            background: var(--bg-secondary);
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 14px;
            transition: all 0.2s;
        }

        .page-item:hover {
            border-color: var(--accent-blue);
            color: var(--accent-blue);
        }

        .page-item.active {
            background: var(--accent-blue);
            border-color: var(--accent-blue);
            color: white;
        }

        .page-item.disabled {
            opacity: 0.5;
            pointer-events: none;
        }

        /* ===== МОБИЛЬНОЕ МЕНЮ ФИЛЬТРОВ ===== */
        .mobile-filter-menu {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.5);
            z-index: 1000;
            backdrop-filter: blur(4px);
        }

        .mobile-filter-menu.active {
            display: block;
        }

        .mobile-filter-panel {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: white;
            border-radius: 24px 24px 0 0;
            max-height: 80vh;
            overflow-y: auto;
            animation: slideUp 0.3s ease;
            padding: 20px;
        }

        @keyframes slideUp {
            from { transform: translateY(100%); }
            to { transform: translateY(0); }
        }

        .mobile-filter-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 20px;
            padding-bottom: 16px;
            border-bottom: 1px solid var(--border-light);
        }

        .mobile-filter-title {
            font-size: 18px;
            font-weight: 500;
        }

        .mobile-filter-close {
            background: none;
            border: none;
            font-size: 24px;
            color: var(--text-light);
            cursor: pointer;
        }

        .mobile-filter-actions {
            display: flex;
            gap: 12px;
            margin-top: 20px;
            padding-top: 20px;
            border-top: 1px solid var(--border-light);
        }

        /* ===== FOOTER ===== */
        .footer {
            background: var(--bg-secondary);
            border-top: 1px solid var(--border-light);
            padding: 28px 20px;
            margin-top: 20px;
        }

        .footer-content {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
        }

        .footer-copyright {
            color: var(--text-light);
            font-size: 14px;
            font-weight: 400;
        }

        .footer-links {
            display: flex;
            gap: 28px;
            flex-wrap: wrap;
        }

        .footer-links a {
            text-decoration: none;
            color: var(--text-secondary);
            font-size: 14px;
            font-weight: 400;
            transition: color 0.2s;
        }

        .footer-links a:hover {
            color: var(--accent-blue);
        }

        .payment-icons {
            display: flex;
            gap: 16px;
            color: var(--text-light);
            font-size: 22px;
        }

        /* ===== НИЖНЕЕ МЕНЮ ===== */
        .bottom-nav {
            display: none;
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            height: var(--bottom-nav-height);
            background: rgba(255, 255, 255, 0.96);
            backdrop-filter: blur(10px);
            border-top: 1px solid var(--border-light);
            padding: 8px 16px;
            z-index: 99;
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.02);
        }

        .bottom-nav-inner {
            display: flex;
            align-items: center;
            justify-content: space-around;
            max-width: 500px;
            margin: 0 auto;
            height: 100%;
        }

        .bottom-nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            color: var(--text-light);
            font-size: 12px;
            transition: color 0.2s;
            gap: 4px;
            position: relative;
        }

        .bottom-nav-item i {
            font-size: 22px;
        }

        .bottom-nav-item.active {
            color: var(--accent-blue);
        }

        .bottom-nav-item span {
            font-weight: 400;
            font-size: 11px;
        }

        .bottom-nav-badge {
            position: absolute;
            top: -2px;
            right: -8px;
            background: var(--danger);
            color: white;
            font-size: 10px;
            min-width: 16px;
            height: 16px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 4px;
            border: 1px solid white;
        }

        /* ===== МОДАЛЬНОЕ ОКНО ===== */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.5);
            z-index: 1001;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(4px);
        }

        .modal.active {
            display: flex;
        }

        .modal-content {
            background: white;
            border-radius: 24px;
            max-width: 500px;
            width: 90%;
            max-height: 80vh;
            overflow-y: auto;
            padding: 24px;
            position: relative;
            border: 1px solid var(--border-light);
            animation: modalSlide 0.3s ease;
        }

        @keyframes modalSlide {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .modal-close {
            position: absolute;
            top: 16px;
            right: 16px;
            background: none;
            border: none;
            font-size: 20px;
            color: var(--text-light);
            cursor: pointer;
        }

        /* Toast */
        .toast {
            position: fixed;
            bottom: calc(var(--bottom-nav-height) + 20px);
            left: 50%;
            transform: translateX(-50%);
            background: var(--text-primary);
            color: white;
            padding: 12px 24px;
            border-radius: 30px;
            font-size: 14px;
            font-weight: 400;
            z-index: 1002;
            opacity: 0;
            transition: opacity 0.3s;
            box-shadow: var(--shadow-lg);
            white-space: nowrap;
        }

        .toast.show {
            opacity: 1;
        }

        /* ===== МЕДИА-ЗАПРОСЫ ===== */
        @media (min-width: 1024px) {
            .product-grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        @media (max-width: 1023px) {
            .sidebar {
                display: none;
            }
            
            .catalog-content {
                margin-left: 0;
            }
            
            .mobile-filter-btn {
                display: flex;
            }
            
            .product-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        /* Mobile & small tablets: always 2 cards in a row */
        @media (max-width: 900px) {
            .product-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
            .product-card {
                min-width: 0;
            }
        }

        @media (max-width: 767px) {
            body {
                padding: 0;
            }
            
            .header {
                padding: 0 12px;
            }
            
            .desktop-nav {
                display: none;
            }
            
            .search-wrapper {
                display: none;
            }
            
            .breadcrumbs {
                padding: 12px;
            }
            
            .catalog-container {
                padding: 0 12px 20px;
            }
            
            .catalog-header {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .catalog-controls {
                width: 100%;
                justify-content: space-between;
            }
            
            .product-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 8px;
            }
            
            .product-card {
                padding: 12px;
            }
            
            .product-grid.list-view .product-card {
                flex-direction: column;
                gap: 12px;
            }
            
            .product-grid.list-view .product-image {
                width: 100%;
            }
            
            .footer {
                padding-bottom: calc(var(--bottom-nav-height) + 20px);
            }
            
            .bottom-nav {
                display: block;
            }
            
            .footer-links {
                margin-top: 16px;
                width: 100%;
            }
            
            .pagination {
                flex-wrap: wrap;
            }
        }

        @media (max-width: 380px) {
            .product-card {
                padding: 8px;
            }
            .current-price {
                font-size: 16px;
            }
            .product-title {
                font-size: 13px;
            }
        }

        /* Анимации */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .fade-in {
            animation: fadeIn 0.5s ease;
        }

        /* Стили для выпадающих списков в мобильном меню */
        .mobile-filter-section {
            margin-bottom: 20px;
        }

        .mobile-filter-section summary {
            font-weight: 500;
            padding: 12px 0;
            cursor: pointer;
            list-style: none;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1px solid var(--border-light);
        }

        .mobile-filter-section summary::-webkit-details-marker {
            display: none;
        }

        .mobile-filter-section summary i {
            transition: transform 0.2s;
            color: var(--text-light);
        }

        .mobile-filter-section[open] summary i {
            transform: rotate(180deg);
        }

        .mobile-filter-content {
            padding: 16px 0;
        }
