/* MERIDA HOME HEADER — restored complete stylesheet */

@media screen and (min-width: 1261px) {
    body.merida-home-header-active {
        --merida-header-ink: #083B78;
        --merida-control-ink: #FFFFFF;
        --merida-search-bg: rgba(255,255,255,.85);
    }
    body.merida-home-header-active.merida-theme-light {
        --merida-header-ink: #FFFFFF;
        --merida-control-ink: #083B78;
        --merida-search-bg: rgba(10,30,50,.55);
    }
    body.merida-home-header-active:has(#header:hover, #tpanel:hover, #header :focus-visible, #tpanel :focus-visible),
    body.merida-home-header-active.merida-header-scrolled {
        --merida-header-ink: #083B78;
        --merida-control-ink: #FFFFFF;
        --merida-search-bg: rgba(255,255,255,.95);
    }
    body.merida-home-header-active .body { padding-top: 0 !important; }
    body.merida-home-header-active .body > .main-banners {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        margin: 0 0 20px !important;
        box-sizing: border-box;
    }
    body.merida-home-header-active .body > .main-banners .desk-banner {
        width: 100% !important;
        height: 650px !important;
        object-fit: cover;
        object-position: center;
    }
    body.merida-home-header-active #tpanel,
    body.merida-home-header-active #header {
        background: transparent !important;
        box-shadow: none !important;
        transition: background-color .3s ease, box-shadow .3s ease, color .3s ease;
    }
    body.merida-home-header-active #tpanel a {
        color: var(--merida-header-ink) !important;
        transition: color .3s ease;
    }
    body.merida-home-header-active:has(#header:hover, #tpanel:hover, #header :focus-visible, #tpanel :focus-visible) #header,
    body.merida-home-header-active:has(#header:hover, #tpanel:hover, #header :focus-visible, #tpanel :focus-visible) #tpanel,
    body.merida-home-header-active.merida-header-scrolled #header,
    body.merida-home-header-active.merida-header-scrolled #tpanel { background: #FFFFFF !important; }
    body.merida-home-header-active.merida-header-scrolled #header { box-shadow: 0 5px 25px rgba(0,0,0,.06) !important; }

    /* SVG logo and award */
    body.merida-home-header-active #header .logo .merida-logo-ready { position: relative; }
    body.merida-home-header-active #header .logo .merida-logo-ready img.merida-original-logo { opacity: 0 !important; }
    body.merida-home-header-active .merida-dynamic-logo {
        display: block;
        position: absolute;
        inset: 0;
        pointer-events: none;
    }
    body.merida-home-header-active .merida-dynamic-logo::before {
        content: '';
        position: absolute;
        inset: 0;
        background-color: var(--merida-header-ink);
        -webkit-mask-image: url('/bitrix/templates/proopt_default/home-header/images/logo%20merida%20blue.svg');
        mask-image: url('/bitrix/templates/proopt_default/home-header/images/logo%20merida%20blue.svg');
        -webkit-mask-size: contain;
        mask-size: contain;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-position: left bottom;
        mask-position: left bottom;
        transform: translateY(-6px);
        transition: background-color .3s ease;
    }
    body.merida-home-header-active .merida-dynamic-logo::after {
        content: '';
        position: absolute;
        top: 0;
        right: 2px;
        width: 14%;
        max-width: 36px;
        aspect-ratio: 1 / 1;
        background-image: url('/bitrix/templates/proopt_default/home-header/images/top%20brand%20belarus%202026.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    /* Text and controls */
    body.merida-home-header-active #header .phone,
    body.merida-home-header-active #header .phone a,
    body.merida-home-header-active #header .phone a:hover,
    body.merida-home-header-active #header .callback,
    body.merida-home-header-active #header .callback span,
    body.merida-home-header-active #header .callback i,
    body.merida-home-header-active #header .basketinhead a,
    body.merida-home-header-active #header .basketinhead .title,
    body.merida-home-header-active #header .basketinhead .descr,
    body.merida-home-header-active #tpanel .authinhead,
    body.merida-home-header-active #tpanel .authinheadinner { color: var(--merida-header-ink) !important; }

    body.merida-home-header-active #header .searchinhead {
        border: 1px solid var(--merida-header-ink) !important;
        background: var(--merida-search-bg) !important;
        border-radius: 5px;
        transition: background-color .3s, border-color .3s;
    }
    body.merida-home-header-active #header .searchinhead .aroundtext .text {
        color: var(--merida-header-ink) !important;
        background: transparent !important;
    }
    body.merida-home-header-active #header .searchinhead input::placeholder { color: var(--merida-header-ink) !important; opacity: .65; }
    body.merida-home-header-active #header .searchinhead input:focus-visible { outline: 2px solid var(--merida-header-ink); outline-offset: -2px; }
    body.merida-home-header-active #header .searchinhead .zoom { background: var(--merida-header-ink) !important; border-radius: 0 4px 4px 0; }
    body.merida-home-header-active #header .catalogmenu li.parent,
    body.merida-home-header-active #header .catalogmenu a.parent {
        background: var(--merida-header-ink) !important;
        color: var(--merida-control-ink) !important;
        border-radius: 5px;
    }

    /* SVG icons */
    body.merida-home-header-active #header .phone .icon,
    body.merida-home-header-active #header .basketinhead .icon,
    body.merida-home-header-active #tpanel .authinhead .icon,
    body.merida-home-header-active #header .searchinhead .enter .icon,
    body.merida-home-header-active #header .searchinhead .zoom .icon,
    body.merida-home-header-active #header .catalogmenu a.parent .icon.menu {
        background: var(--merida-header-ink) !important;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-position: center;
        mask-position: center;
        -webkit-mask-size: contain;
        mask-size: contain;
        transition: background-color .3s;
    }
    body.merida-home-header-active #header .phone .icon {
        -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M22%2016.9v3a2%202%200%200%201-2.2%202%20A19.8%2019.8%200%200%201%203.1%205.2%202%202%200%200%201%205.1%203h3%20a2%202%200%200%201%202%201.7l.8%203.1a2%202%200%200%201-.5%202.1%20l-1.3%201.3a16%2016%200%200%200%205.7%205.7l1.3-1.3%20a2%202%200%200%201%202.1-.5l3.1.8a2%202%200%200%201%201.7%201.9z%22%2F%3E%3C%2Fsvg%3E");
        mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M22%2016.9v3a2%202%200%200%201-2.2%202%20A19.8%2019.8%200%200%201%203.1%205.2%202%202%200%200%201%205.1%203h3%20a2%202%200%200%201%202%201.7l.8%203.1a2%202%200%200%201-.5%202.1%20l-1.3%201.3a16%2016%200%200%200%205.7%205.7l1.3-1.3%20a2%202%200%200%201%202.1-.5l3.1.8a2%202%200%200%201%201.7%201.9z%22%2F%3E%3C%2Fsvg%3E");
    }
    body.merida-home-header-active #header .basketinhead .icon {
        -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%2221%22%20r%3D%221%22%2F%3E%3Ccircle%20cx%3D%2220%22%20cy%3D%2221%22%20r%3D%221%22%2F%3E%3Cpath%20d%3D%22M1%201h4l4%2015h11l3-11H6%22%2F%3E%3C%2Fsvg%3E");
        mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%2221%22%20r%3D%221%22%2F%3E%3Ccircle%20cx%3D%2220%22%20cy%3D%2221%22%20r%3D%221%22%2F%3E%3Cpath%20d%3D%22M1%201h4l4%2015h11l3-11H6%22%2F%3E%3C%2Fsvg%3E");
        -webkit-mask-size: 29px;
        mask-size: 29px;
    }
    body.merida-home-header-active #tpanel .authinhead .icon {
        -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%2210%22%20width%3D%2214%22%20height%3D%2211%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%2010V7a4%204%200%200%201%208%200v3%22%2F%3E%3C%2Fsvg%3E");
        mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%2210%22%20width%3D%2214%22%20height%3D%2211%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%2010V7a4%204%200%200%201%208%200v3%22%2F%3E%3C%2Fsvg%3E");
        width: 12px;
        height: 12px;
    }
    body.merida-home-header-active #header .searchinhead .enter .icon {
        -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2210.5%22%20cy%3D%2210.5%22%20r%3D%226.5%22%2F%3E%3Cpath%20d%3D%22m16%2016%205%205%22%2F%3E%3C%2Fsvg%3E");
        mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2210.5%22%20cy%3D%2210.5%22%20r%3D%226.5%22%2F%3E%3Cpath%20d%3D%22m16%2016%205%205%22%2F%3E%3C%2Fsvg%3E");
    }
    body.merida-home-header-active #header .searchinhead .zoom .icon {
        -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2012h16M14%206l6%206-6%206%22%2F%3E%3C%2Fsvg%3E");
        mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2012h16M14%206l6%206-6%206%22%2F%3E%3C%2Fsvg%3E");
        background: var(--merida-control-ink) !important;
    }
    body.merida-home-header-active #header .catalogmenu a.parent .icon.menu {
        -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%206h18M3%2012h18M3%2018h18%22%2F%3E%3C%2Fsvg%3E");
        mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%206h18M3%2012h18M3%2018h18%22%2F%3E%3C%2Fsvg%3E");
        background: var(--merida-control-ink) !important;
    }
}

.merida-dynamic-logo { display: none; }

@media (prefers-reduced-motion: reduce) {
    body.merida-home-header-active #header,
    body.merida-home-header-active #tpanel,
    body.merida-home-header-active #tpanel a,
    body.merida-home-header-active .merida-dynamic-logo::before { transition: none !important; }
}


/* ==========================================
   MERIDA — PREMIUM HERO BANNERS
   ========================================== */

/* По умолчанию текстовый блок скрыт */

.merida-hero-overlay {
    display: none;
}

@media screen and (min-width: 1261px) {

    /* Контейнер слайда */

    body.merida-home-header-active
    .merida-home-hero .main-banners__item {
        position: relative;
    }

    /* Цветовая тема баннера */

    .merida-home-hero [data-text-theme="dark"] {
        --hero-text: #083B78;
        --hero-button-bg: #083B78;
        --hero-button-text: #FFFFFF;
    }

    .merida-home-hero [data-text-theme="light"] {
        --hero-text: #FFFFFF;
        --hero-button-bg: #FFFFFF;
        --hero-button-text: #083B78;
    }

    /* Текст поверх изображения */

    body.merida-home-header-active
    .merida-home-hero .merida-hero-overlay {
        position: absolute;
        inset: 160px 0 35px;

        display: flex !important;
        align-items: center;

        pointer-events: none;
    }

    /* Центральная контентная область */

    .merida-hero-inner {
        width: calc(100% - 20px);
        max-width: 1240px;

        margin: 0 auto;

        display: flex;
        box-sizing: border-box;
    }

    /* Положение текстового блока */

    [data-text-position="left"]
    .merida-hero-inner {
        justify-content: flex-start;
    }

    [data-text-position="center"]
    .merida-hero-inner {
        justify-content: center;
    }

    [data-text-position="right"]
    .merida-hero-inner {
        justify-content: flex-end;
    }

    /* Общая типографика */

    .merida-hero-copy {
        width: 50%;
        color: var(--hero-text);
        text-align: left !important;

        font-family: inherit;
        text-shadow: none;

        box-sizing: border-box;
    }

    /* Заголовок */

    .merida-hero-title {
        font-size: 52px;
        font-weight: 600;
        line-height: 1.1;
        letter-spacing: -1px;

        color: var(--hero-text);

        max-width: 560px;

        margin: 0 0 12px;
        text-align: left !important;

        overflow-wrap: break-word;
    }

    /* Подзаголовок */

    .merida-hero-subtitle {
        font-size: 18px;
        font-weight: 400;
        line-height: 1.5;

        color: var(--hero-text);

        max-width: 450px;

        margin: 0 0 32px;
        text-align: left !important;
    }

    /* Кнопка */

    .merida-hero-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        gap: 16px;
        padding: 18px 26px;

        background: var(--hero-button-bg);
        color: var(--hero-button-text) !important;

        border: 0;
        border-radius: 0;

        font-size: 12px;
        font-weight: 600;
        letter-spacing: 1px;

        text-transform: uppercase;
        text-decoration: none !important;

        pointer-events: auto;

        transition:
            background-color .25s ease,
            color .25s ease;
    }

    /* Стрелка */

    .merida-hero-button::after {
        content: '→';

        font-size: 20px;
        font-weight: 400;
        line-height: 1;

        transition: transform .25s ease;
    }

    /* Наведение на кнопку */

    .merida-hero-button:hover {
        background: var(--hero-button-text);
        color: var(--hero-button-bg) !important;
    }

    .merida-hero-button:hover::after {
        transform: translateX(4px);
    }

    .merida-hero-button:focus-visible {
        outline: 2px solid currentColor;
        outline-offset: -5px;
    }
}

/* Отключение анимации */

@media (prefers-reduced-motion: reduce) {

    .merida-hero-button,
    .merida-hero-button::after {
        transition: none !important;
    }

}

    @media (min-width: 1261px) {

        /* Цвет навигации */

        body.merida-home-header-active {
            --merida-nav-color: #083B78;

            --merida-cursor-prev:
                url("data:image/svg+xml,%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20width%3D%2232%22%20height%3D%2232%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20viewBox%3D%220%200%2032%2032%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M28%2016H4M14%206L4%2016L14%2026%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20fill%3D%22none%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20stroke%3D%22%23083B78%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20stroke-width%3D%221.7%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20stroke-linecap%3D%22round%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20stroke-linejoin%3D%22round%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fsvg%3E%0A%20%20%20%20%20%20%20%20") 16 16, pointer;

            --merida-cursor-next:
                url("data:image/svg+xml,%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20width%3D%2232%22%20height%3D%2232%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20viewBox%3D%220%200%2032%2032%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M4%2016H28M18%206L28%2016L18%2026%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20fill%3D%22none%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20stroke%3D%22%23083B78%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20stroke-width%3D%221.7%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20stroke-linecap%3D%22round%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20stroke-linejoin%3D%22round%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fsvg%3E%0A%20%20%20%20%20%20%20%20") 16 16, pointer;
        }

        body.merida-home-header-active.merida-theme-light {
            --merida-nav-color: #FFFFFF;

            --merida-cursor-prev:
                url("data:image/svg+xml,%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20width%3D%2232%22%20height%3D%2232%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20viewBox%3D%220%200%2032%2032%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M28%2016H4M14%206L4%2016L14%2026%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20fill%3D%22none%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20stroke%3D%22%23FFFFFF%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20stroke-width%3D%221.7%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20stroke-linecap%3D%22round%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20stroke-linejoin%3D%22round%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fsvg%3E%0A%20%20%20%20%20%20%20%20") 16 16, pointer;

            --merida-cursor-next:
                url("data:image/svg+xml,%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20width%3D%2232%22%20height%3D%2232%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20viewBox%3D%220%200%2032%2032%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M4%2016H28M18%206L28%2016L18%2026%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20fill%3D%22none%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20stroke%3D%22%23FFFFFF%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20stroke-width%3D%221.7%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20stroke-linecap%3D%22round%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20stroke-linejoin%3D%22round%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fsvg%3E%0A%20%20%20%20%20%20%20%20") 16 16, pointer;
        }

        /* Точки по центру */

        body.merida-home-header-active .merida-home-hero .slick-dots {
            position: absolute !important;
            bottom: 15px !important;
            left: 0 !important;
            right: 0 !important;

            width: 100% !important;
            margin: 0 !important;
            padding: 0 !important;

            display: flex !important;
            justify-content: center;
            align-items: center;

            z-index: 5;
        }

        body.merida-home-header-active .merida-home-hero .slick-dots li {
            width: 24px !important;
            height: 24px !important;
            margin: 0 !important;
            padding: 0 !important;
            background: transparent !important;
        }

        body.merida-home-header-active .merida-home-hero .slick-dots li button,
        body.merida-home-header-active .merida-home-hero .slick-dots li div {
            position: relative !important;
            width: 24px !important;
            height: 24px !important;
            padding: 0 !important;

            background: transparent !important;
            cursor: pointer;
        }

        body.merida-home-header-active .merida-home-hero .slick-dots li button:before,
        body.merida-home-header-active .merida-home-hero .slick-dots li div:before {
            content: '' !important;
            position: absolute !important;

            top: 50% !important;
            left: 50% !important;

            transform: translate(-50%, -50%);

            width: 7px !important;
            height: 7px !important;

            border-radius: 50% !important;
            background: var(--merida-nav-color) !important;

            opacity: .4 !important;
            box-shadow: none !important;

            transition: opacity .25s,
                        background-color .25s;
        }

        body.merida-home-header-active .merida-home-hero .slick-dots li.slick-active button:before,
        body.merida-home-header-active .merida-home-hero .slick-dots li.slick-active div:before,
        body.merida-home-header-active .merida-home-hero .slick-dots li:hover button:before,
        body.merida-home-header-active .merida-home-hero .slick-dots li:hover div:before {
            opacity: 1 !important;
        }

        body.merida-home-header-active .merida-home-hero .slick-dots li button:focus-visible {
            outline: 1px solid var(--merida-nav-color) !important;
        }

        /* Прозрачные боковые зоны */

        body.merida-home-header-active .merida-home-hero .slick-arrow {
            position: absolute !important;

            top: 160px !important;
            bottom: 0 !important;

            width: 7% !important;
            max-width: 120px !important;
            height: auto !important;

            margin: 0 !important;
            padding: 0 !important;

            background: transparent !important;
            border: none !important;
            box-shadow: none !important;

            opacity: 1 !important;
            transform: none !important;

            font-size: 0 !important;

            z-index: 4 !important;
        }

        /* Убираем старые стрелки */

        body.merida-home-header-active .merida-home-hero .slick-arrow::before,
        body.merida-home-header-active .merida-home-hero .slick-arrow::after {
            content: none !important;
            display: none !important;
        }

        /* Левая зона */

        body.merida-home-header-active .merida-home-hero .slick-prev {
            left: 0 !important;
            right: auto !important;

            cursor: var(--merida-cursor-prev) !important;
        }

        /* Правая зона */

        body.merida-home-header-active .merida-home-hero .slick-next {
            right: 0 !important;
            left: auto !important;

            cursor: var(--merida-cursor-next) !important;
        }

        /* Навигация с клавиатуры */

        body.merida-home-header-active .merida-home-hero .slick-arrow:focus-visible {
            outline: 2px solid var(--merida-nav-color) !important;
            outline-offset: -3px;
        }

        body.merida-home-header-active .merida-home-hero .slick-arrow:focus-visible::before {
            display: block !important;
            position: absolute !important;
            inset: 0 !important;
            width: auto !important;
            height: auto !important;

            color: var(--merida-nav-color) !important;
            background: transparent !important;

            font-size: 32px !important;
            line-height: 1;

            align-content: center;
            text-align: center;
        }

        body.merida-home-header-active .merida-home-hero .slick-prev:focus-visible::before {
            content: '←' !important;
        }

        body.merida-home-header-active .merida-home-hero .slick-next:focus-visible::before {
            content: '→' !important;
        }
    }

    @media (min-width: 1261px) and (hover: none) {

        body.merida-home-header-active .merida-home-hero .slick-arrow::before {
            display: block !important;
            position: absolute !important;
            inset: 0 !important;
            width: auto !important;
            height: auto !important;

            color: var(--merida-nav-color) !important;
            background: transparent !important;

            font-size: 28px !important;
            line-height: 1;

            align-content: center;
            text-align: center;
        }

        body.merida-home-header-active .merida-home-hero .slick-prev::before {
            content: '←' !important;
        }

        body.merida-home-header-active .merida-home-hero .slick-next::before {
            content: '→' !important;
        }
    }
    

/* ==========================================
   MERIDA — HERO MOTION | Version 1.3
   ========================================== */
@media (min-width: 1261px) and (prefers-reduced-motion: no-preference) {
    body.merida-home-header-active.merida-hero-motion
    .merida-home-hero .slick-current .merida-hero-title {
        animation: meridaHeroReveal .65s cubic-bezier(.22,1,.36,1) .1s both;
    }
    body.merida-home-header-active.merida-hero-motion
    .merida-home-hero .slick-current .merida-hero-subtitle {
        animation: meridaHeroReveal .65s cubic-bezier(.22,1,.36,1) .2s both;
    }
    body.merida-home-header-active.merida-hero-motion
    .merida-home-hero .slick-current .merida-hero-button {
        animation: meridaHeroReveal .65s cubic-bezier(.22,1,.36,1) .3s both;
    }
    body.merida-home-header-active #header .phone,
    body.merida-home-header-active #header .phone a,
    body.merida-home-header-active #header .callback span,
    body.merida-home-header-active #header .callback i,
    body.merida-home-header-active #header .basketinhead .title,
    body.merida-home-header-active #header .basketinhead .descr,
    body.merida-home-header-active #tpanel a {
        transition: color .35s ease;
    }
}
@keyframes meridaHeroReveal {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    body.merida-home-header-active #header *,
    body.merida-home-header-active #tpanel *,
    body.merida-home-header-active .merida-home-hero .slick-dots li button::before,
    body.merida-home-header-active .merida-home-hero .slick-dots li div::before {
        transition: none !important;
    }
}

    @media (min-width: 768px) and (max-width: 1260px) {

        /* Цветовая тема текста */

        .merida-home-hero [data-text-theme="dark"] {
            --tablet-ink: #083B78;
            --tablet-button-bg: #083B78;
            --tablet-button-ink: #FFFFFF;
        }

        .merida-home-hero [data-text-theme="light"] {
            --tablet-ink: #FFFFFF;
            --tablet-button-bg: #FFFFFF;
            --tablet-button-ink: #083B78;
        }

        /* Контейнер баннера */

        .merida-home-hero [data-hero-layout="hero"] {
            position: relative !important;
        }

        .merida-home-hero
        [data-hero-layout="hero"] .desk-banner {
            display: block !important;
            width: 100% !important;
            height: auto !important;
        }

        .merida-home-hero
        [data-hero-layout="hero"] .mobile-banner {
            display: none !important;
        }

        /* Текст поверх изображения */

        .merida-home-hero
        [data-hero-layout="hero"]
        .merida-hero-overlay {
            display: flex !important;
            position: absolute !important;
            inset: 15px 0 30px !important;
            align-items: center;
            pointer-events: none;
            z-index: 2;
        }

        .merida-home-hero .merida-hero-inner {
            display: flex;
            width: 100%;
            padding: 0 4%;
            margin: 0 auto;
            box-sizing: border-box;
        }

        .merida-home-hero
        [data-text-position="right"]
        .merida-hero-inner {
            justify-content: flex-end;
        }

        .merida-home-hero
        [data-text-position="left"]
        .merida-hero-inner {
            justify-content: flex-start;
        }

        .merida-home-hero
        [data-text-position="center"]
        .merida-hero-inner {
            justify-content: center;
        }

        .merida-home-hero .merida-hero-copy {
            width: 50%;
            text-align: left !important;
            color: var(--tablet-ink, #083B78);
        }

        /* Заголовок */

        .merida-home-hero .merida-hero-title {
            font-size: clamp(26px, 3.8vw, 44px) !important;
            font-weight: 600;
            line-height: 1.1;
            letter-spacing: -.5px;

            color: var(--tablet-ink, #083B78) !important;
            margin: 0 0 10px !important;
            text-align: left !important;
        }

        /* Подзаголовок */

        .merida-home-hero .merida-hero-subtitle {
            font-size: clamp(14px, 1.6vw, 17px) !important;
            font-weight: 400;
            line-height: 1.4;

            color: var(--tablet-ink, #083B78) !important;
            margin: 0 0 20px !important;
            text-align: left !important;
        }

        /* Кнопка */

        .merida-home-hero .merida-hero-button {
            display: inline-flex !important;
            align-items: center;
            gap: 14px;

            background: var(--tablet-button-bg, #083B78);
            color: var(--tablet-button-ink, #FFFFFF) !important;

            min-height: 44px;
            padding: 12px 20px;
            box-sizing: border-box;

            border: 0;
            border-radius: 0;

            font-size: 11px;
            font-weight: 600;
            letter-spacing: .8px;

            text-transform: uppercase;
            text-decoration: none !important;
            pointer-events: auto;
        }

        .merida-home-hero .merida-hero-button::after {
            content: '→';
            font-size: 19px;
            line-height: 1;
        }

        .merida-home-hero .merida-hero-button:focus-visible {
            outline: 2px solid currentColor;
            outline-offset: -4px;
        }
    }
    