.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: 3px solid #47a1ac;
    border-radius: 50px !important;
    font-size: 18px;
    box-sizing: border-box;
    font-family: 'Recursive' !important;
    font-weight: 700;
    background-color: rgba(0, 0, 0, 0);
}

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

.was-search-icon {
    position: absolute;
    top: 50%;
    left: 15px; /* Adjusted to prevent overlap */
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") 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: 'Inter';
}

.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: 'Inter';
}

.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: 'Inter';
}

.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: 'Inter';
}

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