.was-search-container {
    position: relative;
    width: 300px;
}

@media only screen and (min-width: 320px) and (max-width: 767px)
{
.was-search-container {
    position: relative;
    width: 100%;
}
}

.was-search-form {
    margin: 0;
}

.was-search-input {
    width: 100%;
    padding: 10px 8px 10px 40px !important; /* Increased padding-left to 40px for icon space */
    border: 1px solid #ccc;
    border-radius: 50px !important;
    font-size: 14px;
    box-sizing: border-box;
    font-family: 'Poppins' !important;
}

.was-search-input::placeholder {
    color: #999;
    opacity: 1; /* Ensure placeholder is fully visible */
    padding-left: 5px !important; /* Slight padding for placeholder text */
    font-family: 'Poppins';
}

.was-search-icon {
    position: absolute;
    top: 50%;
    left: 12px; /* Adjusted to prevent overlap */
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>') no-repeat center;
    background-size: contain;
}

.was-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    font-family: 'Poppins';
}

.was-search-results.show {
    display: block;
}

.was-search-result {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #000;
    font-family: 'Poppins';
}

.was-search-result:last-child {
    border-bottom: none;
}

.was-search-result img {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    object-fit: cover;
}

.was-search-result .was-result-info {
    flex: 1;
}

.was-search-result .was-result-title {
    font-size: 14px;
    font-weight: bold;
    margin: 0;
    font-family: 'Poppins';
}

.was-search-result .was-result-category,
.was-search-result .was-result-price,
.was-search-result .was-result-sku {
    font-size: 12px;
    color: #666;
    margin: 2px 0;
}

.was-search-result .was-result-sku {
    font-size: 10px;
}

.was-search-result.view-all {
    justify-content: center;
    font-size: 14px;
    color: #0073aa;
    text-align: center;
    font-family: 'Poppins';
}

.was-search-result.view-all:hover {
    background: #f8f8f8;
}