/* Search res. */

.search_res {
    position: absolute;
    top: 0;
    left: 0 !important;
    right: 0 !important;
    bottom: 0;

    width: 100% !important;
    padding: 52px 0;
    background: var(--bg);
    z-index: 999;
}

.search_res li {
	overflow-y: scroll;
	display: grid;
	grid-gap: 40px;
	
	max-height: 100%;
	width: var(--search_width);
	margin-left: calc(var(--search_left) + 32px);
}

.search_res li::-webkit-scrollbar {
  width: 7px;
}
 
.search_res li::-webkit-scrollbar-thumb {
  background-color: #E6E6E6;
	border-radius: 4px;
}

.search_res_text {
	display: grid;
	grid-gap: 20px;
}

.search_res_text a {
	color: #505759;

	transition: color .43s;
}

.search_res_text a:hover {
	color: var(--primary);
}

.search_res_title {
	margin-bottom: 20px;
	font-size: 24px;
	font-weight: 700;
}

.search_res_items {
	display: grid;
	grid-gap: 30px;
}

.search_res_item {
	grid-gap: 24px;
}

.search_res_item_img img {
	--size: 60px;

	width: var(--size);
	height: var(--size);
	object-fit: contain;
	object-position: center;
	border: 1px solid #eee;
	border-radius: 10px;
}

.search_res_item_txt {
	
}

.search_res_item_name {
	color: #0C1A20;
	font-size: 15px;

	transition: color .43s;
}

.search_res_item:hover .search_res_item_name {
	color: var(--primary)
}

.search_res_item_price {
	grid-gap: 20px;

	font-weight: 700;
	color: #0C1A20;
}

.search_res_item_price ._sale {
		justify-self: start;

	  padding: 0 4px;
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    line-height: 24px;
    background-color: #ED6D30;
    border-radius: 6px;
}

.search_res_item_price ._old {
	color: var(--gray);
    font-size: 17px;
    font-weight: 400;
    text-decoration: line-through;
}

/* Search res. */

@media only screen and (max-width: 1500px) {

	/* Search res. */

	.search_res li {
		width: 680px;
		max-width: 100%;
		margin: 0 auto;
		padding: 0 70px;
	}

	/* Search res. */

}

@media only screen and (max-width: 600px) {

	/* Search res. */

	.search_res {
		position: fixed;
		top: 55px !important;

		padding-top: 26px;
	}

	.search_res li {
		margin-right: 16px;
		padding: 0 12px 0 var(--bone);
	}

	.search_res_item_price {
		display: grid;
		grid-template-columns: auto 1fr;
		grid-gap: 0 20px;

		margin-top: 12px;
	}

	.search_res_item_name {
		overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
	}

	/* Search res. */

}