#new_search {
	box-sizing:border-box;
	border-radius:4px;
	width:100%;
	height:40px;
	font-size:14px;
	background-image:url(data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTUgMTUiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjM4NiAxMS43MDhsLS4wOS0uMDktLjEwMy4wNzRhNi4zNTkgNi4zNTkgMCAxMTEuNDk5LTEuNDk5bC0uMDc0LjEwMy4wOS4wOSAyLjg2OCAyLjg2OGEuOTM1LjkzNSAwIDExLTEuMzIyIDEuMzIybC0yLjg2OC0yLjg2OHptLTMuODc3LS43MWE0LjQ5IDQuNDkgMCAxMDAtOC45NzggNC40OSA0LjQ5IDAgMDAwIDguOTc4eiIgZmlsbD0iIzlDOUM5QyIgc3Ryb2tlPSIjRjZGNEYzIiBzdHJva2Utd2lkdGg9Ii4zIi8+PC9zdmc+);
	background-size:16px;
	background-repeat:no-repeat;
	background-position:24px 50%;
	border:none;
	outline:none;
	background-color:#f6f4f3;
	transition:opacity .2s;
	padding:0 32px 0 64px;
	opacity:.8;

	border-radius:16px;
	font-size:16px;
	height:56px;
	background-size:20px;
}

#search_results {padding-bottom: 40px;}
#new_search_results {list-style:none;position:fixed;background:white;
	border: 1px solid #ddd;
	border-radius: 5px;
	padding: 9px;
	width:clamp(300px, 800px, 82vw);
	margin-top: 5px;
	z-index:1001;
	max-height: calc(100vh - 190px);
	overflow-y: auto;
	scrollbar-width: thin;
	box-sizing: border-box;
}
.new_search_results .type_of {
	position:absolute;right:10px;color:#737C8F;font-size:14px;font-weight:400;text-transform:lowercase;
}
.new_search_results .searchbooster_history .type_of {right:33px;}

.new_search_results .searchbooster_cat .type_of,
.new_search_results .searchbooster_brand .type_of,
.new_search_results .searchbooster_suggestion .type_of {left:10px;}

.new_search_results .searchbooster_cat a,
.new_search_results .searchbooster_brand a,
.new_search_results .searchbooster_suggestion a {margin-left:75px;}
.new_search_results .space {flex:1;}

.new_search_results .count {
	display:inline-block;
	padding:2px 6px;
	background:var(--bg-blue);
	color:#888;
	font-weight:400;
	font-size:13px;
	border-radius:4px;
	vertical-align:middle;
}
.searchbooster_cat,
.searchbooster_brand,
.searchbooster_suggestion,
.searchbooster_history,
.searchbooster_popular {padding:12px;font-size:16px;position:relative;border-radius:5px;
	& a {color:var(--black);text-decoration:none;transition:color 0.3s ease;
		display:flex;
		align-items:center;
		gap:15px;
	}
	&:hover a {color:var(--mg-blue);text-decoration:none;}
}

.new_search_results .active,
.new_search_results .active a {background:var(--bg-blue);}
/*.new_search_results .searchbooster_item.active {background:#fff0;}*/

.searchbooster_load_more {padding:12px;display:flex;margin-top:50px;	justify-content: center;background:var(--bg-blue);border-radius:5px;cursor:pointer;}

.searchbooster_tips {padding:12px;display:flex;flex-wrap:wrap;gap:6px;transition:.2s;}
.searchbooster_tips a {color:var(--black);text-decoration:none;border-radius:15px;border:1px solid var(--light-blue);
font-size:13px;
	padding:2px 8px 4px;
transition:.4s;}
.searchbooster_tips a:hover {color:white;background:var(--mg-blue);}

.searchbooster_item {display:inline-block;background:white;box-sizing:border-box;width:25%;
vertical-align:top;margin-bottom:5px;margin-top:10px;border-radius:10px;padding:0 10px 10px 10px;}
.searchbooster_item.big_search {width:clamp(20%, 300px, 25%);position:relative;margin-bottom:-50px;}
.searchbooster_item:hover .do_with_item {visibility:visible;background:#fff0;}
.searchbooster_item > a {display:block;color:var(--black);text-decoration:none;transition:.4s;

}
.searchbooster_item div.price_info_table {gap:11px;}
.searchbooster_item .real_price_text,
.searchbooster_item .priceBlack { white-space:nowrap;}
.searchbooster_item:hover > a {color:var(--mg-blue);}
.searchbooster_item:hover {
	box-shadow:5px 10px 34px 0 #0003;
	position:relative;
	z-index:2;
}
.searchbooster_item img {width:100%;
	border-radius:10px;
	/*aspect-ratio:640 / 480;*/
	object-fit:contain;
}
.searchbooster_item .show_catalog_title {min-height:52px;}

.new_search_results li:nth-last-child(1 of .searchbooster_tips),
.new_search_results li:nth-last-child(1 of .searchbooster_cat),
.new_search_results li:nth-last-child(1 of .searchbooster_brand),
.new_search_results li:nth-last-child(1 of .searchbooster_history),
.new_search_results li:nth-last-child(1 of .searchbooster_popular),
.new_search_results li:nth-last-child(1 of .searchbooster_suggestion)
 {border-bottom:1px solid #F0F2F4;/*padding:15px;*/}

.searchbooster_brand img,
.searchbooster_suggestion img {
	max-width:85px;
	max-height:23px;
}

.show_search_item_photo {position:relative;}
.history_delete {
	position:absolute;
	right:9px;
	width:15px;
	height:15px;
	background:url('https://masterglasses.ru/icons/icon_delete_item.svg') 60% 30% / 20px no-repeat;
}

@media screen and (max-width:900px){
	#new_search_results {
		max-height: calc(100vh - 90px);
	}

	.searchbooster_item.big_search {
		width:clamp(25%, 260px, 50%);
		margin-bottom:5px;
	}
	.searchbooster_brand img, .searchbooster_suggestion img {
		max-width:35px;
	}
	.new_search_results .type_of {display:none;}
	.new_search_results .searchbooster_cat a,
	.new_search_results .searchbooster_brand a,
	.new_search_results .searchbooster_suggestion a {margin-left:0px;}

}

@media screen and (max-width:500px){
	.searchbooster_item {width:50%;}
	#new_search_results {left:0 !important;width:100%;}
	.searchbooster_item img {border-radius:3px;}
}
