html {
	font-size: 18px;
	line-height: 22px;
}

body {
	font-family: var(--site-font-family);
	text-align: justify;
	color: var(--site-text-color);

	display: flex;
	flex-direction: column;
	overflow-x: hidden;

	box-sizing: border-box;
}

.container {
	flex-grow: 1;
}

.container {
	display: flex;
	gap: 35px;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 20px;
	width: 100%;
}

.sidebar {
	width: 240px;
	min-width: 240px;
	align-self: start;
}

.content {
	width: 100%;
	margin: 0 auto;
}

.content .g-section:first-child {
	padding-top: 0;
	margin-top: 0;
}

/* header */

.header-container {
	width: 100%;
	display: flex;
	justify-content: center;
	max-width: 1180px;
	margin: 0 auto;
	position: relative;
	padding: 20px;
}

.header-container.others-page {
	justify-content: space-between;
}

.left-side-logos {
	display: flex;
	align-items: center;
}

header {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;

	margin-bottom: 30px;
}

.header-top-left-side-decorator {
	position: absolute;
	top: 5px;
	left: 5px;
}

.header-container.others-page .header-top-left-side-decorator {
	position: relative;
	top: -25px;
	left: -15px;
}

.main-logo {
	position: relative;
}

.mobile-logo {
	width: 253px;
	height: 191px;
}

.burger {
	display: none;
}

.menu {
	display: none;
}

.menu {
	position: absolute;
	top: calc(-100% - 240px);
	left: 0;
	width: 100%;
	padding-top: 50px;
	background-color: #eaeaea;
	transition: var(--site-transition);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.menu.active {
	top: 0;
}

.menu ul {
	list-style: none;
	margin: 0;
	padding: 20px;
	font-weight: 700;
}

.menu li {
	margin-bottom: 1.5rem;
}

.menu a {
	text-decoration: none;
	font-size: 1.1rem;
}

.menu a:hover {
	color: var(--site-blue-accent);
}

/* menu */

ul.main-menu {
	font-weight: 700;
	font-size: 14px;
	line-height: 15px;
	padding: 0;
	margin-bottom: 20px;
	list-style: none;
	text-align: left;
}

ul.main-menu li {
	display: flex;
	align-items: start;
	gap: 8px;
	margin-bottom: 15px;
	transition: var(--site-transition);
}

ul.main-menu li:hover {
	color: var(--site-blue-accent);
}

ul.main-menu .current-menu-item {
	color: var(--site-blue-accent);
}

.main-menu li::before {
	content: "";
	display: block;
	width: 8px;
	min-width: 8px;
	max-width: 8px;
	height: 15px;
	background-image: url("../img/menu-item.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.banners-container {
	display: flex;
	flex-direction: column;
	gap: 35px;
}

.banners-container.only-mobile {
	display: none;
}

.banners-container img {
	width: 100%;
	height: auto;
	object-fit: cover;
}

/* footer */

.footer {
	display: flex;
	flex-direction: column;
	gap: 50px;
	padding-bottom: 50px;
	padding-top: 30px;
	width: 100%;
	text-align: center;
}

.make-order {
	max-width: 600px;
	display: block;
	margin: 30px auto;
}

.footer.container {
	margin: 0 auto;
}

/* all adapts */

@media (max-width: 1599px) {
	.container {
		margin: 0;
	}

	.header-container {
		margin: 0;
	}
}

@media (max-width: 767px) {
	.sidebar {
		display: none;
	}

	.left-side-logos {
		display: none;
	}

	header {
		padding: 20px;
	}

	.burger {
		display: -webkit-box;
		display: -webkit-flex;
		display: flex;
		position: absolute;
		top: 20px;
		left: 20px;
		flex-direction: column;
		gap: 5px;
		width: 30px;
		height: 25px;
		background: none;
		border: none;
		cursor: pointer;
		z-index: 1100;
	}

	.burger span {
		display: block;
		height: 3px;
		background-color: #848484;
		border-radius: 2px;
		position: relative;
		transition: var(--site-transition);
		transform: translateZ(0);
		will-change: transform;
	}

	.burger.open span:nth-child(1) {
		transform: rotate(45deg) translate(6px, 6px);
	}

	.burger.open span:nth-child(2) {
		opacity: 0;
	}

	.burger.open span:nth-child(3) {
		transform: rotate(-45deg) translate(5px, -5px);
	}

	.menu {
		display: block;
	}

	.header-container,
	.header-container.others-page {
		justify-content: center;
		margin-bottom: 30px;
	}

	html {
		font-size: 14px;
		line-height: 18px;
	}

	body {
		text-align: left;
	}

	.footer {
		padding-bottom: 30px;
	}

	.banners-container.only-mobile {
		display: flex;
		margin: 0 25px;
	}
}
