.sm_search_desc {
	display: none;
}
.sm_search {
	font-weight: 400;
    font-size: 1.3rem;
    line-height: 2.8rem;
    width: 100%;
    border: .1rem solid transparent;
    border-bottom-color: #D4D4D4;
    background: #fff;
    padding: 0 3rem 0 0;
    color: #343434;
    transition: border-color .25s;
    border-radius: 0;
    box-shadow: none;
    height: inherit;
}
@media (min-width: 1023px) {
	.sm_search_desc {
		display: block;
	}
}
@media (max-width: 1023px) {
	.topbar {
		position: relative;
		padding: 0;
		height: auto;
		transition: 0.25s;
		margin-top: 5px;
	}
}
.sm_search_mobile {
	display: block;
	padding: 10px 0;
}
@media (min-width: 1023px) {
	.sm_search_mobile {
		display: none;
	}
}
.smartsearch {
    position: absolute;
    width: 100%;
	left:0;
    top: 40px;
    z-index: 999;
    background: #fff;
    display: none;
	box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}
@media (min-width:1023px) {
.smartsearch {
    position: fixed;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
    margin-top: 113px;
}
}
.smartsearch ul.items {
    margin: 0px;
	display: grid;
	grid-template-columns: 1fr;
	font-size: 12px;
	max-height: 500px;
    overflow-x: auto;
	padding: 10px;
}
@media (min-width: 767px) {
	.smartsearch ul.items {
		grid-template-columns: 1fr 1fr;
	}
}
@media (min-width: 998px) {
	.smartsearch ul.items {
		grid-template-columns: 1fr 1fr 1fr;
	}
}
.smartsearch ul.items::-webkit-scrollbar {
	width: 6px;
	background-color: #fff;
}
.smartsearch ul.items::-webkit-scrollbar-thumb {
	border-radius: 6px;
	background-color: #d7d7d7;
}
.smartsearch ul.items::-webkit-scrollbar-track {
	background-color: #f9f9fd;
}
.smartsearch li.item {
    list-style-type: none;
    border-bottom: 1px solid #e4e3e3;
}
.smartsearch li.item:hover {
    background-color: #f2f2f5;
}
.smartsearch li.item a {
    color: #333;
}
.smartsearch li.item .item_block {
    display: flex;
    align-items: center;
}
.smartsearch li.item .item_block .image {
    display: flex;
    padding: 12px;
}
.smartsearch li.item .item_block .title {
    padding: 5px 0px;
    width: 100%;
}
.smartsearch li.item .item_block .price {
    display: flex;
    padding: 10px 10px;
    white-space: nowrap;
    color: #444;
}
.smartsearch li.item .item_block .oldprice {
    margin-right: 5px;
    text-decoration: line-through;
    font-size: 11px;
    color: #cd0000;
}
.smartsearch li.item .item_block a {
    width: 100%;
    color:#333;
}
.smartsearch li.item .item_block a b {
    color: #000;
}
.smartsearch .button {
    text-align: center;
	padding-bottom: 10px;
}

.smartsearch .button a {
	display: inline-block;
    color: #fff;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    width: 100%;
    padding: 12px;
    max-width: 300px;
    border-radius: 10px;
    background: #3498db;
}


.smartsearch-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99;
    display: none;
}

@media (min-width:1023px) {
    .smartsearch {
        position: fixed;
        box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
        margin-top: 113px;
        z-index: 9999;
    }
}

/* Для мобильной версии - поднимаем z-index */
@media (max-width:1023px) {
    .smartsearch {
        z-index: 9999;
    }
    .smartsearch-container-mobile {
        z-index: 9999;
    }
}

/* Блокировка прокрутки страницы */
body.smartsearch-open {
	   overflow: hidden;
    position: relative;
    height: 100vh;
	padding-right: 15px;
}