/* Стили для поля поиска */
#search {
	border: 1px solid #ccc;
	border-radius: 8px;
	width: 100%;
	max-width: 700px;
	@media screen and (width <= 1020px){
		top: -300px;
	}
}
.header_top .header_top__right .header_search .search {
	border-bottom: 1px solid;
	width: 250px;
	font-size: 20px;
	display: flex;
	justify-content: space-between;
	position: relative;
}

#title-search-input {
	margin: 0;
	padding: 0 50px 0 10px;
	font-family: "Futura PT Book", Arial, sans-serif;
	width: 100%;
	background: #ffffff;
	border-radius: 6px;
	box-shadow: unset;
	z-index: 0;
	transition: var(--tr25);
}

.header_top .header_top__right .header_search .search .search_icon {
	background: transparent;
	cursor: pointer;
	transition: all 0.3s ease;
}

.header_top .header_top__right .header_search .search .search_icon:hover {
	transform: scale(1.1);
	opacity: 0.8;
}

/* Стили для выпадающих результатов поиска */
.title-search-result {
	border: 1px solid #e0e0e0;
	display: none;
	overflow: hidden;
	z-index: 205;
	background-color: #fff;
	padding: 15px;
	border-radius: 8px;
	width: 300px !important;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	position: absolute;
	margin-top: 5px;
	opacity: 0;
	transform: translateY(-10px);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Класс для анимированного появления */
.title-search-result.show {
	opacity: 1;
	transform: translateY(0);
	display: block;
}

.bx_item_block {
	font-size: 14px;
	padding-bottom: 10px;
	margin-bottom: 10px;
	border-bottom: 1px solid #eeeeee;
	transition: background-color 0.2s ease;
}

.bx_item_block:hover {
	background-color: #f9f9f9;
}

.all_result,
.others_result {
	border: none;
}

.all_result {
	margin-bottom: 0;
}

/* Стили для элементов внутри результатов поиска */
.title-search-item a {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: #333;
	padding: 5px 0;
	transition: color 0.2s ease;
}

.title-search-item a:hover {
	color: #000;
}

.search-item-img {
	max-width: 50px;
	max-height: 50px;
	margin-right: 10px;
	border-radius: 4px;
	object-fit: cover;
}

.search_item_name {
	font-size: 14px;
	line-height: 1.3;
}

.title-search-all a {
	color: #333;
	text-decoration: none;
	font-weight: 500;
	display: block;
	padding: 5px 0;
	transition: color 0.2s ease;
}

.title-search-all a:hover {
	color: #000;
}

.title-search-separator {
	display: none;
}

/* Затемнение фона при открытом поиске */
.title-search-fader {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.3);
	z-index: 200;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.title-search-fader.show {
	opacity: 1;
	display: block;
}

.header-search-btn-container {
	width: 40px;
	height: 100%;
	position: absolute;
	left: auto;
	z-index: 9;
	cursor: pointer;
	right: 0;
	top: 0;
}

.header_search .search-title-button {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	width: 40px;
	background-color: transparent;
}

@media (hover: hover) {
	#title-search-input:hover {
		background: #f1f0f0;
	}
}
.fancybox__container{z-index:0!important;}