/************************************************** desktop search ***************************/
#header .header-top .search-widget {
    float: left;
    min-width: auto;
}
.tvcmsheader-search.search-widget form input[type=text] {
    border: none;
    border-radius: 25px;
    height: 33px;
    font-size: 14px;
}
.tvcmsheader-search .tvcms-select-category {
    display: none;
}

.lang-rtl #header .tvsearch-header-display-wrappper {
    right: auto;
    left: 0;
}
#pagenotfound .page-not-found .search-widget .tvsearch-header-display-wrappper {
    position: inherit;
    opacity: 1;
    visibility: visible;
    transform: none;
}
.tvsearch-top-wrapper.open .tvsearch-header-display-wrappper {
    display: block;
}
.tvsearch-top-wrapper .tvsearch-close {
    display: none;
}
.tvsearch-top-wrapper.open .tvheader-search-display-icon {
    display: none;
}
.tvsearch-header-display-wrappper form {
    display: flex;
    z-index: 10;                                
    border: 1px solid #6a6a6a;
    border-radius: 15px;
    height: 36px;

}
.tvheader-top-search-wrapper {
    padding: 7px;
}
.search-widget form button[type=submit] {
    cursor: pointer;
}
.tvcmsheader-search.search-widget form button[type=submit] {
    padding: 0;
    background-color: transparent;
    border: none;
    top: 0;
    position: inherit;
}
.tvcmssearch-wrapper {
    position: relative;
    cursor: pointer;
}

#_desktop_search .tvcmsheader-search .tvserach-name {
    display: none;
}
.tvcmsheader-search form input::placeholder {
    opacity: 1;
}
/* search result */
.tvsearch-dropdown-total-wrapper {
    margin: 0 0 5px 0;
    text-align: left;
    font-size: 14px;
    display: none;
}
.tvsearch-result {
    position: absolute;
    width: 100%;
    z-index: 20;
    top: 100%;
    margin-top: 10px;
}
.tvsearch-header-display-wrappper {
    position: relative;
}
.tvsearch-result .product-price-and-shipping {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    margin: 0;
}
.tvcmssearch-dropdown {
    padding: 15px 20px 4px 20px;
}
.tvsearch-all-dropdown-wrapper {
    overflow: hidden;
}
.tvsearch-dropdown-wrapper {
    width: 50%;
    border: 1px solid rgba(0, 0, 0, 0.07);
}
.tvsearch-dropdown-wrapper a {
    display: flex;
    flex-wrap: wrap;
    padding: 3px;
}
.tvsearch-dropdown-img-block {
    height: auto;
    width: 30%;
    overflow: hidden;
}
.tvsearch-dropdown-content-box {
    text-align: left;
    width: 70%;
    padding-left: 3px;
}
.tvsearch-dropdown-title {
    display: block;
    overflow: hidden;
    margin-bottom: 1px;
    margin-top: 1px;
    line-height: 15px;
    height: 65px;
    font-size: 13px;

}

/* Media query for mobile devices */
@media only screen and (max-width: 576px) {
  .tvsearch-dropdown-title {
    font-size: 12px;
    line-height: 13px;
  }  

}
.tvsearch-dropdown-price .tvsearch-dropdown-new-price,
.tvsearch-dropdown-price .tvsearch-dropdown-old-price {
    float: left;
    margin-right: 10px;
}
.tvsearch-dropodwn-close-wrapper {
    margin-bottom: 35px;
}
.tvheader-top-search {
    width: 100%;
}
.tvsearch-dropdown-close {
    margin-top: 0px;
    position: unset;
    display: flex;
    align-items: center;
    justify-content: end;
}
.tvsearch-more-search {
    border: 1px solid #eeeeee;
    text-align: center;
    padding: 10px 15px;
    cursor: pointer;
}
.tvsearch-all-dropdown-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -7.5px;
}
.tvsearch-more-search.tvall-inner-btn {
    margin-bottom: 0;
    width: 100%;
}

/************* mobile search css ************/

@media(max-width: 575px) {
    .tvcmssearch-wrapper {
        position: inherit;
    }
    .search-widget form input[type=text] {
        min-width: auto;
    }
}
/************************ rtl **************/
.lang-rtl .tvsearch-dropdown-total {
    direction: ltr;
}
.lang-rtl .tvsearch-dropdown-content-box {
    padding-right: 10px;
    padding-left: 0;
    text-align: right;
}
.lang-rtl .tvsearch-dropdown-price .tvsearch-dropdown-new-price,
.lang-rtl .tvsearch-dropdown-price .tvsearch-dropdown-old-price {
    float: right;
    margin-left: 5px;
}