@font-face {
font-family: 'Golos Text';
src: url('/wp-content/themes/kbkompensator/fonts/GolosText-Bold.eot');
src: url('/wp-content/themes/kbkompensator/fonts/GolosText-Bold.eot?#iefix') format('embedded-opentype'),
url('/wp-content/themes/kbkompensator/fonts/GolosText-Bold.woff2') format('woff2'),
url('/wp-content/themes/kbkompensator/fonts/GolosText-Bold.woff') format('woff');
font-weight: bold;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Golos Text';
src: url('/wp-content/themes/kbkompensator/fonts/GolosText-Black.eot');
src: url('/wp-content/themes/kbkompensator/fonts/GolosText-Black.eot?#iefix') format('embedded-opentype'),
url('/wp-content/themes/kbkompensator/fonts/GolosText-Black.woff2') format('woff2'),
url('/wp-content/themes/kbkompensator/fonts/GolosText-Black.woff') format('woff');
font-weight: 900;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Golos Text';
src: url('/wp-content/themes/kbkompensator/fonts/GolosText-DemiBold.eot');
src: url('/wp-content/themes/kbkompensator/fonts/GolosText-DemiBold.eot?#iefix') format('embedded-opentype'),
url('/wp-content/themes/kbkompensator/fonts/GolosText-DemiBold.woff2') format('woff2'),
url('/wp-content/themes/kbkompensator/fonts/GolosText-DemiBold.woff') format('woff');
font-weight: 600;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Golos Text VF';
src: url('/wp-content/themes/kbkompensator/fonts/GolosTextVF-Regular.eot');
src: url('/wp-content/themes/kbkompensator/fonts/GolosTextVF-Regular.eot?#iefix') format('embedded-opentype'),
url('/wp-content/themes/kbkompensator/fonts/GolosTextVF-Regular.woff2') format('woff2'),
url('/wp-content/themes/kbkompensator/fonts/GolosTextVF-Regular.woff') format('woff');
font-weight: normal;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Golos Text';
src: url('/wp-content/themes/kbkompensator/fonts/GolosText-Regular.eot');
src: url('/wp-content/themes/kbkompensator/fonts/GolosText-Regular.eot?#iefix') format('embedded-opentype'),
url('/wp-content/themes/kbkompensator/fonts/GolosText-Regular.woff2') format('woff2'),
url('/wp-content/themes/kbkompensator/fonts/GolosText-Regular.woff') format('woff');
font-weight: normal;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Golos Text';
src: url('/wp-content/themes/kbkompensator/fonts/GolosText-Medium.eot');
src: url('/wp-content/themes/kbkompensator/fonts/GolosText-Medium.eot?#iefix') format('embedded-opentype'),
url('/wp-content/themes/kbkompensator/fonts/GolosText-Medium.woff2') format('woff2'),
url('/wp-content/themes/kbkompensator/fonts/GolosText-Medium.woff') format('woff');
font-weight: 500;
font-style: normal;
font-display: swap;
}



* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: 'Golos Text', sans-serif;
color:#3B3C3F;
}

/* Стили для header */
header {
background-color: #00538A;
margin: 0 auto;
position: sticky;
top: 0;
z-index: 999;
}

/* Верхняя панель */
.top-bar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 5px 0px;
width: 100%;
max-width: 1620px;
margin: 0 auto;
}
.top-bar-out {
border-bottom: 1px solid #357199;
}

.logo-and-text {
font-size: 14px;
max-width: 185px;
}

.logo-and-text p {
font-size: 14px;
color: #fff;
margin-bottom: 0;
}

.search-block {
position: relative;
width: 100%;
max-width: 360px;
height: 30px;
margin-left: -80px;
}
.search-block form {
padding: 0;
}
.search-block input {
width: 100%;
padding: 10px;
border: 1px solid #ffffff;
border-radius: 5px;
font-size: 12px;
color: #ffffff;
background-color: transparent;
height: 30px;
}



.search-block input::-webkit-input-placeholder {
color: #fff;
}

.search-block input::-moz-placeholder {
color: #fff;
opacity: 1;
}

.search-block input:-ms-input-placeholder {
color: #fff;
}

.search-block input::-ms-input-placeholder {
color: #fff;
}

.search-block input::placeholder {
color: #fff;
}

.search-block button {
position: absolute;
right: 0;
top: 55%;
transform: translateY(-50%);
padding: 8px;
background-color: transparent;
border: none;
cursor: pointer;
}

h4 {
font-size:20px;
font-weight:500;
margin: 30px 0px 20px;
}

h5 {
font-size:18px;
font-weight:500;
margin: 30px 0px 20px;
}

h6 {
font-size:16px;
font-weight:500;
margin: 30px 0px 20px;
}

.contacts a {
color: #ffffff;
text-decoration: none;
}

.send-request {
padding: 5px 20px;
background-color: #ffffff;
color: #00538A;
border: none;
border-radius: 4px;
cursor: pointer;
}

/* Основное меню навигации */
.main-nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 5px 0px;
width: 100%;
max-width: 1620px;
margin: 0 auto;
}

.logo {
display: flex;
align-items: center;
gap: 20px;
}
.logo a {
display: flex;
align-items: center;
gap: 20px;
}
.logo a:hover {
text-decoration:none;
}

.logo img {
width: 50px;
}

.main-nav ul {
display: flex;
list-style: none;
gap:10px;
}


.main-nav a {
color: #ffffff;
text-decoration: none;
font-size: 17px;
}
.main-nav li {
border: 1px solid #00538A;
padding: 5px 18px;
position: relative;
height: fit-content;
}
.main-nav li:hover {
border:1px solid #fff;
border-radius: 4px;
padding: 5px 18px;
text-decoration:none;
}
.main-nav li:hover a {
text-decoration:none;
}
.main-nav li.current-menu-item {
background: #fff;
border-radius: 4px;
position: relative;
height: fit-content;
}
.main-nav li.current-menu-item:hover {
border:1px solid #00538A;
}
.main-nav li.current-menu-item a {
background:#fff;
color:#00538A;
}

.main-nav .menu-item-has-children a:after {
content: '';
background: url(/wp-content/themes/kbkompensator/img/menu_chevron.svg);
width: 7px;
height: 5px;
display: block;
margin-top: 5px;
}

.main-nav .current_page_item.menu-item-has-children a:after {
content: '';
background: url(/wp-content/themes/kbkompensator/img/menu_chevron_active.svg);
width: 7px;
height: 5px;
display: block;
margin-top: 5px;
}

ul.sub-menu {
display: none;
position: absolute;
margin-top: -10px;
left: 0;
padding-top: 18px;
width: max-content;
z-index: 9;
}
ul.sub-menu:before {
content: '▲';
margin: 0 auto;
display: block;
text-align: center;
margin-bottom: -6px;
color: #fff;
}
ul.sub-menu li a:after {
display: none! important;
}
.main-nav ul.sub-menu li a {
color:#00538A! important;
}
ul.sub-menu li {
border: 0px;
padding: 5px 20px;
background: #fff;
box-shadow: 0px 8px 10px 2px #f1f1f1;
}
ul.sub-menu li:last-child {
border: 0px;
padding: 5px 20px 15px ! important;
background: #fff;
border-radius: 0px 0px 5px 5px;
box-shadow: 0px 7px 10px -4px #979797;
}
ul.sub-menu li:first-child {
border: 0px;
padding: 15px 20px 5px ! important;
background: #fff;
border-radius: 5px 5px 0px 0px;
box-shadow: 0px 0px 10px -4px #979797;
}
ul.sub-menu li:hover {
border: 0px! important;
padding:5px 20px;
}
ul.sub-menu li:hover a {
text-decoration:underline;
}
ul.sub-menu li a:hover {
border: 0px! important;
}
.main-nav .menu-item-has-children a {
display: flex;
align-items: center;
gap: 10px;
}

.main-nav .menu-item-has-children:hover ul.sub-menu {
display: block;
}

.main-block {
display: flex;
flex-direction: column;
align-items: center;
padding: 100px 0 0px;
height: 690px;
position: relative;
background-position-y: -135px;
}

.main-block .left-column {
    text-align: left;
    width: 100%;
    max-width: 50%;
    position: absolute;
}

.main-block h1 {
font-size: 54px;
margin-bottom: 20px;
font-weight: bold;
line-height: 54px;
max-width: 790px;
}

.main-block .left-column p {
font-size: 16px;
color: #3B3C3F;
margin-bottom: 45px;
max-width: 520px;
line-height: 27px;
font-weight: 500;
}


.main-image {
width: 100%;
height: auto;
}
.logo a:hover {
padding:0px!important;
border:0px!important;
margin:0px! important;
}
.logo span {
font-size: 18px;
text-transform: uppercase;
font-weight: 600;
color:#fff;
}

h1 {
font-size: 3.5rem; /* крупный заголовок */
font-weight: 700;
color: #333;
margin-bottom: 10px;
}

p {
font-size: 1.1rem;
color: #2C333D;
margin-bottom: 20px;
}

.catalog-btn {
background-color: #000;
color: #fff;
padding: 21px 30px;
border: none;
border-radius: 8px;
font-size: 13px;
cursor: pointer;
font-weight: 800;
text-decoration: none;
position: relative;
display: flex;
align-items: center;
max-width: 250px;
}

.catalog-btn:hover {
text-decoration:none;
opacity:0.8;
}

.catalog-btn span {
display: flex;
align-items: center;
gap: 25px;
font-weight:500;
}

.catalog-btn span:after {
content: '';
background: url(/wp-content/themes/kbkompensator/img/btn_arrow.svg);
width: 7px;
height: 12px;
display: block;
}

.bottom-info {
display: flex;
width: 100%;
background: #ffffffe8;
min-height: 125px;
align-items: center;
margin-top: -125px;
z-index: 9;
position: relative;
}
.bottom-info-in {
display: flex;
justify-content: space-between;
max-width: 1620px;
margin: 0 auto;
width: 100%;
}
.info-item {
text-align: center;
display: flex;
align-items: center;
gap:25px;
}

.info-item p {
margin-bottom: 0px;
font-weight: 500;
text-align: left;
}

.info-icon {
width: 30px;
height: 30px;
}

.company_title {
font-size: 36px;
font-weight: 600;
margin-bottom: 40px;
}

.content_right_about {
position: sticky;
top: 160px;
}
.main-container {
display: flex;
justify-content: space-between;
align-items: flex-start;
max-width: 1620px;
margin: 0 auto;
margin-top: 70px;
gap: 40px;
}

.left-section {
width: 50%;
}

.right-section {
width: 50%;
background: url(/wp-content/themes/kbkompensator/img/kompensatory.jpg);
background-size:cover;
background-repeat:no-repeat;
padding: 65px 75px 85px;
border-radius: 8px;
color: white;
}

.main-image {
width: 100%;
height: auto;
margin-bottom: 28px;
border-radius: 10px;
}

.feature-block {
display: flex;
justify-content: space-between;
}

.feature-item {
width: 48%;
padding: 25px 25px;
border-radius: 8px;
background-color: white;
border: 3px solid #E6EEF6;
}

.feature-item p {
color: #2C333D;
line-height: 26px;
margin-bottom: 0;
}

.feature-icon {
width: 70px;
height: 70px;
margin-bottom: 10px;
}

.company-info p {
margin: 0;
line-height: 26px;
color: #fff;
font-size: 16px;
margin-bottom:20px;
}

h1 {
font-size: 54px;
margin-bottom: 20px;
font-weight: 700;
}

.learn-more-btn {
background-color: #fff;
color: #00538A;
padding: 21px 30px;
border: none;
border-radius: 8px;
font-size: 13px;
cursor: pointer;
font-weight: 700;
text-decoration: none;
position: relative;
display: flex;
align-items: center;
max-width: 250px;
width: 100%;
justify-content: center;
}
.learn-more-btn:hover {
text-decoration:none;
opacity:0.8;
}
.learn-more-btn span {
display: flex;
align-items: center;
gap: 25px;
}
.learn-more-btn span:after {
content: '';
background: url(/wp-content/themes/kbkompensator/img/btn_arrow_w.svg);
width: 7px;
height: 12px;
display: block;
}
.quality-section {
margin-top: 95px; /* Отступы сверху и снизу секции */
text-align: center;
background-color: #ffffff; /* Фон секции */
}
.quality-section .container {

}

.company-info {
margin-bottom: 50px;
}

.container {
max-width: 1200px;
margin: 0 auto;
}

.section-title {
font-size: 36px;
font-weight: 700;
margin-bottom: 25px;
color: #2C333D;
line-height: 1.2;
}

.section-subtitle {
font-size: 16px;
color: #2C333D;
margin-bottom: 40px;
line-height: 1.5;
max-width: 800px;
margin: 0 auto;
}

.stats-container {
display: flex;
justify-content: space-around;
max-width: 960px;
margin: 0 auto;
margin-top: 50px;
}

.stat-item {
text-align: center;
background: #F6F8FB;
border-radius: 10px;
max-width: 300px;
width: 100%;
height: 135px;
display: flex;
align-items: center;
justify-content: center;
}

.stat-number {
font-size: 36px;
font-weight: 500;
color: #00538A;
margin-bottom: 10px;
}

.stat-description {
font-size: 16px;
color: #44474F;
line-height: 1.4;
font-weight: 500;
}
.production-cycle {
background: url(/wp-content/themes/kbkompensator/img/img_full.jpg);
background-size: cover;
background-position: center;
color: white;
padding: 120px 0;
text-align: center;
max-width: 1620px;
margin: 0 auto;
margin-top: 95px;
border-radius: 10px;
}

.logo-wrapper {
margin-bottom: 20px;
text-align: center;
}

.company-logo {
max-width: 100px;
height: auto;
}

.production-cycle .main-title {
font-size: 36px;
font-weight: 700;
margin-bottom: 20px;
line-height: 1.2;
color: #fff;
}
.production-cycle .description {
font-size: 16px;
line-height: 26px;
max-width: 660px;
margin: 0 auto;
color: #fff;
}
.catalog-section {
max-width: 1620px;
margin: 0 auto;
margin-top: 45px;
}
.home .catalog-section {
margin-top: 85px;
}
.catalog-title {
text-align: left;
font-size: 36px;
font-weight: 700;
margin-bottom: 15px;
color: #2C333D;
line-height: 1.2;
}

.catalog-subtitle {
font-size: 16px;
text-align: left;
color: #2C333D;
margin-bottom: 30px;
font-weight: 500;
}

.catalog-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
margin-top: 70px;
}

.catalog-item {
border-radius: 10px;
overflow: hidden;
text-align: center;
transition: transform 0.3s ease;
background: #F6F8FB;
padding: 20px 0px 10px;
}
.catalog-item a {
text-decoration:none;
}
.catalog-item:hover {
background:#00538A;
transition:0.4s;  
}
.catalog-item a:hover {
text-decoration:none! important;
}
.catalog-item:hover .catalog-label {
color:#fff;
text-decoration:none! important;
}

.catalog-item.active {
background:#00538A;
border-radius:10px;
}

.catalog-img {
width: auto;
height: auto;
display: block;
max-height: 155px;
margin: 0 auto;
}

.catalog-label {
margin: 10px 0;
font-size: 18px;
font-weight: 500;
color: #333;
padding: 10px 0;
max-width: 500px;
}

.active {
background-color: #fff;
color: #00538A ! important;
border-radius: 4px;
padding: 5px 21px;
}

.active .catalog-label {
color: white;
}

.reviews-section {
text-align: center;
max-width: 1620px;
margin: 0 auto;
margin-top: 95px;
}

.reviews-subtitle {
font-size: 16px;
text-align: left;
color: #2C333D;
margin-bottom: 40px;
font-weight: 500;
}

.revievs-slider {
margin-top: 65px! important;
}

.reviews-section h2 {
margin-bottom: 15px;
font-weight: 700;
text-align: left;
font-size: 36px;
color: #2C333D;
line-height: 1.2;
}

h2 {
font-size: 36px;
margin-bottom: 10px;
font-weight: 700;
}

p {
font-size: 16px;
color: #2C333D;
}

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

.review-block {
text-align: left ! important;
min-height: 215px;
}

.review-block h3 {
font-size: 20px;
margin-bottom: 15px;
color: #333;
font-weight: 500;
}

.review-block p {
font-size: 16px;
line-height: 1.5;
color: #393939;
}
.rating {
margin-top: 15px;
font-size: 18px;
color: #e74c3c;
display: flex;
gap: 12px;
position: absolute;
bottom: 0;
}

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

.title_with_btn h2 {
margin-bottom: 15px;
font-weight: 700;
text-align: left;
font-size: 36px;
color: #2C333D;
line-height: 1.2;
}
a.btn_more {
color: #00538A;
text-decoration: none;
background: #F6F8FB;
padding: 15px 20px;
border-radius: 10px;
font-weight: 600;
font-size: 14px;
}

a.btn_more:hover {
color: #fff;
background: #00538A;
text-decoration:none;
}

.swiper-button-prev:after, .swiper-rtl .swiper-button-next:after {
content: ''! important;
background: url(/wp-content/themes/kbkompensator/img/slide_arrow_left.svg);
background-repeat:no-repeat;
width: 8px;
height: 16px;
display: block;
}

.swiper-button-next:after, .swiper-rtl .swiper-button-prev:after {
content: ''! important;
background: url(/wp-content/themes/kbkompensator/img/slide_arrow_right.svg);
background-repeat:no-repeat;
width: 8px;
height: 16px;
display: block;
}

.swiper-button-next.swiper-button-disabled, .swiper-button-prev.swiper-button-disabled {
opacity: .35;
cursor: auto;
pointer-events: none;
width: 60px! important;
height: 60px! important;
background: #fff! important;
box-shadow: 0px 4px 8px 0px #0000001a ! important;
border: 0px! important;
}
.swiper-button-next, .swiper-button-prev {
width: 60px! important;
height: 60px! important;
background: #ffffffa3 ! important;
box-shadow: 0px 4px 8px 0px #0000001a ! important;
border: 0px! important;
}

/* Стили для стрелок Swiper */
.swiper-button-prev,
.swiper-button-next {
background-color: rgba(0, 0, 0, 0.5);
border-radius: 50%;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
}

.swiper-button-prev {
left: -20px;
}

.swiper-button-next {
right: -20px;
}

.more-reviews {
display: inline-block;
margin-top: 30px;
padding: 10px 20px;
background-color: #00538A;
color: white;
text-decoration: none;
border-radius: 5px;
}
.photo-gallery {
max-width: 1620px;
margin: 0 auto;
margin-top: 95px;
}

.photo-gallery h2 {
margin-top: 0! important;
}
h2 {
font-size: 36px;
margin-bottom: 10px;
font-weight: 700;
}

p {
font-size: 16px;
color: #2C333D;
}

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

.swiper-slide {
text-align: center;
}

.swiper-slide img {
height: auto;
border-radius: 8px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Стили для стрелок Swiper */
.swiper-button-prev,
.swiper-button-next {
background-color: rgba(0, 0, 0, 0.5);
border-radius: 50%;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
z-index: 10;
}

.swiper-button-prev {
left: 5px;
}

.swiper-button-next {
right: 5px ! important;
}

.more-photos {
display: inline-block;
margin-top: 30px;
padding: 10px 20px;
background-color: #00538A;
color: white;
text-decoration: none;
border-radius: 5px;
}
.footer {
background-color: #00538A;
color: white;
padding: 50px 0 25px;
margin-top: 150px;
}
.footer_menu_title {
margin-bottom: 25px;
font-size: 16px;
font-weight: 600;
}
.footer-bottom-right {
display: flex;
align-items: center;
gap: 10px;
}
.container {
max-width: 1620px;
margin: 0 auto;
}

.gallery .swiper-slide{
height:250px;
overflow:hidden;
display:flex;
align-items:center;
border-radius:10px! important;
}
.photo-gallery .gallery {
margin-top:10px;
}

.footer .container {
display: flex;
justify-content: space-between;
border-bottom: 1px solid #fff;
padding-bottom: 50px;
}

.logo-block {
margin-bottom: 20px;
}

.footer-logo {
width: 80px;
height: 80px;
margin-bottom: 10px;
}

.footer-left span {
display: flex;
align-items: center;
color: #fff;
gap: 15px;
}
.footer-left span p {
margin-bottom: 0px;
color: #fff;
font-size: 12px;
max-width: 160px;
}
footer h3 {
margin-bottom: 25px;
font-size: 18px;
font-weight: 600;
}

.products-list,
.links-list {
list-style: none;
padding: 0;
margin: 0;
}

footer .products-list li {
margin-bottom: 20px;
font-size: 14px;
display: flex;
align-items: center;
gap: 6px;
justify-content: flex-start;
min-height: auto;
}
footer .products-list li a {
color:#fff;
font-size: 16px;
}
footer .products-list li:before {
content:'';
width:5px;
height:5px;
border-radius:50px;
background:#fff;
display:block;
}
footer .footer-about {
margin-top: 25px;
}
footer .links-list a {
color: white;
text-decoration: none;
font-size: 16px;
min-height: auto;
text-align: left;
justify-content: flex-start;
text-transform: uppercase;
}
footer .footer-right {
margin-top: 25px;
}
footer .footer-right .contacts a {
margin-bottom: 20px;
display: flex;
align-items: center;
gap: 5px;
}
footer .footer-right .contacts a:nth-child(1):before {
content: '' ! important;
background: url(/wp-content/themes/kbkompensator/img/ico_footer1.svg);
background-repeat: no-repeat;
width: 20px;
height: 16px;
display: inline-block;
}
footer .footer-right .contacts a:nth-child(2):before {
content: '' ! important;
background: url(/wp-content/themes/kbkompensator/img/ico_footer2.svg);
background-repeat: no-repeat;
width: 20px;
height: 16px;
display: inline-block;
}
footer .footer-right .contacts p:before {
content: '' ! important;
background: url(/wp-content/themes/kbkompensator/img/ico_footer3.svg);
background-repeat: no-repeat;
width: 20px;
height: 18px;
display: inline-block;
}
footer .footer-right .contacts p {
font-size: 14px;
color: #fff;
max-width: 270px;
line-height: 1.7;
margin-bottom: 40px;
}
.footer-production {
margin-top: 25px;
}

.links-list li {
margin-bottom: 15px;
font-size: 16px;
}

.links-list a {
color: white;
text-decoration: none;
}

.links-list a:hover {
text-decoration: underline;
}
header .contacts {
display: flex;
align-items: center;
gap: 30px;
}
.contacts a {
display: block;
color: white;
text-decoration: none;
font-size: 16px;
}
.contacts a+a {
font-size: 16px;
}

.contacts p {
margin-top: 10px;
font-size: 14px;
}

.send-request {
background-color: white;
border:1px solid #00538A! important;
color: #00538A;
border: none;
padding: 10px 20px;
border-radius: 5px;
font-size: 11px;
cursor: pointer;
margin-top: 0;
font-weight: 800;
}

.send-request:hover {
background-color: transparent;
color: #fff;
border:1px solid #fff! important;
border: none;
padding: 10px 20px;
border-radius: 5px;
font-size: 11px;
cursor: pointer;
margin-top: 0;
font-weight: 800;
transition:0.1s;
}

.footer-bottom {
text-align: center;
padding-top: 30px;
display: flex;
justify-content: space-between;
max-width: 1620px;
margin: 0 auto;
}

.footer-bottom p {
margin-bottom: 10px;
font-size: 14px;
color: #fff;
}

.privacy-policy {
color: white;
text-decoration: none;
font-size: 14px;
}

.privacy-policy:hover {
text-decoration: underline;
}

.page_title  {
font-size: 54px;
margin-bottom: 20px;
font-weight: 700;
margin-top: 20px! important;
}

.page-subtitle {
font-size: 16px;
text-align: left;
color: #2C333D;
margin-bottom: 30px;
font-weight: 500;
line-height: 27px;
}

.catalog-page {
max-width: 1620px;
margin: 0 auto;
padding-top: 40px;
}
.breadcrumbs ul {
display: flex;
gap: 5px;
}
.breadcrumbs {
color: #707070;
}
.breadcrumbs a {
color:#707070;
font-size:12px;
text-decoration:none;
}
.breadcrumbs span.post.post-page.current-item {
color: #707070;
font-size: 12px;
text-decoration: none;
list-style-type: none;
}
.breadcrumbs span.search.current-item {
color: #707070;
font-size: 12px;
text-decoration: none;
list-style-type: none;
}
.breadcrumbs span.archive.taxonomy.product_category.current-item {
color: #707070;
font-size: 12px;
text-decoration: none;
list-style-type: none;
}
.breadcrumbs span.post.post-product.current-item {
color: #707070;
font-size: 12px;
text-decoration: none;
list-style-type: none;
}
.breadcrumbs span.post.post-product.current-item br {
display:none;
}
.breadcrumbs ul li {
color:#707070;
font-size:12px;
text-decoration:none;
list-style-type:none;
}

.content {
margin-top: 40px;
}

.content .container {
max-width:1620px;
margin:0 auto;
}

.content {
color:#3B3C3F;
}
.content ul {
margin-left:20px;
}
.content ul li {
line-height:32px;
}
.content p {
line-height: 32px;
margin-bottom: 0;
}
.content h2 {
font-size: 36px;
margin-bottom: 10px;
font-weight: 700;
margin-top: 35px;
}
.content h3 {
font-size: 24px;
margin-top: 40px;
margin-bottom: 10px;
font-weight: 700;
}

.category_header {
border-radius: 10px;
display: flex;
align-items: center;
justify-content: space-between;
background: url(/wp-content/themes/kbkompensator/img/category_bg.jpg);
background-size: cover;
background-position: center;
padding: 0px 80px;
margin-top: 50px;
min-height: 330px;
position: relative;
}
.category_img {
display: flex;
align-items: end;
justify-content: end;
}
.category_img img+img {
max-height: 200px;
margin-right: -65px;
}
.category_header img {
max-height: 250px;
}
.category_header h1 {
color: #fff;
font-size: 50px;
text-transform: uppercase;
max-width: 865px;
}


.content_left {
max-width: 1215px;
width: 100%;
}

.single-product .thparams {
margin: 0px 0px 20px;
}
.single-product  {
displ:none;
}
.sidebar {
width: 380px;
position: sticky;
top: 106px;
}
.sidebar_consult {
background: url(/wp-content/themes/kbkompensator/img/bg_consult.jpg);
background-size: cover;
background-position: center;
border-radius: 10px;
height: 300px;
display: flex;
align-items: center;
justify-content: center;
}
.sidebar_cost {
background: url(/wp-content/themes/kbkompensator/img/bg_cost.jpg);
background-size: cover;
background-position: center;
margin-top: 25px;
border-radius: 10px;
height: 340px;
display: flex;
align-items: center;
justify-content: center;
}
.sidebar_cost .sc_title {
color:#3B3C3F;
font-weight: 700;
}
.sidebar_cost .sc_text {
color:#3B3C3F;
}
.sc_title {
text-align: center;
font-size: 28px;
color: #fff;
font-weight: 700;
}
.sc_text {
color: #fff;
text-align: center;
max-width: 300px;
margin: 0 auto;
margin-top: 20px;
line-height: 24px;
}
.sc_email {
display: flex;
align-items: center;
justify-content: center;
margin-top: 15px;
}
.sc_email a {
color: #00538A;
text-decoration: underline;
font-size: 20px;
font-weight: 700;
display: flex;
align-items: center;
gap: 10px;
}
.sc_email a:before {
content: '' ! important;
background: url(/wp-content/themes/kbkompensator/img/ico_emailcost.svg);
background-repeat: no-repeat;
width: 26px;
height: 25px;
display: inline-block;
}
.sc_phone a {
font-size: 26px;
color: #fff;
text-decoration: none;
font-weight: 700;
display: flex;
align-items: center;
gap: 10px;
}
.sc_phone a:before {
content: '' ! important;
background: url(/wp-content/themes/kbkompensator/img/ico_phoneconsult.svg);
background-repeat: no-repeat;
width: 26px;
height: 38px;
display: inline-block;
}
.sc_phone {
text-align: center;
margin-top: 30px;
}

.sidebar_cost_in .learn-more-btn {
margin: 0 auto;
margin-top: 30px;
border: 1px solid #00538A;
}

.sidebar_cost_in .learn-more-btn:hover {
opacity:0.6;
}
.sidebar_cost_in .learn-more-btn span {
display: flex;
align-items: center;
gap: 25px;
text-transform: uppercase;
font-family: 'Golos Text', sans-serif;
}

.catalog_table {
margin-top: 55px;
border-radius: 10px 10px;
border-collapse: separate;
border-spacing: 0;
}


.catalog_table {
border-collapse: collapse;
width: 100%;
font-family: 'Golos Text', sans-serif;
font-size: 14px;
margin: 20px 0;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.catalog_table thead {
position: sticky;
top: 106px;
z-index: 100;
}

.catalog_table thead tr {
background-color: #00538A;
color: white;
font-weight: bold;
text-align: center;
}

.catalog_table thead td {
padding: 12px 5px;
border-bottom: 0px solid #34495e;
font-size: 14px;
font-family: 'Golos Text', sans-serif;
font-weight: 400;
}

.catalog_table tbody tr {
transition: background-color 0.2s ease;
text-align: center;
}

.catalog_table tbody tr:nth-child(even) {
background-color: #f8f9fa;
}

.catalog_table tbody tr:nth-child(odd) {
background-color: #ffffff;
}

.catalog_table tbody tr:hover {
background-color: #e8f4fc;
}

.catalog_table tbody td {
padding: 15px 8px;
border-bottom: 1px solid #e0e0e0;
color: #333;
}

/* Стили для ячеек с данными */
.catalog_table td {
vertical-align: middle;
}

/* Адаптивность для маленьких экранов */
@media (max-width: 768px) {
.catalog_table {
font-size: 12px;
}


.catalog_table thead td,
.catalog_table tbody td {
padding: 8px 4px;
}
}
.preims {
margin-top: 35px ! important;
}
.preims .row {
margin-bottom: 0;
}
.ap_left img {
width:100%;
}
.about_plant {
margin-top: 35px ! important;
}
.page-template-page-about .right-section {
padding: 20px 25px 20px;
}
.product-column a {
text-align: left;
color:#00538A;
}

.photogallery {
margin-top: 45px;
}

.photogallery {
margin-top: 45px;
}

.photogallery {
margin-top: 45px;
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 25px;
max-width: 1620px;
}
.photogallery .gallery_item img {
border-radius: 10px;
width: 100%;
object-fit: cover;
}
.photogallery .gallery_item img:hover {
opacity:0.8;
transition:0.6s;
}
.photogallery .gallery_item a {
height: 285px;
position: relative;
display: flex;
width: 100%;
}
.photogallery .gallery_item {
max-width: 380px;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
border-radius: 10px;
}

.header-row {
display: flex;
justify-content: space-between;
margin-bottom: 10px;
font-weight: bold;
padding: 0;
font-size: 24px;
max-width: 900px;
margin-top: 30px;
}

.params-list {
line-height: 1.6;
max-width: 900px;
}
.param-item {
position: relative;
padding-right: 40px; /* Задаёт место для пунктирной линии */
margin-bottom: 5px; /* Отступ между строками */
}

.param-item .value {
position: absolute;
right: 0;
top: 0;
padding-left: 5px;
background: #fff;
}
.param-item::after {
content: '';
position: absolute;
right: 0;
top: 65%;
transform: translateY(-50%);
width: 100%;
border-bottom: 1px dotted #000;
z-index: -1;
}
.paramm {
background: #fff;
padding-right: 5px;
}

.product_materials {
margin-top: 20px;
}

.page-template-page-about .content {
margin-top:0px;
}

.content_left_about {
max-width: 80%;
}
.content_left_about {
margin-right:20px;
}
@media screen and (max-width:1520px) {
.content_left_about {
max-width: 75%! important;
}
.preims .card span {
line-height: 18px! important;
font-size: 14px! important;
}
}

@media screen and (max-width:1320px) {
.content_left_about {
margin-right:20px;
max-width: 72%! important;
}
.preims .card {
width: 32.5%;
padding: 10px! important;
}
}


@media screen and (max-width:1200px) {
.content_left_about {
margin-right:0px;
max-width: 100%! important;
}
.preims .row {
display: flex;
flex-wrap: nowrap! important;
justify-content: space-between;
margin-bottom: 0px! important;
gap: 15px! important;
}
.service {
width: 100%! important;
}
.otrasli_cont {
margin-top: 40px;
display: flex;
--gap: 12px;
gap: var(--gap);
margin-bottom: 60px;
flex-direction: column;
}
.oc_img img, .oc_img.active {
display: block;
border-radius: 15px;
width: 100%;
padding: 0;
}
.oc_list {
width: 100%! important;
}
}

.preims {
margin-top:50px! important;
}

.preims .row {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
margin-bottom: 20px;
}

.preims .card {
width: 32.5%;
padding: 25px;
box-sizing: border-box;
background-color: #fff;
border-radius: 8px;
display: flex;
align-items: center;
gap: 20px;
border: 3px solid #E6EEF6;
font-size: 16px;
font-weight: 500;
height: 120px;
}
.preims .card span {
line-height:26px;
}

.about_plant {
margin-top: 60px ! important;
display: flex;
gap: 20px;
}
.ap_red {
background: #E2574C;
width: 240px;
height: 215px;
border-radius: 10px;
text-align: center;
color: #fff;
display: flex;
align-items: center;
position: absolute;
margin-top: -135px;
right: 70px;
}
.ap_digit {
font-size: 24px;
font-weight: 600;
}
.ap_text {
text-align: center;
font-size: 16px;
line-height: 26px;
max-width: 195px;
margin: 0 auto;
margin-top: 15px;
}
.ap_red_in {
width: 100%;
}

.ap_left {
width:50%;
position:relative;
}

.logos_st {
text-align: center;
display: flex;
justify-content: space-between;
max-width: 490px;
margin: 0 auto;
margin-top: 100px;
}

.page-template-page-about .right-section {
width: 50%;
background: url(/wp-content/themes/kbkompensator/img/kompensatory.jpg);
background-size: cover;
background-repeat: no-repeat;
padding: 40px 60px 40px;
border-radius: 8px;
color: white;
}
.page-template-page-about .company_title {
font-size: 36px;
font-weight: 600;
margin-bottom: 15px;
}

.page-template-page-about .company-info p {
line-height:26px;
}
.page-template-page-about .company-info ul {
margin-top:40px;
}
.page-template-page-about .company-info {
margin-bottom: 0px;
}
.page-template-page-about .company-info ul li {
line-height: 26px;
}
.content_right_about a {
background: #00538A;
width: 280px;
height: 50px;
display: flex;
align-items: center;
justify-content: flex-start;
border-radius: 10px;
padding-left: 30px;
color: #fff;
text-decoration: none;
gap: 15px;
}
.content_right_about a img {
width: 25px;
}
.content_right_about a+a {
margin-top:15px;
}

.otzyvy {
margin-top: 50px ! important;
}

.page-template-page-sertificaty .otzyvy .card {
width: auto;
text-align: center;
color: #636363;
margin-bottom: 30px;
}


.otzyvy .card {
width: 24%;
text-align: center;
color: #636363;
margin-bottom: 30px;
}

.otzyvy .card span {
clear:both;
display: block;
}

.otzyvy .row {
display: flex;
flex-wrap: wrap;
margin-bottom: 20px;
gap: 20px;
}
.sertificates .row {
display: flex;
flex-wrap: wrap;
margin-bottom: 20px;
gap: 35px;
}


.sertificates {
margin-top: 50px ! important;
}

.sertificates .card {
width: 49%;
text-align: center;
color: #636363;
margin-bottom: 30px;
}
.sertificates .card span {
margin-top: 20px;
display: block;
}

.photogallereya .card {
width: 390px;
text-align: center;
color: #636363;
margin-bottom: 0px;
overflow: hidden;
height: 285px;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
}
.photogallereya .card a {
height: 100%;
width: 100%;
}
.photogallereya .card img {
object-fit: cover;
width: 100%;
height: 100%;
}
.photogallereya .card img:hover {
opacity:0.8;
}
.photogallereya .row {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
margin-bottom: 20px;
gap: 20px;
}

.lists a {
display:flex;
align-items:center;
gap:10px;
color:#3B3C3F;
font-weight:500;
}
.lists a:hover {
color:#00538A;
}
.lists p+p {
margin-top:35px;
}

.page-contacts {
max-width: 1620px;
margin: 0 auto;
padding-top: 40px;
}

.container.form-page {
display: flex;
overflow: hidden;
position: relative;
}

.contacts_left {
line-height: 42px;
width: 50%;
background: #F6F8FB;
padding: 30px;
border-radius: 10px;
}

.contacts_left h2 {
font-size: 36px;
margin-bottom: 20px;
font-weight: 700;
margin-top: 0;
}

.contacts_right {
width: 50%;
}

form {
max-width: 800px;
margin: 0 auto;
padding: 20px;
font-family: Arial, sans-serif;
}

.form-row {
display: flex;
justify-content: space-between;
margin-bottom: 20px;
}

.page-template-page-contacty .form-row {
display: flex;
justify-content: space-between;
margin-bottom: 10px;
}
.page-template-page-contacty .form-group.checkbox {
display: flex;
align-items: flex-start;
gap: 5px;
margin-top: -5px;
margin-bottom: 0;
}
.form-group {
width: 48%;
}

label {
display: block;
margin-bottom: 5px;
font-weight: bold;
font-size:15px;
font-family: 'Golos Text', sans-serif;
}

label span {
color: red;
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea,
input[type="file"] {
width: 100%;
padding: 10px;
border: 1px solid #ddd;
border-radius: 8px;
box-sizing: border-box;
font-size: 14px;
font-family: 'Golos Text', sans-serif;
}

textarea {
resize: vertical;
height: 135px;

}
.checkbox {
margin-bottom: 20px;
}

.checkbox label {
align-items: center;
gap: 5px;
}

.checkbox label a {
color:#929292;
text-decoration:underline;
}

.submit-btn {
background-color: #00538A;
color: white;
padding: 12px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 14px;
width: auto;
}
.submit-btn:hover {
background-color: #0056b3;
}

a {
text-decoration: none;
color: #00538A;
}



.file-upload {
margin-bottom: 20px;
}

.file-upload-wrapper {
display: flex;
align-items: center;
margin-top: 8px;
}

.file-input {
width: 0.1px;
height: 0.1px;
opacity: 0;
overflow: hidden;
position: absolute;
z-index: -1;
max-width: 310px;
}

.file-label {
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.3s ease;
font-family: 'Golos Text', sans-serif;
margin-right: 8px;
}


.clip-icon {
width: 20px;
height: 20px;
color: #007bff;
}

.file-name {
font-size: 14px;
color: #666;
flex-grow: 1;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-family: 'Golos Text', sans-serif;
cursor:pointer;
font-weight: 400;
}
.file-name:hover {
text-decoration:underline;
}
.form-group.file-upload {
margin-top: -100px;
}
label span {
color: red;
font-weight: normal;
}

.form-group.checkbox {
display: flex;
align-items: flex-start;
gap: 5px;
margin-top: -5px;
}

.checkbox label {
align-items: center;
gap: 5px;
color: #929292;
font-size: 14px;
font-weight: 400;
line-height: 1.3;
}

.form-group label a:hover {
text-decoration:none! important;
}

.required_text {
text-align: center;
font-size: 14px;
color: #929292;
font-family: 'Golos Text', sans-serif;
}
.required_text span {
color: red;
}

.wpcf7-acceptance .wpcf7-list-item {
margin:0;
}

.contacts_right .submit-btn {
background-color: #00538A;
color: white;
padding: 12px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 14px;
width: auto;
float: right;
font-family: 'Golos Text', sans-serif;
font-weight: 600;
}

/* Стили для затемненного фона */
.popup-overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #02020287;
z-index: 1000;
justify-content: center;
align-items: center;
}

/* Стили для всплывающего блока */
.popup-container {
position: relative;
width: 530px;
background-color: white;
border-radius: 10px;
padding: 30px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Стили для кнопки закрытия */
.popup-close {
position: absolute;
top: 10px;
right: 10px;
background: none;
border: none;
font-size: 24px;
cursor: pointer;
color: #333;
line-height: 1;
padding: 0;
width: 24px;
height: 24px;
display: flex;
align-items: center;
justify-content: center;
}

.popup-close:hover {
color: #00538A;
}

/* Стили для контента внутри всплывающего окна */
.popup-content {
margin-top: 0px;
}

.pop_title {
font-size: 36px;
font-weight: 700;
text-align: center;
color: #3B3C3F;
}

.pop_text {
text-align: center;
font-size: 14px;
line-height: 26px;
margin-top: 5px;
color: #3B3C3F;
}

.pop_text a {
color:#00538A;
text-decoration:underline;
}

.popup-content .form-row {
display: block;
margin-bottom: 20px;
}
.popup-content .form-group {
width: 100%;
max-width: 390px;
margin: 0 auto;
margin-bottom: 15px;
}
.popup-content textarea {
resize: vertical;
height: 95px;
font-size:14px;
}
.popup-content .file-upload-wrapper {
margin-top: -10px;
}
.popup-content .submit-btn {
background-color: #00538A;
color: white;
padding: 17px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 14px;
width: auto;
margin: 0 auto;
display: block;
line-height: 11px;
font-family: 'Golos Text', sans-serif;
font-weight:600;
}



/* ============================================
АДАПТИВНЫЕ СТИЛИ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ
============================================ */

/* Базовые настройки для всех мобильных устройств */
@media (max-width: 1650px) {
.top-bar, .main-nav, .main-block .left-column,
.bottom-info-in, .main-container, .container,
.production-cycle, .reviews-section,
.photo-gallery, .footer .container, .footer-bottom,
.catalog-page, .content .container, .logos_st,
.page-contacts, .container.form-page, .photo-gallery, .home .catalog-section, .main-block-in{
max-width: 90%! important;
margin:0 auto;
}
.content_left_about .photo-gallery {
max-width: 100%! important;
}
.home .catalog-section{
margin-top:60px;
}
.reviews-section {
margin-top: 60px;
}
.photo-gallery {
max-width: 1620px;
margin: 0 auto;
margin-top: 40px;
}
.container.otzyvy {
max-width: 100% ! important;
}
.catalog-img {
max-height: 120px;
}
.catalog-label {
text-align: left;
}
.catalog-item a {
text-decoration: none;
gap: 10px;
}
.catalog-label {
margin: 10px 0;
font-size: 16px;
}
.sidebar_consult {
padding: 0px 15px;
}
.sc_phone a {
    font-size: 23px;
}
}

/* Планшеты и маленькие ноутбуки (1200px и меньше) */
@media (max-width: 1220px) {
	.sc_phone a {
    font-size: 20px;
}
}
@media (max-width: 1200px) {
/* Навигация */
.main-nav ul {
gap: 0px;
}

.main-nav a {
font-size: 15px;
padding: 5px;
}
.logo-and-text {
font-size: 14px;
max-width: 160px;
}
.logo a {
gap: 5px;
}
.catalog-item a {
text-decoration: none;
gap: 10px;
display: block ! important;
padding: 0px 10px;
}
.catalog-label {
text-align: center;
}
/* Основной блок */
.main-block {
padding-top: 80px;
background-position-y: 0;
min-height: 550px;
height: auto;
}

.main-block h1 {
font-size: 42px;
line-height: 1.2;
}

.main-block .left-column p {
font-size: 18px;
max-width:55%;
}
.catalog-btn {
font-weight: 600;
}
/* Каталог */
.catalog-grid {
grid-template-columns: repeat(3, 1fr);
gap: 15px;
}

/* Секции с колонками */
.main-container,
.container.has_sidebar,
.container.form-page,
.about_plant {
flex-direction: column;
gap: 30px;
}

.left-section, .right-section,
.content_left, .sidebar,
.content_left_about, .content_right_about,
.ap_left, .ap_right,
.contacts_left, .contacts_right {
width: 100% !important;
}

.right-section {
padding: 40px 30px;
margin-top: 0;
}

/* Галереи */
.photogallery {
grid-template-columns: repeat(2, 1fr);
gap: 15px;
}

.photogallereya .card {
width: 48%;
}

.otzyvy .card {
width: 48%;
margin-bottom: 15px;
}
.otzyvy .card span {
clear:both;
}
.sertificates .card {
width: 100%;
}

/* Форма контактов */
.form-row {
flex-direction: column;
}

.form-group {
width: 100%;
margin-bottom: 15px;
}

.form-group.file-upload {
margin-top: 0;
}

/* Попап */
.popup-container {
width: 90%;
max-width: 500px;
margin: 20px;
}
}

/* Планшеты в портретной ориентации (992px и меньше) */
@media (max-width: 992px) {
/* Шапка */
.top-bar {
gap: 15px;
padding: 10px 0px;
}

.logo-and-text {
order: 1;
max-width: 100%;
text-align: center;
}
.catalog_table thead {
position: sticky;
top: 0;
z-index: 100;
}

.search-block {
order: 1;
max-width: 100%;
margin-left: 0;
margin-top: 0px;
}
.catalog-item a {
text-decoration: none;
display: block ! important;
text-align: center;
}
.catalog-label {
max-width: 95% ! important;
width: 100% ! important;
text-align: center ! important;
margin: 0 auto ! important;
}
.company_title {
margin-bottom: 15px;
}
.contacts {
order: 2;
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
}
footer .contacts {
order: 2;
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 10px;
}
footer .footer-right .contacts a {
margin-bottom: 10px;
}
footer .footer-right .contacts p {
margin-bottom: 20px;
margin-top: 0;
}
footer .footer-right {
margin-top: 0;
}

/* Мобильное меню - гамбургер */
.mobile-menu-toggle {
display: block;
position: absolute;
right: 15px;
top: 50%;
transform: translateY(-50%);
background: none;
border: none;
color: white;
font-size: 24px;
cursor: pointer;
z-index: 1001;
}

.main-nav ul {
display: none;
flex-direction: column;
width: 100%;
background: #00538A;
position: absolute;
top: 100%;
left: 0;
z-index: 1000;
padding: 15px 0;
margin-top: 10px;
border-top: 1px solid rgba(255,255,255,0.2);
}

.main-nav ul .current_page_item {
display: flex;
}

.main-nav li {
width: 100%;
text-align: center;
}

.main-nav a {
display: block;
border: none !important;
margin: 0 !important;
}

.main-nav a:hover {
background: rgba(255,255,255,0.1);
}

.main-nav a.active {
background: white;
color: #00538A !important;
}

/* Основной блок */
.main-block {
padding-top: 60px;
min-height: 370px;
}


.bottom-info {
position: static;
margin-top: 0px;
min-height: auto;
padding: 35px 0;
}

.bottom-info-in {
flex-wrap: wrap;
justify-content: center;
gap: 20px;
}
.main-container {
margin-top: 0px;
}
.info-item {
width: 30%;
justify-content: center;
}
.info-item p {
font-size: 14px;
}
.main-image {
margin-bottom: 15px;
}
.quality-section {
margin-top: 35px;
}
/* Заголовки */
.company_title, .section-title,
.catalog-title, .reviews-section h2,
.page_title, .content h2,
.contacts_left h2,
.pop_title {
font-size: 28px;
}

.main-block h1,
.category_header h1 {
font-size: 32px;
}

/* Статистика */
.stats-container {
flex-direction: column;
align-items: center;
gap: 15px;
margin-top: 30px;
}

.stat-item {
width: 100%;
max-width: 100%;
height: 110px;
}
.production-cycle {
margin-top: 35px;
}
.stat-number {
font-size: 28px;
}
.production-cycle {
padding: 50px 0;
margin-top: 35px;
}
.catalog-section {
margin-top: 35px;
}
.catalog-img {
max-height: 80px;
}
.catalog-item {
padding: 20px 25px 10px;
}
.catalog-label {
max-width: 225px;
width: 100%;
text-align: left;
}
.reviews-section {
margin-top: 35px;
}
a.btn_more {
display:none;
}
.revievs-slider {
margin-top: 35px ! important;
}
.photo-gallery {
margin-top: 35px;
max-width: 100%;
}
footer .products-list li {
margin-bottom: 10px;
justify-content: flex-start;
}
.footer-production {
margin-top: 0;
}
footer .links-list a {
justify-content: flex-start;
}
footer .footer-about {
margin-top: 0;
}
/* Каталог */
.catalog-grid {
grid-template-columns: repeat(2, 1fr);
margin-top: 40px;
}

.catalog-title {
margin-bottom: 10px;
}

.catalog-subtitle {
margin-bottom: 20px;
}

/* Отзывы и галерея */
.title_with_btn {
flex-direction: column;
align-items: flex-start;
gap: 15px;
}

.btn_more {
align-self: flex-start;
}

/* Swiper */
.swiper-button-next,
.swiper-button-prev {
display: none;
}

.swiper {
padding: 10px;
}

/* Подвал */
.footer {
margin-top: 80px;
padding: 40px 0 20px;
}

.footer .container {
flex-direction: column;
gap: 30px;
padding-bottom: 30px;
}

.footer-left, .footer-center, .footer-right {
width: 100%;
}

.footer-right .contacts p {
max-width: 100%;
}

.footer-bottom {
flex-direction: column;
gap: 10px;
text-align: center;
padding-top: 20px;
}

/* Хедер категории */
.category_header {
flex-direction: column;
text-align: center;
padding: 30px 20px;
min-height: 300px;
}

.category_header h1 {
font-size: 32px;
margin-bottom: 20px;
}

.category_img {
justify-content: center;
margin-top: 20px;
}

.category_img img {
position: static;
max-height: 200px;
}

.category_img img+img {
margin-right: 0;
margin-left: -30px;
}

/* Таблица */
.catalog_table {
display: block;
overflow-x: auto;
white-space: nowrap;
margin-top: 30px;
font-size: 13px;
}

.catalog_table thead td,
.catalog_table tbody td {
padding: 10px 6px;
}

/* Преимущества */
.preims .card {
width: 100%;
margin-bottom: 15px;
height: auto;
min-height: 100px;
padding: 20px;
}
.otzyvy .card span {
clear:both;
}
.otzyvy .card {
width: 48%;
}

/* О компании */
.ap_red {
position: static;
width: 100%;
height: auto;
padding: 20px;
margin-top: 20px;
right: auto;
}

.logos_st {
flex-wrap: wrap;
justify-content: center;
gap: 20px;
margin-top: 50px;
}

.logos_st img {
width: 75%;
max-width: 200px;
}

/* Контакты */
.contacts_left {
padding: 20px;
}

.contacts_left h2 {
font-size: 24px;
}

/* Попап */
.popup-content .form-group {
max-width: 100%;
}
}

/* Телефоны в альбомной ориентации (768px и меньше) */
@media (max-width: 768px) {
/* Общие стили */
body {
font-size: 15px;
}

h1, .page_title {
font-size: 28px;
margin-bottom: 15px;
}

h2, .section-title, .catalog-title {
font-size: 24px;
}

h3 {
font-size: 20px;
}

p {
font-size: 14px;
line-height: 1.5;
}

/* Шапка */
.top-bar {
padding: 8px 5px;
}

.logo-and-text, .send-request {
display: none;
}

.contacts {
flex-direction: row;
justify-content: flex-end;
width: 100%;
}

.contacts a {
font-size: 13px;
}

.contacts a+a {
font-size: 14px;
}

.logo img {
width: 60px;
}

.logo span {
font-size: 16px;
}

/* Основной блок */
.main-block {
min-height: 350px;
padding: 50px 0 45px;
}

.main-block h1 {
font-size: 28px;
line-height: 1.3;
}

.main-block .left-column p {
font-size: 15px;
margin-bottom: 30px;
line-height: 1.5;
}

.info-item {
width: 100%;
max-width: 100%;
gap: 10px;
justify-content: flex-start;
}
.info-item p {
font-size: 12px;
}
/* Кнопки */
.catalog-btn, .learn-more-btn {
padding: 16px 20px;
font-size: 12px;
justify-content: center;
}

.catalog-btn span,
.learn-more-btn span {
gap: 15px;
}
.page-template-page-about .right-section {
padding: 20px 25px 20px;
}
/* Особенности */
.feature-block {
flex-direction: column;
gap: 15px;
}

.feature-item {
width: 100%;
padding: 20px;
}

/* Качество */
.quality-section {
margin-top: 60px;
}

.section-subtitle {
margin-bottom: 30px;
}

/* Производственный цикл */
.production-cycle {
margin-top: 60px;
padding: 60px 20px;
}

.production-cycle .main-title {
font-size: 28px;
}

/* Каталог */
.catalog-section {
margin-top: 60px;
}

.catalog-grid {
grid-template-columns: 1fr 1fr;
max-width: 100%;
margin-left: auto;
margin-right: auto;
gap: 10px;
}

.catalog-item {
padding: 15px 0 5px;
}

.catalog-img {
max-height: 55px;
}

/* Отзывы */
.reviews-section {
margin-top: 60px;
}

.reviews-subtitle {
margin-bottom: 20px;
}

.review-block {
min-height: 180px;
padding: 15px;
}

/* Фотогалерея */
.photo-gallery {
margin-top: 60px;
}

/* Контент страниц */
.content {
margin-top: 30px;
}

.content p {
line-height: 1.6;
}

.content h2 {
font-size: 24px;
margin-top: 25px;
}

.content h3 {
font-size: 20px;
margin-top: 25px;
}

/* Галереи */
.photogallery {
grid-template-columns: 1fr;
gap: 15px;
margin-top: 30px;
}

.photogallery .gallery_item {
max-width: 100%;
}

.photogallery .gallery_item a {
height: 220px;
}

.photogallereya .card {
width: 100%;
height: 220px;
}

/* Параметры товара */
.param-item {
font-size: 14px;
}

.header-row {
font-size: 18px;
}

/* Отзывы на странице о нас */
.otzyvy .card {
width: 100%;
}

.otzyvy {
margin-top: 30px !important;
}

.sertificates {
margin-top: 30px !important;
}

.sertificates .card {
margin-bottom: 20px;
}

/* Форма */
textarea {
height: 100px;
}

.contacts_right .submit-btn {
width: 100%;
float: none;
margin-top: 15px;
}
}

/* Маленькие телефоны (576px и меньше) */
@media (max-width: 576px) {
/* Общие */
body {
font-size: 14px;
}
.content ul li {
line-height: 1.5;
}
.search-block input[type="text"] {
font-size: 12px;
}
.main-block {
min-height: 345px;
padding: 50px 0 20px;
}
.main-block h1 {
font-size: 24px;
line-height: 1.3;
}

.main-block .left-column p {
font-size: 14px;
}

form {
padding: 0;
}

/* Инфо блок */
.info-item {
flex-direction: column;
text-align: center;
gap: 10px;
}

.info-item p {
font-size: 14px;
}

/* Заголовки */
.company_title, .section-title,
.catalog-title, .reviews-section h2,
.page_title, .content h2 {
font-size: 22px;
}

.page-template-page-about .company_title {
font-size: 22px;
}

.main-block h1,
.category_header h1 {
font-size: 24px! important;
}

/* Кнопки */
.catalog-btn, .learn-more-btn {
padding: 14px 18px;
font-size: 11px;
}

/* Каталог */
.catalog-label {
font-size: 14px;
padding: 8px 0;
}

/* Подвал */
.footer {
margin-top: 60px;
padding: 30px 0 15px;
}

.footer-logo {
width: 60px;
height: 60px;
}

footer .links-list a {
font-size: 16px;
}

footer .products-list li {
font-size: 13px;
margin-bottom: 15px;
}

/* Боковая панель */
.sidebar {
width: 100%;
}

.sidebar_consult,
.sidebar_cost {
height: auto;
padding: 30px 20px;
}

.sc_title {
font-size: 22px;
}

.sc_phone a {
font-size: 20px;
}

.sc_email a {
font-size: 16px;
}

/* Форма в попапе */
.popup-container {
padding: 20px 15px;
}

.pop_title {
font-size: 24px;
}

.pop_text {
font-size: 13px;
}
}

/* Очень маленькие телефоны (360px и меньше) */
@media (max-width: 360px) {
.main-block h1 {
font-size: 22px;
}
.main-block .left-column p {
max-width: 90%;
}
.catalog-btn span,
.learn-more-btn span {
gap: 10px;
}

.stat-number {
font-size: 24px;
}

.stat-description {
font-size: 14px;
}

.footer .container {
gap: 20px;
}

.catalog_table {
font-size: 12px;
}

.catalog_table thead td,
.catalog_table tbody td {
padding: 8px 4px;
}
}

/* ============================================
СПЕЦИАЛЬНЫЕ НАСТРОЙКИ ДЛЯ ТАЧ-УСТРОЙСТВ
============================================ */

@media (hover: none) and (pointer: coarse) {
/* Увеличиваем область клика для сенсорных экранов */
.main-nav a,
.catalog-item a,
.btn_more,
.catalog-btn,
.learn-more-btn,
.send-request,
.links-list a,
.products-list li,
.file-label,
.submit-btn {
min-height: 44px;
display: flex;
align-items: center;
justify-content: center;
}

/* Убираем ховер-эффекты для тач-устройств */
.main-nav a:hover {
border: none !important;
padding: 5px 21px;
background: none;
}

.catalog-item:hover {
transform: none;
background: #F6F8FB;
text-decoration:none! important;
}

.catalog-item:hover .catalog-label {
color: #333;
text-decoration:none! important;
}

.catalog-item.active:hover {
background: #00538A;
}

.catalog-item.active:hover .catalog-label {
color: white;
text-decoration:none! important;
}

.send-request:hover {
background-color: white;
color: #00538A;
border: 1px solid #00538A !important;
}

.btn_more:hover {
color: #00538A;
background: #F6F8FB;
}

.photogallery .gallery_item img:hover {
opacity: 1;
}

.lists a:hover {
color: #3B3C3F;
}
}

/* ============================================
ДОСТУПНОСТЬ И УЛУЧШЕНИЯ ПРОИЗВОДИТЕЛЬНОСТИ
============================================ */

/* Улучшение для пользователей, уменьшивших движение */
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}

.catalog-item:hover {
transform: none;
}
}

/* Исправления для iOS Safari */
@supports (-webkit-touch-callout: none) {
.main-block {
background-attachment: scroll;
}

/* Улучшение скролла на iOS */
.container {
-webkit-overflow-scrolling: touch;
}
}

/* Портретная ориентация */
@media (orientation: portrait) {
.main-block {
background-position: 70% center;
}

.category_header {
min-height: 250px;
}
}


/* Высококонтрастный режим */
@media (prefers-contrast: high) {
.main-nav a.active {
border: 2px solid #fff;
}
}

/* ============================================
ДОПОЛНИТЕЛЬНЫЕ КЛАССЫ ДЛЯ АДАПТИВНОСТИ
============================================ */

.mobile-hide {
display: none;
}

@media (max-width: 768px) {
.mobile-hide {
display: none !important;
}
}

.mobile-only {
display: none;
}

@media (max-width: 768px) {
.mobile-only {
display: block !important;
}
}

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

iframe,
video {
max-width: 100%;
}

@media (max-width: 768px) {
p, li, td, th {
line-height: 1.5;
word-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
word-wrap: break-word;
overflow-wrap: break-word;
}
}


.wpcf7-not-valid-tip {
display: none! important;
}

.wpcf7-not-valid {
border:1px solid red! important;
}

span#agreement {
border: 0px ! important;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
display: none! important;
}

.content .search_results {
padding-left:0! important;
margin-left:0! important;
}
.search_results li a br {
display:none;
}
.search_results {
margin: 40px 0px 0px 20px;
}
.search_results li a {
color: #3B3C3F;
font-size: 20px;
}
.search_results li+li {
margin-top:20px;
}

.pagination-wrapper {
margin: 40px 0;
text-align: center;
}

.pagination {
display: inline-flex;
list-style: none;
margin: 0;
padding: 0;
gap: 5px;
}

.pagination li {
margin: 0;
}

.pagination a,
.pagination span {
display: block;
padding: 8px 16px;
text-decoration: none;
border: 1px solid #ddd;
color: #333;
border-radius: 4px;
transition: all 0.3s ease;
}

.pagination a:hover {
background-color: #f5f5f5;
border-color: #999;
}

.pagination .current {
background-color: #00538A;
color: white;
border-color: #00538A;
}

.pagination .dots {
border: none;
}

.search_results {
padding: 0;
margin: 30px 0 0px 20px;
}

.search_result_item {
margin-bottom: 20px;
padding-bottom: 20px;
border-bottom: 1px solid #eee;
}

.search_result_item a {
font-size: 18px;
font-weight: 600;
color: #333;
text-decoration: none;
margin-bottom: 5px;
display: block;
}

.search_result_item a:hover {
color: #0073aa;
}

.search-excerpt {
font-size: 14px;
color: #666;
margin-top: 5px;
}

.no-results {
text-align: center;
padding: 50px 20px;
}

.no-results h2 {
color: #666;
margin-bottom: 20px;
}

.offices-page {
max-width: 1620px;
margin: 0 auto;
padding: 0;
border-radius: 10px;
margin-top: 70px;
}
.leaflet-control-attribution.leaflet-control svg {
display:none;
}

/* Основные стили для карты */
#map {
width: 100%;
height: 500px;
border-radius: 10px;
z-index: 1;
}

.offices-list {
display: grid;
margin-top:0px;
grid-template-columns: 2fr 1fr 1fr;
gap: 20px;
}

.office-item {
padding: 0;
cursor: pointer;
transition: all 0.3s ease;
background: white;
border-bottom: 8px solid #00538A;
max-width: 450px;
padding-bottom: 20px;
display: flex;
gap: 20px;
align-items: flex-start;
}

.office-item:nth-child(1) {
border: 4px solid #00538A;
max-width: 100%;
}

.office-item:nth-child(1) .office_info h3 {
font-size:24px;
}

.office_logo img {
width:75px;
max-width: 75px;
}
.office-item h3 {
font-size: 18px;
margin-top: 0px;
margin-bottom: 10px;
font-weight: 700;
}

.show-on-map {
background: #2196F3;
color: white;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
margin-top: 15px;
font-size: 14px;
font-weight: 500;
transition: all 0.3s ease;
}

.show-on-map:hover {
background: #1976D2;
transform: translateY(-1px);
}

/* Стили для попапов на карте */
.leaflet-popup-content {
min-width: 250px;
padding: 15px;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.leaflet-popup-content h3 {
margin: 0 0 10px 0;
color: #333;
font-size: 18px;
}

.leaflet-popup-content p {
margin: 8px 0;
color: #666;
font-size: 14px;
line-height: 1.4;
}

.leaflet-popup-content strong {
color: #333;
}

/* Индикатор загрузки */
#map.loading {
display: flex;
align-items: center;
justify-content: center;
background: #f5f5f5;
color: #666;
font-size: 16px;
}

#map.loading:after {
content: '';
width: 30px;
height: 30px;
border: 3px solid #f3f3f3;
border-top: 3px solid #2196F3;
border-radius: 50%;
animation: spin 1s linear infinite;
margin-left: 15px;
}

@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}

/* Адаптивность */
@media (max-width: 768px) {
.offices-list {
grid-template-columns: 1fr;
padding: 15px;
}

#map {
height: 400px;
}
}

.leaflet-control-attribution.leaflet-control svg {
display:none! important;
}

/* Стили для модального окна */
.gallery-modal {
position: fixed;
z-index: 10000;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.9);
display: flex;
justify-content: center;
align-items: center;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-modal.active {
opacity: 1;
visibility: visible;
}

.gallery-modal-content {
position: relative;
max-width: 90%;
max-height: 90%;
margin: auto;
}

.gallery-modal-body {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}

#gallery-modal-image {
max-width: 100%;
max-height: 70vh;
object-fit: contain;
opacity: 0;
transition: opacity 0.3s ease;
}

#gallery-modal-image.loaded {
opacity: 1;
}

#gallery-modal-caption {
color: #fff;
text-align: center;
padding: 10px;
font-size: 16px;
margin-top: 10px;
opacity: 0;
transition: opacity 0.3s ease;
}

#gallery-modal-caption.show {
opacity: 1;
}

.gallery-modal-close {
position: absolute;
top: -40px;
right: 0;
color: #fff;
font-size: 35px;
font-weight: bold;
cursor: pointer;
transition: 0.3s;
z-index: 10001;
}

.gallery-modal-close:hover {
color: #ccc;
}

.gallery-modal-nav {
position: absolute;
top: 50%;
width: 100%;
display: flex;
justify-content: space-between;
transform: translateY(-50%);
pointer-events: none;
}

.gallery-modal-prev,
.gallery-modal-next {
background: rgba(0,0,0,0.5);
color: white;
border: none;
padding: 15px 20px;
font-size: 24px;
cursor: pointer;
border-radius: 3px;
pointer-events: all;
transition: background 0.3s;
z-index: 10001;
}

.gallery-modal-prev:hover,
.gallery-modal-next:hover {
background: rgba(0,0,0,0.8);
}

@media (max-width: 450px) {
.main-block {
background-size: auto! important;
}
}
@media (max-width: 768px) {

.gallery-modal-content {
max-width: 95%;
max-height: 95%;
}

.gallery-modal-prev,
.gallery-modal-next {
padding: 10px 15px;
font-size: 20px;
}

.gallery-modal-close {
top: -30px;
font-size: 30px;
}
}

@media (max-width: 1320px) {
.main-nav li {
border: 1px solid #00538A;
padding: 0px 5px;
}
.search-block {
position: relative;
width: 100%;
max-width: 230px;
height: 30px;
margin-left: 0px;
}
}
@media (max-width: 1200px) {
.logo img {
width: 50px;
}
.main-nav a, .catalog-item a, .btn_more, .catalog-btn, .learn-more-btn, .send-request, .links-list a, .products-list li, .file-label, .submit-btn {
min-height: 25px;
display: flex;
align-items: center;
justify-content: center;
}
input[type="text"], input[type="tel"], input[type="email"], textarea, input[type="file"] {
font-size: 14px;
}
.logo-and-text p {
font-size: 12px;
}
.search-block {
max-width: 190px;
}
}
.onmob {
display:none;
}
@media (max-width: 1024px) {
.burger-btn img {
max-width:40px;
}
a.burger-btn {
padding: 0;
}
a.burger-btn:hover {
padding: 0;
}
.vertical-menu ul.sub-menu {
display: block;
position: relative;
margin-top: 15px;
left: 0;
padding-top: 0;
width: max-content;
z-index: 9;
}
.vertical-menu ul.sub-menu:before {
display: none;
}
.vertical-menu ul.sub-menu li {
border: 0px;
padding: 0px ! important;
background: #fff;
border-radius: 0;
box-shadow: 0px 0px 0px ! important;
text-align: left;
}
.vertical-menu ul.sub-menu li::marker {
display:none! important;
}
.vertical-menu ul.sub-menu li {
list-style-type:none;
}
.onmob {
display:block;
}
.main-nav nav {
display:none;
}
#send-request {
display: none;
}
.h_email {
display:none! important;
}
.logo-and-text {
display:none;
}
}


.side-panel {
position: fixed;
top: 0;
left: -300px;
width: 300px;
height: 100%;
background: white;
box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
z-index: 999;
display: flex;
flex-direction: column;
overflow-y: auto;
}

.side-panel.active {
left: 0;
}

.side-panel .panel-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 10px;
border-bottom: 1px solid #eee;
}

.side-panel .close-btn {
background: none;
border: none;
font-size: 24px;
cursor: pointer;
color: #666;
}

.side-panel .close-btn:hover {
color: #333;
}

.side-panel .logo {
text-align: left;
font-size: 10px;
gap: 10px;
}

/* Логотип */
.side-panel .logo {
text-align: left;
}
.side-panel .logo span {
color: #000;
font-size: 15px;
}
.side-panel .logo img {
width: 60px;
height: auto;
}

.side-panel .vertical-menu {
list-style: none;
margin-bottom: 5px;
}

.side-panel .vertical-menu li {
margin-bottom: 15px;
}

.side-panel .vertical-menu a {
text-decoration: none;
color: #333;
font-size: 16px;
padding: 0px 15px;
display: block;
border-radius: 4px;
transition: background-color 0.2s;
}

.side-panel .vertical-menu a:hover {
background-color: #f0f0f0;
color: #0066cc;
}

.side-panel .contact-info {
margin-top: auto;
padding-top: 20px;
border-top: 1px solid #eee;
}

.side-panel .phone {
font-size: 18px;
font-weight: bold;
color: #333;
margin-bottom: 15px;
display: flex;
align-items: center;
gap: 10px;
}

.side-panel .address {
font-size: 14px;
color: #666;
line-height: 1.5;
}

.side-panel .icon {
font-size: 20px;
}

button.burger-btn {
background: none;
border: 0px;
}


.overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #00538Ac4;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease, visibility 0.3s ease;
z-index: 998;
}

.overlay.active {
opacity: 1;
visibility: visible;
}


.show-on-map {
font-family: 'Golos Text', sans-serif;
}



/* ===== АНИМАЦИИ ===== */
@keyframes slideDown {
from {
opacity: 0;
transform: translateY(-20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

@keyframes slideRight {
from {
opacity: 0;
transform: translateX(-20px);
}
to {
opacity: 1;
transform: translateX(0);
}
}

.uniq-item-depth-0:hover > .uniq-submenu--down {
animation: slideDown 0.3s ease forwards;
}

.uniq-item-depth-1:hover > .uniq-submenu--side {
animation: slideRight 0.3s ease forwards;
}

#mega-menu-wrap-main-menu #mega-menu-main-menu a.mega-menu-link .mega-description-group .mega-menu-description {
display:none! important;
}

#mega-menu-wrap-main-menu #mega-menu-main-menu > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
line-height: 24px! important;
}
.wpcf7 form.sent .wpcf7-response-output {
border-color: #00538a ! important;
margin: 0 auto ! important;
text-align: center ! important;
padding: 9px ! important;
font-family: 'Golos Text' ! important;
max-width: 360px;
margin-top: -28px ! important;
border-radius:4px! important;
}

.popup-content .wpcf7 form.sent .wpcf7-response-output {
border-color: #00538a ! important;
margin: 0 auto ! important;
text-align: center ! important;
padding: 9px ! important;
font-family: 'Golos Text' ! important;
max-width: 360px;
margin-top: 0px ! important;
border-radius:4px! important;
}

.wp-block-image img {
border-radius:10px;
}

ol {
margin-left: 20px;
}

.content ol li {
line-height: 32px;
}

.services {
padding-bottom: 85px;
margin-top: 40px;
--elems: 2;
--gap: 20px;
display: flex;
flex-wrap: wrap;
gap: var(--gap);
}

.service {
padding: 30px;
border: 1px solid #1764c1;
border-radius: 15px;
background-color: #fff;
width: calc((100% - var(--gap) * (var(--elems) - 1)) / var(--elems));
display: flex;
align-items: center;
justify-content: space-between;
gap: 15px;
}
.services > a:nth-child(5n+5), .services > a:nth-child(5n+4), .services > a:nth-child(5n+3) {
--elems: 3;
}			
.service:hover {
box-shadow: 0 10px 25px rgba(23, 100, 193, 0.15);
border-color: #1764C1;
text-decoration:none;
}

.service_icon {
min-width: 96px;
height: 96px;
border-radius: 50%;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
}

.service_icon_image {
width: 100%;
height: 100%;
border-radius: 50%;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
transition: transform 0.3s ease;
}

.service_icon svg {
width: 100%;
height: 100%;
transition: transform 0.3s ease;
}

.service:hover .service_icon_image,
.service:hover .service_icon svg {
transform: scale(1.05);
}

.service_text {
text-align: left;
line-height: 1.6;
color: #666;
font-size: 16px;
}

.service:hover .service_text {
color: #333;
}

@media (max-width: 992px) {
.services {
grid-template-columns: repeat(2, 1fr);
gap: 20px;
}
}

@media (max-width: 768px) {
.services {
grid-template-columns: 1fr;
gap: 20px;
}

.service {
padding: 25px 20px;
}
}

.mt-60 {
margin-top:60px;
}

.block__title {
margin-bottom: 0px;
font-weight: 700;
text-align: left;
font-size: 36px;
color: #2C333D;
line-height: 1.2;
}		

.page-template-page-serviceitem .block__title {
margin-bottom: 25px;
font-weight: 700;
text-align: left;
font-size: 36px;
color: #2C333D;
line-height: 1.2;
}

.container.has_sidebar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}



@media screen and (max-width:920px) {
.preims .card {
width: 32%! important;
padding: 10px! important;
margin-bottom: 10px;
}
.preims .row {
flex-wrap: wrap ! important;
}
}

@media screen and (max-width:820px) {
.preims .card {
width: 100%! important;
padding: 10px! important;
margin-bottom: 0px;
}
.preims .row {
flex-wrap: wrap ! important;
margin-bottom:10px! important;
gap:10px! important;
}
.content_right_about a {
width: 100%;
}
}

.otrasli_cont {
margin-top: 40px;
display: flex;
--gap: 12px;
gap: var(--gap);
}

.oc_list {
display: flex;
flex-direction: column;
gap: var(--gap);
width: calc(100% - 30px - var(--gap));
}

.oc_list_el {
font-size: 18px;
font-weight: 600;
line-height: 135%;
height: 77px;
border-radius: 15px;
background-color:#F3F3F4;
display: flex;
align-items: center;
padding: 0 24px;
transition: .3s;
cursor: pointer;
}

.oc_list_el.active {
color: var(--c-blue);
}

.oc_imgs {
width: 100%;
border-radius: 15px;
overflow: hidden;
background-color: var(--c-gray);
}

.oc_img {
display: none;
position: relative;
animation: oc_img_opac .4s;
}

.oc_img img, .oc_img.active {
display: block;
border-radius: 15px;
}

.otrasli_title.title_h2 {
margin-bottom: 0px;
font-weight: 700;
text-align: left;
font-size: 36px;
color: #2C333D;
line-height: 1.2;
}


a:hover {
text-decoration: underline;
}

/**/

.main-block-in {
    width: 100%;
    max-width: 1620px;
    display: flex;
    align-items: flex-start;
	justify-content: space-between;
}
.main-block-in .right-column {
    max-width: 45%;
    width: 100%;
    position: absolute;
    right: 0;
}

@media screen and (max-width:1420px) {
	.main-block-in .right-column {
    max-width: 43%;
    width: 100%;
    position: absolute;
    right: 0;
    bottom: 19%;
}
}
@media screen and (max-width:992px) {
.main-block-in .right-column {
max-width: 43%;
width: 100%;
position: absolute;
right: 0;
bottom: 0%;
}
}
@media screen and (max-width:768px) {
.main-block-in .right-column {
max-width: 50%;
width: 100%;
position: absolute;
right: 0;
bottom: 0%;
}
}

@media screen and (max-width:570px) {
.main-block .left-column {
    text-align: left;
    width: 100%;
    max-width: 100%;
    position: relative;
}
    .main-block-in .right-column {
        max-width: 100%;
        width: 100%;
        position: relative;
    }
	.main-block-in {
    width: 100%;
    display: block;
}
}

#mega-menu-wrap-main-menu #mega-menu-main-menu > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:hover .mega-menu-title {
	text-decoration:underline! important;
}


.product_materials img {
    margin: 0 auto;
    text-align: center;
    display: block;
}

.content_left img {
    margin: 0 auto;
    text-align: center;
    display: block;
}


.category_header h1 {
    color: #fff;
    font-size: 50px;
    text-transform: uppercase;
    max-width: 865px;
}


.category_header {
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 80px;
    margin-top: 50px;
    min-height: 330px;
    position: relative;
    background: -webkit-linear-gradient(90deg, #00538a, #1d6595, #ffffff);
    background: linear-gradient(90deg, #00538a, #1d6595, #ffffff);
}

@media screen and (min-width:2000px) {
	.bottom-info {
    margin-top: 40px;
}
}



.single-product .sidebar {
    width: 380px;
    position: relative;
    top: 0px;
}