.search-title {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
    justify-content: center;
	margin-top: 20px;
}

.search-title-button {
	background-image: url(images/icon-search.svg);
	background-repeat: no-repeat;
	background-position: center;
	min-width: 45px;
	/* min-height: 38px; */
	height: calc(1.5em + 0.75rem);
}

.search-result-btn {
    padding: 0;
    margin: 0;
    border: none;
    cursor: pointer;
    box-shadow: none;
    background: none;
    text-decoration: underline;
    font-size: 16px;
    font-weight: normal;
    line-height: 21px;
    color: #1e1e1e;
    text-transform: none;
}

.title-search-result {
	border: 1px solid #ced4da;
	display: none;
	overflow: auto;
	z-index: 205;
	background-color: #fff;
    padding: 20px;
    box-shadow: 0px 0px 4px 0px #00000026;
    border-radius: 4px;
	height: 70vh;
}

@media (max-width: 990px) {
	.title-search-result--mobile-sheet {
		position: fixed;
		inset: 0;
		z-index: 10000000;
		display: none;
		pointer-events: none;
		border: none;
		padding: 0;
		height: auto;
		max-height: none;
		overflow: visible;
		background: transparent;
		box-shadow: none;
	}

	.title-search-result--mobile-sheet.is-open {
		pointer-events: auto;
	}

	.title-search-result--mobile-sheet .title-search-result__backdrop {
		position: absolute;
		inset: 0;
		background: rgba(0, 0, 0, 0);
	}

	.title-search-result--mobile-sheet .title-search-result__panel {
	position: fixed;
	top: 115px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	width: calc(100% - 32px);
	max-width: 480px;
	max-height: 70vh; 
	
	background: #fff;
	border: 1px solid #ced4da;
	border-radius: 8px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
	overflow: hidden;
	z-index: 9999; 
}
	

	.title-search-result--mobile-sheet .title-search-result__close {
		align-self: flex-end;
		margin: 8px 8px 0 0;
		padding: 0;
		width: 40px;
		height: 40px;
		border: none;
		background: transparent;
		font-size: 32px;
		line-height: 1;
		color: #1e1e1e;
		cursor: pointer;
		flex-shrink: 0;
	}

	.title-search-result--mobile-sheet .title-search-result__body {
		flex: 1 1 auto;
		min-height: 0;
		overflow-x: hidden;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior: contain;
		touch-action: pan-y;
		padding: 0 16px 16px;
	}
	
	.title-search-result--mobile-sheet .search-title {
		display: grid !important; 
		grid-template-columns: repeat(2, 1fr); 
		gap: 12px;
	}

	.title-search-result--mobile-sheet .search-title-result-item {
		width: 100% !important;
		flex-direction: column !important; 
		align-items: flex-start !important; 
		border-radius: 8px;
		padding: 2px !important;
		box-sizing: border-box;
	}


	.title-search-result--mobile-sheet .search-title-result-item-image-container {
		width: 100%;
		padding-right: 0 !important; 
		margin-bottom: 8px; 
		
	}


	.title-search-result--mobile-sheet .search-title-result-item-image {
		width: 100% !important; 
		height: auto !important;
		aspect-ratio: 1 / 1.1; 
		background-size: cover; 
		background-position: center;
		background-repeat: no-repeat;
	}


	.title-search-result--mobile-sheet .search-title-result-item-link {
		font-size: 14px;
		line-height: 1.3;
		margin-bottom: 6px;
		display: -webkit-box;
		-webkit-line-clamp: 2; /* Ограничиваем название двумя строками, чтобы не ехала верстка */
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

.title-search-result--mobile-sheet .search-title-result-item-info {
    width: 100%;
    display: flex;
    justify-content: space-between; /* Цена слева, лайк справа */
    align-items: center;
}


	body.fm-search-result-open {
		overflow: hidden;
	}
}

.search-title-result-item {
	width: 45%;
	position: relative;
}

.search-title-result-item.d-flex {
	flex-direction: column;
}

.search-title .search-title-result-item:last-child {
	border-bottom:  none;
}

.search-title-result-item-link {
	font-size: 16px;
	color: #2E2F38;
    text-decoration: none;
    transition: all .18s linear;
    border-bottom: 1px solid transparent;
	margin-bottom: 14px;
	min-height: 50px;
}

.search-title-result-item-price .text-primary {
	font-size: 16px;
	font-weight: normal;
    line-height: 22.4px;
    color: #1e1e1e;
}

.search-title-result-item-current-price {
	font-weight: bold;
}

.search-title-result-item-old-price {
	font-size: 80%;
	text-decoration: line-through;
}
.product-search-title {
	display: flex;
    justify-content: space-between;
}
.product-search-title > span {
	text-transform: uppercase;
    font-weight: normal;
    color: #848484;
    font-size: 18px;
}
.search-title-result-item-info {
	display: flex;
    justify-content: space-between;
    width: 100%;
}
.search-title-result-item-image-container {
	position: relative;
	width: 100%;
    padding: 0;
	border-radius: 4px;
    margin-bottom: 10px;

}
.search-title-result-item-image-container::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
	height: 100%;
    z-index: 1;
    pointer-events: none;
    background: rgba(0, 0, 0, .03);
	width: 100%;
}
