/* Kaskadowy wybór kategorii — poziomy obok siebie, separator › */

.category-cascade {
    min-width: 0;
}

.category-cascade__inner {
    min-width: 0;
}

.category-cascade__levels {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 6px;
}

.category-cascade__step {
    display: flex;
    align-items: center;
    min-width: 0;
}

.category-cascade__select {
    min-width: min(100%, 11.5rem);
    max-width: 100%;
    font-size: 15px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.85);
    background: #fff;
    color: #0f172a;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.category-cascade__select:hover {
    border-color: rgba(100, 116, 139, 0.95);
}

.category-cascade__select:focus {
    outline: none;
    border-color: rgba(82, 82, 91, 0.75);
    box-shadow: 0 0 0 3px rgba(82, 82, 91, 0.15);
}

.category-cascade__sep {
    flex-shrink: 0;
    color: var(--muted, #64748b);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1;
    user-select: none;
    padding: 0 1px;
}

.category-cascade__hint {
    margin: 8px 0 0;
    font-size: 13px;
    color: #b45309;
}

.filters__field--cascade {
    flex: 1 1 100%;
    min-width: min(100%, 320px);
}

@media (min-width: 641px) {
    .filters__field--cascade {
        flex: 1.4 1 280px;
    }
}

.form-grid .category-cascade {
    margin-top: 4px;
}

.form-grid .category-cascade__levels {
    gap: 10px 8px;
}

.form-grid .category-cascade__select {
    min-width: min(100%, 14rem);
}
