@media all and (max-width:1600px) {	
.center {
  flex-wrap: wrap;
}
section:not(.commercial) .leftblock{
	width: 100%;
	margin-bottom: 20px;
}
section:not(.commercial) .rightblock{
	width: 100%;
}
footer .leftblock{
	display: none;
}
footer .rightblock{
	width: 100%;
}
header .center .leftblock {  
	flex: none;
	width: 80px;
	margin-bottom: 0;
	padding: 5px;
	box-sizing: border-box;
}
header .center .rightblock {
  width: unset;
  flex-grow: 1;
}
header .center {
  min-height: 40px;
  display: flex;
  flex-wrap: nowrap;
  padding: 10px;
}
header .center .rightblock .menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 20px;
}
.top .leftblock{
	display: none;
}
.gallery .wrapper .item img {
  display: block;
  height: 500px;
}
}
@media all and (max-width:1200px) {	
.next{
	display: none;
}
.center {
    max-width: 100%;
    width: 1920px;
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
    padding: 0 10px;
	flex-wrap: wrap;
}
	.top .center{
		min-height: 100vh;
		padding: 100px 10px;
	}
	.leftblock{
		width: 100%;	
margin-bottom: 20px;		
	}
	.rightblock{
		width: 100%;		
	}
	header .center .rightblock{
		display: none;
	}
	header .center .leftblock{
		justify-content: space-between;
		width: 100%;
		position:relative;
		z-index: 900;
		padding: 15px;
	}
	

	
.mobmenu{
	display: block;
	cursor: pointer;
}

.mobmenu .close{
	display: none;
}
header.menuopen .mobmenu .close{
	display: block;
}
header.menuopen .mobmenu .open{
	display: none;
}

header.menuopen .center .leftblock{
	background: var(--white);
}

  header .center {
    padding: 0;
  }

  header.menuopen .center .rightblock {
    display: flex;
    position: fixed;
    top: 90px;
    left: 0;
    width: 100vw;
    bottom: 0;
    z-index: 890;
    flex-direction: column;
	background-color: #F4F4F8;
    background-image: url('../images/mobmenu.svg');
	background-position: right bottom;
	background-repeat: no-repeat;
	padding: 60px 8px;
	box-sizing: border-box;
	align-items: flex-start;
  }
  header.menuopen .center .rightblock .menu{
	  flex-grow: 1;
  }
    header .center .rightblock .menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
	flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 30px;
  }
  
  header .center .rightblock .menu ul li a{
	  font-family: var(--font-family);
	font-weight: 500;
	font-size: 24px;
	line-height: 140%;
	color: var(--black);
  }
  header .center .rightblock .phone a{
	  font-family: var(--font-family);
	font-weight: 600;
	font-size: 24px;
	line-height: 140%;
	color: var(--grey-dark);
	margin-bottom: 20px;
  }
  header .center .rightblock .socials a {
  width: 64px;
	height: 64px;
  border-radius: 100%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
background-color: var(--red);
}

header .center .rightblock .socials a img{
	width: 30px;
	display: block;
}
	

	.commercial .comtop .rightblock{
		display: none;
	}
	.commercial .comtop {
  display: flex;
  border-top: unset;
}
.commercial .comtop .leftblock {
  padding-top: 0;
}
.commercial .comcontent .leftblock{
		display: none;
}
.commercial .comcontent .item {
  display: block;
  background: var(--grey-light);
  border-radius: 12px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}
.gallery .wrapper .item img {
  display: block;
  height: 360px;
}
section{
  max-width: 100%;
  overflow: hidden;
}
footer .leftblock{
	display: none;
}
footer .rightblock {
  display: flex;
  gap: 20px;
  box-sizing: border-box;
  flex-grow: 1;
  flex-wrap: wrap;
}
.reviews .rightblock .wrapper .item{
	min-width: 300px;
}
.commercial {
  padding: 40px 10px;
}
.top .leftblock{
	display: none;
}
.top .rightblock .pretitle {
  font-size: 16px;
}
.top .rightblock .title {
  font-size: 36px;
}
.top .rightblock .title2 {
  font-size: 36px;
}
.top .rightblock .atitle {
  font-size: 16px;
}
.top .rightblock .price {
  width: 148px;
  height: 148px;
  font-size: 18px;
  transform: translate(0,110%);
}
.partners .center {
  padding: 80px 10px;
  display: flex;
}
.partners .rightblock .item {
  width: calc((100% / 2) - 16px);
}
.partners .rightblock .item img{
	max-width: 90%;
	display: block;
}
.why .center {
  background: var(--black);
  padding: 80px 10px;
  display: flex;
}
.why .rightblock .item,.why .rightblock .item.presentation {
  width: 100%;
}
.discount .center {
  background-image: unset;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 80px 10px;
  box-sizing: border-box;
  display: flex;
}

.discount .leftblock{
	display: none;
}
.discount .center .title {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 24px;
  line-height: 110%;
  color: var(--black);
}
.commercial .comcontent .rightblock {
  flex-grow: 1;
  padding: 0px 0;
  display: flex;
  flex-direction: column;
  row-gap: 40px;
}
.commercial .comcontent .item .title {
  font-size: 24px;
}
.commercial .comcontent .item .text {
  font-size: 18px;
}
.etwrap {
  margin: 15px 0;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  flex-direction: column;
}
.etitem {
  flex: none;
  width: 100%;
  border: 1px solid var(--grey);
  border-radius: 8px;
  background: var(--grey-light);
  display: flex;
  row-gap: 40px;
  flex-direction: column;
  padding: 20px;
  box-sizing: border-box;
}
.reviews .center {
  display: flex;
  padding: 80px 10px;
  box-sizing: border-box;
}
.reviews .rightblock .title {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 32px;
  line-height: 110%;
  color: var(--black);
  margin-bottom: 20px;
}
.reviews .rightblock .wrapper .item {
  width: 100%;
}
footer .center {
  background: var(--black);
  padding: 40px 10px;
  box-sizing: border-box;
}
.mobnum{
	font-family: var(--font-family);
font-weight: 400;
font-size: 16px;
line-height: 120%;
color: var(--red);
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 15px;
}

.mobnum::before{
	display: block;
	border-radius: 100%;
	background-color: var(--red);
	content: '';
	width: 9px;
	height: 9px;
}

}

@media all and (max-width:991px) {
.popup {
  display: none;
  z-index: 1010;
  padding: 40px 10px;
  box-sizing: border-box;
  width: unset;
  height: 90vh;
  position: fixed;
  top: 5vh;
  right: 5px;
  background: var(--white);
  overflow: auto;
  left: 5px;
  border-radius: 10px;
}
.popup .title {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 22px;
  line-height: 140%;
  color: var(--black);
  margin-bottom: 32px;
}
.popup .close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 999;
  cursor: pointer;
}
}
@media all and (max-width:600px) {
footer .col {
  width: 100%;
  flex: none;
  max-width: 100%;
  min-width: 300px;
}
}