/* Candidate: header/search/menu only. Native AdvantShop components retained. */
html.mobile-version .mobile-header {
 height:112px!important; min-height:112px; box-sizing:border-box; display:grid!important;
 grid-template-columns:48px minmax(0,1fr) 44px 44px; grid-template-rows:56px 56px;
 padding:0 10px!important; gap:0; background:#fff!important; color:#17181c!important;
 border-bottom:1px solid #e8e9ed; box-shadow:0 3px 16px rgba(25,30,50,.035); z-index:1100;
}
html.mobile-version .mobile-header .mobile-header__item {height:56px; padding:0; display:flex!important;align-items:center;justify-content:center;min-width:0;}
html.mobile-version .mobile-header__menu-trgger-block {grid-column:1;grid-row:1;}
html.mobile-version .mobile-header .mobile-header__search-block {display:none!important;}
html.mobile-version .mobile-header__logo-block {grid-column:2;grid-row:1;}
html.mobile-version .mobile-header__myaccount-link-wrap {grid-column:3;grid-row:1;}
html.mobile-version .mobile-header__phone-block {grid-column:4;grid-row:1;}
html.mobile-version .mobile-header__logo-link {width:100%;max-width:218px; padding:0 8px;box-sizing:border-box;}
html.mobile-version .mobile-header__logo-img {width:100%;max-width:218px;height:auto;max-height:34px;object-fit:contain;}
html.mobile-version .mobile-header__phone-link,html.mobile-version .mobile-header__myaccount-link {display:flex;width:44px;height:44px;align-items:center;justify-content:center;border-radius:12px;color:#1d1e24!important;}
html.mobile-version .mobile-header__menu-triger {width:44px;height:44px;display:flex;align-items:center;justify-content:center;}
html.mobile-version .mobile-header__search-form-block {display:block!important;position:relative!important;grid-column:1/-1;grid-row:2;width:100%;height:44px;margin:0;opacity:1!important;visibility:visible!important;align-self:start;}
html.mobile-version .mobile-header__search-form {display:flex!important;width:100%;height:44px;box-sizing:border-box;border:1px solid #e0e2e9;border-radius:13px;background:#f5f6f8;padding:0 4px 0 14px;gap:4px;}
html.mobile-version .mobile-header__search-form:focus-within {background:#fff;border-color:#343dba;box-shadow:0 0 0 3px rgba(52,61,186,.1);}
html.mobile-version .mobile-header__search-form > .mobile-header__search-form-item:first-child {display:none;}
html.mobile-version .mobile-header__search-form-input-block {flex:1;min-width:0;width:auto;}
html.mobile-version .mobile-header__search-form-input {padding:0!important;height:42px!important;line-height:42px!important;font-size:16px!important;width:100%;background:transparent!important;border:0!important;box-shadow:none!important;color:#17181c!important;}
html.mobile-version .mobile-header__search-form .mobile-header__search-btn {height:42px;width:42px;color:#343dba;}
html.mobile-version .mobile-header__search-form .autocompleter {width:100%;}
html.mobile-version .mobile-header__search-form .autocompleter-list {background:#fff;max-height:calc(100dvh - 190px);overflow-y:auto;border-radius:12px;box-shadow:0 8px 30px #20243520;}
html.mobile-version .sidebar {background:#fff!important;}
html.mobile-version .menu_item--catalog::before {content:'Каталог товаров';display:block;padding:21px 20px 13px;font-size:20px;font-weight:650;letter-spacing:-.35px;color:#17181c;}
html.mobile-version .menu_item--nav-site {margin-top:12px;padding:10px 0 24px;background:#f7f8fa;border-top:1px solid #e8e9ed;}
html.mobile-version .menu_item--nav-site::before {content:'Покупателям';display:block;padding:13px 20px 10px;font-size:13px;font-weight:600;color:#737782;text-transform:uppercase;letter-spacing:.08em;}
html.mobile-version .sidebar .menu__item {border-color:#eef0f3!important;}
html.mobile-version .sidebar .menu__item-inner {min-height:49px;background:#fff!important;padding-left:20px;padding-right:20px;box-sizing:border-box;}
html.mobile-version .sidebar .menu__item-inner--root > .menu__link {font-weight:550;font-size:16px;}
html.mobile-version .sidebar .menu_item--nav-site .menu__item-inner {background:#f7f8fa!important;min-height:44px;}
html.mobile-version .sidebar .menu_item--nav-site .menu__link {font-size:14px;font-weight:400;}
html.mobile-version .sidebar .menu__submenu .menu__item:first-child .menu__item-inner {background:#f3f4fa!important;min-height:52px;}
html.mobile-version .sidebar [data-mobile-menu-item-trigger]:focus-visible,html.mobile-version .mobile-header [tabindex]:focus-visible {outline:2px solid #343dba;outline-offset:-3px;}
html.mobile-version .sidebar .menu__category-icon {width:30px;flex:0 0 30px;}
html.mobile-version .sidebar .menu__arrow-right {color:#83899a;}
/* Desktop: preserve native layout, links, cart and catalogue. */
html:not(.mobile-version) .site-head {background:#fff;box-shadow:inset 0 -1px #e9eaee;}
html:not(.mobile-version) .site-head .site-head__menu .menu-header-link {color:#555b67;}
html:not(.mobile-version) .site-head .search-input {border-radius:12px;background:#f5f6f8;border-color:#e0e2e9;}
/* 44px native menu target with centered 24px glyph. */
html.mobile-version .mobile-header__menu-triger span {left:10px;width:24px;height:1.5px;}
html.mobile-version .mobile-header__menu-triger span:nth-child(1) {top:14px;}
html.mobile-version .mobile-header__menu-triger span:nth-child(2),html.mobile-version .mobile-header__menu-triger span:nth-child(3) {top:21px;}
html.mobile-version .mobile-header__menu-triger span:nth-child(4) {top:28px;}
html.mobile-version .mobile-header__menu-triger--opened span:nth-child(1),html.mobile-version .mobile-header__menu-triger--opened span:nth-child(4) {opacity:0;}
html.mobile-version .sidebar {top:112px!important;height:calc(100vh - 112px)!important;height:calc(100dvh - 112px)!important;}
/* Confirmed Jivo overlap: suppress its root only while native menu is open.
   No chat state, content, settings or global positioning changes. */
html.mobile-version.sidebar--open-root jdiv[class^="globalClass"],html.mobile-version.sidebar--open-root #jivo-iframe-container,html.mobile-version.sidebar--open-root jdiv[class^="globalClass"] * {visibility:hidden!important;pointer-events:none!important;}
html.mobile-version .sidebar_overlay {top:112px!important;height:calc(100vh - 112px)!important;height:calc(100dvh - 112px)!important;}
html.mobile-version .mobile-header .autocompleter-sub {box-sizing:border-box;min-width:0!important;position:fixed!important;left:10px!important;right:10px!important;top:102px!important;width:calc(100% - 20px)!important;max-width:none;border:1px solid #e0e2e9;border-radius:13px;box-shadow:0 8px 30px #20243520;overflow:hidden;}
html.mobile-version .mobile-header .autocompleter-list {max-height:calc(100dvh - 186px)!important;overflow-y:auto;}
