
.wc-us-location-filter-container {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 30px;
}

.wc-location-filter-form h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
}

.filter-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-field {
    flex: 1;
    min-width: 200px;
}

.filter-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #555;
}

.filter-field select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.filter-field button {
    padding: 10px 20px;
    margin-right: 10px;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background-color 0.3s;
}

#filter-products-btn {
    background: #0073aa;
    color: white;
}

#filter-products-btn:hover {
    background: #005a87;
}

#reset-filter-btn {
    background: #666;
    color: white;
}

#reset-filter-btn:hover {
    background: #444;
}

.wc-filtered-products {
    margin-top: 30px;
}

.wc-location-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.select-location-message {
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
}

.wc-no-products-found {
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 16px;
}

.loading-spinner {
    text-align: center;
    padding: 40px;
}

.loading-spinner:after {
    content: '⏳';
    font-size: 32px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .filter-row {
        flex-direction: column;
    }
    
    .filter-field {
        width: 100%;
    }
    
    .wc-location-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}
