/* static/css/catalog.css */
.catalog {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 1.5rem;
    padding: 1rem 0 2rem;
}

/* Filters sidebar */
.filters {
    background: #141414;
    border-radius: 12px;
    border: 1px solid #1e1e1e;
    padding: 1.25rem;
    height: fit-content;
    position: sticky;
    top: 120px;
}
.filters__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.filters__title { font-size: 1rem; font-weight: 600; color: #fff; }
.filters__close {
    display: none;
    background: none; border: none; color: #888;
    font-size: 1.5rem; cursor: pointer;
}
.filters__form { display: flex; flex-direction: column; gap: 1rem; }

.filter-group {}
.filter-label {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 0.4rem;
    font-weight: 500;
}
.filter-select {
    width: 100%;
    padding: 0.45rem 0.6rem;
    background: #1a1a1a;
    border: 1px solid #2d2d2d;
    border-radius: 6px;
    color: #fff;
    font-size: 0.85rem;
    outline: none;
    font-family: inherit;
}
.filter-select:focus { border-color: #6c5ce7; }
.filter-select option { background: #1a1a1a; }

.filter-input {
    width: calc(50% - 0.75rem);
    padding: 0.45rem 0.5rem;
    background: #1a1a1a;
    border: 1px solid #2d2d2d;
    border-radius: 6px;
    color: #fff;
    font-size: 0.85rem;
    outline: none;
}
.filter-input:focus { border-color: #6c5ce7; }
.filter-input--full { width: 100%; }

.filter-range {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.filter-range__sep { color: #555; }

.filter-services { display: flex; flex-direction: column; gap: 0.4rem; }
.filter-checkbox {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.85rem; color: #ccc; cursor: pointer;
}
.filter-checkbox input[type="checkbox"] {
    accent-color: #6c5ce7;
    width: 16px; height: 16px;
}

/* Toolbar */
.catalog__toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.catalog__count { color: #888; font-size: 0.9rem; }
.catalog__count strong { color: #fff; }

.btn--filter-toggle { display: none; }

.catalog__empty {
    text-align: center;
    padding: 3rem;
    color: #888;
}
.catalog__empty p { margin-bottom: 1rem; }

@media (max-width: 900px) {
    .catalog { grid-template-columns: 1fr; }
    .filters {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        z-index: 500;
        border-radius: 0;
        overflow-y: auto;
        padding: 1.5rem;
    }
    .filters.open { display: block; }
    .filters__close { display: block; }
    .btn--filter-toggle { display: inline-flex; }
}
