/* MD Пошук: the live search under the field and the blocks of the search page */
.header-search .live-search {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 1000;
	max-height: 70vh;
	overflow-y: auto;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 0 0 6px 6px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.header-search .live-search ul {
	margin: 0;
	padding: 6px 0;
	list-style: none;
}

.live-search__section {
	padding: 10px 14px 4px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .03em;
	text-transform: uppercase;
	color: #8a8a8a;
}

.live-search__page a {
	display: block;
	padding: 6px 14px;
	color: inherit;
}

.live-search__page span {
	margin-left: 6px;
	font-size: 12px;
	color: #8a8a8a;
}

.live-search__page a:hover,
.live-search__link:hover,
.live-search__all a:hover,
.live-search .is-selected > a {
	background: #f5f5f5;
}

.live-search__link {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 6px 14px;
	color: inherit;
}

.live-search__image {
	flex: 0 0 56px;
	text-align: center;
}

.live-search__image img {
	max-width: 56px;
	max-height: 56px;
	object-fit: contain;
}

.live-search__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.live-search__price {
	font-weight: 600;
}

.live-search__price s {
	margin-left: 6px;
	font-weight: 400;
	color: #8a8a8a;
}

.live-search__price-new {
	color: #e2592a;
}

.live-search__all a {
	display: block;
	padding: 10px 14px;
	font-weight: 600;
	text-align: center;
	color: #e2592a;
}

.live-search__empty {
	padding: 14px;
	color: #8a8a8a;
}

.mds-corrected,
.mds-help {
	margin: 0 0 16px;
}

.mds-links {
	margin: 0 0 16px;
}

.mds-links__title {
	margin: 0 0 8px;
	font-weight: 600;
}

.mds-chip {
	display: inline-block;
	margin: 0 6px 6px 0;
	padding: 6px 12px;
	border: 1px solid #e5e5e5;
	border-radius: 6px;
	color: inherit;
	background: #fff;
}

.mds-chip span {
	margin-left: 4px;
	font-size: 12px;
	color: #8a8a8a;
}

.mds-chip:hover,
.mds-chip.is-active {
	border-color: #e2592a;
	color: #e2592a;
}

.mds-filters {
	margin: 0 0 12px;
	padding: 12px 0 0;
	border-top: 1px solid #eee;
}

.mds-filter {
	margin: 0 0 6px;
}

.mds-filter__title {
	margin-right: 8px;
	font-weight: 600;
}

.mds-chip--filter {
	padding: 4px 10px;
	font-size: 13px;
}

.mds-reset {
	margin-left: 8px;
	font-size: 13px;
}

/* a phone: the blocks are one scrolling line each, the products stay on the first screen */
@media (max-width: 767px) {
	.mds-links,
	.mds-filter {
		display: flex;
		align-items: center;
		gap: 6px;
		margin-bottom: 8px;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.mds-links::-webkit-scrollbar,
	.mds-filter::-webkit-scrollbar {
		display: none;
	}

	.mds-links__title,
	.mds-filter__title {
		flex: 0 0 auto;
		margin: 0;
	}

	.mds-chip {
		flex: 0 0 auto;
		margin: 0;
		white-space: nowrap;
	}
}
