/* ==========================================================================
   Шапка s-treid.ru (header-rebuild, вариант AB «Чертёж + панели»).
   Порт CSS утверждённого прототипа docs/menu-redesign/prototype/index.html:
   токены --st-*, контейнер .st-container, префиксы sh- (шапка), st- (общее с подвалом).
   Ничего из OceanWP/Elementor не переопределяем — вся разметка своя (partials/header/*).
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Токены и база (общие с footer.css)
   -------------------------------------------------------------------------- */
:root{
  --st-ink:#1B1D20;
  --st-ink-2:#3E4247;
  --st-mute:#7A7F86;
  --st-line:#E1E1DE;
  --st-line-2:#CFCFCB;
  --st-sheet:#F5F5F3;
  --st-sheet-2:#ECECE9;
  --st-white:#FFFFFF;
  --st-brand:#8F0000;
  --st-brand-dark:#6D0000;
  --st-brand-soft:#F6E8E8;
  --st-foam:#E6D58F;   /* ППУ на срезе пиктограмм */
  --st-shell:#ECECEA;  /* оболочка ППУ на пиктограммах */
  --st-font:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --st-container:1200px;
  --st-gutter:20px;
  --st-top-h:40px;
  --st-main-h:76px;
  --st-cats-h:44px;
  --st-m-head-h:62px;
  --st-m-bar-h:64px;
  --st-radius:4px;
  --st-shadow:0 12px 32px rgba(27,29,32,.14);
  --st-logo-a:#1B1D20;   /* квадрат знака и контур полос */
  --st-logo-b:#FDFDFD;   /* полосы сильфона: середина градиента */
  --st-logo-c:#ACACAC;   /* полосы сильфона: края градиента */
}

.sh,.sh *,.sh *::before,.sh *::after{box-sizing:border-box}
.sh{
  position:relative;z-index:70;background:var(--st-white);
  font-family:var(--st-font);font-size:15px;line-height:1.45;color:var(--st-ink);
  font-variant-numeric:tabular-nums;
}
/* Сбросы `.sh :where(tag)` — специфичность (0,1,0): бьют `body button{background}` и `a{color}`
   темы OceanWP, но не перебивают компонентные классы ниже (равная специфичность, они позже). */
.sh :where(a){color:inherit;text-decoration:none}
.sh :where(button){font:inherit;color:inherit;background:none;border:0;padding:0;margin:0;cursor:pointer;border-radius:0;box-shadow:none;text-transform:none;letter-spacing:0;line-height:inherit}
.sh :where(button):hover,.sh :where(button):focus{background:none;color:inherit}
.sh :where(ul){list-style:none;margin:0;padding:0}
.sh :where(li){margin:0;padding:0}
.sh :where(img){max-width:100%;height:auto;display:block}
.sh :where(svg){display:block}
.sh :where(h1,h2,h3,h4,p){margin:0}
.sh :focus-visible{outline:2px solid var(--st-brand);outline-offset:2px}
.st-container{max-width:var(--st-container);margin:0 auto;padding:0 var(--st-gutter)}
.st-ico{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.st-chev{width:9px;height:9px;opacity:.7}
@media (prefers-reduced-motion:reduce){.sh *{transition:none!important;animation:none!important}}

/* --------------------------------------------------------------------------
   1. Логотип (инлайновый SVG-знак + словесный знак)
   -------------------------------------------------------------------------- */
.st-logo{display:inline-flex;align-items:center;gap:12px;color:inherit}
.st-logo__mark{width:48px;height:48px;flex:0 0 auto} /* по высоте — как название с подписью */
.st-logo__s1{stop-color:var(--st-logo-c)}.st-logo__s2{stop-color:var(--st-logo-b)}
.st-logo__text{display:flex;flex-direction:column;line-height:1.1}
.st-logo__name{font-weight:700;font-size:19px;letter-spacing:-.01em;white-space:nowrap}
.st-logo__tag{font-size:11px;line-height:1.3;color:var(--st-mute);margin-top:3px;max-width:210px;text-wrap:balance;letter-spacing:.005em} /* две строки по ширине названия */

/* --------------------------------------------------------------------------
   2. Ярус 1: топбар
   -------------------------------------------------------------------------- */
.sh-top{position:relative;z-index:78;height:var(--st-top-h);font-size:13px;color:var(--st-ink-2);border-bottom:1px solid var(--st-line);background:var(--st-white)}
.sh-top .st-container{display:flex;align-items:center;height:100%;gap:28px}

/* гео-селектор: разметка плагина belingogeo (.geolocation) внутри .sh-city */
.sh-city{display:inline-flex;align-items:center;white-space:nowrap;flex:0 0 auto}
.sh-city .geolocation{margin:0;line-height:1}
.sh-city .geolocation__link{display:inline-flex;align-items:center;gap:6px;color:var(--st-ink-2);font-size:13px;text-decoration:none}
.sh-city .geolocation__link:hover{color:var(--st-brand)}
.sh-city .geolocation__link svg{width:12px;height:14px;fill:currentColor}
.sh-city .geolocation__link::after{content:"";width:6px;height:6px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg) translateY(-2px);opacity:.7;margin-left:2px}

/* инфо-меню: wp_nav_menu (локация streid_info), подменю .sub-menu */
.sh-info{display:flex;align-items:center;gap:22px;flex:1 1 auto;min-width:0}
.sh-info > li{position:relative}
.sh-info > li > a{display:inline-flex;align-items:center;gap:5px;height:var(--st-top-h);white-space:nowrap}
.sh-info > li > a:hover{color:var(--st-brand)}
.sh-info .sub-menu{
  position:absolute;top:100%;left:-14px;min-width:230px;background:var(--st-white);
  border:1px solid var(--st-line);border-radius:var(--st-radius);box-shadow:var(--st-shadow);padding:8px 0;
  opacity:0;visibility:hidden;transform:translateY(6px);transition:.16s ease;z-index:5;
}
.sh-info .sub-menu a{display:block;padding:8px 16px;font-size:13.5px;color:var(--st-ink);white-space:nowrap}
.sh-info .sub-menu a:hover{background:var(--st-sheet);color:var(--st-brand)}
.sh-info > li:hover > .sub-menu,.sh-info > li:focus-within > .sub-menu,.sh-info > li.is-open > .sub-menu{opacity:1;visibility:visible;transform:none}
.sh-top__right{display:flex;align-items:center;gap:18px;margin-left:auto;white-space:nowrap}
.sh-callback{white-space:nowrap;text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--st-line-2)}
.sh-callback:hover{color:var(--st-brand);text-decoration-color:var(--st-brand)}

/* телефон с выпадашкой контактов */
.sh-phone{position:relative;height:var(--st-top-h);display:flex;align-items:center}
.sh-phone__main{display:inline-flex;align-items:center;gap:6px;font-weight:600;font-size:14px;color:var(--st-ink)}
.sh-phone__pop{
  position:absolute;top:100%;right:-8px;width:300px;background:var(--st-white);border:1px solid var(--st-line);
  border-radius:6px;box-shadow:var(--st-shadow);opacity:0;visibility:hidden;transform:translateY(6px);transition:.16s ease;z-index:6;
  font-size:13.5px;color:var(--st-ink);text-align:left;white-space:normal;
}
.sh-phone:hover .sh-phone__pop,.sh-phone:focus-within .sh-phone__pop,.sh-phone.is-open .sh-phone__pop{opacity:1;visibility:visible;transform:none}
.sh-phone__pop section{padding:14px 18px}
.sh-phone__pop section + section{border-top:1px solid var(--st-line)}
.sh-phone__num{display:block;font-weight:600;font-size:16px;line-height:1.2}
.sh-phone__num small{display:block;font-weight:400;font-size:12px;color:var(--st-mute);margin-top:2px}
.sh-phone__num + .sh-phone__num{margin-top:10px}
.sh-phone__btn{display:block;margin-top:14px;text-align:center;background:var(--st-brand);color:#fff;font-weight:600;padding:10px 12px;border-radius:var(--st-radius)}
.sh-phone__btn:hover{background:var(--st-brand-dark);color:#fff}
.sh-phone__pop dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:6px 12px}
.sh-phone__pop dt{color:var(--st-mute);font-size:12px;padding-top:1px;font-weight:400}
.sh-phone__pop dd{margin:0}
.sh-social{display:flex;gap:8px;margin-top:12px}
.sh-social a{width:36px;height:36px;border-radius:6px;background:var(--st-sheet);display:grid;place-items:center;color:var(--st-ink-2)}
.sh-social a:hover{background:var(--st-brand-soft);color:var(--st-brand)}
.sh-social .st-ico{width:18px;height:18px}

/* --------------------------------------------------------------------------
   3. Ярус 2: основная строка (липкая)
   -------------------------------------------------------------------------- */
.sh-main{position:relative;z-index:75;height:var(--st-main-h);background:var(--st-white)}
.sh-main > .st-container{position:relative;display:flex;align-items:center;height:100%;gap:24px}
.sh-cat-btn{
  display:inline-flex;align-items:center;gap:10px;height:46px;padding:0 20px 0 16px;border-radius:var(--st-radius);
  background:var(--st-brand);color:#fff;font-weight:600;font-size:15px;white-space:nowrap;flex:0 0 auto;transition:background .15s;
}
.sh-cat-btn:hover,.sh-cat-btn:focus{background:var(--st-brand-dark);color:#fff}
.sh-cat-btn .st-ico{width:20px;height:20px;stroke-width:2}
.sh-cat-btn .st-ico--x{display:none}
.sh-cat-btn[aria-expanded="true"] .st-ico--burger{display:none}
.sh-cat-btn[aria-expanded="true"] .st-ico--x{display:block}
.sh-search{flex:1 1 auto;min-width:0;display:flex;align-items:center;height:46px;position:relative;margin:0}
.sh-search input[type="search"]{
  flex:1 1 auto;min-width:0;width:100%;height:100%;margin:0;border:1px solid var(--st-line-2);border-radius:var(--st-radius);padding:0 48px 0 16px;
  font:inherit;font-size:14.5px;color:var(--st-ink);background:var(--st-white);outline:none;box-shadow:none;-webkit-appearance:none;appearance:none;
}
.sh-search input::placeholder{color:var(--st-mute)}
.sh-search input[type="search"]:focus{border-color:var(--st-ink-2);box-shadow:none}
/* [type="submit"] — чтобы перебить `body button[type="submit"]{background:#8f0000}` из настроек OceanWP */
.sh-search button[type="submit"]{position:absolute;right:4px;top:4px;bottom:4px;width:40px;padding:0;display:grid;place-items:center;color:var(--st-ink-2);background:transparent;border:0;border-radius:3px}
.sh-search button[type="submit"]:hover,.sh-search button[type="submit"]:focus{color:var(--st-brand);background:transparent}
.sh-cart{display:inline-flex;align-items:center;gap:10px;flex:0 0 auto;position:relative;font-size:14px;font-weight:500}
.sh-cart .st-ico{width:26px;height:26px;stroke-width:1.6}
.sh-cart__icon{position:relative;display:block}
.sh-cart-count{
  position:absolute;top:-6px;right:-8px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--st-brand);
  color:#fff;font-size:11px;font-weight:600;line-height:18px;text-align:center;
}
.sh-cart-count[data-count="0"]{display:none}
.sh-cart:hover{color:var(--st-brand)}

/* --------------------------------------------------------------------------
   4. Ярус 3: ряд разделов каталога
   -------------------------------------------------------------------------- */
.sh-cats{height:var(--st-cats-h);border-bottom:1px solid var(--st-line);background:var(--st-white)}
.sh-cats .st-container{height:100%;position:relative}
.sh-cats .st-container::after{content:"";position:absolute;top:0;bottom:0;right:0;width:48px;background:linear-gradient(90deg,transparent,#fff);pointer-events:none}
.sh-cats ul{display:flex;gap:28px;height:100%;overflow-x:auto;scrollbar-width:none;white-space:nowrap}
.sh-cats ul::-webkit-scrollbar{display:none}
.sh-cats li{flex:0 0 auto;display:flex}
.sh-cats a{display:flex;align-items:center;font-size:14px;font-weight:500;color:var(--st-ink);position:relative}
.sh-cats a:hover{color:var(--st-brand)}
.sh-cats a.is-current{color:var(--st-brand)}
.sh-cats a.is-current::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--st-brand)}

/* --------------------------------------------------------------------------
   5. Липкая полоса: IntersectionObserver на .sh-cats добавляет .is-stuck
   -------------------------------------------------------------------------- */
.sh.is-stuck{padding-top:var(--st-main-h)}
.sh.is-stuck .sh-main{position:fixed;top:0;left:0;right:0;z-index:80;background:var(--st-white);box-shadow:0 2px 12px rgba(27,29,32,.12)}
.sh.is-stuck .st-logo__tag{display:none}
.admin-bar .sh.is-stuck .sh-main{top:32px}

/* --------------------------------------------------------------------------
   6. Мега-меню (две панели) и оверлей
   -------------------------------------------------------------------------- */
.sh-overlay{position:fixed;inset:0;background:rgba(27,29,32,.45);z-index:60;opacity:0;visibility:hidden;transition:.18s ease}
body.st-mega-open .sh-overlay,body.st-drawer-open .sh-overlay{opacity:1;visibility:visible}
.sh-mega{
  position:absolute;top:100%;left:var(--st-gutter);right:var(--st-gutter);margin-top:6px;background:var(--st-white);
  border-radius:6px;box-shadow:var(--st-shadow);max-height:calc(100vh - var(--st-main-h) - 24px);overflow:auto;z-index:90;color:var(--st-ink);
}
.sh-mega[hidden]{display:none}
.sh.is-stuck .sh-mega{max-height:calc(100vh - var(--st-main-h) - 16px)}

/* пиктограммы изделий (спрайт в partials/header/icons.php) */
.st-pic{width:56px;height:56px;color:var(--st-ink);flex:0 0 auto;--steel:#fff;--shell:var(--st-shell);--foam:var(--st-foam)}

.sh-mg{display:grid;grid-template-columns:290px 1fr;min-height:440px}
.sh-mg__list{background:var(--st-sheet);padding:12px 0;border-radius:6px 0 0 6px;border-right:1px solid var(--st-line)}
.sh-mg__list li a{display:flex;align-items:center;gap:14px;padding:8px 18px 8px 20px;font-size:14.5px;font-weight:500;position:relative;color:var(--st-ink)}
.sh-mg__list li a .st-pic{width:36px;height:36px}
.sh-mg__list li a .st-chev{margin-left:auto;width:10px;height:10px;opacity:.5}
.sh-mg__list li.is-active a{background:var(--st-white);color:var(--st-brand)}
.sh-mg__list li.is-active a::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--st-brand)}
.sh-mg__panes{position:relative;min-width:0}
.sh-mg__pane{padding:28px 32px 28px 36px;display:grid;grid-template-columns:1fr 300px;gap:24px 40px;align-content:start}
.sh-mg__pane[hidden]{display:none}
.sh-mg__head{grid-column:1/-1;display:flex;align-items:baseline;gap:14px;margin-bottom:6px}
.sh-mg__head a{font-weight:600;font-size:20px;letter-spacing:-.01em}
.sh-mg__head a:hover{color:var(--st-brand)}
.sh-mg__head span{font-size:13px;color:var(--st-mute)}
.sh-mg__sub{display:grid;grid-template-columns:1fr;gap:2px;align-content:start}
.sh-mg__sub.is-long{grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 24px}
.sh-mg__sub a{display:flex;align-items:center;gap:8px;padding:9px 0;font-size:14.5px;color:var(--st-ink-2);border-bottom:1px solid var(--st-line)}
.sh-mg__sub a:hover{color:var(--st-brand)}
.sh-mg__sub a .st-chev{width:10px;height:10px;opacity:.45;margin-left:auto}
.sh-mg__all{grid-column:1/-1;margin-top:14px;font-size:14px;font-weight:500;color:var(--st-brand);border-bottom:0!important}
.sh-mg__img{background:var(--st-sheet);border-radius:6px;display:grid;place-items:center;padding:20px;min-height:240px;align-self:start}
.sh-mg__img img{max-height:200px;width:auto;mix-blend-mode:multiply}

/* --------------------------------------------------------------------------
   7. Мобильная навигация (≤ 768 px)
   -------------------------------------------------------------------------- */
.sh-m,.sh-drawer,.sh-bottombar,.sh-m-search,.sh-m-phone{display:none}
@media (max-width:768px){
  .sh-top,.sh-main,.sh-cats,.sh-mega{display:none!important}
  .sh.is-stuck{padding-top:0}
  body.st-has-header{padding-top:var(--st-m-head-h);padding-bottom:calc(var(--st-m-bar-h) + env(safe-area-inset-bottom))}
  .sh-m{
    display:flex;align-items:center;position:fixed;top:0;left:0;right:0;height:var(--st-m-head-h);z-index:80;
    background:var(--st-white);border-bottom:1px solid var(--st-line);padding:0 6px 0 2px;gap:2px;
  }
  .admin-bar .sh-m,.admin-bar .sh-m-search,.admin-bar .sh-m-phone,.admin-bar .sh-drawer{top:46px}
  .sh-m__btn{width:44px;height:46px;display:grid;place-items:center;position:relative;border-radius:6px;color:var(--st-ink)}
  .sh-m__btn .st-ico{width:24px;height:24px}
  .sh-m__logo{flex:1 1 auto;min-width:0;display:flex;align-items:center;padding-left:2px;gap:8px;overflow:hidden}
  .sh-m__logo .st-logo__mark{width:38px;height:38px}
  .sh-m__logo .st-logo__name{font-size:15px}
  .sh-m__logo .st-logo__tag{display:none}
  .sh-m .sh-cart-count{top:4px;right:3px}
  .sh-m-search{
    display:block;position:fixed;top:var(--st-m-head-h);left:0;right:0;z-index:79;background:var(--st-white);border-bottom:1px solid var(--st-line);
    padding:10px 12px;transform:translateY(-8px);opacity:0;visibility:hidden;transition:.15s;
  }
  .admin-bar .sh-m-search,.admin-bar .sh-m-phone{top:calc(var(--st-m-head-h) + 46px)}
  body.st-m-search-open .sh-m-search{transform:none;opacity:1;visibility:visible}
  .sh-m-search form{display:flex;gap:8px;margin:0}
  .sh-m-search input[type="search"]{flex:1;min-width:0;height:44px;margin:0;border:1px solid var(--st-line-2);border-radius:var(--st-radius);padding:0 14px;font:inherit;font-size:16px;box-shadow:none;-webkit-appearance:none;appearance:none}
  .sh-m-search button[type="submit"]{width:48px;height:44px;padding:0;border:0;border-radius:var(--st-radius);background:var(--st-brand);color:#fff;display:grid;place-items:center;flex:0 0 auto}
  .sh-m-search button[type="submit"]:hover,.sh-m-search button[type="submit"]:focus{background:var(--st-brand-dark);color:#fff}
  .sh-m-phone{
    display:block;position:fixed;top:var(--st-m-head-h);left:0;right:0;z-index:79;background:var(--st-white);border-bottom:1px solid var(--st-line);
    padding:14px 16px 16px;transform:translateY(-8px);opacity:0;visibility:hidden;transition:.15s;box-shadow:0 10px 24px rgba(27,29,32,.12);
  }
  body.st-m-phone-open .sh-m-phone{transform:none;opacity:1;visibility:visible}
  .sh-m-phone .sh-phone__num{font-size:18px}
  .sh-m-phone .sh-phone__btn{margin-top:12px;padding:12px}

  /* off-canvas */
  .sh-drawer{
    display:flex;flex-direction:column;position:fixed;top:0;bottom:0;left:0;width:min(360px,88vw);background:var(--st-white);z-index:90;
    transform:translateX(-102%);transition:transform .22s ease;box-shadow:var(--st-shadow);overflow:hidden;
  }
  body.st-drawer-open .sh-drawer{transform:none}
  body.st-drawer-open .sh-overlay{z-index:88}
  .sh-drawer__head{display:flex;align-items:center;justify-content:space-between;height:var(--st-m-head-h);padding:0 6px 0 16px;border-bottom:1px solid var(--st-line);flex:0 0 auto}
  .sh-drawer__head .st-logo__mark{width:38px;height:38px}
  .sh-drawer__head .st-logo__name{font-size:16px}
  .sh-drawer__head .st-logo__tag{display:none}
  .sh-drawer__close{width:46px;height:46px;display:grid;place-items:center;border-radius:6px}
  .sh-drawer__close .st-ico{width:24px;height:24px}
  .sh-drawer__body{flex:1 1 auto;overflow:hidden;position:relative}
  .sh-drawer__track{display:flex;height:100%;transition:transform .22s ease}
  .sh-drawer__panels{display:none}
  .sh-panel{flex:0 0 100%;height:100%;overflow-y:auto;overscroll-behavior:contain;padding-bottom:24px}
  .sh-panel__back{display:flex;align-items:center;gap:8px;width:100%;padding:12px 16px;font-size:14px;color:var(--st-mute);border-bottom:1px solid var(--st-line);text-align:left}
  .sh-panel__back .st-ico{width:18px;height:18px}
  .sh-panel__title{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;font-weight:600;font-size:17px;border-bottom:1px solid var(--st-line)}
  .sh-panel__title .st-chev{width:12px;height:12px;opacity:.6}
  .sh-list li{border-bottom:1px solid var(--st-line)}
  .sh-list li:last-child{border-bottom:0}
  .sh-list a,.sh-list button{display:flex;align-items:center;gap:12px;width:100%;min-height:52px;padding:12px 16px;text-align:left;font-size:15.5px;color:var(--st-ink)}
  .sh-list .st-chev{width:12px;height:12px;margin-left:auto;opacity:.5;flex:0 0 auto}
  .sh-list .st-ico{width:22px;height:22px;color:var(--st-ink-2)}
  .sh-list .st-pic{width:34px;height:34px}
  .sh-list .sh-cart-count{position:static;margin-left:6px}
  .sh-list--sub a{font-size:15px;padding-left:16px}
  .sh-list__all{color:var(--st-brand)!important;font-weight:500}
  .sh-list__div{height:8px;background:var(--st-sheet);border-top:1px solid var(--st-line);border-bottom:1px solid var(--st-line)}
  .sh-list .geolocation{display:flex;align-items:center;gap:12px;width:100%;min-height:52px;padding:12px 16px;margin:0}
  .sh-list .geolocation__link{display:inline-flex;align-items:center;gap:12px;color:var(--st-ink);font-size:15.5px}
  .sh-list .geolocation__link svg{width:16px;height:20px;fill:var(--st-ink-2)}
  .sh-drawer__contacts{padding:16px}
  .sh-drawer__contacts .sh-phone__num{font-size:17px}
  .sh-drawer__contacts dl{margin:16px 0 0;display:grid;grid-template-columns:auto 1fr;gap:8px 12px;font-size:14px}
  .sh-drawer__contacts dt{color:var(--st-mute);font-size:12px;padding-top:2px;font-weight:400}
  .sh-drawer__contacts dd{margin:0}
  .sh-drawer__contacts .sh-phone__btn{margin-top:12px;padding:12px}

  /* нижняя панель */
  .sh-bottombar{
    display:grid;grid-template-columns:repeat(5,1fr);position:fixed;left:0;right:0;bottom:0;z-index:85;height:calc(var(--st-m-bar-h) + env(safe-area-inset-bottom));
    padding-bottom:env(safe-area-inset-bottom);background:var(--st-white);border-top:1px solid var(--st-line);box-shadow:0 -2px 10px rgba(27,29,32,.05);
  }
  body.st-drawer-open .sh-bottombar{display:none}
  .sh-bottombar a,.sh-bottombar button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:11px;font-weight:500;color:var(--st-ink-2);position:relative;min-height:44px;line-height:1.2}
  .sh-bottombar .st-ico{width:24px;height:24px}
  .sh-bottombar .is-active{color:var(--st-brand)}
  .sh-bottombar .sh-cart-count{top:4px;right:calc(50% - 22px)}
}

/* --------------------------------------------------------------------------
   8. Режим скриншотов (?st_state=…, tools/dev/shots-site.py): без анимаций, липкая полоса
   без прокрутки (верхний и нижний ярусы спрятаны)
   -------------------------------------------------------------------------- */
body.st-shot .sh *,body.st-shot .sh-overlay{transition:none!important}
body.st-sim-sticky .sh-top,body.st-sim-sticky .sh-cats{display:none}
body.st-sim-sticky .sh.is-stuck{padding-top:0}
body.st-sim-sticky .sh.is-stuck .sh-main{position:relative}
body.st-footer-only #main{display:none}

/* --------------------------------------------------------------------------
   9. Совместимость с OceanWP: гасим остатки родительской шапки/топбара
   -------------------------------------------------------------------------- */
#site-header.has-sticky-mobile-header,#top-bar-wrap,#mobile-dropdown{display:none!important}
