
* {
	box-sizing: border-box;
}

body {
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
	font-size: 16px;
	line-height: 1.375;
	color: #1f1f1f;
}

html {
	overflow-x: hidden;
}

img {
	max-width:100%;
	height: auto;
}

.no-sroll {
	overflow: hidden;
}


/*------------Начальный экран----------------*/

.container {
	padding: 0 20px;
	width: 1200px;
	max-width: 100%;
	margin: 0 auto;
}

.section-top {
	height: 100vh;
	background: #0e1419 url(../img/Header_bg.jpg) no-repeat center;
	background-size: cover;
	text-align: center;
	color: #ffffff;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	padding: 170px 0 100px;
}

.section-top::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	background: rgb(0, 0, 0, 0.5);
	width: 100%;
	height: 100%;
}

.section-top__container {
	position: relative;
	width: 520px;
}

.section-top__info {
	font-size: 24px;
	font-family: 'Roboto', sans-serif;
	font-weight: 900;
	color: #fcff00;
	margin: 0 0 20px;
}

.section-top__title {
	font-size: 55px;
	font-family: 'Roboto', sans-serif;
	color: #ffffff;
	font-weight: 900;
	margin: 0 0 40px;
}

.btn {
	background: #ff5441;
	color: #ffffff;
	display: inline-block;
	border: 0;
	padding: 10px 20px;
	width: 240px;
	max-width: 100%;
	border-radius: 28px;
	font-family: 'Roboto', sans-serif;
	font-weight: 900;
	cursor: pointer;
	text-align: center;
	letter-spacing: .01em;
	box-shadow: 0px 0px 38px 0px rgb(212, 66, 50, 0.8);
	transition: all .2s;
}

.btn:hover {
	background-color: #ec4b38;
}

.btn:active {
	opacity: 0.7;
	transform: scale(.95);
}

/*---------Адаптив начального экрана---------------*/

@media (max-width: 992px) {
	.section-top {
		padding-top: 150px;
	}
}

@media (max-width: 576px) {
	.btn {
		font-size: 16px;
		padding: 16px 20px;
		width: 220px;
	}

	.section-top__info {
		font-size: 18px;
	}

	.section-top__title {
		font-size: 40px;
	}
}

@media (max-width: 360px) {
	.section-top__info {
		font-size: 18px;
	}

	.section-top__title {
		font-size: 34px;
	}
}


/*---------------Шапка-----------------------------*/

.header-page {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 5;
	background: rgba(11, 20, 25, 0.9);
	padding: 9px 0;
	overflow: hidden;
}

.header-page__container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.header-page__end {
	display: flex;
	align-items: center;
}

.header-page__nav {
	margin-right: 15px;
}

.header-page__ul {
	list-style: none;
	display: flex;
	margin: 0;
	padding: 0;
}

.header-page__link {
	color: #fff;
	text-decoration: none;
	display: block;
	padding: 15px 35px;
	font-family: 'Montserrat', sans-serif;
	font-weight: 900;
	font-size: 18px;
	position: relative;
	transition: padding 0.4s;
}

.header-page__link::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	background: #fff;
	width: 100%;
	height: calc(100% + 40px);
	transform: translateY(-50%);
	opacity: 0;
	transition: 0.3s;
}

.header-page__link:hover::before {
	opacity: 1;
}

.header-page__text {
	position: relative;
	transition: all .2s;
}

.header-page__link:hover .header-page__text {
	color: #1f1f1f;
}

.header-page__hamburger {
	display: none;
	margin-right: -15px;

}

.header-page.is-active .header-page__link {
	padding-top: 0;
	padding-bottom: 0;
}

.phone__item {
	color: #ffffff;
	font-family: 'Montserrat', sans-serif;
	text-decoration: none;
	font-weight: 900;
	border: solid 3px #ffffff;
	border-radius: 21.5px;
	padding: 9px 16px;
	display: inline-block;
	transition: 0.3s;
}

.phone__item:hover {
	color: #1f1f1f;
	background: #ffffff;
}

.phone__item:active {
	opacity: 0.8;
}

/*-------------Адаптив шапки---------------*/

@media (max-width: 1200px) {
	.header-page__link {
		font-size: 16px;
		padding: 12px 30px;
	}

	.header-page__phone {
		font-size: 14px;
		padding: 7px 16px;
	}
}

@media (max-width:992px) {
	.header-page__nav {
		display: none;
	}

	.header-page__hamburger {
		display: block;
		margin-right: -15px;
	}

	.header-page {
		padding: 5px 0;
	}
}

@media (max-width: 480px) {
	.header-page__phone {
		display: none;
	}
}

/*------------Меню товаров------------*/

.btn-menu {
	background: none;
	border-radius: 0;
	cursor: pointer;
	display: inline-block;
	padding: 15px;
	border: 0;
}

.btn-menu__box {
	display: inline-block;
	width: 40px;
	height: 24px;
}

.btn-menu__inner::before,
.btn-menu__inner::after,
.btn-menu__inner {
	background: #fff;
	width: 100%;
	height: 4px;
	border-radius: 5px;
}

.btn-menu__inner {
	display: block;
	top: 50%;
	position: relative;
}

.btn-menu__inner::before,
.btn-menu__inner::after {
	content: '';
	position: absolute;
	left: 0;
}

.btn-menu__inner::before {
	top: -10px;
}

.btn-menu__inner::after {
	bottom: -10px;
}

/*-------------------Каталог-----------------------*/

.section {
	padding: 110px 0;
}

.section__header {
	margin-bottom: 90px;
}

.section__title {
	font-size: 48px;
	text-align: center;
	margin: 0 auto 40px;
	font-family: 'Montserrat', sans-serif;
	font-weight: 900;
}

.section__title--accent {
	color: #ffa650;
}

.catalog-nav {
	display: flex;
	justify-content: center;
}

.catalog-nav__wrapper {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.1);
	border-radius: 23px;
	overflow: hidden;
}

.catalog-nav__btn {
	border: 0;
	padding: 0;
	background-color: transparent;
	cursor: pointer;
	display: inline-block;
	text-align: center;
	padding: 14px;
	min-width: 150px;
	font-family: 'Montserrat', sans-serif;
	font-size: 18px;
	font-weight: 900;
	color: #e6e6e6;
	border-right: 1px solid #e5e5e5;
	transition: 0.3s;
}

.catalog-nav__btn.is-active {
	background: #1f1f1f;
	color: #ffffff;
	border-color: #1f1f1f;
}

.catalog-nav__item:last-of-type .catalog-nav__btn {
	border-right: 0;
}

.catalog-nav__btn:not(.is-active):hover {
	background: #ffa650;
	color: #ffffff;
	border-right-color:#ffa650;
}

.catalog {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -35px;
}

.catalog__item {
	color: #000000;
	width: calc(100% / 3);
	margin-bottom: 90px;
	padding: 0 35px;
	position: relative;
}

.catalog__item::before {
	content:'';
	background: #f7f7f7;
	position: absolute;
	left: 0;
	top: 0;
	width: 3px;
	height: 100%;
	transform: translateX(-50%);
}

.catalog__item:nth-of-type(3n + 1)::before {
	content: none;
}

.catalog__item:last-of-type .catalog__product {
	border-bottom: 0;
	padding-bottom: 0;
}

.product {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.product__img {
	display: block;
	margin: 0 auto 15px;
	max-width: 100%;
}

.product__title {
	margin:  0 0 10px;
	font-family: 'Montserrat', sans-serif;
	font-weight: 900;
	font-size: 22px;
}

.product__description {
	margin: 0;
	color: #9f9f9f;
}

.product__content {
	margin-bottom: 25px;
	flex-grow: 1;
}

.product__sizes {
	margin-bottom: 30px;
	border-radius: 21px;
	display: flex;
	box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.2);
	justify-content: space-between;
}

.product__size {
	border: 0;
	background: transparent;
	cursor: pointer;
	display: inline-block;
	text-align: center;
	color: #e6e6e6;
	font-family: 'Montserrat', sans-serif;
	font-weight: 900;
	padding: 13px 33px;
	border-radius: 21px;
}

.product__size.is-active {
	color: #2a2a2a;
}

.product__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.product__price {
	font-family: 'Montserrat' sans-serif;
	font-size: 22px;
	font-weight: 900;
}

.product__btn {
	box-shadow: none;
	background: #ffa650;
	width: 200px;
	padding: 14px 20px;
}

.product__btn:hover {
	background: #ff7c21;
}

/*----------------Адаптив каталога*/

@media (max-width: 1250px) {
	.catalog__item {
		padding-left: 20px;
		padding-right: 20px;
	}

	.catalog {
		margin: 0 -20px;
	}
}

@media (min-width: 993px) and (max-width: 1200px) {
	.product__size {
		padding: 13px 25px;
	}
}

@media (max-width: 992px) {
	.catalog__item {
		width: 50%;
	}

	.catalog__item:nth-of-type(even)::before {
		content: '';
	}

	.catalog__item:nth-of-type(odd)::before {
		content: none;
	}
}

@media (max-width: 767px) {
	.catalog-nav {
		width: 500px;
		max-width: 100%;
		margin: 0 auto;
	}

	.catalog-nav__wrapper {
		flex-wrap: wrap;
		width: 100%;
		border-radius: 10px;
	}

	.catalog-nav__item {
		width: 50%;
		flex-grow: 1;
	}

	.catalog-nav__btn {
		min-width: 0;
		width: 100%;
		border: 1px solid #e5e5e5;
	}

	.catalog-nav__item:nth-of-type(1) .catalog-nav__btn,
	.catalog-nav__item:nth-of-type(2) .catalog-nav__btn {
		border-top: 0;
	}

	.catalog-nav__item:nth-of-type(even) .catalog-nav__btn {
		border-right: 0;
	}

	.catalog__item {
		width: 100%;
		margin-bottom: 50px;
	}

	.catalog__item:nth-of-type(n)::before {
		content: none;
		
	}

	.catalog__product {
		width: 350px;
		max-width: 100%;
		margin: 0 auto;
		border-bottom: 2px solid #f7f7f7;
		padding-bottom: 50px;
	}
}

@media (max-width: 576px) {
	.section {
		padding: 90px 0;
	}

	.section__title {
		font-size: 36px;
	}
}

@media (max-width: 370px) {
	.product__size {
		padding: 13px 25px;
	}
}

@media (max-width: 370px) {
	.product__price {
		font-size: 18px
	}
}

/*------------О нас------------*/

.section-about {
	background: linear-gradient(#2b2b2b, #1f1f1f);
	color: #ffffff;
	position: relative;
}

.section-about__img {
	position: absolute;
	top: 0;
	left: 0;
	width: 50%;
	height: 100%;
	object-fit: cover;
}

.section-about__container {
	position: relative;
	display: flex;
	justify-content: flex-end;
	width: 1400px;
}

.section-about__content {
	width: 50%;
	padding-left: 80px;
}

.section-about__title {
	text-align: left;
	margin-bottom: 20px;
}

.section-about__text {
	font-size: 18px;
	line-height: 1.67;
	margin: 0;
}

/*-----------Адаптив сектии о нас*/

@media (max-width: 1200px) {
	.section-about {
		padding-top: 80px;
		padding-bottom: 80px;
	}

	.section-about__content {
		padding-left: 50px;
	}
}

@media (max-width: 767px) {
	.section-about__img {
		width: 100%;
	}

	.section-about__container {
		justify-content: center;
	}

	.section-about__content{
		padding-left: 0;
		width: 500px;
		max-width: 100%;
	}
}

/*---------------Контакты----------------*/

.section-contacts__container {
	position: relative;
}

.section-contacts__container::before {
	content: '';
	position: absolute;
	background: url(../img/Tomat_bg.jpg) no-repeat;
	background-size: cover;
	width: 672px;
	height: 397px;
	bottom: -100px;
	right: -350px;
	overflow: hidden;
}

.page-title {
	text-align: center;
	font-size: 48px;
	font-family: 'Montserrat', sans-serif;
	font-weight: 900;
}

.section-contacts__title {}

.contacts {
	display: flex;
	align-items: center;
	position: relative;
	flex-wrap: wrap;
	justify-content: center;
}

.contacts__start {
	width: 50%;

}

.contacts__map {
	height: 450px;
	background: #fef0b4;
}

.contacts__end {
	width: 50%;
	padding-left: 30px;
}

.contacts__title {
	margin: 0 0 5px;
	font-family: 'Montserrat', sans-serif;
	font-size: 18px;
	font-weight: 900;
	margin-top: 35px;
}

.margin0 {
	margin-top: 0;
}

.contacts__item:last-of-type{
	margin-bottom: 0;
}

.contacts__text {
	margin: 0;
	font-size: 18px;

}

.contact__phone {
	color: inherit;
	text-decoration: none;
	transition: 0.3s;
}

.contact__phone:hover {
	color: #ff5441;
}

.social {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
}

.social__item {
	margin-right: 7px;
	width: 35px;
	height: 35px;
}

.social__link {
	display: inline-block;
}

/*-------------------Адаптив сектии контакты--------------*/

@media (max-width: 1800px) {
	.section-contacts__container::before {
		right: -250px;
	}
}

@media (max-width: 1600px) {
	.section-contacts__container::before {
		right: -150px;
		bottom: -200px;
	}
}

@media (max-width: 1400px) {
	.section-contacts__container::before {
		right: -100px;
	}
}

@media (max-width: 1300px) {
	.section-contacts__container::before {
		right: -50px;
	}
}

@media (max-width: 1200px) {
	.section-contacts__container::before {
		content: none;
	}
}

@media (max-width: 992px) {
	.contacts__map {
		height: 350px;
	}
}

@media (max-width: 767px) {
	.contacts__start {
		width: 100%;
		order: 1;
		padding-top: 30px;
	}

	.contacts__map {
		margin: 0 -20px;
		height: 300px;
	}

	.contacts__end {
		padding-left: 0;
		width: 400px;
		margin-bottom: 40px;
		max-width: 100%;
	}

	.section-contacts {
		padding-bottom: 0;
	}

}

@media (max-width: 400px) {
	.page-title {
		font-size: 36px;
		margin-bottom: -35px;
	}
}

/*------------------Футер-----------------*/

.footer-page {
	background: linear-gradient(#2b2b2b, #1f1f1f);
	padding: 25px 0;
	margin-top: 50px;
	position: absolute;
	width: 100%;
}

.footer-page__text {
	font-size: 18px;
	font-family: 'Montserrat', sans-serif;
	color: rgba(255, 255, 255, 0.3);
	text-align: center;
	font-weight: 900;
}

/*-----------------Попап меню---------------------*/

.popup {
	position: fixed;
	z-index: 10;
	top: 0;
	left: 0;
	background: rgba(0, 0, 0,.7);
	width: 100%;
	height: 100%;
	overflow: auto;
	pointer-events: none;
	opacity: 0;
	visibility: hidden;
}

.popup.is-active {
	pointer-events: auto;
	opacity: 1;
	visibility: visible;
}

.popup__content {
	background: #ffffff;
	padding: 70px 20px;
	max-width: 730px;
	margin: 0 auto;
	position: relative;
	border-radius: 20px;

}

.popup__wrapper {
	display: table;
	height: 100%;
	width: 100%;
}

.popup__inner {
	display: table-cell;
	vertical-align: middle;
	padding: 50px 0;
}

.btn-close {
	padding: 0;
	position: relative;
	border: none;
	cursor: pointer;
	background: none;
	width: 50px;
	height: 50px;
	display: inline-block;
	transition: transform 0.2s, opacity 0.2s;

}

.btn-close:hover {
	transform: scale(1.1);
}

.btn-close:active {
	transform: scale(0.9);
	opacity: 0.8;
}


.btn-close::before,
.btn-close::after {
	content: '';
	background: #d2d2d2;
	height: 40px;
	width: 3px;
	position: absolute;
	border: 10px;
	top: 50%;
	transform: translateY(-50%);

}

.btn-close::before{
transform: translateY(-50%) rotate(45deg);
}

.btn-close::after{
	transform: translateY(-50%) rotate(-45deg);
}

.popup__btn-close {
	position: absolute;
	top: 20px;
	right: 20px;
}

.mobile-menu__ul{
	list-style: none;
	margin: 0;
	padding: 0;
}

.mobile-menu {
	width: 100%;
}

.mobile-menu__link {
	text-decoration: none;
	padding: 20px 0;
	font-family: 'Montserrat', sans-serif;
	display: block;
	color: inherit;
	font-size: 24px;
	font-weight: 900;
	text-align: center;
	transition: 0.2s;
}

.popup__content--fluid {
	padding-left: 0;
	padding-right: 0;
}

.popup__content--center {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.mobile-menu__link:hover {
	background: #ffa650;
	color: #fff;
}

.mobile-menu__link:active {
	opacity: 0.8;
}

.phone__item--accent {
	border-color: #ffa650;
	color: #ffa650;
	transition: 0.2s;
}

.phone__item--accent:hover {
	background: #ffa650;
	color:#ffffff;
}

.popup__mobile-menu {
	margin-bottom: 30px;
}

.popup__phone {
	margin-bottom: 30px;
}

/*----------------Адаптив попап меню-------------*/

@media (max-width:767px) {
	.popup__content {
		max-width: 100%;
		border-radius: 0;
		height: 100%;
		padding-top: 100px;
	}

	.popup__inner {
		padding: 0;
	}

	.mobile-menu__link {
		font-size: 20px;
	}
}

/*----------------попап форма заказа-------------*/

.popup-title {
	margin-bottom: 20px;
	margin-top: -10px;
}

.popup__subtitle {
	margin: 0;
	text-align: center;
	font-size: 24px;
}

.popup__subtitle--order {
	max-width: 360px;
	margin: 0 auto 40px;
}

.order {
	max-width: 310px;
	margin: 0 auto;
}

.order__img {
	width: 186px;
	display: block;
	margin: 0 auto 10px;

}

.order__title {
	font-family: 'Montserrat', sans-serif;
	margin: 0 0 5px;
	text-align: center;
	font-weight: 900;
}

.order__size {
	margin: 0 0 5px;
	color: #a2a2a2;
	font-weight: 900;
	text-align: center;
	font-family: 'Motserrat', sans-serif;
}

.form__input {
	display: block;
	width: 100%;
	padding: 20px 28px;
	background: #f9f9f9;
	border-radius: 32px;
	margin-bottom: 8px;
	border: 2px solid transparent;
	outline: none;
}

.form__input:focus {
	border-color: #ffa650;
}

.form__btn {
	box-shadow: none;
	width: 100%;
	background: #ffa650;
	padding: 22px 28px;
	border-radius: 50px;
}

.popup__link {
	text-decoration: none;
	color: inherit;
	white-space: nowrap;
}


/*----------------Адаптив попапа форма заказа-------------*/

@media (max-width: 767px) {
	.popup__subtitle {
		font-size: 18px;
	}

	.popup__subtitle--order {
		max-width: 260px;
	}
}
