/* UPRO Filters Styles */
.upro-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: nowrap;
    padding: 15px 0;
    background: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.upro-filters__item {
    flex: 1;
    min-width: 0;
    /* Allow shrinking */
}

.upro-filters__item select {
    width: 100%;
    height: 44px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0 12px;
    background-color: #fff;
    font-size: 14px;
    color: #444;
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8.825L1.175 4 2.238 2.938 6 6.7l3.763-3.763L10.825 4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.upro-filters__item select:hover {
    border-color: rgba(0, 0, 0, 0.2);
}

.upro-filters__item select:focus {
    border-color: var(--theme-accent-color, #0073aa);
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.05);
    outline: none;
}

.upro-filters__item--reset {
    flex: 0 0 auto;
    min-width: fit-content;
}

#upro_reset_filters {
    height: 44px;
    padding: 0 20px;
    background: #f0f0f0;
    color: #333;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

#upro_reset_filters:hover {
    background: #e5e5e5;
    border-color: rgba(0, 0, 0, 0.2);
}

#upro-ajax-container {
    transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
    .upro-filters {
        flex-wrap: wrap;
    }

    .upro-filters__item {
        flex: 1 1 calc(50% - 10px);
        min-width: 140px;
    }
}

@media (max-width: 480px) {
    .upro-filters__item {
        flex: 1 1 100%;
    }
}
