*, *:before, *:after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: OpenSans;
}

body.mode-zel {
	overflow: hidden;
}

#alert {
	position: fixed;
	top: 0;
	height: 100%;
	left: 0;
	width: 100%;

	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;

	z-index: 2000;
	background: rgba(0,0,0,0.2);

	-webkit-transition: -webkit-transform 0.3s ease;
			transition:			transform 0.3s ease;

	-webkit-transform: scale(0);
			transform: scale(0);
	pointer-events: none;
}

.show-alert #alert {
	-webkit-transform: scale(1);
			transform: scale(1);
	pointer-events: all;
}

#alert .box {
	width: 90%;
	max-width: 600px;
	position: relative;

	background: #3d525a;
	border: 1px solid rgba(255,255,255,0.8);
	color: white;
	padding: 20px 20px 80px 20px;
	font: 20px OpenSans;
}

#alert .button-ok {
	border: 1px solid rgba(255,255,255,0.8);
	background: #E40521;
	font: 20px OpenSans;
	padding: 5px 10px;
	width: 160px;
	text-align: center;
	position: absolute;
	bottom: 20px;
	left: 50%;
	margin-left: -80px;
	cursor: pointer;
}

#alert .c-item {
    position: relative;
    overflow: hidden;
	margin: 0 auto 4px;
	font-size: 14px;

	max-width: 100%;
	width: 320px;
}

#alert .c-item:last-child {
    margin-bottom: 0;
}

#alert .c-item .caption {
    width: 100%;
    padding-top: 5px;
}

#alert .c-item input:not([type="checkbox"]),
#alert .c-item textarea {
    border: 1px solid rgba(0,0,0,0.4);
    background: rgba(0,0,0,0.1);
    outline: none;
    padding: 4px 10px;
	width: 100%;
	color: white;
}

#alert .c-item textarea {
    resize: vertical;
}

#alert .c-item input[type="checkbox"] {
    vertical-align: top;
    margin-top: 3px;
}

#alert .c-item select {
    border: 1px solid rgba(0,0,0,0.4);
    background: rgba(0,0,0,0.1);
    color: white;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    padding: 4px 10px;
    width: 100%;
}

#alert .c-item .value {
    padding: 5px 21px;
    float: left;
}

#alert .problems {
	width: 320px;
	max-width: 100%;
	margin: 0 auto;
	color: #e64a19;
}

#page-header {
	position: fixed;

	z-index: 1000;
	height: 80px;
	width: 100%;

	background: #32aaa7;

	-webkit-transition: all 0.3s ease;
			transition: all 0.3s ease;
}

.ph-index #page-header {
	background: transparent;
}

.scrolled #page-header {
	/* background: #3c4c5b; */
	background: rgba(50,170,167,1);
}

#page-header .logo {
	position: absolute;
	width: 230px;
	height: 100%;

	background: transparent url("/images/logo-02.svg") no-repeat center top 16px;
}

#page-header .logo-a {
	-webkit-tap-highlight-color: transparent;
}

#top-menu {
	margin-left: 230px;
}

#top-menu .menu-item {
	float: left;
	color: white;
	padding: 29px 24px 0;

	font: 16px OpenSans;
	text-transform: uppercase;
}

#page-header .at-right {
	position: absolute;
	right: 0;
	top: 0;
	height: 100%;
	z-index: 1;

	color: white;
}

#page-header .at-right .phone {
	padding: 29px 24px 0;
	font: 16px OpenSans;
	float: left;
}

#page-header .at-right .reg-enter {
	/* padding: 29px 24px 0; */
	padding: 29px 12px 29px 0;

	font: 16px OpenSans;
	text-transform: uppercase;
	float: left;
	cursor: pointer;
	user-select: none;
}

#page-header .at-right .cart-btn {
	width: 108px;
	height: 100%;

	background: transparent url("/images/cart-02.png") no-repeat center center;

	cursor: pointer;

	float: left;
}

@media (max-width: 1420px) {
	#top-menu .menu-item {
		padding-left: 12px;
		padding-right: 12px;
	}

	#page-header .at-right .phone {
		padding-left: 12px;
		padding-right: 12px;
	}

	/* #page-header .at-right .reg-enter {
		padding-left: 12px;
		padding-right: 12px;
	} */
}

@media (max-width: 1260px) { 
	/* #top-menu .menu-item {
		padding-top: 16px;
		padding-bottom: 0;
	} */

	/* #page-header .at-right .phone {
		padding-top: 46px;
		padding-bottom: 0;
	} */
}

@media (max-width: 1000px) { 
	#page-header .at-right .reg-enter {
		display: none;
	}
}

#page-header .menu-switch {
	width: 60px;
	height: 100%;

	background: transparent url("/images/menu-03.png") no-repeat center center;
	background-size: 26px;
	cursor: pointer;
	position: absolute;
	left: 0;
	top: 0;

	display: none;

	-webkit-tap-highlight-color: transparent;
}

@media (max-width: 960px) {
	#page-header {
		height: 60px;
	}

	#page-header nav {
		display: none;
	}

	#page-header .logo {
		left: 50%;
		margin-left: -90px;
		background-size: 120px;
		width: 180px;
	}

	#page-header .menu-switch {
		display: block;
	}

	#page-header .phone {
		display: none;
	}

	/* #page-header .reg-enter {
		display: none;
	} */

	#page-header .at-right .cart-btn {
		width: 72px;
	}
}

#top {
	float: left;
}

#top .item.profile {
	width: 40px;
    height: 40px;
	margin: 20px;
	position: relative;

	cursor: pointer;
	float: left;
}

#top .item.profile:before {
	content: '';
	position: absolute;
	background: rgba(255,255,255,0.1);

	top: -7px;
	left: -7px;
	right: -7px;
	bottom: -7px;

	z-index: -1;

	border-radius: 50%;
}

#menu {
	position: fixed;
    left: 0;
    width: 300px;
	top: 0;
    bottom: 0;
	background: #2a383e;
	border-right: 1px solid rgba(255,255,255,0.2);
    color: white;
	z-index: 500;

	box-shadow: 1px 0 3px black;
	
	-webkit-transform: translateX(-100%);
			transform: translateX(-100%);

	-webkit-transition: -webkit-transform 0.3s ease; 
			transition: 		transform 0.3s ease; 
}

.show-menu #menu {
	-webkit-transform: translateX(0);
			transform: translateX(0);
}

#menu:before {
	content: '';
	position: fixed;
	top: 0;
	height: 60px;
	left: 0;
	right: 0;

	background: #2a383ea0;
	z-index: 100;
}

#menu .scroll {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 100%;

	padding-top: 60px;

	overflow: hidden;
	overflow-y: auto;

	-webkit-overflow-scrolling: touch;
}

#menu .profile-badge {
	position: relative;
	overflow: hidden;
	padding: 0 15px;
	margin-top: 10px;
}

#menu .item.profile {
	width: 40px;
    height: 40px;
	position: relative;
	float: left;
}

#menu .profile-badge .flow {
	margin-left: 50px;
}

#menu .profile-badge .name {
	padding-top: 1px;
}

#menu .profile-badge .email {
	font: 12px OpenSans;
    color: rgba(255,255,255,0.8);
}

/* #menu .item.profile:before {
	content: '';
	position: absolute;
	background: rgba(255,255,255,0.1);

	top: -7px;
	left: -7px;
	right: -7px;
	bottom: -7px;

	z-index: -1;

	border-radius: 50%;
} */

#menu a {
	text-decoration: none;
}

#menu .menu-item {
	color: white;
	padding: 5px 15px;
	cursor: pointer;
}

#menu .search {
	margin: 10px 15px 0;
}

#menu .search-result {
	background: white;
	z-index: 10;
	width: 100%;

	color: black;
}

#menu .search-result a {
	color: inherit;
}

#menu .search-prod {
	padding: 5px 0;
	margin: 0 10px;
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid #ccc;
	font-size: 14px;
}

#menu a:last-child .search-prod {
	border: none;
}

#menu .search-prod .image {
	float: left;
	width: 60px;
	height: 60px;
}

#menu .search-prod .flow {
	margin-left: 70px;
}

#menu .search-prod .code {
	font-size: 12px;
}

#menu input.token {
	height: 36px;
    padding: 0 16px;
    width: 100%;
    border: 1px solid rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.2) url(/images/search-02.png) no-repeat right 16px center;
    color: white;
	font: 18px OpenSans;
	outline: none;
}

#menu input.token:focus {
	border: 1px solid rgba(255,255,255,1);
}

#menu input.token::placeholder {
	color: #ccc;
}


#menu .menu-item-section {
	cursor: text;
	opacity: 0.5;;
}

#menu .menu-item-showcase {
	
}

#menu .menu-item-active {
	background: #e64a19;
}

#cart {
	position: fixed;
	right: 0;
	width: 300px;
	top: 0;
	bottom: 0;
	background: #1e292e;
	color: white;
	z-index: 200;

	/* transform: translateY(-100%) translateX(220px); */
	-webkit-transition: transform 0.3s ease; 
			transition: transform 0.3s ease; 
	opacity: 0;
}

#cart.no-trans {
	transition: opacity 0.3s ease;
}

.cart-icon {
	float: right;
	
	height: 80px;
	width: 80px;
	background: #E40521 url("/images/cart-02.png") no-repeat center center;

	cursor: pointer;
	z-index: 10;

	-webkit-transition: opacity 0.3s ease;
			transition: opacity 0.3s ease;
	opacity: 1;
}

.cart-icon .counter {
	position: absolute;
	height: 19px;
	min-width: 19px;
	right: 10px;
	top: 10px;

	font-size: 12px;
	text-align: center;
	padding: 0 4px;

	border: 1px solid white;
	border-radius: 9.5px;
}

#cart .make-order {
	writing-mode: tb-rl;
	transform: rotate(-180deg);
	text-align: center;

	width: 100%;
    position: absolute;
    bottom: 0;
    top: 0;
    left: 26px;
	/* right: -26px; */
	font: 18px OpenSans;

	z-index: 10;

	-webkit-transition: opacity 0.3s ease;
			transition: opacity 0.3s ease;
	opacity: 1;
}

.mode-zel:not(.show-cart) #cart {
	display: none;
}

/* .cart-has-prods #cart {
	transform: translateY(0) translateX(220px);
} */

#cart .cart-box {
	position: absolute;
	top: 80px;
	left: 0;
	width: 100%;
	bottom: 0;

	background: #154241;
}

@media (max-width: 960px) {
	/* #cart {
		transform: translateY(-100%) translateX(240px);
		bottom: 60px;
	} */
	#cart .cart-box { 
		top: 60px;
	}

	.cart-icon { 
		width: 60px;
		height: 60px;
	}

	.cart-icon .counter {
		right: 4px;
		top: 4px;
	}

	#cart .make-order { 
		right: -16px;
	}
	/* .cart-has-prods #cart {
		transform: translateY(0) translateX(240px);
	}*/
}

#cart .cart-box .content {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 100%;

	transition: opacity 0.3s ease;
	opacity: 0;
	pointer-events: none;
}

.show-cart #cart {
	-webkit-transform: translateY(0) translateX(0);
			transform: translateY(0) translateX(0);
}

.show-cart #cart .make-order {
	opacity: 0;
	pointer-events: none;
}

.show-cart #cart .cart-icon {
	opacity: 0;
	pointer-events: none;
}

.show-cart #cart .content {
	opacity: 1;
	pointer-events: all;
}

#cart .cart-box .scroll {
	position: absolute;
	top: 0;
	bottom: 60px;
	left: 0;
	right: 0;
	padding-bottom: 60px;

	overflow: hidden;
	overflow-y: auto;
	overflow-y: overlay;

	-webkit-overflow-scrolling: touch;
	-ms-overflow-style: none;
}

#cart .cart-box .scroll::-webkit-scrollbar {
	display: none;

}

#cart .product {
	position: relative;
	padding: 20px;
	background: white;
	margin: 10px; 
	color: black;
	box-shadow: 1px 1px 2px black;
}

#cart .product .product-name {
	padding-bottom: 20px;
	font: 18px OpenSans;
	padding-right: 30px;
}

#cart .product .btn-remove {
	width: 56px;
	height: 64px;

	position: absolute;
	top: 0;
	right: 0;

	cursor: pointer;

	background: transparent url("/images/remove-01.png") no-repeat center center;
}

#cart .product .btn-less {
	float: left;
	width: 40px;
	height: 230px;
	position: relative;
	cursor: pointer;
}

#cart .product .btn-less:before {
	content: '–';
	width: 40px;
	height: 40px;
	position: absolute;
	margin: -20px 0 0 -20px;
	left: 50%;
	top: 50%;
	text-align: center;

	font: 30px OpenSans;
	line-height: 35px;

	color: white;
	background: #E40521;
	border-radius: 50%;
}

#cart .product .btn-more {
	float: right;
	width: 40px;
	height: 230px;
	position: relative;
	cursor: pointer;
}

#cart .product .btn-more:before {
	content: '+';
	width: 40px;
	height: 40px;
	position: absolute;
	margin: -20px 0 0 -20px;
	left: 50%;
	top: 50%;
	text-align: center;

	font: 30px OpenSans;
	color: white;
	background: #E40521;
	border-radius: 50%;
}

#cart .product .image {
	margin: 0 60px;
	height: 230px;
}

#cart .product .price-item {
	position: relative;
	padding: 5px 0
}

#cart .product .price-item .caption {

}

#cart .product .price-item .value {
	position: absolute;
	right: 0;
	top: 5px;
}

#cart .cart-box .total {
	height: 60px;
	text-align: center;

	font: bold 24px OpenSans;
	position: absolute;
	height: 60px;
	padding: 12px 0 0 0;
	bottom: 60px;
	left: 0;
	width: 100%;

	background: rgba(21,66,65,0.9);
}

#cart .cart-box .button-make-order {
	background: #E40521;
	text-align: center;
	user-select: none;
	cursor: pointer;

	font: bold 18px OpenSans;
	position: absolute;
	height: 60px;
	padding: 16px 0 0 0;
	bottom: 0;
	left: 0;
	width: 100%;
} 

#pan {
	background: #154241;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 100%;

	z-index: 10;

	-webkit-transform: translateX(100%);
			transform: translateX(100%);

	-webkit-transition: -webkit-transform 0.3s ease;
			transition: 		transform 0.3s ease;
}

.show-cart #pan {
	left: 300px;
}

.mode-zel #pan {
	-webkit-transform: translateX(0);
			transform: translateX(0);
}

.zel-space .pan-box {
	position: absolute;
	top: 80px;
	bottom: 0;
	width: 100%;
	left: 0;
	overflow: hidden;

	-webkit-perspective: 1920px;
			perspective: 1920px;
}


@media(max-width: 1040px) {
	#pan {
		left: 0;
	}

	.show-cart #pan {
		left: 0;
	}
}

@media (max-width: 960px) { 
	#pan .pan-box {
		top: 60px;
	}

	/* .zel-space .pan-box {
		bottom: 60px;
	} */

	section.cats {
		display: none;
	}
}

#page {
	position: relative;
	overflow: hidden;
}

#page-footer {
	width: 1168px;
	margin: 0 auto;
	height: 110px;

	padding-top: 60px;
	position: relative;
	color: #221d1d;

	font: 16px OpenSans;
}

@media (max-width: 1182px) {
	#page-footer {
		width: 100%;
	}
}

#page-footer .copy {
	float: left;
}

#page-footer nav {
	margin-left: 200px;
}

#page-footer a {
	color: #221d1d;
	text-decoration: none;
}

#page-footer .menu-item {
	float: left;
	padding: 0 24px;
}

#page-footer .at-right {
	position: absolute;
	right: 0;
	top: 0;
	height: 100%;
	z-index: 1;
}

#page-footer .at-right .email {
	padding: 60px 24px 0;
	float: left;
}

#page-footer .at-right .phone {
	padding: 60px 0 0 24px;
	float: left;
}

@media (max-width: 1152px) {
	#page-footer nav {
		display: none;
	}
}

@media (max-width: 584px) {
	#cart {
		width: 100%;
	}
}

@media (max-width: 528px) {
	#advantages {
		display: none;
	}

	/* #sliders {
		display: none;
	} */

	#page-footer {
		padding: 20px;
	}

	#page-footer .copy {
		float: none;
		text-align: center;
	}

	#page-footer .at-right {
		position: relative;
	}

	#page-footer .at-right .phone {
		clear: left;
		float: none;
		padding: 10px 0 0 0;
		text-align: center;
	}

	#page-footer .at-right .email {
		text-align: center;
		padding: 10px 0 0 0;
		float: none;
	}
}