@import url('https://fonts.googleapis.com/css?family=PT+Sans:400,700&subset=latin,cyrillic');
:root {
	--primary: #FDD030;
	--secondary: #040707;
	--background-color: #FFFFFF;
	--accent-bg: #FF3B30;
	--accent-text: #FFFFFF;
	--light-bg: #f6f6f4;
	--light-bg-text: #000000;
	--dark-bg: #2f2f2f;
	--dark-bg-text: #ffffff;
	--border: #D6D5CE;
	--error-color: #fd3e30;
	
	--max-phone: 680px;
	--max-tablet: 850px;
	
	--container-padding: 4.2rem;
}
* { box-sizing: border-box; }
html {
	-webkit-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	font-family: 'PT Sans', sans-serif;
	font-weight: 400;
	font-size: 10px;
	background-color: var(--secondary, white);
	color: var(--primary, black);
}
body {
	margin: 0;
	padding: 0;
	font-size: 1.6rem;
	font-weight: 400;
	background-color: white;
}
body > * {
	position: relative;
	z-index: 1;
}
h2 {
	text-transform: uppercase;
	letter-spacing: -0.12rem;
	font-size: 2.6rem;
	color: var(--secondary);
	font-weight: normal;
	text-align: center;
	line-height: 1.2;
}
section {
	background-color: var(--background-color, white);
}
section,
figure {
	padding: 2rem 0;
	margin: 0;
}


/* GLOBAL */
.container {
	max-width: 102.4rem;
	margin: 0 auto;
	padding: 0 var(--container-padding);
}

.wrapper {
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;
}
@media (max-width: 760px) {
	:root {
		--container-padding: 2rem;
	}
	.wrapper {
		display: block;
		white-space: nowrap;
		overflow-x: scroll;
		scrollbar-width: 0;
	}
	
    .scroll-wrapper{
        max-width: 102.4rem;
		overflow-x: scroll;
		scrollbar-width: 0;
      
    }
    .scroll-wrapper::-webkit-scrollbar {
		display: none;
	}
	.wrapper::-webkit-scrollbar {
		display: none;
	}
	.wrapper > * {
		display: inline-block;
		white-space: normal;
	}
	.wrapper > *:first-child {
		margin-left: 2rem !important;
	}
	.wrapper > *:last-child {
		margin-right: 2rem !important;
	}
}
@media (max-width: 340px) {
	html {
		font-size: 8px;
	}
}
.price {
	white-space: nowrap;
}
.price::after {
	display: inline-block;
	content: ' \20BD';
}



/* HEADER */
header {
	position: sticky;
	top: 0;
	z-index: 51;
	background-color: var(--primary);
	padding: 1.4rem 0;
}
.burger {
	display: none;
}
header h1 {
	display: block;
	margin: 0;
	padding: 0;
	overflow: hidden;
	text-indent: -10000%;
	color: rgba(0,0,0,0);
	background: url('/assets/i/logo.svg') center no-repeat;
	background-size: 15.8rem 6rem; 
	width: 15.8rem;
	height: 6rem;
}
header .container {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	justify-content: space-between;
}
header .phone {
	display: flex;
	flex-flow: column nowrap;
	justify-content: center;
}
header .phone a {
	color: var(--secondary);
	font-weight: 700;
	text-decoration: none;
	font-size: 2.4rem;
	letter-spacing: -0.096rem;
	line-height: 2.8rem;
}
header .phone span {
	font-size: 1.2rem;
	color: var(--secondary);
	text-align: right;
	line-height: 1.6rem;
}
header .phone sup {
	font-size: 0.8rem;
}
header .contact_us {
	display: flex;
	flex-flow: column nowrap;
	justify-content: space-between;
	min-height: 6.4rem;
}
header .contact_us > * {
	font-size: 1.2rem;
	letter-spacing: -0.043rem;
	line-height: 1.6rem;
	color: var(--secondary);
	text-decoration: none;
	padding-left: 2.4rem;
	background-position: left center;
	background-repeat: no-repeat;
	background-size: 1.6rem 1.6rem;
}
header .contact_us a:hover {
	text-decoration: underline;
}
header .user {
	display: flex;
	flex-flow: row nowrap;
}
header .user a {
	display: block;
	position: relative;
	width: 6rem;
	padding: 3.4rem 0 0.4rem;
	font-size: 1.2rem;
	color: var(--secondary);
	letter-spacing: -0.043rem;
	line-height: 100%;
	text-align: center;
	background-position: center 0.4rem;
	background-repeat: no-repeat;
	background-size: 2.4rem 2.4rem;
	text-decoration: none;
    text-overflow: ellipsis;
    overflow: hidden;
}
header .user a:not(:last-of-type) {
	margin-right: 2rem;
}
header .user a:hover {
	text-decoration: underline;
}
header .user a[data-count]::after {
	display: block;
	background-color: var(--accent-bg);
	color: var(--accent-text);
	content: attr(data-count);
	position: absolute;
	top: 0;
	left: 3.6rem;
	padding: 0.1rem 0.4rem;
	font-size: 0.9rem;
	text-align: center;
	line-height: 1rem;
	min-width: 0.4rem;
	border-radius: 1rem;
}

header .user a.empty::after{
	display: none;
}

header .whatsapp { background-image: url('/assets/i/icon/whatsapp.svg'); }
header .callback { background-image: url('/assets/i/icon/callback.svg'); }
header .mail { background-image: url('/assets/i/icon/mail.svg'); }
header .login { background-image: url('/assets/i/icon/profile.svg'); }
header .basket { background-image: url('/assets/i/icon/cart.svg'); }
@media (max-width: 760px) {
	header {
		padding: 0.6rem;
		position: fixed;
		top: 0;
		left:0;
		width: 100%;
		box-shadow: 0 0 6px 0 rgba(0,0,0,0.20);
		z-index: 50;
	}
	nav + * {
		margin-top: 5rem !important;
	}
	header .container {
		padding: 0;
	}
	header h1 {
		background: url('/assets/i/logo_slim.svg') center no-repeat;
		background-size: 18.5rem 3.2rem; 
		width: 18.5rem;
		height: 3.2rem;
	}
	header .phone,
	header .contact_us {
		display: none;
	}
	header .user {
		position: relative;
		left: -1rem;
	}
	header .user a {
		color: rgba(0,0,0,0);
		width: 3.4rem;
		height: 3.2rem;
		background-position: center;
	}
	header .user a:not(:last-of-type) {
		margin-right: 0.5rem;
	}
	header .user a[data-count]::after {
		color: var(--accent-text);
		left: 2.2rem;
		top: 0.3rem;
	}
	.burger {
		display: block;
		position: relative;
		width: 3.2rem;
		height: 3.2rem;
	}
	.burger::before,
	.burger::after {
		display: block;
		position: absolute;
		left: 0.6rem;
		width: 2rem;
		height: 0.1rem;
		background-color: var(--secondary);
		transition: top 0.15s 0.15s linear, bottom 0.15s 0.15s linear, transform 0.15s ease;
	}
	.burger::before {
		content: '';
		top: 1.1rem;
	}
	.burger::after {
		content: '';
		bottom: 1.1rem;
	}
	header.open {
		box-shadow: none;
		z-index:51;
	}
	header.open .burger::before,
	header.open .burger::after {
		transition: top 0.15s linear, bottom 0.15s linear, transform 0.15s 0.15s ease;
	}
	header.open .burger::before{
		top: 1.5rem;
		transform: rotate(-45deg);
	}
	header.open .burger::after {
		bottom: 1.6rem;
		transform: rotate(45deg);
	}
}



/* NAVIGATION */
nav {
	z-index: 50;
	display: block;
	background-color: var(--background-color);
	box-shadow: 0 0 6px 0 rgba(0,0,0,0.20);
	position: sticky;
	top: 9.2rem;
}
nav .container {
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	align-items: center;
}
nav li {
	list-style: none;
	margin: 0;
	padding: 0.6rem 0;
	width: calc(20% + 1px);
	font-size: 1.4rem;
	line-height: 2rem;
	text-align: center;
	margin-left: -1px;
	transition: background-color 0.3s ease;
	z-index: 1;
}
nav li a {
	display: block;
	width: 100%;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--secondary);
	border-left: 1px solid var(--primary);
	transition: border-color 0.3s ease, color 0.3s ease;
}
nav li:last-of-type a {
	border-right: 1px solid var(--primary);
}
@media (hover: hover) and (pointer: fine) {
	nav li:hover {
		background-color: var(--border);
	}
}
nav li.current {
	background-color: var(--secondary);
	z-index: 2;
}
nav li.current a {
	border-color: transparent;
	color: var(--background-color);
}
nav li.current + li a,
@media (hover: hover) and (pointer: fine) {
	nav li:hover a,
	nav li:hover + li a {
		border-color: transparent;
	}
}
@media (max-width: 760px) {
	body.lock {
		overflow: hidden;
	}
	header {
		z-index: 50;
	}
	nav {
		position: fixed;
		top: 5rem;
		left: 0;
		width: 100%;
		background-color: var(--primary);
		opacity: 0.2;
		transform: translateY(-100%);
		transition: transform 0.3s ease, opacity 0.3s linear;
		z-index: 49;
		padding: 2rem 0;
		overflow-y: scroll;
		height: calc(100% - 5rem);
	}
	header.open + nav {
		display: block;
		opacity: 1;
		transform: translateY(0);
	}
	nav .container {
		flex-flow: column nowrap !important;
	}
	nav li {
		width: 100%;
		margin: 0;
		padding: 3rem 0;
		font-size: 2rem;
	}
	nav li.current {
		background: none;
		opacity: 0.5;
	}
	nav li:not(:first-of-type)::before {
		display: block;
		content: '';
		height: 1px;
		background-color: var(--secondary);
		opacity: 0.1;
		position: relative;
		top: -3rem;
	}
	nav li a {
		color: inherit !important;
		border: 0;
	}
}



/* BANNERS */
.banners {
	display: block;
	padding-top: 40%;
	background-color: silver;
	position: relative;
	overflow: hidden;
}
.banners .slider {
	display: block;
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	bottom: 0;
	width: 100%;
/* 	right: 0; */
	white-space: nowrap;
	font-size: 0;

	transition: transform 0.3s ease;

/* 	overflow-x: hidden; */
/* 
	overflow-x: auto;
	scrollbar-width: 0;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
 */
}
/* 
.banners .slider::-webkit-scrollbar {
	display: none;
}
 */
.banners figure {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center center;
  	display: inline-block;
	font-size: 2rem;
	position: relative;
	white-space: normal;
/* 	scroll-snap-align: start; */
/* 	transform: translateX(-150%); */
}
.banners figure .container {
	display: flex;
  	flex-flow: column nowrap;
  	justify-content: flex-end;
  	position: absolute;
  	top 0;
  	left: 0;
  	bottom: 0;
  	right: 0;
  	height: 100%;
  	padding-bottom: 4em;
}
.banners figure h3 {
	display: block;
	text-align: left;
	background-color: var(--primary);
	color: var(--secondary);
	padding: 0.5em 1em;
	font-weight: normal;
	text-transform: uppercase;
	font-size: 1.2em;
	line-height: 120%;
	margin: 0;
	align-self: flex-start;
	position: relative;
	left: -3rem;
	opacity: 0;
	box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.3);
}
.banners figure p {
	display: block;
	text-align: left;
	background-color: var(--background-color);
	color: var(--secondary);
	padding: 0.5em 1em;
	font-weight: normal;
	text-transform: uppercase;
	font-size: 0.9em;
	line-height: 120%;
	margin: 1.2em 0 4.2em 0;
	align-self: flex-start;
	position: relative;
	left: -3rem;
	opacity: 0;
	box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.3);
}
.banners figure a {
	display: block;
	text-align: left;
	background-color: var(--secondary);
	color: var(--background-color);
	padding: 0.7em 1.2em;
	font-weight: normal;
	text-transform: uppercase;
	font-size: 0.9em;
	line-height: 1.2em;
	margin: -3em 0 0 0;
	align-self: flex-start;
	text-decoration: none;
	transition: color 0.3s ease, background-color 0.3s ease;
	box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.3);
	transform: scale(1.5);
	opacity: 0;
	border-radius: 0.3rem;
}
.banners figure.active h3 {
	left: 0;
	opacity: 1;
	transition: left 1s 0.5s ease, opacity 1s 0.5s ease;
}
.banners figure.active p {
	left: 0;
	opacity: 1;
	transition: left 1s 0.75s ease, opacity 1s 0.75s ease;
}
.banners figure.active a {
	transform: scale(1);
	opacity: 1;
	transition: all 1s 1.5s ease;
}
.banners .navigation {
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	align-items: center;
	position: absolute;
	z-index: 2;
	left: 0;
	right: 0;
	top: calc(50% - 3rem);
	padding: 0 3rem;
	height: 6.1rem;
}
.banners .navigation a {
	display: block;
	width: 6rem;
	height: 6rem;
	text-align: left;
	text-indent: -99999px;
	outline: none;
	background-color: #fff;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 3rem 4.3rem;
	border-radius: 6rem;
	box-shadow: 0 0.5rem 3rem rgba(0, 0, 0, 0.3);
}
.banners .navigation a[href='#prev'] {
	background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAArBAMAAACdqSWPAAAAD1BMVEVMaXH/0QD/0QD/0QD/0QCIM+E9AAAABXRSTlMA+b8jSUauaOQAAABMSURBVHgBY8ANmBRQ+YpCqNKCIqjSgg4DJc2sKGiAzDcSFKaitCCqtCF+aSaoNEJeCC6P0I9pAKb9CPdRXQEi/BDhO/AKhDDSHyYAAI1UDEifv4RKAAAAAElFTkSuQmCC");
}
.banners .navigation a[href='#next'] {
	background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAArBAMAAACdqSWPAAAAD1BMVEX/0gBMaXH/0gD/0gD/0gAGIDsQAAAABXRSTlP9ADXcsy+K3QMAAAB7SURBVHgBZZLhCYAgGAUf6AJPGqBogWqC3H+pMgg8nv+Ou0g/lbkGL518V/KqDm6qEzOQGcgMZAYyA5mB/AcnuKmARwBuRwF7/wKZgTwFF/gNNssMZAYzjz2Ej++h8//Uuf84H3TOJ+eX88X8ofP+qPP+qS3qfF/x/rge3NEuD3qNrpgAAAAASUVORK5CYII=");
}
.banners .pages {
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
}
.banners .pages a {
	display: block;
	position: relative;
/* 	margin: 0 1rem 0 0; */
	overflow: hidden;
	text-indent: -10000%;
	width: 6rem;
	height: 3rem;
/* 	padding: 1rem; */
	transition: width 0.3s ease;
}
.banners .pages a:last-child() {
	margin-right: 0;
}
.banners .pages a::before,
.banners .pages a::after {
	display: block;
	content: '';
	width: 5rem;
	height: 2px;
	background-color: rgba(0, 0, 0, 0.5);
	position: absolute;
	left: 0.5rem;
	top: calc(1.5rem - 1px);
/* 	border-radius: 1rem; */
	box-shadow: 0 0.25rem 1rem rgba(255, 255, 255, 0.4);
	transition: width 0.3s ease;
}
.banners .pages a::before {
	width: 0;
	opacity: 0;
}
.banners .pages a.active {
/* 	width: 8rem; */
}
.banners .pages a.active::before {
	width: 5rem;
	background-color: var(--primary);
	z-index: 2;
	transition: width 5s linear;
	opacity: 1;
}
.banners .pages a.active::after {
	width: 5rem;
	z-index: 1;
}
@media (hover: hover) and (pointer: fine) {
	.banners figure a:hover {
		color: var(--secondary);
		background-color: var(--primary);
	}
}
@media (min-width: 2000px) {
	.banners {
		padding-top: 82rem;
	}
}
@media(max-width: 1200px) {
	.banners .navigation {
		height: 4.1rem;
		top: calc(50% - 2rem);
	}
	.banners .navigation a {
		width: 4rem;
		height: 4rem;
		background-size: 2rem 2.867rem;
	}
}
@media (max-width: 1100px) {
	.banners .navigation {
		display: none;
	}
}
@media (max-width: 800px) {
	.banners {
		padding-top: 60%;
	}
	.banners figure {
		font-size: 2rem;
	} 
}
@media (max-width: 500px) {
	.banners {
		padding-top: 70%;
	}
	.banners figure {
		font-size: 1.2rem;
	} 
}



/* SERACH ON MAIN PAGE */
.main_search {
 	margin-top: -2.8rem;
	position: relative;
	z-index: 2;
}
.main_search form {
	display: block;
	width: 100%;
	margin: 5rem auto 2rem;
/* 
	background: var(--light-bg);
	padding: 3rem;
	border: 0.1rem solid var(--border);
 */
}
.main_search fieldset {
	display: flex;
	flex-flow: row nowrap;
	margin: 0;
	padding: 0.4rem;
	background-color: var(--primary);
	border: none;
	border-radius: 0.2rem;
}
.main_search input[type='text'] {
	padding: 0 1rem;
	margin: 0;
	height: 3.2rem;
	border: none;
	font-family: inherit;
	font-size: 1.6rem;
	border-radius: 0.1rem 0 0 0.1rem;
	outline: 0;
	background-color: var(--background-color);
	width: 15rem;
	flex-grow: 1;
}
.main_search input[type='submit'] {
	padding: 0 2rem;
	margin: 0;
	height: 3.2rem;
	text-align: center;
	background-color: var(--dark-bg);
	color: var(--dark-bg-text);
	border: none;
	outline: 0;
	font-size: 1.5rem;
	font-family: 'PT Sans';
	font-weight: 300;
	text-transform: uppercase;
	border-radius: 0 0.1rem 0.1rem 0;
	appearance: none;
    -moz-appearance: none;
	-webkit-appearance: none;
}
@media (max-width: 830px) {
	.main_search form {
		margin-bottom: 0;
	}	
}



/* CATALOG CATEGORIES */
.main_categories .wrapper {
	display: block;
}
.main_categories menu {
	padding: 0;
	margin: 2rem 0 5rem;
 	display: grid;
 	grid-template-columns: repeat(3, 1fr);
 	grid-gap: 2rem;
}
.main_categories li {
	display: block;
	border: 0.5rem solid var(--primary);
/* 	padding: calc(100% + 6.5rem) 0 0 0; */
	padding: 125% 0 0 0;
	margin: 0;
	position: relative;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
.main_categories a {
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	top: 0;
	font-size: 1.8rem;
	line-height: 2rem;
	text-decoration: none;
	color: var(--secondary);
	padding: 1.4rem 1.6rem;
}
.main_categories a::before {
	display: block;
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 6.5rem;
	background-color: rgba(255,255,255,0.5);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	transition: all 0.3s ease;
}
@media (hover: hover) and (pointer: fine) {
	.main_categories a:hover::before {
		background-color: var(--primary);
	}
}
.main_categories a span {
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 6.5rem;
	padding: 1rem 1rem 1rem 5.5rem;
	background-size: 3rem 4.5rem;
	background-position: 1rem center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
}
@media (max-width: 830px) {
	.main_categories menu {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 520px) {
	.main_categories.container {
		padding: 0;
	}
	.main_categories .wrapper {
		scroll-snap-type: x mandatory;
		scroll-behavior: smooth;
	}
	.main_categories menu {
		display: block;
		white-space: nowrap;	
	}
	.main_categories li {
		display: inline-block;
		white-space: normal;
		width: 90%;
		margin-right: 1rem;
		scroll-snap-align: start;
		scroll-snap-margin: 2rem;
	}
	.main_categories li:last-child {
		margin-right: 2rem;
	}
}



/* POPULAR CATEGORIES */
.main_popular_categories {
	background-color: var(--primary);
}
.main_popular_categories a {
	display: block;
	position: relative;
	width: calc(25% - 2rem * 3 / 4);
	margin-right: 2rem;
	margin-bottom: 6rem;
	background-size: cover;
	background-position: center;
}
.main_popular_categories a:last-of-type {
	margin-right: 0;
}
.main_popular_categories a::before {
	display: block;
	content: '';
	width: 100%;
	padding-top: 100%;
}
.main_popular_categories a span {
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 1rem);
	text-align: center;
	text-transform: uppercase;
	color: var(--secondary);
}
@media (hover: hover) and (pointer: fine) {
	.main_popular_categories a:hover span {
		text-decoration: underline;
	}
}
@media (max-width: 760px) {
	.main_popular_categories .container {
		margin: 0;
		padding: 0;
	}
	.main_popular_categories a {
		display: inline-block;
		width: 50%;
		max-width: 18rem;
		white-space: normal;
	}
}



/* POPULAR GOODS ON MAIN PAGE */
.main_popular_goods .good {
	display: block;
	background-color: var(--background-color);
	border: 1px solid var(--border);
	border-radius: 0.5rem;
	box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.15);
	overflow: hidden;
	white-space: normal;
	color: var(--secondary);
	text-decoration: none;
	transition: border-color 0.5s ease, box-shadow 0.5s ease, transform 0.3s ease;
}
@media (hover: hover) and (pointer: fine) {
	.main_popular_goods .good:hover {
		border-color: var(--primary);
		box-shadow: 0 0.2rem 1rem 0 rgba(253, 208, 48, 0.5);
		transform: scale(1.075);
	}
}
.main_popular_goods .good .photo {
	display: block;
	width: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.main_popular_goods .good .photo::before {
	display: block;
	content: '';
	position: relative;
	width: 100%;
	padding-top: 100%;
}
.main_popular_goods .good .title {
	display: block;
	width: 100%;
	padding: 1.5rem 1rem 0.5rem 1rem;
	font-weight: 700;
}
.main_popular_goods .good .price {
	display: block;
	padding: 0.5rem 1rem 1rem;
	opacity: 0.5;
}
.main_popular_goods a {
	width: calc(20% - 3rem * 4 / 5);
	margin-right: 2rem;
	margin-top: 1rem;
	margin-bottom: 3rem;
}
.main_popular_goods a:last-of-type {
	margin-right: 0;
}
@media (max-width: 760px) {
	.main_popular_goods .container {
		margin: 0;
		padding: 0 0rem;
	}
	.main_popular_goods .good {
		display: inline-block;
		white-space: normal;
		width: 40%;
		max-width: 18rem;
		margin-right: 1rem;
	}
	.main_popular_goods .good .title{
	    height: 7.2rem;
        overflow: hidden;
        text-overflow: ellipsis;
	}
}



/* SERVICES ON MAIN PAGE */
.main_services {
	background-color: var(--light-bg);
	padding-bottom: 5rem;
}
.main_services .container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 2rem;
}
.main_services a {
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: var(--primary);
	color: var(--secondary);
	text-transform: uppercase;
	text-decoration: none;
	width: 100%;
	min-height: 10rem;
	font-size: 1.9rem;
	padding: 2rem 4rem;
}
.main_services a span {
	display: block;
	text-align: center;
}
@media (hover: hover) and (pointer: fine) {
	.main_services a:hover {
		text-decoration: underline;
	}
}
@media (max-width: 810px) {
	.main_services .container {
		grid-template-columns: repeat(2, 1fr);
		width: 100%;
		white-space: normal;
	}
}
@media (max-width: 520px) {
	.main_services .container {
		grid-template-columns: repeat(3, 24rem);
		grid-gap: 1rem;
		padding: 0;
		width: calc(24rem * 3 + 2rem * 2);
	}
}



/* WHY WE SECTION ON MAIN PAGE */
.y_we {
	font-size: 2.1rem;
	line-height: 110%;
	list-style: none;
	conter-reset: cnt;
}
.y_we li {
	list-style: none;
	counter-increment: cnt;
	padding: 1.7rem 0 2.2rem 7rem;
	background-position: left 0.7rem;
	background-repeat: no-repeat;
	background-size: 4.8rem auto;
}
.y_we li::before {
	display: inline-block;
	content: counter(cnt) '. ';
	font-weight: 700;
	color: var(--primary);
}
.y_we b {
	font-weight: 700;
	color: var(--primary);
	text-transform: uppercase;
}
@media (max-width: 760px) {
	.y_we {
		font-size: 1.8rem;
	}
	.y_we li {
		padding-top: 1rem;
		padding-left: 6rem;
		background-size: 3.8rem auto;
	}
}



/* ABOUT SECTION ON MAIN PAGE */
.about {
	background-color: var(--light-bg);
	padding-bottom: 3rem;
}
.about h2 span {
	color: var(--primary);
}
.about p {
	font-size: 1.7rem;
	line-height: 1.6em;
	letter-spacing: -0.035rem;
	text-transform: uppercase;
	text-align: center;
	margin: 1rem 0;
}
@media (max-width: 760px) {
	.about p {
		text-align: left;
		font-size: 1.5rem;
		line-height: 120%;
	}
}



/* NEWS ON MAIN PAGE */
.main_news {
	text-align: right;
	padding-bottom: 5rem;
}
.main_news .more {
	display: inline-block;
	color: var(--secondary);
	text-decoration: none;
	text-transform: uppercase;
	margin-top: 3rem;
	padding-right: 1.3rem;
	position: relative;
	opacity: .7;
	background: url('/assets/i/chevron.svg') right 0.5rem no-repeat;
	background-size: auto 60%;
}
.main_news .wrapper {
	margin: 0 -2rem;
	white-space: nowrap;
	width: 102.4rem;
}
.main_news .wrapper a {
	display: inline-block;
	position: relative;
	/*width: 70%;*/
	width: calc(33% - 2rem);
	margin: 0 2rem 0 0;
	padding: 0;
	white-space: normal;
	vertical-align: top;
	text-decoration: none;
	color: var(--secondary);
	text-decoration: none;
	text-align: left;
}
@media (hover: hover) and (pointer: fine) {
	.main_news .wrapper a:hover .content :where(h3, p),
	.main_news .more:hover {
		text-decoration: underline;
	}
}
.main_news img {
	width: 100%;
}
.sq-image {
	display: block;
	position: relative;
	width: 100%;
	height: 0;
	padding-top: 100%;
	background-size: cover;
	background-position: center;
}
.main_news img {
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	object-fit: cover;
}
.main_news .content {
	padding: 1rem 0 0;
}
.main_news .date {
	opacity: 70%;
}
.main_news h3 {
	margin: 1rem 0 0;
	padding: 0;
	font-weight: normal;
	text-transform: uppercase;
	font-size: 1.8rem;
	line-height: 120%;
}
.main_news .content p {
	margin: 1rem 0;
}
@media (max-width: 760px) {
	.main_news .wrapper a {
		margin-right: 1rem;
	}
	.sq-image::after {
		display: block;
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		bottom: 0;
		right: 0;
		background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
	}
	.sq-image.hide-after::after {
		display: none;
	}
	.main_news .content {
		position: absolute;
		z-index: 2;
		bottom: 0;
		padding: 1rem;
		color: var(--background-color);
	}
	.main_news .content h3 {
		font-size: 1.6rem;
		color: var(--background-color);
	}
	.main_news .content p {
		display: none;
	}
}



/* FOOTER	 */
footer {
	display: block;
	background-color: #000000;
	font-size: 1.2rem;
	line-height: 100%;
	color: var(--dark-bg-text);
	padding-top: 5rem;
	margin-top: 4rem;
}
footer .container {
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	align-items: baseline;
}
footer .copyright {
	padding: 1.6rem 2rem 3.6rem 24rem;
	background: url('/assets/i/mg.png') left bottom no-repeat;
	background-size: 23rem 6.4rem;
}
footer a.infolio {
	display: block;
	color: var(--primary);
	padding: 1.8rem 0 1.8rem 6.8rem;
	background: url('/assets/i/infolio.svg') left top no-repeat;
	background-size: 4.8rem 4.8rem;
}
@media (max-width: 760px) {
	footer {
		padding-top: 3.2rem;
	}
	footer .container {
		flex-direction: column-reverse;
	}
	footer .copyright {
		padding: 1.6rem 0 1rem 12.5rem;
		background-size: 11.5rem 3.2rem;
	}
	footer a.infolio {
		padding: 1.2rem 0 1.2rem 4.6rem;
		background-size: 3.6rem 3.6rem;
		margin-bottom: 3rem;
	}
}



/* GLOBAL POPUPS */
.popup {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: 1000;
	background-color: rgba(190, 156, 36, 0.5);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	justify-content: center;
	align-items: center;
	margin: 0;
	padding: 4rem;
	overflow-x: scroll;
	opacity: 0;
	transition: opacity 0.3s ease;
}
body.popup-lock {
	overflow: hidden;
}
.popup.show {
	opacity: 1;
	transition: opacity 0.3s ease;
}
.popup .window {
	display: block;
	background-color: var(--background-color);
	width: 90%;
	height: auto;
	max-width: 1024px;
	max-height: 80%;
	border-radius: 1rem;
	padding: 2rem;
	box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3);
	position: relative;
	top: -5rem;
	transition: top 0.3s ease;
}
.popup.show .window {
	top: 0;
}
.popup .window h2 {
	text-align: left;
	padding: 1rem 5rem 1rem 0;
}
.popup .window a[href='#close'] {
	display: block;
	width: 3rem;
	height: 3rem;
	text-indent: -1000%;
	overflow: hidden;
	position: absolute;
	right: 1rem;
	top: 1rem;
	z-index: 10000;
}
.popup .window a[href='#close']::before,
.popup .window a[href='#close']::after {
	display: block;
	content: '';
	position: absolute;
	width: 2rem;
	height: 1px;
	top: 1.5rem;
	left: 0.5rem;
	background-color: var(--secondary);
}
.popup .window a[href='#close']:before {
	transform: rotate(-45deg);
}
.popup .window a[href='#close']::after {
	transform: rotate(45deg);
}
@media (max-width: 1024px) {
	.popup {
		padding: 4rem 2rem;
	}
	.popup .window {
		width: 100%;
	}
}
@media (max-width: 700px) {
	.popup {
		backdrop-filter: unset;
		-webkit-backdrop-filter: unset;
		padding: 0;
	}
	.popup .window {
		border-radius: 0;
		height: 100%;
		max-height: unset;
	}
}



/* BASKET POPUP and articles */
.popup.basket .window {
	display: flex;
	flex-flow: column nowrap;
	padding: 0 2rem 2rem;
}
section.articles{
	display: flex;
	flex-flow: column nowrap;
}
.popup.basket :where(.estimate, .goods), 
section.articles :where(.estimate, .goods) {
	display: flex;
	flex-flow: column nowrap;
}
.popup.basket .goods {
	overflow-y: scroll;
}
.popup.basket .header,
.popup.basket .goods > div, 
section.articles > div  {
	display: flex;
    min-width: 0;
    background: none;
	flex-flow: row nowrap;
	border-bottom: 1px solid var(--border);
}
.popup.basket .header {
	border-bottom: 2px solid var(--border);
}
.popup.basket .header > div,
.popup.basket .goods > div > div,
section.articles > div > div {
	width: 12rem;
	padding: 1rem;
	text-align: right;
}
.popup.basket .goods > div:last-child {
	border: 0;
}
.popup.basket .header > div:first-child,
.popup.basket .goods > div > div:first-child,
section.articles .good:first-child {
	flex-grow: 2;
	text-align: left;
}
.popup.basket .goods .good,
section.articles .good {
	position: relative;
	min-height: 12rem;
	padding-left: 13rem;
}

.popup.basket .sq-image,
section.articles .sq-image {
	width: 10rem;
	height: 10rem;
	padding: 0;
	position: absolute;
	left: 1rem;
	top: 1rem;
}
.popup.basket .title {
	text-decoration: none;
	color: var(--secondary);
	font-size: 2rem;
	line-height: 2rem;
}
.popup.basket .title:hover {
	text-decoration: underline;
}

.popup.basket .specs,
section.articles .specs {
	list-style: none;
	margin: 1rem 0 0;
	padding: 0;
	color: var(--secondary);
	opacity: 0.5;
	font-size: 1.4rem;
	line-height: 120%;	
}
.popup.basket .goods .price,
section.articles .price {
	font-size: 1.4rem;
	line-height: 2rem;
	opacity: 0.8;
}
.popup.basket .goods .price.summ,
section.articles .price.summ {
	font-size: 1.6rem;
}
.popup.basket input,
.popup.basket select,
section.articles input{
	border: 1px solid var(--border);
	padding: 0.5rem 1.5rem;
	width: 7rem;
	outline: 0;
	-webkit-appearance: none;
	-moz-appearance: textfield;
	border-radius: 5rem;
	margin: 0;
	font-size: 1.2rem;
	line-height: 100%;
	height: 3rem;
	transition: border-color 0.3s ease;
}
.popup.basket input:focus,
.popup.basket select:focus,
section.articles input:focus {
	border-color: var(--primary);
}
.popup.basket select {
	padding: 0.5rem 3rem 0.5rem 1.5rem;
	background: url('/assets/i/dropdown.svg') calc(100% - 1rem) center no-repeat;
	background-size: 1rem 1rem;
}
.popup.basket input::-webkit-outer-spin-button,
.popup.basket input::-webkit-inner-spin-button,
section.articles input::-webkit-outer-spin-button,
section.articles input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


.popup.basket input,
section.articles input {
    -moz-appearance:textfield;
}
.popup.basket .amount a {
	display: inline-block;
	width: 7rem;
	color: var(--secondary);
	font-size: 1.2rem;
	text-align: center;
	margin-top: 1rem;
	opacity: 0.5;
	text-decoration: none;
}
.popup.basket .amount a:hover {
	text-decoration: underline;
}
.popup.basket .total {
	font-size: 2rem;
	line-height: 2rem;
}
.popup.basket .total a {
	display: inline-block;
	background-color: var(--secondary);
	color: var(--background-color);
	text-decoration: none;
	padding: 1.5rem 2rem;
	margin-top: 2rem;
	border-radius: 0.3rem;
	font-size: 1.6rem;
	line-height: 1.6rem;
	text-transform: uppercase;
}
.popup.basket .total {
	border-top: 2px solid var(--border);
	padding: 2rem 1rem 1rem;
	text-align: right;
}
@media (max-width: 760px) {
	.popup.basket h2 {
		border-bottom: 2px solid var(--border);
		margin-bottom: 0;
		padding-bottom: 2rem;
	}
	.popup.basket .header {
		display: none;
	}
	.popup.basket .goods > div,
	section.articles > div {
		flex-flow: row wrap;
	}
	.popup.basket .goods > div > div,
	section.articles > div > div {
		width: auto;
	}
	.popup.basket .goods .good,
	section.articles .good {
		padding-bottom: 0;
	}
	.popup.basket .goods .price:not(.summ),
	section.articles .price:not(.summ){
		display: flex;
		flex-flow: row nowrap;
/* 		padding-top: 0; */
/* 		padding-left: 13rem; */
		font-size: 1.4rem;
		opacity: 0.5;
	}
	.popup.basket .goods .price:not(.summ)::before,
	section.articles .price:not(.summ)::before{
		display: inline-block;
		content: ' / шт.';
		order: 3;
	}
	.popup.basket .goods .amount,
	section.articles .amount {
		display: flex;
		flex-flow: column nowrap;
		justify-content: center;
		margin-top: -0.5rem;
	}
	.popup.basket .goods .summ,
	section.articles  .summ {
		flex-grow: 2;
	}
	.popup.basket .total a {
		margin-top: 3rem;
	}
}



/* LOGIN POPUP */
.popup.login {
	display: flex;
	opacity: 1;
}
.popup.login .window, .popup.pasword_sent .window {
	padding: 0 0 0rem 0;
/*	overflow-y: scroll; */
/* 	overflow-x: hidden; */
 	max-width: 40rem;
}
.popup.login .switch {
	display: flex;
/* 	width: 300%; */
	transform: translate(calc(-33.333333% * 0));
}
.popup.login figure {
	width: 100%;
	padding: 2rem 2rem;
}

.popup.login .flex-container{
	width: 100%;
	display: flex;
	display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    margin-bottom: 3.2rem;
}

.popup.login .field .flex-container {
	margin-bottom: 0;
}
.popup.login .field .error-message{
	display: none;
}

a.to_signup, a.to_signin{
	display: block;
	font-size: 16px;
    margin: 2rem 0 0;
    text-decoration: underline;
}
.popup.login h2{
	font-size: 26px;
	padding: 0;
	
    margin: 2rem 0 0;
}
.popup.login :where(
	input[type='text'],
	input[type='email'],
	input[type='password']
) {
	display: block;
	width: 100%;
	outline: none;
	border: 1px solid var(--border);
	border-radius: 0.3rem;
	padding: 1.1rem 0.8rem;
	font-size: 1.6rem;
	line-height: 100%;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.popup.login :where(
	input[type='text'],
	input[type='email'],
	input[type='password']
):focus {
	border-color: var(--primary);
	box-shadow: 0 0 0.5rem var(--primary);
}
.popup.login .window label[for] {
	color: var(--secondary);
/* 	opacity: 0.5; */
	font-size: 1.4rem;
}
.popup.login .field {
	display: block;
	padding-bottom: 1.6rem;
	position: relative;
}
.popup.login .field.error :where(
	input[type='text'],
	input[type='email'],
	input[type='password']
){
	border-color: var(--error-color);
}
.popup.login .field.error :where(
	input[type='text'],
	input[type='email'],
	input[type='password']
):focus{
	box-shadow: 0 0 0.5rem var(--error-color);
}
.popup.login .error-text {
	display: block;	
	font-size: 1rem;
	line-height: 100%;
	color: var(--error-color);
	position: absolute;
	left: 0;
	bottom: 0.9rem;	
}

.popup.login .field.error label{
	color: var(--error-color);
}

.popup.login .field.error .error-message{
	display: block;
	font-size: 1rem;
	line-height: 100%;
	color: var(--error-color);
}

.popup.login label{
	font-weight: bold;
}

.popup.login form .styled-button{
	width: 100%;
	padding: 1.1rem 0.8rem; 
	margin-top: 1.6rem;
}

.popup.login center a{
	display: inline;
	text-decoration: underline;
}

.popup.login center p{
	margin-top: 3.2rem;
}

.popup.login center{
	margin-top: 3.2rem;
}

@media (min-width: 761px) {
	.main_popular_goods .wrapper, .main_news .wrapper{
		flex-flow: wrap;
	}
}





