/* Basic styles for the search box and results */
ul.wps-product-results {
    list-style-type: none;
    padding: 20px;
    margin: 0px;
}

div#search-results li a {
    font-size: 17px;
    padding: 0;
}

.wps-cat-title {
    font-size: 20px;
    font-weight: bold;
    padding: 0px 20px;
    font-family: 'Avigea', sans-serif;
    font-size: clamp(1.25rem, 0.8929rem + 0.558vw, 1.5625rem);
    font-weight: 400;
}

ul.wps-cat-results {
    list-style-type: none;
    padding: 0px 20px;
}
#search-results li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

a#wps-expand {
    font-family: 'Avigea', sans-serif;
    font-size: clamp(1.25rem, 0.8929rem + 0.558vw, 1.5625rem);
    font-weight: 400;
    color:#000;
    padding: 0px 20px;
}
.wps-cat-hidden { display: none; }

.wps-expand-link {
    display: block;
    margin: 8px 0 0;
    font-weight: 600;
    cursor: pointer;
    color: #0073aa;
}

a.show-all-button.header-contact {
    width: 80%;
    margin: 20px auto;
}
#search-results li a:hover {
    color: #bf3449;
}
div#search-results li a {
    font-size: 17px;
    padding:0px;
}

#custom-search-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
}

#search-results {
    list-style-type: none;
    padding: 0;
    margin: 0;
    max-height: auto;
    overflow-y: auto;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    border-radius: 5px;
}

#search-results li {
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

#search-results li a {
    text-decoration: none;
    color: #333;
}

#search-results li a:hover {
    color: #0073aa;
}

#search-results .category {
    font-weight: bold;
    color: #555;
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px solid #ddd;
    padding:20px;
}

#search-results li:hover {
    background-color: #f5f5f5;
}

/* Spinner Styles */
.spinner {
    width: 30px;
    height: 30px;
    border: 4px solid #f3f3f3; /* Light grey */
    border-top: 4px solid #3498db; /* Blue */
    border-radius: 50%;
    animation: spin 2s linear infinite;
    margin-top: 10px;
    display: inline-block;
}

/* Animation for the spinner */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.show-all-button {
    display: block;
    padding: 10px;
    text-align: center;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
}

.show-all-button:hover {
    background-color: #005f8d;
}
/* Basic styles for the search box and results */
#custom-search-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
}


#search-results li {
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

#search-results li a {
    text-decoration: none;
    color: #333;
}

#search-results li a:hover {
    color: #0073aa;
}

#search-results .category {
    font-weight: bold;
    color: #555;
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px solid #ddd;
}

#search-results li:hover {
    background-color: #f5f5f5;
}

/* Spinner Styles */
.spinner {
    width: 30px;
    height: 30px;
    border: 4px solid #f3f3f3; /* Light grey */
    border-top: 4px solid #3498db; /* Blue */
    border-radius: 50%;
    animation: spin 2s linear infinite;
    margin-top: 10px;
    display: inline-block;
}

/* Animation for the spinner */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.show-all-button {
    display: block;
    padding: 10px;
    text-align: center;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
}

.show-all-button:hover {
    background-color: #005f8d;
}

/* Hide all categories initially */
.category-item {
    display: none;
}

/* Expand link style */
#expand-categories {
    color: #0073aa;
    cursor: pointer;
    text-decoration: underline;
}

#expand-categories:hover {
    color: #005f8d;
}

/* Show All Products Button */
.show-all-button {
    display: block;
    padding: 10px;
    text-align: center;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
}

.show-all-button:hover {
    background-color: #005f8d;
}










