.search-icon {
    cursor: pointer;
    padding-bottom: 5px;
    padding-top: 5px;
}


#modal_search {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	display: none;
	z-index: 99999;
	max-height: 100vh;


}


#modal_search .close {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    color: #151515;
    padding: 10px;
    z-index: 9999;
}

#modal_search .modal-content-s {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #fff;
	padding: 20px;
	box-sizing: border-box;
	overflow: auto;


}

#modal_search .modal-content-s .cont-s {
	width: 1000px;
	margin: 0 auto;
}

#modal_search .active-color--fill {
    fill: rgb(0, 0, 0);
}

#modal_search .input-search {
	margin: 50px 0 30px 0;
}

#modal_search .input-search form {
    display: flex;
    justify-content: space-between;
    text-align: justify;
	align-items: center;
}

#modal_search .input-search input[name="s"] {
    padding: 10px;
    height: auto;
    font-size: 20px;
	font-family: Arial;
	padding-right: 30px; /* Добавляем место для иконки */
	width: calc(100% - 60px);
}

#modal_search .input-search input[type="image"] {
	height: 45px;
}

#modal_search .input-search input[type="image"]:hover {
	opacity: 0.4;
}

#modal_search .input-search {
  position: relative;
}


#modal_search .input-search .loader {
  position: absolute;
  top: 50%;
  right: 60px;
  transform: translateY(-50%);
  display: none; /* Изначально скрываем иконку */
} 


#search-results ul {
	margin: 0;
	padding: 0;
	font-size: 16px;
} 

#search-results ul li {
	list-style: none;
	margin: 0;
    padding: 5px;
    width: 100%;
	overflow: hidden;
	box-sizing: border-box;
} 

#search-results ul li.title {
	font-weight: 600;
}

#search-results ul li a {
	text-decoration: none;
	border-bottom: 1px solid #000;
	color: #000;
}

#search-results ul li a:hover {
	border-bottom: none;
}

#search-results ul.shop {
    margin-top: 30px;
}

#search-results ul.shop li {
	width: 33%;
	display: inline-block;
	font-size: 14px;	
}

#search-results ul.shop li:hover img {
	opacity: 0.7;
}

#search-results ul.shop a:hover {
	border-bottom: 1px solid #000;
}

#search-results ul.shop li img {
	float: left;
	margin-right: 5px;
	width: 60px;
}
#search-results ul.shop li a {
	border-bottom: none;
}

#search-results ul.shop li span {
	color: rgba(127, 127, 127, 1);	
}

#search-results ul.shop li.title {
	width: 100%;
	font-size: 16px;
}

#search-results ul.shop .search-all img {
	float: none;
	width: auto;
	vertical-align: middle;
}

#search-results ul.shop .search-all a {
	font-size: 20px;
}

#search-results ul.shop .search-all {
	font-size: 20px;
	padding: 21px 0;
}

#search-results ul.shop .search-all span {
	border-bottom: 1px dashed;
	color: blue;
}

#search-results ul.shop .search-all a:hover {
	border-bottom: none;	
}

#search-results ul.shop .search-all a:hover span {
	border-bottom: none;	
	color: #e41c6f;
}

#search-results .f404 {
	font-size: 18px;
}

.body--modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

@media (max-width: 767px) {
	
	#modal_search .modal-content-s .cont-s {
		width: 100%;
	}
	
	
	#search-results ul.shop li {
		width: 100%;	
	}
	
	

	#search-results {
		margin-bottom: 65%;
	}

	
	
	
}

.search-cod-header, .search-cod {
	position: relative;
}

.search-cod-header:before, .search-cod:before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 5900;
	content: '';
}

.search-cod-header input[type="text"] {
	background: #fff;
}