body{
	--header_height: 68px;
	--header_height: 50px;
	--header_bottom_offset: calc(var(--gx) * 6);
}
.site-header{
	position: fixed;
	z-index: 9;
	right: 0;
	left: 0;
	top: 0;
	height: calc(var(--header_height) * 1);
}
.site-header + *{
	padding-top: calc(calc(var(--header_height) * 1) + var(--header_bottom_offset)) !important;
}
.top-header{
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	background: var(--header_bg_color);
	height: var(--header_height);
	box-shadow: 0px 3px 6px #00000029;
}
.top-header > .container > .row{
	flex-wrap: nowrap;
}
.top-header__burger{
	width: 18px;
	display: flex;
	flex-direction: column;
	gap: 3px;
}
.top-header__burger i{
	height: 3px;
	border-radius: 3px;
	width: 100%;
	background: var(--white);
}
.top-header__nav > ul > li > a{
	position: relative;
	color: var(--white);
	font-size: 16px;
	line-height: 1;
	white-space: nowrap;
	font-weight: 500;
	letter-spacing: .2px;
}
.top-header__nav > ul > li > a:after{
	content: "";
	position: absolute;
	height: 2px;
	left: 0;
	width: 0;
	background: var(--white);
	bottom: -4px;
	transition: all .2s cubic-bezier(.37,0,.63,1);
}
.top-header__nav > ul > li.active > a:after,
.top-header__nav > ul > li > a:hover:after{
	width: 100%;
}
.top-header__phone span{
	color: var(--white);
	font-weight: 500;
	font-size: 16px;
	white-space: nowrap;
}
.top-header__burger.active i:nth-child(2){
	opacity: 0;
	visibility: hidden;
}
.top-header__burger.active i:nth-child(1){
	transform: rotate(-45deg);
	position: relative;
}
.top-header__burger.active i:nth-child(3){
	transform: rotate(45deg);
	position: relative;
}
.brands-header{
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	background: var(--white);
	height: var(--header_height);
	box-shadow: 0px 0px 20px #00000033;
}
.brands-header > .container{
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.brands-header__list{
	padding: calc(var(--gx)*3) 0;
	display: flex;
	justify-content: space-between;
	gap: calc(var(--gx) * 4);
	overflow-y: hidden;
}
.brands-header__list-item-link{
	display: flex;
	gap: var(--gx);
	color: var(--black);
}
.brands-header__list-item-title{
	color: inherit;
	font-weight: 600;
}
.brands-header__list-item-count,
.brands-header__list-item-link:hover{
	color: var(--red-text);
}
.brands-header__more{
	display: flex;
	align-items: center;
	gap: var(--gx);
	color: var(--red-text);
	font-weight: 600;
	white-space: nowrap;
}
.brands-header__more svg{
	fill: var(--red-text);
}
.brands-header__more:hover{
	color: var(--red-text-active);
}
.brands-header__more:hover svg{
	fill: var(--red-text-active);
}
.brands-header__more.active svg{
	position: relative;
	top: 2px;
	transform: rotate(180deg);
}
.top-header__fav{
	position: relative;
}
.top-header__fav-count{
	position: absolute;
	transition: var(--base-transition);
	white-space: nowrap;
	font-size: 10px;
	border-radius: 12px;
	background: var(--white);
	color: var(--red);
	line-height: 1;
	width: 22px;
	height: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	top: -8px;
	right: -13px;
}
.top-header__fav:hover svg,
.top-header__phone:hover svg,
.top-header__fav:hover span{
	transform: scale(1.1);
}
.modal-brands,
.mtm{
	position: fixed;
	height: auto;
	overflow: hidden;
	background: var(--white);
	border-top: 1px solid var(--lightgray);
	top: calc(var(--header_height) * 1);
	bottom: 100%;
	left: 0;
	right: 0;
	max-width: 1260px;
	margin: 0 auto;
/*	transition: var(--dropdown-transition); */
}
.mtm{
	z-index: 90;
}
.mtm > .container{
	display: flex;
	flex-direction: column;
	justify-content: space-between;
/*	height: calc(100vh - calc(var(--header_height) * 2.5));*/
}
.mtm__list{
	display: flex;
	justify-content: space-between;
}
.modal-brands.active,
.mtm.active{
	bottom: auto;
	padding: calc(var(--gx) * 4) 0;
	overflow-y: scroll;
	overflow-x: hidden;
	box-shadow: 0px 5px 5px 0px rgba(0,0,0,.2);
}
.mtm__list-item-heading{
	font-size: 18px;
	line-height: 24px;
	font-weight: 600;
	margin-bottom: calc(var(--gx) * 4);
}
.mtm__list-item-list{
	margin-bottom: calc(var(--gx) * -2);
}
.mtm__list-item-list-item{
	margin-bottom: calc(var(--gx) * 2);
}
.mtm__list-item-link{
	color: var(--black);
}
.mtm__list-item-link:hover{
	color: var(--red);
}
.mtm__social-list{
	display: flex;
	align-items: center;
	gap: calc(var(--gx) * 4);
	width: 100%;
	justify-content: center;
	padding-top: var(--offset);
	border-top: 1px solid var(--lightgray);
}
.mtm__social-list li a{
	color: var(--white);
	width: 40px;
	height: 40px;
	background: var(--black);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.mtm__social-list li a:hover{
	background: var(--red);
}
.mtm__social-list li a svg{
	fill: currentColor;
}
.brands__list{
	column-count: unset;
	display: flex;
	flex-wrap: wrap;
	gap: calc(var(--gx) * 2);
}
.brands__list-item{
	display: none;
}
.brands__list.active .brands__list-item,
.brands__list-item.active{
	display: block;
}
.brands__list-item-link{
	padding: calc(var(--gx)*3);
	border: 1px solid var(--gray);
	border-radius: var(--gx);
	display: flex;
	gap: calc(var(--gx)*2);
	justify-content: space-between;
	background: var(--white);
}
.brands__list-item-link:hover{
	background: var(--red);
	border-color: var(--red);
}
.brands__list-item-link:hover span{
	color: var(--white);
}
.brands__list-item-name{
	font-weight: 600;
	color: var(--black);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.brands__list-item-count{
	color: var(--gray);
}
.brands__list-more{
	display: flex;
	justify-content: flex-end;
	width: 100%;
}
.brands__list-more button{
	width: auto;
	color: var(--blue);
	text-align: right;
}
.brands__list-more button:hover{
	color: var(--red);
}
.brands__list-more button:before{
	content: "Больше марок +";
}
.brands__list.active .brands__list-more button:before{
	content: "Меньше марок \2212";
}
.site-header .bc-list-single a{
	display: flex;
	align-items: center;
}
.site-header .bc-list-single a span{
	font-weight: 600;
	font-size: 14px;
	color: var(--gray);
}
.site-header .bc-list-single a svg{
	transform: rotate(90deg);
	fill: var(--gray);
}
@media (min-width: 1400px){
	.top-header__nav > ul{
		gap: calc(var(--gx) * 5);
	}
}
@media (min-width: 1260px){
	.top-header__logo-wrap{
		gap: calc(var(--gx) * 5);
	}
	
	.top-header__fav,
	.top-header__fav img,
	.top-header__phone img{
		width: 24px;
		height: 24px;
	}
	.brands-header__list{
		width: calc(100% - 200px);
	}
	.brands__list-item{
		width: calc(calc(100% / 7) - 7px);
	}
	.top-header > .container > .row{
		gap: calc(var(--gx)* 6);
	}
}
@media (min-width: 1260px) and (max-width: 1399px){
	.top-header__nav > ul{
		gap: calc(var(--gx) * 4);
	}
}
@media (min-width: 992px) and (max-width: 1259px){
	.top-header__nav > ul{
		gap: calc(var(--gx) * 2);
	}
	.top-header__actions{
		gap: calc(var(--gx) * 3);
	}
	.top-header__logo-wrap{
		gap: calc(var(--gx) * 2);
	}
	.top-header__logo{
		width: calc(100% - 26px);
	}
	.top-header__logo img{
		max-width: 120px;
	}
	.brands__list-item{
		width: calc(16.66666% - 7px);
	}
	.top-header > .container > .row{
		gap: calc(var(--gx)* 4);
	}
}
@media (min-width: 768px) and (max-width: 1259px){

}
@media (min-width: 568px) and (max-width: 767px){
	
}
@media (min-width: 992px){
	.top-header__nav{
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: auto;
		flex: 1;
	}
	.top-header__nav > ul{
		width: 100%;
		display: flex;
		justify-content: space-between;
	}
	.top-header__burger.active i:nth-child(1){
		top: 6px;
	}
	.top-header__burger.active i:nth-child(3){
		top: -6px;
	}
}
@media (min-width: 480px){
	.top-header__phone{
		gap: calc(var(--gx) * 2);
	}
}
@media (max-width: 1259px){
	.brands-header__list{
		width: calc(100% - 132px);
	}
}
@media (max-width: 991px){
	.top-header__nav{
		display: none;
	}
	.top-header__actions{
		gap: calc(var(--gx) * 3);
	}
	.top-header__logo-wrap{
		gap: calc(var(--gx) * 8);
	}
	.top-header__burger{
		width: 27px;
		flex-shrink: 0;
		gap: 6px;
	}
	.top-header__burger.active i:nth-child(1){
		top: 9px;
	}
	.top-header__burger.active i:nth-child(3){
		top: -9px;
	}
	.mtm__list{
		flex-direction: column;
	}
	.mtm__list-item-list{
		padding-left: calc(var(--offset) * 2);
	}
	.mtm__list-item{
		padding-bottom: var(--offset);
		margin-bottom: var(--offset);
		border-bottom: 1px solid var(--lightgray);
	}
	.mtm__list{
		margin-bottom: calc(var(--offset) * -1);
	}
	.mtm__list-item-link{
		padding: var(--offset) 0;
		display: inline-block;
	}
	.mtm__social-list{
		border-top: 0;
		padding-top: calc(var(--offset) * 2);
		padding-bottom: calc(var(--offset) * 2);
	}
	.brands__list-item{
		width: calc(20% - 7px);
	}
}
@media (max-width: 767px){
	body{
		--header_height: 48px;
	}
	.brands__list-item{
		width: calc(25% - 7px);
	}
	.brands__list-item-link{
		font-size: 14px;
		padding: calc(var(--gx)*2);
	}
}
@media (max-width: 575px){
	.brands-header__list-item-link{
		font-size: 14px;
	}
	.brands-header__more{
		font-size: 14px;
	}
	.brands__list-item{
		width: calc(33.33333% - 7px);
	}
	.brands-header__list{
		width: calc(100% - 100px);
	}
}
@media (max-width: 479px){
	.top-header__phone span{
		display: none !important;
	}
	.top-header__logo-wrap{
		gap: 10px;
	}
	.top-header__actions{
		gap: 15px;
	}
	.brands__list-item{
		width: calc(50% - 7px);
	}
}
@media (min-width: 992px){

	.top-header__actions{
		gap: calc(var(--gx) * 4);
		width: auto;
	}
}
.city-switcher{position:relative;}
.city-btn{
	display:flex;align-items:center;gap:5px;
	background:none;border:none;cursor:pointer;padding:0;
}
.city-btn__label{
	color:var(--white);font-weight:500;white-space:nowrap;
}
.city-btn__label:not(:hover){
	box-shadow: 0px 1px 0px 0px currentColor;
}
.city-btn__chevron{transition:transform .2s cubic-bezier(.37,0,.63,1);}
.city-btn.open .city-btn__chevron{transform:rotate(180deg);}
.city-dropdown{
	position:absolute;top:calc(100% + 14px);right:0;
	background:var(--white);border-radius:8px;
	box-shadow:0 4px 20px rgba(0,0,0,.15);
	min-width:150px;overflow:hidden;
	display:none;z-index:99;
}
.city-btn svg{
	flex-shrink: 0;
}
.city-dropdown.open{display:block;}
.city-dropdown a{
	display:flex;align-items:center;gap:8px;
	padding:10px 14px;color:var(--black);font-size:14px;font-weight:500;
	text-decoration:none;transition:background .15s;
	border-bottom:1px solid #f0f0f0;
}
.city-dropdown a:last-child{border-bottom:none;}
.city-dropdown a:hover,.city-dropdown a.active{color:var(--red-text);background:#fff5f5;}
.city-dot{width:8px;height:8px;border-radius:50%;background:#d0d0d0;flex-shrink:0;}
.city-dropdown a.active .city-dot{background:var(--red);}
.brands-header__tabs {
	display: flex;
	gap: calc(var(--gx) * 2);
	margin-right: calc(var(--gx) * 4);
}
.brands-header__tab {
	font-size: 14px;
	font-weight: 600;
	color: var(--gray);
	padding: calc(var(--gx) * 1) calc(var(--gx) * 3);
	border-radius: var(--gx);
	border: 1px solid var(--lightgray);
	background: transparent;
	cursor: pointer;
	transition: var(--base-transition);
}
.brands-header__tab.active,
.brands-header__tab:hover {
	background: var(--red);
	color: var(--white);
	border-color: var(--red);
}
.brands-header__list:not(.active){
	display: none !important;
}
.modal-brands .brands-top-nav .close{
	font-size: 32px;
	line-height: 0;
	cursor: pointer;
}
.modal-brands .brands-top-nav{
	display: flex;
	justify-content: flex-end;
	margin-top: 10px;
	margin-bottom: 30px;
}
.modal-brands .brands-bottom-nav{
	margin: 15px 0;
	text-align: center;
}
@media (min-width: 992px){
	.brands-header{
		display: none;
	}
}
@media (max-width: 991px){
	.modal-brands,
	.brands__list{
		height: var(--header_height);
	}
	.brands__list{
		scrollbar-width: none;
		-ms-overflow-style: none;
		white-space: nowrap;
		align-items: center;
		justify-content: space-between;
		flex-wrap: nowrap;
		overflow: auto;
		font-weight: 500;
	}
	.brands__list::-webkit-scrollbar {
		display: none;
	}
	.site-header + * {
		padding-top: calc(calc(var(--header_height)* 2) + var(--header_bottom_offset)) !important;
	}
	.mtm > .container{
		height: calc(100vh - calc(var(--header_height)* 1));
	}
	.mtm__list{
		padding-bottom: var(--offset);
	}
	.mtm__list-item-link{
		padding: 5px 0;
	}
}