/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* Add this to your mhp-utilities-custom.css */

#price-filter-form {
    margin-bottom: 20px;
}

#price-filter-form label {
    display: block;
    margin-bottom: 5px;
}

#price-filter-form button {
    margin-top: 10px;
    padding: 5px 10px;
}

/* Ensure the parent container is positioned relative */
#products-grid {
    position: relative;
}

/* Spinner container */
#products-grid-spinner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7); /* Semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999; /* Ensure it's on top */
}

/* Spinner animation */
#products-grid-spinner .spinner {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

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