/* Build: MERASOFT-MERA-SOFT-20260904-VCQ-COOKIE-MOBILE-SHORT */
/* Build: MERASOFT-MERA-SOFT-20260903-VCH-FANCYBOX-CAPTION-UNIFIED */
/* Build: MERASOFT-FIX-20260820-CC-VERSIONS-EXACT-HEIGHT */
/* =========================================================
   mera-soft.css — финальная чистая версия для /mera-soft/
   Без тестовых v2/v3/v4/v5/v6-патчей.
   ========================================================= */

@font-face {
    font-family: "Onest";
    src: url("/local/templates/mera_base/fonts/onest/Onest-Regular.ttf?v=1") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Onest";
    src: url("/local/templates/mera_base/fonts/onest/Onest-Medium.ttf?v=1") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Onest";
    src: url("/local/templates/mera_base/fonts/onest/Onest-SemiBold.ttf?v=1") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Onest";
    src: url("/local/templates/mera_base/fonts/onest/Onest-Bold.ttf?v=1") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Onest";
    src: url("/local/templates/mera_base/fonts/onest/Onest-ExtraBold.ttf?v=1") format("truetype");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

html {
    scroll-behavior: smooth;
}

body.mera-soft-page,
body.mera-soft-page *,
body:has(.mera-product-page),
body:has(.mera-product-page) * {
    font-family: "Onest", "Segoe UI", Arial, sans-serif !important;
}

body.mera-soft-page,
body.mera-soft-page button,
body.mera-soft-page input,
body.mera-soft-page textarea,
body.mera-soft-page select,
body.mera-soft-page header,
body.mera-soft-page .site-header,
body.mera-soft-page .header,
body.mera-soft-page .site-footer,
body.mera-soft-page .footer,
body.mera-soft-page .mera-product-page,
body:has(.mera-product-page),
body:has(.mera-product-page) button,
body:has(.mera-product-page) input,
body:has(.mera-product-page) textarea,
body:has(.mera-product-page) select,
body:has(.mera-product-page) header,
body:has(.mera-product-page) .site-header,
body:has(.mera-product-page) .header,
body:has(.mera-product-page) .site-footer,
body:has(.mera-product-page) .footer {
    font-family: "Onest", "Segoe UI", Arial, sans-serif !important;
}

.mera-product-page :where(div, section, article, aside, h1, h2, h3, h4, p, a, span, strong, em, ul, li, button, summary, table, th, td) {
    font-family: inherit;
}

.mera-product-page {
    --mera-green: #139b62;
    --mera-green-dark: #087a4a;
    --mera-green-soft: #eaf8f1;
    --mera-green-light: #f6fcf9;
    --mera-orange: #ff6f4f;
    --mera-orange-dark: #f05f42;
    --mera-orange-soft: #fff1eb;
    --mera-control-radius-sm: 999px;
    --mera-control-radius-lg: 999px;
    --mera-border: #dceee6;
    --mera-text: #18222d;
    --mera-muted: #5e6875;

    /* Единая облегчённая система подложек для интерфейсных иконок. */
    --mera-icon-pad-bg: rgba(255, 255, 255, 0.9);
    --mera-icon-pad-bg-hover: rgba(250, 253, 251, 0.98);
    --mera-icon-pad-border: rgba(19, 155, 98, 0.19);
    --mera-icon-pad-border-hover: rgba(19, 155, 98, 0.28);
    --mera-icon-pad-shadow: 0 5px 14px rgba(20, 58, 42, 0.045);
    --mera-icon-pad-shadow-hover: 0 8px 18px rgba(20, 58, 42, 0.065);
    --mera-icon-pad-orange-bg: rgba(255, 250, 247, 0.94);
    --mera-icon-pad-orange-border: rgba(255, 111, 79, 0.23);
    --mera-icon-pad-orange-shadow: 0 5px 14px rgba(255, 111, 79, 0.045);

    --mera-container: 1320px;
    --mera-rhythm-xs: 8px;
    --mera-rhythm-sm: 12px;
    --mera-rhythm-md: 16px;
    --mera-rhythm-lg: 22px;
    --mera-rhythm-xl: 32px;
    --mera-rhythm-xxl: 44px;

    position: relative;
    color: var(--mera-text);
    background: #ffffff;
    font-family: "Onest", "Segoe UI", Arial, sans-serif;
    font-feature-settings: "kern" 1;
    text-rendering: geometricPrecision;
}

.mera-product-page *,
.mera-product-page *::before,
.mera-product-page *::after {
    box-sizing: border-box;
}

.mera-product-page .container {
    max-width: var(--mera-container);
}

.mera-product-page a {
    color: var(--mera-green);
}

.mera-product-page img {
    max-width: 100%;
}

/* ---------------------------------------------------------
   Шапка / футер / breadcrumbs на странице МЕРАСОФТ
   --------------------------------------------------------- */

body.mera-soft-page .site-footer a,
body.mera-soft-page .site-footer--mera a,
body.mera-soft-page .footer a,
body:has(.mera-product-page) .site-footer a,
body:has(.mera-product-page) .site-footer--mera a,
body:has(.mera-product-page) .footer a {
    color: var(--mera-green, #139b62) !important;
}

/* Единая ширина контейнера для шапки, навигации, контента и футера. */
body.mera-soft-page .site-header > .container,
body.mera-soft-page .header-bottom > .container,
body.mera-soft-page .site-footer--mera > .container,
body.mera-soft-page .footer-bottom--mera > .container,
body:has(.mera-product-page) .site-header > .container,
body:has(.mera-product-page) .header-bottom > .container,
body:has(.mera-product-page) .site-footer--mera > .container,
body:has(.mera-product-page) .footer-bottom--mera > .container {
    width: 100% !important;
    max-width: 1320px !important;
}

body.mera-soft-page header .btn,
body.mera-soft-page .site-header .btn,
body.mera-soft-page .header .btn,
body:has(.mera-product-page) header .btn,
body:has(.mera-product-page) .site-header .btn,
body:has(.mera-product-page) .header .btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 18px !important;
    border-color: #139b62 !important;
    background: #139b62 !important;
    color: #ffffff !important;
    border-radius: 999px !important;
    overflow: hidden !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    letter-spacing: -0.01em !important;
    box-shadow: 0 5px 14px rgba(24, 34, 45, 0.07) !important;
}

body.mera-soft-page header .btn:hover,
body.mera-soft-page .site-header .btn:hover,
body.mera-soft-page .header .btn:hover,
body:has(.mera-product-page) header .btn:hover,
body:has(.mera-product-page) .site-header .btn:hover,
body:has(.mera-product-page) .header .btn:hover {
    border-color: #087a4a !important;
    background: #087a4a !important;
    color: #ffffff !important;
    box-shadow: 0 7px 17px rgba(24, 34, 45, 0.1) !important;
}


/* Единая современная иконка телефона в шапке и футере. */
body.mera-soft-page .mera-phone,
body:has(.mera-product-page) .mera-phone {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: fit-content !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #18222d !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-shadow: none !important;
}

body.mera-soft-page .mera-phone::before,
body.mera-soft-page .mera-phone::after,
body:has(.mera-product-page) .mera-phone::before,
body:has(.mera-product-page) .mera-phone::after {
    content: none !important;
    display: none !important;
}

body.mera-soft-page .mera-phone__icon,
body:has(.mera-product-page) .mera-phone__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(19, 155, 98, 0.2);
    border-radius: 12px;
    background: rgba(234, 248, 241, 0.9);
    color: #087a4a;
    box-shadow: 0 5px 14px rgba(20, 58, 42, 0.045);
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

body.mera-soft-page .mera-phone__icon svg,
body:has(.mera-product-page) .mera-phone__icon svg {
    display: block;
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.mera-soft-page .mera-phone:hover,
body.mera-soft-page .mera-phone:focus-visible,
body:has(.mera-product-page) .mera-phone:hover,
body:has(.mera-product-page) .mera-phone:focus-visible {
    color: #087a4a !important;
    outline: none;
}

body.mera-soft-page .mera-phone:hover .mera-phone__icon,
body.mera-soft-page .mera-phone:focus-visible .mera-phone__icon,
body:has(.mera-product-page) .mera-phone:hover .mera-phone__icon,
body:has(.mera-product-page) .mera-phone:focus-visible .mera-phone__icon {
    transform: translateY(-1px);
    border-color: rgba(255, 111, 79, 0.28);
    background: rgba(255, 241, 235, 0.94);
    color: #f05f42;
    box-shadow: 0 7px 17px rgba(255, 111, 79, 0.07);
}

body.mera-soft-page .site-header .mera-phone--header,
body:has(.mera-product-page) .site-header .mera-phone--header {
    margin-left: auto !important;
    gap: 0 !important;
}

body.mera-soft-page .site-header .mera-phone--header .mera-phone__icon,
body:has(.mera-product-page) .site-header .mera-phone--header .mera-phone__icon {
    display: none;
}

/* Фирменная кнопка мобильного меню на страницах МЕРАСОФТ. */
body.mera-soft-page .mobile-menu-btn,
body:has(.mera-product-page) .mobile-menu-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    border: 1px solid rgba(8, 122, 74, 0.2) !important;
    border-radius: 11px !important;
    padding: 0 !important;
    background: #139b62 !important;
    color: #ff6f4f !important;
    box-shadow: 0 6px 16px rgba(20, 58, 42, 0.1) !important;
}

body.mera-soft-page .mobile-menu-btn:hover,
body.mera-soft-page .mobile-menu-btn:focus-visible,
body:has(.mera-product-page) .mobile-menu-btn:hover,
body:has(.mera-product-page) .mobile-menu-btn:focus-visible {
    border-color: rgba(8, 122, 74, 0.3) !important;
    background: #087a4a !important;
    box-shadow: 0 8px 18px rgba(20, 58, 42, 0.14) !important;
}

body.mera-soft-page .mobile-menu-btn .icon,
body:has(.mera-product-page) .mobile-menu-btn .icon {
    position: relative !important;
    display: block !important;
    width: 20px !important;
    height: 16px !important;
    margin: 0 !important;
}

body.mera-soft-page .mobile-menu-btn .line,
body:has(.mera-product-page) .mobile-menu-btn .line {
    position: absolute !important;
    left: 1px !important;
    display: block !important;
    width: 18px !important;
    height: 2px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #ff6f4f !important;
    box-shadow: none !important;
    opacity: 1 !important;
    transform: none !important;
    transform-origin: center !important;
    transition: top 0.18s ease, opacity 0.14s ease, transform 0.18s ease !important;
}

body.mera-soft-page .mobile-menu-btn .line:nth-child(1),
body:has(.mera-product-page) .mobile-menu-btn .line:nth-child(1) {
    top: 1px !important;
}

body.mera-soft-page .mobile-menu-btn .line:nth-child(2),
body:has(.mera-product-page) .mobile-menu-btn .line:nth-child(2) {
    top: 7px !important;
}

body.mera-soft-page .mobile-menu-btn .line:nth-child(3),
body:has(.mera-product-page) .mobile-menu-btn .line:nth-child(3) {
    top: 13px !important;
}

body.mera-soft-page .mobile-menu-btn.opened .line:nth-child(1),
body:has(.mera-product-page) .mobile-menu-btn.opened .line:nth-child(1) {
    top: 7px !important;
    transform: rotate(45deg) !important;
}

body.mera-soft-page .mobile-menu-btn.opened .line:nth-child(2),
body:has(.mera-product-page) .mobile-menu-btn.opened .line:nth-child(2) {
    top: 7px !important;
    opacity: 0 !important;
    transform: scaleX(0) !important;
}

body.mera-soft-page .mobile-menu-btn.opened .line:nth-child(3),
body:has(.mera-product-page) .mobile-menu-btn.opened .line:nth-child(3) {
    top: 7px !important;
    transform: rotate(-45deg) !important;
}

/* Мобильное меню МЕРАСОФТ: компактная отдельная панель. */
body.mera-soft-page .mobile-menu-wrapper .mobile-menu .link,
body.mera-soft-page .mobile-menu-wrapper .mobile-menu .link:visited,
body:has(.mera-product-page) .mobile-menu-wrapper .mobile-menu .link,
body:has(.mera-product-page) .mobile-menu-wrapper .mobile-menu .link:visited {
    color: #087a4a !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

body.mera-soft-page .mobile-menu-wrapper .mobile-menu .link:hover,
body.mera-soft-page .mobile-menu-wrapper .mobile-menu .link:focus-visible,
body:has(.mera-product-page) .mobile-menu-wrapper .mobile-menu .link:hover,
body:has(.mera-product-page) .mobile-menu-wrapper .mobile-menu .link:focus-visible {
    color: #f05f42 !important;
}

@media (max-width: 991px) {
    body.mera-soft-page .mobile-menu-wrapper,
    body:has(.mera-product-page) .mobile-menu-wrapper {
        background: #ffffff !important;
        border-bottom: 1px solid rgba(19, 155, 98, 0.14) !important;
        border-radius: 0 0 22px 22px !important;
        padding-top: 4px !important;
        padding-bottom: 18px !important;
        margin-bottom: 12px !important;
        box-shadow: 0 18px 34px rgba(20, 58, 42, 0.09) !important;
    }

    body.mera-soft-page .mobile-menu-wrapper .mobile-menu,
    body:has(.mera-product-page) .mobile-menu-wrapper .mobile-menu {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        margin: 0 !important;
        padding: 2px 20px 4px !important;
        background: #ffffff !important;
    }

    body.mera-soft-page .mobile-menu-wrapper .mobile-menu > .item,
    body:has(.mera-product-page) .mobile-menu-wrapper .mobile-menu > .item {
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }

    body.mera-soft-page .mobile-menu-wrapper .mobile-menu > .item > .link,
    body:has(.mera-product-page) .mobile-menu-wrapper .mobile-menu > .item > .link {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        min-height: 40px !important;
        margin: 0 !important;
        padding: 6px 16px !important;
        border: 0 !important;
        border-radius: 12px !important;
        background: transparent !important;
        color: #087a4a !important;
        font-size: 15px !important;
        line-height: 1.25 !important;
        font-weight: 700 !important;
    }

    body.mera-soft-page .mobile-menu-wrapper .mobile-menu > .item > .link:active,
    body:has(.mera-product-page) .mobile-menu-wrapper .mobile-menu > .item > .link:active {
        background: rgba(234, 248, 241, 0.72) !important;
    }

}

/* Десктопное меню: без фиолетового visited, hover и активный пункт — фирменный оранжевый. */
body.mera-soft-page .header-bottom .main-navigation .link,
body.mera-soft-page .header-bottom .main-navigation .link:visited,
body:has(.mera-product-page) .header-bottom .main-navigation .link,
body:has(.mera-product-page) .header-bottom .main-navigation .link:visited {
    color: #18222d !important;
    text-decoration: none !important;
    transition: color 0.18s ease !important;
}

body.mera-soft-page .header-bottom .main-navigation .link:hover,
body.mera-soft-page .header-bottom .main-navigation .link:focus-visible,
body.mera-soft-page .header-bottom .main-navigation .link:active,
body.mera-soft-page .header-bottom .main-navigation .link.active,
body.mera-soft-page .header-bottom .main-navigation .link[aria-current="page"],
body.mera-soft-page .header-bottom .main-navigation .item.active > .link,
body.mera-soft-page .header-bottom .main-navigation .item.selected > .link,
body:has(.mera-product-page) .header-bottom .main-navigation .link:hover,
body:has(.mera-product-page) .header-bottom .main-navigation .link:focus-visible,
body:has(.mera-product-page) .header-bottom .main-navigation .link:active,
body:has(.mera-product-page) .header-bottom .main-navigation .link.active,
body:has(.mera-product-page) .header-bottom .main-navigation .link[aria-current="page"],
body:has(.mera-product-page) .header-bottom .main-navigation .item.active > .link,
body:has(.mera-product-page) .header-bottom .main-navigation .item.selected > .link {
    color: #f05f42 !important;
    outline: none !important;
}

body.mera-soft-page .breadcrumb,
body.mera-soft-page .breadcrumbs,
body.mera-soft-page .bx-breadcrumb,
body.mera-soft-page .breadcrumb-wrapper,
body.mera-soft-page .breadcrumb-section,
body.mera-soft-page .breadcrumb-list,
body:has(.mera-product-page) .breadcrumb,
body:has(.mera-product-page) .breadcrumbs,
body:has(.mera-product-page) .bx-breadcrumb,
body:has(.mera-product-page) .breadcrumb-wrapper,
body:has(.mera-product-page) .breadcrumb-section,
body:has(.mera-product-page) .breadcrumb-list {
    display: none !important;
}

/* ---------------------------------------------------------
   Общие элементы
   --------------------------------------------------------- */

.mera-product-page .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 192px;
    min-height: 48px;
    border: 1px solid var(--mera-green);
    border-radius: var(--mera-control-radius-lg);
    padding: 0 24px;
    background: var(--mera-green);
    color: #ffffff !important;
    text-decoration: none !important;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
    box-shadow: 0 7px 18px rgba(20, 58, 42, 0.07);
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.mera-product-page .btn:hover,
.mera-product-page .btn:focus-visible {
    border-color: var(--mera-green-dark);
    background: var(--mera-green-dark);
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(20, 58, 42, 0.1);
    outline: none;
}

.mera-product-page .btn-outline {
    border-color: transparent;
    background: rgba(255, 241, 235, 0.72);
    color: var(--mera-orange-dark) !important;
    box-shadow: none;
}

.mera-product-page .btn-outline:hover,
.mera-product-page .btn-outline:focus,
.mera-product-page .btn-outline:focus-visible,
.mera-product-page .btn-outline:active {
    border-color: transparent;
    background: rgba(255, 225, 212, 0.96);
    color: var(--mera-orange-dark) !important;
    box-shadow: 0 9px 22px rgba(255, 111, 79, 0.09);
    outline: none;
}

.mera-product-section {
    padding: 52px 0;
}

.mera-product-section__head {
    margin-bottom: 24px;
}

.mera-product-section__head h2 {
    margin: 0 !important;
    color: var(--mera-text);
    font-size: 38px;
    line-height: 1.14;
    font-weight: 800;
    letter-spacing: -0.045em;
}

.mera-heading-accent {
    display: inline;
    color: var(--mera-green);
}

.mera-product-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin: 0 0 14px;
    border-radius: 999px;
    padding: 8px 15px;
    background: var(--mera-green-soft);
    color: var(--mera-green);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.mera-product-label::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--mera-orange);
    box-shadow: 0 0 0 4px rgba(255, 111, 79, 0.13);
}

/* ---------------------------------------------------------
   Hero / первый экран
   --------------------------------------------------------- */

.mera-product-hero--promo {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 8px 0 6px;
    overflow: hidden;
    background: #ffffff;
    border: 0;
    box-shadow: none;
}

/* Фон hero перенесён в отдельный прозрачный SVG под телефоном. */
.mera-product-hero--promo::before,
.mera-product-hero--promo::after {
    content: none;
    display: none;
}

.mera-product-hero--promo .container {
    position: relative;
    z-index: 2;
    max-width: var(--mera-container) !important;
}

.mera-product-hero--promo .mera-product-hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 642px) minmax(0, 642px);
    column-gap: 36px;
    align-items: stretch;
    min-height: 460px;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    outline: none;
    background: transparent;
    box-shadow: none;
}

.mera-product-hero--promo .mera-product-hero__inner::before,
.mera-product-hero--promo .mera-product-hero__inner::after {
    content: none !important;
    display: none !important;
}

.mera-product-hero--promo .mera-product-hero__content,
.mera-product-hero--promo .mera-product-hero__visual {
    position: relative;
    z-index: 2;
    min-width: 0;
}
/* Левая колонка: единый вертикальный ритм */
.mera-product-hero--promo .mera-product-hero__content {
    align-self: center;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 642px;
    padding-top: 0;
}

.mera-product-hero--promo .mera-product-hero__title {
    max-width: 455px;
    margin: 0 0 14px !important;
    color: var(--mera-text);
    font-size: 42px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.055em;
}

.mera-product-hero--promo .mera-product-hero__text {
    max-width: 528px;
    margin: 0 0 22px;
    color: var(--mera-muted);
    font-size: 15px;
    line-height: 1.56;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.mera-product-hero--promo .mera-product-hero__buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    max-width: 636px;
    margin: 0 0 14px;
}

.mera-product-hero--promo .mera-product-hero__buttons .btn {
    width: 100%;
    min-width: 0;
    height: 50px;
    min-height: 50px;
    padding: 0 20px;
    font-size: 14px;
    white-space: nowrap;
}

/* Иерархия CTA: основная кнопка объёмная, вторичная остаётся лёгкой. */
.mera-product-hero--promo .mera-product-hero__buttons .btn:not(.btn-outline) {
    box-shadow: 0 8px 20px rgba(20, 58, 42, 0.08);
}

.mera-product-hero--promo .mera-product-hero__buttons .btn:not(.btn-outline):hover,
.mera-product-hero--promo .mera-product-hero__buttons .btn:not(.btn-outline):focus-visible {
    box-shadow: 0 11px 24px rgba(20, 58, 42, 0.11);
}

.mera-product-hero--promo .mera-product-hero__buttons .btn-outline {
    box-shadow: none;
}

.mera-product-hero--promo .mera-product-hero__buttons .btn-outline:hover,
.mera-product-hero--promo .mera-product-hero__buttons .btn-outline:focus,
.mera-product-hero--promo .mera-product-hero__buttons .btn-outline:focus-visible,
.mera-product-hero--promo .mera-product-hero__buttons .btn-outline:active {
    box-shadow: 0 7px 16px rgba(255, 111, 79, 0.07);
}

/* Дополнительный CTA показывается только тогда, когда кнопка консультации скрыта из шапки. */
.mera-product-hero--promo .mera-hero-consultation-btn {
    display: none;
}

/* QR-блок */
.mera-download-card {
    width: 100%;
    max-width: 636px;
    margin: 0;
    border: 0;
    border-radius: 22px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 36px rgba(20, 58, 42, 0.065);
}

.mera-download-card__title {
    margin: 0 0 14px;
    color: var(--mera-text);
    font-size: 16px;
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: -0.015em;
}

.mera-download-card__body {
    display: grid;
    grid-template-columns: 138px minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
}

.mera-download-card__qr {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 138px;
    height: 138px;
    border: 1px solid rgba(20, 58, 42, 0.16);
    border-radius: 16px;
    background: #ffffff;
    overflow: hidden;
}

.mera-download-card__qr-img {
    display: block;
    width: 126px;
    height: 126px;
    object-fit: contain;
}

.mera-download-card__stores {
    display: grid;
    gap: 10px;
}

.mera-store-btn,
.mera-store-btn:visited {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    width: 100%;
    min-height: 38px;
    border: 0;
    border-radius: var(--mera-control-radius-sm);
    padding: 8px 13px;
    background: rgba(246, 252, 249, 0.82);
    color: var(--mera-green-dark) !important;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 800;
    text-align: left;
    text-decoration: none;
    outline: none;
    box-shadow: 0 4px 12px rgba(20, 58, 42, 0.045);
    -webkit-tap-highlight-color: transparent;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

/* Фокус не должен выглядеть как второе выбранное состояние. */
.mera-store-btn:focus,
.mera-store-btn:focus-visible {
    color: var(--mera-green-dark) !important;
    outline: none;
}

.mera-store-btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(19, 155, 98, 0.16);
}

/* Оранжевая подложка только у одного активного магазина. */
.mera-store-btn.is-active,
.mera-store-btn.is-active:visited,
.mera-store-btn[aria-pressed="true"] {
    background: rgba(255, 241, 235, 0.72);
    color: var(--mera-orange-dark) !important;
    transform: none;
    box-shadow: 0 5px 14px rgba(255, 111, 79, 0.055);
}

.mera-store-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    min-width: 24px;
    height: 24px;
    border: 0;
    border-radius: 8px;
    background: rgba(222, 244, 233, 0.98);
    color: var(--mera-green-dark);
    box-shadow: none;
}

.mera-store-btn.is-active .mera-store-icon,
.mera-store-btn[aria-pressed="true"] .mera-store-icon {
    background: rgba(255, 223, 210, 0.98);
    color: var(--mera-orange-dark);
    box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
    .mera-store-btn:hover {
        background: rgba(255, 231, 221, 0.92);
        color: var(--mera-orange-dark) !important;
        transform: translateY(-1px);
        box-shadow: 0 9px 22px rgba(255, 111, 79, 0.08);
    }

    .mera-store-btn:hover .mera-store-icon {
        background: rgba(255, 223, 210, 0.98);
        color: var(--mera-orange-dark);
        box-shadow: none;
    }
}

.mera-store-icon svg {
    display: block;
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.mera-store-icon img {
    display: block;
    width: 17px;
    height: 16px;
    object-fit: contain;
}

/* Центральный визуал hero */
.mera-product-hero--promo .mera-product-hero__visual {
    align-self: end;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    min-height: 460px;
    overflow: visible;
    background: transparent;
    isolation: isolate;
}

/* Зафиксированный второй вариант фона под телефоном. */
.mera-product-hero--promo .mera-product-hero__visual::before {
    content: "";
    position: absolute;
    z-index: 0;
    right: -30px;
    bottom: -15px;
    width: min(820px, calc(100% + 30px));
    aspect-ratio: 4 / 3;
    background-image: url("/upload/mera-soft/hero_glow_background.svg");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    opacity: 0.5;
    pointer-events: none;
}

/* Точки уже находятся внутри SVG, поэтому второй декоративный слой не нужен. */
.mera-product-hero--promo .mera-product-hero__visual::after {
    content: none;
    display: none;
}

.mera-hero-phone-img,
.mera-product-hero__visual img {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.mera-product-hero--promo .mera-hero-phone-img--hand,
.mera-product-hero--promo .mera-product-hero__visual img.mera-hero-phone-img--hand {
    position: relative;
    z-index: 3;
    width: auto;
    height: 570px;
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: bottom center;
    margin: 0 48px -36px -68px;
    background: transparent;
    box-shadow: none;
    filter:
        drop-shadow(0 22px 30px rgba(20, 58, 42, 0.11))
        drop-shadow(0 8px 14px rgba(20, 58, 42, 0.055));
    clip-path: none;
}

.mera-product-hero--promo .mera-hero-phone-img--hand {
    -webkit-mask-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 0) 0,
        rgba(0, 0, 0, 0.18) 16px,
        rgba(0, 0, 0, 0.65) 42px,
        #000 78px,
        #000 100%
    );
    mask-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 0) 0,
        rgba(0, 0, 0, 0.18) 16px,
        rgba(0, 0, 0, 0.65) 42px,
        #000 78px,
        #000 100%
    );
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.mera-audience-section,
.mera-product-hero--promo .mera-audience-card {
    display: none !important;
}
/* ---------------------------------------------------------
   Возможности продукта
   --------------------------------------------------------- */

.mera-features-section {
    padding-top: 4px;
    padding-bottom: 30px;
}

.mera-product-section__head--features {
    max-width: 760px;
    margin-bottom: 28px;
}

.mera-section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin: 0 0 12px;
    border-radius: 999px;
    padding: 7px 13px;
    background: var(--mera-orange-soft);
    color: var(--mera-orange-dark);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.mera-section-label::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--mera-orange);
    box-shadow: 0 0 0 4px rgba(255, 111, 79, 0.13);
}

.mera-product-section__head--features h2 {
    margin: 0 0 12px !important;
    color: var(--mera-text);
    font-size: 38px;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.045em;
}

.mera-product-section__head--features p {
    max-width: 650px;
    margin: 0;
    color: var(--mera-muted);
    font-size: 17px;
    line-height: 1.58;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.mera-feature-groups {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.mera-feature-group {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-rows: 44px auto;
    column-gap: 13px;
    row-gap: 14px;
    align-items: center;
    align-content: start;
    overflow: hidden;
    min-height: 178px;
    border: 1px solid transparent;
    border-radius: 24px;
    padding: 18px 20px 20px;
    background:
        linear-gradient(
            180deg,
            rgba(246, 252, 249, 0.78) 0%,
            rgba(251, 254, 252, 0.96) 30%,
            #ffffff 62%
        );
    box-shadow: 0 14px 34px rgba(20, 58, 42, 0.055);
    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        background 0.22s ease;
}

/* Мягкое локальное свечение без отдельного круга или пятна. */
.mera-feature-group::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    left: 0;
    height: 96px;
    border-radius: 23px 23px 0 0;
    background: linear-gradient(
        180deg,
        rgba(19, 155, 98, 0.038) 0%,
        rgba(19, 155, 98, 0.014) 48%,
        rgba(19, 155, 98, 0) 100%
    );
    pointer-events: none;
}

.mera-feature-group > * {
    position: relative;
    z-index: 1;
}

.mera-feature-group--accent {
    border-color: transparent;
    background:
        linear-gradient(
            180deg,
            rgba(255, 248, 245, 0.82) 0%,
            rgba(255, 252, 250, 0.97) 30%,
            #ffffff 62%
        );
}

.mera-feature-group--accent::before {
    background: linear-gradient(
        180deg,
        rgba(255, 111, 79, 0.045) 0%,
        rgba(255, 111, 79, 0.016) 48%,
        rgba(255, 111, 79, 0) 100%
    );
}

.mera-feature-group:hover {
    transform: translateY(-3px);
    border-color: transparent;
    box-shadow: 0 20px 42px rgba(20, 58, 42, 0.075);
}

.mera-feature-group--accent:hover {
    border-color: transparent;
    box-shadow: 0 20px 42px rgba(255, 111, 79, 0.085);
}

/* Иконки: лёгкая почти белая подложка с тонким фирменным контуром. */
.mera-feature-group__icon {
    position: relative;
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    border: 1px solid var(--mera-icon-pad-border);
    border-radius: 13px;
    background: var(--mera-icon-pad-bg);
    color: var(--mera-green-dark);
    box-shadow: var(--mera-icon-pad-shadow);
    overflow: hidden;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        color 0.2s ease;
}

.mera-feature-group__icon::before,
.mera-feature-group__icon::after {
    content: none;
    display: none;
}

.mera-feature-group__icon svg {
    position: relative;
    z-index: 1;
    display: block;
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    overflow: visible;
}

/* Все четыре иконки используют один размер и одну толщину линий. */

.mera-feature-group__icon svg :where(path, rect, circle, ellipse, line, polyline, polygon) {
    vector-effect: non-scaling-stroke;
}

.mera-feature-group--accent .mera-feature-group__icon {
    border-color: var(--mera-icon-pad-orange-border);
    background: var(--mera-icon-pad-orange-bg);
    color: var(--mera-orange-dark);
    box-shadow: var(--mera-icon-pad-orange-shadow);
}

.mera-feature-group--accent .mera-feature-group__icon::before,
.mera-feature-group--accent .mera-feature-group__icon::after {
    content: none;
    display: none;
}

/* Единая hover-логика без утяжеления заливкой. */
.mera-feature-group:hover .mera-feature-group__icon {
    transform: translateY(-1px);
    border-color: var(--mera-icon-pad-border-hover);
    background: var(--mera-icon-pad-bg-hover);
    box-shadow: var(--mera-icon-pad-shadow-hover);
}

.mera-feature-group--accent:hover .mera-feature-group__icon {
    border-color: rgba(255, 111, 79, 0.32);
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(255, 111, 79, 0.065);
}

.mera-feature-group h3 {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    margin: 0 !important;
    color: var(--mera-text);
    font-size: 20px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.mera-feature-group--accent h3 {
    color: var(--mera-orange);
}

.mera-feature-group ul {
    grid-column: 1 / -1;
    grid-row: 2;
    align-self: start;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mera-feature-group li {
    position: relative;
    margin-bottom: 7px;
    padding-left: 22px;
    color: var(--mera-muted);
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
}

.mera-feature-group li:last-child {
    margin-bottom: 0;
}

.mera-feature-group li::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 0.58em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--mera-green);
    box-shadow: 0 0 0 4px rgba(19, 155, 98, 0.085);
}

.mera-feature-group--accent li::before {
    background: var(--mera-orange);
    box-shadow: 0 0 0 4px rgba(255, 111, 79, 0.11);
}

/* ---------------------------------------------------------
   SEO / подробное описание
   --------------------------------------------------------- */

.mera-description-section {
    padding-top: 20px;
    padding-bottom: 28px;
}

.mera-description-card {
    display: grid;
    /* Компактная двухколоночная композиция: фото и текст остаются визуально равными. */
    grid-template-columns: 50% minmax(0, 1fr);
    gap: 24px 30px;
    align-items: start;
    border: 1px solid transparent;
    border-radius: 26px;
    padding: 28px 30px 26px;

    background:
        radial-gradient(
            ellipse 48% 68% at 100% 0%,
            rgba(19, 155, 98, 0.09) 0%,
            rgba(19, 155, 98, 0.038) 34%,
            rgba(19, 155, 98, 0.012) 62%,
            rgba(19, 155, 98, 0) 84%
        ),
        radial-gradient(
            ellipse 58% 52% at 0% 100%,
            rgba(255, 111, 79, 0.12) 0%,
            rgba(255, 111, 79, 0.058) 34%,
            rgba(255, 111, 79, 0.02) 62%,
            rgba(255, 111, 79, 0) 86%
        ),
        linear-gradient(
            180deg,
            rgba(246, 252, 249, 0.96) 0%,
            rgba(251, 254, 252, 0.98) 58%,
            #ffffff 100%
        );

    box-shadow: 0 18px 42px rgba(20, 58, 42, 0.06);
}
.mera-description-card__visual {
    position: relative;
    align-self: center;
    width: 100%;
    min-height: 0;
}

.mera-description-photo {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid rgba(220, 238, 230, 0.96);
    border-radius: 22px;
    background: #eef8f3;
    color: inherit;
    text-decoration: none !important;
    cursor: zoom-in;
    box-shadow: 0 12px 28px rgba(20, 58, 42, 0.07);
    transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.mera-description-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    background: linear-gradient(
        180deg,
        rgba(15, 45, 34, 0) 68%,
        rgba(15, 45, 34, 0.07) 100%
    );
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.mera-description-photo__img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    transform: none;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.mera-description-photo__zoom {
    position: absolute;
    z-index: 2;
    right: 12px;
    bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--mera-icon-pad-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--mera-green-dark);
    box-shadow: 0 6px 16px rgba(20, 58, 42, 0.06);
    pointer-events: none;
    transition: transform 0.22s ease, background 0.22s ease;
}

.mera-description-photo__zoom svg {
    display: block;
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mera-description-photo:focus-visible {
    outline: 3px solid rgba(19, 155, 98, 0.2);
    outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
    .mera-description-photo:hover {
        border-color: rgba(19, 155, 98, 0.25);
        box-shadow: 0 18px 38px rgba(20, 58, 42, 0.1);
    }

    .mera-description-photo:hover::after {
        opacity: 0.3;
    }

    .mera-description-photo:hover .mera-description-photo__img {
        transform: scale(1.025);
        filter: saturate(1.02);
    }

    .mera-description-photo:hover .mera-description-photo__zoom {
        transform: translateY(-1px);
        border-color: var(--mera-icon-pad-border-hover);
        background: #ffffff;
        box-shadow: 0 8px 20px rgba(20, 58, 42, 0.075);
    }
}

.mera-description-card__text {
    align-self: start;
    min-width: 0;
    padding-top: 0;
}

.mera-description-card__text h2 {
    max-width: 610px;
    margin: 0 0 16px !important;
    color: var(--mera-text);
    font-size: 38px;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.045em;
}

.mera-description-card__text > p {
    max-width: 620px;
    margin: 0 0 14px;
    color: var(--mera-muted);
    font-size: 16px;
    line-height: 1.58;
    font-weight: 500;
}

.mera-description-card__text > p:last-child {
    margin-bottom: 0;
}


.mera-description-card__seo-copy {
    grid-column: 1 / -1;
    min-width: 0;
    margin-top: 0;
    padding-top: 18px;
    border-top: 1px solid rgba(19, 155, 98, 0.12);
    color: var(--mera-muted);
}

.mera-description-card__seo-copy p {
    margin: 0 0 11px;
    color: var(--mera-muted);
    font-size: 15px;
    line-height: 1.56;
    font-weight: 500;
}

.mera-description-card__seo-copy strong {
    color: var(--mera-text);
    font-weight: 700;
}

.mera-seo-visible-copy {
    max-width: 1080px;
}

.mera-seo-visible-copy > :last-child {
    margin-bottom: 0;
}

.mera-seo-intro-rest {
    max-width: 1080px;
}

.mera-seo-more[hidden] {
    display: none !important;
}

.mera-seo-more:not([hidden]) {
    display: block;
    margin-top: 18px;
    animation: meraSeoReveal 0.22s ease both;
}

@keyframes meraSeoReveal {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mera-seo-more-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 16px;
}

.mera-seo-more-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 42px;
    border: 1px solid rgba(19, 155, 98, 0.18);
    border-radius: 999px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--mera-green-dark);
    font: inherit;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 750;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(20, 58, 42, 0.035);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.mera-seo-more-toggle:hover {
    transform: translateY(-1px);
    border-color: rgba(19, 155, 98, 0.3);
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(20, 58, 42, 0.055);
}

.mera-seo-more-toggle:focus-visible {
    outline: 3px solid rgba(19, 155, 98, 0.16);
    outline-offset: 3px;
}

.mera-seo-more-toggle__icon {
    display: block;
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s ease;
}

.mera-seo-more-toggle.is-open .mera-seo-more-toggle__icon {
    transform: rotate(180deg);
}

.mera-seo-topic-grid {
    columns: 2;
    column-gap: 34px;
    margin-top: 2px;
}

.mera-seo-topic {
    display: inline-block;
    width: 100%;
    min-width: 0;
    margin: 0 0 22px;
    padding-top: 15px;
    border-top: 1px solid rgba(19, 155, 98, 0.13);
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
}

.mera-seo-topic h3 {
    margin: 0 0 9px !important;
    color: var(--mera-text);
    font-size: 20px;
    line-height: 1.28;
    font-weight: 800;
    letter-spacing: -0.022em;
}

.mera-seo-topic p:last-child {
    margin-bottom: 0;
}

.mera-description-card__seo-copy .mera-seo-closing {
    max-width: 1120px;
    margin: 0;
    padding-top: 16px;
    border-top: 1px solid rgba(19, 155, 98, 0.12);
    color: var(--mera-text);
}

.mera-seo-audience {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 22px 0 16px;
}

.mera-seo-audience--wide {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.mera-seo-audience__item {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    min-height: 92px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 18px;
    padding: 13px 14px;
    background: rgba(234, 248, 241, 0.62);
    box-shadow: none;
    transition:
        transform 0.22s ease,
        background 0.22s ease;
}

.mera-seo-audience__item::before {
    content: none;
    display: none;
}

.mera-seo-audience__item > * {
    position: relative;
    z-index: 1;
}

.mera-seo-audience__item:hover {
    transform: translateY(-1px);
    border-color: transparent;
    background: rgba(234, 248, 241, 0.9);
    box-shadow: none;
}

.mera-seo-audience__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border: 1px solid var(--mera-icon-pad-border);
    border-radius: 13px;
    background: var(--mera-icon-pad-bg);
    color: var(--mera-green-dark);
    font-size: 0;
    line-height: 0;
    overflow: hidden;
    box-shadow: var(--mera-icon-pad-shadow);
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.mera-seo-audience__item:hover .mera-seo-audience__icon {
    transform: translateY(-1px);
    border-color: var(--mera-icon-pad-border-hover);
    background: var(--mera-icon-pad-bg-hover);
    box-shadow: var(--mera-icon-pad-shadow-hover);
}

.mera-seo-audience__icon svg {
    display: block;
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    overflow: visible;
}

.mera-seo-audience__item:nth-child(1) .mera-seo-audience__icon svg {
    width: 23px;
    height: 23px;
}

.mera-seo-audience__item:nth-child(4) .mera-seo-audience__icon svg {
    width: 26px;
    height: 26px;
}

.mera-seo-audience__icon svg :where(path, rect, circle, ellipse, line, polyline, polygon) {
    vector-effect: non-scaling-stroke;
}

.mera-seo-audience__item h3 {
    margin: 0 0 5px !important;
    color: var(--mera-text);
    font-size: 15.5px;
    line-height: 1.25;
    font-weight: 800;
}

.mera-seo-audience__item p {
    margin: 0 !important;
    color: #52606d;
    font-size: 13px;
    line-height: 1.42;
}

/* ---------------------------------------------------------
   Версии и приобретение
   --------------------------------------------------------- */

.mera-versions-section {
    padding-top: 20px;
    padding-bottom: 18px;
}

.mera-product-section__head--versions {
    margin-bottom: 26px;
}

.mera-section-label--versions {
    background: var(--mera-orange-soft);
    color: var(--mera-orange-dark);
}

.mera-section-label--versions::before {
    background: var(--mera-orange);
    box-shadow: 0 0 0 4px rgba(255, 111, 79, 0.13);
}

.mera-versions-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 24px;
    align-items: stretch;
}

.mera-versions-main {
    display: block;
    min-width: 0;
}

.mera-versions-side {
    position: relative;
    display: block;
    min-width: 0;
    min-height: 0;
    align-self: stretch;
}

.mera-compare-table {
    position: relative;
    flex: 1 1 auto;
    width: 100%;
    overflow: hidden;
    height: auto;
    border: 0;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 17px 40px rgba(20, 58, 42, 0.065);
}

.mera-compare-table table {
    position: relative;
    z-index: 1;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

.mera-compare-table th,
.mera-compare-table td {
    height: 58px;
    border-right: 1px solid rgba(220, 238, 230, 0.82);
    border-bottom: 1px solid rgba(220, 238, 230, 0.9);
    padding: 14px 16px;
    color: var(--mera-text);
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
    vertical-align: middle;
}

.mera-compare-table th:last-child,
.mera-compare-table td:last-child {
    border-right: 0;
}

.mera-compare-table th:first-child,
.mera-compare-table td:first-child {
    width: 43%;
    text-align: left;
}

.mera-compare-table th {
    height: 78px;
    border-bottom-color: rgba(19, 155, 98, 0.18);
    background: linear-gradient(
        180deg,
        rgba(242, 250, 246, 0.98) 0%,
        rgba(249, 253, 251, 0.98) 100%
    );
    color: var(--mera-text);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.015em;
}

.mera-compare-table th:not(:first-child) {
    color: var(--mera-green-dark);
}

.mera-version-head__inner {
    display: grid;
    grid-template-rows: 20px 20px;
    align-content: center;
    justify-items: center;
    gap: 5px;
    min-height: 45px;
}

.mera-version-head__name {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 20px;
    font-size: 16px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.mera-version-head__meta {
    display: block;
    min-height: 20px;
}

.mera-version-head__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 20px;
    border: 0;
    border-radius: 999px;
    padding: 3px 8px;
    background: var(--mera-orange-soft);
    color: var(--mera-orange-dark);
    font-size: 9px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.035em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: none;
}

/* ПРОФ — основной рекомендуемый вариант. */
.mera-compare-table th:nth-child(3) {
    background: linear-gradient(
        180deg,
        rgba(224, 245, 235, 0.98) 0%,
        rgba(239, 250, 245, 0.98) 100%
    );
    box-shadow:
        inset 1px 0 rgba(19, 155, 98, 0.1),
        inset -1px 0 rgba(19, 155, 98, 0.1);
}

.mera-compare-table td:nth-child(3) {
    background: rgba(234, 248, 241, 0.47);
    box-shadow:
        inset 1px 0 rgba(19, 155, 98, 0.055),
        inset -1px 0 rgba(19, 155, 98, 0.055);
}

.mera-compare-table tbody tr:last-child td {
    border-bottom: 0;
}

.mera-compare-table tbody tr {
    transition: background 0.18s ease;
}

.mera-compare-table tbody tr:hover td:not(:nth-child(3)) {
    background: rgba(246, 252, 249, 0.62);
}

.mera-compare-table tbody tr:hover td:nth-child(3) {
    background: rgba(226, 245, 235, 0.7);
}

.mera-compare-table tbody td:first-child {
    color: var(--mera-text);
    font-weight: 600;
}

/* Мобильное сравнение версий: карточный слайдер вместо широкой таблицы. */
.mera-mobile-versions {
    display: none;
}

.mera-mobile-versions__viewport {
    overflow: hidden;
    width: 100%;
    touch-action: pan-y;
}

.mera-mobile-versions__track {
    display: flex;
    width: 100%;
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.mera-mobile-version-card {
    flex: 0 0 100%;
    min-width: 100%;
    border: 1px solid rgba(19, 155, 98, 0.22);
    border-radius: 22px;
    padding: 22px 16px 10px;
    background: #ffffff;
    box-shadow: 0 15px 34px rgba(20, 58, 42, 0.065);
}

.mera-mobile-version-card--featured {
    border-color: rgba(19, 155, 98, 0.36);
    background:
        radial-gradient(circle at 100% 0%, rgba(19, 155, 98, 0.08), transparent 180px),
        #ffffff;
}

.mera-mobile-version-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 35px;
    margin-bottom: 10px;
}

.mera-mobile-version-card__title {
    margin: 0 !important;
    color: var(--mera-text);
    font-size: 26px;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.mera-mobile-version-card__badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    border-radius: 999px;
    padding: 5px 9px;
    background: var(--mera-orange-soft);
    color: var(--mera-orange-dark);
    font-size: 9px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.035em;
    text-transform: uppercase;
    white-space: nowrap;
}

.mera-mobile-version-card__rows {
    margin: 0;
}

.mera-mobile-version-card__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(32px, auto);
    gap: 14px;
    align-items: center;
    min-height: 64px;
    border-top: 1px solid rgba(220, 238, 230, 0.86);
    padding: 12px 0;
}

.mera-mobile-version-card__feature {
    color: var(--mera-text);
    font-size: 15px;
    line-height: 1.34;
    font-weight: 700;
}

.mera-mobile-version-card__value {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    max-width: 126px;
    color: var(--mera-muted);
    font-size: 14px;
    line-height: 1.34;
    font-weight: 500;
    text-align: right;
}

.mera-mobile-version-card__value--text {
    color: var(--mera-green-dark);
    font-weight: 700;
}

.mera-mobile-versions__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 14px;
    padding: 0 4px;
}

.mera-mobile-versions__indicators,
.mera-mobile-versions__arrows {
    display: flex;
    align-items: center;
}

.mera-mobile-versions__indicators {
    gap: 8px;
}

.mera-mobile-version-indicator {
    cursor: pointer;
    width: 38px;
    height: 4px;
    border: 0;
    border-radius: 999px;
    padding: 0;
    background: rgba(94, 104, 117, 0.2);
    box-shadow: none;
    transition: width 0.2s ease, background 0.2s ease;
}

.mera-mobile-version-indicator.is-active {
    width: 50px;
    background: var(--mera-orange);
}

.mera-mobile-versions__arrows {
    gap: 10px;
}

.mera-mobile-version-arrow {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    padding: 0;
    background: transparent;
    color: var(--mera-green);
    box-shadow: none;
    transition: color 0.18s ease, background 0.18s ease, opacity 0.18s ease;
}

.mera-mobile-version-arrow:hover,
.mera-mobile-version-arrow:focus-visible {
    background: var(--mera-green-soft);
    color: var(--mera-green-dark);
    outline: none;
}

.mera-mobile-version-arrow:disabled {
    cursor: default;
    opacity: 0.24;
    background: transparent;
}

.mera-mobile-version-arrow svg {
    display: block;
    width: 30px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mera-status-icon {
    --mera-status-size: 24px;
    --mera-status-radius: 8px;
    --mera-status-symbol-size: 13px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 var(--mera-status-size);
    width: var(--mera-status-size);
    height: var(--mera-status-size);
    border: 1px solid transparent;
    border-radius: var(--mera-status-radius);
    vertical-align: middle;
    box-shadow: none;
}

.mera-status-icon svg {
    display: block;
    width: var(--mera-status-symbol-size);
    height: var(--mera-status-symbol-size);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mera-status-icon svg path {
    vector-effect: non-scaling-stroke;
}

.mera-status-icon--table {
    --mera-status-size: 24px;
    --mera-status-radius: 8px;
    --mera-status-symbol-size: 13px;
}

.mera-status-icon--compact {
    --mera-status-size: 18px;
    --mera-status-radius: 6px;
    --mera-status-symbol-size: 11px;
}

.mera-status-icon--yes {
    border-color: rgba(19, 155, 98, 0.18);
    background: rgba(255, 255, 255, 0.9);
    color: var(--mera-green-dark);
    box-shadow: 0 3px 9px rgba(20, 58, 42, 0.035);
}

.mera-status-icon--no {
    border-color: rgba(140, 152, 145, 0.16);
    background: rgba(249, 250, 249, 0.94);
    color: #8c9891;
    box-shadow: 0 3px 9px rgba(20, 58, 42, 0.025);
}

.mera-status-icon--table.mera-status-icon--yes,
.mera-status-icon--table.mera-status-icon--no {
    border-width: 1px;
}

.mera-table-text-value {
    display: inline-block;
    color: var(--mera-green-dark);
    font-size: 13px;
    line-height: 1.35;
    font-weight: 700;
}

.mera-version-option-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 126px;
    min-height: 24px;
    border: 1px solid rgba(19, 155, 98, 0.18);
    border-radius: 999px;
    padding: 4px 9px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--mera-green-dark);
    font-size: 11px;
    line-height: 1.15;
    font-weight: 800;
    text-align: center;
    white-space: normal;
    box-shadow: 0 3px 9px rgba(20, 58, 42, 0.035);
}

.mera-price-card {
    position: absolute;
    inset: 0;
    isolation: isolate;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
    height: 100%;
    align-self: stretch;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 24px;
    padding: 24px;
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(19, 155, 98, 0.09) 0,
            rgba(19, 155, 98, 0.025) 165px,
            rgba(19, 155, 98, 0) 310px
        ),
        radial-gradient(
            ellipse 92% 62% at 0% 100%,
            rgba(255, 111, 79, 0.13) 0%,
            rgba(255, 111, 79, 0.072) 30%,
            rgba(255, 111, 79, 0.03) 58%,
            rgba(255, 111, 79, 0) 84%
        ),
        linear-gradient(
            180deg,
            rgba(250, 254, 252, 0.98) 0%,
            #ffffff 100%
        );
    box-shadow: 0 18px 42px rgba(20, 58, 42, 0.07);
}

.mera-price-card > * {
    position: relative;
    z-index: 1;
}

.mera-price-card h3 {
    margin: 0 0 10px !important;
    color: var(--mera-text);
    font-size: 22px;
    line-height: 1.16;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.mera-price-card__intro {
    margin: 0 0 16px;
    color: var(--mera-muted);
    font-size: 14px;
    line-height: 1.55;
    font-weight: 500;
}

.mera-price-card__selection {
    margin-bottom: 17px;
}

.mera-price-card__eyebrow {
    margin: 0 0 11px;
    color: var(--mera-green-dark);
    font-size: 11px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.mera-price-card__criteria {
    display: grid;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mera-price-card__criteria li {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    margin: 0;
    padding: 0;
    color: var(--mera-muted);
}

.mera-price-card__criteria li .mera-status-icon {
    --mera-status-size: 20px;
    --mera-status-radius: 7px;
    --mera-status-symbol-size: 12px;
    margin-top: 1px;
}

.mera-price-card__criterion {
    display: block;
    min-width: 0;
}

.mera-price-card__criterion strong,
.mera-price-card__criterion > span {
    display: block;
}

.mera-price-card__criterion strong {
    margin-bottom: 3px;
    color: var(--mera-text);
    font-size: 14px;
    line-height: 1.35;
    font-weight: 800;
}

.mera-price-card__criterion > span {
    color: var(--mera-muted);
    font-size: 12.5px;
    line-height: 1.45;
    font-weight: 500;
}

.mera-price-card__footer {
    display: grid;
    gap: 14px;
    margin-top: auto;
}

.mera-price-card__demo {
    display: grid;
    gap: 3px;
    border-top: 1px solid rgba(19, 155, 98, 0.14);
    padding-top: 14px;
}

.mera-price-card__demo strong,
.mera-price-card__demo span {
    display: block;
}

.mera-price-card__demo strong {
    color: var(--mera-green-dark);
    font-size: 13px;
    line-height: 1.3;
    font-weight: 800;
}

.mera-price-card__demo span {
    color: var(--mera-muted);
    font-size: 12px;
    line-height: 1.42;
    font-weight: 500;
}

.mera-price-card .btn {
    width: 100%;
    min-height: 46px;
    margin-top: 0;
}

/* ---------------------------------------------------------
   Нижние преимущества
   --------------------------------------------------------- */

.mera-bottom-strip-section {
    padding-top: 24px;
    padding-bottom: 50px;
}

.mera-bottom-advantages {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 24px;
    background:
        radial-gradient(
            ellipse 38% 150% at 100% 0%,
            rgba(19, 155, 98, 0.085) 0%,
            rgba(19, 155, 98, 0.032) 42%,
            rgba(19, 155, 98, 0) 78%
        ),
        radial-gradient(
            ellipse 44% 155% at 0% 100%,
            rgba(255, 111, 79, 0.11) 0%,
            rgba(255, 111, 79, 0.052) 40%,
            rgba(255, 111, 79, 0) 80%
        ),
        linear-gradient(
            180deg,
            rgba(248, 253, 250, 0.94) 0%,
            #ffffff 78%
        );
    box-shadow: 0 18px 42px rgba(20, 58, 42, 0.06);
}

.mera-bottom-advantages::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    left: 0;
    height: 76px;
    background: linear-gradient(
        180deg,
        rgba(19, 155, 98, 0.024) 0%,
        rgba(19, 155, 98, 0) 100%
    );
    pointer-events: none;
}

.mera-bottom-advantage {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    gap: 5px 14px;
    align-items: start;
    min-width: 0;
    border-right: 1px solid rgba(220, 238, 230, 0.52);
    padding: 26px 22px;
    background: transparent;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.mera-bottom-advantage::before {
    content: none;
    display: none;
}

.mera-bottom-advantage:hover {
    background: rgba(255, 255, 255, 0.28);
    box-shadow: none;
}

.mera-bottom-advantage:last-child {
    border-right: 0;
}

.mera-bottom-advantage__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-row: 1 / span 2;
    width: 44px;
    height: 44px;
    border: 1px solid var(--mera-icon-pad-border);
    border-radius: 13px;
    background: var(--mera-icon-pad-bg);
    color: var(--mera-green-dark);
    box-shadow: var(--mera-icon-pad-shadow);
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.mera-bottom-advantage:hover .mera-bottom-advantage__icon {
    transform: translateY(-1px);
    border-color: var(--mera-icon-pad-border-hover);
    background: var(--mera-icon-pad-bg-hover);
    box-shadow: var(--mera-icon-pad-shadow-hover);
}

.mera-bottom-advantage__icon svg {
    display: block;
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mera-bottom-advantage__title {
    margin: 1px 0 3px !important;
    color: var(--mera-text);
    font-size: 16px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: -0.015em;
}

.mera-bottom-advantage p {
    grid-column: 2;
    margin: 0;
    color: var(--mera-muted);
    font-size: 13px;
    line-height: 1.48;
}

/* ---------------------------------------------------------
   Адаптив
   --------------------------------------------------------- */

@media (max-width: 1360px) {
    .mera-product-hero--promo .mera-product-hero__inner {
        grid-template-columns: minmax(0, 540px) minmax(0, 1fr);
        column-gap: 30px;
        min-height: 450px;
    }

    .mera-product-hero--promo .mera-product-hero__title {
        font-size: 39px;
    }

    .mera-product-hero--promo .mera-product-hero__text {
        font-size: 15px;
    }

    .mera-product-hero--promo .mera-product-hero__content {
        max-width: 540px;
    }

    .mera-product-hero--promo .mera-product-hero__buttons {
        max-width: 528px;
    }

    .mera-product-hero--promo .mera-product-hero__buttons .btn {
        width: 100%;
        min-width: 0;
    }

    .mera-download-card {
        max-width: 510px;
    }

    .mera-download-card__body {
        grid-template-columns: 132px minmax(0, 1fr);
    }

    .mera-download-card__qr {
        width: 132px;
        height: 132px;
    }

    .mera-download-card__qr-img {
        width: 120px;
        height: 120px;
    }

    .mera-product-hero--promo .mera-product-hero__visual {
        min-height: 450px;
    }

    .mera-product-hero--promo .mera-product-hero__visual::before {
        right: -18px;
        bottom: 4px;
        width: min(700px, calc(100% + 18px));
    }

    .mera-product-hero--promo .mera-hero-phone-img--hand,
    .mera-product-hero--promo .mera-product-hero__visual img.mera-hero-phone-img--hand {
        height: 540px;
        margin: 0 42px -34px -40px;
    }

.mera-product-section__head h2,
.mera-product-section__head--features h2,
.mera-description-card__text h2 {
        font-size: 36px;
    }
}

@media (max-width: 1199px) {
    .mera-product-hero--promo {
        overflow: hidden;
    }

    /* На средних экранах убираем тяжёлый серый шлейф под QR и телефоном. */
    .mera-download-card {
        border: 1px solid rgba(220, 238, 230, 0.72);
        box-shadow: none;
    }

    .mera-product-hero--promo .mera-hero-phone-img--hand,
    .mera-product-hero--promo .mera-product-hero__visual img.mera-hero-phone-img--hand {
        filter: drop-shadow(0 12px 18px rgba(20, 58, 42, 0.055));
    }

    .mera-features-section {
        padding-top: 30px;
    }

.mera-product-hero--promo .mera-product-hero__inner {
        grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
        gap: 24px;
        min-height: auto;
        padding: 0;
    }

    .mera-product-hero--promo .mera-product-hero__content {
        max-width: 520px;
    }

    .mera-product-hero--promo .mera-product-hero__visual {
        min-height: 450px;
    }

    .mera-product-hero--promo .mera-product-hero__visual::before {
        right: -18px;
        bottom: 8px;
        width: min(560px, calc(100% + 18px));
    }

    .mera-product-hero--promo .mera-hero-phone-img--hand,
    .mera-product-hero--promo .mera-product-hero__visual img.mera-hero-phone-img--hand {
        height: 500px;
        margin: 0 18px -28px auto;
    }

    .mera-feature-groups {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mera-description-card {
        grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
        gap: 24px;
        padding: 30px;
    }

    .mera-seo-audience--wide {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mera-description-card__visual {
        width: 100%;
        max-width: none;
        min-height: 0;
        margin: 0;
    }

    .mera-versions-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        align-items: start;
    }

    .mera-versions-main {
        display: block;
    }

    .mera-versions-side {
        position: static;
        display: block;
        width: 100%;
        min-height: 0;
        align-self: start;
    }

    .mera-price-card__footer {
        margin-top: 20px;
    }

    .mera-price-card {
        position: relative;
        inset: auto;
        width: 100%;
        max-width: none;
        min-height: 0;
        height: auto;
        flex: 0 0 auto;
        align-self: start;
        justify-content: flex-start;
    }
}

@media (max-width: 991px) {
    .mera-product-hero--promo {
        padding-top: 6px;
        background: #ffffff;
    }

.mera-product-hero--promo .mera-product-hero__inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .mera-product-hero--promo .mera-product-hero__content {
        align-items: flex-start;
        width: 100%;
        max-width: none;
        text-align: left;
    }

    .mera-product-hero--promo .mera-product-hero__buttons,
    .mera-product-hero--promo .mera-download-card {
        width: 100%;
        max-width: none;
    }

    .mera-product-hero--promo .mera-product-hero__buttons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mera-product-hero--promo .mera-hero-consultation-btn {
        display: inline-flex;
        grid-column: 1 / -1;
        width: 100%;
        max-width: none;
        min-height: 50px;
        margin: 0;
    }

    .mera-product-hero--promo .mera-hero-presentation-btn,
    .mera-product-hero--promo .mera-hero-presentation-btn:visited {
        border: 1px solid rgba(8, 122, 74, 0.2);
        background: #ffffff;
        color: var(--mera-green-dark) !important;
        box-shadow: none;
    }

    .mera-product-hero--promo .mera-hero-presentation-btn:hover,
    .mera-product-hero--promo .mera-hero-presentation-btn:focus-visible {
        border-color: rgba(8, 122, 74, 0.3);
        background: rgba(234, 248, 241, 0.78);
        color: var(--mera-green-dark) !important;
        box-shadow: 0 7px 16px rgba(20, 58, 42, 0.055);
    }

    .mera-product-hero--promo .mera-product-label,
    .mera-product-hero--promo .mera-product-hero__title,
    .mera-product-hero--promo .mera-product-hero__text,
    .mera-product-hero--promo .mera-product-hero__buttons,
    .mera-product-hero--promo .mera-download-card {
        margin-left: 0;
        margin-right: 0;
    }

    .mera-product-hero--promo .mera-product-hero__title {
        max-width: 620px;
        font-size: 38px;
    }

    .mera-product-hero--promo .mera-product-hero__text {
        max-width: 620px;
    }

    .mera-product-hero--promo .mera-product-hero__visual {
        min-height: 410px;
        justify-content: center;
        overflow: hidden;
        isolation: isolate;
    }

    .mera-product-hero--promo .mera-product-hero__visual::before {
        top: 12px;
        right: 50%;
        bottom: auto;
        width: min(680px, 100%);
        background-position: center top;
        transform: translateX(50%);
    }

    .mera-description-card {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 30px;
    }

    .mera-description-card__visual {
        width: 100%;
        max-width: 820px;
        margin: 0 auto;
    }

    .mera-description-card__text,
    .mera-description-card__text h2,
    .mera-description-card__text > p {
        width: 100%;
        max-width: none;
    }

.mera-product-hero--promo .mera-hero-phone-img--hand,
    .mera-product-hero--promo .mera-product-hero__visual img.mera-hero-phone-img--hand {
        height: 430px;
        margin: 0 auto -18px;
        -webkit-mask-image:
            linear-gradient(to right, transparent 0, rgba(0, 0, 0, 0.5) 7%, #000 17%, #000 100%),
            linear-gradient(to bottom, #000 0%, #000 83%, rgba(0, 0, 0, 0.7) 91%, transparent 100%);
        -webkit-mask-composite: source-in;
        mask-image:
            linear-gradient(to right, transparent 0, rgba(0, 0, 0, 0.5) 7%, #000 17%, #000 100%),
            linear-gradient(to bottom, #000 0%, #000 83%, rgba(0, 0, 0, 0.7) 91%, transparent 100%);
        mask-composite: intersect;
        -webkit-mask-size: 100% 100%;
        mask-size: 100% 100%;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
    }

.mera-product-section__head h2,
.mera-product-section__head--features h2,
.mera-description-card__text h2 {
        font-size: 32px;
    }

    .mera-product-section__head--features p {
        font-size: 16px;
    }

    .mera-bottom-advantages {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mera-bottom-advantage:nth-child(2) {
        border-right: 0;
    }

    .mera-bottom-advantage {
        border-bottom: 1px solid rgba(220, 238, 230, 0.52);
    }

    .mera-bottom-advantage:nth-child(3),
    .mera-bottom-advantage:nth-child(4) {
        border-bottom: 0;
    }
}

@media (max-width: 767px) {

    .mera-seo-topic-grid {
        columns: 1;
        margin-top: 0;
    }

    .mera-seo-topic {
        margin-bottom: 18px;
        padding-top: 14px;
    }

    .mera-seo-topic h3 {
        font-size: 19px;
    }

    .mera-description-card__seo-copy {
        padding-top: 16px;
    }

    .mera-seo-more-actions {
        margin-top: 14px;
    }

    .mera-seo-more-toggle {
        width: 100%;
        min-height: 44px;
        padding: 11px 15px;
        font-size: 14px;
    }

    .mera-product-hero--promo {
        padding: 4px 0 0;
    }

    .mera-download-card {
        box-shadow: none;
    }

    .mera-features-section {
        padding-top: 22px;
    }

    .mera-product-hero--promo .mera-product-hero__inner {
        gap: 14px;
    }

    .mera-product-hero--promo .mera-product-hero__content {
        max-width: 100%;
    }

    .mera-product-hero--promo .mera-product-hero__visual {
        min-height: 318px;
        margin-top: 0;
        overflow: hidden;
    }

    .mera-product-hero--promo .mera-product-hero__visual::before {
        top: 4px;
        bottom: auto;
        width: min(560px, 100%);
    }

.mera-seo-audience--wide {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .mera-product-section {
        padding: 28px 0;
    }

    .mera-features-section {
        padding-top: 20px;
        padding-bottom: 24px;
    }

    .mera-description-section {
        padding-top: 18px;
        padding-bottom: 24px;
    }

    .mera-versions-section {
        padding-top: 24px;
        padding-bottom: 18px;
    }

    .mera-bottom-strip-section {
        padding-top: 18px;
        padding-bottom: 28px;
    }

    .mera-product-section__head,
    .mera-product-section__head--features,
    .mera-product-section__head--versions {
        margin-bottom: 18px;
    }

    .mera-product-hero--promo .mera-product-hero__title {
        font-size: 32px;
    }

    .mera-product-hero--promo .mera-product-hero__text {
        font-size: 15px;
    }

    .mera-product-hero--promo .mera-product-hero__buttons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-bottom: 12px;
    }

    .mera-product-hero--promo .mera-hero-consultation-btn {
        grid-column: 1 / -1;
        margin: 0;
    }

    .mera-product-hero--promo .mera-product-hero__buttons .btn {
        width: 100%;
        min-width: 0;
    }

    .mera-product-hero--promo .mera-hero-presentation-btn,
    .mera-product-hero--promo .mera-hero-compare-btn {
        padding-right: 10px;
        padding-left: 10px;
        font-size: 13px;
    }

    .mera-download-card {
        max-width: 100%;
        padding: 16px;
    }

    .mera-download-card__body {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .mera-download-card__qr {
        display: none;
    }

    .mera-download-card__qr-img {
        width: 108px;
        height: 108px;
    }

    .mera-store-btn {
        min-height: 44px;
        padding: 9px 14px;
        font-size: 14px;
    }

    .mera-product-hero--promo .mera-hero-phone-img--hand,
    .mera-product-hero--promo .mera-product-hero__visual img.mera-hero-phone-img--hand {
        height: 340px;
        margin: -4px auto -24px;
    }

.mera-feature-groups,
.mera-seo-audience {
    grid-template-columns: 1fr;
    gap: 14px;
}

    .mera-feature-group {
        grid-template-columns: 42px minmax(0, 1fr);
        grid-template-rows: 42px auto;
        column-gap: 12px;
        row-gap: 13px;
        align-content: start;
        min-height: 0;
        padding: 17px 18px 19px;
    }

    .mera-feature-group__icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .mera-feature-group__icon svg {
        width: 24px;
        height: 24px;
    }

    .mera-product-section__head h2,
    .mera-product-section__head--features h2 {
        font-size: 29px;
    }

    .mera-description-card {
        gap: 18px;
        padding: 22px 16px;
        border-radius: 22px;
    }

    .mera-description-card__visual {
        min-height: 0;
    }

    .mera-description-photo {
        inset: 0;
        border-radius: 18px;
    }

    .mera-description-photo__img {
        object-position: 34% center;
        transform: scale(1.05);
    }

    .mera-description-card__text h2 {
        font-size: 29px;
    }

    .mera-description-card__text > p {
        font-size: 15px;
        line-height: 1.58;
    }

    .mera-seo-audience__item {
        min-height: 0;
    }

    .mera-product-section__head--versions {
        margin-bottom: 18px;
    }

    .mera-compare-table {
        display: none;
    }

    .mera-mobile-versions {
        display: block;
    }

    .mera-price-card__demo {
        padding-top: 14px;
    }

    .mera-versions-layout {
        gap: 18px;
    }

    .mera-price-card {
        padding: 22px 20px;
    }

    .mera-price-card__intro {
        margin-bottom: 16px;
        font-size: 13px;
        line-height: 1.5;
    }

    .mera-price-card__selection {
        margin-bottom: 18px;
    }

    .mera-price-card__eyebrow {
        margin-bottom: 9px;
        font-size: 10px;
    }

    .mera-price-card__criteria {
        gap: 11px;
    }

    .mera-price-card__criteria li {
        grid-template-columns: 18px minmax(0, 1fr);
        gap: 9px;
    }

    .mera-price-card__criteria li .mera-status-icon {
        --mera-status-size: 18px;
        --mera-status-radius: 6px;
        --mera-status-symbol-size: 11px;
    }

    .mera-price-card__criterion strong {
        margin-bottom: 2px;
        font-size: 13px;
        line-height: 1.35;
    }

    .mera-price-card__criterion > span {
        font-size: 12px;
        line-height: 1.45;
    }

    .mera-bottom-advantages {
        grid-template-columns: 1fr;
    }

    .mera-bottom-advantage,
    .mera-bottom-advantage:nth-child(2),
    .mera-bottom-advantage:nth-child(3) {
        border-right: 0;
        border-bottom: 1px solid rgba(220, 238, 230, 0.52);
        padding: 20px 18px;
    }

    .mera-bottom-advantage:last-child {
        border-bottom: 0;
    }
}


/* Fancybox UI 4: реальная кнопка закрытия формы, включая состояние после AJAX-отправки. */
body.mera-soft-page .carousel__button.is-close,
body:has(.mera-product-page) .carousel__button.is-close {
    --carousel-button-color: #f05f42 !important;
    --f-button-color: #f05f42 !important;
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: transparent !important;
    color: #f05f42 !important;
    opacity: 1 !important;
    box-shadow: none !important;
    filter: none !important;
}

body.mera-soft-page .carousel__button.is-close svg,
body.mera-soft-page .carousel__button.is-close svg path,
body:has(.mera-product-page) .carousel__button.is-close svg,
body:has(.mera-product-page) .carousel__button.is-close svg path {
    fill: none !important;
    stroke: #f05f42 !important;
    color: #f05f42 !important;
    stroke-width: 1.8 !important;
}

body.mera-soft-page .carousel__button.is-close:hover,
body.mera-soft-page .carousel__button.is-close:focus-visible,
body:has(.mera-product-page) .carousel__button.is-close:hover,
body:has(.mera-product-page) .carousel__button.is-close:focus-visible {
    --carousel-button-color: #d94f34 !important;
    --f-button-color: #d94f34 !important;
    background: rgba(255, 241, 235, 0.92) !important;
    color: #d94f34 !important;
    outline: none !important;
}

body.mera-soft-page .carousel__button.is-close:hover svg,
body.mera-soft-page .carousel__button.is-close:hover svg path,
body.mera-soft-page .carousel__button.is-close:focus-visible svg,
body.mera-soft-page .carousel__button.is-close:focus-visible svg path,
body:has(.mera-product-page) .carousel__button.is-close:hover svg,
body:has(.mera-product-page) .carousel__button.is-close:hover svg path,
body:has(.mera-product-page) .carousel__button.is-close:focus-visible svg,
body:has(.mera-product-page) .carousel__button.is-close:focus-visible svg path {
    stroke: #d94f34 !important;
    color: #d94f34 !important;
}

@media (max-width: 479px) {
    .mera-product-hero--promo .mera-product-hero__title {
        font-size: 29px;
        line-height: 1.1;
    }

    .mera-product-hero--promo .mera-product-hero__text {
        margin-bottom: 18px;
        font-size: 14px;
        line-height: 1.52;
    }

    .mera-product-hero--promo .mera-hero-consultation-btn {
        font-size: 14px;
    }

    .mera-product-hero--promo .mera-hero-presentation-btn,
    .mera-product-hero--promo .mera-hero-compare-btn {
        padding-right: 7px;
        padding-left: 7px;
        font-size: 12px;
    }

    .mera-product-hero--promo .mera-product-hero__visual {
        min-height: 286px;
    }

    .mera-product-hero--promo .mera-product-hero__visual::before {
        top: 0;
        width: 106%;
    }

    .mera-product-hero--promo .mera-hero-phone-img--hand,
    .mera-product-hero--promo .mera-product-hero__visual img.mera-hero-phone-img--hand {
        height: 310px;
        margin: -4px auto -28px;
    }

    .mera-download-card {
        padding: 14px;
        border-radius: 20px;
    }

    .mera-download-card__body {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .mera-download-card__qr {
        width: 96px;
        height: 96px;
        border-radius: 14px;
    }

    .mera-download-card__qr-img {
        width: 88px;
        height: 88px;
    }

    .mera-download-card__stores {
        gap: 7px;
    }

    .mera-store-btn {
        min-height: 42px;
        padding: 8px 12px;
        font-size: 13px;
    }

    .mera-store-icon {
        width: 22px;
        min-width: 22px;
        height: 22px;
    }

    .mera-product-section {
        padding: 24px 0;
    }

    .mera-features-section,
    .mera-description-section,
    .mera-versions-section {
        padding-top: 18px;
        padding-bottom: 20px;
    }

    .mera-bottom-strip-section {
        padding-top: 14px;
        padding-bottom: 24px;
    }

    .mera-product-section__head h2,
    .mera-product-section__head--features h2,
    .mera-description-card__text h2 {
        font-size: 27px;
    }

    .mera-feature-group {
        padding: 16px 16px 18px;
    }

    .mera-description-card {
        padding: 18px 14px;
    }

    .mera-mobile-version-card {
        padding: 20px 14px 8px;
    }

    .mera-mobile-version-card__title {
        font-size: 24px;
    }

    .mera-mobile-version-card__row {
        min-height: 60px;
        gap: 10px;
        padding: 11px 0;
    }

    .mera-mobile-version-card__feature,
    .mera-mobile-version-card__value {
        font-size: 13px;
    }

    .mera-mobile-version-indicator {
        width: 30px;
    }

    .mera-mobile-version-indicator.is-active {
        width: 42px;
    }
}

/* ---------------------------------------------------------
   Форма консультации МЕРАСОФТ — без изменения рабочей CAPTCHA
   --------------------------------------------------------- */

body.mera-soft-page #request-consultation,
body:has(.mera-product-page) #request-consultation {
    width: min(500px, calc(100vw - 32px)) !important;
    max-width: 500px !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 24px !important;
    padding: 30px 32px 26px !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(19, 155, 98, 0.07), transparent 210px),
        radial-gradient(circle at 0% 100%, rgba(255, 111, 79, 0.055), transparent 240px),
        #ffffff !important;
    color: #18222d !important;
    box-shadow: 0 26px 72px rgba(20, 58, 42, 0.16) !important;
}

body.mera-soft-page #request-consultation .wrapper,
body:has(.mera-product-page) #request-consultation .wrapper {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #18222d;
    box-shadow: none !important;
    font-family: "Onest", "Segoe UI", Arial, sans-serif !important;
}

body.mera-soft-page #request-consultation .title,
body:has(.mera-product-page) #request-consultation .title {
    max-width: calc(100% - 48px);
    margin: 0 0 8px !important;
    color: #18222d !important;
    font-size: 24px !important;
    line-height: 1.18 !important;
    font-weight: 800 !important;
    letter-spacing: -0.035em !important;
}

body.mera-soft-page #request-consultation .title + .mb-3,
body:has(.mera-product-page) #request-consultation .title + .mb-3 {
    margin: 0 0 16px !important;
    color: #5e6875 !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    font-weight: 500 !important;
}

body.mera-soft-page #request-consultation form,
body:has(.mera-product-page) #request-consultation form {
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Скрытое антиспам-поле не должно становиться видимым из-за общих !important-стилей. */
body.mera-soft-page #request-consultation input[name="form_text_46"],
body:has(.mera-product-page) #request-consultation input[name="form_text_46"],
body.mera-soft-page #request-consultation .mera-form-honeypot,
body:has(.mera-product-page) #request-consultation .mera-form-honeypot {
    display: none !important;
}

body.mera-soft-page #request-consultation :is(.input-text, .input-tel, textarea, .inputtext),
body:has(.mera-product-page) #request-consultation :is(.input-text, .input-tel, textarea, .inputtext) {
    appearance: none !important;
    -webkit-appearance: none !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 0 10px !important;
    border: 1px solid rgba(19, 155, 98, 0.2) !important;
    border-radius: 14px !important;
    padding: 0 15px !important;
    background: rgba(255, 255, 255, 0.97) !important;
    color: #18222d !important;
    font-family: "Onest", "Segoe UI", Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    font-weight: 500 !important;
    outline: none !important;
    box-shadow: 0 4px 12px rgba(20, 58, 42, 0.025) !important;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

body.mera-soft-page #request-consultation textarea,
body:has(.mera-product-page) #request-consultation textarea {
    height: 44px !important;
    min-height: 44px !important;
    padding: 11px 15px !important;
    line-height: 20px !important;
    resize: none !important;
    overflow-y: auto;
}

body.mera-soft-page #request-consultation :is(.input-text, .input-tel, textarea, .inputtext)::placeholder,
body:has(.mera-product-page) #request-consultation :is(.input-text, .input-tel, textarea, .inputtext)::placeholder {
    color: #929ca6 !important;
    opacity: 1;
}

body.mera-soft-page #request-consultation :is(.input-text, .input-tel, textarea, .inputtext):hover,
body:has(.mera-product-page) #request-consultation :is(.input-text, .input-tel, textarea, .inputtext):hover {
    border-color: rgba(19, 155, 98, 0.34) !important;
}

body.mera-soft-page #request-consultation :is(.input-text, .input-tel, textarea, .inputtext):focus,
body.mera-soft-page #request-consultation :is(.input-text, .input-tel, textarea, .inputtext):focus-visible,
body:has(.mera-product-page) #request-consultation :is(.input-text, .input-tel, textarea, .inputtext):focus,
body:has(.mera-product-page) #request-consultation :is(.input-text, .input-tel, textarea, .inputtext):focus-visible {
    border-color: #139b62 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(19, 155, 98, 0.1) !important;
}

body.mera-soft-page #request-consultation .g-recaptcha,
body:has(.mera-product-page) #request-consultation .g-recaptcha {
    max-width: 100%;
    margin: 0 0 10px !important;
    overflow: hidden;
}

body.mera-soft-page #request-consultation .input-submit,
body:has(.mera-product-page) #request-consultation .input-submit {
    cursor: pointer;
    appearance: none !important;
    -webkit-appearance: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 46px !important;
    margin: 2px 0 10px !important;
    border: 1px solid #139b62 !important;
    border-radius: 999px !important;
    padding: 0 24px !important;
    background: #139b62 !important;
    color: #ffffff !important;
    font-family: "Onest", "Segoe UI", Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    text-align: center !important;
    box-shadow: 0 8px 20px rgba(20, 58, 42, 0.09) !important;
}

body.mera-soft-page #request-consultation .input-submit:hover,
body.mera-soft-page #request-consultation .input-submit:focus-visible,
body:has(.mera-product-page) #request-consultation .input-submit:hover,
body:has(.mera-product-page) #request-consultation .input-submit:focus-visible {
    border-color: #087a4a !important;
    background: #087a4a !important;
    box-shadow: 0 11px 24px rgba(20, 58, 42, 0.12) !important;
    outline: none !important;
}

body.mera-soft-page #request-consultation .fs-12,
body:has(.mera-product-page) #request-consultation .fs-12 {
    color: #7b8590 !important;
    font-family: "Onest", "Segoe UI", Arial, sans-serif !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
}

body.mera-soft-page #request-consultation .privacy-policy,
body:has(.mera-product-page) #request-consultation .privacy-policy {
    color: #087a4a !important;
    font-size: inherit !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

body.mera-soft-page #request-consultation .errortext,
body:has(.mera-product-page) #request-consultation .errortext {
    display: block;
    margin: 0 0 14px;
    border: 1px solid rgba(255, 111, 79, 0.2);
    border-radius: 14px;
    padding: 10px 12px;
    background: rgba(255, 241, 235, 0.86);
    color: #b54630 !important;
    font-family: "Onest", "Segoe UI", Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
}

/* Fancybox v5: нейтральная бело-зелёная панель без фиолетовых элементов. */
body.mera-soft-page .fancybox__container,
body:has(.mera-product-page) .fancybox__container {
    --f-button-bg: rgba(255, 255, 255, 0.94) !important;
    --f-button-hover-bg: rgba(234, 248, 241, 0.98) !important;
    --f-button-color: #087a4a !important;
    --f-button-hover-color: #087a4a !important;
    --f-button-border-radius: 12px !important;
}

body.mera-soft-page .fancybox__container .f-button,
body.mera-soft-page .fancybox__container .carousel__button,
body:has(.mera-product-page) .fancybox__container .f-button,
body:has(.mera-product-page) .fancybox__container .carousel__button {
    border: 1px solid rgba(19, 155, 98, 0.14) !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    color: #087a4a !important;
    box-shadow: 0 6px 16px rgba(20, 58, 42, 0.055) !important;
    filter: none !important;
}

body.mera-soft-page .fancybox__container .f-button:hover,
body.mera-soft-page .fancybox__container .f-button:focus-visible,
body.mera-soft-page .fancybox__container .carousel__button:hover,
body.mera-soft-page .fancybox__container .carousel__button:focus-visible,
body:has(.mera-product-page) .fancybox__container .f-button:hover,
body:has(.mera-product-page) .fancybox__container .f-button:focus-visible,
body:has(.mera-product-page) .fancybox__container .carousel__button:hover,
body:has(.mera-product-page) .fancybox__container .carousel__button:focus-visible {
    border-color: rgba(19, 155, 98, 0.24) !important;
    background: rgba(234, 248, 241, 0.98) !important;
    color: #087a4a !important;
    box-shadow: 0 8px 18px rgba(20, 58, 42, 0.07) !important;
    outline: none !important;
}

body.mera-soft-page .fancybox__container .f-button svg,
body.mera-soft-page .fancybox__container .carousel__button svg,
body:has(.mera-product-page) .fancybox__container .f-button svg,
body:has(.mera-product-page) .fancybox__container .carousel__button svg {
    color: currentColor !important;
    fill: none !important;
    stroke: currentColor !important;
}

body.mera-soft-page .fancybox__container [data-fancybox-close],
body.mera-soft-page .fancybox__container .is-close,
body:has(.mera-product-page) .fancybox__container [data-fancybox-close],
body:has(.mera-product-page) .fancybox__container .is-close {
    background: rgba(255, 255, 255, 0.96) !important;
    color: #087a4a !important;
}



/* MeraSoft consultation modal: green close control for Fancybox 4/5. */
body.mera-soft-page .fancybox__container :is([data-fancybox-close], .is-close, .is-close-btn, .f-button.is-close-btn, .carousel__button.is-close),
body:has(.mera-product-page) .fancybox__container :is([data-fancybox-close], .is-close, .is-close-btn, .f-button.is-close-btn, .carousel__button.is-close) {
    border: 1px solid rgba(19, 155, 98, 0.16) !important;
    background: rgba(246, 252, 249, 0.98) !important;
    color: #087a4a !important;
    box-shadow: 0 6px 16px rgba(20, 58, 42, 0.06) !important;
}

body.mera-soft-page .fancybox__container :is([data-fancybox-close], .is-close, .is-close-btn, .f-button.is-close-btn, .carousel__button.is-close) svg,
body.mera-soft-page .fancybox__container :is([data-fancybox-close], .is-close, .is-close-btn, .f-button.is-close-btn, .carousel__button.is-close) svg *,
body:has(.mera-product-page) .fancybox__container :is([data-fancybox-close], .is-close, .is-close-btn, .f-button.is-close-btn, .carousel__button.is-close) svg,
body:has(.mera-product-page) .fancybox__container :is([data-fancybox-close], .is-close, .is-close-btn, .f-button.is-close-btn, .carousel__button.is-close) svg * {
    color: #087a4a !important;
    fill: none !important;
    stroke: #087a4a !important;
}

body.mera-soft-page .fancybox__container :is([data-fancybox-close], .is-close, .is-close-btn, .f-button.is-close-btn, .carousel__button.is-close):hover,
body:has(.mera-product-page) .fancybox__container :is([data-fancybox-close], .is-close, .is-close-btn, .f-button.is-close-btn, .carousel__button.is-close):hover {
    border-color: rgba(19, 155, 98, 0.28) !important;
    background: rgba(234, 248, 241, 1) !important;
    color: #087a4a !important;
}

/* Подпись увеличенного SEO-фото: тот же светлый фирменный паттерн, что у документов в кейсах. */
body.mera-soft-page .fancybox__container .fancybox__footer,
body:has(.mera-product-page) .fancybox__container .fancybox__footer {
    background: transparent !important;
}

body.mera-soft-page .fancybox__container .fancybox__caption,
body:has(.mera-product-page) .fancybox__container .fancybox__caption {
    display: block !important;
    width: fit-content !important;
    max-width: min(760px, calc(100vw - 40px)) !important;
    margin: 10px auto 16px !important;
    padding: 9px 15px !important;
    border: 1px solid rgba(19, 155, 98, 0.28) !important;
    border-radius: 14px !important;
    background: #f7fcf9 !important;
    background-image: none !important;
    color: #102033 !important;
    font-family: "Onest", Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-align: center !important;
    white-space: normal !important;
    text-shadow: none !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16) !important;
    filter: none !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

body.mera-soft-page .fancybox-container .fancybox-caption,
body:has(.mera-product-page) .fancybox-container .fancybox-caption {
    color: #102033 !important;
    text-align: center !important;
}

body.mera-soft-page .fancybox-container .fancybox-caption__body,
body:has(.mera-product-page) .fancybox-container .fancybox-caption__body {
    display: inline-block !important;
    width: fit-content !important;
    max-width: min(760px, calc(100vw - 40px)) !important;
    margin: 10px auto 16px !important;
    padding: 9px 15px !important;
    border: 1px solid rgba(19, 155, 98, 0.28) !important;
    border-radius: 14px !important;
    background: #f7fcf9 !important;
    background-image: none !important;
    color: #102033 !important;
    font-family: "Onest", Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-align: center !important;
    white-space: normal !important;
    text-shadow: none !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16) !important;
    filter: none !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

@media (max-width: 767px) {
    body.mera-soft-page .fancybox__container .fancybox__caption,
    body:has(.mera-product-page) .fancybox__container .fancybox__caption,
    body.mera-soft-page .fancybox-container .fancybox-caption__body,
    body:has(.mera-product-page) .fancybox-container .fancybox-caption__body {
        max-width: calc(100vw - 24px) !important;
        margin: 10px auto max(12px, env(safe-area-inset-bottom)) !important;
        padding: 9px 12px !important;
        border-radius: 13px !important;
        font-size: 12.5px !important;
        line-height: 1.35 !important;
    }
}

/* Крестик Fancybox рисуем CSS-линиями, чтобы исключить фиолетовую иконку шаблона. */
body.mera-soft-page .fancybox-container :is(.fancybox-close-small, .fancybox-button--close, [data-fancybox-close]),
body:has(.mera-product-page) .fancybox-container :is(.fancybox-close-small, .fancybox-button--close, [data-fancybox-close]) {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: transparent !important;
    color: transparent !important;
    font-size: 0 !important;
    opacity: 1 !important;
    box-shadow: none !important;
    filter: none !important;
}

body.mera-soft-page .fancybox-container :is(.fancybox-close-small, .fancybox-button--close, [data-fancybox-close]) > *,
body:has(.mera-product-page) .fancybox-container :is(.fancybox-close-small, .fancybox-button--close, [data-fancybox-close]) > * {
    display: none !important;
}

body.mera-soft-page .fancybox-container :is(.fancybox-close-small, .fancybox-button--close, [data-fancybox-close])::before,
body.mera-soft-page .fancybox-container :is(.fancybox-close-small, .fancybox-button--close, [data-fancybox-close])::after,
body:has(.mera-product-page) .fancybox-container :is(.fancybox-close-small, .fancybox-button--close, [data-fancybox-close])::before,
body:has(.mera-product-page) .fancybox-container :is(.fancybox-close-small, .fancybox-button--close, [data-fancybox-close])::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    display: block !important;
    width: 18px !important;
    height: 2px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #087a4a !important;
    box-shadow: none !important;
    transform-origin: center !important;
}

body.mera-soft-page .fancybox-container :is(.fancybox-close-small, .fancybox-button--close, [data-fancybox-close])::before,
body:has(.mera-product-page) .fancybox-container :is(.fancybox-close-small, .fancybox-button--close, [data-fancybox-close])::before {
    transform: translate(-50%, -50%) rotate(45deg) !important;
}

body.mera-soft-page .fancybox-container :is(.fancybox-close-small, .fancybox-button--close, [data-fancybox-close])::after,
body:has(.mera-product-page) .fancybox-container :is(.fancybox-close-small, .fancybox-button--close, [data-fancybox-close])::after {
    transform: translate(-50%, -50%) rotate(-45deg) !important;
}

body.mera-soft-page .fancybox-container :is(.fancybox-close-small, .fancybox-button--close, [data-fancybox-close]):hover,
body:has(.mera-product-page) .fancybox-container :is(.fancybox-close-small, .fancybox-button--close, [data-fancybox-close]):hover {
    background: rgba(255, 241, 235, 0.82) !important;
}

body.mera-soft-page .fancybox-container :is(.fancybox-close-small, .fancybox-button--close, [data-fancybox-close]):hover::before,
body.mera-soft-page .fancybox-container :is(.fancybox-close-small, .fancybox-button--close, [data-fancybox-close]):hover::after,
body:has(.mera-product-page) .fancybox-container :is(.fancybox-close-small, .fancybox-button--close, [data-fancybox-close]):hover::before,
body:has(.mera-product-page) .fancybox-container :is(.fancybox-close-small, .fancybox-button--close, [data-fancybox-close]):hover::after {
    background: #f05f42 !important;
}

@media (max-width: 479px) {
    body.mera-soft-page #request-consultation,
    body:has(.mera-product-page) #request-consultation {
        width: calc(100vw - 20px) !important;
        border-radius: 20px !important;
        padding: 22px 16px 18px !important;
    }

    body.mera-soft-page #request-consultation .title,
    body:has(.mera-product-page) #request-consultation .title {
        font-size: 22px !important;
    }
}

/* ---------------------------------------------------------
   Footer МЕРАСОФТ
   --------------------------------------------------------- */

body.mera-soft-page .site-footer--mera,
body:has(.mera-product-page) .site-footer--mera {
    padding: 38px 0 30px;
    border-top: 1px solid rgba(220, 238, 230, 0.78);
    background:
        radial-gradient(circle at 0% 100%, rgba(255, 111, 79, 0.045), transparent 280px),
        radial-gradient(circle at 100% 0%, rgba(19, 155, 98, 0.055), transparent 320px),
        #ffffff;
    color: var(--mera-text, #18222d);
    font-family: "Onest", "Segoe UI", Arial, sans-serif !important;
}

body.mera-soft-page .site-footer--mera *,
body:has(.mera-product-page) .site-footer--mera * {
    font-family: "Onest", "Segoe UI", Arial, sans-serif !important;
}

body.mera-soft-page .site-footer--mera .mera-footer__grid,
body:has(.mera-product-page) .site-footer--mera .mera-footer__grid {
    display: grid;
    grid-template-columns: minmax(230px, 1.16fr) minmax(150px, 0.72fr) minmax(170px, 0.78fr) minmax(250px, 1fr);
    gap: 32px 48px;
    align-items: start;
}

body.mera-soft-page .site-footer--mera .mera-footer__brand,
body:has(.mera-product-page) .site-footer--mera .mera-footer__brand,
body.mera-soft-page .site-footer--mera .mera-footer__nav,
body:has(.mera-product-page) .site-footer--mera .mera-footer__nav,
body.mera-soft-page .site-footer--mera .mera-footer__contacts,
body:has(.mera-product-page) .site-footer--mera .mera-footer__contacts {
    min-width: 0;
}

body.mera-soft-page .site-footer--mera .mera-footer__logo-link,
body:has(.mera-product-page) .site-footer--mera .mera-footer__logo-link {
    display: inline-block;
    margin: 0 0 20px !important;
}

body.mera-soft-page .site-footer--mera .footer-logo-img,
body:has(.mera-product-page) .site-footer--mera .footer-logo-img {
    display: block;
    width: 188px;
    max-width: 100%;
    height: auto;
}

body.mera-soft-page .site-footer--mera .mera-footer__brand-text,
body:has(.mera-product-page) .site-footer--mera .mera-footer__brand-text {
    margin: 0 !important;
}

body.mera-soft-page .site-footer--mera .mera-footer__brand-text p,
body:has(.mera-product-page) .site-footer--mera .mera-footer__brand-text p {
    margin: 0 0 8px;
    color: var(--mera-muted, #5e6875);
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}

body.mera-soft-page .site-footer--mera .mera-footer__brand-text p:first-child,
body:has(.mera-product-page) .site-footer--mera .mera-footer__brand-text p:first-child {
    color: var(--mera-text, #18222d);
    font-weight: 700;
}

body.mera-soft-page .site-footer--mera .footer-title,
body.mera-soft-page .site-footer--mera .mera-footer__title,
body:has(.mera-product-page) .site-footer--mera .footer-title,
body:has(.mera-product-page) .site-footer--mera .mera-footer__title {
    margin: 2px 0 15px;
    color: var(--mera-text, #18222d);
    font-size: 15px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -0.012em;
}

body.mera-soft-page .site-footer--mera .footer-menu,
body.mera-soft-page .site-footer--mera .mera-footer__menu,
body:has(.mera-product-page) .site-footer--mera .footer-menu,
body:has(.mera-product-page) .site-footer--mera .mera-footer__menu {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.mera-soft-page .site-footer--mera .footer-menu li,
body.mera-soft-page .site-footer--mera .mera-footer__menu li,
body:has(.mera-product-page) .site-footer--mera .footer-menu li,
body:has(.mera-product-page) .site-footer--mera .mera-footer__menu li {
    margin: 0;
    padding: 0;
}

body.mera-soft-page .site-footer--mera a,
body:has(.mera-product-page) .site-footer--mera a {
    color: var(--mera-green, #139b62) !important;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 500;
    letter-spacing: -0.006em;
    text-decoration: none !important;
    transition: color 0.18s ease;
}

body.mera-soft-page .site-footer--mera a:hover,
body.mera-soft-page .site-footer--mera a:focus-visible,
body:has(.mera-product-page) .site-footer--mera a:hover,
body:has(.mera-product-page) .site-footer--mera a:focus-visible {
    color: var(--mera-orange-dark, #f05f42) !important;
    outline: none;
}

body.mera-soft-page .site-footer--mera .mera-footer__contacts,
body:has(.mera-product-page) .site-footer--mera .mera-footer__contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

body.mera-soft-page .site-footer--mera .mera-phone--footer,
body:has(.mera-product-page) .site-footer--mera .mera-phone--footer {
    width: auto !important;
    min-height: 0;
    gap: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: var(--mera-green-dark, #087a4a) !important;
    box-shadow: none !important;
}

body.mera-soft-page .site-footer--mera .mera-phone--footer .mera-phone__icon,
body:has(.mera-product-page) .site-footer--mera .mera-phone--footer .mera-phone__icon {
    display: none;
}

body.mera-soft-page .site-footer--mera .mera-phone--footer .mera-phone__number,
body:has(.mera-product-page) .site-footer--mera .mera-phone--footer .mera-phone__number {
    color: var(--mera-green-dark, #087a4a);
    font-size: 17px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -0.01em;
}

body.mera-soft-page .site-footer--mera .mera-phone--footer:hover,
body.mera-soft-page .site-footer--mera .mera-phone--footer:focus-visible,
body:has(.mera-product-page) .site-footer--mera .mera-phone--footer:hover,
body:has(.mera-product-page) .site-footer--mera .mera-phone--footer:focus-visible {
    border: 0 !important;
    background: transparent !important;
    color: var(--mera-orange-dark, #f05f42) !important;
    box-shadow: none !important;
}

body.mera-soft-page .footer-bottom--mera,
body:has(.mera-product-page) .footer-bottom--mera {
    padding: 0 0 24px;
    border-top: 0;
    background: #ffffff;
    font-family: "Onest", "Segoe UI", Arial, sans-serif !important;
}

body.mera-soft-page .footer-bottom--mera *,
body:has(.mera-product-page) .footer-bottom--mera * {
    font-family: "Onest", "Segoe UI", Arial, sans-serif !important;
}

body.mera-soft-page .footer-bottom--mera .footer-bottom__text,
body:has(.mera-product-page) .footer-bottom--mera .footer-bottom__text {
    margin: 0;
    padding-top: 18px;
    border-top: 1px solid rgba(220, 238, 230, 0.7);
}

body.mera-soft-page .footer-bottom--mera .footer-bottom__text a,
body:has(.mera-product-page) .footer-bottom--mera .footer-bottom__text a {
    color: var(--mera-muted, #5e6875) !important;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 400;
    text-decoration: none !important;
}

@media (max-width: 1199px) {
    body.mera-soft-page .site-footer--mera .mera-footer__grid,
    body:has(.mera-product-page) .site-footer--mera .mera-footer__grid {
        grid-template-columns: minmax(220px, 1.15fr) repeat(2, minmax(145px, 0.75fr));
        gap: 28px 36px;
    }

    body.mera-soft-page .site-footer--mera .mera-footer__contacts,
    body:has(.mera-product-page) .site-footer--mera .mera-footer__contacts {
        grid-column: 1 / -1;
        max-width: 420px;
    }
}

@media (max-width: 991px) {
    body.mera-soft-page .site-header .mera-phone--header .mera-phone__number,
    body:has(.mera-product-page) .site-header .mera-phone--header .mera-phone__number {
        display: none;
    }

    body.mera-soft-page .site-header .mera-phone--header,
    body:has(.mera-product-page) .site-header .mera-phone--header {
        gap: 0 !important;
    }

    body.mera-soft-page .site-header .mera-phone--header .mera-phone__icon,
    body:has(.mera-product-page) .site-header .mera-phone--header .mera-phone__icon {
        display: inline-flex;
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }

    body.mera-soft-page .site-footer--mera .mera-phone--footer,
    body:has(.mera-product-page) .site-footer--mera .mera-phone--footer {
        gap: 10px !important;
    }

    body.mera-soft-page .site-footer--mera .mera-phone--footer .mera-phone__icon,
    body:has(.mera-product-page) .site-footer--mera .mera-phone--footer .mera-phone__icon {
        display: inline-flex;
        flex-basis: 36px;
        width: 36px;
        height: 36px;
        border-radius: 11px;
    }

    body.mera-soft-page .site-footer--mera,
    body:has(.mera-product-page) .site-footer--mera {
        padding-top: 32px;
    }

    body.mera-soft-page .site-footer--mera .footer-logo-img,
    body:has(.mera-product-page) .site-footer--mera .footer-logo-img {
        width: 174px;
    }
}

@media (max-width: 767px) {
    body.mera-soft-page .site-footer--mera,
    body:has(.mera-product-page) .site-footer--mera {
        padding: 24px 0 14px;
    }

    body.mera-soft-page .site-footer--mera .mera-footer__grid,
    body:has(.mera-product-page) .site-footer--mera .mera-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 20px;
    }

    body.mera-soft-page .site-footer--mera .mera-footer__brand,
    body:has(.mera-product-page) .site-footer--mera .mera-footer__brand,
    body.mera-soft-page .site-footer--mera .mera-footer__contacts,
    body:has(.mera-product-page) .site-footer--mera .mera-footer__contacts {
        grid-column: 1 / -1;
    }

    body.mera-soft-page .site-footer--mera .mera-footer__brand,
    body:has(.mera-product-page) .site-footer--mera .mera-footer__brand {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 16px;
        align-items: start;
        padding-bottom: 0;
    }

    body.mera-soft-page .site-footer--mera .mera-footer__logo-link,
    body:has(.mera-product-page) .site-footer--mera .mera-footer__logo-link {
        margin-bottom: 0 !important;
    }

    body.mera-soft-page .site-footer--mera .footer-logo-img,
    body:has(.mera-product-page) .site-footer--mera .footer-logo-img {
        width: 158px;
    }

    body.mera-soft-page .site-footer--mera .mera-footer__brand-text,
    body:has(.mera-product-page) .site-footer--mera .mera-footer__brand-text {
        min-width: 118px;
    }

    body.mera-soft-page .site-footer--mera .mera-footer__brand-text p,
    body:has(.mera-product-page) .site-footer--mera .mera-footer__brand-text p {
        font-size: 13px;
    }

    body.mera-soft-page .site-footer--mera .footer-title,
    body.mera-soft-page .site-footer--mera .mera-footer__title,
    body:has(.mera-product-page) .site-footer--mera .footer-title,
    body:has(.mera-product-page) .site-footer--mera .mera-footer__title {
        margin: 0 0 10px;
    }

    body.mera-soft-page .site-footer--mera .footer-menu,
    body.mera-soft-page .site-footer--mera .mera-footer__menu,
    body:has(.mera-product-page) .site-footer--mera .footer-menu,
    body:has(.mera-product-page) .site-footer--mera .mera-footer__menu {
        gap: 6px;
    }

    body.mera-soft-page .site-footer--mera .mera-footer__contacts,
    body:has(.mera-product-page) .site-footer--mera .mera-footer__contacts {
        max-width: none;
    }

    body.mera-soft-page .footer-bottom--mera,
    body:has(.mera-product-page) .footer-bottom--mera {
        padding-bottom: 14px;
    }

    body.mera-soft-page .footer-bottom--mera .footer-bottom__text,
    body:has(.mera-product-page) .footer-bottom--mera .footer-bottom__text {
        padding-top: 14px;
    }
}

@media (max-width: 479px) {
    body.mera-soft-page .site-footer--mera .mera-footer__grid,
    body:has(.mera-product-page) .site-footer--mera .mera-footer__grid {
        gap: 17px 16px;
    }

    body.mera-soft-page .site-footer--mera .mera-footer__brand,
    body:has(.mera-product-page) .site-footer--mera .mera-footer__brand {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    body.mera-soft-page .site-footer--mera .footer-logo-img,
    body:has(.mera-product-page) .site-footer--mera .footer-logo-img {
        width: 150px;
    }

    body.mera-soft-page .site-footer--mera .mera-phone--footer,
    body:has(.mera-product-page) .site-footer--mera .mera-phone--footer {
        min-height: 0;
        padding: 0 !important;
    }

    body.mera-soft-page .site-footer--mera .mera-phone--footer .mera-phone__number,
    body:has(.mera-product-page) .site-footer--mera .mera-phone--footer .mera-phone__number {
        font-size: 16px;
    }
}
/* =========================================================
   MOBILE MENU SCROLL OVERRIDE
   On MeraSoft pages the legacy main.js may still add .no-scroll.
   Keep page scrolling enabled while the mobile menu is open.
   ========================================================= */
@media (max-width: 991px) {
    html:has(body.mera-soft-page.no-scroll),
    html:has(body.mera-soft-page .mobile-menu-btn.opened),
    html:has(body:has(.mera-product-page).no-scroll),
    html:has(body:has(.mera-product-page) .mobile-menu-btn.opened) {
        overflow-y: auto !important;
        height: auto !important;
        max-height: none !important;
        overscroll-behavior-y: auto !important;
    }

    body.mera-soft-page.no-scroll,
    body.mera-soft-page:has(.mobile-menu-btn.opened),
    body:has(.mera-product-page).no-scroll,
    body:has(.mera-product-page):has(.mobile-menu-btn.opened) {
        position: static !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        width: auto !important;
        height: auto !important;
        max-height: none !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        touch-action: auto !important;
        overscroll-behavior-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }
}

/* =========================================================
   MERASOFT COOKIE BANNER
   Compact branded panel; only affects /mera-soft/ pages.
   ========================================================= */
body.mera-soft-page #nca-cookiesaccept-line {
    box-sizing: border-box !important;
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    bottom: 12px !important;
    width: min(720px, calc(100% - 32px)) !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    opacity: 1 !important;
    transform: translateX(-50%) !important;
    z-index: 9999 !important;
}

@supports (bottom: env(safe-area-inset-bottom)) {
    body.mera-soft-page #nca-cookiesaccept-line {
        bottom: calc(12px + env(safe-area-inset-bottom)) !important;
    }
}

body.mera-soft-page #nca-cookiesaccept-line > .nca-bar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 14px !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 14px 16px !important;
    border: 1px solid rgba(19, 155, 98, 0.14) !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 16px 42px rgba(20, 58, 42, 0.14) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

body.mera-soft-page #nca-cookiesaccept-line > .nca-bar > div {
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.mera-soft-page #nca-cookiesaccept-line .nca-cookiesaccept-line-text {
    margin: 0 !important;
    padding: 0 !important;
    color: var(--mera-muted, #5e6875) !important;
    font-family: "Onest", "Segoe UI", Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.42 !important;
    font-weight: 500 !important;
}

body.mera-soft-page #nca-cookiesaccept-line .mera-cookie-desktop-copy {
    display: inline !important;
}

body.mera-soft-page #nca-cookiesaccept-line .mera-cookie-mobile-copy {
    display: none !important;
}

body.mera-soft-page #nca-cookiesaccept-line .nca-cookiesaccept-line-text a,
body.mera-soft-page #nca-cookiesaccept-line .nca-cookiesaccept-line-text a:visited {
    color: var(--mera-green-dark, #087a4a) !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
    text-decoration-color: rgba(8, 122, 74, 0.28) !important;
    text-underline-offset: 2px !important;
}

body.mera-soft-page #nca-cookiesaccept-line .nca-cookiesaccept-line-text a:hover,
body.mera-soft-page #nca-cookiesaccept-line .nca-cookiesaccept-line-text a:focus-visible {
    color: var(--mera-orange-dark, #f05f42) !important;
    text-decoration-color: currentColor !important;
    outline: none !important;
}

body.mera-soft-page #nca-cookiesaccept-line #nca-cookiesaccept-line-accept-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 108px !important;
    min-height: 40px !important;
    margin: 0 !important;
    border: 1px solid var(--mera-green, #139b62) !important;
    border-radius: 999px !important;
    padding: 0 18px !important;
    background: var(--mera-green, #139b62) !important;
    color: #ffffff !important;
    font-family: "Onest", "Segoe UI", Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    box-shadow: 0 8px 18px rgba(19, 155, 98, 0.16) !important;
    cursor: pointer !important;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease !important;
}

body.mera-soft-page #nca-cookiesaccept-line #nca-cookiesaccept-line-accept-btn:hover,
body.mera-soft-page #nca-cookiesaccept-line #nca-cookiesaccept-line-accept-btn:focus-visible {
    border-color: var(--mera-green-dark, #087a4a) !important;
    background: var(--mera-green-dark, #087a4a) !important;
    outline: none !important;
}

body.mera-soft-page:has(.mobile-menu-btn.opened) #nca-cookiesaccept-line {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translate(-50%, 8px) !important;
}

@media (max-width: 767px) {
    body.mera-soft-page #nca-cookiesaccept-line {
        bottom: 10px !important;
        width: calc(100% - 20px) !important;
    }

    @supports (bottom: env(safe-area-inset-bottom)) {
        body.mera-soft-page #nca-cookiesaccept-line {
            bottom: calc(10px + env(safe-area-inset-bottom)) !important;
        }
    }

    body.mera-soft-page #nca-cookiesaccept-line > .nca-bar {
        grid-template-columns: minmax(0, 1fr) auto !important;
        gap: 10px !important;
        padding: 10px 12px !important;
        border-radius: 16px !important;
    }

    body.mera-soft-page #nca-cookiesaccept-line .nca-cookiesaccept-line-text {
        font-size: 12.5px !important;
        line-height: 1.32 !important;
    }

    body.mera-soft-page #nca-cookiesaccept-line .mera-cookie-desktop-copy {
        display: none !important;
    }

    body.mera-soft-page #nca-cookiesaccept-line .mera-cookie-mobile-copy {
        display: inline !important;
    }

    body.mera-soft-page #nca-cookiesaccept-line #nca-cookiesaccept-line-accept-btn {
        min-width: 88px !important;
        min-height: 36px !important;
        padding: 0 14px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 420px) {
    body.mera-soft-page #nca-cookiesaccept-line > .nca-bar {
        gap: 8px !important;
        padding: 9px 10px !important;
    }

    body.mera-soft-page #nca-cookiesaccept-line .nca-cookiesaccept-line-text {
        font-size: 12px !important;
        line-height: 1.3 !important;
    }

    body.mera-soft-page #nca-cookiesaccept-line #nca-cookiesaccept-line-accept-btn {
        min-width: 82px !important;
        min-height: 34px !important;
        padding: 0 11px !important;
        font-size: 12.5px !important;
    }
}

