/* section */
/* Page-specific styles */
        .cxj-page-hero {
            background: linear-gradient(135deg, var(--color-primary-900) 0%, var(--color-primary-700) 50%, var(--color-primary-800) 100%);
            color: #fff;
            padding: var(--space-24) 0 var(--space-20);
            position: relative;
            overflow: hidden;
        }

        .cxj-page-hero::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background-image: url('../../assets/bg/bg-pattern-tech.webp');
            background-size: cover;
            background-position: center;
            opacity: 0.1;
        }

        .cxj-page-hero::after {
            content: '';
            position: absolute;
            bottom: -30%;
            left: -5%;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(230, 0, 18, 0.08) 0%, transparent 70%);
            border-radius: 50%;
        }

        .cxj-page-hero > * {
            position: relative;
            z-index: 1;
        }

        .cxj-hero-content {
            position: relative;
            z-index: 1;
            text-align: center;
        }

        .cxj-hero-content h1 {
            color: #fff;
            font-size: var(--text-5xl);
            font-weight: 800;
            letter-spacing: -0.02em;
            margin-bottom: var(--space-4);
        }

        .cxj-hero-content p {
            color: rgba(255,255,255,0.8);
            font-size: var(--text-lg);
            margin-bottom: var(--space-6);
        }

        .cxj-breadcrumb {
            display: inline-flex;
            align-items: center;
            gap: var(--space-2);
            font-size: var(--text-sm);
            color: rgba(255,255,255,0.7);
        }

        .cxj-breadcrumb a { color: rgba(255,255,255,0.7); }
        .cxj-breadcrumb a:hover { color: #fff; }
        .cxj-breadcrumb .separator { opacity: 0.5; }
        .cxj-breadcrumb .current { color: #fff; font-weight: 500; }

        /* Sidebar category */
        .cxj-category-sidebar {
            position: sticky;
            top: 100px;
        }

        .cxj-category-title {
            position: relative;
            padding-bottom: var(--space-3);
            margin-bottom: var(--space-4);
        }

        .cxj-category-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 3px;
            background: linear-gradient(90deg, var(--cxj-primary), var(--color-primary-400));
            border-radius: 2px;
        }

        .cxj-category-group-title {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: var(--space-3) var(--space-4);
            font-weight: 600;
            font-size: var(--text-sm);
            color: var(--cxj-foreground);
            cursor: pointer;
            transition: all var(--transition-fast);
            border-radius: var(--radius-md);
        }

        .cxj-category-group-title:hover {
            background-color: var(--color-primary-50);
            color: var(--cxj-primary);
        }

        .cxj-category-group-title .cxj-category-icon {
            transition: transform var(--transition-fast);
        }

        .cxj-category-group.collapsed .cxj-category-icon {
            transform: rotate(-90deg);
        }

        .cxj-category-group.collapsed .cxj-category-children {
            display: none;
        }

        .cxj-category-children {
            margin-left: 12px;
            padding-left: 12px;
            padding-bottom: 8px;
            border-left: 1px solid rgba(148, 163, 184, 0.5);
        }

        .cxj-category-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
            padding: var(--space-2) var(--space-4);
            font-size: var(--text-sm);
            color: var(--cxj-muted-foreground);
            cursor: pointer;
            transition: all var(--transition-fast);
            border-radius: var(--radius-md);
            margin-bottom: 2px;
            position: relative;
        }

        .cxj-cat-subcount {
            flex-shrink: 0;
            padding: 1px 8px;
            border-radius: 999px;
            background: var(--cxj-background);
            color: var(--cxj-muted-foreground);
            font-size: 11px;
            font-weight: 500;
            line-height: 1.4;
            font-variant-numeric: tabular-nums;
            white-space: nowrap;
        }

        .cxj-cat-count {
            flex-shrink: 0;
            margin-left: auto;
            padding: 2px 8px;
            border-radius: 999px;
            background: var(--color-primary-50);
            color: var(--cxj-primary);
            font-size: 11px;
            font-weight: 600;
            line-height: 1.4;
            font-variant-numeric: tabular-nums;
        }

        .cxj-category-item::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 3px;
            height: 0;
            background-color: var(--cxj-accent);
            border-radius: 0 2px 2px 0;
            transition: height var(--transition-fast);
        }

        .cxj-category-item:hover {
            color: var(--cxj-primary);
            background-color: var(--color-primary-50);
            padding-left: var(--space-5);
        }

        .cxj-category-item.active {
            background-color: var(--cxj-primary);
            color: white;
            font-weight: 500;
        }

        .cxj-category-item.active::before {
            height: 60%;
        }

        .cxj-category-item:hover::before {
            height: 40%;
        }

        /* Filter bar */
        .cxj-filter-bar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: var(--space-4) var(--space-6);
            background-color: var(--cxj-card);
            border-radius: var(--radius-lg);
            border: 1px solid var(--cxj-border);
            margin-bottom: var(--space-6);
        }

        .cxj-sort-select {
            display: flex;
            align-items: center;
            gap: var(--space-2);
        }

        .cxj-sort-btn {
            padding: var(--space-2) var(--space-4);
            font-size: var(--text-sm);
            color: var(--cxj-muted-foreground);
            background: transparent;
            border: none;
            cursor: pointer;
            border-radius: var(--radius-md);
            transition: all var(--transition-fast);
        }

        .cxj-sort-btn:hover {
            color: var(--cxj-primary);
            background-color: var(--color-primary-50);
        }

        .cxj-sort-btn.active {
            color: var(--cxj-primary);
            background-color: var(--color-primary-50);
            font-weight: 500;
        }

        .cxj-view-toggle {
            display: flex;
            gap: 2px;
            padding: 2px;
            background-color: var(--cxj-muted);
            border-radius: var(--radius-md);
        }

        .cxj-view-btn {
            padding: var(--space-2);
            background: transparent;
            border: none;
            cursor: pointer;
            border-radius: var(--radius-sm);
            color: var(--cxj-muted-foreground);
            transition: all var(--transition-fast);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .cxj-view-btn.active {
            background-color: white;
            color: var(--cxj-primary);
            box-shadow: var(--shadow-sm);
        }

        /* Product card */
        .cxj-product-card {
            background-color: var(--cxj-card);
            border: 1px solid var(--cxj-border);
            border-radius: var(--radius-lg);
            overflow: hidden;
            transition: all var(--transition-base);
            position: relative;
            display: flex;
            flex-direction: column;
        }

        .cxj-product-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--cxj-primary), var(--color-primary-400), transparent);
            z-index: 2;
        }

        .cxj-product-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-xl);
            border-color: var(--color-primary-200);
        }

        .cxj-product-image {
            position: relative;
            height: 200px;
            background: linear-gradient(135deg, var(--color-primary-50) 0%, var(--color-gray-100) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .cxj-product-image svg {
            width: 120px;
            height: 120px;
            opacity: 0.6;
            transition: all var(--transition-base);
        }

        .cxj-product-card:hover .cxj-product-image svg {
            transform: scale(1.1);
            opacity: 0.8;
        }

        .cxj-product-badge {
            position: absolute;
            top: var(--space-3);
            right: var(--space-3);
            z-index: 3;
        }

        .cxj-product-badge .badge {
            font-size: 11px;
            padding: 3px 8px;
        }

        .cxj-product-info {
            padding: var(--space-5);
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .cxj-product-category {
            font-size: var(--text-xs);
            color: var(--cxj-primary);
            font-weight: 500;
            margin-bottom: var(--space-2);
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .cxj-product-name {
            font-size: var(--text-base);
            font-weight: 700;
            color: var(--cxj-foreground);
            margin-bottom: var(--space-3);
            line-height: var(--leading-snug);
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .cxj-product-desc {
            font-size: var(--text-sm);
            color: var(--cxj-muted-foreground);
            margin-bottom: var(--space-4);
            line-height: var(--leading-normal);
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .cxj-product-meta {
            flex: 1;
            margin-bottom: var(--space-4);
        }

        .cxj-product-meta-item {
            display: flex;
            font-size: var(--text-xs);
            color: var(--cxj-muted-foreground);
            margin-bottom: var(--space-1);
        }

        .cxj-product-meta-item span:first-child {
            flex-shrink: 0;
            width: 60px;
            color: var(--color-gray-400);
        }

        .cxj-product-meta-item span:last-child {
            flex: 1;
            color: var(--color-gray-600);
        }

        .cxj-product-action {
            opacity: 0;
            transform: translateY(10px);
            transition: all var(--transition-base);
        }

        .cxj-product-card:hover .cxj-product-action {
            opacity: 1;
            transform: translateY(0);
        }

        .cxj-product-action .btn {
            width: 100%;
        }

        /* Pagination */
        .cxj-pagination {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: var(--space-2);
            margin-top: var(--space-12);
        }

        .cxj-page-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 40px;
            height: 40px;
            padding: 0 var(--space-3);
            font-size: var(--text-sm);
            font-weight: 500;
            color: var(--cxj-muted-foreground);
            background-color: var(--cxj-card);
            border: 1px solid var(--cxj-border);
            border-radius: var(--radius-md);
            cursor: pointer;
            transition: all var(--transition-fast);
        }

        .cxj-page-btn:hover:not(:disabled) {
            color: var(--cxj-primary);
            border-color: var(--cxj-primary);
            background-color: var(--color-primary-50);
        }

        .cxj-page-btn.active {
            background-color: var(--cxj-primary);
            color: white;
            border-color: var(--cxj-primary);
            box-shadow: 0 4px 12px -2px rgb(10 77 162 / 0.30);
        }

        .cxj-page-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .cxj-page-ellipsis {
            color: var(--cxj-muted-foreground);
            padding: 0 var(--space-2);
        }

        /* Dark mode styles */
        @media (prefers-color-scheme: dark) {
            .cxj-filter-bar {
                background-color: var(--cxj-card);
            }
            .cxj-product-image {
                background: linear-gradient(135deg, var(--color-gray-800) 0%, var(--color-gray-900) 100%);
            }
            .cxj-category-group-title:hover {
                background-color: var(--color-gray-800);
            }
            .cxj-category-item:hover {
                background-color: var(--color-gray-800);
            }
            .cxj-sort-btn:hover {
                background-color: var(--color-gray-800);
            }
            .cxj-sort-btn.active {
                background-color: var(--color-primary-900);
            }
            .cxj-page-btn {
                background-color: var(--cxj-card);
            }
        }

        /* Responsive */
        @media (max-width: 768px) {
            .cxj-filter-bar {
                flex-direction: column;
                gap: var(--space-4);
                align-items: stretch;
            }
        }

        /* Stagger animation for products */
        .cxj-product-grid .cxj-product-card {
            opacity: 0;
            animation: fadeInUp 0.6s var(--ease-out-quart) forwards;
        }

        .cxj-product-grid .cxj-product-card:nth-child(1) { animation-delay: 0.05s; }
        .cxj-product-grid .cxj-product-card:nth-child(2) { animation-delay: 0.1s; }
        .cxj-product-grid .cxj-product-card:nth-child(3) { animation-delay: 0.15s; }
        .cxj-product-grid .cxj-product-card:nth-child(4) { animation-delay: 0.2s; }
        .cxj-product-grid .cxj-product-card:nth-child(5) { animation-delay: 0.25s; }
        .cxj-product-grid .cxj-product-card:nth-child(6) { animation-delay: 0.3s; }
        .cxj-product-grid .cxj-product-card:nth-child(7) { animation-delay: 0.35s; }
        .cxj-product-grid .cxj-product-card:nth-child(8) { animation-delay: 0.4s; }
        .cxj-product-grid .cxj-product-card:nth-child(9) { animation-delay: 0.45s; }
        .cxj-product-grid .cxj-product-card:nth-child(10) { animation-delay: 0.5s; }
        .cxj-product-grid .cxj-product-card:nth-child(11) { animation-delay: 0.55s; }
        .cxj-product-grid .cxj-product-card:nth-child(12) { animation-delay: 0.6s; }
