.Modal .purchase-table {
	margin-bottom: 30px;
}
.Edit, .ComboBox {
	width: 100%;
}
.byOneClickModal .Edit {
	width: auto;
}
.byOneClickModal ._left {
	float: left;
}
input.AmountInput[type] {
	width: 100%;
	box-sizing: border-box;
	height: auto;
}

html {
	--page-gap: 30px;
}
.burgerButton, .burgerMenu,
.to-filterShowButton, .popup {
	display: none;
}

@media (max-width: 1024px) {
	.is-noTouch .scrolled .header-main {
		position: static;
	}

	.user-content h1 {
		margin-top: 0;
	}

	.burgerButton {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 60px;
		height: 60px;
		background: #1f1e21;
		position: relative;
	}
	.burgerButton svg {
		position: relative;
		top: -8px;
		width: auto;
		height: 22px;
		fill: #fff;
	}

	.burgerMenu.is-show, .popup.show {
		display: block;
/*
		flex-direction: column;
		justify-content: center;*/

		position: fixed;
		top: 0;
/*
		bottom: 0;*/
		left: 0;
		width: 100%;
		box-sizing: border-box;

		background: #fff;
		z-index: 9999;
		box-shadow: 0 2px 15px 0 #000;
	}
	.burgerMenu-close, .popup-close {
		position: absolute;
		top: 10px;
		right: 10px;
		z-index: 999;
		border-radius: 100%;
		padding: 3px;
		background: #fff;
	}
	.burgerMenu-close svg, .popup-close svg {
		width: 24px;
		height: 24px;
	}
	.burgerMenu-cnt-scroll, .popup-cnt-scroll {
		overflow: auto;
		padding: var(--page-gap);
		max-height: 100vh;
	}

	.content .main-nav--lvl1, .content .catalog-nav--lvl1 {
		display: none;
	}

	.burgerMenu-menu {
		margin: 0 0 40px 0;
	}
	.burgerMenu-menu:last-child {
		margin: 0;
	}
	.popup-title {
		padding: 0 20px 13px 0px;
		font-size: 20px;
		border-bottom: solid 1px #ccc;
		margin: 0 0px 13px 0;
	}

	.burgerMenu .main-nav--lvl1, .burgerMenu .catalog-nav--lvl1 {
		display: block;
		position: static;
		float: none;
		padding: 0;
		margin: 0;
		column-count: 2;
		width: 100%;
		background: none;
	}
	.burgerMenu .main-nav--lvl1 > li, .burgerMenu .catalog-nav--lvl1 > li {
		padding-right: 0;
		margin: 0 0 13px 0;
	}
	.burgerMenu .main-nav--lvl1 a, .burgerMenu .catalog-nav--lvl1 a {
		border: 0;
		line-height: 20px;
		color: inherit;
		text-shadow: none;
		padding: 0px 0;
	}
	.burgerMenu .main-nav--lvl1 a:link, .burgerMenu .catalog-nav--lvl1 a:link {
		text-decoration: underline;
		color: inherit;
		text-shadow: none;
	}
	.burgerMenu .main-nav-item--active {
		color: #f4d177;
		background-color: #262629;
		text-decoration: none;
	}

	.burgerMenu .header-menu li {
		margin: 0 0 13px 0;
	}
	.burgerMenu .header-menu a {
		font-size: 13px;
		text-transform: none;
		padding-left: 10px;
		height: auto;
		line-height: 20px;
	}

	.breadcrumbs-sorting-wrap {
		position: static;
		overflow: hidden;
	}
	.purchase-page {
		padding: var(--page-gap);
	}

	input[type="text"],
	input[type="tel"],
	input[type="email"],
	input[type="number"],
	textarea {
		width: 100%;
		height: auto;
		box-sizing: border-box;
	}

	.catalog-page .cnt,
	.page {
		width: auto;
		float: none;
		overflow: hidden;
	}
	.page {
		padding: var(--page-gap);
	}
	.benefits-wrap {
		height: auto;
	}
	.benefits {
		display: grid;
		padding: 20px 0;
		grid-template-columns: repeat(3, 1fr);
		grid-gap: 20px 10px;
/*
		align-items: center;*/
		width: auto;
		height: auto;
	}
	.benefit {
		width: auto;
		height: auto;
		padding: 0;
	}

	._wrap {
		width: auto;
	}
/*
	._clfx:after {
		display: none;
	}*/
	
	.header-nav, .header-main {
		min-width: 0;
	}

	header,
	.header-main {
		height: auto;
	}

	.header-main ._wrap {
		display: grid;
		grid-template-areas:
			"logo	phone	city"
			"search	search	search"
			"links	links	links";
		grid-gap: 20px;
		padding: 20px var(--page-gap) 0 var(--page-gap);
	}
	.header-logo {
		grid-area: logo;
		margin: 0;
		float: none;
		overflow: visible;
		height: auto;
	}
	.header-phone {
		grid-area: phone;
		margin: 0;
	}
	.header-main .city {
		grid-area: city;
		margin: 0;
	}
	.header-search {
		grid-area: search;
		margin: 0;
		width: auto;
	}
	.header-links {
		grid-area: links;
		margin: 0;
		display: flex;
		justify-content: space-between;
		width: auto;
		height: auto;
	}


	.is-noTouch .header-logo[href]:hover {
		margin: -8px;
	}

	.header-search input[type="text"] {
		padding-right: 42px;
		box-sizing: border-box;
		width: 100%;
	}
	.header-search input[type="submit"] {
		position: absolute;
	}

	.h-link {
		position: relative;
		background-image: none;
		flex-grow: 1;
		width: 60px;
		height: 60px;
	}
	.h-link::before {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		margin: auto;
		background-image: url(../images/sprites/sprite.png);
		background-repeat: no-repeat;
		width: 80px;
		height: 80px;
		content: "";
	}
	.h-link--deferred::before {
		background-position: -50px -107px;
	}
        .h-link--call::before {
        	background-image: none;
        }
        .h-link--basket::before {
		background-position: -50px -205px;
        }
        .h-link-title {
        	padding: 7px 0;
        	font-size: 13px;
        }

        .header-nav ._wrap {
        	display: flex;
        	overflow: auto;
        }
        .is-noTouch .header-nav ._wrap {
        	margin-right: var(--page-gap);
        	overflow: hidden;
        }
        .header-nav ._wrap ul {
        	display: flex;
        	white-space: nowrap;
        }

        .footer-info {
        	padding: 0;
        }
	.footer-catalog-wrap,
	.footer-menu-wrap {
		display: none;
	}

	.footer-info-wrap {
		display: grid;
		grid-template-areas:
			"copy	copy	copy	copy	copy	copy"
			"flamp	market	maps	gis	soc	pays";
		gap: 10px;
        	padding: 20px var(--page-gap);
        	align-items: center;
	}

	.footer-info {
		grid-area: copy;
	}
	.flampButtonWrap {
		grid-area: flamp;
	}
	.marketButtonWrap {
		grid-area: market;
	}
	.mapsButtonWrap {
		grid-area: maps;
	}
	.gisButtonWrap {
		grid-area: gis;
	}
	.socialButtonWrap {
		grid-area: soc;
	}
	.paysButtonWrap {
		grid-area: pays;
		width: 26px;
	}
	.footer-info__devs {
		grid-area: devs;
	}

	.footer-info__copyright, .footer-info__address, .footer-info__devs {
		float: none;
		width: auto;
	}
	.footer-info__address {
		padding-top: 10px;
	}
	.flampButtonWrap, .marketButtonWrap, .socialButtonWrap, .paysButtonWrap, .mapsButtonWrap, .gisButtonWrap {
		position: static;
	}

	.footer-info-wrap .pageContent {
		display: none;
	}


	.catalog {
		padding: 40px var(--page-gap);
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		grid-gap: 20px;
	}
	.catalog-item {
		width: auto;
		display: flex;
		align-items: center;
/*
		flex-wrap: wrap;*/
	}
	.catalog-item:last-child {
		margin-bottom: 0;
	}
	.catalog-item__img {
		display: block;
		width: auto;
		float: none;
		text-align: center;
		margin: 0 20px 0 0;
	}
	.catalog-item__headh2, .catalog-item__text {
		margin-left: 0;
		float: none;
		width: auto;
	}
	.catalog-item__text {
		display: none;
		flex-grow: 1;
	}

	.catSubGroups a, .catSubGroups a:visited {
		white-space: normal;
	}


	.burgerMenu .header-menu {
		float: none;
		column-count: 2;
	}
	.burgerMenu .header-menu li {
		float: none;
	}
	.burgerMenu .header-menu > li:after {
		display: none;
	}
	.header-menu a {
		color: inherit;
	}

	.burgerMenu .header-menu li:first-child {
		display: none;
	}

	.brands-nav-wrap, .models-nav-wrap {
		display: none;
	}
	.brands-wrap {
		overflow: visible;
		height: auto
	}
	.brands, .popItems {
		margin: 0;
		height: auto;
		width: auto;
	}
	.brands > ul, .popItems > ul {
		position: static;
		overflow: auto;
		scroll-behavior: smooth;
		scroll-snap-type: x mandatory;

		width: 100%;
		box-sizing: border-box;
	}
	.brands > ul > li, .popItems > ul > li {
		scroll-snap-align: start;
		width: 50%;
		box-sizing: border-box;
	}
	.models__item__img {
		height: auto;
	}
	.models__item__img img {
/*
		width: 100%;
		height: auto;
		max-height: none;*/
	}
	.brands__item__goods {
		max-height: auto;
	}

	.slider-wrap,
	.slides, .slide {
		float: none;
		width: auto;
		height: 400px;
	}

	.tiles-wrap--2 {
		display: none;
	}
	.tiles-wrap--1 {
		width: 100%;
		display: flex;
		overflow: auto;
		scroll-behavior: smooth;
		scroll-snap-type: x mandatory;
	}
	.tiles-wrap--1 .tile {
		scroll-snap-align: start;
		position: relative;
		min-width: 100%;
	}

	.item-page {
		margin: 0 var(--page-gap);
		margin-bottom: 95px;
	}
	.item-page > ._clfx {
	}
	.item-page-photo, .item-page-main {
		float: none;
	}
	.item-page-photo {
		width: auto;
		margin-right: 0;
	}
	.item-page-photo__img {
		height: auto;
	}
	.item-page-main {
		width: auto;
	}
	#itemOtherItems-to > section:first-child {
		margin-top: 45px;
	}

	.item-page-main > .c {
		grid-template-columns: 1fr;
	}
	.item-page-main__bonuses-wrap {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		grid-gap: 20px;
	}
	.item-page-main__bonuses-wrap .item-main-bonus,
	.item-page-main__bonuses-wrap .item-main-bonus:first-child {
		margin: 0;
		width: auto;
		height: auto;
		min-height: 70px;
	}

	.item-page-photo {
		display: none;
	}


	.item-page-main__buy-wrap {
		display: flex;
	}
	.item-page-main__price-wrap ._right {
		float: right;
	}

	.tabs-nav-wrap {
		white-space: nowrap;
		overflow: auto;
		width: 100%;
		display: flex;
	}
	.tab-nav {
		width: 100%;
		float: none;
	}
	.tab-nav a {
		padding: 10px;
	}

	.related-items__list .related-item {
		margin-bottom: 20px;
		width: auto;
	}
	.related-item a/*, .models__item a*/ {
		display: flex;
		width: auto;
	}
	.related-items__list .related-item__link {
		margin-right: 10px;
		flex-shrink: 0;
	}
	.related-item__info {
		width: auto;
	}

	.related-items__list {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}
	aside .related-items__list {
		grid-template-columns: repeat(1, 1fr);
	}

	.purchase-form {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}

/*
	.catalog-slider {
		display: none;
	}*/
	.catalog-slider,
	.slider-wrap, .slides, .slide,
	.tiles-wrap--1,
	.tiles-wrap--1 .tile,
	.tile img {
		height: calc(100vw * 0.8695652173913043);
	}
	.tile--1 {
		opacity: 1;
	}
	.slider-nav {
		display: none;
	}
	.tile .h2, .tile h2 {
		font-size: 22px;
		line-height: 26px;
	}
}

@media screen and (max-width: 768px) {
	.compare {
		display: block;
		overflow: auto;
		width: 100%;
	}
	.ModalWin {
		padding: var(--page-gap);
	}

	.modal-purchase, .modal-continue {
		margin: 0 10px 10px 0;
		float: none;
	}
	.purchase-bill--modal {
		float: none;
		margin: 20px 0 0 0;
		padding-left: 0;
	}
	.bill {
		padding-bottom: 10px;
	}

	.benefits-wraph2 {
		padding: 45px 20px 36px 20px;
	}

	.modal-table {
		margin-bottom: 20px;
	}
	.header-nav {
		display: none;
	}
	.catalog {
		grid-template-columns: repeat(1, 1fr);
	}

	.catalog-models {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		grid-gap: var(--page-gap);
		padding: 0 var(--page-gap);
	}
	.catalog-models .models__item {
		width: auto;
		box-sizing: border-box;
		padding: 15px 0px;
	}

	.breadcrumbs {
		display: flex;
		overflow: auto;
		white-space: nowrap;
		scrollbar-width: none;
	}
	.breadcrumbs::-webkit-scrollbar {
		display: none;
	}
	.breadcrumbs__item {
		display: inline-block;
		vertical-align: top;
		float: none;
		padding: 0 3px 0 7px;
	}
	.breadcrumbs__item:first-child {
		padding-left: var(--page-gap);
		padding-right: 3px;
	}
	.catalog-link {
		position: static;
		padding-left: 0;
		padding-right: 10px;
	}
	.catalog-link:after {
		display: none;
		right: 16px;
	}
	.catalog-link:link, .catalog-link:visited, .is-noTouch .catalog-link:hover, .catalog-link:active {
		text-decoration: underline;
	}
	.catalog-link > span {
		border: 0;
	}

	.is-noTouch .breadcrumbs__item--catalog:hover .catalog-link {
		background-color: inherit;
		color: inherit;
		text-shadow: inherit;
	}

	._left,
	._right {
		float: none;
	}
	.sorting-wrap {
		margin: 0 0 13px var(--page-gap);
		float: none;
		display: flex;
		align-items: center;
		overflow: auto;
	}

	.tabs-content-wrap .tab-form {
		width: auto;
	}
	.tab-form textarea {
		width: 100%;
		box-sizing: border-box;
	}

	.purchase-form {
		grid-template-columns: repeat(1, 1fr);
	}
	.purchase__content {
		float: none;
		overflow: hidden;
	}
}
@media screen and (max-width: 640px) {
	html {
		--page-gap: 20px;
	}
	.header-main ._wrap {
		grid-template-areas:
		
			"logo	logo"
			"phone	city"
			"search	search"
			"links	links";
	}
	.header-logo img {
		width: 240px;
	}
	.header-phone {
		font-size: 16px;
	}

	.catalog-page__filters-wrap {
		display: none;
	}
	div.itemNoticeBottom {
		float: none;
		width: 100%;
		padding: var(--page-gap);
		box-sizing: border-box;
	}
	.benefits {
		grid-template-columns: repeat(2, 1fr);
	}

	.item-page-main__bonuses-wrap {
		grid-template-columns: repeat(2, 1fr);
	}

	.item-page-main__buy-wrap {
		display: flex;
		flex-direction: column;
		height: auto;
	}
	.item-page-main__buy-wrap > ._btn:first-child {
		margin-right: 0;
		margin-bottom: 15px;
	}
	.item-page-main__buy-wrap > a._btn._btn--item-quickbuy {
		margin-left: 0px;
	}

	._btn--item-add2compare {
		margin-left: 20px;
	}

	.related-items__list {
		grid-template-columns: repeat(1, 1fr);
	}

	.to-filterShowButton {
		display: block;
		margin: 20px 0 0 0;
	}
	.catalog-filters {
		padding: 0;
		background: none;
	}
	.SliderScale {
		display: none;
	}
	.filterUnit {
		bottom: 33px;
	}

	h1 {
		font-size: 26px;
	}

	.models-wrap > .h2, .models-wrap > h2 {
		font-size: 22px;
	}
	.models-wrap > .h2 span, .models-wrap > h2 span {
		padding: 0 20px;
		top: 10px;
	}


	.footer-info-wrap {
		grid-template-areas:
			"copy	copy	copy"
			"flamp	market	pays"
			"maps	gis	soc";
	}
}
@media screen and (max-width: 425px) {
	.purchase-discount {
		margin-right: 0;
	}
	.h-link-title {
		font-size: 10px;
	}
}
@media screen and (max-width: 375px) {
	.item-page-main__bonuses-wrap {
		grid-template-columns: repeat(1, 1fr);
	}
	.sorting-wrap > span:first-child {
		display: none;
	}

	.purchase-form .purchase__head {
		display: flex;
		text-align: left;
	}
	.purchase-form button.isQuick {
		white-space: nowrap;
		padding: 5px;
		font-size: 13px;
	}

	.purchase-discount input[type="text"] {
		width: 140px;
	}

	.purchase-table tbody tr, .modal-table tbody tr {
		grid-template-areas:
			"link	info	info	info"
			"cost	amount	 --	delete";

		grid-gap: 8px 0;
	}
	.purchase-item__cost.purchase-item__cost--total {
		display: none;
	}
}
@media screen and (max-width: 320px) {
	.h-link--deferred {
		display: none;
	}
}
