input[type="search"]{
    -webkit-appearance: searchfield;
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: searchfield-cancel-button;
    cursor: pointer;
}

.alsearch{
    position: relative;
    z-index: 3;
}

.alsearch-results{
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    padding: 15px;
    z-index: 50;
}
.alsearch-results svg{
    width: 40px;
    height: 40px;
}

.alsearch__items{
    height: auto;
    max-height: 300px;
    overflow-y: scroll;
}
.alsearch-product{
    display: grid;
    grid-template-columns: 1fr 70px;
    grid-template-rows: 1fr;
    gap: 0px 5px;
    grid-template-areas:
    ".";
}
.alsearch-item{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    gap: 0px 5px;
    grid-template-areas:
    ".";
}

.alsearch-widget{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    align-content: center;
    height: 40px;
    overflow: hidden;
    width: 100%;
    border: 1px solid #333;
}
.alsearch__input{
    flex: 0 0 80%;
    height: 100%;
    border: none;
}
.alsearch__btn{
    flex: 0 0 10%;
    height: 100%;
    cursor: pointer;
    background-color: #969696;
    padding: 10px;
}
.alsearch__btn svg{
    width: 100%;
    height: 100%;
}

/* custom */
.alsearch{
    width: 100%;
    max-width: 320px;
}
.alsearch-widget {
    border: none;
}
.alsearch__input {
    padding: 10px 5px;
    flex: 0 0 70%;
    border: 1px solid #d0d0d0;
    border-right: none;
}
.alsearch__input:hover,
.alsearch__input:focus{
    outline: none !important;
}
.alsearch__btn{
    flex: 0 0 15%;
}
.alsearch__btn_search{
    background-color: #abcc57;
    padding: 10px;
    transition: 0.3s all;
}
.alsearch__btn_search:hover{
    background-color: #849d43;
}
.alsearch__btn_voice{
    padding: 10px;
    background-color: transparent;
    transition: 0.3s all;
    border-top: 1px solid #d0d0d0;
    border-bottom: 1px solid #d0d0d0;
}
.alsearch__btn_voice:hover{
}

.alsearch-results{
    padding: 0;
    box-shadow: 0 0px 3px rgb(47 47 47 / 30%);
}
.alsearch__more {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    transition: 0.3s all;
    padding: 10px 5px;
    background: #ef8515;
    color: #fff;
}
.alsearch__more:hover{
    background: #b56511;
    color: #fff;
}
.alsearch__items {
    margin-bottom: 15px;
}
.alsearch__smalltitle {
    margin: 0px 0px 5px 5px;
    font-weight: bold;
    font-size: 12px;
}
.alsearch-item,
.alsearch-product{
    padding: 5px;
    border-bottom: 1px solid rgb(232 232 232 / 50%);
}
.alsearch-item:last-child,
.alsearch-product:last-child{
    border-bottom: none;
}

.alsearch-item__name,
.alsearch-product__name{
    color: #575757 !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: 0.32px;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.alsearch-item__name,
.alsearch-product:hover{
   color: #ef8515;
}
.alsearch-product__priced {
    font-size: 14px;
    color: #000;
    font-weight: 600;
}
.alsearch__empty {
    padding: 10px;
    font-size: 14px;
    line-height: 16px;
    font-weight: 500;
}

.alsearch__mobile-btn{
    margin-left: 0px;
    margin-right: 15px;
}
.alsearch__mobile-btn i{
    font-size: 21px !important;
}
.alsearch__mobile-dialog{
    margin-top: 45px;
}
.alsearch__mobile-dialog .close{
    right: -15px !important;
    top: -15px !important;
}
.alsearch__mobile-dialog .alsearch{
    max-width: 100%;
}
.modal .alsearch__mobile-dialog .modal-content .modal-body{
    padding: 25px 10px 10px 10px;
}
