/*
 * OGONKI.BY Modern UI — Navigation
 * Version: 0.1.2
 * Date: 2026-09-17
 *
 * Scope:
 * - only body.ogonki-modern;
 * - no changes to Classic theme;
 * - no external fonts, icons, CDN or JS dependencies;
 * - works on top of the existing SoloMono menu markup and behaviour.
 */

/* Shared menu tokens */
body.ogonki-modern {
    --og-menu-height: 64px;
    --og-menu-surface: rgba(255,255,255,.96);
    --og-menu-text: #24292f;
    --og-menu-hover: #f2f7ef;
    --og-menu-shadow: 0 18px 50px rgba(20,27,35,.10);
}

body.ogonki-modern .add_navbar {
    position: relative;
    z-index: 120;
    background: var(--og-menu-surface);
    border-bottom: 1px solid var(--og-line);
    box-shadow: 0 5px 24px rgba(20,27,35,.045);
    backdrop-filter: saturate(140%) blur(12px);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
}

body.ogonki-modern .add_navbar a,
body.ogonki-modern .add_navbar button {
    font-family: var(--og-font) !important;
}

body.ogonki-modern .add_navbar .new_nav {
    min-height: var(--og-menu-height);
    padding: 9px 0;
}

/* ---------- Desktop navigation ---------- */
@media (min-width: 992px) {
    body.ogonki-modern .add_navbar .new_nav {
        justify-content: flex-start;
        gap: 8px;
    }

    body.ogonki-modern .new_nav-item {
        flex: 0 0 auto;
    }

    body.ogonki-modern .block_categories {
        margin-right: 4px;
    }

    body.ogonki-modern .block_categories .button-main-cursor {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 10px;
        min-width: 142px;
        height: 46px;
        margin: 0;
        padding: 0 15px;
        border: 0;
        border-radius: 14px;
        background: var(--og-dark);
        color: #fff;
        font-size: 14px;
        line-height: 1;
        font-weight: 720;
        letter-spacing: 0;
        box-shadow: 0 7px 18px rgba(20,24,29,.14);
    }

    body.ogonki-modern .block_categories .button-main-cursor:hover,
    body.ogonki-modern .block_categories .button-main-cursor:focus,
    body.ogonki-modern .block_categories .button-main-cursor:not(.collapsed) {
        background: #24272c;
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 10px 24px rgba(20,24,29,.18);
    }

    /* Menu icon made with CSS only, no external asset. */
    body.ogonki-modern .block_categories .button-title {
        display: inline-flex;
        align-items: center;
        gap: 10px;
    }

    body.ogonki-modern .block_categories .button-title:before {
        content: "";
        display: inline-block;
        width: 17px;
        height: 12px;
        border-radius: 1px;
        background:
            linear-gradient(#fff,#fff) 0 0 / 17px 2px no-repeat,
            linear-gradient(#fff,#fff) 0 5px / 13px 2px no-repeat,
            linear-gradient(#fff,#fff) 0 10px / 17px 2px no-repeat;
        opacity: .95;
    }

    body.ogonki-modern .block_categories .button-main-cursor:after,
    body.ogonki-modern .menu_information li > a:after {
        content: none !important;
        display: none !important;
    }

    body.ogonki-modern .block_categories .button-main-cursor > .down {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        margin: 0 0 0 2px;
        top: 0;
        border-radius: 8px;
        background: rgba(255,255,255,.10);
    }

    body.ogonki-modern .block_categories .button-main-cursor > .down svg {
        width: 7px;
        height: 11px;
        fill: #fff;
    }

    body.ogonki-modern .block_information {
        flex: 1 1 auto;
        min-width: 0;
    }

    body.ogonki-modern .menu_information {
        display: flex;
        align-items: center;
        gap: 3px;
        margin: 0;
        padding: 0;
        flex-wrap: wrap;
    }

    body.ogonki-modern .menu_information li {
        margin: 0;
        padding: 0;
    }

    body.ogonki-modern .menu_information li > a {
        display: inline-flex;
        align-items: center;
        min-height: 42px;
        padding: 0 12px;
        border: 0;
        border-radius: 11px;
        background: transparent;
        color: var(--og-menu-text);
        font-size: 13px;
        line-height: 1.2;
        font-weight: 640;
        letter-spacing: 0;
        text-transform: none;
        white-space: nowrap;
    }

    body.ogonki-modern .menu_information li > a:hover,
    body.ogonki-modern .menu_information li > a:focus {
        background: var(--og-menu-hover);
        color: var(--og-accent-dark);
        transform: translateY(-1px);
    }

    body.ogonki-modern .socials_telegram {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        margin-left: auto;
        padding-left: 8px;
    }

    body.ogonki-modern .socials_telegram a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border: 1px solid var(--og-line);
        border-radius: 13px;
        background: #f7fafc;
        box-shadow: 0 4px 12px rgba(20,27,35,.05);
    }

    body.ogonki-modern .socials_telegram a:hover {
        border-color: #b9d9ef;
        background: #edf7fd;
        transform: translateY(-2px);
    }

    body.ogonki-modern .socials_telegram svg {
        width: 22px;
        height: 19px;
    }

    body.ogonki-modern .socials_telegram svg path {
        fill: #269bd8;
    }

    /* Large catalog dropdown */
    body.ogonki-modern .add_navbar .new_nav .wrapper_main_list.collapse.in {
        top: calc(var(--og-menu-height) - 1px);
        min-height: 450px;
        padding: 12px;
        border: 1px solid var(--og-line);
        border-radius: 0 0 22px 22px;
        background: rgba(255,255,255,.985);
        box-shadow: var(--og-menu-shadow);
        overflow: visible;
    }

    body.ogonki-modern .add_navbar .new_nav .main_list {
        width: 292px;
        min-height: 424px;
        height: 100%;
        margin: 0;
        padding: 8px;
        border: 0;
        border-radius: 15px;
        background: #f7f9fa;
    }

    body.ogonki-modern .add_navbar .new_nav .main_list > li {
        margin: 1px 0;
    }

    body.ogonki-modern .add_navbar .new_nav .main_list > li > a,
    body.ogonki-modern .add_navbar .new_nav .main_list > li > .hide-category-url {
        min-height: 39px;
        margin: 0;
        padding: 9px 38px 9px 13px;
        border-radius: 10px;
        background: transparent;
        color: var(--og-text);
        font-size: 13px;
        line-height: 1.3;
        font-weight: 610;
        letter-spacing: 0;
        text-transform: none;
    }

    body.ogonki-modern .add_navbar .new_nav .main_list > li:hover > a,
    body.ogonki-modern .add_navbar .new_nav .main_list > li:hover > .hide-category-url {
        background: var(--og-accent-soft);
        color: #356f26;
    }

    body.ogonki-modern .main_list > li.sub_list > a:after,
    body.ogonki-modern .main_list > li.sub_list > .hide-category-url:after {
        right: 13px;
        width: 7px;
        height: 11px;
        opacity: .45;
    }

    body.ogonki-modern .add_navbar .new_nav .main_list li:hover > a:after,
    body.ogonki-modern .add_navbar .new_nav .main_list li:hover > .hide-category-url:after {
        filter: none;
        opacity: .8;
    }

    body.ogonki-modern .sub_list .wrapper_list {
        top: -9px;
        padding: 8px 10px 12px 18px;
    }

    body.ogonki-modern .sub_list .wrapper_list:before {
        left: -292px;
        top: -4px;
        min-height: 424px;
        border: 0;
        background: transparent;
    }

    body.ogonki-modern .wrapper_list .sub1 {
        min-height: 408px;
        padding: 8px 6px 10px 10px;
        border: 0;
        background: transparent;
    }

    body.ogonki-modern .wrapper_list .sub1 > li {
        min-height: 35px;
        margin: 1px 0;
    }

    body.ogonki-modern .wrapper_list .sub1 > li > a,
    body.ogonki-modern .sub1_sub-wrapper .sub1_sub > li > a,
    body.ogonki-modern .wrapper_list .some_list > li > a {
        min-height: 34px;
        padding: 8px 10px;
        border-radius: 9px;
        color: var(--og-text-soft);
        font-size: 13px;
        line-height: 1.35;
        font-weight: 560;
        letter-spacing: 0;
        text-transform: none;
    }

    body.ogonki-modern .wrapper_list .sub1 > li > a:hover,
    body.ogonki-modern .wrapper_list .sub1 > li.sub1_list.active > a,
    body.ogonki-modern .add_navbar .new_nav .main_list .sub1_sub-wrapper .sub1_sub > li:hover > a {
        background: var(--og-menu-hover);
        color: var(--og-accent-dark);
    }

    body.ogonki-modern .wrapper_list .sub1 > li > a.down {
        top: 3px;
        right: 3px;
        width: 30px;
        height: 30px;
        border-radius: 9px;
        color: var(--og-muted);
    }

    body.ogonki-modern .wrapper_list .sub1 > li > a.down:hover {
        background: #edf1f3;
        color: var(--og-text);
    }

    body.ogonki-modern .wrapper_list .some_list span {
        padding: 8px 10px 9px;
        color: var(--og-text);
        font-size: 13px;
        font-weight: 720;
        letter-spacing: 0;
    }

    body.ogonki-modern .overlay {
        top: 0;
        z-index: -1;
        background: rgba(17,22,28,.34);
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
    }

    body.ogonki-modern .add_navbar .new_nav .wrapper_main_list.collapse.in + .overlay {
        z-index: 90;
    }
}

/* ---------- Tablet + mobile: real off-canvas drawer ---------- */
@media (max-width: 991px) {
    body.ogonki-modern .add_navbar,
    body.ogonki-modern .new_nav-wrapper {
        background: var(--og-dark) !important;
    }

    body.ogonki-modern .add_navbar {
        height: 62px;
        min-height: 62px;
        border-bottom: 1px solid rgba(255,255,255,.07);
        box-shadow: 0 4px 18px rgba(10,12,15,.14);
    }

    body.ogonki-modern .new_nav-wrapper > .row {
        min-height: 62px;
        display: flex;
        align-items: center;
    }

    body.ogonki-modern .new_nav-wrapper .logo_block,
    body.ogonki-modern .mobile-header-phone,
    body.ogonki-modern .header-actions,
    body.ogonki-modern .basket_block {
        min-height: 62px;
        height: 62px;
    }

    body.ogonki-modern .new_nav-wrapper .logo_block {
        display: flex !important;
        align-items: center;
    }

    body.ogonki-modern .new_nav-wrapper .logo_block img {
        max-height: 40px;
        width: auto;
    }

    body.ogonki-modern .mobile-header-phone {
        display: flex !important;
        align-items: center;
        overflow: hidden;
        color: rgba(255,255,255,.88);
        font-size: 12px;
    }

    body.ogonki-modern .mobile-header-phone a,
    body.ogonki-modern .mobile-header-phone p,
    body.ogonki-modern .mobile-header-phone span {
        color: rgba(255,255,255,.88) !important;
        font-family: var(--og-font) !important;
    }

    body.ogonki-modern .header-actions {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        gap: 5px;
    }

    body.ogonki-modern .btn-mobile_menu {
        position: relative;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        width: 42px;
        height: 42px;
        margin: 0 0 0 4px;
        padding: 0;
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 13px;
        background: rgba(255,255,255,.075);
        box-shadow: none;
    }

    body.ogonki-modern .btn-mobile_menu:hover,
    body.ogonki-modern .btn-mobile_menu:focus,
    body.ogonki-modern .btn-mobile_menu.active_btn {
        border-color: rgba(255,255,255,.22);
        background: rgba(255,255,255,.13);
        outline: none;
    }

    body.ogonki-modern .btn-mobile_menu .icon-bar {
        display: block;
        width: 18px;
        height: 2px;
        margin: 0;
        border-radius: 2px;
        background: #fff;
        transition: transform .22s ease, opacity .18s ease;
        transform-origin: center;
    }

    body.ogonki-modern .btn-mobile_menu.active_btn .icon-bar:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    body.ogonki-modern .btn-mobile_menu.active_btn .icon-bar:nth-child(2) {
        opacity: 0;
    }

    body.ogonki-modern .btn-mobile_menu.active_btn .icon-bar:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    body.ogonki-modern .new_nav-wrapper .mobile_menu {
        position: fixed !important;
        top: 62px !important;
        right: 0 !important;
        bottom: 0 !important;
        left: auto !important;
        z-index: 1100 !important;
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        width: min(390px, 92vw) !important;
        height: calc(100dvh - 62px) !important;
        max-height: calc(100vh - 62px) !important;
        margin: 0 !important;
        padding: 12px 10px 26px !important;
        overflow-x: hidden;
        overflow-y: auto;
        visibility: hidden !important;
        opacity: 0;
        background: #f4f6f7 !important;
        box-shadow: -18px 0 45px rgba(13,18,24,.17);
        transform: translateX(104%) !important;
        transition: transform .25s ease, opacity .2s ease, visibility .25s ease;
        -webkit-overflow-scrolling: touch;
    }

    body.ogonki-modern .new_nav-wrapper .mobile_menu.active_menu {
        visibility: visible !important;
        opacity: 1 !important;
        transform: translateX(0) !important;
    }

    body.ogonki-modern .mobile_menu .new_nav-item {
        width: 100%;
        margin: 0 0 8px;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    body.ogonki-modern .mobile_menu .block_categories,
    body.ogonki-modern .mobile_menu .block_information {
        display: block !important;
    }

    body.ogonki-modern .mobile_menu .button-main-cursor {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 50px;
        height: auto;
        margin: 0;
        padding: 0 14px;
        border: 1px solid var(--og-line);
        border-radius: 14px;
        background: #fff;
        color: var(--og-text);
        font-size: 14px;
        line-height: 1.2;
        font-weight: 700;
        box-shadow: 0 3px 12px rgba(20,27,35,.035);
    }

    body.ogonki-modern .mobile_menu .block_categories > .button-main-cursor {
        border-color: transparent;
        background: var(--og-dark);
        color: #fff;
        box-shadow: 0 7px 18px rgba(20,24,29,.12);
    }

    body.ogonki-modern .mobile_menu .button-main-cursor:after,
    body.ogonki-modern .mobile_menu .menu_information li > a:after {
        content: none !important;
    }

    body.ogonki-modern .mobile_menu .button-main-cursor .down {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        border-radius: 9px;
        background: rgba(0,0,0,.045);
    }

    body.ogonki-modern .mobile_menu .block_categories > .button-main-cursor .down {
        background: rgba(255,255,255,.10);
    }

    body.ogonki-modern .mobile_menu .button-main-cursor .down svg {
        width: 7px;
        height: 11px;
    }

    body.ogonki-modern .mobile_menu .block_categories > .button-main-cursor .down svg {
        fill: #fff;
    }

    body.ogonki-modern .mobile_menu .wrapper_main_list,
    body.ogonki-modern .mobile_menu .wrapper_main_list.open_menu,
    body.ogonki-modern .mobile_menu .wrapper_main_list.collapse.in,
    body.ogonki-modern .mobile_menu .menu_information,
    body.ogonki-modern .mobile_menu .menu_information.open_menu {
        position: static !important;
        width: 100% !important;
        min-height: 0 !important;
        height: auto !important;
        margin: 7px 0 0 !important;
        padding: 6px !important;
        border: 1px solid var(--og-line) !important;
        border-radius: 14px !important;
        background: #fff !important;
        box-shadow: 0 3px 12px rgba(20,27,35,.035) !important;
    }

    body.ogonki-modern .mobile_menu .wrapper_main_list.collapse:not(.in):not(.open_menu),
    body.ogonki-modern .mobile_menu .menu_information.collapse:not(.in):not(.open_menu) {
        display: none !important;
    }

    body.ogonki-modern .mobile_menu .main_list {
        display: block;
        width: 100%;
        min-height: 0;
        height: auto;
        margin: 0;
        padding: 0;
        border: 0;
        background: transparent !important;
    }

    body.ogonki-modern .mobile_menu .main_list > li > a,
    body.ogonki-modern .mobile_menu .main_list > li > .hide-category-url,
    body.ogonki-modern .mobile_menu .menu_information > li > a,
    body.ogonki-modern .mobile_menu .menu_manuf > li > a {
        display: flex;
        align-items: center;
        min-height: 43px;
        margin: 2px 0;
        padding: 9px 40px 9px 12px;
        border: 0;
        border-radius: 10px;
        background: transparent;
        color: var(--og-text);
        font-size: 13px;
        line-height: 1.35;
        font-weight: 610;
        letter-spacing: 0;
        text-transform: none;
        box-shadow: none;
    }

    body.ogonki-modern .mobile_menu .main_list > li > a:hover,
    body.ogonki-modern .mobile_menu .main_list > li > .hide-category-url:hover,
    body.ogonki-modern .mobile_menu .menu_information > li > a:hover {
        background: var(--og-menu-hover);
        color: var(--og-accent-dark);
    }

    body.ogonki-modern .mobile_menu .sub_list .wrapper_list,
    body.ogonki-modern .mobile_menu .sub1_list .sub1_sub-wrapper {
        position: static !important;
        width: 100% !important;
        min-height: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        border: 0 !important;
        background: #f6f8f9 !important;
    }

    body.ogonki-modern .mobile_menu .sub_list .wrapper_list:before {
        content: none !important;
    }

    body.ogonki-modern .mobile_menu .wrapper_list .sub1 {
        width: 100%;
        min-height: 0;
        padding: 4px 0 4px 10px;
        border: 0;
        background: transparent;
    }

    body.ogonki-modern .mobile_menu .wrapper_list .sub1 > li > a,
    body.ogonki-modern .mobile_menu .sub1_sub-wrapper .sub1_sub > li > a {
        min-height: 39px;
        padding: 8px 38px 8px 11px;
        border-radius: 9px;
        color: var(--og-text-soft);
        font-size: 13px;
        line-height: 1.35;
        font-weight: 560;
    }

    body.ogonki-modern .mobile_menu .settings-selector,
    body.ogonki-modern .mobile_menu .wish_list-block,
    body.ogonki-modern .mobile_menu .opt_block,
    body.ogonki-modern .mobile_menu .login_block,
    body.ogonki-modern .mobile_menu .callback_block,
    body.ogonki-modern .mobile_menu .phones_block,
    body.ogonki-modern .mobile_menu .socials_telegram {
        padding: 12px 14px;
        border: 1px solid var(--og-line);
        border-radius: 14px;
        background: #fff;
        color: var(--og-text);
        box-shadow: 0 3px 12px rgba(20,27,35,.035);
    }

    body.ogonki-modern .mobile_menu .opt_block .opt,
    body.ogonki-modern .mobile_menu .login_block > a,
    body.ogonki-modern .mobile_menu .callback_block a,
    body.ogonki-modern .mobile_menu .phones_block a {
        color: var(--og-text) !important;
        font-size: 13px;
        font-weight: 620;
        text-transform: none;
    }

    body.ogonki-modern .mobile_menu .opt_block svg,
    body.ogonki-modern .mobile_menu .login_block svg {
        width: 20px !important;
        height: 20px !important;
        margin-right: 9px;
    }

    body.ogonki-modern .mobile_menu .socials_telegram {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    body.ogonki-modern .mobile_menu .socials_telegram a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 12px;
        background: #edf7fd;
    }

    body.ogonki-modern .mobile_menu .socials_telegram svg {
        width: 22px;
        height: 19px;
    }

    body.ogonki-modern .mobile_menu .socials_telegram svg path {
        fill: #269bd8;
    }

    body.ogonki-modern .splash {
        position: fixed !important;
        inset: 62px 0 0 0;
        z-index: 1080 !important;
        display: block !important;
        visibility: hidden;
        opacity: 0;
        background: rgba(11,15,20,.46);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        pointer-events: none;
        transition: opacity .22s ease, visibility .22s ease;
    }

    body.ogonki-modern .splash.splash_open {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }
}

@media (max-width: 600px) {
    body.ogonki-modern .mobile-header-phone {
        font-size: 11px;
    }

    body.ogonki-modern .new_nav-wrapper .mobile_menu {
        width: min(360px, 94vw) !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}

@media (max-width: 420px) {
    body.ogonki-modern .mobile-header-phone {
        display: none !important;
    }

    body.ogonki-modern .new_nav-wrapper .logo_block {
        width: 50%;
    }

    body.ogonki-modern .header-actions {
        margin-left: auto;
        width: 50%;
    }
}

/* ========================================================================== */
/* OGONKI Modern Navigation 0.1.8 — interaction + visual pass                 */
/* ========================================================================== */

body.ogonki-modern.og-menu-lock {
    overflow: hidden !important;
}

body.ogonki-modern .og-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 115;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    background: rgba(12, 16, 21, .42);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    transition: opacity .2s ease, visibility .2s ease;
}

body.ogonki-modern .og-menu-backdrop.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

@media (min-width: 992px) {
    body.ogonki-modern .add_navbar {
        z-index: 130;
        border-bottom: 1px solid rgba(27, 36, 45, .08);
        background: rgba(255, 255, 255, .97);
        box-shadow: 0 8px 28px rgba(17, 24, 31, .055);
    }

    body.ogonki-modern .add_navbar .new_nav {
        min-height: 58px;
        padding: 6px 0;
        gap: 10px;
    }

    body.ogonki-modern .block_categories {
        position: relative;
        z-index: 132;
        margin-right: 8px;
    }

    body.ogonki-modern .block_categories .button-main-cursor {
        min-width: 154px;
        height: 46px;
        padding: 0 16px;
        border: 1px solid rgba(255, 255, 255, .08);
        border-radius: 14px;
        background: #191d22;
        color: #fff;
        box-shadow: 0 8px 22px rgba(19, 24, 30, .15);
        cursor: pointer;
        transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
    }

    body.ogonki-modern .block_categories .button-main-cursor:hover,
    body.ogonki-modern .block_categories .button-main-cursor:focus,
    body.ogonki-modern .block_categories.og-catalog-active .button-main-cursor {
        background: #23292f;
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 11px 28px rgba(19, 24, 30, .20);
    }

    body.ogonki-modern .block_categories.og-catalog-active .button-main-cursor {
        outline: 2px solid rgba(111, 190, 82, .22);
        outline-offset: 2px;
    }

    body.ogonki-modern .menu_information {
        gap: 4px;
    }

    body.ogonki-modern .menu_information li > a {
        min-height: 42px;
        padding: 0 13px;
        border-radius: 12px;
        color: #30363d;
        font-size: 14px;
        font-weight: 650;
        transition: background .16s ease, color .16s ease, transform .16s ease;
    }

    body.ogonki-modern .menu_information li > a:hover,
    body.ogonki-modern .menu_information li > a:focus {
        background: #eef6ea;
        color: #397428;
    }

    body.ogonki-modern .socials_telegram a {
        width: 42px;
        height: 42px;
        border-radius: 13px;
        background: #f4f8fa;
    }

    /* One clean floating catalog surface. */
    body.ogonki-modern .add_navbar .new_nav .wrapper_main_list.collapse.in,
    body.ogonki-modern .add_navbar .new_nav .wrapper_main_list.open_menu {
        position: absolute !important;
        top: 54px !important;
        left: 0 !important;
        z-index: 134 !important;
        display: block !important;
        width: min(900px, calc(100vw - 36px)) !important;
        min-height: 438px !important;
        height: auto !important;
        max-height: min(650px, calc(100vh - 120px));
        margin: 0 !important;
        padding: 12px !important;
        overflow: visible !important;
        border: 1px solid rgba(28, 36, 44, .09) !important;
        border-radius: 22px !important;
        background: rgba(255, 255, 255, .99) !important;
        box-shadow: 0 24px 70px rgba(15, 22, 29, .20) !important;
        animation: ogCatalogIn .17s ease both;
    }

    @keyframes ogCatalogIn {
        from { opacity: 0; transform: translateY(-5px) scale(.992); }
        to { opacity: 1; transform: translateY(0) scale(1); }
    }

    body.ogonki-modern .add_navbar .new_nav .main_list {
        width: 276px !important;
        min-height: 412px !important;
        max-height: min(620px, calc(100vh - 150px));
        margin: 0 !important;
        padding: 8px !important;
        overflow-y: auto;
        overflow-x: visible;
        border: 0 !important;
        border-radius: 16px !important;
        background: #f4f6f7 !important;
        scrollbar-width: thin;
        scrollbar-color: #cbd2d7 transparent;
    }

    body.ogonki-modern .add_navbar .new_nav .main_list > li {
        position: relative;
        margin: 2px 0 !important;
    }

    body.ogonki-modern .add_navbar .new_nav .main_list > li > a,
    body.ogonki-modern .add_navbar .new_nav .main_list > li > .hide-category-url {
        min-height: 42px !important;
        padding: 10px 38px 10px 13px !important;
        border: 1px solid transparent;
        border-radius: 11px !important;
        color: #2b3238 !important;
        font-size: 13px !important;
        font-weight: 650 !important;
        line-height: 1.25 !important;
        transition: background .15s ease, border-color .15s ease, color .15s ease;
    }

    body.ogonki-modern .add_navbar .new_nav .main_list > li:hover > a,
    body.ogonki-modern .add_navbar .new_nav .main_list > li:hover > .hide-category-url {
        border-color: #dbead5;
        background: #edf6e9 !important;
        color: #326d23 !important;
    }

    /* Old mega-menu uses an oversized white pseudo-background. The Modern panel is the background now. */
    body.ogonki-modern .sub_list .wrapper_list:before {
        content: none !important;
        display: none !important;
    }

    body.ogonki-modern .sub_list .wrapper_list {
        top: 0 !important;
        left: 100% !important;
        width: min(600px, calc(100vw - 330px)) !important;
        min-height: 412px !important;
        max-height: min(620px, calc(100vh - 150px));
        padding: 10px 10px 12px 18px !important;
        overflow-y: auto;
        border: 0 !important;
        border-radius: 0 16px 16px 0;
        background: #fff !important;
        box-shadow: none !important;
    }

    body.ogonki-modern .wrapper_list .sub1 {
        width: 50% !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 4px 8px !important;
        border: 0 !important;
        background: transparent !important;
    }

    body.ogonki-modern .wrapper_list .sub1 > li {
        min-height: 0 !important;
        margin: 2px 0 !important;
    }

    body.ogonki-modern .wrapper_list .sub1 > li > a,
    body.ogonki-modern .sub1_sub-wrapper .sub1_sub > li > a,
    body.ogonki-modern .wrapper_list .some_list > li > a {
        min-height: 38px !important;
        padding: 9px 10px !important;
        border-radius: 10px !important;
        color: #4a545e !important;
        font-size: 13px !important;
        font-weight: 570 !important;
        line-height: 1.3 !important;
    }

    body.ogonki-modern .wrapper_list .sub1 > li > a:hover,
    body.ogonki-modern .wrapper_list .sub1 > li.sub1_list.active > a,
    body.ogonki-modern .add_navbar .new_nav .main_list .sub1_sub-wrapper .sub1_sub > li:hover > a {
        background: #f1f6ee !important;
        color: #376f29 !important;
    }

    body.ogonki-modern .overlay {
        display: none !important;
    }
}

/* Tablet/mobile drawer ----------------------------------------------------- */
@media (max-width: 991px) {
    body.ogonki-modern .og-menu-backdrop {
        display: none !important;
    }

    body.ogonki-modern .add_navbar {
        z-index: 1090 !important;
        height: 64px !important;
        min-height: 64px !important;
        background: #171b20 !important;
        box-shadow: 0 6px 24px rgba(11, 15, 20, .16);
    }

    body.ogonki-modern .new_nav-wrapper > .row,
    body.ogonki-modern .new_nav-wrapper .logo_block,
    body.ogonki-modern .mobile-header-phone,
    body.ogonki-modern .header-actions,
    body.ogonki-modern .basket_block {
        min-height: 64px !important;
        height: 64px !important;
    }

    body.ogonki-modern .btn-mobile_menu {
        width: 44px !important;
        height: 44px !important;
        border: 1px solid rgba(255, 255, 255, .14) !important;
        border-radius: 14px !important;
        background: rgba(255, 255, 255, .08) !important;
    }

    body.ogonki-modern .new_nav-wrapper .mobile_menu {
        top: 64px !important;
        width: min(420px, 94vw) !important;
        height: calc(100dvh - 64px) !important;
        max-height: calc(100vh - 64px) !important;
        padding: 0 12px 28px !important;
        border-left: 1px solid rgba(24, 31, 39, .08);
        background: #f5f7f8 !important;
        box-shadow: -24px 0 70px rgba(10, 15, 20, .25) !important;
    }

    body.ogonki-modern .og-mobile-menu-head {
        position: sticky;
        top: 0;
        z-index: 5;
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 76px;
        margin: 0 -12px 12px;
        padding: 14px 14px 12px 18px;
        border-bottom: 1px solid #e3e7ea;
        background: rgba(245, 247, 248, .96);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    body.ogonki-modern .og-mobile-menu-title {
        display: flex;
        flex-direction: column;
        gap: 2px;
        text-align: left;
    }

    body.ogonki-modern .og-mobile-menu-title span {
        color: #6f7b85;
        font-size: 11px;
        font-weight: 650;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

    body.ogonki-modern .og-mobile-menu-title strong {
        color: #20262c;
        font-size: 20px;
        line-height: 1.15;
        font-weight: 760;
    }

    body.ogonki-modern .og-mobile-menu-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        padding: 0;
        border: 1px solid #dce2e6;
        border-radius: 13px;
        background: #fff;
        color: #343d45;
        font: 400 28px/1 var(--og-font);
        cursor: pointer;
        box-shadow: 0 4px 14px rgba(21, 28, 35, .06);
    }

    body.ogonki-modern .mobile_menu .new_nav-item {
        margin-bottom: 10px !important;
    }

    body.ogonki-modern .mobile_menu .button-main-cursor {
        min-height: 52px !important;
        padding: 0 14px !important;
        border-radius: 14px !important;
        font-size: 14px !important;
        font-weight: 700 !important;
    }

    body.ogonki-modern .mobile_menu .block_categories > .button-main-cursor {
        background: #1c2127 !important;
        color: #fff !important;
    }

    body.ogonki-modern .mobile_menu .wrapper_main_list,
    body.ogonki-modern .mobile_menu .menu_information,
    body.ogonki-modern .mobile_menu .menu_manuf {
        margin-top: 7px !important;
        padding: 6px !important;
        border: 1px solid #e0e5e8 !important;
        border-radius: 14px !important;
        background: #fff !important;
    }

    body.ogonki-modern .mobile_menu .main_list > li > a,
    body.ogonki-modern .mobile_menu .main_list > li > .hide-category-url,
    body.ogonki-modern .mobile_menu .menu_information > li > a,
    body.ogonki-modern .mobile_menu .menu_manuf > li > a {
        min-height: 46px !important;
        margin: 2px 0 !important;
        padding: 10px 42px 10px 12px !important;
        border-radius: 10px !important;
        background: transparent !important;
        color: #30383f !important;
        font-size: 14px !important;
        font-weight: 620 !important;
    }

    body.ogonki-modern .mobile_menu .main_list > li > a:hover,
    body.ogonki-modern .mobile_menu .main_list > li > .hide-category-url:hover,
    body.ogonki-modern .mobile_menu .menu_information > li > a:hover {
        background: #edf6e9 !important;
        color: #376f29 !important;
    }

    body.ogonki-modern .mobile_menu .sub_list .wrapper_list,
    body.ogonki-modern .mobile_menu .sub1_list .sub1_sub-wrapper {
        margin: 3px 0 5px !important;
        padding: 5px !important;
        border-radius: 10px !important;
        background: #f5f7f8 !important;
    }

    body.ogonki-modern .mobile_menu .settings-selector,
    body.ogonki-modern .mobile_menu .wish_list-block,
    body.ogonki-modern .mobile_menu .opt_block,
    body.ogonki-modern .mobile_menu .login_block,
    body.ogonki-modern .mobile_menu .callback_block,
    body.ogonki-modern .mobile_menu .phones_block,
    body.ogonki-modern .mobile_menu .socials_telegram {
        margin-top: 7px;
        padding: 13px 14px !important;
        border-color: #e0e5e8 !important;
        border-radius: 14px !important;
        background: #fff !important;
    }

    body.ogonki-modern .splash {
        position: fixed !important;
        inset: 64px 0 0 !important;
        z-index: 1080 !important;
        background: rgba(10, 14, 19, .52) !important;
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        cursor: pointer;
    }
}

/* ========================================================================== */
/* OGONKI Modern Navigation 0.1.9 — clean desktop catalogue                   */
/* ========================================================================== */

/* Never leak the mobile drawer header into desktop layout. */
body.ogonki-modern .og-mobile-menu-head { display: none; }

@media (min-width: 992px) {
    /* Legacy mega-menu stays as data source only in Modern UI. */
    body.ogonki-modern .block_categories > .wrapper_main_list {
        display: none !important;
    }

    body.ogonki-modern .block_categories {
        position: relative !important;
    }

    body.ogonki-modern .og-desktop-catalog-panel {
        position: absolute;
        top: 54px;
        left: 0;
        z-index: 136;
        display: none;
        width: min(920px, calc(100vw - 48px));
        max-height: calc(100vh - 110px);
        padding: 14px;
        overflow: auto;
        border: 1px solid rgba(28,36,44,.09);
        border-radius: 20px;
        background: rgba(255,255,255,.99);
        box-shadow: 0 24px 70px rgba(15,22,29,.20);
        scrollbar-width: thin;
        scrollbar-color: #cbd2d7 transparent;
        transform-origin: top left;
    }

    body.ogonki-modern .og-desktop-catalog-panel.is-open {
        display: block;
        animation: ogCatalogGridIn .16s ease both;
    }

    @keyframes ogCatalogGridIn {
        from { opacity: 0; transform: translateY(-4px) scale(.992); }
        to { opacity: 1; transform: translateY(0) scale(1); }
    }

    body.ogonki-modern .og-desktop-catalog-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        min-height: 52px;
        margin-bottom: 10px;
        padding: 2px 4px 10px 6px;
        border-bottom: 1px solid #edf0f2;
    }

    body.ogonki-modern .og-desktop-catalog-top > div {
        display: flex;
        align-items: baseline;
        gap: 10px;
        min-width: 0;
    }

    body.ogonki-modern .og-desktop-catalog-top strong {
        color: #1d2329;
        font-size: 19px;
        line-height: 1.2;
        font-weight: 780;
    }

    body.ogonki-modern .og-desktop-catalog-top span {
        color: #7a858e;
        font-size: 12px;
        line-height: 1.3;
        font-weight: 520;
    }

    body.ogonki-modern .og-desktop-catalog-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        width: 36px;
        height: 36px;
        padding: 0;
        border: 1px solid #e0e5e8;
        border-radius: 11px;
        background: #f7f9fa;
        color: #37414a;
        font: 400 24px/1 var(--og-font);
        cursor: pointer;
        transition: background .15s ease, border-color .15s ease, transform .15s ease;
    }

    body.ogonki-modern .og-desktop-catalog-close:hover {
        border-color: #cfd7dc;
        background: #eef2f4;
        transform: translateY(-1px);
    }

    body.ogonki-modern .og-desktop-catalog-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
    }

    body.ogonki-modern .og-catalog-card {
        min-width: 0;
        min-height: 84px;
        padding: 11px;
        border: 1px solid #e6eaed;
        border-radius: 15px;
        background: #f8fafb;
        box-shadow: 0 1px 0 rgba(22,28,35,.02);
        transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease, background .16s ease;
    }

    body.ogonki-modern .og-catalog-card:hover {
        border-color: #d5e7cd;
        background: #fbfdfb;
        box-shadow: 0 8px 22px rgba(22,28,35,.07);
        transform: translateY(-2px);
    }

    body.ogonki-modern .og-catalog-card-title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        min-height: 38px;
        color: #232a30 !important;
        font-size: 13px;
        line-height: 1.28;
        font-weight: 720;
        text-decoration: none !important;
    }

    body.ogonki-modern .og-catalog-card-title span {
        min-width: 0;
    }

    body.ogonki-modern .og-catalog-card-title b {
        flex: 0 0 auto;
        color: #62a94c;
        font-size: 16px;
        line-height: 1;
        font-weight: 500;
        transition: transform .16s ease;
    }

    body.ogonki-modern .og-catalog-card:hover .og-catalog-card-title b {
        transform: translateX(3px);
    }

    body.ogonki-modern .og-catalog-card-links {
        display: flex;
        flex-wrap: wrap;
        gap: 5px 8px;
        margin-top: 5px;
        padding-top: 7px;
        border-top: 1px solid #edf0f2;
    }

    body.ogonki-modern .og-catalog-card-links a {
        display: inline-block;
        color: #67727b !important;
        font-size: 11px;
        line-height: 1.35;
        font-weight: 540;
        text-decoration: none !important;
    }

    body.ogonki-modern .og-catalog-card-links a:hover {
        color: #397428 !important;
        text-decoration: underline !important;
        text-underline-offset: 2px;
    }

    /* The injected Modern panel owns the overlay; old SoloMono overlay is irrelevant. */
    body.ogonki-modern .overlay { display: none !important; }
}

@media (min-width: 992px) and (max-width: 1199px) {
    body.ogonki-modern .og-desktop-catalog-panel {
        width: min(820px, calc(100vw - 32px));
    }
    body.ogonki-modern .og-desktop-catalog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    body.ogonki-modern .og-mobile-menu-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 64px;
        margin: 0 -12px 10px;
        padding: 10px 14px 10px 18px;
        border-bottom: 1px solid #e3e7ea;
        background: rgba(245,247,248,.97);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    body.ogonki-modern .og-mobile-menu-head strong {
        color: #20262c;
        font-size: 19px;
        line-height: 1.15;
        font-weight: 760;
    }
}

/* ========================================================================== */
/* OGONKI Modern Navigation 0.2.1 — legacy desktop menu hard-disable          */
/* ========================================================================== */
@media (min-width: 992px) {
    /* SoloMono still tries to open this panel on hover. In Modern UI it is
       only a hidden data source for the independent catalogue grid. */
    body.ogonki-modern #block_categories-collapse,
    body.ogonki-modern .block_categories > .wrapper_main_list,
    body.ogonki-modern .block_categories > .wrapper_main_list.collapse,
    body.ogonki-modern .block_categories > .wrapper_main_list.collapse.in,
    body.ogonki-modern .block_categories > .wrapper_main_list.open_menu,
    body.ogonki-modern .block_categories:hover > .wrapper_main_list {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    body.ogonki-modern .block_categories > .overlay,
    body.ogonki-modern .block_categories + .overlay {
        display: none !important;
    }
}

/* ========================================================================== */
/* OGONKI Modern Navigation 0.2.2 — premium editorial catalogue               */
/* ========================================================================== */
@media (min-width: 992px) {
    body.ogonki-modern .og-menu-backdrop {
        background: rgba(9, 12, 16, .52);
        backdrop-filter: blur(7px) saturate(90%);
        -webkit-backdrop-filter: blur(7px) saturate(90%);
    }

    body.ogonki-modern .og-desktop-catalog-panel-premium {
        width: min(1120px, calc(100vw - 56px));
        max-height: min(760px, calc(100vh - 108px));
        padding: 0;
        overflow: hidden;
        border: 1px solid rgba(255,255,255,.08);
        border-radius: 28px;
        background: #f7f6f2;
        box-shadow: 0 30px 90px rgba(8, 12, 16, .30), 0 1px 0 rgba(255,255,255,.5) inset;
    }

    body.ogonki-modern .og-premium-catalog-top {
        position: relative;
        min-height: 112px;
        margin: 0;
        padding: 24px 28px 22px 30px;
        border: 0;
        color: #fff;
        background:
            radial-gradient(circle at 88% 15%, rgba(207, 236, 89, .15), transparent 27%),
            radial-gradient(circle at 12% 110%, rgba(255, 196, 92, .12), transparent 32%),
            linear-gradient(135deg, #111418 0%, #1a1e23 58%, #121519 100%);
        overflow: hidden;
    }

    body.ogonki-modern .og-premium-catalog-top:after {
        content: "";
        position: absolute;
        left: 30px;
        bottom: 0;
        width: 88px;
        height: 2px;
        border-radius: 999px;
        background: linear-gradient(90deg, #cbe94b, #f1c96f);
        box-shadow: 0 0 20px rgba(203,233,75,.22);
    }

    body.ogonki-modern .og-catalog-brand {
        display: grid !important;
        gap: 4px !important;
        align-items: start !important;
    }

    body.ogonki-modern .og-catalog-eyebrow,
    body.ogonki-modern .og-catalog-kicker {
        display: inline-block;
        color: #8ea04b !important;
        font-size: 10px !important;
        line-height: 1.2 !important;
        font-weight: 800 !important;
        letter-spacing: .16em !important;
        text-transform: uppercase;
    }

    body.ogonki-modern .og-premium-catalog-top .og-catalog-eyebrow {
        color: #cfe85d !important;
    }

    body.ogonki-modern .og-premium-catalog-top strong {
        color: #fff;
        font-size: 27px;
        line-height: 1.08;
        font-weight: 780;
        letter-spacing: -.025em;
    }

    body.ogonki-modern .og-premium-catalog-top em {
        color: rgba(255,255,255,.62);
        font-size: 12px;
        line-height: 1.35;
        font-style: normal;
        font-weight: 520;
    }

    body.ogonki-modern .og-premium-catalog-top .og-desktop-catalog-close {
        width: 42px;
        height: 42px;
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 14px;
        background: rgba(255,255,255,.07);
        color: #fff;
        box-shadow: 0 8px 22px rgba(0,0,0,.16);
    }

    body.ogonki-modern .og-premium-catalog-top .og-desktop-catalog-close:hover {
        border-color: rgba(255,255,255,.22);
        background: rgba(255,255,255,.13);
    }

    body.ogonki-modern .og-catalog-layout {
        display: grid;
        grid-template-columns: 330px minmax(0, 1fr);
        min-height: 470px;
        max-height: calc(min(760px, 100vh - 108px) - 112px);
        overflow: hidden;
    }

    body.ogonki-modern .og-catalog-rail {
        display: flex;
        flex-direction: column;
        min-width: 0;
        padding: 28px 26px 24px 28px;
        border-right: 1px solid #e7e3da;
        background:
            linear-gradient(180deg, rgba(255,255,255,.74), rgba(245,242,233,.92)),
            radial-gradient(circle at 0 0, rgba(203,233,75,.08), transparent 40%);
    }

    body.ogonki-modern .og-catalog-rail h3,
    body.ogonki-modern .og-catalog-main-head h3 {
        margin: 6px 0 0;
        color: #181b1f;
        font-size: 20px;
        line-height: 1.15;
        font-weight: 760;
        letter-spacing: -.018em;
    }

    body.ogonki-modern .og-catalog-rail > p {
        margin: 9px 0 18px;
        color: #72776f;
        font-size: 12px;
        line-height: 1.55;
        font-weight: 500;
    }

    body.ogonki-modern .og-catalog-quick {
        display: grid;
        gap: 2px;
    }

    body.ogonki-modern .og-catalog-quick-link {
        display: grid;
        grid-template-columns: 28px minmax(0, 1fr) 18px;
        gap: 10px;
        align-items: center;
        min-height: 64px;
        margin: 0;
        padding: 10px 8px 10px 0;
        border-bottom: 1px solid rgba(33,37,31,.08);
        color: #1f2421 !important;
        text-decoration: none !important;
        transition: transform .18s ease, color .18s ease;
    }

    body.ogonki-modern .og-catalog-quick-link:last-child {
        border-bottom: 0;
    }

    body.ogonki-modern .og-catalog-quick-link:hover {
        color: #516d27 !important;
        transform: translateX(4px);
    }

    body.ogonki-modern .og-catalog-quick-no {
        color: #a4aa9a;
        font-size: 10px;
        line-height: 1;
        font-weight: 760;
        letter-spacing: .08em;
    }

    body.ogonki-modern .og-catalog-quick-copy {
        display: grid;
        gap: 3px;
        min-width: 0;
    }

    body.ogonki-modern .og-catalog-quick-copy strong {
        color: inherit;
        font-size: 13px;
        line-height: 1.25;
        font-weight: 730;
    }

    body.ogonki-modern .og-catalog-quick-copy small {
        color: #8a8f86;
        font-size: 10.5px;
        line-height: 1.35;
        font-weight: 500;
    }

    body.ogonki-modern .og-catalog-quick-link > b {
        color: #8ea94a;
        font-size: 14px;
        line-height: 1;
        font-weight: 500;
        transition: transform .18s ease;
    }

    body.ogonki-modern .og-catalog-quick-link:hover > b {
        transform: translate(2px, -2px);
    }

    body.ogonki-modern .og-catalog-trust {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        margin-top: auto;
        padding-top: 18px;
    }

    body.ogonki-modern .og-catalog-trust span {
        display: inline-flex;
        align-items: center;
        min-height: 26px;
        padding: 0 9px;
        border: 1px solid #ded9ce;
        border-radius: 999px;
        background: rgba(255,255,255,.72);
        color: #74786f;
        font-size: 9.5px;
        line-height: 1;
        font-weight: 650;
        white-space: nowrap;
    }

    body.ogonki-modern .og-catalog-main {
        min-width: 0;
        padding: 28px 30px 28px;
        overflow: auto;
        background: #fbfaf7;
        scrollbar-width: thin;
        scrollbar-color: #d4d0c7 transparent;
    }

    body.ogonki-modern .og-catalog-main-head {
        margin-bottom: 16px;
    }

    body.ogonki-modern .og-catalog-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 30px;
        row-gap: 0;
    }

    body.ogonki-modern .og-catalog-item {
        min-width: 0;
        padding: 0;
        border: 0;
        border-bottom: 1px solid #ebe7de;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    body.ogonki-modern .og-catalog-item-title {
        display: grid;
        grid-template-columns: 28px minmax(0,1fr) 18px;
        gap: 10px;
        align-items: center;
        min-height: 76px;
        padding: 12px 0;
        color: #1f2327 !important;
        text-decoration: none !important;
        transition: color .18s ease, transform .18s ease;
    }

    body.ogonki-modern .og-catalog-item-title:hover {
        color: #536f2a !important;
        transform: translateX(3px);
    }

    body.ogonki-modern .og-catalog-index {
        color: #b2b4ad;
        font-size: 10px;
        line-height: 1;
        font-weight: 760;
        letter-spacing: .08em;
    }

    body.ogonki-modern .og-catalog-item-copy {
        display: grid;
        gap: 4px;
        min-width: 0;
    }

    body.ogonki-modern .og-catalog-item-copy strong {
        color: inherit;
        font-size: 13px;
        line-height: 1.25;
        font-weight: 740;
    }

    body.ogonki-modern .og-catalog-item-copy small {
        color: #8b8e88;
        font-size: 10.5px;
        line-height: 1.35;
        font-weight: 500;
    }

    body.ogonki-modern .og-catalog-item-title > b {
        color: #99a172;
        font-size: 14px;
        line-height: 1;
        font-weight: 500;
        transition: transform .18s ease;
    }

    body.ogonki-modern .og-catalog-item-title:hover > b {
        color: #6f8f38;
        transform: translate(2px, -2px);
    }

    body.ogonki-modern .og-catalog-item .og-catalog-card-links {
        display: flex;
        flex-wrap: wrap;
        gap: 6px 10px;
        margin: -5px 0 13px 38px;
        padding: 0;
        border: 0;
    }

    body.ogonki-modern .og-catalog-item .og-catalog-card-links a {
        position: relative;
        color: #777d76 !important;
        font-size: 10px;
        line-height: 1.3;
        font-weight: 560;
        text-decoration: none !important;
    }

    body.ogonki-modern .og-catalog-item .og-catalog-card-links a:after {
        content: "";
        position: absolute;
        left: 0;
        right: 100%;
        bottom: -2px;
        height: 1px;
        background: #9db560;
        transition: right .18s ease;
    }

    body.ogonki-modern .og-catalog-item .og-catalog-card-links a:hover {
        color: #526a30 !important;
    }

    body.ogonki-modern .og-catalog-item .og-catalog-card-links a:hover:after {
        right: 0;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    body.ogonki-modern .og-desktop-catalog-panel-premium {
        width: min(980px, calc(100vw - 32px));
    }
    body.ogonki-modern .og-catalog-layout {
        grid-template-columns: 290px minmax(0,1fr);
    }
    body.ogonki-modern .og-catalog-main {
        padding-left: 24px;
        padding-right: 24px;
    }
    body.ogonki-modern .og-catalog-list {
        column-gap: 22px;
    }
}

/* ========================================================================== */
/* OGONKI Modern Navigation 0.2.3 — polish, promo and functional trust links */
/* ========================================================================== */
@media (min-width: 992px) {
    body.ogonki-modern .og-desktop-catalog-panel-premium {
        border: 0 !important;
    }

    body.ogonki-modern .og-premium-catalog-top {
        min-height: 118px;
        padding-right: 92px;
    }

    body.ogonki-modern .og-premium-catalog-top .og-catalog-brand {
        max-width: 47%;
    }

    body.ogonki-modern .og-premium-catalog-top .og-desktop-catalog-close {
        position: absolute;
        top: 50%;
        right: 26px;
        display: grid !important;
        place-items: center;
        width: 52px;
        height: 52px;
        margin: 0;
        padding: 0;
        transform: translateY(-50%);
        border-radius: 17px;
        font-size: 0;
        line-height: 1;
    }

    body.ogonki-modern .og-premium-catalog-top .og-desktop-catalog-close span {
        position: relative;
        display: block;
        width: 20px;
        height: 20px;
        font-size: 0;
        line-height: 0;
    }

    body.ogonki-modern .og-premium-catalog-top .og-desktop-catalog-close span:before,
    body.ogonki-modern .og-premium-catalog-top .og-desktop-catalog-close span:after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 20px;
        height: 2px;
        border-radius: 999px;
        background: currentColor;
        transform-origin: center;
    }

    body.ogonki-modern .og-premium-catalog-top .og-desktop-catalog-close span:before {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    body.ogonki-modern .og-premium-catalog-top .og-desktop-catalog-close span:after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    body.ogonki-modern .og-catalog-sale {
        position: absolute;
        right: 94px;
        top: 19px;
        display: grid;
        grid-template-columns: auto minmax(0,1fr) auto;
        gap: 12px;
        align-items: center;
        width: min(370px, 31vw);
        min-height: 78px;
        padding: 12px 14px;
        overflow: hidden;
        border: 1px solid rgba(255,255,255,.10);
        border-radius: 18px;
        background:
            radial-gradient(circle at 91% 18%, rgba(0,174,239,.22) 0 9px, transparent 10px),
            radial-gradient(circle at 84% 72%, rgba(244,0,128,.20) 0 14px, transparent 15px),
            radial-gradient(circle at 72% 18%, rgba(102,204,0,.18) 0 11px, transparent 12px),
            linear-gradient(135deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
        color: #fff !important;
        text-decoration: none !important;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
        transition: transform .18s ease, border-color .18s ease, background-color .18s ease;
    }

    body.ogonki-modern .og-catalog-sale:hover,
    body.ogonki-modern .og-catalog-sale:focus-visible {
        color: #fff !important;
        border-color: rgba(207,232,93,.34);
        transform: translateY(-2px);
        outline: 0;
    }

    body.ogonki-modern .og-catalog-sale-badge {
        display: inline-grid;
        place-items: center;
        min-width: 55px;
        min-height: 30px;
        padding: 0 9px;
        border-radius: 999px;
        background: #cfe85d;
        color: #111418;
        font-size: 9px;
        line-height: 1;
        font-weight: 850;
        letter-spacing: .10em;
    }

    body.ogonki-modern .og-catalog-sale-copy {
        display: grid;
        gap: 3px;
        min-width: 0;
    }

    body.ogonki-modern .og-catalog-sale-copy strong {
        color: #fff !important;
        font-size: 12px !important;
        line-height: 1.25 !important;
        font-weight: 760 !important;
        letter-spacing: -.01em !important;
    }

    body.ogonki-modern .og-catalog-sale-copy small {
        color: rgba(255,255,255,.58);
        font-size: 9.5px;
        line-height: 1.25;
        font-weight: 520;
    }

    body.ogonki-modern .og-catalog-sale > b {
        color: #cfe85d;
        font-size: 16px;
        line-height: 1;
        font-weight: 500;
    }

    body.ogonki-modern .og-catalog-trust a {
        display: inline-flex;
        align-items: center;
        min-height: 29px;
        padding: 0 10px;
        border: 1px solid #ded9ce;
        border-radius: 999px;
        background: rgba(255,255,255,.74);
        color: #6f746c !important;
        font-size: 9.5px;
        line-height: 1;
        font-weight: 680;
        text-decoration: none !important;
        white-space: nowrap;
        transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
    }

    body.ogonki-modern .og-catalog-trust a:hover,
    body.ogonki-modern .og-catalog-trust a:focus-visible {
        border-color: #b9c98c;
        background: #f5f9e9;
        color: #526b2e !important;
        transform: translateY(-1px);
        outline: 0;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    body.ogonki-modern .og-premium-catalog-top .og-catalog-brand {
        max-width: 46%;
    }

    body.ogonki-modern .og-catalog-sale {
        width: min(315px, 32vw);
        gap: 9px;
        padding-left: 11px;
        padding-right: 11px;
    }

    body.ogonki-modern .og-catalog-sale-copy small {
        display: none;
    }
}


/* ========================================================================== 
   0.4.0 — premium mobile drawer
   --------------------------------------------------------------------------
   The phone menu should read like a deliberate storefront panel, not a copied
   admin/sidebar. The native SoloMono tree stays intact; only its presentation
   changes in Modern UI.
   ========================================================================== */

@media (max-width: 991px) {
    body.ogonki-modern .new_nav-wrapper .mobile_menu {
        width: min(392px, 92vw) !important;
        padding: 0 14px 30px !important;
        border-left: 1px solid rgba(255,255,255,.07) !important;
        border-radius: 24px 0 0 24px !important;
        overflow-x: hidden !important;
        overscroll-behavior: contain;
    }

    html[data-og-theme="night"] body.ogonki-modern .new_nav-wrapper .mobile_menu {
        background:
            radial-gradient(circle at 78% 2%, rgba(168,210,79,.085), transparent 26%),
            #10151a !important;
        box-shadow: -30px 0 80px rgba(0,0,0,.48) !important;
    }

    html[data-og-theme="day"] body.ogonki-modern .new_nav-wrapper .mobile_menu {
        background:
            radial-gradient(circle at 82% 0%, rgba(168,210,79,.10), transparent 28%),
            #f7f8f5 !important;
        box-shadow: -28px 0 74px rgba(18,24,30,.22) !important;
    }

    body.ogonki-modern .og-mobile-menu-head {
        min-height: 78px !important;
        margin: 0 -14px 14px !important;
        padding: 14px 14px 13px 18px !important;
        border-bottom-width: 1px !important;
        backdrop-filter: blur(18px) saturate(125%);
        -webkit-backdrop-filter: blur(18px) saturate(125%);
    }

    html[data-og-theme="night"] body.ogonki-modern .og-mobile-menu-head {
        border-bottom-color: rgba(255,255,255,.08) !important;
        background: rgba(16,21,26,.88) !important;
    }

    html[data-og-theme="day"] body.ogonki-modern .og-mobile-menu-head {
        border-bottom-color: rgba(25,32,39,.09) !important;
        background: rgba(247,248,245,.90) !important;
    }

    body.ogonki-modern .og-mobile-menu-title {
        display: grid !important;
        gap: 3px !important;
        min-width: 0;
        text-align: left;
    }

    body.ogonki-modern .og-mobile-menu-title span {
        color: #a8d24f !important;
        font-size: 10px !important;
        line-height: 1 !important;
        font-weight: 820 !important;
        letter-spacing: .16em !important;
    }

    body.ogonki-modern .og-mobile-menu-title strong {
        font-size: 20px !important;
        line-height: 1.12 !important;
        font-weight: 790 !important;
        letter-spacing: -.025em !important;
    }

    html[data-og-theme="night"] body.ogonki-modern .og-mobile-menu-title strong {
        color: #f3f5f7 !important;
    }

    html[data-og-theme="day"] body.ogonki-modern .og-mobile-menu-title strong {
        color: #20262c !important;
    }

    body.ogonki-modern .og-mobile-menu-close {
        width: 44px !important;
        height: 44px !important;
        flex: 0 0 44px !important;
        border-radius: 14px !important;
        box-shadow: none !important;
    }

    body.ogonki-modern .og-mobile-menu-close svg {
        width: 20px;
        height: 20px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
    }

    html[data-og-theme="night"] body.ogonki-modern .og-mobile-menu-close {
        border-color: rgba(255,255,255,.11) !important;
        background: rgba(255,255,255,.055) !important;
        color: rgba(255,255,255,.84) !important;
    }

    html[data-og-theme="day"] body.ogonki-modern .og-mobile-menu-close {
        border-color: rgba(27,34,41,.10) !important;
        background: rgba(255,255,255,.82) !important;
        color: #343d45 !important;
    }

    /* The theme switch and wishlist already live in the visible mobile header.
       Do not repeat technical/settings rows inside the drawer. */
    body.ogonki-modern .mobile_menu .settings-selector,
    body.ogonki-modern .mobile_menu .wish_list-block,
    body.ogonki-modern .mobile_menu .socials_telegram {
        display: none !important;
    }

    body.ogonki-modern .mobile_menu .new_nav-item {
        margin-bottom: 9px !important;
    }

    body.ogonki-modern .mobile_menu .button-main-cursor {
        min-height: 54px !important;
        padding: 0 15px !important;
        border-radius: 15px !important;
        border: 1px solid transparent !important;
        font-size: 14px !important;
        font-weight: 740 !important;
        letter-spacing: -.01em !important;
    }

    html[data-og-theme="night"] body.ogonki-modern .mobile_menu .button-main-cursor {
        color: #eef2f5 !important;
    }

    html[data-og-theme="night"] body.ogonki-modern .mobile_menu .block_categories > .button-main-cursor {
        border-color: rgba(216,239,102,.16) !important;
        background: linear-gradient(180deg, #1b2228, #151b20) !important;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 8px 24px rgba(0,0,0,.20) !important;
    }

    html[data-og-theme="day"] body.ogonki-modern .mobile_menu .block_categories > .button-main-cursor {
        border-color: rgba(30,38,45,.08) !important;
        background: #1a2025 !important;
        box-shadow: 0 9px 24px rgba(18,24,30,.11) !important;
    }

    body.ogonki-modern .mobile_menu .wrapper_main_list,
    body.ogonki-modern .mobile_menu .menu_information,
    body.ogonki-modern .mobile_menu .menu_manuf {
        padding: 7px !important;
        border-radius: 16px !important;
        box-shadow: none !important;
    }

    html[data-og-theme="night"] body.ogonki-modern .mobile_menu .wrapper_main_list,
    html[data-og-theme="night"] body.ogonki-modern .mobile_menu .menu_information,
    html[data-og-theme="night"] body.ogonki-modern .mobile_menu .menu_manuf {
        border-color: rgba(255,255,255,.075) !important;
        background: #141a1f !important;
    }

    html[data-og-theme="day"] body.ogonki-modern .mobile_menu .wrapper_main_list,
    html[data-og-theme="day"] body.ogonki-modern .mobile_menu .menu_information,
    html[data-og-theme="day"] body.ogonki-modern .mobile_menu .menu_manuf {
        border-color: rgba(24,31,38,.075) !important;
        background: rgba(255,255,255,.86) !important;
    }

    body.ogonki-modern .mobile_menu .main_list > li > a,
    body.ogonki-modern .mobile_menu .main_list > li > .hide-category-url,
    body.ogonki-modern .mobile_menu .menu_information > li > a,
    body.ogonki-modern .mobile_menu .menu_manuf > li > a {
        min-height: 48px !important;
        margin: 1px 0 !important;
        padding: 11px 42px 11px 13px !important;
        border-radius: 11px !important;
        font-size: 14px !important;
        line-height: 1.22 !important;
        font-weight: 650 !important;
    }

    html[data-og-theme="night"] body.ogonki-modern .mobile_menu .main_list > li > a,
    html[data-og-theme="night"] body.ogonki-modern .mobile_menu .main_list > li > .hide-category-url,
    html[data-og-theme="night"] body.ogonki-modern .mobile_menu .menu_information > li > a,
    html[data-og-theme="night"] body.ogonki-modern .mobile_menu .menu_manuf > li > a {
        color: #dfe5ea !important;
    }

    html[data-og-theme="day"] body.ogonki-modern .mobile_menu .main_list > li > a,
    html[data-og-theme="day"] body.ogonki-modern .mobile_menu .main_list > li > .hide-category-url,
    html[data-og-theme="day"] body.ogonki-modern .mobile_menu .menu_information > li > a,
    html[data-og-theme="day"] body.ogonki-modern .mobile_menu .menu_manuf > li > a {
        color: #2b333a !important;
    }

    html[data-og-theme="night"] body.ogonki-modern .mobile_menu .main_list > li > a:hover,
    html[data-og-theme="night"] body.ogonki-modern .mobile_menu .main_list > li > .hide-category-url:hover,
    html[data-og-theme="night"] body.ogonki-modern .mobile_menu .menu_information > li > a:hover {
        background: rgba(168,210,79,.085) !important;
        color: #d8ef66 !important;
    }

    body.ogonki-modern .mobile_menu .sub_list .wrapper_list,
    body.ogonki-modern .mobile_menu .sub1_list .sub1_sub-wrapper {
        border-radius: 12px !important;
    }

    html[data-og-theme="night"] body.ogonki-modern .mobile_menu .sub_list .wrapper_list,
    html[data-og-theme="night"] body.ogonki-modern .mobile_menu .sub1_list .sub1_sub-wrapper {
        background: #0f1418 !important;
    }

    /* Human contact rows only. */
    body.ogonki-modern .mobile_menu .opt_block,
    body.ogonki-modern .mobile_menu .login_block,
    body.ogonki-modern .mobile_menu .callback_block,
    body.ogonki-modern .mobile_menu .phones_block {
        margin-top: 8px !important;
        padding: 13px 14px !important;
        border-radius: 15px !important;
    }

    html[data-og-theme="night"] body.ogonki-modern .mobile_menu .opt_block,
    html[data-og-theme="night"] body.ogonki-modern .mobile_menu .login_block,
    html[data-og-theme="night"] body.ogonki-modern .mobile_menu .callback_block,
    html[data-og-theme="night"] body.ogonki-modern .mobile_menu .phones_block {
        border-color: rgba(255,255,255,.075) !important;
        background: #141a1f !important;
        color: #e6ebef !important;
    }
}

/* ========================================================================== 
   0.5.0 — premium independent mobile catalogue
   ========================================================================== */
@media (max-width: 991px) {
    body.ogonki-modern.og-mobile-premium-ready .new_nav-wrapper .mobile_menu,
    body.ogonki-modern.og-mobile-premium-ready .mobile_menu,
    body.ogonki-modern.og-mobile-premium-ready .splash,
    body.ogonki-modern.og-mobile-premium-ready .og-menu-backdrop {
        display: none !important;
    }

    body.ogonki-modern.og-mobile-premium-open {
        overflow: hidden !important;
        touch-action: none;
    }

    body.ogonki-modern .og-mobile-premium-backdrop {
        position: fixed;
        inset: 0;
        z-index: 19980;
        display: block;
        width: 100%;
        height: 100%;
        padding: 0;
        border: 0;
        background: rgba(4,7,10,.58);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        -webkit-backdrop-filter: blur(7px);
        backdrop-filter: blur(7px);
        transition: opacity .22s ease, visibility .22s ease;
    }

    body.ogonki-modern .og-mobile-premium-backdrop.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    body.ogonki-modern .og-mobile-premium-drawer {
        position: fixed;
        z-index: 19990;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(430px, 94vw);
        padding: 0 18px calc(22px + env(safe-area-inset-bottom));
        overflow-y: auto;
        overflow-x: hidden;
        overscroll-behavior: contain;
        border-left: 1px solid rgba(255,255,255,.08);
        background:
            radial-gradient(circle at 88% -4%, rgba(168,210,79,.10), transparent 28%),
            linear-gradient(180deg, #11171c 0%, #0d1216 100%);
        color: #f1f4f6;
        box-shadow: -28px 0 70px rgba(0,0,0,.42);
        transform: translate3d(104%,0,0);
        visibility: hidden;
        transition: transform .24s cubic-bezier(.2,.8,.2,1), visibility .24s ease;
    }

    body.ogonki-modern .og-mobile-premium-drawer.is-open {
        transform: translate3d(0,0,0);
        visibility: visible;
    }

    body.ogonki-modern .og-mm-head {
        position: sticky;
        top: 0;
        z-index: 4;
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 78px;
        margin: 0 -18px 12px;
        padding: 13px 16px 12px 20px;
        border-bottom: 1px solid rgba(255,255,255,.08);
        background: rgba(15,20,24,.92);
        -webkit-backdrop-filter: blur(18px) saturate(130%);
        backdrop-filter: blur(18px) saturate(130%);
    }

    body.ogonki-modern .og-mm-head > div {
        display: grid;
        gap: 2px;
        text-align: left;
    }

    body.ogonki-modern .og-mm-head span {
        color: #a8d24f;
        font-size: 10px;
        line-height: 1;
        font-weight: 800;
        letter-spacing: .16em;
    }

    body.ogonki-modern .og-mm-head strong {
        color: #fff;
        font-size: 24px;
        line-height: 1.05;
        font-weight: 780;
        letter-spacing: -.035em;
    }

    body.ogonki-modern .og-mm-close {
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 14px;
        background: rgba(255,255,255,.055);
        color: rgba(255,255,255,.88);
        font-size: 27px;
        font-weight: 300;
        line-height: 1;
    }

    body.ogonki-modern .og-mm-sale {
        position: relative;
        display: grid;
        grid-template-columns: auto 1fr auto;
        gap: 11px;
        align-items: center;
        min-height: 74px;
        margin: 4px 0 18px;
        padding: 14px 15px;
        overflow: hidden;
        border: 1px solid rgba(216,239,102,.17);
        border-radius: 17px;
        background: linear-gradient(135deg, rgba(168,210,79,.11), rgba(255,255,255,.035));
        color: #fff !important;
        text-decoration: none !important;
    }

    body.ogonki-modern .og-mm-sale > span {
        padding: 6px 7px;
        border-radius: 999px;
        background: #a8d24f;
        color: #15200b;
        font-size: 9px;
        font-weight: 900;
        letter-spacing: .10em;
    }

    body.ogonki-modern .og-mm-sale strong {
        min-width: 0;
        color: #f6f8f8;
        font-size: 14px;
        line-height: 1.25;
        font-weight: 700;
    }

    body.ogonki-modern .og-mm-sale b,
    body.ogonki-modern .og-mm-main b {
        color: #a8d24f;
        font-size: 17px;
        font-weight: 500;
    }

    body.ogonki-modern .og-mm-nav {
        border-top: 1px solid rgba(255,255,255,.075);
    }

    body.ogonki-modern .og-mm-row {
        position: relative;
        border-bottom: 1px solid rgba(255,255,255,.075);
    }

    body.ogonki-modern .og-mm-main {
        display: grid;
        grid-template-columns: minmax(0,1fr) auto;
        gap: 12px;
        align-items: center;
        min-height: 54px;
        padding: 12px 46px 12px 2px;
        color: #e7ebee !important;
        font-size: 14.5px;
        line-height: 1.26;
        font-weight: 650;
        text-decoration: none !important;
    }

    body.ogonki-modern .og-mm-main:hover,
    body.ogonki-modern .og-mm-main:focus-visible {
        color: #d8ef66 !important;
    }

    body.ogonki-modern .og-mm-expand {
        position: absolute;
        right: 0;
        top: 8px;
        display: grid;
        place-items: center;
        width: 38px;
        height: 38px;
        padding: 0;
        border: 0;
        border-radius: 12px;
        background: rgba(255,255,255,.035);
        color: #c7ced4;
    }

    body.ogonki-modern .og-mm-expand span,
    body.ogonki-modern .og-mm-expand span::after {
        display: block;
        width: 10px;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
        content: "";
        transition: transform .18s ease;
    }

    body.ogonki-modern .og-mm-expand span::after { transform: rotate(90deg); }
    body.ogonki-modern .og-mm-row.is-expanded .og-mm-expand span::after { transform: rotate(0deg); }

    body.ogonki-modern .og-mm-sub {
        display: none;
        grid-template-columns: 1fr 1fr;
        gap: 7px 10px;
        padding: 0 0 13px 10px;
    }

    body.ogonki-modern .og-mm-row.is-expanded .og-mm-sub { display: grid; }

    body.ogonki-modern .og-mm-sub a {
        min-width: 0;
        padding: 7px 0;
        color: #98a3ac !important;
        font-size: 12.5px;
        line-height: 1.28;
        text-decoration: none !important;
    }

    body.ogonki-modern .og-mm-sub a:hover,
    body.ogonki-modern .og-mm-sub a:focus-visible { color: #d8ef66 !important; }

    body.ogonki-modern .og-mm-utility {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-top: 18px;
    }

    body.ogonki-modern .og-mm-utility a {
        display: flex;
        min-height: 42px;
        padding: 0 12px;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(255,255,255,.09);
        border-radius: 12px;
        background: rgba(255,255,255,.035);
        color: #cbd2d8 !important;
        font-size: 12.5px;
        font-weight: 650;
        text-decoration: none !important;
    }

    body.ogonki-modern .og-mm-call {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 4px 12px;
        margin-top: 18px;
        padding: 15px 16px;
        border: 1px solid rgba(168,210,79,.18);
        border-radius: 16px;
        background: rgba(168,210,79,.07);
        color: #fff !important;
        text-decoration: none !important;
    }

    body.ogonki-modern .og-mm-call span { color: #a8d24f; font-size: 11px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
    body.ogonki-modern .og-mm-call strong { grid-column: 1; color: #fff; font-size: 15px; line-height: 1.3; }
    body.ogonki-modern .og-mm-call b { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: #a8d24f; font-size: 22px; }
}

@media (max-width: 380px) {
    body.ogonki-modern .og-mobile-premium-drawer { width: 96vw; padding-left: 14px; padding-right: 14px; }
    body.ogonki-modern .og-mm-sub { grid-template-columns: 1fr; }
}

/* 0.6.1 — mobile-only generated UI must never leak into desktop document flow. */
body.ogonki-modern .og-mobile-premium-backdrop,
body.ogonki-modern .og-mobile-premium-drawer {
    display: none !important;
}

@media (max-width: 991px) {
    body.ogonki-modern .og-mobile-premium-backdrop,
    body.ogonki-modern .og-mobile-premium-drawer {
        display: block !important;
    }
}

