.title-search-result {
	margin-top: 7px;
	padding: 24px 8px 20px 24px;
	z-index: 2050;
	background-color: #fff;
	box-shadow: 0px 4px 20px 0px rgba(118, 118, 132, 0.25);
	border-radius: 4px;
	display: none;
}
.bx_search-wrap{
	overflow: auto;
	padding-right: 14px;
	max-height: 399px;
	scrollbar-color: #DEDEE5 transparent;
}
.bx_search-wrap::-webkit-scrollbar-track {
	border-radius: 2px;
}
.bx_search-wrap::-webkit-scrollbar {
	width: 2px;
	background: transparent;
}
.bx_search-wrap::-webkit-scrollbar-thumb {
	border-radius: 2px;
	background-color: #DEDEE5;
}
.bx_searche{
	position: relative;
}
.title-search-result .bx_item_block{
	display: flex;
	align-items: center;
	padding: 24px 0;
	border-top: 1px solid var(--border-gray);
}

.title-search-result .bx_item_block:first-child{
	padding-top: 0;
	border-top: none;
}
.title-search-result .bx_item_block.all_result{
	position: sticky;
	bottom: 0;
	background: white;
	padding-top: 24px;
	padding-bottom: 4px;
}
.title-search-result .others_result, .title-search-result .all_result {
	padding: 10px 15px;
}

.title-search-result .bx_img_element, .title-search-result .bx_image {
	width: 46px;
	height: 46px;
	border-radius: 2px;
	overflow: hidden;
}
.title-search-result .bx_image {
	background-size: contain;
	background-position: 50%;
	background-repeat: no-repeat;
}

.title-search-result .bx_item_element a {
	text-overflow: ellipsis;
	max-width: 100%;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	padding: 0;
	max-height: 29px;
	overflow: hidden;
	color: var(--main_text_black);
	font-weight: 400;
	font-size: 14px;
	line-height: 140%;
	margin-bottom: 8px;
}

.title-search-result .bx_item_element a:hover{
	color: var(--main_active_red);
}
.title-search-result .bx_item_price {
	font-weight: 700;
	font-size: 14px;
	line-height: 100%;
	margin-right: 8px;
	display: flex;
	align-items: flex-end;
}
.title-search-result .bx_item_price span.bx_measure{
	font-weight: 400;
	font-size: 12px;
	line-height: 100%;
}
.title-search-result .bx_item_price .old {
	position: relative;
	display: inline-block;
	font-weight: 400;
	font-size: 12px;
	line-height: 100%;
	text-decoration-line: line-through;
	color: var(--old-price-gray);
	margin-left: 8px;
}
.title-search-result .bx_item_price .bx_price{
	display: flex;
	align-items: end;
	margin-right: 8px;
}
.title-search-result .all_result_title {
	margin: auto;
}

.top-search {
	margin-right: 75px;
	flex: 1;
}

.top-search .search-title-button-sm svg:last-child {
	display: none;
	height: 26px;
}

.top-search .search_wrapper .search__input {
	width: 100%;
	height: 50px;
}
.top-search .title-search-wrapper {
	height: 50px;
	border-radius: 4px;
	background-color: var(--bg-gray);
}

.top-search .search-title-button-sm {
	display: none;
	position: absolute;
	top: 0;
	right: 0;
	width: 26px;
	height: 100%;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.top-search .search-title-button {
	background-color: transparent;
	padding: 16px 24px
}

.top-search .search-title-button.search-title-button--mobile{
	padding: 0 13px;
	border-radius: 0;
	height: 102%;
}

.top-search .search-title-button.search-title-button--mobile{
	display: none;
}

.search_wrapper {
	width: 100%;
	overflow: hidden;
}

.search_wrapper .wrapper-inner {
	position: relative;
	padding-top: 50px;
	padding-bottom: 60px;
}

#title-search {
	position: relative;
}


@media screen and (max-width: 992px) {
	.top-search {
		margin-right: 16px;
	}
}

@media (max-width: 768px) {
	.bx_search-wrap {
		max-height: 100%;
		padding-bottom: 20px;
		padding-right: 10px;
	}
	.title-search-result .bx_item_block{
		padding: 16px 0;
	}

	.title-search-result .all_result{
		padding: 0;
	}
	.top-search .search_wrapper .search__input{
		height: auto;
	}
	.search_wrapper{
		overflow: visible;
	}
	/*    скрываем строку поиска*/
	.top-search {
		margin: 0 0 0 4px;
		position: relative;
		z-index: 100;
		width: 33px;
		height: 40px;
		order: 2;
		flex: unset;
	}
	.top-search .search_wrapper{
		min-width: unset;
		width: 20px;
		position: absolute;
		right: 0;
		transition: .3s ease;
		transform: translateY(8px);
	}
	.top-search .search_wrapper::before{
		content: '';
		position: absolute;
		z-index: 10;
		height: 2px;
		width: calc(100% - 49px);
		left: 12px;
		bottom: 8px;
		border-radius: 4px;
		background: var(--main-txt);
		opacity: 0;
		transition: .3s ease;
	}
	.top-search.show .search_wrapper::before{
		opacity: 1;
	}
	.top-search.show .search-title-button-sm svg:first-child{
		display: none;
	}
	.top-search.show .search-title-button-sm svg:last-child {
		display: block;
	}
	.top-search .search-title-button{
		display:none!important;
	}

	.top-search .search-title-button.search-title-button--mobile{
		display:block!important;
	}
	.top-search .title-search-wrapper{
		height: auto;
		position: absolute;
		top: 62px;
		width: calc(100vw - 32px);
		right: 0;
		display: none;
		overflow: hidden;
	}
	.top-search.show .title-search-wrapper{
		display: flex;
		animation: fadeInDown 0.3s ease;
		padding: 14px 24px;
	}
	.top-search .search-title-button-sm{
		display: flex;
		position: relative;
	}
}

@media screen and (max-width: 678px) {
	.top-search .search_wrapper::before{
		left: 4px;
		width: calc(100% - 40px);
	}
}

@media screen and (max-width: 576px) {
	.top-search .search-title-button-sm{
		width: 20px;
	}
	.top-search{
		width: 20px;
	}
	.title-search-result .bx_item_element a{
		font-size: 12px;
		line-height: 140%;
	}
}