/* Overlay styles */
.blur {
    filter: blur(5px); /* Adjust the blur amount as needed */
    transition: filter 0.3s ease; /* Smooth transition for the blur effect */
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 116, 190, 0.5); /* Semi-transparent background */
    z-index: 10; /* Below the suggestions but above everything else */
    display: none; /* Hidden by default */
}

/* Show the overlay when active */
.overlay.active {
    display: block; /* Show when active */
}

/* Product suggestions styling */
.product-suggestions {
    z-index: 11; /* Ensure this is above the overlay */
    display: none; /* Hide by default */
    position: absolute;
    top: 70px;
    left: 0;
    background-color: white;
    border: 1px solid #ccc;
    width: 100%;
    overflow-y: auto;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    font-size: 16px;
}

.product-suggestions.active {
    display: block; /* Show when active */
}

.product-suggestions a {
	width:100%;
	padding:10px;
}

.product-suggestions .suggestion {
	padding:0px;
}

.product-suggestions .suggestion {
    cursor: pointer;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.product-suggestions .suggestion:last-child {
    border-bottom: none;
}

.product-suggestions .suggestion:hover {
    background-color: var(--ast-global-color-0);
}

.product-suggestions .suggestion a {
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center; /* Vertically center the text and image */
}

.product-suggestions .suggestion a:hover {
    color: white;
}

.suggestion-thumbnail {
    width: 50px; /* Thumbnail width */
    height: 50px; /* Thumbnail height */
    margin-right: 10px; /* Space between the image and text */
    object-fit: cover; /* Ensure the image covers the space */
}

/* Zoekbalk */
.woocommerce-product-search {
    z-index: 11; /* Ensure this is above the overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background-color: var(--ast-global-color-7);
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    border-radius: 8px;
    position: relative;
}

.woocommerce-product-search .search-field {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 250px;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

.woocommerce-product-search .search-field:focus {
    border-color: #007cba;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    outline: none;
}

.woocommerce-product-search button {
    background-color: var(--ast-global-color-0);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    height: 40px;
}

.woocommerce-product-search button:hover {
    background-color: #005f8d;
}
