    /* Categories Page Specific Styles */
        :root {
            --primary: #2563eb;
            --primary-dark: #1e40af;
            --secondary: #64748b;
            --accent: #f59e0b;
            --success: #10b981;
            --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
            --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
            --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
            --navbar-height: 76px;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            color: #1e293b;
            background: #f8fafc;
            overflow-x: hidden;
            padding-top: var(--navbar-height);
        }

        /* Navbar */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            backdrop-filter: blur(10px);
            background: rgba(255,255,255,0.95) !important;
            border-bottom: 1px solid #e2e8f0;
            padding: 1rem 0;
            transition: all 0.3s ease;
            z-index: 1030;
        }

        .navbar-brand {
            font-weight: 700;
            font-size: 1.5rem;
            color: var(--primary) !important;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .navbar-brand img {
            transition: transform 0.3s ease;
        }

        .navbar-brand:hover img {
            transform: scale(1.1) rotate(5deg);
        }

        .nav-link {
            font-weight: 500;
            color: #64748b !important;
            padding: 0.5rem 1rem !important;
            transition: color 0.3s ease;
            position: relative;
        }

        .nav-link:hover {
            color: var(--primary) !important;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 2px;
            background: var(--primary);
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        .nav-link:hover::after {
            width: 80%;
        }

        /* Page Container */
        .page-container {
            display: flex;
            min-height: calc(100vh - var(--navbar-height));
            max-width: 1800px;
            margin: 0 auto;
        }

        /* Sidebar */
        .sidebar {
            width: 280px;
            flex-shrink: 0;
            background: #fff;
            border-right: 1px solid #e2e8f0;
            position: sticky;
            top: var(--navbar-height);
            height: calc(100vh - var(--navbar-height));
            overflow-y: auto;
            padding: 1.5rem;
            transition: transform 0.3s ease;
        }

        .sidebar::-webkit-scrollbar {
            width: 6px;
        }

        .sidebar::-webkit-scrollbar-track {
            background: #f1f5f9;
        }

        .sidebar::-webkit-scrollbar-thumb {
            background: #cbd5e1;
            border-radius: 3px;
        }

        .sidebar::-webkit-scrollbar-thumb:hover {
            background: #94a3b8;
        }

        /* Main Content */
        .main-content {
            flex: 1;
            padding: 2rem;
            min-width: 0;
        }

        /* Page Title */
        .main-content h2 {
            font-size: 2rem;
            font-weight: 700;
            color: #1e293b;
            margin-bottom: 1.5rem;
            position: relative;
            padding-bottom: 0.5rem;
        }

        .main-content h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 4px;
            background: var(--gradient-1);
            border-radius: 2px;
        }

        .main-content h2 small {
            font-weight: 400;
            color: #64748b;
            font-size: 0.875rem;
        }

        /* Results Badge */
        .results-badge {
            background: var(--accent);
            color: white !important;
            padding: 0.125rem 0.5rem;
            border-radius: 12px;
            font-size: 0.7rem;
            font-weight: 700;
            margin-left: 0.5rem;
            display: inline-block;
            min-width: 20px;
            text-align: center;
            box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
            position: relative;
            top: -2px;
        }

        .filter-group {
            margin-bottom: 1.5rem;
        }

        .filter-group label {
            font-weight: 600;
            font-size: 0.875rem;
            color: #334155;
            margin-bottom: 0.5rem;
            display: block;
        }

        .filter-group .form-control,
        .filter-group .form-select {
            border-radius: 8px;
            border: 1px solid #e2e8f0;
            padding: 0.625rem 0.875rem;
            font-size: 0.9rem;
            transition: all 0.2s ease;
        }

        .filter-group .form-control:focus,
        .filter-group .form-select:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        }

        /* Sidebar Overlay */
        .sidebar-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1025;
            backdrop-filter: blur(2px);
        }

        .sidebar-overlay.show {
            display: block;
        }

        /* Mobile Filter Toggle */
        .mobile-filter-toggle {
            display: none;
        }

        /* Toggle Sidebar */
        .toggle-sidebar {
            display: none;
        }

        .popular-ads-section {
            background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
            padding: 3rem 2rem;
            border-radius: 24px;
            margin-top: 4rem;
            margin-left: -2rem;
            margin-right: -2rem;
        }

        .popular-ads-section h3 {
            text-align: center;
            margin-bottom: 3rem;
            position: relative;
        }

        .popular-ads-section h3::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 4px;
            background: var(--gradient-1);
            border-radius: 2px;
        }

        .empty-state {
            padding: 3rem 1rem;
            text-align: center;
        }

        .empty-state i {
            opacity: 0.5;
            margin-bottom: 1.5rem;
        }

        /* Ads List View */
        .listings-list {
            display: flex;
            flex-direction: column;
            gap: 1.25rem;
        }

        .listing-list-item {
            display: flex;
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: all 0.3s ease;
            border: 1px solid #f1f5f9;
            cursor: pointer;
        }

        .listing-list-item:hover {
            box-shadow: var(--shadow-md);
            transform: translateY(-2px);
            border-color: #e2e8f0;
        }

        .listing-list-image, .ad-list-image {
            width: 120px;
            height: 90px;
            flex-shrink: 0;
            background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .listing-list-image img, .ad-list-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .listing-list-content {
            flex: 1;
            padding: 1rem;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .listing-list-title {
            font-weight: 600;
            font-size: 1rem;
            margin-bottom: 0.25rem;
            color: #1e293b;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .listing-list-description {
            color: #64748b;
            font-size: 0.85rem;
            line-height: 1.4;
            margin-bottom: 0.5rem;
            display: -webkit-box;
            line-clamp: 2;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* Price Badge */
        .price {
            background: var(--accent);
            color: white !important;
            padding: 0.3rem 0.5rem !important;
            border-radius: 10px !important;
            font-weight: 700;
            font-size: 0.75rem !important;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
            display: inline-block;
        }

        /* Image Count Badge */
        .image-badge {
            position: absolute;
            top: 8px;
            right: 8px;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.25rem;
            z-index: 1;
        }

        .image-badge i {
            font-size: 0.8rem;
        }

        @media (max-width: 991px) {
            .page-container {
                flex-direction: column;
            }

            .sidebar {
                position: fixed;
                top: 0;
                left: 0;
                width: 320px;
                height: 100vh;
                z-index: 1030;
                transform: translateX(-100%);
                border-right: none;
                box-shadow: none;
                padding-top: calc(var(--navbar-height) + 1rem);
            }

            .sidebar.show {
                transform: translateX(0);
                box-shadow: var(--shadow-lg);
            }

            .main-content {
                padding: 1.5rem 1rem;
            }

            .popular-ads-section {
                margin-left: -1rem;
                margin-right: -1rem;
                padding-left: 1rem;
                padding-right: 1rem;
            }

            .toggle-sidebar {
                display: block;
            }

            .mobile-filter-toggle {
                display: flex;
                align-items: center;
                justify-content: center;
                position: fixed;
                bottom: 1.5rem;
                right: 1.5rem;
                z-index: 1020;
                width: 56px;
                height: 56px;
                border-radius: 50%;
                background: var(--gradient-1);
                color: white;
                border: none;
                box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
                font-size: 1.25rem;
            }

            .mobile-filter-toggle:hover {
                transform: scale(1.05);
            }
        }

        @media (max-width: 575px) {
            .main-content {
                padding: 1rem 0.75rem;
            }

            .popular-ads-section {
                margin-left: -0.75rem;
                margin-right: -0.75rem;
                padding-left: 0.75rem;
                padding-right: 0.75rem;
            }
        }

        /* Loading state for search */
        .search-loading {
            position: relative;
        }

        .search-loading::after {
            content: '';
            position: absolute;
            right: 1rem;
            top: 50%;
            transform: translateY(-50%);
            width: 16px;
            height: 16px;
            border: 2px solid #e2e8f0;
            border-top: 2px solid var(--primary);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            display: none;
        }

        .search-loading.loading::after {
            display: block;
        }

        @keyframes spin {
            0% { transform: translateY(-50%) rotate(0deg); }
            100% { transform: translateY(-50%) rotate(360deg); }
        }
