/* New layout styles */
.catalog-container {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.filter-sidebar {
    flex: 0 0 300px;
    position: sticky;
    /* top: 120px; */
    height: fit-content;
    /* max-height: calc(100vh - 140px); */
    overflow-y: auto;
    margin-top: 2rem;
}

.products-main {
    flex: 1;
}


.filter-toggle-container {
    display: flex;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .catalog-container {
        flex-direction: column;
    }

    .filter-sidebar {
        flex: 0 0 auto;
        position: static;
        max-height: none;
    }

    .filter-toggle-container {
        display: block;
        margin-bottom: 1rem;
    }

    .filter-sidebar.collapsed {
        display: none;
    }
}

.search-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 600px;
    background: rgba(0, 0, 0, 0.4);
    /* glassy background */
    border-radius: 0.75rem;
    /* pill shape */
    padding: 0.5rem 0.5rem;
    backdrop-filter: blur(6px);
    /* frosted effect */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 1rem;
    padding: 0.5rem 0.5rem;
    outline: none;
}

.search-input::placeholder {
    color: #ddd;
}

.search-btn {
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 0.75rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
    padding: 1rem 1rem;
}

.search-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.category-item {
    display: flex;
    text-align: center;
    align-items: center;
}

@media (min-width: 1024px) {
    .service-card-header {
        gap: 0rem;
    }

    .service-card {
        padding: 0.9rem;
    }

    .service-card {
        background: white;
        border-radius: 1rem;
        padding: 1.1rem;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        height: 280px;
        border: 1px solid var(--neutral-200);
        position: relative;
        overflow: hidden;
    }

    .service-card-header {
        display: grid;
        grid-template-columns: 1fr auto;
        /* gap: 0.5rem; */
        margin-bottom: 1rem;
        min-height: 60px;
    }
}