/* HTML */
/* -------------------------------------------------------------------- */
html { height: 100%; font-size: var(--root-font-size); }
body {  width: 100%; min-height: 100%; vertical-align: top;	background: var(--background-color); color: var(--text-color); font-size: 1.8rem; font-family: var(--font); font-weight: normal; line-height: 1.5; }
body > .container { overflow: hidden; opacity:  0; }

.swiper-wrapper { height: auto; }

@media screen and (min-width: 2000px) {
	html { font-size: 13px; }
}
@media screen and (min-width: 3000px) {
	html { font-size: 20px; }
}

/* Main elements */
/* ============================================================== */
img { display: inline-block; max-width: 100%; height: auto; }
p:not(:last-child) { margin-bottom: 1em; }
b { font-weight: bold; }
a { text-decoration: none; color: inherit; }
a:hover { text-decoration: underline;  }
strong { font-weight: bold;}
i { width: auto; height: auto; }
em { font-weight: bold; font-style: normal; }
hr { display: block; margin: 4rem 0; background: 0; border-top: 2px solid #eee; }

/* ============================================================== */
h1, h2, h3, h4 { margin-bottom: 0.5em; line-height: 1.2; color: var(--heading-color); font-weight: 500; }

h1 { font-size: 4rem; margin-bottom: 0.6em; }
h2 { font-size: 2.4rem; margin-bottom: 1em;  border-left: 5px solid var(--color-green); text-transform: uppercase; }
h2.-center { text-align: center; }
h3 { font-size: 2rem; }

@media screen and (max-width: 960px) {
	h1 { font-size: 3.6rem; }
	h2 { font-size: 3rem; }
	h3 { font-size: 2.8rem; }
}

.banner img { width: 100%; height: auto; }

/* Lists */
/* ============================================================== */
ul, ol { list-style-type: none; }
ol > li::marker  {  display: inline; }
ol > li::before,
ul > li::before { display: inline-block; }
ol > li > p { display: inline; }
ul > li > p { display: inline; }

.hidden { display: none !important; }
.clearfix { clear: both; }

/* ============================================================== */
img.-full { width: 100%; height: auto; float: none; max-width: none; margin-left: 0; margin-right: 0; }
img.-full:not(:first-child) { margin-top: 2rem; }
img.-full:not(:last-child) { margin-bottom: 2rem; }

img.-left { float: left; margin-right: var(--span); margin-bottom: var(--span); max-width: 50rem; height: auto; position: relative; }
img.-right { float: right; margin-left: var(--span); margin-bottom: var(--span); max-width: 50rem; height: auto; position: relative; }

img.-small { max-width: 38rem; }

@media screen and (max-width: 768px) {
	img.-left, img.-right { float: none; max-width: none; margin:0; margin-bottom: 2rem; width: 100%; }
}

/* ============================================================== */
table { width: 100%; margin-bottom: 4rem; background: white;   text-align: center; overflow: hidden; font-size: 1.6rem; }
table caption { background: var(--color-gray); padding: 2rem; font-size: 2rem; font-weight: bold; color: #333; text-align: center; text-transform: uppercase;  }
table td,
table th { border: 1px solid #d0d0d0; padding: 1rem 2rem; text-align: left;  vertical-align: middle; }
table th { background: #f5f5f5 ;  font-size: 1.8rem; font-weight: bold; border-bottom: 4px solid var(--color-red); }
table td { }                            
table td.value, table th.value { text-align: center; }
table td.first { font-weight: bold; }
table tr.secondary > td:first-child { padding-left: 3rem; }
table h2 { font-size: 1.8rem; }

@media screen and (max-width: 960px) {
	table { overflow: auto; max-width: 100%; }
	table td, table th { padding: 0.5rem 1rem; }
}


/* Всплывающие окна */
/* ============================================================== */
.mfp-content { --text-color: black; --heading-color: var(--color-red); color: black; padding: 4rem; overflow:hidden; background: white; display: inline-block; width: auto !important; max-width: 50rem; z-index: 52; width: 100% !important; border-radius: var(--border-radius); }
.mfp-content.-policy { max-width: 80%}
.mfp-bg { z-index: 150;}
.mfp-wrap { z-index: 151; }
.mfp-content form { width: 100%; margin:0 auto; max-width: 50rem; text-align: center; }
.mfp-content a { color: var(--color-blue); }
.mfp-content .form-buttons { display: flex; align-items: center; justify-content: center; margin-bottom: 0; }
.mfp-content .form-input { margin-bottom: 1rem; }
.mfp-content input,
.mfp-content textarea { width: 100%; }
.mfp-content .form-description { font-size: 1.6rem; }
.mfp-content h2 { display: inline-block; border-left: 5px solid var(--color-green); text-align: center; font-size: 2.5rem; text-transform: uppercase; color: black; }
.mfp-close { border-radius: 50%; width: 3.5rem; height: 3.5rem; right: 1rem; top: 1rem; line-height: 0; }
.mfp-close:hover, .mfp-close:focus { color: white; }
.mfp-content { --input-height: 5rem; }


/* Контейнеры для различных элементов и карточек */
/* ============================================================== */
.grid-container { display: grid; grid-template-rows: auto; grid-template-columns: repeat(auto-fill, minmax(var(--item-width), 1fr)); gap: var(--container-gap); justify-content: center;  }

[data-container~="count-6"] { --item-width: 17rem; }
[data-container~="count-5"] { --item-width: 20rem; }
[data-container~="count-4"] { --item-width: 26rem; }
[data-container~="count-3"] { --item-width: 35rem; }
[data-container~="count-2"] { --item-width: 50rem; }

@media screen and (max-width: 960px) {
	.grid-container { display: flex; flex-wrap: wrap; flex-wrap: wrap; justify-content: left; }
	.grid-container > * { flex-basis: var(--item-width);  }
}

@media screen and (max-width: 768px) {
}

@media screen and (max-width: 640px) {
	.grid-container {  --item-width: 100% !important; }
}

.flex-container { display: flex; gap: var(--container-gap); flex-wrap: wrap; align-items: center; justify-content: center; }
.flex-container > * { flex-grow: 1; flex-basis: var(--item-width);  }

@media screen and (max-width: 960px) {
	.flex-container > * { max-width: none; }
	.grid-container > * { flex-grow: 1; }
}

.split-container { display: flex; gap: 3rem; flex-wrap: wrap; }
.split-container > * { flex-grow: 1;  flex-basis: 45rem; }
.split-container[data-split-container~="center"] { align-items: center; }
.split-container > .image.-large { flex-grow: 2; flex-basis: 45; }

.articles-container { display: flex; gap: 4rem; flex-wrap: wrap; }
.articles-container > * { flex-basis: 100% !important; }

.buttons-container { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; align-items: center; }
.teasers-container  {  display: grid; grid-template-columns: repeat(auto-fit, minmax(40rem,1fr)); position: relative;  gap: 2rem;  justify-content: center;  padding: 0.5rem 0; margin: 2rem 0;}


/* Обычный тизер с картинкой сверху */
/* =========================================== */
.image-teaser { display: flex; flex-direction: column; gap: 4rem 2rem; text-align: center; align-items: center; }
.image-teaser .image { width: 15rem; height: 15rem; position: relative; }
.image-teaser .image img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: contain; }
.image-teaser .title { font-weight: 500; max-width: 20rem; }


/* ============================================================== */
.side-image-container { display: flex; gap: 6rem; justify-content: center; align-items: center; flex-wrap: wrap; }
.side-image-container > * { flex-basis: 40rem; flex-grow: 1; }
.side-image-container > .content { flex-grow: 2; }
.side-image-container > .image { lign-self: stretch; position: relative; display: flex; align-items: center; justify-content: center; }
.side-image-container > .image img { max-height: 35rem; width: 100%; height: 100%; object-fit: cover; }


/* ============================================================== */
.side-container { display: flex; align-items: center; flex-wrap: wrap; gap: 4rem;}
.side-container > .content { flex-basis: 30rem; flex-grow: 2; }
.side-container > .side { flex-basis: 20%; flex-grow: 1; min-width: 20rem; align-self: center;}

/* ============================================================== */
.button-up { --color: var(--color-dark-gray); transition: opacity .3s ease; opacity: 0.8; background-color: var(--color-light-gray); height: 5.5rem; width: 5.5rem; bottom: 3rem; right: 3rem; cursor: pointer; display: none; position: fixed; z-index: 999; align-items: flex-end;justify-content: center; border-radius: 50%;  user-select: none; box-shadow: 0 0 5px 0 #0003; }	
.button-up:before { content: "";position: absolute;top: 40%;width: 40%;height: 40%;border-left: 3px solid var(--color);border-top: 3px solid var(--color);transform: rotate(45deg); left: 27%;}
.button-up:hover {opacity: 1;}



/* ============================================================== */
.page-block { padding: var(--block-padding); position: relative; color: var(--text-color); background: var(--background-color); --text-color: inherit; --background-color: transparent;}
.page-block > .block-container { max-width: var(--page-width); margin: 0 auto; position: relative; }

.page-block[data-page-block~="narrow"] { padding-top: var(--span); padding-bottom: var(--span); }
.page-block[data-page-block~="narrower"] { padding-top: calc(var(--span) * 2); padding-bottom: calc(var(--span) * 2); }
.page-block[data-page-block~="no-padding"] { padding-top: 0; padding-bottom: 0; }
.page-block[data-page-block~="multiple"] { }


.page-block[data-page-block~="blue"] { --heading-color: white; --text-color: white; --background-color: #11587e; --link-color: white; }
.page-block[data-page-block~="yellow"] { --background-color: var(--color-yellow); }
.page-block[data-page-block~="gray"] { --background-color: #f8f8f8;}

.page-block[data-page-block~="black"] { --background-color: #444; --text-color: white; --heading-color: white; --link-color: var(--color-yellow); }
.page-block > .bg { position: absolute; right: 100%; bottom: 100%; height: 30rem; width: 30rem; z-index: 1; }

@media screen and (max-width: 960px) {
	.page-block { padding-left: 2rem; padding-right: 2rem; }
}


/* ============================================================== */
.page-section { margin: 4rem 0; }
.page-section:first-child { margin-top: 0; }
.page-section:last-child { margin-bottom: 0; }




/* ============================================================== */
.block-heading { margin: 0 auto; font-size: 3.6rem; margin-bottom: var(--span-large); text-transform: uppercase; text-align: center; border: none; padding: 0; max-width: 80rem;}
.block-heading-text { margin: auto; margin-top: calc(var(--block-padding) * -0.8); margin-bottom: var(--span-x-large); max-width: calc(var(--page-width) * 0.6); text-align: center; }
.block-heading.-left { text-align: left; }

.block-heading-container { display: flex; align-items: center;  justify-content: center; gap: 2rem; margin-bottom: 4rem; flex-wrap: wrap; }
.block-heading-container.-left { justify-content: start; display: block; }
.block-heading-container h2 { margin-bottom: 0; display: inline-block; }
.block-heading-container .simple-button { border-left: 1px solid #eee; }

.block-heading-container.-left h2 { text-align: left; }

.block-heading-container .more-button {
  display: inline-flex; align-items: center; justify-content: center; flex-wrap: nowrap; cursor: pointer;
  text-decoration: none; white-space: nowrap; font-size: 1.6rem; margin: 0; height: 4rem;
 	background: #fcfcfc; color: black;
 	outline: none; border: 0; position: relative; transition: 0.3s all; text-decoration: none !important; gap: 1rem; 	font-style: normal; 
 	transition: .3s; margin-left: 2rem;
}

.block-heading-container .more-button::before { content: ''; display: block; width: 1px; height: 100%; background: #eee; left: -2rem; top: 0; position: absolute; }

.block-heading-container .more-button .icon { background: #e9e9e9; width: 4rem; height: 100%; display: inline-flex; align-items: center; justify-content: center; transition: .3s; }
.block-heading-container .more-button i { background: black; transition: .3s; }

.block-heading-container .more-button:hover { background: var(--color-yellow); }
.block-heading-container .more-button:hover .icon { background: black; }
.block-heading-container .more-button:hover .icon i { background: white; }

@media screen and (max-width: 960px) {
	.block-heading { font-size: 3.2rem; margin-bottom: 3rem; }
	.block-heading.-left { text-align: center; }
	.block-heading-container.-left { justify-content: center; display: flex; }
	.block-heading-container.-left .block-heading { margin: 0; }
}

@media screen and (max-width: 768px) {
}


/* Всплывающие сообщения */
/* ============================================================== */
.message-queue { position: fixed; top: 50%; padding: 3rem; left: 50%; right: 0; background: rgba(0, 0, 0, 0.7); transform: translate(-50%, -50%); max-width: 800px; border-radius: 1rem;  z-index: 400; }
.message-queue .message { margin: 0 auto; max-width: 700px; display: block; background: white; padding: 1rem; margin-bottom: 0.5rem; border-radius: 3px; box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);  }
.message-queue .message: last-child { margin-bottom: 0;  }
.message-queue .message.error { border-left: 5px solid #a6051b;  }
.message-queue .message strong { font-weight: bold; }
.message-queue .message .large { font-size: 2.5rem;}
.message-queue .message .large strong { color: #a6051b; }
.message-queue .message.critical { border-left: 5px solid transparent; color: white; background: #a6051b;  }
.message-queue .message.warning { border-left: 5px solid #ffd376;  }

@media screen and (max-width: 640px) {
	 .message-queue { padding: 1rem; bottom: 0; width: 100%; border-radius: 0; top: auto; transform: none; left:0; right:0; }
	 .message-queue .message { padding: 0.5rem; }
}

/* Блоки сносок в тексте */
/* ============================================================== */
.message-box { --text-color: var(--color-black); color: var(--text-color); --image: url("../img/icons/mb-info.png"); clear: both; position: relative; display: flex; justify-content: flex-start; align-items: flex-start; padding: 4rem; padding-left: 12rem;  text-align: left; margin: 3rem 0; flex-flow: column; min-height: 10rem; border-radius: var(--border-radius); min-height: 100px; border: 2px solid #e0e0e0; background: linear-gradient(45deg, #00000020, white 5rem); }
.message-box::after { content:''; display: block; width: 4px; position: absolute; top:-2px; left:-2px; bottom:-2px; background: var(--color-blue); }
.message-box h2 { text-align: left; font-size: 2.4rem; margin-bottom: 1rem; margin-top: 0; }
.message-box a { color: var(--text-color); text-decoration: underline; }
.message-box > * { margin-bottom: 0.5rem;}
.message-box > *:last-child { margin-bottom: 0; }
.message-box::before { content: ''; display: block; position: absolute; top: 50%; bottom: 0; left: 2rem; width: 8rem; height:8rem; transform: translateY(-50%); background: var(--color-blue);mask: var(--image) center / contain no-repeat; -webkit-mask: var(--image) center / contain no-repeat; }
.message-box.-home { --image:url(../img/icons/mb-home.png); }
.message-box.-alert { --image:url(../img/icons/mb-alert.png); }
.message-box.-alert::before { background: var(--color-red); }
.message-box.-alert::after { background: var(--color-red); }
.message-box.-center { text-align: center; align-items: center; }
.message-box.-center::before { display:none;  }
.message-box.-with-image { padding-left: 25rem; }
.message-box.-with-image .image { position: absolute; left:0; top:0; height: 100%; width: 20rem; mask: linear-gradient(to left, transparent, white 2rem); }
.message-box.-with-image .image img { position: absolute; left:0; top:0; width: 100%; height: 100%; object-fit: cover; }
@media screen and (max-width: 768px) {
	.message-box.-with-image .image { display: none; }
	.message-box.-with-image::before { display: none; }
}

@media screen and (max-width: 768px) {
	.message-box { padding: 2rem !important; }
	.message-box::before { display: none; }
}

/* Страничная навигация */
/* ============================================================== */
.pagination { display: flex; margin: 4rem 0; text-align: left; align-items: center; justify-content: left; flex-wrap: wrap; font-size: 1.6rem; margin-left: -1rem; }
.pagination .title { margin-right: 2rem; }
.pagination ul { margin-bottom: 0 !important; margin-left: 0; display: flex; flex-wrap: wrap; gap: 1rem}
.pagination li a, .pagination li span { display: flex; align-items: center; justify-content: center; min-width: 3rem; }
.pagination li.active a, .pagination li.active span { background: var(--color-red);  color: #ffffff; }
.pagination li { display: inline-flex; list-style-type: none; margin-bottom: 0; margin-left: 0; align-items: center; }
.pagination li:not(.control) a,
.pagination li:not(.control) span { min-width: 3rem; flex-shrink: 0; height: 3rem; align-items: center; justify-content: center; text-decoration: none; padding: 1rem;}
.pagination li:hover a { background: #f0f0f0; }

/* Табы */
/* ============================================================== */
.tabs {  position: relative; }
.tabs .tabs-navigation {  display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tabs .tabs-navigation a { padding: 1rem 2rem; text-decoration: none; display: inline-block; transition: .3s; font-size: 1.8rem;  
	display: inline-flex; 
	background: #f4f4f4; cursor: pointer; border: 2px solid transparent; font-weight: 500; gap: 1rem; }
.tabs .tabs-navigation a:hover { background: #f0f0f0;  }
.tabs .tabs-navigation a i { background: black; }
.tabs .tabs-navigation a.-active {  background: var(--color-red); color: white; }
.tabs .tabs-navigation a.-active i { background: white; }
.tabs .tabs-content { background: white; }
.tabs .tab { display: none; }
.tabs .tab.-active { display: block; }

@media screen and (max-width: 768px) {
	.tabs .tabs-navigation a  { padding: 0.5rem 1rem; font-size: 1.6rem; }
}

/* Иконки соцсетей */
/* ============================================================== */
.social-icons { white-space: nowrap; display: flex; align-items: center; gap: 1rem; justify-content: center; }
.social-icons a {
	--color: var(--color-blue);
	width: 4rem; height: 4rem; border-radius: 50%; background: var(--color);
	display: inline-flex; justify-content: center; align-items: center; flex-shrink:0;
	transition: .3s; top: 0; gap: 0.5rem;
	position: relative;  cursor: pointer; }
.social-icons a i { width: 60%; height: 50%; background: white; }
.social-icons a.telegram { --color: #3f95d6; }
.social-icons a.whatsapp { --color: #58bb16; }
.social-icons a:hover { background: white; }
.social-icons a:hover i { background: black !important; }


/* Оформление элементов в статьях */
/* ============================================================== */             
.article ul { list-style-type: square; margin-bottom: 1em;  }
.article ul > li { margin-bottom: 0em; }
.article ul > li::marker { color: var(--color-red); }
.article > table { margin: 4rem 0; }
.article ol { list-style-type: decimal; margin-bottom: 1em; }
.article li { margin-bottom: 0.5em; }
.article h2 { font-size: 2.8rem; margin-bottom: 1em; background: none;
	border-left: 5px solid var(--color-yellow); padding-left: 1.5rem;}
.article a:hover { text-decoration: none; }
.article img { display: block; }
.article > h2:not(:first-child) { margin-top: 2em; }
.article a { color: var(--color-red); }

/* Хлебные крошки */
/* ============================================================== */
.breadcrumbs { margin-bottom: 2rem; font-size: 1.7rem; flex-wrap: wrap; line-height: 1.2; }
.breadcrumbs ul::before { content: '';  margin-right: 1rem; display: inline-block; width: 2rem; height: 2rem; --icon: url(../img/icons/home.png); mask: var(--icon) center/contain no-repeat; -webkit-mask: var(--icon) center/contain no-repeat; background: var(--color-red); }
.breadcrumbs ul { display: flex;  color: #333; gap: 1rem; flex-wrap: wrap; align-items: center;  }
.breadcrumbs ul li { display: inline-flex; margin-right: 0.5rem; align-items: center; }
.breadcrumbs ul li:not(:last-child)::after { content: '/'; display: inline-block; margin-left: 2rem; height: 2rem; }
.breadcrumbs a { text-decoration: underline; color: #888; }
.breadcrumbs span { font-weight: 500; color: #444; }
.breadcrumbs a > span { font-weight: normal; color: #888; }
.breadcrumbs a:hover > span { color: var(--color-red); }
.breadcrumbs a:hover { text-decoration: underline; }

@media screen and (max-width: 768px) {
	.breadcrumbs { font-size: 1.4rem; }
}


/* ============================================================== */

.advantage-card { display: flex; align-items: center; gap: 2rem; line-height: 1.3; }
.advantage-card .image { }
.advantage-card .image i { width: 8rem; height: 8rem; background: var(--color-green); }
.advantage-card .content { font-size: 1.5rem; }
.advantage-card .title { font-size: 2rem; font-weight: 500; margin-bottom: 0.5rem; }

@media screen and (max-width: 768px) {
	.advantage-card { line-height: 1.3; }
	.advantage-card .image { width: 8rem; height: 8rem; } 
	.advantage-card .title { font-size: 1.8rem; }	
}


/* Всплывашки */
/* ============================================================== */
.tippy-content { font-size: 1.5rem; padding: 2rem; }
.tippy-box { background: #ffffffe0; color: black; border-radius: 1rem; }
.tippy-arrow  { color: #ffffffe0;}


/* Карточка статьи */
/* ============================================================== */
.article-card { overflow: hidden;  align-items: center; gap: 4rem; flex-wrap: wrap;  position: relative; border: 2px solid var(--color-red); padding-bottom: 1rem; }
.article-card::after { display: block; content:''; position: absolute; background: linear-gradient(to top, #f6f6f6b0, transparent), url(../img/bg-lines.png) center repeat, #f6f6f6; height: 1.8rem; left: 0; right:0; bottom:0px; }
.article-card .image { width: 100%;  display: block; padding-top: 60%; overflow: hidden; position: relative; }
.article-card .image img { width: 100%; position: absolute; left:0; top: 0; width: 100%; height: 100%; object-fit: cover; }
.article-card .content { padding: 2rem 4rem; line-height: 1.2; font-size: 1.6rem; }
.article-card .title { font-size: 2rem; font-weight: 500;}
.article-card .button { margin-top: 1rem; }
.article-card .text { margin-top: 1rem; }

/* Карточка статьи */
/* ============================================================== */
.article-list-card { overflow: hidden;  align-items: center; gap: 4rem; display: flex; flex-wrap: wrap;  position: relative;  }
.article-list-card .image::after { display: block; content:''; position: absolute; background: linear-gradient(to top, #f6f6f6b0, transparent), url(../img/bg-lines.png) center repeat, #f6f6f6; height: 1.8rem; left: 0; right:0; bottom:0px; }
.article-list-card .image { flex-basis: 30rem; flex-grow: 0;  display: block; overflow: hidden; position: relative; }
.article-list-card .image img { width: 100%; height: auto;  }
.article-list-card .content { line-height: 1.2; font-size: 1.6rem; flex-grow: 1; flex-basis: 40rem; }
.article-list-card .title { font-size: 2rem; font-weight: 500;}
.article-list-card .button { margin-top: 1rem; }
.article-list-card .text { margin-top: 1rem; }


.article-list-card:not(:last-child) { border-bottom: 1px solid #ddd; padding-bottom: 2rem; }

/* ============================================================== */
.news-card { overflow: hidden;  align-items: center;  display: flex; align-items: stretch; flex-wrap: wrap;  position: relative; border: 2px solid var(--color-red); padding-bottom: 1rem; }
.news-card::after { display: block; content:''; position: absolute; background: linear-gradient(to top, #f6f6f6b0, transparent), url(../img/bg-lines.png) center repeat, #f6f6f6; height: 1.8rem; left: 0; right:0; bottom:0px; }
.news-card .image { flex-basis: 30%; flex-shrink: 0; flex-grow:1;  display: block; overflow: hidden; position: relative; }
.news-card .image img { width: 100%; position: absolute; left:0; top: 0; width: 100%; height: 100%; object-fit: cover; }
.news-card .content { padding: 4rem; line-height: 1.2; font-size: 1.6rem; flex-basis: 20rem; flex-grow: 1; flex-basis: 30rem; }
.news-card .title { font-size: 2rem; font-weight: 500;}
.news-card .button { margin-top: 1rem; }
.news-card .text { margin-top: 1rem; }

.news-list-card:not(:last-child) { border-bottom: 1px solid #ddd; padding-bottom: 2rem; }


/* ============================================================== */
.gallery-card { display: block; transition: .3s; background: #333; position: relative; border: 1px solid #ccc; overflow:hidden; transition: .3s; z-index: 1; background: white; color: black !important; padding: 3px; }
.gallery-card .image { width: 100%;  height: 100; display: block; position: relative; padding-top: 75%; }
.gallery-card .image img { position: absolute; left:0; top:0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.gallery-card:hover { border-color: var(--color-yellow); z-index: 10; filter: var(--filter-shadow); }
.gallery-card .title { position: absolute; bottom: 0; left: 0; right: 0; padding: 1rem; text-align: center; font-size: 1.6rem;
	background: var(--color-yellow); font-weight: bold; min-height: 20%; display: flex; align-items: center; justify-content: center; }

/* ============================================================== */
.gallery-section-card { display: block; transition: .3s; background: #333; position: relative; border: 1px solid #ccc; overflow:hidden; transition: .3s; z-index: 1; background: white; color: black !important; padding: 3px; }
.gallery-section-card .image { width: 100%;  height: 100; display: block; position: relative; padding-top: 100%; }
.gallery-section-card .image img { position: absolute; left:0; top:0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.gallery-section-card:hover { border-color: var(--color-yellow); z-index: 10; filter: var(--filter-shadow); }
.gallery-section-card .title { position: absolute; bottom: 3px; left: 3px; right: 3px; padding: 1rem; text-align: center; font-size: 1.6rem;
	background: var(--color-yellow); font-weight: bold; min-height: 20%; display: flex; align-items: center; justify-content: center; line-height: 1.2; 
	transition: .3s; 
}

.gallery-section-card:hover .title { background: black; color: white; }

.gallery-sections { margin-top: 4rem; }
.gallery-section h2 { display: inline-block; background: #f4f4f4; padding: 1rem 2rem; border-left: 5px solid var(--color-yellow); font-size: 2.5rem; }
.gallery-section:not(:last-child) { margin-bottom: 4rem; }
.gallery-section .grid-container { gap: 2rem; }
.gallery-container.grid-container { gap: 2rem; }


/* ============================================================== */
.product-card { position: relative; border: 1px solid #ccc; overflow:hidden; transition: .3s; z-index: 1; background: white; padding-bottom: 6rem; text-align: center;}
.product-card .image { width: 100%; padding-top: 70%; position: relative; display: block; }
.product-card .image img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
.product-card .content { padding: 1.5em; }
.product-card .content > .title { font-size: 1.7rem; text-transform: uppercase; font-weight: 500; text-align: center; line-height: 1.2; display: block; }
.product-card .properties { font-size: 1.6rem;  line-height: 1.2; margin-top: 1rem; }
.product-card .properties i { width: 2rem; height: 1.8rem; background: var(--color-red); }
.product-card .property { margin-bottom: 0.2rem; justify-content: center; }
.product-card .property-values { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5em; }
.product-card .property-title { font-weight: 500; margin-right: 0.5rem; }
.product-card .not-aviable { background: #f4f4f4; text-align: center; font-size: 1.4rem; margin-top: 1rem; display: inline-block; margin: 0 1rem;  padding: 0.5rem 1rem; }
.product-card .price {  font-size: 1.6rem; height: 5rem; text-align: center;  margin: 1rem 0; }
.product-card .price strong { font-size: 2.2rem; }
.product-card .price .value { display: inline-flex; align-items: center; gap: 0.5rem; }
.product-card .bottom { display: flex; align-items: center; gap: 1rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; position: absolute; bottom: 0; left: 0; right: 0; }
.product-card .bottom > * { flex-basis: 12rem; flex-grow: 1; }

.product-card .property { display: flex; gap: 0.5; flex-wrap: wrap; }

	.product-card:hover { border: 1px solid var(--color-red); z-index: 10; filter: var(--filter-shadow); }

@media screen and (max-width: 768px) {
	
}

.products-container { gap: 3rem; }


/* ============================================================== */
.catalog-filters { margin-bottom: 2rem; }
.catalog-filters .tabs-content { border: 2px solid var(--color-red); }
.catalog-filters .tabs .tab { padding: 2rem; }
.catalog-filters .filter-values { display: flex; flex-wrap: wrap; gap: 0.75rem; font-size: 1.5rem; }
.catalog-filters .filter-values a { background: #f4f4f4; padding: 0.5rem 1rem; text-decoration: none !important; transition: .3s; }
.catalog-filters .filter-values a:hover { background: var(--color-yellow); }
.catalog-filters .filter-values a.-active { background: var(--color-red); color: white; }

/* ============================================================== */

.catalog-filters-all { margin-bottom: 0rem; border-bottom: 1px solid #0002; padding-bottom: 2rem; }
.catalog-filters-all .filter.-wide { flex-basis: 100%; }
.catalog-filters-all .filter-values { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; }
.catalog-filters-all a { font-size: 1.7rem; display: inline-block; padding: 0.5rem 1rem; text-decoration: none !important; border: 1px solid #0001; border-left: 2px solid var(--color-red); transition: 0.3s; }


.catalog-filters-all a:hover { background: #f4f4f4;}
.catalog-filters-all a.-active { background: var(--color-red); color: white; }
.catalog-filters-all .title { font-weight: 500; font-size: 1.9rem; margin-bottom: 0.6rem; text-transform: uppercase; display: flex; align-items: center; gap: 1rem; }
.catalog-filters-all .title .units { font-size: 1.5rem; color: #666;  }
.catalog-filters-all .title i { background: var(--color-red); width: 3rem; height: 3rem; }
.catalog-filters-all .content { display: flex; gap: 2rem 4rem; flex-wrap: wrap; }
.catalog-filters-all .filter { flex-basis: 20rem; flex-grow: 1; }


/* ============================================================== */
.catalog-sort { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin-bottom: 4rem;
	--button-height: 4rem; --input-height: 4rem; 
}
.catalog-sort > * { display: flex; gap: 1rem 2rem; align-items: center; flex-wrap: wrap; }
.catalog-sort .sort { flex-grow: 1; }
.catalog-sort input[type="text"],
.catalog-sort select { background: #f4f4f4; }
.catalog-sort .search { position: relative; }
.catalog-sort .search .button { position: absolute; right: 0; top: 0; bottom: 0; width: 7rem; display: flex; align-items: center; justify-content: center; }

/* Адаптивное меню */
/* ============================================================== */
.mobile-menu { background: white; color: black; display:none; position: fixed; top:0; left:0; width: 100vw; height: auto; z-index: 10000; max-height: 100%; box-shadow: 0 3px 5px 0 #0003; overflow: auto; }

.mobile-menu .close-menu-button { height: 4rem; display: flex; cursor: pointer; align-items: center; justify-content: center; background: var(--color-red); gap: 1rem; color: white; }
.mobile-menu .close-menu-button i { background: white; width: 1.5rem; height: 1.5rem; }

.mobile-menu .menu { padding: 0; z-index: 100;   text-align: left;  line-height: 1.1;  height: auto; max-height: calc(100vh); width: 100%; z-index:20; box-shadow: 0 5px 5px 0 #0003; padding-bottom: 2rem; }
.mobile-menu .menu a {  text-decoration: none; }
.mobile-menu .menu li { display: block; } 
.mobile-menu .menu > li { border-bottom: 1px solid #fff2; }
.mobile-menu .menu > li > a { font-weight: normal; }
.mobile-menu .menu li ul { position: relative; background: transparent; padding: 0 2rem;}
.mobile-menu .menu li ul li { border: none !important; }
.mobile-menu .menu li a  { display: flex; padding: 0.7rem 2rem; gap: 1rem; align-items: center; min-height: 3rem; }
.mobile-menu .menu li.-active > a { font-weight: bold;  }
.mobile-menu .menu li a > .text { flex-grow: 1; }
.mobile-menu .menu li a:hover {  background: black; color: white; }
.mobile-menu .menu li > ul { display: none;  font-size: 1.5rem; margin-left: 2rem; padding-left: 0; }

.mobile-menu .menu .opener { display: inline-block; width: 3rem; height: 2.5rem; flex-shrink: 0; background: #333; --mask: url(../img/icons/arrow-down.png) center/1.5rem no-repeat;	mask: var(--mask); -webkit-mask: var(--mask);  background: black; }

.mobile-menu .menu li.-open > a > .opener { --mask: url(../img/icons/arrow-up.png) center/1.5rem no-repeat;}
.mobile-menu .menu li.-open > ul { display: block; }
.mobile-menu .menu li.-open { border-bottom: 1px solid #fff5; margin-bottom: 1rem; padding-bottom: 1rem; background: #0002;  }
.mobile-menu .menu li.-open > a { margin-bottom: 0.5rem; background: linear-gradient(to top, #0003, transparent 1rem); padding: 1rem 2rem; font-weight: bold; }
.mobile-menu .menu li.-open > ul {  display: block; }

.mobile-menu.-open { display: block; }
.mobile-menu.-open .open-button::after { --image: url(../img/icons/close.svg) center/contain no-repeat; }
.mobile-menu.-open .mobile-menu { display: block;  }

/* ============================================================== */
.mobile-menu-button { display: none; align-items: center; gap: 1rem; justify-content: center; font-size: 1.5rem; min-height: 4rem; transition: .3s;
	cursor: pointer; border: 3px solid #eee; padding: 1rem; }
.mobile-menu-button i { background: black; }
.mobile-menu-button:hover { background: white; }

@media screen and (max-width: 640px) {
	.mobile-menu-button { display: flex; }
}



.certificates-slider { overflow: hidden; }
.certificates-slider .swiper-slide { padding: 1rem; }
.certificate-card { border-bottom: 4px solid var(--color-red); display: block; background: white; padding: 3px; position: relative; overflow: hidden; transition: .3s; box-shadow: 0 0 1rem 0 #0002; }
.certificate-card .image { width: 100%; padding-top: 140%; position: relative; }
.certificate-card .image img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 1rem; }
.certificate-card .title { position: absolute; left: 0; bottom: 0; width: 100%; padding: 1rem 2rem; background: linear-gradient(to top, #c8d4da, #fff8 3rem); display: flex; align-items: center; gap: 1rem; justify-content: center; transition: .3s; }
.certificate-card .title i { bacgkround: var(--color-blue); transition: .3s;  }
.certificate-card:hover { box-shadow: var(--shadow); }
.certificate-card:hover .title { background: var(--color-blue); color: white; }
.certificate-card:hover .title i { background: white; }

/* ============================================================== */
#header { z-index: 100;	overflow: visible; line-height: 1.2; position: relative; padding-bottom: 3rem; background: white; }
#header .top-part { display: flex; align-items: center; gap: 2rem; justify-content: center; flex-wrap: wrap; }

#header::after { display: block; content:''; position: absolute; background: linear-gradient(to top, #f6f6f6b0, transparent), url(../img/bg-lines.png) center repeat, #f6f6f6; height: 1.8rem; left: 0; right:0; bottom:0; }

#header .contacts { display: flex; flex-basis: 28rem; font-size: 1.5rem; flex-wrap: wrap; justify-content: start; align-items: center; gap: 0.5rem 1rem; flex-grow: 1;}
#header .contacts-item { display: flex; align-items: center; gap: 1rem; }
#header .contacts em { color: var(--color-red); text-decoration: underline; font-weight: normal; cursor: pointer; }
#header .contacts em:hover { text-decoration: none; }

#header .phone { font-size: 3rem; }
#header .order-button { flex-basis: 22rem; flex-grow: 0; }
#header .contacts i { background: var(--color-green); width: 1.5rem; height: 1.5rem; }
#header .social-icons { flex-grow: 1; }

#header .navigation-part { display: flex; align-items: center; gap: 1rem 2rem; justify-content: center; flex-wrap: wrap; margin-top: 1rem; }
#header .navigation-part .span { flex-basis: 1rem; flex-grow: 1; }

#header .search { display: block; flex-basis: 22rem; position: relative; background: linear-gradient(#f2f2f2, white); flex-shrink: 0; }
#header .search input { background: transparent; min-height: 4rem;  padding: 0 1rem; font-size: 1.6rem;  }
#header .search button { background: transparent; border: none; position: absolute; right: 0; top: 50%; width: 3rem; height: 3rem; transform: translate(-50%, -50%); }

#header .main-menu { display: inline-flex; align-items: center; justify-content: center; font-size: 1.7rem; flex-wrap: wrap;  position: relative; z-index: 100; flex-grow: 1; flex-basis: auto; }
#header .main-menu  a { display: flex; padding: 0.5rem 1rem; text-decoration: none; width: 100%; align-items: center; gap: 0.5rem; }
#header .main-menu li { display: flex; align-items: center; gap: 1rem; position: relative; }
#header .main-menu > li:not(:last-child) { border-right: 1px solid #0001; }
#header .main-menu > li.first { width: 2rem; height: 2rem; color: transparent; background: var(--color-red); 
	--mask: url(../img/icons/home.png) center/contain no-repeat; mask: var(--mask); -webkit-mask: var(--mask);
}
#header .main-menu ul { display: none; padding: 0rem; background: white; position: absolute; left:0; top: 100%; color: black; min-width: 100%; box-shadow: 0 0 10px #0002;
	border-left: 4px solid var(--color-red); width: max-content; max-width: 30rem;  }
#header .main-menu ul > li { border-bottom: 1px solid #0001; }
#header .main-menu li:hover > a { background: var(--color-red); color: white; }
#header .main-menu li:hover > ul { display: block; }
#header .main-menu li:hover > ul a { padding: 1rem 2rem; }

#header .main-menu > li.-has-children > a::after { content:''; display: inline-block; width: 1.5rem; height: 1.5rem; background: var(--color-red);
	--mask: url(../img/icons/arrow-down.png) center/contain no-repeat; mask: var(--mask); --webkit-mask: var(--mask); margin-left: 0.5rem; }

#header .main-menu > li.-has-children:hover > a::after { background: white; }

#header .site-logo { flex-basis: 31rem; }

#header.-fixed { position: fixed; top: 0; left: 0; width: 100%; box-shadow: 0 0 1rem 0 #0004; padding-bottom: 2rem; padding-top: 1rem; }
#header.-fixed::after { height: 1rem;  }
#header.-fixed .phone { font-size: 2.4rem;  }
#header.-fixed .order-button { height: 4rem; }
#header.-fixed .site-logo .text { font-size: 1.4rem; }
#header.-fixed::after { background: linear-gradient(to top, #f6f6f6b0, transparent), url(../img/bg-lines.png) center repeat, white; }

@media screen and (max-width: 1400px) {
	#header .contacts { flex-basis: 20rem; flex-grow: 1; }
}	

@media screen and (max-width: 960px) {
	#header.-fixed { padding-bottom: 2rem; }
	#header .navigation-part { display: none; }
	#header .phone { font-size: 2.4rem; }
	#header .social-icons { display: none; }
	#header .site-logo .title { font-size: 2rem; }
}

@media screen and (max-width: 768px) {
	#header .contacts { justify-content: center; gap: 0.5rem; }
	#header .site-logo { flex-basis: 27rem; }
	#header.-fixed .contacts { display: none;  }
	#header.-fixed .order-button { display: none; }
}

@media screen and (max-width: 640px) {
	#header .contacts { flex-basis: 100%; }
}


/* ============================================================== */
#slider { background: #f0f0f0; overflow: hidden; }
#slider .block-container { display: flex; align-items: center; gap: 8rem; }
#slider .block-content { max-width: 70rem; }
#slider .slide { position: relative; }
#slider > .bg-image { position: absolute; bottom: 0; top: 0; left: 0; right: 0; --mask: linear-gradient(120deg, #fff2 40%, white 70%) ;
	mask: var(--mask); -webkit-mask: var(--mask);
}
#slider > .bg-image img { position: absolute; bottom: 0; top: 0; left: 0; height: 100%; width: 100%;  object-fit: cover; }

#slider h1 { text-transform: uppercase; }
#slider .price { background: var(--color-red); padding: 1rem; color: white; font-size: 1.8rem; display: inline-flex; align-items: center; gap: 1rem; justify-content: center;  }
#slider .price strong { font-size: 2.2rem; font-weight: 500; }
#slider .teasers { margin-top: 4rem; gap: 1rem; --item-width: 18rem; }

#slider .buttons { margin-top: 4rem; display: flex; flex-wrap: wrap; gap: 1rem;  }
#slider .button { --button-height: 7rem; }

#slider .slide-image { position: absolute; left: 60%; bottom: -10%; width: 66rem; height: 50rem;  }

.slider-teaser { background: white; font-size: 1.5rem; font-weight: 500; padding: 2rem; border-bottom: 5px solid var(--color-red); max-width: 32rem; }
.slider-teaser .image { width: 100%; height: 6rem; display: flex; align-items: center; justify-content: center; }
.slider-teaser .image i { width: 6rem; height: 5rem; }
.slider-teaser .content { text-align: center; margin-top: 1rem; line-height: 1.2; }

@media screen and (max-width: 1200px) {
	#slider .slide-image { left:80%; }
	#slider .block-content { max-width: 60rem; }
}

@media screen and (max-width: 960px) {
	#slider .slide-image { display: none; }
	#slider .block-content { text-align: center; max-width: none; }
	#slider .teasers { justify-content: center; }
	.slider-teaser { display: flex; align-items: center; gap: 1rem;  }
	.slider-teaser .image { width: 6rem; }
	#slider .buttons { justify-content: center; }
}

/* ============================================================== */
#about {  }
#about .block-container { display: flex; align-items: center; justify-content: center; gap: 4rem; flex-wrap: wrap; }
#about .block-content { flex-basis: 40rem; flex-grow: 1; }
#about .image {  flex-basis: 30%; flex-grow: 1; flex-shrink: 0; width: 100%;  }
#about .image img { width: 100%;}

@media screen and (max-width: 960px) {
	#about .image { order: -1;  flex-basis: auto;  }
}


/* ============================================================== */
#contacts { position: relative; background: #f4f4f4; }
#contacts .form-part { background: white;  position: relative; z-index: 10; max-width: 60rem; line-height: 1.3; }
#contacts .form-part h2 { background: linear-gradient(#fbda8a, #f7f6f3); padding: 2rem 4rem; margin-bottom: 0; }
#contacts .form-part form { padding: 2rem 4rem; }

#contacts .map-container { position: absolute; left:0; top:0; width: 100%; height: 100%; }
#contacts #bottom-map { position: absolute; left:0; top:0; width: 100%; height: 100%; }
#contacts iframe { position: absolute; left:0; top:0; width: 100%; height: 100%; }
#contacts #bottom-map *[class*="ground-pane"] { filter: grayscale(100%); }

@media screen and (max-width: 768px) {
	#contacts .form-part { max-width: none; }
}

/* ============================================================== */

#footer { font-size: 1.5rem; }
#footer .contacts { flex-basis: 36rem; }
#footer .contacts .phone { font-size: 3rem; }
#footer .contacts .phone span { color: var(--color-yellow); }
#footer .block-container { display: flex; gap: 2rem; align-items: center; justify-content: center; flex-wrap: wrap; }
#footer .bottom-menu { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; flex-grow: 1; flex-basis: 30rem; font-size: 1.7rem; }
#footer .copyrights { flex-basis: 30rem; flex-grow: 1; font-size: 1.4rem; }

/* ============================================================== */
.site-logo { display: flex; align-items: center; gap: 1rem; text-decoration: none !important; }
.site-logo .text { font-size: 1.5rem; line-height: 1.2; }
.site-logo .title { font-size: 2.3rem; color: var(--color-red); font-weight: 500;  font-style: normal; }
.site-logo .image { background: url(../img/logo-site.png) center/contain no-repeat; width: 5rem; height: 5rem; flex-shrink: 0; }

/* ============================================================== */
#banners .block-container { display: flex; gap: var(--span); align-items: center; justify-content: center; flex-wrap: wrap;}
#banners .banner { flex-basis: 40rem; flex-grow: 1; display: block; }

/* ============================================================== */

.cargo-teaser { display: flex; flex-direction: column; gap: 1rem; text-align: center; align-items: center; justify-content: start; text-decoration: none; text-decoration: none !important; }
.cargo-teaser .image { width: 15rem; height: 15rem; background: linear-gradient(#f8f8f8, #e8e8e8); border-radius: 50%; overflow: hidden; position: relative; }
.cargo-teaser .image img { position: absolute; width: 80%; height: 80%; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.cargo-teaser .title { background: #f6f6f6; padding: 1rem; font-size: 1.7rem; border-bottom: 5px solid var(--color-red); line-height: 1.2; width: 100%; min-height: 7rem; display: flex; align-items: center; justify-content: center; transition: .3s; position: relative; z-index: 1; margin-top: 1rem; }
.cargo-teaser .title::after { background: #f6f6f6; display: block; content: ''; position: absolute; width: 2rem; height: 1rem; top: 0rem; left: 50%;
	transform: translate(-50%, 0); clip-path: polygon(50% 0, 100% 100%, 0 100%); opacity: 0; z-index: -1; transition: .3s; }

.cargo-teaser:hover .title { background: var(--color-red); color: white; }
.cargo-teaser:hover .title::after { opacity: 1; background: var(--color-red); transform: translate(-50%, -1rem); }

/* ============================================================== */

.round-teaser { display: flex; flex-direction: column; gap: 2rem; text-align: center; align-items: center; justify-content: start; text-decoration: none; cursor: pointer; position: relative; }
.round-teaser .image { width: 14rem; height: 14rem; background: linear-gradient(#fbd985, #e8e8e8); border-radius: 50%; overflow: hidden; position: relative; transition: .3s; }
.round-teaser .image i { position: absolute; width: 9rem; height: 7rem; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.round-teaser .content { font-size: 1.7rem; line-height: 1.2; font-weight: 500; }
.round-teaser:hover .image { background: linear-gradient(var(--color-yellow), var(--color-yellow)); }


.round-teaser.-horizontal { flex-direction: row; text-align: left; }

.round-teaser.-red .image { background: var(--color-red); }
.round-teaser.-red .image i { background: white; }


.how-to-teasers .round-teaser:not(:last-child)::after { content:''; display: block; width: 3rem; height: 3rem; background: gray; position: absolute; right: -3rem; top: 50%; transform: translate(0, -50%); margin-top: -2rem; 
--mask: url(../img/icons/arrow-right.png) center/contain no-repeat; mask: var(--mask); -webkit-mask: var(--mask); }

@media screen and (max-width: 640px) {
	.how-to-teasers .round-teaser:not(:last-child)::after { display: none; }
}

/* ============================================================== */

.red-teaser { display: flex; gap: 2rem; text-align: left; align-items: center; justify-content: start; text-decoration: none; }
.red-teaser .image { width: 14rem; height: 14rem; background: var(--color-red); border-radius: 50%; overflow: hidden; position: relative; flex-shrink: 0; }
.red-teaser .image i{ position: absolute; width: 60%; height: 60%; left: 50%; top: 50%; transform: translate(-50%, -50%); background: white;}
.red-teaser .title { font-size: 1.8rem; font-weight: bold; margin-bottom: 1rem; }

@media screen and (max-width: 640px) {
	.red-teaser { flex-wrap: wrap; justify-content: center; text-align: center; }
	.red-teaser .image { width: 9rem; height: 9rem; }
}


/* ============================================================== */
.category-wide-card { display: flex; gap: 2rem 4rem; align-items: center; flex-wrap: wrap; }
.category-wide-card > .image { width: 30rem; height: 30rem; border-radius: 50%; background: linear-gradient(#fcd881, #f7f6f3); flex-shrink: 0; position: relative; flex-basis: 30rem; }
.category-wide-card > .image img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: contain; }
.category-wide-card > .content { flex-basis: 30rem; flex-grow: 1; }
.category-wide-card > .content > .heading { display: flex; align-items: center; gap: 2rem; }
.category-wide-card > .content > .heading h2 { background: var(--color-red); color: white; margin: 0; padding: 2rem 4rem; clip-path: polygon(0 0, calc(100% - 2rem) 0, 100% 100%, 0 100%); }
.category-wide-card .card-content { box-shadow: 0 0 2rem 0 #0002; background: white; padding: 4rem; font-size: 1.7rem; position: relative; padding-bottom: 6rem; }
.category-wide-card .card-content .top { display: none; margin-bottom: 2rem; flex-wrap: wrap; justify-content: center; }
.category-wide-card .card-content .top .image { width: 20rem; height: 20rem; border-radius: 50%; background: linear-gradient(#fcd881, #f7f6f3); flex-shrink: 0; position: relative; flex-basis: 20rem; }
.category-wide-card .card-content .top .image img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: contain; }
.category-wide-card .card-content .top h2 { margin-bottom: 1rem; }
.category-wide-card .card-content .top .heading { justify-content: center; flex-grow: 1; }
.category-wide-card .card-content .top .toolbar { justify-content: start; }
.category-wide-card .card-content::after { display: block; content:''; position: absolute; background: linear-gradient(to top, #f6f6f6b0, transparent), url(../img/bg-lines.png) center repeat, #f6f6f6; height: 1.8rem; left: 0; right:0; bottom:0px; }
.category-wide-card .text { margin-bottom: 2rem; }
.category-wide-card .toolbar { display: flex; flex-grow: 1; align-items: center; justify-content: end; }
.category-wide-card .toolbar a { display: inline-flex; gap: 1rem; align-items: center; }
.category-wide-card ul { display: flex; gap: 0.5rem 1rem; flex-wrap: wrap;  list-style-type: disc; }
.category-wide-card ul a { text-decoration: underline; }
.category-wide-card ul li { flex-basis: 25rem; flex-shrink: 0; flex-grow: 1; }
.category-wide-card ul li::marker { color: var(--color-yellow)}

.category-wide-card:not(:last-child) { margin-bottom: 8rem; }

@media screen and (min-width: 960px) {
	.category-wide-card:nth-child(2n+2) .heading h2 { order: 2; }
	.category-wide-card:nth-child(2n+2) > .image { order: 2; }
	.category-wide-card:nth-child(2n+2) .toolbar { justify-content: start; }
	.category-wide-card:nth-child(2n+2) .heading h2 { clip-path: polygon(2rem 0, 100% 0, 100% 100%, 0 100%); }
}

@media screen and (max-width: 960px) {
	.category-wide-card:not(:last-child) { margin-bottom: 4rem; }
	.category-wide-card .card-content .top { display: flex; align-items: center; gap: 2rem; }
	.category-wide-card > .image { display: none; }
	.category-wide-card > .content > .heading h2 { font-size: 2rem; }
	.category-wide-card > .content > .heading { display: none; }
	.category-wide-card > .content { flex-basis: 100%; }	
}

@media screen and (max-width: 768px) {
	.category-wide-card .card-content .top .image { width: 10rem; height: 10rem; flex-basis: 10rem; }
	.category-wide-card .card-content .top h2 { font-size: 2.4rem; }
	.category-wide-card .card-content { padding: 2rem; }
	.category-wide-card .card-content::after { height: 1rem; }
}

@media screen and (max-width: 480px) {
	.category-wide-card .card-content .top .heading { text-align: center; justify-content: center; }
	.category-wide-card .card-content .top .toolbar { justify-content: center; }
}


/* ============================================================== */
#vacancy .block-container { display: flex; gap: 4rem; align-items: center; justify-content: center;  }
#vacancy .banner { flex-basis: 50%; flex-grow: 1; display: block; }

@media screen and (max-width: 960px) {
	#vacancy .block-container { flex-wrap: wrap; }
}

/* ============================================================== */
.feedback-card { padding: 4rem; border-radius:var(--border-radius-large); display: flex; gap: 2rem; align-items: center; position: relative; margin-bottom: 2rem; }
.feedback-card .title { font-weight: 500; font-size: 2.2rem;  }
.feedback-card .button { margin-top: 2rem; }
.feedback-card .description { margin-top: 2rem; }

/* ============================================================== */
.vacancy-feedbacks { width: 50%;  flex-grow: 1; }
.vacancy-feedbacks .feedback { background: #f6f6f6; padding: 3rem; border-left: 4px solid #e5e5e5; border-right: 4px solid #e5e5e5; font-size: 1.7rem; line-height: 1.3; margin-top: 2rem; }
.vacancy-feedbacks .feedback .name { font-size: 1.8rem; font-weight: 500; }
.vacancy-feedbacks .feedback .text { margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid #0002; font-style: italic; }
.vacancy-feedbacks .swiper { --mask: linear-gradient(to left, transparent, white 5rem); mask: var(--mask); -webkit-mask: var(--mask); }
.vacancy-feedbacks .swiper-slide { width: 12rem; }

.vacancy-feedbacks .swiper-button-prev { left: 0; }
.vacancy-feedbacks .swiper-button-next { right: 0; }

/* ============================================================== */
.driver-card .info { display: none; }
.driver-card .image { width: 12rem; height: 12rem; border-radius: 50%; filter: saturate(0); opacity: 0.5; background: #f0f0f0; position: relative; overflow: hidden; cursor: pointer; transition: .3s; }
.driver-card .image img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
.driver-card.swiper-slide-active .image { opacity: 1.0; filter: saturate(100%); }

/* ============================================================== */

.product-top { display: flex; flex-wrap: wrap; align-items: center; gap: 4rem; margin-bottom: 4rem; }
.product-top .product-images { flex-basis: 30rem; flex-grow: 1; }
.product-top .product-info { flex-basis: 50rem; flex-grow: 1; }
.product-top .product-info > *:not(:last-child) { margin-bottom: 2rem; }
.product-top .not-aviable { background: #f4f4f4; text-align: center; font-size: 1.6rem; display: inline-block; padding: 1rem; }

.product-top .specs .title { font-weight: 500; display: inline; }
.product-top .specs .values {  display: inline; }
.product-top .specs .values a { color: var(--color-red); text-decoration: underline; }
.product-top .specs .values a:hover { text-decoration: none; }

.products-wrapper { position: relative; overflow: hidden; position: relative; }
.products-wrapper.-closed { padding-bottom: 4rem; }
.products-wrapper.-closed .products-container {
}

.products-wrapper .buttons-container { margin-top: 2rem; }

.products-wrapper.-closed .product-card:nth-child(n+9) { display: none; }
.products-wrapper.-open .product-card:nth-child(n+9) { display: block !important; }



/* ============================================================== */

.calculator-wrapper { position: relative; overflow: hidden; max-height: 50rem; margin: 0 -2rem; position: relative; }
.calculator { --mask: linear-gradient(to top, transparent, white 20rem); 
	mask: var(--mask); -webkit-mask: var(--mask); max-height: 50rem;
}

.calculator-wrapper.-open { max-height: none; }
.calculator-wrapper.-open .calculator { mask: none; -webkit-mask: none; max-height: none; }
.calculator-wrapper.-open .open-message { display: none; }


.calculator .step-calculate { display: flex; align-items: center; justify-content: center; }
.calculator .step-calculate .button { --button-height: 7rem; font-size: 1.8rem; }

.calculator .swiper-slide { height: auto; padding-bottom: 0 !important; position: relative; }
.calculator .swiper-slide-active { border: 1px solid var(--color-red); border-bottom: 2px solid var(--color-red);}
.calculator .swiper-slide-active::after { content: ''; position: absolute; left:0; bottom: 0; right:0; background: var(--color-red); height: 5px; }
.calculator .swiper-slide-active::before { content: ''; position: absolute; left:0; top: 0; right:0; background: var(--color-red); height: 5px; z-index: 10; }

.calculator .steps { padding: 2rem; }
.calculator .step:not(:last-child) { margin-bottom: 4rem; }
.calculator .step > .heading { display: inline-flex; align-items: center;  background: var(--color-red); color: white; font-size: 1.8rem; font-weight: 500;
 padding: 1rem; padding-right: 3rem; clip-path: polygon(0 0, calc(100% - 2rem) 0, 100% 100%, 0 100%); gap: 1rem; }
.calculator .step > .heading i { width: 3rem; height: 3rem; background: white; }
.calculator .step > .content { padding: 2rem; box-shadow: 0 0 1rem 0 #0002; border-top: 5px solid #c20303; }
.calculator .step > .content.-no-padding { padding: 0; }

.calculator .inputs-line { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.calculator .inputs-line .input { display: flex; gap: 1rem; align-items: center; justify-content: center; flex-grow: 1; }
.calculator .inputs-line .input input { flex-grow: 1; }
.calculator .custom-location  { display: flex; align-items: center; gap: 2rem; padding: 1rem 2rem; background: #fafafa; justify-content: center; flex-wrap: wrap; }
.calculator .custom-location .title { font-size: 1.8rem; font-weight: 500; }
.calculator .custom-location input { background: white; border: 2px solid #aaa;}

.calculator-cities { box-shadow: 0 0 1rem 0 #0002;  }
.calculator-cities h2 { text-align: center; padding: 2rem; background: #f0f0f0; border-bottom: 5px solid var(--color-red); }


#cities { background: linear-gradient(#f6f6f6, transparent 5rem); }
.cities { --item-width: 20rem; display: grid; grid-template-rows: auto; grid-template-columns: repeat(auto-fill, minmax(var(--item-width), 1fr)); gap: 1rem; justify-content: center;  font-size: 1.6rem; margin: 2rem;
	padding: 2rem; 
}
.cities .city { display: inline-flex; align-items: center; gap: 1rem; cursor: pointer; padding: 0.5rem; background: white; border: 2px solid transparent; text-decoration: none !important; }
.cities .city img { width: 3rem; height: 3rem; object-fit: contain; }
.cities .city:hover { border-color: var(--color-red); }

.cities.cities-widget { padding: 0; margin: 0 -1rem; }

.calculator .filters { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 2rem; justify-content: center; }
.calculator .filter {  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; flex-wrap: wrap; }
.calculator .filter i { width: 3.5rem; height: 3.5rem; background: var(--color-red); }
.calculator .filter label { font-size: 1.5rem; font-weight: 500; }
.calculator .filter input,
.calculator .filter select { border: 2px solid #aaa; height: 5rem; background: white; text-align: center; }

.calculator .price-label { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px dashed #ccc; }
.calculator .price-label .top { font-size: 2rem; }
.calculator .price-label .value { font-weight: bold; color: var(--color-red); }
.calculator .price-label .comment { font-size: 1.6rem; font-style: italic; }
.calculator .price-label .-red { color: var(--color-red); }

.calculator .map-container { width: 100%; position: relative; height: 40rem; background: #aaa; }
.calculator .map-container .inputs-line { position: absolute; left: 0; top: 0; padding: 1rem 2rem; width: 100%; z-index: 10; }
.calculator .map-container .input { background: white; border: 2px solid #aaa; padding: 0 1rem; display: flex; align-items: center; gap: 1rem; }
.calculator .map-container .input label { border-right: 1px solid #f0f0f0; padding: 1rem; }
.calculator .map-container input:focus { box-shadow: none; border: none; }
.calculator .map-container input { background: transparent;  flex-grow: 1; }
.calculator .map-container .map { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.calculator .map-container .map > .ymaps { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 1; }


.calculator-form { display: flex; gap: 2rem; align-items: center; justify-content: center; flex-wrap: wrap; }
.calculator-form textarea { min-height: 12rem; line-height: 1.4; font-size: 1.6rem; }

.form .form-buttons.-horizontal { text-align: center; display: flex;  flex-wrap: wrap; justify-content: center; flex-basis: 100%;}
.form .form-buttons.-horizontal .form-input { flex-basis: 40rem; }
.form .form-buttons.-horizontal .vcap-input { display: inline-flex; }
.form .form-buttons.-horizontal .vcap-input label { text-align: left; flex-basis: min-content; }



.adaptive-wrapper-outer { width: 100%; overflow: auto;  margin: 2rem 0; }
.adaptive-wrapper table { margin-bottom: 0 !important; }

@media screen and (max-width: 768px) {
	.adaptive-wrapper-outer { border: 1px solid var(--color-red); margin-bottom: 2rem; }
	
}


.calculator-wrapper .open-message { position: absolute; left: 50%; bottom: 10rem; background: white; padding: 4rem;
	box-shadow: 0 0 1rem 0 #0002; transform: translate(-50%, 0); width: 80%; max-width: 70rem; font-size: 1.6rem; 
	z-index: 10; 
	display: flex; align-items:center; gap: 2rem; flex-wrap: wrap; line-height: 1.3; justify-content: center; 
}
.calculator-wrapper .open-message .text { flex-basis: 30rem; flex-grow: 1; }

@media screen and (max-width: 768px) {
	.calculator .cities { --item-width: 12rem; }
}

.form .group { flex-basis: 30rem; flex-grow: 1; }


/* ============================================================== */
.old-block { padding: 2rem; border: 1rem solid var(--color-red); }

.share-widget { display: block; clear: both; }


.catalog-teasers { margin-bottom: 4rem; margin-top: -4rem;  }
.catalog-teasers .swiper-slide { width: 15rem; }

.-category-teaser { display: flex; flex-direction: column; gap: 1rem; text-align: center;  text-decoration: none !important; }
.-category-teaser .image { width: 15rem; height: 15rem; border-radius: 50%; background: linear-gradient(#fcd881, #f7f6f3); flex-shrink: 0; position: relative; }
.-category-teaser .image img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: contain; }
.-category-teaser .content { background: #f6f6f6;
  padding: 0.5rem 1rem; font-size: 1.7rem; border-bottom: 5px solid var(--color-red); line-height: 1.2;
  width: 100%; min-height: 5rem; display: flex; align-items: center; justify-content: center;
  transition: .3s; position: relative; z-index: 1;
  margin-top: 1rem;}
.-category-teaser .content::after { background: #f6f6f6; display: block; content: ''; position: absolute; width: 2rem; height: 1rem; top: 0rem; left: 50%;
	transform: translate(-50%, 0); clip-path: polygon(50% 0, 100% 100%, 0 100%); opacity: 0; z-index: -1; transition: .3s; }
.-category-teaser.-active .image { background: linear-gradient(#f7f6f3, #fcd881); }
.-category-teaser.-active .content { background: var(--color-red); color: white;  }
.-category-teaser:hover .content { background: var(--color-red); color: white; }
.-category-teaser:hover .content::after { opacity: 1; background: var(--color-red); transform: translate(-50%, -1rem); }


.category-teaser { display: flex; gap: 1rem; text-align: center;  text-decoration: none !important; align-items: center; }
.category-teaser .image { width: 12rem; height: 12rem; border-radius: 50%; background: linear-gradient(#fcd881, #f7f6f3); flex-shrink: 0; position: relative; }
.category-teaser .image img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: contain; }
.category-teaser .content { background: #f6f6f6;
  padding: 0.5rem 1rem; font-size: 1.7rem; border-bottom: 5px solid #ccc; line-height: 1.2;
  width: 100%; height: 6rem; display: flex; align-items: center; justify-content: center;
  transition: .3s; position: relative; z-index: 1; }
.category-teaser.-active .image { background: linear-gradient(#f7f6f3, #fcd881); }
.category-teaser.-active .content { border-bottom-color: var(--color-red);  }
.category-teaser:hover .content { background: linear-gradient(#fcd881, #f7f6f3);  }

.map ul { margin-left: 2rem; }
