    /* Color Theme Variables */
    :root {
        --primary-dark: #3f475f;
        --accent-yellow: #ffe800;
        --secondary-dark: #2f3546;
        --black: #000;
        --white: #fff;
        --gray-light: #f8f9fa;
        --gray-medium: #6c757d;
        --gray-dark: #343a40;
        --border-color: #e9ecef;
        --shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
        --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
        --gray-bg: #3f475f;
        --primary-color: #000;

    }

    /* Animation Keyframes */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes slideInLeft {
        from {
            opacity: 0;
            transform: translateX(-50px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    @keyframes slideInRight {
        from {
            opacity: 0;
            transform: translateX(50px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    @keyframes pulse {
        0% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.05);
        }
        100% {
            transform: scale(1);
        }
    }

    /* Page Header */
    .page-header {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--gray-bg) 100%);
        padding: 100px 0;
        margin-bottom: 30px;
        color: var(--white);
        text-align: center;
        animation: fadeInUp 0.8s ease-out;
    }

    .page-header h1 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 10px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }

    .page-header p {
        font-size: 1.2rem;
        color: var(--accent-yellow);
        font-weight: 500;
    }

    /* Main Content */
    .main-content {
        margin-top: 30px;
    }

    /* Category Sidebar */
    .category-sidebar {
        background: var(--white);
        border-radius: 15px;
        padding: 25px;
        box-shadow: var(--shadow);
        animation: slideInLeft 0.8s ease-out;
        height: fit-content;
        position: sticky;
        top: 100px;
    }

    .category-sidebar h3 {
        color: var(--primary-dark);
        font-size: 1.8rem;
        font-weight: 700;
        margin-bottom: 20px;
        text-align: center;
        padding-bottom: 15px;
        border-bottom: 3px solid var(--accent-yellow);
    }

    .category-list {
        list-style: none;
        padding: 0;
    }

    .category-item {
        margin-bottom: 15px;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: var(--shadow);
        transition: all 0.3s ease;
    }

    .category-item:hover {
        transform: translateX(5px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .category-link {
        display: block;
        padding: 15px 20px;
        background: var(--gray-light);
        color: var(--primary-dark);
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
        border-left: 4px solid transparent;
        position: relative;
    }

    .category-link:hover {
        background: var(--accent-yellow);
        color: var(--black);
        border-left-color: var(--primary-dark);
        text-decoration: none;
    }

    .category-link.active {
        background: var(--primary-dark);
        color: var(--white);
        border-left-color: var(--accent-yellow);
    }

    .category-link .product-count {
        float: right;
        background: var(--accent-yellow);
        color: var(--black);
        padding: 2px 8px;
        border-radius: 12px;
        font-size: 0.8rem;
        font-weight: 600;
    }

    .category-link.active .product-count {
        background: var(--accent-yellow);
        color: var(--black);
    }

    .subcategory-list {
        background: var(--white);
        border-top: 1px solid var(--border-color);
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .subcategory-item {
        border-bottom: 1px solid var(--border-color);
    }

    .subcategory-item:last-child {
        border-bottom: none;
    }

    .subcategory-link {
        display: block;
        padding: 12px 30px;
        color: var(--gray-medium);
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
        border-left: 3px solid transparent;
    }

    .subcategory-link:hover {
        background: var(--gray-light);
        color: var(--primary-dark);
        border-left-color: var(--accent-yellow);
        padding-left: 35px;
        text-decoration: none;
    }

    /* Filter Section */
    .filter-section {
        background: var(--white);
        border-radius: 15px;
        padding: 25px;
        margin-bottom: 20px;
        box-shadow: var(--shadow);
        animation: slideInRight 0.8s ease-out;
    }

    .filter-header {
        text-align: center;
        margin-bottom: 25px;
        padding-bottom: 15px;
        border-bottom: 2px solid var(--accent-yellow);
    }

    .filter-header h3 {
        color: var(--primary-dark);
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 5px;
    }

    .filter-header p {
        color: var(--gray-medium);
        font-size: 1rem;
    }

    .filter-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
        margin-bottom: 20px;
    }

    .filter-group {
        display: flex;
        flex-direction: column;
    }

    .filter-group label {
        font-weight: 600;
        color: var(--primary-dark);
        margin-bottom: 5px;
        font-size: 0.9rem;
    }

    .filter-input,
    .filter-select {
        width: 100%;
        padding: 10px 12px;
        border: 2px solid var(--border-color);
        border-radius: 8px;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        background: var(--white);
    }

    .filter-input:focus,
    .filter-select:focus {
        outline: none;
        border-color: var(--accent-yellow);
        box-shadow: 0 0 0 3px rgba(255, 232, 0, 0.2);
    }

    .filter-buttons {
        display: flex;
        gap: 10px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .btn {
        padding: 10px 25px;
        border: none;
        border-radius: 8px;
        font-size: 0.9rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
        display: inline-block;
        text-align: center;
    }

    .btn-primary {
        background: var(--accent-yellow);
        color: var(--black);
        border: 2px solid var(--accent-yellow);
    }

    .btn-primary:hover {
        background: var(--black);
        color: var(--accent-yellow);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .btn-secondary {
        background: transparent;
        color: var(--primary-dark);
        border: 2px solid var(--primary-dark);
    }

    .btn-secondary:hover {
        background: var(--primary-dark);
        color: var(--white);
        transform: translateY(-2px);
        text-decoration: none;
    }

    /* Listings Grid */
    .listings-grid {
        animation: slideInRight 0.8s ease-out;
    }

    .listings-grid-header {
        background: var(--white);
        border-radius: 10px;
        padding: 20px;
        margin-bottom: 20px;
        box-shadow: var(--shadow);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .listings-grid-header h3 {
        color: var(--primary-dark);
        font-size: 1.5rem;
        font-weight: 700;
        margin: 0;
    }

    .listing-count {
        background: var(--accent-yellow);
        color: var(--black);
        padding: 8px 16px;
        border-radius: 20px;
        font-weight: 600;
        font-size: 0.9rem;
    }

    .listings-container {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }

    .listing-card {
        background: var(--white);
        border-radius: 15px;
        overflow: hidden;
        box-shadow: var(--shadow);
        transition: all 0.3s ease;
        position: relative;
        border: 2px solid transparent;
    }

    .listing-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
        border-color: var(--accent-yellow);
    }

    .listing-image {
        width: 100%;
        height: 200px;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .listing-card:hover .listing-image {
        transform: scale(1.05);
    }

    .listing-info {
        padding: 20px;
    }

    .listing-title {
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--primary-dark);
        margin-bottom: 10px;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .listing-price {
        font-size: 1.4rem;
        font-weight: 800;
        color: var(--accent-yellow);
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
        margin-bottom: 15px;
    }

    .listing-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.9rem;
        color: var(--gray-medium);
    }

    .listing-location {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .listing-date {
        font-weight: 500;
    }

    /* No Results */
    .no-results {
        text-align: center;
        padding: 80px 20px;
        background: var(--white);
        border-radius: 15px;
        box-shadow: var(--shadow);
    }

    .no-results-icon {
        font-size: 4rem;
        color: var(--gray-medium);
        margin-bottom: 20px;
        animation: pulse 2s infinite;
    }

    .no-results h3 {
        color: var(--primary-dark);
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .no-results p {
        color: var(--gray-medium);
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .no-results .btn {
        animation: pulse 2s infinite;
    }

    /* Responsive Design */
    @media (max-width: 768px) {
        .col-3,
        .col-9 {
            width: 100%;
            margin-bottom: 20px;
        }

        .filter-grid {
            grid-template-columns: 1fr;
        }

        .filter-buttons {
            flex-direction: column;
            align-items: center;
        }

        .btn {
            width: 100%;
            max-width: 300px;
        }

        .listings-grid-header {
            flex-direction: column;
            gap: 15px;
            text-align: center;
        }

        .listings-container {
            grid-template-columns: 1fr;
        }

        .category-sidebar {
            position: static;
            margin-bottom: 20px;
        }

        .page-header h1 {
            font-size: 2rem;
        }

        .page-header p {
            font-size: 1rem;
        }
    }

    @media (max-width: 480px) {
        .filter-group {
            margin-bottom: 15px;
        }

        .listing-card {
            margin-bottom: 15px;
        }

        .listing-info {
            padding: 15px;
        }
    }

    /* Loading Animation */
    .loading {
        text-align: center;
        padding: 50px;
    }

    .loading-spinner {
        border: 4px solid var(--border-color);
        border-top: 4px solid var(--accent-yellow);
        border-radius: 50%;
        width: 50px;
        height: 50px;
        animation: spin 1s linear infinite;
        margin: 0 auto 20px;
    }

    @keyframes spin {
        0% {
            transform: rotate(0deg);
        }
        100% {
            transform: rotate(360deg);
        }
    }

    /* Utility Classes */
    .text-center {
        text-align: center;
    }

    .mb-3 {
        margin-bottom: 1rem;
    }

    .mb-4 {
        margin-bottom: 1.5rem;
    }

    .mt-4 {
        margin-top: 1.5rem;
    }

    .d-none {
        display: none;
    }

    .d-block {
        display: block;
    }