@charset "UTF-8";
@import "css/fonts/Montserrat/stylesheet.css";
/*
Theme Name: Krepej
Theme URI: 
Author: Mikol42
Description: 
Version: 1.0.0
License: Commercial software
License URI:
Tags: krepej
Text Domain: krepej
*/

/**
 * 1.0 - General styles
**/

:root {
	--main_color: #282828;
	--alt_color: #f07f1c;
	--text_color: #333;
}

*,
*::after,
*::before {
	box-sizing: border-box;
    padding: 0;
    border: 0;
    outline: 0;
    margin: 0;
}

html,
body {
	width: 100%;
	min-width: 320px;
	color: var(--text_color);
	font: normal normal 400 16px/1.3 'Montserrat', sans-serif;
	background: #fff;
	text-underline-offset: 2px;
}

iframe {
	max-width: 100%;
}

input,
select,
textarea,
button {
	color: inherit;
	font: inherit;
	resize: none;
}

figure {
	margin: 0;
}

p {
	margin: 0.7em 0;
}

blockquote {
	position: relative;
	padding-left: 30px;
	margin: 1em 0;
	color: var(--main_color);
	font-style: italic;
}

blockquote::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	border-left: 5px solid var(--alt_color);
}

hr {
	border-bottom: 1px solid;
}

b,
strong {
	font-weight: 700;
}

.none, 
.hide {
    display: none;
}

a {
	color: var(--main_color);
	text-decoration: underline;
    transition: 0.5s;
}

a:hover {
	color: var(--alt_color);
}

em {
	font-weight: 400;
}

/**
 * 1.1 - Captions
**/

h1,
h2,
h3,
h4,
h5,
h6,
.caption {
	display: block;
	position: relative;
	margin: 1em 0;
	color: var(--main_color);
	line-height: 1.3;
	font-weight: 700;
	text-decoration: none;
	text-align: inherit;
}
 
h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child,
.caption:first-child {
	margin-top: 0;
}

h1, h6 {
	font-weight: 900;
	font-size: 48px;
	text-transform: uppercase;
}

h2{
	font-weight: 900;
	font-size: 32px;
}

h3 {
	font-size: 26px;
}

h4,
.caption  {
	font-size: 18px;
}

h5 {
	font-size: 16px;
}

h1 b,
h2 b,
h3 b,
h4 b,
h5 b,
h6 b,
.caption b {
	color: var(--alt_color);
	font-weight: inherit;
}
@media (max-width: 1200px) {
	h1, h6 {
		margin: 0.5em 0;
		font-size: 32px;
	}

	h2 {
		font-size: 28px;
		margin: 0.5em 0;
	}

	h3 {
		font-size: 24px;
	}
}

@media (max-width: 600px) {
	h1, h6 {
		font-size: 24px;
	}

	h2{
		font-size: 22px;
	}

	h3,
	.caption {
		font-size: 20px;
	}
}

/**
 * 1.2 - Lists
**/ 

ol, 
ul {
    list-style-type: none;
    counter-reset: ol;
	position: relative;
	margin: 1.25em 0;
}

ol > li, 
ul > li {
	position: relative;
	padding-left: 1.6em;
	margin: 0.5em;
	min-height: 1.2em;
}

ul > li::before,
ol > li::before {
	position: absolute;
	top: 0;
	left: 0;
}	
	
ul >li::before {
	content: "";
	display: inline-block;
	border: 2px solid;
	border-radius: 50%;
	margin: 0.6em 0 0 0;
}

li ol li {
	padding-left: 2em;
}

ul ul > li::before {
	padding: 2px;
	border: 1px solid;
	border-radius: 50%;
}

ol ol {	
    counter-reset: ol_2;
}

ol > li::before {
	content: counter(ol) ".";
	counter-increment: ol;
	font-weight: 500;
}

ol ol > li::before {
	content: counter(ol) "." counter(ol_2);
	counter-increment: ol_2;
}

/**
 * 1.3 - Table
**/ 
 
.table-box {
	margin: 1.25em 0;
	overflow: auto;
	max-height: 550px;
}

table {
	border: 1px solid;
	width: 100%;
	border-color: var(--text_color);
	border-collapse: collapse;
	border-spacing: 0;
	font-weight: 400;
	font-style: normal;
}

tbody {
	border-color: inherit;
}

tr {	
	border-color: inherit;
}

tr:nth-child(2n) {	
	background: #eee;
}

td,
th,
caption {
	position: relative;
	padding: 12px;
	border-width: 1px 0 0 1px;
	border-style: solid;
	border-color: inherit;
	color: var(--main_color);
	font: inherit;
	text-align: left;
	background-clip: border-box;
}

td:last-child,
th:last-child {
	border-right-width: 1px;
}

tr:last-child td,
tr:last-child th {
	border-bottom-width: 1px;
}

th {
	background-color: var(--alt_color);
	color: #fff;
}

thead th,
tfoot th {
	border-color: transparent;
}

th + th {
	border-right-color: transparent;
	border-left-color: transparent;
}

caption {
	caption-side: bottom;
	text-align: center;
} 

thead,
tfoot,
caption{
	font-weight: 400;
	font-style: normal;
	font-size: 100%;
	background-color: var(--main_color);
}

thead td,
tfoot td,
caption {
	border-color: transparent;
	color: #fff;;
}

caption{
	background: transparent;
	color: var(--main_color);
	font-style: italic;
}

th + th::before,
thead td + td::before,
tfoot td + td::before {
	content: "";
	position: absolute;
	top: 0;
	right: 100%;
	bottom: 0;
	left: -1px;
	background: #fff;;
}

thead td::after,
thead th::after,
tfoot tr:not(:first-child) td::after,
tfoot tr:not(:first-child) th::after {
	content: "";
	position: absolute;
	top: -1px;
	right: 0;
	bottom: 100%;
	left: -1px;
	background: #fff;;
}

th:first-child::after,
thead td:first-child::after,
tfoot tr:not(:first-child) td:first-child::after {
	left: 0px;
}

table img,
table svg {
	max-width: none;
    max-height: none;
}

@media (max-width: 880px) {
	.table-box {
		margin: 1.25em 0;
		overflow: auto;
		max-height: 550px;
	}
}

/**
 * 1.4 - Images
**/ 

.wp-caption {
	max-width: 100%;
}

.wp-caption-text,
.wp-caption-dd {
	margin: 5px 0;
	color: var(--text_color);
	font-size: 0.8rem;
	font-style: italic;
	text-align: center;
}

img,
svg {
	position: relative;
	max-width: 100%;
	height: auto;
}

.alignleft {
	float: left;
	margin: 5px 10px 5px 0;
	max-width: 50%;
}

.alignright {
	float: right;
	margin: 5px 0 5px 10px;
	max-width: 50%;
}

.aligncenter {
    display: block;
	margin: 5px auto;
}

.alignnone {
	margin: 5px 0 5px;
}

/**
 * 1.5 - Gallery
**/

.gallery {
	display: flex;
	flex-wrap: wrap;
	position: relative;
	margin: 1em 0;
	margin-right: -16px;
	font-size: 0;
}

.gallery .gallery-item {
	display: inline-block;
	position: relative;
	margin: 0 16px 16px 0;
	width: calc(100% / 4 - 16px);
	max-width: 298px;
}

.gallery-item a {
	display: block;
	width: 100%;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.gallery-item .gallery-icon {
	display: flex;
	position: relative;
	padding-top: calc(100% * 240 / 298);
	width: 100%;
	overflow: hidden;
	transition: inherit;
}

.gallery-item .gallery-icon::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	background: var(--alt_color);
	opacity: 0;
	transition: inherit;
}

.gallery-item a:hover .gallery-icon::before {
	opacity: 0.2;
}

.gallery-item .gallery-icon::after {
	content: "";
	
	display: flex;
	justify-content: center;
	align-items: center;
	
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;	
	background: url('css/img/img-hover.svg') 50% 50%/60px  no-repeat;	
	opacity: 0;
	transition: inherit;
}

.gallery-item a:hover .gallery-icon::after {
	opacity: 1;
}

.gallery-item svg,
.gallery-item img {	
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.gallery-item .gallery-caption {
	margin: 0.5em 0 1em;
	max-width: 100%;
	color: inherit;
	font-style: italic;
	font-size: 0.8rem;
	word-wrap: break-word;
	text-align: center;
}

@media (max-width: 958px) {	
	.gallery .gallery-item {
		width: calc(100% / 3 - 16px);
	}
}

@media (max-width: 644px) {		
	.gallery .gallery-item {
		width: calc(100% / 2 - 16px);
	}
}

/**
 * 1.6 - Button
**/

.button-block {
	padding: 15px 0;
	width: 100%;
	font-size: 0;
	text-align: center;
}

.button,
input[type="submit"] {
    display: inline-block;
    position: relative;
    z-index: 1;
	padding: 12px 16px;
	min-width: 220px;
	max-width: 100%;
	background: var(--alt_color);
	color: #fff;
	font-weight: 500;
	font-size: 1rem;
	line-height: 1;
	text-decoration: none;
	text-transform: none;
    text-align: center;
	transition: 0.5s;
    cursor: pointer;
	user-select: none;
}

.button:hover,
input[type="submit"]:hover {
	background: #f4933d;
	color: #fff;
}

.button:active,
input[type="submit"]:active {
    top: 3px;
}

/**
 * 1.7 - Contacts
**/

.shedules-block,
.adresses-block,
.phones-block {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin: 1em 0;
}

.shedule,
.adress,
.phone {
	position: relative;
	color: inherit;
	text-decoration: none;
}

.adress {
	margin: 1em 0;
}

.phone {
	white-space: nowrap;
}

.shedule .label,
.adress .label{
	display: block;
	color: var(--main_color);
}

.phone .code {
}

.phone .number {
}

.socials-block {
	display: flex;
	margin: 0.5em 0;
}

.socials-block .social {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-left: 30px;
	width: 28px;
	height: 20px;
	mask: center left /contain no-repeat;
	background: var(--main_color);
	opacity: 0.8;
}

.socials-block :first-child .social {
	margin-left: 0;
}


.socials-block .social:hover {
	background: var(--alt_color);
	opacity: 1;
}

.socials-block .social img,
.socials-block .social svg {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
}

/**
 * 1.13 - Menu
**/

.menu {
	padding: 0;
	margin: 0;
}

.menu-item {
	padding: 0;
	margin: 0;
}

.menu-item::before {
	content: none;
}

.menu-item a {
	display: block;
	padding: 10px;
	color: inherit;
	text-decoration: none;
}

.menu-item.current-menu-item > a,
.menu-item a:hover {
	color: var(--alt_color);
}

/**
 * 2.1 - To top button
**/
	
.totop {
	position: fixed;
	right: 20px;
	bottom: -100px;
	z-index: 100;
	border: 1px solid;
	width: 50px;
	height: 50px;
	background: rgba(255, 255, 255, 0.5);
	color: var(--main_color);
	cursor: pointer;
}

.totop:hover {
	color: var(--alt_color);
}

.totop::after {
	content: "";
	position: absolute;
	top: 27px;
	left: 35px;
	z-index: 1;
	border-left: 4px solid;
	border-bottom: 4px solid;
	width: 15px;
	height: 15px;
	transform: rotate(135deg);
	transform-origin: 0 0;
}

@media (max-width: 1300px) {
	.totop {
		display: none;
	}	
}

/**
 * 6.1 - Phone Form
**/

#cboxOverlay {
	background: #000;
}

#cboxContent,
#cboxLoadedContent {
	padding: 0;
	background: #fff;
}

.request-form-block {
	display: flex;
	width: 100%;
	background: #fff;
}

.request-form-block .image-box {
	flex: 1;
	position: relative;
	z-index: 2;

}

.request-form-block .image-box::after {
	Content: '';
	position: absolute;
	top: 0;
	right: 0;
	Bottom: 0;
	left: 0;
	z-index: 1;
	background:
		linear-gradient(255.52deg, rgba(255, 255, 255, 0) 75.28%, rgba(255, 255, 255, 0.44) 83.28%),
		linear-gradient(293.9deg, rgba(255, 255, 255, 0) 68.89%, rgba(255, 255, 255, 0.44) 80.07%),
		linear-gradient(270deg, rgba(255, 255, 255, 0) 84.78%, #FFFFFF 98.91%);
}

.request-form-block .image-box img {
	position: absolute;
	top: 0;
	right: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.request-form {
	flex: 1;
	padding: 45px 55px;
}

#colorbox.form .request-form {
    max-width: 800px;
}

.request-form .caption {
	margin-bottom: 0.5em;
	font-weight: 900;
	font-size: 48px;
	text-transform: uppercase;
}

.request-form .description {
}

.request-form .field {
	display: block;
}

.request-form .field .title {
	display: none;
}

.request-form .field.privacy-field .title {
	display: inline;
	color: #656565;
}

.request-form .field.privacy-field .title a {
	color: inherit;
}

.request-form .field.privacy-field .title a:hover {
	color: var(--alt_color);
}

.request-form .field.not-valid .title {
	color: #d91d1d;
}

.request-form select,
.request-form textarea,
.request-form input[type="text"] {
	padding: 12px;
	border: 1px solid #c8c4bb;
	margin: 12px 0;
	width: 100%;
	max-width: 426px;
	background: #fff;
	color: inherit;
	font-weight: 400;
	font-family: inherit;
}

.request-form input[type="radio"] {	
	margin: 10px 0;
}

.request-form.not-valid .field.not-valid input[type="checkbox"] {
	outline: 1px solid #d91d1d;
}
.request-form.not-valid .field.not-valid select,
.request-form.not-valid .field.not-valid textarea,
.request-form.not-valid .field.not-valid input[type="text"] {
	border-color: #d91d1d;
}

.request-form .btn-field {
	position: relative;
	margin: 24px 0;
	min-height:  30px;
}

.request-form .button {
	padding: 13px 20px;
	font-size: 18px;
}

.request-form .button:hover {
}

.phone-form .button::after {
}

.request-form .success-message,
.request-form .error-message {
	position: absolute;
	top: 100%;
	right: 0;
	left: 0;
	margin-top: 10px;
	height: 50px;
	text-align: left;
}

.request-form .error-message {
	color: #d91d1d;
	font-size: 14px;
}

.request-form .success-message {
	top: 0;
	color:  var(--alt_color);
	font-size: 20px;
	line-height: 1.1;
}

.request-form .success-message .big {
	text-transform: uppercase;
	font-weight: 700;
	font-size: 24px;
}

.request-form.success .button,
.request-form:not(.not-valid) .error-message,
.request-form:not(.success)  .success-message{
	display: none;
}

@media (max-width: 900px) {
	.request-form .caption {
		font-size: 36px;
	}
}

@media (max-width: 660px) {
	.request-form-block {
		display: block;
	}
	.request-form {
		padding: 16px 16px 40px;
	}
	.request-form-block .request-form {
		position: relative;
		z-index: 3;
		box-shadow: 0px 10px 9px 6px rgba(255, 255, 255, 0.6);
	}
	.request-form .caption {
		font-size: 24px;
	}
	
	.request-form-block .image-box {
		width: 100%;
		height: 340px;
	}
	
	.request-form-block .image-box::after {
		Content: none;
	}
}

/**
 * 1.11 - Bx-Slider
**/
 
body .bx-wrapper {
	position: relative;
	border: none;
	box-shadow: none;
	margin: 0 auto;
	background: transparent;
	width: 100%;
}

body .bx-wrapper .bx-viewport {
}

body .bx-wrapper .bx-pager {
	bottom: 38px;
	text-align: center;
}

body .bx-wrapper .bx-pager.bx-default-pager a {
	margin: 0 7px;
	width: 12px;
	height: 12px;
	background: var(--alt_color);
	opacity: 0.4;
}

body .bx-wrapper .bx-pager.bx-default-pager a.active,
body .bx-wrapper .bx-pager.bx-default-pager a:focus,
body .bx-wrapper .bx-pager.bx-default-pager a:hover {
	background: var(--alt_color);
	opacity: 1;
}

.bx-wrapper .bx-controls-direction .bx-prev,
.bx-wrapper .bx-controls-direction .bx-next {
	position: absolute;
	top: 50%;
	right: auto;
	bottom: auto;
	left: 0;
	margin: -30px 0 0 -30px;
	width: 30px;
	height: 30px;
	background: transparent;
	color: var(--main_color);
	font-size: 0;
	transition: 0.3s;
}

.bx-wrapper .bx-controls-direction .bx-next {
	left: auto;
	right: 0;
	margin-left: 0;
	margin-right: -30px;
}

.bx-wrapper .bx-controls-direction .bx-prev:hover,
.bx-wrapper .bx-controls-direction .bx-next:hover {
	color: var(--alt_color);
}

.bx-wrapper .bx-controls-direction .bx-prev::after,
.bx-wrapper .bx-controls-direction .bx-next::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	border-width: 0 2px 2px 0;
	border-style: solid;
	margin: -7px 0 0 -5px;
	width: 16px;
	height: 16px;
	transform: rotate(135deg);
	transition: inherit;
}

.bx-wrapper .bx-controls-direction .bx-next::after {
	margin-left: -6px;
	transform: rotate(-45deg);
}

@media (max-width: 768px) {
	
	.bx-wrapper .bx-controls-direction .bx-prev {
		left: 15px;
		margin-left: 0;
	}
	
	.bx-wrapper .bx-controls-direction .bx-next {	
		right: 15px;
		left: auto;
		margin-left: 0;
	}
	
}

/**
 * 2.0 - Wrapper
**/

#wrapper {
	display: flex;
	flex-direction: column;
	position: relative;
	width: 100%;
	min-width: 320px;
	min-height: 100vh;
	overflow: hidden;
}

#wrapper::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: url('css/img/background.jpg') center / cover no-repeat;
}

.page-content {
	flex-grow: 1;
	position: relative;
	z-index: 1;
	margin: 0;
}

.content {
	position: relative;
	z-index: 2;	
	padding: 0 10px;
	margin: 0 auto;
	width: 100%;
	min-width: 320px;
	max-width: 1220px;
}

.page-content > .content {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.main-content {
	flex-grow: 1;
	position: relative;
	z-index: 2;
	margin: 40px 0;
	width: 100%;
}

.main-sidebar + .main-content {
	flex-grow: 1;
	width: calc( 100% - 360px - 54px);
}
 
/**
 * 2.0 - Breadcrumbs
**/

.breadcrumbs {
	margin: 1em 0;
	width: 100%;
	color: var(--main_color);
	font-weight: 400;
}

.breadcrumbs a {
	color: var(--text_color);
	text-decoration: none;
}

.breadcrumbs a:hover {
	color: var(--alt_color);
}

.breadcrumbs .separator {
	position: relative;
	margin: 0;
	color: var(--text_color);
	font-size: 0;
}

.breadcrumbs .separator::before {
	content: '-';
	font-size: 1rem;
}

/**
 * 3.0 - Header
 */

.main-footer,
.main-header {
	position: relative;
	background: #fff;
	color: var(--main_color);
	font-size: 0.9rem;
	line-height: 1.2;
	font-weight: 500;
}

.main-header {
	box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.1);
	z-index: 40;
}

.main-footer .content,
.main-header .content {
	display: flex;
	justify-content: space-between;
	padding: 0;
}

.main-footer .column,
.main-header .column {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 6px 10px;
}

/**
 * 3.0 - Header Menu
 */

.menu-button {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	padding: 16px 24px;
	height: 46px;
	text-transform: uppercase;
	cursor: pointer;      
	user-select: none;
}

.menu-button::before {
	content: "";
	display: block;
	margin-right: 10px;
	width: 20px;
	height: 15px;	
	background: linear-gradient(
		to top, 
		#fff 0px, 
		#fff 3px, 
		transparent 3px, 
		transparent 6px,
		#fff 6px,
		#fff 9px,
		transparent 9px,
		transparent 12px,
		#fff 12px,
		#fff 15px
	);
}

.main-menu-block {
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 100;
	height: 100vh;
	background: rgba(0, 0, 0, 0.5);
}

body.active-menu .main-menu-block {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.main-menu-block .menu {
	display: flex;
	justify-content: flex-start;
	flex-direction: column;
	align-items: stretch;
	position: relative;
	min-width: 320px;
	height: 100%;
	background: #fff;
	z-index: 2;
	overflow-x: hidden;
}
/*
.main-menu-block .menu::after {
	content: '×';
	position: absolute;
	top: 0;
	right: -50px;
	color: #fff;
	font-weight: 500;
	font-size: 64px;
	line-height: 1;
	cursor: pointer;
}*/

.main-menu-block .menu-item {
	position: static;
	min-height: auto;
}

.main-menu-block .menu-item .back,
.main-menu-block .menu-item a  {
	display: flex;
	align-items: center;
	position: relative;
	padding: 18px;
	padding-right: 40px;
	border-Bottom: 1px solid #ddd;
	width: 100%;
	min-height: 54px;
}

.main-menu-block .menu-item .back {
	padding-right: 18px;
	padding-left: 40px;
	font-weight: 600;
	cursor: pointer;
}

.main-menu-block .menu-item .caption {
	display: flex;
	align-items: flex-start;
	flex-direction: column;
	margin: 0;
	background: var(--alt_color);
	color: #fff;
}

.main-menu-block .menu-item .caption::after {
	content: 'Перейти в категорию';
	margin-top: 6px;
	font-size: 12px;
	text-decoration: underline;
}

.main-menu-block .menu-item .caption:hover {
	background: var(--main_color);
	color: #fff;
}

.main-menu-block .menu-item  .back:hover,
.main-menu-block .menu-item a:hover {
	background: #eee;
	color: inherit;
}

.main-menu-block .menu-item  .back::after,
.main-menu-block .menu-item.has-children > a::after {
	content: '';
	position: absolute;
	right: 0;
	top: 50%;
	border-width: 1px 1px 0 0;
	border-style: solid;
	margin: -4px 16px 0 0;
	width: 8px;
	height: 8px;
	transform: rotate(45deg);
}

.main-menu-block .menu-item .back::after {
	right: auto;
	left: 16px;
	border-width: 2px 2px 0 0;
	transform: rotate(-135deg);
}

.main-menu-block .menu-item .image-block {
	margin-right: 10px;
	width: 24px;
	height: 24px;
	background: var(--alt_color);
	mask: center/contain no-repeat;
}

.main-menu-block .menu-item .sub-menu {
	display: none;
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	overflow: hidden;
}

.header-content .menu-item.active > .sub-menu {
	display: flex;
	overflow-y: auto;
}
/**
 * 3.0 - Header Content
 */

.main-header .column-logo {
}

.custom-logo-link {
	font-size: 0;
}

.custom-logo {
	max-width: 220px;
	max-height: 100%;
}

.header-menu {
	display: flex;
}

.header-content .menu-item a {
	padding: 8px;
	font-size: 0.9em;
	opacity: 0.5;
}

.main-header .phones-block,
.main-header .adresses-block,
.main-header .shedules-block {
	margin: 0;
}

.main-header .shedules-block {
	text-align: right;
}

.main-header .shedule,
.main-header .adress {
	font-size: 0.8rem;
}

.main-header .shedule .label,
.main-header .adress .label {
	display: none;
	font-size: 1rem;
}
.main-header .column-contacts {
}
.main-footer .phones-block,
.main-header .phones-block {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	max-width: 276px;
}

.main-footer .phones-block > *:nth-child(even),
.main-header .phones-block > *:nth-child(even) {
	text-align: right;
}

.main-footer .phones-block .caption,
.main-header .phones-block .caption {
	margin: 0;
	max-width: 49%;
	font-size: 16px;
	font-style: italic;
	font-weight: 600;
}

.main-footer .phone,
.main-header .phone {
	margin: 4px 0;
	max-width: 49%;
}

.main-header .phones-button {
	display: none;
	margin-right: 12px;
	width: 32px;
	height: 32px;
	mask: url('css/img/phone.svg') center/cover;
	background: var(--main_color);
	transform: rotate(-90deg);
	font-size: 0;
	cursor: pointer;
}

.main-header .phones-button::after {
	content: none;
}
	

.main-header .column-buttons {
	flex-direction: row;
	align-items: center;
}

.main-header .icon-link,
.main-footer .icon-link {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	border: 1px solid #c8c4bb;
	border-radius: 50%;
	margin-left: 10px;
	width: 36px;
	height: 36px;
	color: var(--main_color);
	text-decoration: none;
}

.main-header .cart-link,
.main-footer .cart-link {
	margin-right: 6px;
}

.main-header .icon-link:hover,
.main-footer .icon-link:hover {
	color: var(--alt_color);
}

.main-header .icon-link .icon,
.main-footer .icon-link .icon {
	height: 20px;
	min-width: 20px;
	mask: center left /contain no-repeat;
	background: var(--alt_color);
	transition: 0.5s;
}

.main-header .cart-link .icon,
.main-footer .cart-link .icon {
	mask-image: url('css/img/cart.svg');
}

.main-header .icon-link:hover .icon,
.main-footer .icon-link:hover .icon {
	background: var(--alt_color);
}

.main-header .phones-button .icon,
.main-footer .phones-button .icon {
	display: none;
	mask-image: url('css/img/phone.svg');
	transition: inherit;
}

.main-header .icon-link .num,
.main-footer .icon-link .num {
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: -8px;
	left: 22px;
	height: 18px;
	min-width: 18px; 
	border-radius: 50%;
	background: var(--alt_color);
	color: #fff;
	font-size: 12px;
}

.menu-button {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	min-width: 0;
	cursor: pointer;      
	user-select: none;
}

.menu-button::before {
	content: "";
	display: block;
	margin-right: 10px;
	width: 20px;
	height: 15px;	
	background: linear-gradient(
		to top, 
		#fff 0px, 
		#fff 3px, 
		transparent 3px, 
		transparent 6px,
		#fff 6px,
		#fff 9px,
		transparent 9px,
		transparent 12px,
		#fff 12px,
		#fff 15px
	);
}

.main-menu-block {
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 100;
	height: 100vh;
	background: rgba(0, 0, 0, 0.5);
}

body.active-menu .main-menu-block {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.main-menu-block .menu {
	display: flex;
	justify-content: flex-start;
	flex-direction: column;
	align-items: stretch;
	position: relative;
	min-width: 320px;
	height: 100%;
	background: #fff;
	z-index: 2;
	overflow-x: hidden;
}

@media (max-width: 1024px) {
	.main-header .phones-block {
		display: none;
	}
	
	.main-header .active-phone .phones-block {
		display: block;
		position: absolute;
		top: 100%;
		right: 0;
		width: 300px;
		background: #fff;
		padding: 12px;
		box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.05), inset 0 5px 5px 0 rgba(0, 0, 0, 0.1);
		
	}
	
	.main-header .phones-block .caption,
	.main-header .phones-block .phone {
		display: block;
		width: 100%;
		max-width: 100%;
		font-size: 18px;
		text-align: left;
	}
	.main-header .phones-block .phone {
		font-weight: 400;
	}
	
	.main-header .phones-button {
		display: block;
	}
}

@media (max-width: 820px) {
	.main-header .column-menu {
		display: none;
	}
	.column-contacts {
		margin-left: auto;
	}
}

/**
 * 3.1 - Footer
**/

.main-footer {
	padding: 30px 0;
	margin-top: 50px;
	background: #434342;
	color: #fff;
	font-size: 16px;
}

.main-footer .content {
	align-items: flex-start;
}

.main-footer .column {
	flex-grow: 0;
}

.main-footer .column-logo {
	justify-content: flex-start;
	align-items: center;
	flex-direction: row;
}

.main-footer .copyright {
	padding-left: 24px;
	color: #ebebeb;
	font-size: 14px;
}

.main-footer .menu {
	display: grid;
	grid-template-columns: auto auto;
	grid-auto-rows: min-content;
	gap: 6px 24px;
	margin: 1em 0;
}

.main-footer .menu-item a {
	padding: 5px 5px 5px 0;
}

.main-footer .phones-block {
	margin-bottom: 0;
	max-width: 330px;
}

.main-footer .phones-block .caption {
	margin-bottom: 8px;
	max-width: 100%;
	width: 100%;
	color: #fff;
	font-style: normal;
	font-weight: 400;
}

.main-footer .phone {
	margin: 8px 0;
	font-weight: 600;
}

.footer-bottom .content {
	padding-bottom: 30px;
}

.main-footer .privacy-policy-link {
	color: #ebebeb;
	font-size: 14px;
	text-decoration: none;
}

.main-footer .privacy-policy-link:hover {
	color: var(--alt_color);
}

@media (max-width: 920px) {
	.main-footer .content {
		flex-wrap: wrap;
	}
}

@media (max-width: 480px) {
	.main-footer .content {
		flex-direction: column;
		align-items: center;
	}
	.main-footer .column-logo {
		flex-direction: column;
		align-items: center;
	}
	.main-footer .custom-logo-link {
		margin-bottom: 24px;
	}
	.main-footer .phones-block .caption {
		text-align: center;
	}
}
	
/**
 * 3.1 - Map
**/

.ya-map {
	position: relative;
	margin: 1em 0;
	width: 100%;
	height: 580px;
}

.ya-map [class*="balloon__content"],
.ya-map [class*="balloon_layout"],
.ya-map [class*="balloon-content__header"],
.ya-map [class*="balloon-content__footer"] {
	color: inherit;
	font-weight: inherit;
	font-size: inherit;
}

.ya-map [class*="balloon__content"] .adresses-block {
	margin: 0;
}

.ya-map [class*="balloon__content"] .adress {
	margin-Bottom: 6px;
}

.ya-map [class*="balloon__content"] br {
	display: none;
}

.ya-map [class*="balloon__content"] a:hover {
	color: var(--text-color);
}

.ya-map [class*="balloon__content"] .label,
.ya-map [class*="balloon__content"] .caption {
	color: inherit;
	font-size: 1.2em;
	margin: 0;
	font-weight: 700;
}

.ya-map [class*="balloon_layout"] {
	top: -60px !important;
	left: 50px !important;
	box-shadow: none;
	background: var(--alt_color);
}

.ya-map [class*="balloon__content"] {
	padding: 16px;
	color: #fff;
	background: var(--alt_color);
	font-size: 16px;
	font-family: inherit;
}

.ya-map [class*="balloon_layout"] [class*="balloon__tail"] {
	position: absolute;
	background: transparent none repeat scroll 0 0;
	border-left: 15px solid transparent;
	border-top: 15px solid var(--alt_color);
	height: 0;
	left: 0;
	margin-left: -15px;
	top: 0;
	width: 0;
	transform: none;
	box-shadow: none;
}

.ya-map [class*="balloon__tail"]:after {
	content: none;
}

/**
 * 3.1 - Post Thumbnail
**/

.posts-block {
	display: flex;
	align-items: stretch;
	justify-content: stretch;
	flex-wrap: wrap;
	margin: 1em -12px;
}

.post-item {
	display: flex;
	position: relative;
	flex-direction: column;
	box-shadow: 6px 8px 15px rgba(0, 0, 0, 0.08);
	margin: 12px;
	width: calc(100% / 4 - 24px);
	background: #fff;
	transition: 0.5s;	
	
}

.post-item .post-link {
	display: inherit;
	flex-direction: inherit;
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	color: inherit;
	text-decoration: none;
	overflow: hidden;
}

.post-item .image-box {
	display: flex;
	position: relative;
	padding-top: calc(100% * 220 / 282);
	width: 100%;
	overflow: hidden;
	transition: inherit;
}

.post-item .image-box::before,
.post-item .image-box::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	background: #fff;
	opacity: 0;
	transition: inherit;
}

.post-item .image-box::after {
	content: 'Подробнее';
	display: flex;
	justify-content: center;
	align-items: center;
	background: transparent;
	color: var(--main_color);
	font-weight: 500;
	text-transform: uppercase;
}

.post-item .post-link:hover .image-box::before {
	opacity: 0.7;
}

.post-item .post-link:hover .image-box::after {
	opacity: 1;
}

.post-item .image-box svg,
.post-item .image-box img {	
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: contain;
}

.post-item .content-block {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	padding: 10px;
	font-weight: 500;
	font-size: 14px;
}

.post-item .caption {
	margin: 10px 0;
	color: var(--main_color);
	font-size: 18px;
	text-align: center;
	transition: 0.5s;
}

.post-item .post-link:hover .caption {
	color: var(--alt_color);
}

.post-item .button {
	margin-top: auto;
	width: 100%;
	min-width: 0;
}

.post-item .button::before,
.post-item .button::after {
	content: none;
}

@media (max-width: 920px) {
	.posts-block {
		margin: 2em -6px;
	}
	
	.post-item {
		width: calc(100% / 3 - 12px);
		margin: 6px;
	}
	
	.main-sidebar + .main-content .post-item {
		width: calc(100% / 2 - 12px);
	}
	
	.hces-block .post-item:nth-child(3) {
		display: none;
	}
	
}

@media (max-width: 650px) {
	.post-item {
		width: calc(100% / 2 - 12px);
	}
}

@media (max-width: 360px) {
	.post-item {
		width: calc(100% - 12px);
	}
}

.pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
}

.pagination .page-numbers {
	display: flex;
	justify-content: center;
	align-items: center;
	border: 1px solid #999;
	margin-top: 12px;
	margin-right: 5px;
	width: 42px;
	height: 42px;
	font-size: 16px;
	font-weight: 400;
	text-decoration: none;
}

.pagination .page-numbers.current,
.pagination a.page-numbers:hover {
	border-color: var(--alt_color);
	background: var(--alt_color);
	color: #fff;
}

.pagination .page-numbers.dots {
	border: none;
	background: none;
}

.pagination a.page-numbers.prev,
.pagination a.page-numbers.next {
	border: none;
	width: 22px;
	background: none;
	font-size: 0;
}

.pagination a.page-numbers.prev:before,
.pagination a.page-numbers.next:before {
	content: '';
	display: inline-block;
	width: 14px;
	height: 14px;
	border-width: 2px 2px 0 0;
	border-style: solid;
	border-color: var(--alt_color);
	transform: rotate(45deg);
	transform-origin: center;
}

.pagination a.page-numbers.prev:before {
	transform: rotate(-135deg);
}

.advices-block {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: space-between;
	margin-top: 3em;
}

.advices-block .caption {
	font-weight: 900;
	font-size: 30px;
}

.advices-block .posts-block {
	flex-grow: 1;
}

/**
 * 3.1 - Product Category
**/

.categories-block {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(166px, 1fr));
	grid-auto-rows: min-content; 
	align-items: start;
	gap: 24px;
	margin: 1em 0;
}

.category-item {
	width: 100%;
	min-width: 166px;
	max-width: 180px;
	height: 100%; 
	break-inside: avoid;
	margin: 0;
}

.category-item .image-box {
	align-self: center;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0;
	border-radius: 5px;
	box-shadow: inset 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
	margin: 20px 20px 0;
	width: 96px;
	height: 96px;
}

.category-item .image-box::before,
.category-item .image-box::after {
	content: none;
}

.category-item .image-box img,
.category-item .image-box svg {
	position: relative;
	top: auto;
	left: auto;
	width: auto;
	height: auto;
	max-width: 90%;
	max-height: 90%;
}

.category-item .caption {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	padding: 12px 5px;
	margin: auto;
	min-height: 64px;
	font-weight: 700;
	font-size: 18px;
	text-transform: uppercase;
	hyphens: manual;
	hyphens: auto;
	word-break: break-word;
}

@media (max-width: 1200px) {
	.categories-block {
		grid-template-columns: repeat(auto-fill, minmax(146px, 1fr));
		gap: 8px;		
	}

	.category-item {
		min-width: 146px;
		max-width: 200px;
	}
	
	.category-item .caption {
		font-size: 16px;
	}
}

/**
 * 3.1 - Product
**/

.cost-block {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	margin: 0.5em 0;
	color: var(--main_color);
	font-weight: 600;
	text-align: center;
	white-space: nowrap;
}

.cost-block .cost {
	color: var(--alt_color);
	font-weight: 700;
	font-size: 24px;
}

.cost-block .new-cost {
}

.cost-block .old-cost {
	margin-right: 12px;
	color: #656565;
	font-weight: 300;
	font-size: 14px;
	text-decoration: line-through;
}

.cost-block .no-cost {
	color: var(--text_color);
	font-weight: 500;
	font-size: 16px;
	white-space: wrap;
}

.cart-buttons {
	display: flex;
	align-items: center;
	margin: 1em 0;
	width: 100%;
}

.cart-buttons .button-minus,
.cart-buttons .button-plus,
.cart-buttons .input-num {
	display: flex;
	justify-content: center;
	align-items: center;
	border: 1px solid #c8c4bb;
	width: 40px;
	height: 40px;
	background: #fff;
	color: var(--main_color);
	font-weight: 600;
	font-size: 16px;
	user-select: none;
	text-align: center;
	cursor: pointer;
}

.cart-buttons .button-minus {
	border-right: none;
}

.cart-buttons .button-plus {
	border-left: none;
	margin-right: 15px;
}

.cart-buttons .button-minus:hover,
.cart-buttons .button-plus:hover {
	color: var(--alt_color);
	cursor: pointer;
}

.cart-buttons .input-num {
	border-left: none;
	border-right: none;
	cursor: text;
}


.button-to-cart {
	flex-grow: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 12px;
	min-width: 0;
	height: 100%;
	white-space: nowrap;
}

span.button-to-cart,
a.button-to-cart {
	display: none;
}


.flags-block {
	display: flex;
	flex-direction: column;
	position: absolute;
	top: 10px;
	left: -5px;
	z-index: 5;
	font-size: 10px;
}

.flag {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 5px 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--main_color);
	color: #fff;
	font-weight: 600;
	text-align: center;
	text-transform: uppercase;
}

.popular-flag {
}

.new-flag {
	background: var(--alt_color);
}

.sale-flag {
	border-radius: 0;
	width: auto;
	background: none;
	color: var(--main_color);
	font-size: 2em;
}

.product-item {
	padding: 10px;
	border: 1px solid #c8c4bb;
}

.product-item .content-block {
	padding: 10px 0;
}

.main-product-block {
	display: flex;
	align-items: stretch;
	margin-bottom: 36px;
}

.main-product-block .gallery-block {
	margin-right: 12px;
	width: 490px;
	min-height: 100%;
} 

.main-product-block .gallery-block .main-image {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	padding-top: calc(100% * 426 / 486);
	width: 100%;
	background: #fff;
}

.main-product-block .gallery-block .main-image svg,
.main-product-block .gallery-block .main-image img {
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	max-width: 95%;
	max-height: 95%;
	transform: translate(-50%, -50%);
}

.main-product-block .flags-block {
	font-size: 14px;
}

.main-product-block .new-flag,
.main-product-block .popular-flag {
	width: 50px;
	height: 50px;
}

.main-product-block .bx-wrapper {
	margin: 12px auto;
}

.main-product-block .gallery-block .previews-block {
	align-self: stretch;
	width: 72px;
	height: 100%;
	margin-right: 12px;
}

.main-product-block .gallery-block .preview-image {	
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	width: 74px;
	height: 74px;
	border: 1px solid #fff;
	background: #fff;
	cursor: pointer;
}

.main-product-block .gallery-block .preview-image.active,
.main-product-block .gallery-block .preview-image:hover {
	border-color: var(--alt_color);
}

.main-product-block .gallery-block .preview-image img,
.main-product-block .gallery-block .preview-image svg {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height:auto;
	box-shadow: none;
}

.bx-wrapper .bx-controls-direction .bx-prev,
.bx-wrapper .bx-controls-direction .bx-next {
}

.bx-wrapper .bx-controls-direction .bx-next {
}

.bx-wrapper .bx-controls-direction .bx-prev::after {
}
.bx-wrapper .bx-controls-direction .bx-next::after {
}

.main-product-block .description-block {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	margin: 0 auto;
	min-width: 384px;
}

.main-product-block .description-block .vendor-code {
	color: #656565;
	font-size: 18px;
}

.main-product-block .caption {
	margin: 1em 0 0;
	font-size: 30px;
	font-weight: 900;
}

.main-product-block .cost-block {
	flex-grow: 0;
	flex-direction: row;
	justify-content: flex-start;
	font-weight: 500;
	text-align: left;
}

.product-main-content .buttons-block {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0.5em 0;
}

.product-main-content .buttons-block .button {
	border: 1px solid;
	margin: 8px 8px 8px 0;
	background: #fff;
	color: var(--text_color);
}

.product-main-content .buttons-block .button.active {
	color: var(--main_color);
	pointer-events: none;
}

.product-main-content .buttons-block .button:hover {
	color: var(--main_color);
}

.product-main-content .buttons-block .button::before,
.product-main-content .buttons-block .button::after {
	border-color: inherit;
}

.main-product-block .parameters-block {
	width: 100%;
	margin: 0.5em 0;
}

.main-product-block .parameters-block .caption {
	display: none;
}

.main-product-block .parameter {
	display: flex;
	justify-content: space-between;
	padding-bottom: 10px;
	border-bottom: 1px solid #d2d2d2;
	margin: 8px 0 8px;
	width: 100%;
	font-size: 16px;
}

.main-product-block .parameter .title {
	padding-right: 12px;
	color: #656565;
}


.advantages-block {
	display: flex;
	gap: 24px;
	margin: 1em 0;
}

.advantage {
	flex: 1;
	display: flex;
	align-items: center;
	padding: 24px 6px;
	background: #fff;
}

.advantage > a {
	display: inherit;
	justify-content: inherit;
	align-items: inherit;
	color: inherit;
	text-decoration: none;
}

.advantage > a:hover {
	color: var(--alt_color);
}

.advantage .image-block {
	flex-shrink: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-right: 10px;
	width: 84px;
	height: 84px;
}

.advantage .image-block img,
.advantage .image-block svg {
	max-width: 64px;
	max-height: 64px;
}

.advantage .text-block {
	padding: 8px;
}

.advantage .caption {
	margin: 0;
}

.advantage p {
	margin: 0 0 0.2em;
}

@media (max-width: 1024px) {
	.advantage .image-block {
		width: 64px;
		height: 64px;
	}
	.advantage img {
		width: 50px;
		height: 50px;
	}
}

@media (max-width: 780px) {
	.advantages-block {
		flex-direction: column;		
	}
}

.product-main-content .content-block {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

#main-product-text {
	max-width: 894px;
}

#main-product-text .caption {
	font-weight: 900;
	font-size: 30px;
}

.product-main-content .product-advices-block {
	width: 100%;
	margin: 100px 0;
}

.product-advices-block > .caption {	
	font-weight: 900;
	font-size: 30px;
}

@media (max-width: 860px) {
	.main-product-block {
		flex-direction: column;
		align-items: center;
	}
	
	.main-product-block .gallery-block {
		width: auto;
	}
	
	.main-product-block .description-block {
		margin-top: 30px;
		width: 100%;
		min-width: 0;
	}
	
	.content-block .parameters-block {
		margin-top: 0;
	}
}

body.single-product table {
	margin: 0 0 1em;
	width: 100%;
}
body.single-product table td {
	border-width: 0 0 1px 0;
	border-color: var(--text_color);
	color: var(--main_color);
}	
body.single-product table td:last-child {
	text-align: right;
}

.links-block {
	display: flex;
	flex-wrap: wrap;
	margin-left: -5px;
}

.links-block .button {
	flex-grow: 1;
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	border: 1px solid;
	margin: 5px;
	max-width: 180px;
	background: transparent;
	color: var(--main_color);
	transition: 0.5s;
}

.links-block .button.active,
.links-block .button:hover {
	color: var(--alt_color);
}

.links-block .button .image-block {
  margin-right: 10px;
  width: 20px;
  height: 20px;
  background: var(--main_color);
  mask: center/contain no-repeat;
  transition: inherit;
}

.links-block .button.active .image-block,
.links-block .button:hover .image-block {
	background: var(--alt_color);
}

.products-sort-block {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	margin: 30px 0 10px;
	font-size: 16px;
}

.products-sort-block .sort-item {
	margin-left: 15px;
	color: #656565;
	text-decoration: none;
}

.products-sort-block .sort-item:hover,
.products-sort-block .sort-item.active {
	color: var(--alt_color);
}

a.cost-sort-item::after {
  content: '';
  display: inline-block;
  border-width: 1px 1px 0 0;
  border-style: solid;
  margin: 0 0 3px 6px;
  width: 8px;
  height: 8px;
  transform: rotate(135deg);
}
a.cost-sort-item.reverse::after {
  margin: 0 0 -2px 6px;
  transform: rotate(-45deg);
}

/**
 * 3.1 - Cart Page
**/
.cart-content-block {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: flex-start;
}

.products-table {
	flex-shrink: 0;
	position: relative;
	width: 66%;
}

.products-table .row {
	display: flex;
	align-items: stretch;
	position: relative;
	padding: 12px;
	border: 1px solid #C8C4BB;
	margin-bottom: 12px;
	background: #fff;
}

.products-table .cell {
	flex-grow: 0;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	padding: 12px;
}

.products-table .image-cell {
	justify-content: center;
	padding-left: 0;
}

.products-table img {
	padding: 0;
	max-width: 90px;
	max-height: 90px;
	width: auto;
	height: auto;
}

.products-table .title-cell {
	flex-grow: 1;
	flex-shrink: 1;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	color: inherit;
	text-decoration: none;
}

.products-table .title-cell .caption {
	margin-bottom: 12px;
	font-weight: 400;
	font-size: 16px;
	line-height: 1;
}

.products-table .vendor-code {
	color: #656565;
}

.products-table .image-cell:hover + .title-cell .caption,
.products-table .title-cell:hover .caption {
	color: var(--alt_color);
}

.products-table .cost-cell {
	max-width: 150px;
}

.products-table .cart-buttons {
	position: relative;
	padding-top: 24px;
	margin: 0;
	width: auto;
}

.products-table .cart-buttons .pack {
	display: flex;
	justify-content: center;
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	font-size: 16px;
}

.products-table .cart-buttons .pack .label {
	margin-right: 12px;
	font-weight: 600;
}

.products-table .cart-buttons * {
	margin: 0;
}

.products-table .cart-buttons .input-num {
}

.products-table .cost-cell {
}

.products-table .cost-block {
	min-width: 120px;
	text-align: left;
}

.products-table .remove-cell {
	justify-content: center;
	position: absolute;
	top: 20px;
	right: 20px;
	padding: 0;
	width: 24px;
	height: 24px;
	font-size: 42px;
	font-weight: 100;
	cursor: pointer;
}

.remove-cell:hover {
	color: #dd2c00;
}

.cart-summary-block {
	flex-grow: 1;
	padding: 30px;
	box-shadow: 2px -2px 10px rgba(0, 0, 0, 0.15), -2px 2px 10px rgba(0, 0, 0, 0.15);
	width: auto;
	max-width: 32%;
	background: #fff;
}

.cart-summary-block.caption {
	margin: 0 0 1em;
	font-weight: 700;
	text-align: left;
}

.cart-form {
	border: 1px solid #c8c4bb;
	margin-right: 24px;
	background: #fff;
}

.cart-form fieldset  {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.cart-form .field  {
	width: 48%;
}

.cart-form .title {
	display: block;
}

.cart-form legend {
	font-weight: 700;
}

.cart-form .delivery-field {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	margin: 16px 0;
}

.cart-form .delivery-field .pickup-field,
.cart-form .delivery-field .courier-field,
.cart-form .delivery-field .transport_company-field {
	display: inline-flex;
	padding: 6px 0;
}

.cart-form .delivery-field input[type="radio"] {
	margin: 0 16px 0 0;
}

.cart-form .adress-field {
	width: 100%;
	display: none;
}

.cart-form .field-pickup label {
	display: block;
	margin: 0.5em 0;
}

.cart-form .field-pickup label .title {
	display: inline;
}


.cart-form .btn-field {
	justify-content: center;
	width: 100%;
}

.cart-form .summary {
	width: 100%;
	font-size: 16px;
}

.cart-summary-block .summary .field {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin: 10px 0;
}

.cart-summary-block .summary .field {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin: 10px 0;
}

.cart-summary-block .summary .order-block,
.cart-summary-block .summary .discount-block {
	display: none;
}

.cart-summary-block .summary .final.field {
	margin-bottom: 32px;
	font-weight: 700;
}

.cart-summary-block .summary .final.field .cost {
	color: var(--alt_color);
	font-size: 22px;
}

.cart-form .payment-field {
	width: 100%;
}

.cart-form .comment-field {
	width: 100%;
}

.cart-form .payment-field .title {
	display: inline-block;
}

@media (max-width: 1200px) {
	.cart-form {
		padding: 20px 10px;
	}
	.cart-form .delivery-field label {
		padding: 10px;
	}
	.cart-form .delivery-field input {
		margin-right: 10px;
	}
}

@media (max-width: 1024px) {
	.cart-content-block {
		flex-direction: column;
		align-items: center;
	}
	.products-table {
		width: 100%;
	}
	.cart-form {
		width: 100%;
		margin: 12px;
	}
	.cart-summary-block {
		width: 100%;
		max-width: none;
	}
	.cart-summary-block .summary .final.field {
		justify-content: flex-start;
	}
	.cart-summary-block .summary .final.field .title {
		margin-right: 12px;
	}
}

@media (max-width: 680px) {
	.products-table .row {
		flex-wrap: wrap;
	}
	.products-table .image-cell {
		width: 72px;
		height: 72px;
	}
	.products-table img {		
		max-width: 64px;
		max-height: 64px;
	}
	.products-table .title-cell {
		width: calc(100% - 90px);
	}
	.products-table .cost-cell {
		margin-left: auto;
	}
}
@media (max-width: 520px) {
	.cart-form .field {
		width: 100%;
	}
}

@media (max-width: 480px) {
	.cart-form .delivery-field .pickup-field,
	.cart-form .delivery-field .post-field,
	.cart-form .delivery-field .sdek-field {
		padding: 5px;
		margin: 5px 0;
		width: 100%;
	}
}

/**
 * 3.1 - Front Page
**/

.front-main-content {
	display: flex;
	flex-direction: column;
	margin: 0;
}

.front-page-section {
	padding: 50px 0;
}

.front-page-section .content {
	display: flex;
	flex-direction: column;	
	overflow: hidden;
}

.section-header h1,
.section-header h2,
.section-header h3,
.section-header h4,
.section-header h5,
.section-header h6,
.section-header  .caption {
	font-size: 48px;
	text-transform: uppercase;
}

@media (max-width: 1200px) {
	.front-page-section {
		padding: 16px 0;
	}
	
	.section-header h1,
	.section-header h2,
	.section-header h3,
	.section-header h4,
	.section-header h5,
	.section-header h6,
	.section-header  .caption {
		font-size: 32px;
	}
}

@media (max-width: 600px) {
	.section-header h1,
	.section-header h2,
	.section-header h3,
	.section-header h4,
	.section-header h5,
	.section-header h6,
	.section-header  .caption {
		font-size: 24px;
	}
}


/**
 * 3.1 - Front Slier Section
**/

.front-slider-section {
	padding: 16px 0 60px;
}

.front-slider-section .main-front-slider {
	height: 100%;
}

.front-slider-section .slide {
	position: relative;
	width: 100%;
	height: 560px;
}

.front-slider-section .slide-content {
	position: relative;
	padding: 56px 56px 90px;
	width: 100%;
	height: 100%;
}

.front-slider-section .image-box {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background:	linear-gradient(0deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
				linear-gradient(63.51deg, rgba(47, 27, 13, 0.48) 30.56%, rgba(47, 27, 13, 0) 44.96%),
				linear-gradient(132.87deg, rgba(47, 27, 13, 0.48) 35.7%, rgba(47, 27, 13, 0) 61.16%);
}

.front-slider-section .image-box img {
	position: relative;
	z-index: -1;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.front-slider-section .text-block {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	position: relative;
	z-index: 5;
	max-width: 650px;
	height: 100%;
	color: #fff;
}

.front-slider-section h1,
.front-slider-section .text-block > .caption {
	margin-bottom: 20px; 
	color: inherit;
	font-size: 56px;
	line-height: 1.3;
	text-transform: none;
}

.front-slider-section .button {
	margin-top: 20px;
	width: auto;
}

.front-slider-section .button:hover {
	background: #fff;
	color: var(--alt_color);
}

@media (max-width: 800px) {
	
	.front-slider-section {
		padding-bottom: 32px;
	}
	
	.front-slider-section .slide {
		height: 480px;
	}
	
	.front-slider-section h1,
	.front-slider-section .text-block > .caption {
		font-size: 40px;
	}
}

@media (max-width: 580px) {
	.front-slider-section .slide {
		height: 320px;
	}
	
	.front-slider-section .slide-content {
		padding: 10px 10px 30px;
	}
	
	.front-slider-section h1,
	.front-slider-section .text-block > .caption {
		font-size: 28px;
	}

	.front-slider-section .button {
		width: 100%;
	}
	
	.front-slider-section .bx-wrapper .bx-pager {
		bottom: 16px;
	}
}

@media (max-width: 350px) {
	.front-slider-section h1,
	.front-slider-section .text-block > .caption {
		margin-bottom: 12px;
		font-size: 24px;
	}

	.front-slider-section .button {
		margin-top: 12px;
	}
	
}

.front-description-section .content {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	gap: 24px;
}

.front-description-section .content > .image-block,
.front-description-section .content > .text-block {
	flex: 1;
}
.front-description-section h2 {
	font-size: 48px;
	text-transform: uppercase;
}

@media (max-width: 920px) {
	.front-description-section .content {
		flex-direction: column-reverse;
	}
	.front-description-section h2 {
		font-size: 24px;
	}
}


.front-description-section .advantages-block {
	width: 100%;
}

.page_for_contacts-content .main-content {
	display: flex;
	flex-wrap: wrap;
}

.page_for_contacts-content .main-content h1 {
	width: 100%;
}

.page_for_contacts-content .main-content > .text-block {
	flex-shrink: 0;
	margin-right: 24px;
	width: 384px;
	font-weight: 700;
	font-size: 18px;
}

.page_for_contacts-content .main-content > .text-block .phone {
	font-size: 25px;
}

.page_for_contacts-content .ya-map {
	flex-shrink: 1;
	flex-grow: 1;
	margin: 0;
	width: auto;
}

.vacancies-block {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.vacancy {
	display: grid;
	grid-template-columns: 2fr 1fr 180px;
	gap: 12px;
	padding: 10px 20px;
	background: #fff;
	font-size: 18px;
	align-items: center;
}

.vacancy .column {
}

.vacancy .job {
	font-weight: 700;
	margin-bottom: 12px;
}

.vacancy .column-salary {
	font-weight: 700;
}

.vacancy .caption {
	margin: 0;
	color: #999;
	font-weight: 400;
	font-size: 16px;
}

.vacancy .column-button {
}

.vacancy .button {
	min-width: 180px;
}

@media (max-width: 600px) {
	.vacancy {
		display: block;
	}
	.vacancy .column-button {
		margin-top: 12px;
	}
}

.packaging-block {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.packaging-block .caption {
	width: 100%;
	font-weight: 600;
	font-size: 16px;
}

.packaging-block .pack {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 7px 14px;
	border: 1px solid #fff;
	background: #fff;
	font-size: 14px;
	text-align: center;
	cursor: pointer;
	transition: 0.5s;
}

.packaging-block .pack:hover {
	border-color: #999;
	background: #999;
	color: #fff;
}

.packaging-block .pack.active {
	border-color: var(--alt_color);
}

.purchase-block {
	display: flex;
	align-items: center;
	width: 100%;
	margin-top: 12px;
}

.purchase-block .cost-block {
	flex-direction: column;
	align-items: flex-end;
	margin-right: 24px;
}

.purchase-block .old-cost {
	margin-right: 0;
}

