/************************************************** desktop search ***************************/
#header .header-top .search-widget {
    float: left;
    min-width: auto;
}
.tvcmsheader-search.search-widget form input[type=text] {
    border: none;
}
.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 i {
    /*display: none;*/
}
.tvsearch-top-wrapper .tvsearch-close {
    display: none;
}
.tvsearch-top-wrapper.open .tvheader-search-display-icon {
    display: none;
}
.tvsearch-header-display-wrappper form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    z-index: 10;
    border: 1px solid #eee;
    background-color: #ffffff;
}
.tvheader-top-search-wrapper {
    background-color: #e9e9e9;
}
.search-widget form button[type=submit] {
    cursor: pointer;
	margin: 6px 12px;
}
@media (max-width: 768px) {
	.search-widget form button[type=submit] {
    cursor: pointer;
	margin: 0px 0px;
}
}
.tvcmsheader-search.search-widget form button[type=submit] {
    padding: 0;
    background-color: transparent;
    border: none;
    top: 0;
    position: inherit;
}
.tvcmssearch-wrapper {
    float: left;
    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 {
    /*text-align: center;*/
    text-align: left;
    margin: 0 0 15px 0;
    /*line-height: 40px;*/
    /*border: 1px solid #eeeeee;*/
    /*padding: 0 15px;*/
}
.tvsearch-result {
    position: absolute;
    width: 100%;
    z-index: 20;
    top: 100%;
    margin-top: 0px;
}
.tvsearch-header-display-wrappper {
    position: relative;
	width: 100%;
}
.tvsearch-result .product-price-and-shipping {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    margin: 0;
}
.tvcmssearch-dropdown {
    padding: 15px;
    /*border: 1px solid #eeeeee;*/
    border-bottom: 0px solid #333333;
}
.tvsearch-all-dropdown-wrapper {
    /*overflow: hidden;*/
}
.tvsearch-dropdown-wrapper {
    width: 100%;
    margin-bottom: 15px;
    padding: 0 7.5px;
}
@media(max-width: 768px) {
.tvsearch-dropdown-wrapper {

    padding: 0 0px;
}	
}
.tvsearch-dropdown-wrapper a {
    display: flex;
    flex-wrap: wrap;
    padding: 8px;
    border: 1px solid #eeeeee;
	border-radius: 10px;
}
.tvsearch-dropdown-img-block {
    /*float: left;*/
    height: auto;
    width: 30%;
    /*border: 1px solid #eeeeee;*/
    overflow: hidden;
}
.tvsearch-dropdown-content-box {
    /*margin-left: 85px;*/
    text-align: left;
    width: 70%;
    padding-left: 10px;
}
.tvsearch-dropdown-title {
    display: block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    margin-bottom: 10px;
}
.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 {
    border: 1px solid #eeeeee;
    text-align: center;
    padding: 10px 15px;
    margin-bottom: 15px;
}
.tvsearch-more-search {
    border: 1px solid #eeeeee;
    text-align: center;
    padding: 10px 15px;
    cursor: pointer;
    /*display: inline-block;*/
}
.tvsearch-all-dropdown-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -7.5px;
	position:relative;
	max-height: 600px;
	overflow-y: scroll;
}
.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-img-block {
    /*float: right;*/
}
.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;
}
.tvheader-top-search-wrapper {
    padding: 0px 0px;
 
}
#mobileSearchOverlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: white;
  z-index: 9999;
  padding: 20px;
  box-sizing: border-box;
  overflow-y: auto;
}

#mobileSearchOverlay .search-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

#mobileSearchOverlay .tvcmssearch-words {
  flex: 1;
  padding: 12px;
  font-size: 16px;
 border-top-left-radius: 10px;
 border-top-right-radius: 0px;
 border-bottom-left-radius: 10px;
 border-bottom-right-radius: 0px;
  
  border: 1px solid #ccc;
}

#mobileSearchOverlay .search-btn {
  background: #d43f3a;
  border: none;
  padding: 12px;
  border-radius: 0 6px 6px 0;
  color: white;
  font-size: 16px;
  cursor: pointer;
}

#closeSearch {
  font-size: 24px;
  cursor: pointer;
}

.tvsearch-dropdown-wrapper .product-availability {
    display: inline-block;
    margin-left: 10px;
    margin-right: -15px;
}

.tvsearch-dropdown-wrapper .raty_1 {
    width:80% !important;
}   
.tm-multihornet {
  opacity: 1 !important;
  visibility: visible !important;
}

.autocomplete-suggestions {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}
.autocomplete-suggestions li {
  display: flex;
  align-items: center;
  padding: 0.5em 1em;
  cursor: pointer;
}
.autocomplete-suggestions li + li {
  border-top: 1px solid #eee;
}

.autocomplete-suggestions .icon {
  margin-right: 0.5em;
  color: #888;
}
.autocomplete-suggestions .keyword {
  color: #d81e4e;
  font-weight: bold;
  text-transform: lowercase;
}
.autocomplete-suggestions .text {
  color: #000;
  text-transform: lowercase;
  flex: 1;
}
.autocomplete-suggestions .right-arrow {
  color: #888;
  position: absolute;
  right: 5px;
}

