body:has(#wpadminbar) header {
    top: 32px;
}
body:has(#wpadminbar) #search-form {
    top: 32px;
}
@media all and (max-width: 780px) {
  body:has(#wpadminbar) header {
    top: 46px;
  }
}
header .categoryMenu nav>ul>li .megamenu .categoryList ul li a>div.image img {
        max-height: 48px !important;
}
header .categoryMenu nav>ul>li .megamenu .categoryList.primary-list ul li a pre {
    text-wrap: auto;
}
header .toolbar .btn-language {
    color: #fff;
    font-size: 14px;
    line-height: 22px;
    text-transform: uppercase;
    padding: 5px;
}

@media screen and (max-width: 782px) {
    html #wpadminbar {
        position: fixed;
    }
}

@media (max-width: 1400px) {
    header .categoryMenu nav > ul > li {
        margin: 0px 15px;
    }
}
@media (max-width: 1200px) {
    header .categoryMenu nav > ul > li {
        margin: 0px 5px;
    }
}

.socials a img {
    max-width: 30px; 
    opacity: .3; 
    border-radius: 50%
}

.swiper-container {
    position: relative;
    padding: 20px 0 40px 0;
}
.swiper-pagination-bullet-active {
    background: #000;
}
.rche-swiper .swiper-slide {
    margin: 0 0 20px 0;
}
.swiper-slide > a {
    display: flex;
    height: 300px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-wrap: nowrap;
}
.swiper-slide > a > img {
    max-width: 100%;
    max-height: 300px;
}
.swiper-slide > h2 {
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    padding: 0;
    margin: 0;
    letter-spacing: 0.025em;
    color: #00568D;
    text-align: center;
}

.internal-video::-webkit-media-controls {
    display: none !important;
}
.internal-video::-webkit-media-controls-enclosure {
    display: none !important;
}
.internal-video {
    pointer-events: none; /* Отключает взаимодействие с видео */
}
.internal-video {
    -webkit-appearance: none;
    appearance: none;
}

.popup.visible.active {display: flex !important;}
.custom-form-modal.popup {display: none;}
.custom-form-modal.popup.active {display: flex !important;}

@media (max-width: 991px) and (max-width: 767px) {
    header .categoryMenu nav.active {
        overflow-x: hidden;
    }
}