/* SCROll */

*,
html *

/* override x.xhtml.ru style */
    {
    scrollbar-width: thin;
    scrollbar-color: #005499 #e2e2e2;
}

*::-webkit-scrollbar,
html *::-webkit-scrollbar {
    height: 12px;
    width: 12px;
}

*::-webkit-scrollbar-track,
html *::-webkit-scrollbar-track {
    background: #e2e2e2;
}

*::-webkit-scrollbar-thumb,
html *::-webkit-scrollbar-thumb {
    background-color: #005499;
}

/* Общие настройки типографии */

b {
    color: #1A1A1A;
}

/* Кнопки */

.btn-box a span {
    display: flex;
    align-items: center;
}

/* Owl carusel */
.case-carousel .owl-stage {
    display: flex;
}

/* Cases */
.project-section .outer-container {
    padding: 0 24px;
}

/* Policy */
.policy-info-section {
    padding: 120px 0px;
}

.policy-info-section h2,
.policy-info-section h3 {
    font-weight: bold;
}

.policy-info-section h2 {
    margin-bottom: 40px;
    color: #005499;
}

.policy-info-section h3 {
    margin-bottom: 16px;
    margin-top: 28px;
}

.policy-info-section p {
    margin-bottom: 8px;
}

/* Поиск */

.fl-search-area__title {
    font-weight: 700;
}

.fl-search-area__block-answer {
    border: 1px solid #e2e2e2;
    padding: 16px 24px;
    margin-bottom: 16px;
}

.fl-search-area__block-answer a {
    font-size: 18px;
    font-weight: 600;
}

.fl-search-area__block-answer p {
    font-size: 15px;
}

/* Контакты */
.contact-info-section .google-map {
    height: 500px;
}

/* Баннер с контактами */

.fl-banner {
    position: fixed;
    right: 40px;
    bottom: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 130px;
    min-width: 130px;
}

@media(max-width:1200px) {
    .fl-banner {
        display: none;
    }
}

.fl-banner__button {
    cursor: pointer;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #005499;
    color: #fff;
    border-radius: 0;
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.10) !important;
    background-image: url('../images/icons/menu.png');
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: center;
}

.fl-banner__button.active {
    background-image: url('../images/icons/close-button.png');
    background-size: 20px;
}

.fl-banner__content {
    margin-bottom: 16px;
    display: none;
}

.fl-banner__content.active {
    display: block;
}


.fl-banner__item {
    background-color: #fff;
    border: 2px solid #005499;
    margin-bottom: 10px;
}

.fl-banner__item a {
    color: #000;
    padding: 15px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fl-banner__item-text {
    text-align: center;
    font-size: 14px;
    line-height: 1.3;
}

.fl-banner__item-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
}

.fl-banner__item-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pulser {
    border-radius: 0;
    position: relative;
}

.pulser::after {
    animation: pulse 1000ms cubic-bezier(0.9, 0.7, 0.5, 0.9) infinite;
}

@keyframes pulse {
    0% {
        opacity: 0;
    }

    50% {
        transform: scale(1.4);
        opacity: 0.4;
    }
}

.pulser::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0,84,153, .5);
    border-radius: 0;
    z-index: -1;
}

/* Баннеры на мобильном */
.messenger-panel {
    display: none;
    box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    position: fixed;
    left: 0;
    width: 100%;
    bottom: 0;
    height: 60px;
}

.messenger-panel>div {
    position: relative;
    background-size: auto 50%;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    height: 100%;
    width: calc(100vw/5);
}

.messenger-panel>div {
    background-color: #005499;
}

.messenger-panel>div>a {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #fff;
}

.messenger-panel>div:last-child>a {
    border-right: none;
}

.messenger-panel__title {
    color: #fff;
    font-size: 12px;
    line-height: 1.2;
}

.messenger-panel__icon {
    width: 32px;
    height: 32px;
    margin-right: 10px;
}

.messenger-panel__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {

    .messenger-panel {
        height: 80px;
    }

    .messenger-panel__icon {
        margin-right: 0;
        margin-bottom: 8px;
        width: 26px;
        height: 26px;
    }

    .messenger-panel>div>a {
        flex-direction: column;
        text-align: center;
    }

    .messenger-panel__title {
        font-size: 10px;
    }
}


@media only screen and (max-width: 1199px) {
    .messenger-panel {
        display: flex;
    }
}

.modal {
    position: fixed;
    display: none;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, .8);
}

.modal.active {
    display: block;
}

.modal__close {
    width: 64px;
    height: 64px;
    position: absolute;
    right: 80px;
    top: 80px;
    cursor: pointer;
    border: 3px solid #fff;
    background-image: url('../images/icons/close-button.png');
    background-size: 32px;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 9;
}

.modal__container {
    width: 100%;
    height: 100%;
    padding: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 8;
}

.modal-callback__form {
    max-width: 600px;
    background-color: #fff;
    padding: 40px;
}

.modal-callback__form .sec-title h2 {
    font-size: 36px;
    line-height: 1.2;
}

.modal-callback__form .sec-title {
    margin-bottom: 20px;
}

@media(max-width:768px) {
    .modal {
        background-color: #fff;
    }

    .modal__container {
        padding: 0;
    }

    .modal__close {
        border: 3px solid #000;
        right: 28px;
        top: 28px;
        background-image: url('../images/icons/close-button_1.png');
    }


    .modal-callback__form {
        width: 100%;
        max-width: none;
        background-color: transparent;
        padding: 80px 40px 110px 40px;
    }

    .modal .contact-style-two {
        border-bottom: none;
    }

    .modal__container {
        height: initial;
        align-items: flex-start;
    }
}

.service-section__item {
    padding: 0 15px;
}

.service-section__item h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-section__item .inner-box {
    margin-bottom: 28px;
}


/* File */
input[type=file]::file-selector-button {
    margin-right: 20px;
    border: none;
    background: #005499;
    padding: 10px 20px;
    color: #fff;
    cursor: pointer;
    transition: background .2s ease-in-out;
}

input[type=file]::file-selector-button:hover {
    background: #d74329;
}

.file-group {
    padding: 14px 0px;
    border: 1px solid #e2e2e2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.file-group>div {
    font-size: 14px;
    margin-top: 4px;
}

.form-inner {
    position: relative;
}

.form-inner.send::before {
    content: 'Заявка отправлена! Спасибо, что обратились к нам!';
    width: 100%;
    height: 100%;
    background-color: #fff;
    position: absolute;
    z-index: 9;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #005499;
}

@media(max-width:580px) {
    .modal-callback__form {
        padding: 80px 20px 110px 20px;
    }

    .modal__close {
        right: 20px;
        top: 20px;
        width: 48px;
        height: 48px;
        background-size: 24px;
    }
}

.service-carousel {
    padding: 0px 15px;
}

.service-carousel .owl-stage {
    display: flex;
}

.service-carousel .service-section__item {
    padding: 24px;
    border: 2px solid #005499;
    display: flex;
    flex: 1 0 auto;
    height: 100%;
    margin-left: 4px;
}

/* =========================================
   HEADER: магазин + корзина вместо звонка
========================================= */

.main-header .menu-right-content.sez-header-shop-actions {
    padding: 22px 0px 22px 48px;
    margin-left: 24px;
    border-left: 1px solid #e2e2e2;
}

.main-header .menu-right-content.sez-header-shop-actions .option-list {
    margin-right: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.main-header .menu-right-content.sez-header-shop-actions .option-list:before {
    display: none;
}

.main-header .menu-right-content.sez-header-shop-actions .option-list li {
    float: none;
    margin: 0;
}

.main-header .menu-right-content.sez-header-shop-actions .option-list li a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 1px solid #e2e2e2;
    background: #ffffff;
    color: #1A1A1A;
    font-size: 18px;
    line-height: 1;
    text-align: center;
    transition: all 0.25s ease;
}

.main-header .menu-right-content.sez-header-shop-actions .option-list li a:hover,
.main-header .menu-right-content.sez-header-shop-actions .option-list li a.is-active {
    background: #005499;
    border-color: #005499;
    color: #ffffff;
}

.main-header .menu-right-content.sez-header-shop-actions .option-list li a i {
    line-height: 1;
}

.main-header .menu-right-content.sez-header-shop-actions .option-list li a.cart-link {
    position: relative;
}

.main-header .menu-right-content.sez-header-shop-actions .option-list li a .cart-count {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    background: #1A1A1A;
    border: 2px solid #ffffff;
    color: #ffffff;
    font-size: 11px;
    line-height: 16px;
    font-weight: 800;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.main-header .sticky-header .menu-right-content.sez-header-shop-actions {
    padding-top: 18px;
    padding-bottom: 18px;
}

/* =========================================================
   SEZ — Bitrix24 widget placement and mobile adaptation
   ========================================================= */

/* Десктоп: ставим Bitrix24 левее вашего основного плавающего виджета */
body .b24-widget-button-wrapper {
    right: 128px !important;
    bottom: 30px !important;
    z-index: 10020 !important;
}

/* Убираем лишнюю “пузырчатость”, чтобы кнопка выглядела спокойнее */
body .b24-widget-button-pulse,
body .b24-widget-button-pulse-animate,
body .b24-widget-button-pulse-animate-extra {
    display: none !important;
}

/* Визуально приближаем кнопку к стилю сайта: компактнее, аккуратнее, без кислотности */
body .b24-widget-button-inner-container {
    transform: scale(0.88) !important;
    transform-origin: center center !important;
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.22));
}

/* На случай если Bitrix отдаёт внутреннюю кнопку обычным div */
body .b24-widget-button-social,
body .b24-widget-button-inner-item,
body .b24-widget-button-openline_livechat {
    border-radius: 0;
}

/* Планшеты */
@media (max-width: 991px) {
    body .b24-widget-button-wrapper {
        right: 18px !important;
        bottom: 92px !important;
        z-index: 10020 !important;
    }

    body .b24-widget-button-inner-container {
        transform: scale(0.78) !important;
        transform-origin: right bottom !important;
    }
}

/* Мобильная версия: кнопка меньше и сбоку, не лежит поверх нижней панели */
@media (max-width: 767px) {
    body .b24-widget-button-wrapper {
        right: 10px !important;
        left: auto !important;
        top: 58% !important;
        bottom: auto !important;
        transform: translateY(-50%) !important;
        z-index: 10020 !important;
    }

    body .b24-widget-button-inner-container {
        transform: scale(0.68) !important;
        transform-origin: right center !important;
    }

    /* Наша кнопка закрытия поверх мобильного чата */
    .sez-b24-mobile-close {
        position: fixed;
        top: 12px;
        right: 12px;
        width: 42px;
        height: 42px;
        border: 0;
        border-radius: 0;
        background: #005499;
        color: #fff;
        font-size: 24px;
        line-height: 42px;
        text-align: center;
        cursor: pointer;
        z-index: 2147483647;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
        display: none;
    }

    body.sez-b24-chat-open .sez-b24-mobile-close {
        display: block;
    }
}

/* =========================================================
   МОБИЛЬНАЯ КНОПКА BITRIX24
   Размер как у кнопки "вверх", расположение напротив неё
   ========================================================= */

@media (max-width: 767px) {

  /* Убираем стандартные лишние эффекты */
  body .b24-widget-button-pulse,
  body .b24-widget-button-pulse-animate,
  body .b24-widget-button-pulse-animate-extra,
  body .b24-widget-button-shadow {
    display: none !important;
  }

  /* Сам контейнер кнопки:
     если кнопка "вверх" справа — Bitrix ставим слева */
  body .b24-widget-button-wrapper {
    position: fixed !important;
    left: 12px !important;
    right: auto !important;
    bottom: 16px !important;
    top: auto !important;
    transform: none !important;
    z-index: 10010 !important;
  }

  /* Сбрасываем странное масштабирование Bitrix */
  body .b24-widget-button-inner-container {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    transform: none !important;
    border-radius: 0;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18) !important;
    overflow: hidden !important;
  }

  /* Делаем кнопку аккуратной и одного размера */
  body .b24-widget-button-inner-item,
  body .b24-widget-button-social-item,
  body .b24-widget-button-openline_livechat,
  body .b24-widget-button-openline_livechat .b24-widget-button-inner-item,
  body .b24-widget-button-inner-mask {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    border-radius: 0;
  }

  /* Стиль кнопки — под сайт */
  body .b24-widget-button-inner-item,
  body .b24-widget-button-openline_livechat {
    background: #2f2f34 !important; /* замени на цвет сайта */
    border: 1px solid rgba(255,255,255,0.08) !important;
    box-shadow: none !important;
  }

  /* Иконка внутри */
  body .b24-widget-button-inner-item svg,
  body .b24-widget-button-openline_livechat svg {
    transform: scale(0.82) !important;
  }

  /* Если Bitrix всё ещё показывает вторую кнопку/меню — прячем лишнее */
  body .b24-widget-button-popup,
  body .b24-widget-button-social-block,
  body .b24-widget-button-menu {
    display: none !important;
  }

  /* Если у тебя кнопка "вверх" справа внизу,
     подгони её к такому же размеру для визуального совпадения */
  .scroll-top,
  .to-top,
  .go-up,
  .upbutton {
    width: 48px !important;
    height: 48px !important;
    right: 12px !important;
    bottom: 16px !important;
    left: auto !important;
    border-radius: 0;
  }
}
/* =========================================================
   SEZ FIX V8 — чистая правка без вмешательства во внутренности Bitrix
   ========================================================= */

:root {
    --sez-float-side: 40px;
    --sez-float-bottom: 30px;
    --sez-b24-desktop-right: 210px;
    --sez-mobile-panel-height: 82px;
    --sez-mobile-float-bottom: calc(var(--sez-mobile-panel-height) + 28px + env(safe-area-inset-bottom, 0px));
    --sez-widget-z: 2147483000;
}

/* Новости и статьи на главной: карточки в стиле проектов-заказов, обложка всегда квадратная 1:1. */
.sez-latest-news-section .case-carousel .owl-stage {
    display: flex;
}

.sez-latest-news-section .case-carousel .owl-item {
    display: flex;
}

.sez-latest-news-section .case-block-one.sez-news-card {
    width: 100%;
}

.sez-latest-news-section .case-block-one.sez-news-card .inner-box {
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sez-latest-news-section .case-block-one.sez-news-card .image-box,
.sez-latest-news-section .case-block-one.sez-news-card .inner-box:hover .image-box {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
    background: #ffffff !important;
}

.sez-latest-news-section .case-block-one.sez-news-card .image-box .image,
.sez-latest-news-section .case-block-one.sez-news-card .image-box .image a {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
    background: #ffffff !important;
}

.sez-latest-news-section .case-block-one.sez-news-card .image-box img,
.sez-latest-news-section .case-block-one.sez-news-card .image-box video,
.sez-latest-news-section .case-block-one.sez-news-card .image-box:hover img,
.sez-latest-news-section .case-block-one.sez-news-card .image-box:hover video,
.sez-latest-news-section .case-block-one.sez-news-card .inner-box:hover .image-box img,
.sez-latest-news-section .case-block-one.sez-news-card .inner-box:hover .image-box video,
.sez-latest-news-section .case-block-one.sez-news-card .image-box a:hover img,
.sez-latest-news-section .case-block-one.sez-news-card .image-box a:hover video {
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
    scale: 1 !important;
    transition: none !important;
    animation: none !important;
}

.sez-news-card__site-name {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 26px !important;
    background: #ffffff !important;
    color: #1A1A1A !important;
    font-family: 'kelson', Arial, sans-serif !important;
    font-size: clamp(22px, 3vw, 42px) !important;
    line-height: 1.05 !important;
    font-weight: 800 !important;
    letter-spacing: .04em !important;
    text-align: center !important;
    text-transform: uppercase !important;
}

.sez-news-card.sez-news-card--has-media .sez-news-card__site-name {
    display: none !important;
}

.sez-news-card.sez-news-card--no-media .sez-news-card__site-name {
    display: flex !important;
}

.sez-latest-news-section .case-block-one.sez-news-card .lower-content {
    padding-top: 22px !important;
    padding-bottom: 14px !important;
}

.sez-latest-news-section .case-block-one.sez-news-card .lower-content h3 {
    margin: 0 !important;
}

.sez-latest-news-section .case-block-one.sez-news-card .lower-content h3 a {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
}

.sez-news-card__excerpt {
    margin: 12px 0 0 !important;
    color: #5f5b5a !important;
    font-size: 16px !important;
    line-height: 1.55 !important;
    min-height: calc(1.55em * 3) !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    overflow: hidden !important;
    text-align: left !important;
}

.sez-latest-news-section .case-block-one.sez-news-card .upper-content {
    margin-top: auto !important;
    margin-bottom: 22px !important;
}

.sez-latest-news-section .case-block-one.sez-news-card .btn-box {
    margin-top: 0 !important;
}

.sez-latest-news-section .case-block-one.sez-news-card .btn-box a {
    width: 100% !important;
}

@media (max-width: 767px) {
    .sez-news-card__excerpt {
        font-size: 14px !important;
        -webkit-line-clamp: 2 !important;
        min-height: calc(1.55em * 2) !important;
    }
}

/* Плавающие кнопки: Bitrix ставим слева от красного виджета, но не трогаем внутреннюю разметку кнопки. */
@media (min-width: 1201px) {
    body .fl-banner {
        right: var(--sez-float-side) !important;
        bottom: var(--sez-float-bottom) !important;
        z-index: calc(var(--sez-widget-z) + 1) !important;
    }

    body [data-b24-crm-button-cont],
    body .b24-widget-button-wrapper,
    body .b24-widget-button-position-bottom-right {
        position: fixed !important;
        right: var(--sez-b24-desktop-right) !important;
        bottom: var(--sez-float-bottom) !important;
        left: auto !important;
        top: auto !important;
        z-index: var(--sez-widget-z) !important;
    }
}

@media (max-width: 1200px) {
    body .scroll-top {
        z-index: calc(var(--sez-widget-z) + 1) !important;
    }

    body [data-b24-crm-button-cont],
    body .b24-widget-button-wrapper,
    body .b24-widget-button-position-bottom-right {
        position: fixed !important;
        right: 14px !important;
        bottom: var(--sez-mobile-float-bottom) !important;
        left: auto !important;
        top: auto !important;
        z-index: var(--sez-widget-z) !important;
    }
}

/* Мобильная шапка: один визуальный слой, без ощущения отдельного приклеенного прямоугольника. */
@media (max-width: 991px) {
    body .main-header .sticky-header {
        display: none !important;
    }

    body .main-header,
    body .main-header .header-lower {
        width: 100vw !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
        left: 0 !important;
        right: 0 !important;
        border-radius: 0;
        box-sizing: border-box !important;
        background: #ffffff !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06) !important;
    }

    body .main-header .header-lower .outer-container {
        width: 100vw !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding: 0 max(14px, env(safe-area-inset-right, 0px)) 0 max(14px, env(safe-area-inset-left, 0px)) !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        box-sizing: border-box !important;
    }

    body .main-header .header-lower .outer-box {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 64px !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 14px !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        box-sizing: border-box !important;
    }

    body .main-header .header-lower .outer-box:before,
    body .main-header .header-lower .outer-box:after,
    body .header-style-two .header-lower .outer-box:before,
    body .header-style-two .header-lower .outer-box:after {
        display: none !important;
        content: none !important;
    }

    body .main-header .menu-left-content,
    body .main-header .menu-area,
    body .main-header .logo-box,
    body .main-header .mobile-nav-toggler {
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    body .main-header .menu-left-content {
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }

    body .main-header .menu-area {
        flex: 0 0 auto !important;
    }

    body .main-header .mobile-nav-toggler {
        margin: 0 !important;
    }

    body .main-header .menu-right-content.sez-header-shop-actions,
    body .main-header .search-box-outer,
    body .main-header .main-menu {
        display: none !important;
    }

}

/* Открытый чат на мобильном: скрываем элементы сайта и кнопку, само окно Bitrix не трогаем внутренними правками. */
@media (max-width: 767px) {
    body.sez-b24-chat-open {
        overflow: hidden !important;
    }

    body.sez-b24-chat-open .main-header,
    body.sez-b24-chat-open .mobile-menu,
    body.sez-b24-chat-open .scroll-top,
    body.sez-b24-chat-open .fl-banner,
    body.sez-b24-chat-open .messenger-panel,
    body.sez-b24-chat-open .sez-floating-actions,
    body.sez-b24-chat-open .modal-backdrop {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    body.sez-b24-chat-open .b24-widget-button-inner-container,
    body.sez-b24-chat-open .b24-widget-button-pulse,
    body.sez-b24-chat-open .b24-widget-button-pulse-animate,
    body.sez-b24-chat-open .b24-widget-button-pulse-animate-extra,
    body.sez-b24-chat-open .b24-widget-button-shadow,
    body.sez-b24-chat-open .b24-widget-button-social-block,
    body.sez-b24-chat-open .b24-widget-button-openline_livechat {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    body.sez-b24-chat-open .b24-widget-button-popup,
    body.sez-b24-chat-open .b24-widget-button-window,
    body.sez-b24-chat-open .bx-livechat-wrapper,
    body.sez-b24-chat-open .bx-imopenlines-widget,
    body.sez-b24-chat-open iframe[src*="bitrix24"],
    body.sez-b24-chat-open iframe[src*="online-chat"],
    body.sez-b24-chat-open iframe[src*="imopenlines"] {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        margin: 0 !important;
        border-radius: 0;
        z-index: 2147483647 !important;
    }
}
.sez-logo-text {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #1A1A1A;
  font-family: var(--sez-font-accent, Arial, sans-serif);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

/* SEZ mobile app-like compact layout */
.sez-mobile-chat-trigger {
    display: none;
}

@media (max-width: 767px) {
    body .main-header .header-lower,
    body .main-header .sticky-header {
        min-height: 56px !important;
    }

    body .main-header .header-lower .logo-box,
    body .main-header .sticky-header .logo-box {
        padding: 8px 0 !important;
    }

    body .main-header .header-lower .logo-box img,
    body .main-header .sticky-header .logo-box img {
        max-height: 34px !important;
    }

    .sez-mobile-chat-trigger {
        width: 34px;
        height: 34px;
        margin-left: 10px;
        border: 1px solid rgba(0, 84, 153, .32);
        background: #005499;
        color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        line-height: 1;
    }

    .sez-mobile-chat-trigger i {
        font-size: 15px;
        line-height: 1;
    }

    body .b24-widget-button-wrapper {
        right: 12px !important;
        left: auto !important;
        top: 72px !important;
        bottom: auto !important;
        transform: none !important;
        z-index: 10020 !important;
    }

    body .b24-widget-button-inner-container {
        transform: scale(.58) !important;
        transform-origin: right top !important;
    }

    body .b24-widget-button-wrapper::after,
    body .b24-widget-button-position-bottom-right::after {
        display: none !important;
    }

    .main-footer {
        padding-top: 22px !important;
    }

    .main-footer .auto-container {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .main-footer .footer-top {
        padding: 0 0 14px !important;
        margin: 0 !important;
    }

    .main-footer .footer-logo img {
        max-height: 34px !important;
        width: auto !important;
    }

    .main-footer .footer-top p,
    .main-footer .single-item p,
    .main-footer .links-list a,
    .footer-bottom p,
    .footer-bottom a {
        font-size: 12px !important;
        line-height: 1.35 !important;
    }

    .main-footer .widget-section {
        padding: 12px 0 !important;
    }

    .main-footer .widget-section .row {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 10px !important;
        margin: 0 !important;
    }

    .main-footer .footer-column {
        width: auto !important;
        max-width: none !important;
        flex: none !important;
        padding: 0 !important;
    }

    .main-footer .widget-title {
        margin-bottom: 8px !important;
    }

    .main-footer .widget-title h3,
    .main-footer .single-item h3 {
        font-size: 12px !important;
        line-height: 1.1 !important;
        margin: 0 0 6px !important;
    }

    .main-footer .single-item {
        margin-bottom: 8px !important;
    }

    .main-footer .links-list li {
        margin-bottom: 5px !important;
    }

    .footer-bottom {
        padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .footer-bottom .bottom-inner {
        display: flex !important;
        gap: 10px !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
}

@media (max-width: 767px) {
    html,
    body,
    * {
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }

    *::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }

    .sez-mobile-chat-trigger {
        display: none !important;
    }

    body .b24-widget-button-wrapper,
    body .b24-widget-button-position-bottom-right {
        right: 12px !important;
        left: auto !important;
        top: auto !important;
        bottom: calc(92px + env(safe-area-inset-bottom, 0px)) !important;
        transform: none !important;
        z-index: 10020 !important;
    }

    body .b24-widget-button-inner-container {
        transform: scale(.58) !important;
        transform-origin: right bottom !important;
    }
}
