/*
=========================================
Woo Live Search
Version: 1.0.0
=========================================
*/

*,
*::before,
*::after{
    box-sizing:border-box;
}

.wls-wrapper{
    position:relative;
    width:100%;
}

#wls-search{

    width:100%;
    height:48px;

    padding:0 15px;

    border:1px solid #dcdcdc;
    border-radius:6px;

    font-size:15px;

    outline:none;

    transition:.3s;

    background:#fff;

}

#wls-search:focus{

    border-color:#0073aa;

    box-shadow:0 0 0 3px rgba(0,115,170,.15);

}

#wls-results{

    display:none;

    position:absolute;

    top:100%;
    left:0;

    width:100%;

    margin-top:5px;

    background:#fff;

    border:1px solid #ddd;

    border-radius:6px;

    overflow:hidden;

    box-shadow:0 8px 20px rgba(0,0,0,.12);

    z-index:99999;

}

.wls-results-list{

    max-height:450px;

    overflow-y:auto;

}

.wls-item{

    display:flex;

    align-items:center;

    gap:15px;

    padding:12px 15px;

    text-decoration:none;

    color:#222;

    transition:.2s;

}

.wls-item:hover{

    background:#f7f7f7;

}

.wls-image{

    width:60px;

    flex-shrink:0;

}

.wls-image img{

    display:block;

    width:100%;

    height:auto;

}

.wls-content{

    flex:1;

}

.wls-title{

    margin:0;

    font-size:15px;

    font-weight:600;

    color:#222;

    line-height:1.4;

}

.wls-price{

    margin-top:5px;

    font-size:14px;

    color:#0a7c2f;

    font-weight:700;

}

.wls-loading,
.wls-no-results{

    padding:20px;

    text-align:center;

    font-size:14px;

    color:#666;

}

@media (max-width:768px){

    .wls-item{

        gap:10px;

        padding:10px;

    }

    .wls-image{

        width:50px;

    }

    .wls-title{

        font-size:14px;

    }

}