.wc_search-container {
    position: relative;
}
/* Style for search results container */
#wc_search_results {
    position: absolute;
    background: #fff;
    border: 1px solid #ddd;
    width: 100%;
    /* max-width: 400px; */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    z-index: 1000;
    padding: 10px;
    display: none; /* Hidden by default */
    z-index: 9999;
}

/* Style for the list */
.lf_search-res {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Each list item */
.lf_search-res li {
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
    transition: background 0.2s ease-in-out;
}

/* Last item no border */
.lf_search-res li:last-child {
    border-bottom: none;
}

/* Search result links */
.lf_search-res li a {
    text-decoration: none;
    color: #333;
    display: block;
    font-weight: 500;
}

/* Hover effect */
.lf_search-res li:hover {
    background: #f8f9fa;
}


/* Styling for the clear button */
#clear_search {
    background-color: #f44336;
    color: #fff;
    border: none;
    /* padding: 5px 10px; */
    /* margin-left: 10px; */
    border-radius: 3px;
    cursor: pointer;
    display: none;
    font-size: 14px;
    position: absolute;
    right: 0;
}

/* Hover effect for clear button */
#clear_search:hover {
    background-color: #d32f2f;
}

.lf_search-res li {
    list-style: none;
    margin-bottom: 8px;
}

.lf_search-res li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    background: #f8f8f8;
    padding: 10px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.lf_search-res li a:hover {
    background: #eaeaea;
}

.lf_search-res .visit-btn {
    background: #0073aa;
    color: #fff;
    padding: 5px 10px;
    border-radius: 3px;
}

.lf_search-res li a:hover .visit-btn {
    background: #005177;
}
