/* 1PP SITE SHELL — canonical shared header/footer.
   Scoped rules only: no global body, table, card or catalog selectors.
   One cached asset used by every compiled full-site page. */
#onepp-site-top,#onepp-site-header,#onepp-site-footer{font-family:Arial,Helvetica,sans-serif;box-sizing:border-box}
#onepp-site-top *,#onepp-site-header *,#onepp-site-footer *{box-sizing:border-box}
#onepp-site-top a,#onepp-site-header a,#onepp-site-footer a{color:inherit;text-decoration:none}
#onepp-site-top{background:#20242a;color:#fff;font-size:12px;min-height:32px}
#onepp-site-top .topline-inner{position:relative;max-width:1440px;margin:auto;min-height:32px;padding:0 22px;display:flex;align-items:center;justify-content:flex-end;gap:18px}
#onepp-site-top .toplinks{display:flex;align-items:center;gap:18px}
#onepp-site-top .toplinks:first-child{position:absolute;left:50%;transform:translateX(-50%);justify-content:center;white-space:nowrap}
#onepp-site-top .toplinks a{color:#fff;opacity:.92}
#onepp-site-top a:hover{text-decoration:underline}
#onepp-site-header{background:#fff;border-bottom:1px solid #e4e8ec;position:sticky;top:0;z-index:40;color:#171a1f}
#onepp-site-header .header-inner{max-width:1440px;margin:auto;padding:12px 22px;display:grid;grid-template-columns:auto auto minmax(340px,620px) 1fr;align-items:center;gap:14px}
#onepp-site-header .logo{font-size:30px;font-weight:900;letter-spacing:-1.5px;line-height:1;white-space:nowrap;cursor:pointer}
#onepp-site-header .logo span{color:#df3035}
#onepp-site-header .catalog-btn{background:#df3035;color:#fff;border-radius:8px;padding:12px 18px;font-size:14px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:10px;white-space:nowrap;cursor:pointer}
#onepp-site-header .catalog-btn:hover{background:#bf1b2b;color:#fff}
#onepp-site-header .catalog-btn .hamb{font-size:17px;font-weight:700}
#onepp-site-header .search{height:42px;width:100%;max-width:620px;display:flex;align-items:stretch;margin:0;min-width:0;flex-wrap:nowrap;gap:0}
#onepp-site-header .search input{flex:1;min-width:0;background:#fff;border:1px solid #e4e8ec;border-radius:8px 0 0 8px;padding:0 14px;font:15px Arial,Helvetica,sans-serif;outline:0;color:#22272d;box-shadow:none;appearance:none}
#onepp-site-header .search input:focus{border-color:#bfc8d1}
#onepp-site-header .search button{border:0;background:#20242a;color:#fff;padding:0 20px;border-radius:0 8px 8px 0;font:700 13px Arial,Helvetica,sans-serif;min-width:80px;cursor:pointer}
#onepp-site-header .search button:hover{background:#343a42}
#onepp-site-header .header-actions{display:flex;justify-content:flex-end;align-items:center;gap:18px}
#onepp-site-header .hact{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:54px;color:#333b43;font-weight:700;white-space:nowrap}
#onepp-site-header .hact .hicon{font-size:22px;line-height:1;color:#26323c}
#onepp-site-header .hact small{font-size:11px;font-weight:700;color:#232d37;white-space:nowrap}
#onepp-site-header .hact:hover .hicon,#onepp-site-header .hact:hover small{color:#df3035}
#onepp-site-header .mainnav{border-top:1px solid #edf0f2;background:#fff}
#onepp-site-header .mainnav-inner{max-width:1440px;margin:auto;padding:0 22px;min-height:42px;display:flex;align-items:center;gap:24px;overflow-x:auto;white-space:nowrap;font-size:13px;font-weight:700}
#onepp-site-header .mainnav-inner a:hover{color:#df3035}
#onepp-site-header .onepp-mobile-tools{display:none}
#onepp-site-footer{margin-top:44px;background:#20242a;color:#e7ebef}
#onepp-site-footer .footer-main{max-width:1440px;margin:auto;padding:34px 22px 28px;display:grid;grid-template-columns:1.15fr 1fr 1fr 1fr 1.2fr;gap:34px;align-items:start}
#onepp-site-footer .footer-col{min-width:0}
#onepp-site-footer .footer-col h4{margin:0 0 14px;font-size:14px;color:#fff;font-weight:800}
#onepp-site-footer .footer-col a{display:block;margin:9px 0;color:#b8c1c9;font-size:13px}
#onepp-site-footer .footer-col a:hover{color:#fff;text-decoration:underline}
#onepp-site-footer .footer-brand{font-size:30px;font-weight:900;letter-spacing:-1.5px;margin-bottom:10px;color:#fff}
#onepp-site-footer .footer-brand span{color:#df3035}
#onepp-site-footer .footer-note{color:#9aa5af;font-size:12px;line-height:1.55;max-width:260px}
#onepp-site-footer .footer-contact{font-size:16px;color:#fff!important;font-weight:700}
#onepp-site-footer .footer-bottom{border-top:1px solid #343b43}
#onepp-site-footer .footer-bottom-inner{max-width:1440px;margin:auto;padding:15px 22px;display:flex;flex-wrap:wrap;gap:18px;justify-content:space-between;color:#87939e;font-size:11px}
#onepp-site-footer .footer-legal{display:flex;flex-wrap:wrap;gap:16px}
#onepp-site-footer .footer-legal a{color:#87939e;font-size:11px}
#onepp-site-footer .footer-legal a:hover{color:#fff}
#onepp-site-footer .onepp-mobile-footer{display:none}
#onepp-site-footer .footer-payments,#onepp-site-footer .pay-brand{display:none}
@media(max-width:1150px){
 #onepp-site-header .header-inner{grid-template-columns:auto auto minmax(240px,1fr);gap:12px}
 #onepp-site-header .header-actions{grid-column:1/-1;justify-content:flex-end;gap:20px;padding-top:5px}
 #onepp-site-header .search{max-width:none}
 #onepp-site-footer .footer-main{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:767px){
 #onepp-site-top{display:none!important}
 #onepp-site-header{position:sticky!important;top:0!important}
 #onepp-site-header .header-inner{display:grid!important;grid-template-columns:auto 1fr!important;gap:9px 10px!important;padding:9px 12px!important}
 #onepp-site-header .header-inner .logo{grid-column:1!important;grid-row:1!important;font-size:26px!important;white-space:nowrap!important}
 #onepp-site-header .header-inner .catalog-btn{grid-column:2!important;grid-row:1!important;justify-self:end!important;padding:9px 11px!important;font-size:13px!important}
 #onepp-site-header .header-inner .search{grid-column:1/-1!important;grid-row:3!important;min-width:0!important;max-width:100%!important;height:38px!important;margin:0!important}
 #onepp-site-header .search input{min-width:0!important;font-size:13px!important}
 #onepp-site-header .search button{padding:0 13px!important}
 #onepp-site-header .header-actions{display:none!important}
 #onepp-site-header .onepp-mobile-tools{grid-column:1/-1!important;grid-row:2!important;display:flex!important;justify-content:space-between!important;align-items:center!important;gap:7px!important;min-width:0!important}
 #onepp-site-header .onepp-mobile-tools a{display:flex!important;align-items:center;gap:4px;font-size:11px;color:#27313b;text-decoration:none;white-space:nowrap;padding:5px 2px;min-width:0}
 #onepp-site-header .onepp-mobile-tools .tool-symbol{font-size:17px;line-height:1;color:#ed3434}
 #onepp-site-header .onepp-mobile-tools a[href^="tel:"],#onepp-site-header .onepp-mobile-tools a[href^="mailto:"]{font-size:10px}
 #onepp-site-header .mainnav-inner{display:flex!important;flex-wrap:wrap!important;gap:8px 12px!important;padding:8px 12px!important;white-space:normal!important;font-size:12px}
 #onepp-site-header .mainnav-inner a{font-size:12px!important}
 #onepp-site-footer .footer-main{display:none!important}
 #onepp-site-footer .onepp-mobile-footer{display:block!important;padding:25px 20px 12px;color:#e6e9ed}
 #onepp-site-footer .onepp-mobile-footer .fm-brand{font-weight:800;font-size:22px;color:#fff;margin-bottom:16px}
 #onepp-site-footer .onepp-mobile-footer .fm-brand span{color:#ef3737}
 #onepp-site-footer .onepp-mobile-footer .fm-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px 14px}
 #onepp-site-footer .onepp-mobile-footer .fm-group{display:flex;flex-direction:column;gap:11px;min-width:0}
 #onepp-site-footer .onepp-mobile-footer .fm-group h4{color:#fff;font-size:15px;margin:0 0 3px}
 #onepp-site-footer .onepp-mobile-footer .fm-group a{color:#bfc7d1;text-decoration:none;font-size:14px;line-height:1.35;overflow-wrap:anywhere}
 #onepp-site-footer .onepp-mobile-footer .fm-contacts{grid-column:1/-1;padding-top:15px;border-top:1px solid #414952}
 #onepp-site-footer .onepp-mobile-footer .fm-contacts a{color:#fff;font-size:15px}
 #onepp-site-footer .onepp-mobile-footer .fm-bottom{margin-top:22px;color:#9da7b2;font-size:12px}
 #onepp-site-footer .footer-bottom-inner{display:flex;flex-direction:column;padding:12px 20px;gap:8px}
 #onepp-site-footer .footer-legal{display:flex;flex-wrap:wrap;gap:8px}
}

/* Authoritative source: product page V21/V26 original compact header declarations. */
#onepp-site-header .catalog-btn{font-weight:600;gap:9px}
#onepp-site-header .catalog-btn .hamb{font-weight:400;line-height:1}
#onepp-site-header .mainnav-inner{font-size:13px;font-weight:600;color:#20262d}
#onepp-site-header .mainnav-inner a{font-weight:600}


/* 1PP approved footer 2026-11-18: single red/graphite footer all static pages */
#onepp-site-footer{margin-top:44px;background:#20242a;color:#e7ebef}
#onepp-site-footer .onepp-mobile-footer{display:none!important}
#onepp-site-footer .footer-main{display:grid!important;grid-template-columns:1.15fr 1fr 1fr 1fr 1.2fr;gap:32px 28px;align-items:start;max-width:1440px;margin:auto;padding:34px 22px 28px}
#onepp-site-footer .footer-col{min-width:0}
#onepp-site-footer .footer-col h4{font-size:14px;font-weight:700;margin-bottom:14px}
#onepp-site-footer .footer-brand{font-size:30px;font-weight:900;white-space:nowrap}
#onepp-site-footer .footer-brand span{color:#df3035}
#onepp-site-footer .footer-payments{display:block!important;grid-column:1/-1;border-top:1px solid #343b43;padding-top:22px;margin-top:12px}
#onepp-site-footer .footer-payments-title{color:#fff;font-weight:700;font-size:13px;margin-bottom:15px}
#onepp-site-footer .pay-logos{display:flex;flex-wrap:wrap;align-items:center;gap:18px 24px}
#onepp-site-footer .pay-wrap{display:inline-flex;align-items:center;justify-content:center;min-height:35px;max-width:116px}
#onepp-site-footer .pay-logo-real{display:block;width:auto;max-width:116px;max-height:37px;object-fit:contain}
#onepp-site-footer .pay-wrap.chip{background:#f7f8fa;border-radius:7px;padding:5px 9px}
#onepp-site-footer .pay-wrap.chip .pay-logo-real{max-height:27px;max-width:93px}
#onepp-site-footer .footer-bottom{border-top:1px solid #343b43}
#onepp-site-footer .footer-bottom-inner{max-width:1440px;margin:auto;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 24px;padding:15px 22px}
@media(max-width:1050px){#onepp-site-footer .footer-main{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){#onepp-site-footer .footer-main{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 18px;padding:28px 18px 25px}
#onepp-site-footer .footer-bottom-inner{padding:14px 18px;flex-direction:row}
#onepp-site-footer .footer-payments{grid-column:1/-1}}
@media(max-width:480px){#onepp-site-footer .footer-main{grid-template-columns:1fr}
#onepp-site-footer .pay-logos{gap:12px 16px}}


/* Breadcrumb baseline: direct existing routes only. */
.onepp-unified-crumbs{max-width:1440px;margin:12px auto 10px;padding:0 22px;display:flex;align-items:center;gap:9px;color:#798592;font:12px/1.4 Arial,Helvetica,sans-serif}
.onepp-unified-crumbs a{color:#647484;text-decoration:none}
.onepp-unified-crumbs a:hover{color:#df3035}
.onepp-unified-crumbs [aria-current="page"]{color:#576574}
@media(max-width:767px){.onepp-unified-crumbs{padding:0 12px;flex-wrap:wrap}}


/* Shared shell normalization: legacy header/footer rules cannot change approved layout. */
#onepp-site-header{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;font-size:initial!important;font-weight:400!important;line-height:normal!important;box-sizing:border-box!important}
#onepp-site-header .mainnav{display:block!important;width:100%!important;margin:0!important;padding:0!important}
#onepp-site-footer{display:block!important;width:100%!important;max-width:none!important;padding:0!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box!important}


/* Approved shared breadcrumb row: always directly under shared header. */
.onepp-breadcrumb-bar{position:relative!important;display:block!important;width:100%!important;max-width:none!important;min-height:44px!important;margin:0!important;padding:0!important;background:#fff!important;box-sizing:border-box!important;z-index:1}
.onepp-breadcrumb-bar .onepp-breadcrumb-inner{display:flex!important;align-items:center!important;width:100%!important;max-width:1500px!important;min-height:44px!important;margin:0 auto!important;padding:0 16px!important;box-sizing:border-box!important}
.onepp-breadcrumb-bar .onepp-site-breadcrumbs{position:static!important;display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:7px!important;width:100%!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important;color:#73808e!important;font:400 12px/1.5 Arial,Helvetica,sans-serif!important;letter-spacing:normal!important}
.onepp-breadcrumb-bar .onepp-site-breadcrumbs a{font:inherit!important;color:#657789!important;text-decoration:none!important}
.onepp-breadcrumb-bar .onepp-site-breadcrumbs a:hover{color:#d92e38!important;text-decoration:underline!important}
.onepp-breadcrumb-bar .onepp-site-breadcrumbs span{font:inherit!important;color:#657180!important}
.onepp-breadcrumb-bar .onepp-site-breadcrumbs [aria-current="page"]{color:#4d5d6b!important}
@media(max-width:700px){.onepp-breadcrumb-bar .onepp-breadcrumb-inner{padding:0 12px!important;min-height:40px!important}.onepp-breadcrumb-bar{min-height:40px!important}}


/* Match shared header height across old layouts at tablet/compact desktop. */
@media(min-width:961px) and (max-width:1100px){
 #onepp-site-header .header-inner{min-height:124px!important}
}


/* 1PP SINGLE SOURCE CONTRACT v1 — shared server-side header/footer with scoped geometry */
#onepp-site-top,#onepp-site-header,#onepp-site-footer{font-family:Arial,Helvetica,sans-serif!important}
#onepp-site-header .mainnav-inner a,
.onepp-breadcrumb-bar .onepp-site-breadcrumbs a{margin:0!important;vertical-align:baseline!important}
#onepp-site-header .mainnav-inner{gap:24px!important}
#onepp-site-footer{font:13px/1.5 Arial,Helvetica,sans-serif!important;color:#e7ebef!important;background:#20242a!important}
#onepp-site-footer .footer-main{
 display:grid!important;grid-template-columns:1.15fr repeat(3,minmax(0,1fr)) 1.2fr!important;
 align-items:start!important;column-gap:28px!important;row-gap:22px!important;
 max-width:1440px!important;width:100%!important;margin:0 auto!important;
 padding:34px 22px 28px!important;box-sizing:border-box!important;
}
#onepp-site-footer .footer-col{display:block!important;min-width:0!important;padding:0!important;margin:0!important;max-width:100%!important}
#onepp-site-footer .footer-col h4{font:700 14px/1.3 Arial,Helvetica,sans-serif!important;color:#fff!important;margin:0 0 14px!important;padding:0!important}
#onepp-site-footer .footer-col a{display:block!important;font:400 13px/1.5 Arial,Helvetica,sans-serif!important;margin:9px 0!important;padding:0!important;color:#b8c1c9!important;text-decoration:none!important}
#onepp-site-footer .footer-col a.footer-contact{font-weight:700!important;font-size:16px!important;color:#fff!important}
#onepp-site-footer .footer-note{font:400 12px/1.55 Arial,Helvetica,sans-serif!important;margin:0!important;color:#9aa5af!important;max-width:260px!important}
#onepp-site-footer .footer-payments{
 display:block!important;grid-column:1/-1!important;min-width:0!important;width:100%!important;
 border-top:1px solid #343b43!important;padding:18px 0 0!important;margin:0!important;
 box-sizing:border-box!important
}
#onepp-site-footer .footer-payments-title{font:700 13px/1.4 Arial,Helvetica,sans-serif!important;color:#fff!important;margin:0 0 14px!important}
#onepp-site-footer .pay-logos{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:16px 22px!important;width:100%!important}
#onepp-site-footer .pay-wrap{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:none!important;margin:0!important;vertical-align:middle!important}
#onepp-site-footer .pay-logo-real{display:block!important;width:auto!important;height:auto!important;max-height:37px!important;max-width:116px!important;object-fit:contain!important;visibility:visible!important}
#onepp-site-footer .pay-logo-real.mir{width:88px!important;height:26px!important;max-width:88px!important;max-height:26px!important}
#onepp-site-footer .pay-logo-real.sbp{width:54px!important;height:27px!important;max-width:54px!important;max-height:27px!important}
#onepp-site-footer .pay-logo-real.sber{width:116px!important;height:24px!important;max-width:116px!important;max-height:24px!important}
#onepp-site-footer .pay-logo-real.alfa{width:105px!important;height:37px!important;max-width:105px!important;max-height:37px!important}
#onepp-site-footer .pay-logo-real.tbank{width:75px!important;height:27px!important;max-width:75px!important;max-height:27px!important}
#onepp-site-footer .footer-bottom{display:block!important;width:100%!important;max-width:none!important;grid-column:auto!important;border-top:1px solid #343b43!important;margin:0!important;padding:0!important}
#onepp-site-footer .footer-bottom-inner{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-direction:row!important;flex-wrap:wrap!important;gap:10px 24px!important;max-width:1440px!important;width:100%!important;margin:0 auto!important;padding:15px 22px!important;box-sizing:border-box!important;color:#87939e!important;font:400 11px/1.5 Arial,Helvetica,sans-serif!important}
#onepp-site-footer .footer-legal{display:flex!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:wrap!important;gap:10px 18px!important;margin:0!important;padding:0!important;width:auto!important}
#onepp-site-footer .footer-legal a{font:400 11px/1.5 Arial,Helvetica,sans-serif!important;color:#87939e!important;margin:0!important;padding:0!important}
@media(max-width:1099px){
 #onepp-site-footer .footer-main{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:767px){
 #onepp-site-header .mainnav-inner{gap:8px 12px!important}
 #onepp-site-footer .footer-main{grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:17px!important;row-gap:22px!important;padding:28px 18px 25px!important}
 #onepp-site-footer .footer-bottom-inner{padding:14px 18px!important}
 #onepp-site-footer .footer-legal{justify-content:flex-start!important}
 #onepp-site-footer .footer-brand{font-size:27px!important}
 #onepp-site-footer .footer-col a{font-size:12px!important}
 #onepp-site-footer .footer-col a.footer-contact{font-size:13px!important}
}


/* Exact reusable payment area geometry; prevent legacy page-specific logo rules. */
@media(min-width:768px){
 #onepp-site-footer .footer-payments{height:88px!important;min-height:88px!important;max-height:88px!important}
 #onepp-site-footer .pay-logos{height:37px!important;min-height:37px!important;max-height:37px!important;align-content:center!important}
}
@media(max-width:767px){
 #onepp-site-footer .footer-payments{min-height:140px!important}
 #onepp-site-footer .pay-logos{align-content:flex-start!important}
}


/* 1PP mobile breadcrumb and payments final consistency */
@media(max-width:767px){
 .onepp-breadcrumb-bar{height:40px!important;min-height:40px!important;max-height:40px!important;overflow:hidden!important}
 .onepp-breadcrumb-bar .onepp-breadcrumb-inner{height:40px!important;min-height:40px!important;max-height:40px!important}
 .onepp-breadcrumb-bar .onepp-site-breadcrumbs{height:40px!important;min-height:40px!important;max-height:40px!important;flex-wrap:nowrap!important;white-space:nowrap!important;overflow:hidden!important}
 .onepp-breadcrumb-bar .onepp-site-breadcrumbs [aria-current="page"]{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;min-width:0!important}
 #onepp-site-footer .footer-payments{height:145px!important;min-height:145px!important;max-height:145px!important}
}


/* 1PP shared components: normalize legacy page inheritance and geometry.
   This is the ONLY site-wide lock for header/footer/breadcrumbs. */
body:has(#onepp-site-header){margin:0!important}
#onepp-site-header{gap:normal!important}
#onepp-site-header .catalog-btn{background-color:#df3035!important}
#onepp-site-header .hact{height:38px!important;min-height:38px!important}
.onepp-breadcrumb-bar,
.onepp-breadcrumb-bar .onepp-breadcrumb-inner{
 font:400 13px/1.4 Arial,Helvetica,sans-serif!important;
 color:#172633!important;
}
@media(max-width:767px){
 #onepp-site-header .mainnav-inner a{line-height:14px!important}
}


/* 1PP shared UI icon/payment normalization (catalog vs payment vs B2B) */
#onepp-site-header .hicon{
  font-size:24px!important;font-weight:400!important;line-height:24px!important;
}
#onepp-site-header .hact small{
  font-weight:600!important;
}
#onepp-site-footer .pay-wrap.chip{
  border:1px solid rgba(255,255,255,.12)!important;
  box-shadow:inset 0 1px 0 rgba(0,0,0,.08)!important;
}

/* 1PP tablet header-actions final 1px alignment: all pages same height */
@media(min-width:961px) and (max-width:1100px){
  #onepp-site-header .header-actions{
    height:44px!important;min-height:44px!important;
  }
}

/* Owner 2026-11-18: canonical geometry for all SSI-rendered pages.
   These rules replace inheritance from page-specific legacy CSS. */
#onepp-site-top{line-height:normal!important}
#onepp-site-header .header-actions{border:0!important}
#onepp-site-header .mainnav{font-size:16px!important}
#onepp-site-footer{border:0!important;margin-bottom:0!important}

/* 1PP global MOBILE header organization 2026-11-19.
   Desktop geometry, header/footer HTML, destinations, account/cart behavior
   remain strictly unchanged. ONE shared CSS source for all 56+2 routes. */
@media(max-width:767px){
  #onepp-site-header .header-inner{
    padding:8px 10px!important;
    gap:5px 8px!important;
  }
  #onepp-site-header .onepp-mobile-tools{
    grid-column:1/-1!important;grid-row:2!important;
    display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;
    align-items:stretch!important;justify-items:stretch!important;
    gap:3px!important;width:100%!important;min-width:0!important;
  }
  #onepp-site-header .onepp-mobile-tools a{
    display:flex!important;flex-direction:column!important;
    align-items:center!important;justify-content:center!important;
    min-width:0!important;min-height:40px!important;
    padding:4px 1px!important;margin:0!important;
    gap:2px!important;text-align:center!important;
    white-space:nowrap!important;
    font:600 11px/1.25 Arial,Helvetica,sans-serif!important;
    border-radius:7px;
  }
  #onepp-site-header .onepp-mobile-tools a[href^="tel:"],
  #onepp-site-header .onepp-mobile-tools a[href^="mailto:"]{
    font-size:11px!important;
  }
  #onepp-site-header .onepp-mobile-tools .tool-symbol{
    font-size:19px!important;line-height:1.05!important;
  }
  #onepp-site-header .onepp-mobile-tools a:focus-visible{
    outline:2px solid #4e99da;outline-offset:0;
  }
  /* Keep every navigation item reachable: one horizontal scroll strip
     instead of wrapping 7 links into 2–3 uneven lines on iPhone. */
  #onepp-site-header .mainnav-inner{
    display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;
    justify-content:flex-start!important;align-items:center!important;
    width:100%!important;max-width:100%!important;
    height:46px!important;min-height:46px!important;
    gap:18px!important;padding:0 12px!important;
    white-space:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;
    scrollbar-width:thin;
  }
  #onepp-site-header .mainnav-inner>a{
    display:inline-flex!important;align-items:center!important;
    flex:0 0 auto!important;
    height:44px!important;min-height:44px!important;
    padding:0!important;margin:0!important;
    font:700 12.5px/1.3 Arial,Helvetica,sans-serif!important;
    white-space:nowrap!important;
  }
}


/* 1PP 2026-11-19 cabinet avatar ONLY — approved owner exception.
   One global image for the existing "Кабинет" icon across all public routes.
   Keep original SSI header/footer/menu HTML and all desktop/mobile geometry.
   The older account/cart-scoped CSS used exactly this avatar, but catalog,
   PDP, homepage, favorites and mobile quick menu still had a ◉ glyph. */
#onepp-site-header .header-actions > a.hact:nth-child(4) > .hicon,
#onepp-site-header .header-actions .onepp-identity-holder > a.hact.onepp-cabinet-identity > .hicon{
  display:inline-block!important;
  width:25px!important;height:25px!important;
  font-size:0!important;line-height:25px!important;
  color:transparent!important;
  background:transparent url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%231c2c38'%20stroke-width='1.85'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='12'%20cy='12'%20r='10'/%3E%3Ccircle%20cx='12'%20cy='9.2'%20r='3.3'/%3E%3Cpath%20d='M5.9%2018.5c.6-3.3%203-5%206.1-5s5.5%201.7%206.1%205'/%3E%3C/svg%3E") center/25px 25px no-repeat!important;
}
/* Replace the single existing mobile .tool-symbol in place, not by adding
   a second icon, new link, link wrapper, menu item or a changed text node. */
@media(max-width:767px){
  #onepp-site-header .onepp-mobile-tools a[href="/account/"] > .tool-symbol{
    display:inline-block!important;
    width:17px!important;height:17px!important;
    min-width:17px!important;flex:0 0 17px!important;
    color:transparent!important;font-size:0!important;line-height:17px!important;
    background:transparent url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23df3035'%20stroke-width='1.85'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='12'%20cy='12'%20r='10'/%3E%3Ccircle%20cx='12'%20cy='9.2'%20r='3.3'/%3E%3Cpath%20d='M5.9%2018.5c.6-3.3%203-5%206.1-5s5.5%201.7%206.1%205'/%3E%3C/svg%3E") center/17px 17px no-repeat!important;
  }
}


/* 1PP single original cart icon — no platform-dependent emoji.
 * No header/menu markup, position, label, link or footer change.
 * Cart count is read from the existing onepp_cart_v1; none when empty. */
#onepp-site-header .header-actions a.hact[href="/cart/"] > .hicon{
  display:inline-block!important;
  position:relative!important;
  width:22px!important;height:22px!important;min-width:22px!important;
  font-size:0!important;line-height:22px!important;color:transparent!important;
  overflow:visible!important;
  background:transparent url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%231c2c38%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M2%202h2l2.4%2011.4a2%202%200%200%200%202%201.6h9.7a2%202%200%200%200%202-1.6L22%207H5%27%2F%3E%3Ccircle%20cx%3D%279%27%20cy%3D%2721%27%20r%3D%271%27%2F%3E%3Ccircle%20cx%3D%2719%27%20cy%3D%2721%27%20r%3D%271%27%2F%3E%3C%2Fsvg%3E") center/22px 22px no-repeat!important;
}
#onepp-site-header .header-actions a.hact[href="/cart/"] > .hicon[data-cart-count]::after,
#onepp-site-header .onepp-mobile-tools a[href="/cart/"] > .tool-symbol[data-cart-count]::after{
  content:attr(data-cart-count)!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  box-sizing:border-box!important;position:absolute!important;
  top:-7px!important;right:-9px!important;
  min-width:16px!important;height:16px!important;padding:0 3px!important;
  border:1px solid white!important;border-radius:12px!important;
  background:#df3035!important;color:white!important;
  font:700 10px/1 Arial,Helvetica,sans-serif!important;
  white-space:nowrap!important;z-index:2!important;
  pointer-events:none!important;
}
@media(max-width:767px){
  #onepp-site-header .onepp-mobile-tools a[href="/cart/"] > .tool-symbol{
    display:inline-block!important;position:relative!important;
    width:19px!important;height:19px!important;min-width:19px!important;
    flex:0 0 19px!important;
    font-size:0!important;line-height:19px!important;color:transparent!important;
    overflow:visible!important;
    background:transparent url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%231c2c38%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M2%202h2l2.4%2011.4a2%202%200%200%200%202%201.6h9.7a2%202%200%200%200%202-1.6L22%207H5%27%2F%3E%3Ccircle%20cx%3D%279%27%20cy%3D%2721%27%20r%3D%271%27%2F%3E%3Ccircle%20cx%3D%2719%27%20cy%3D%2721%27%20r%3D%271%27%2F%3E%3C%2Fsvg%3E") center/19px 19px no-repeat!important;
  }
}


/* 1PP single Cabinet identity on EVERY page: same site-shell slot & icon.
   Guest "Кабинет"; logged-in person first name; company legal-prefix label.
   NO separate padded/bordered account-only button, no changes to global
   nav/menus/other 4 actions/footer. The menu floats, not in header layout. */
#onepp-site-header .header-actions > a.hact:nth-child(4) {
  flex:0 0 108px!important;
  width:108px!important;min-width:108px!important;max-width:108px!important;
}
#onepp-site-header .header-actions > a.hact:nth-child(4) > small {
  display:block!important;max-width:108px!important;min-width:0!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
  font:700 11px/1.25 Arial,Helvetica,sans-serif!important;
  text-align:center!important;
}
#onepp-site-header .header-actions > a.hact:nth-child(4).onepp-site-identity-active > small{
  position:relative!important;width:100%!important;padding-right:12px!important;
}
#onepp-site-header .header-actions > a.hact:nth-child(4).onepp-site-identity-active > small::after,
#onepp-site-header .onepp-mobile-tools a[href="/account/"].onepp-site-identity-active > span:last-child::after {
  content:"";display:inline-block;vertical-align:3px;
  margin-left:5px;width:5px;height:5px;
  border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;
  transform:rotate(45deg);pointer-events:none;
}
#onepp-site-header .header-actions > a.hact:nth-child(4).onepp-site-identity-active > small::after{
  position:absolute!important;right:2px!important;top:2px!important;margin-left:0!important;
}
#onepp-site-header .header-actions > a.hact:nth-child(4).onepp-site-identity-active[aria-expanded="true"] > small::after,
#onepp-site-header .onepp-mobile-tools a[href="/account/"].onepp-site-identity-active[aria-expanded="true"] > span:last-child::after{
  transform:rotate(225deg);
}
#onepp-site-header .onepp-site-identity-menu[hidden]{display:none!important}
#onepp-site-header .onepp-site-identity-menu{
  position:fixed!important;z-index:101;
  display:block;box-sizing:border-box;max-width:calc(100vw - 24px);
  overflow-x:hidden;overflow-y:auto;
  border:1px solid #d9e2e9;border-radius:12px;background:white;color:#1b2a36;
  font:13px/1.4 Arial,Helvetica,sans-serif!important;
  box-shadow:0 15px 40px rgba(20,35,50,.18);
  text-align:left;white-space:normal;
}
#onepp-site-header .onepp-site-identity-head{
  padding:16px 17px 14px;background:#f5f7f9;
  border-bottom:1px solid #e3e9ef;border-radius:11px 11px 0 0;
}
#onepp-site-header .onepp-site-identity-kind{
  font:700 11px/1.4 Arial,Helvetica,sans-serif!important;
  color:#657483;text-transform:uppercase;letter-spacing:.3px;
  margin-bottom:6px;
}
#onepp-site-header .onepp-site-identity-full{
  display:block;font:800 15px/1.4 Arial,Helvetica,sans-serif!important;
  color:#162636;overflow-wrap:anywhere;
}
#onepp-site-header .onepp-site-identity-contact{
  font-size:12px;color:#647789;margin-top:8px;overflow-wrap:anywhere;
}
#onepp-site-header .onepp-site-identity-items{
  display:flex;flex-direction:column;padding:8px;gap:2px;
}
#onepp-site-header .onepp-site-identity-items > a,
#onepp-site-header .onepp-site-identity-items > button{
  display:block;box-sizing:border-box;width:100%;min-height:38px;
  padding:9px 12px;margin:0;border:0;border-radius:7px;
  text-align:left;background:transparent;color:#223443!important;
  font:600 13px/1.35 Arial,Helvetica,sans-serif!important;
  text-decoration:none!important;cursor:pointer;
}
#onepp-site-header .onepp-site-identity-items > a:hover,
#onepp-site-header .onepp-site-identity-items > button:hover{
  background:#eef2f6;color:#dc3035!important;
}
#onepp-site-header .onepp-site-identity-items > a:focus-visible,
#onepp-site-header .onepp-site-identity-items > button:focus-visible{
  outline:2px solid #9bbce5;outline-offset:-2px;
}
#onepp-site-header .onepp-site-identity-items > button[data-onepp-logout]{
  color:#a9363d!important;border-top:1px solid #e7edf1;margin-top:3px;
}
@media(max-width:767px){
 #onepp-site-header .onepp-mobile-tools a[href="/account/"] > span:last-child{
   display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;
   white-space:nowrap;
 }
}


/* 1PP company-only label legibility. Keep the original 108px cabinet slot,
 * SVG and header/menu/search geometry; borrow 9px from each of the 18px
 * action gaps solely for the caption text (not its clickable link). */
@media (min-width:768px){
 #onepp-site-header .header-actions > a.hact:nth-child(4).onepp-site-identity-company > small{
  box-sizing:border-box!important;
  width:126px!important;min-width:126px!important;max-width:126px!important;
  color:#142230!important;
  font:800 12px/1.2 Arial,Helvetica,sans-serif!important;
  letter-spacing:0!important;
 }
}


/* Owner correction 2026-11-19: NO shortened company names anywhere.
 * The full authenticated company_name sits in its OWN wrapped grid line
 * below the SAME icons. No element is clipped; existing icon slots,
 * search/header navigation/menu/footer markup are not reconstructed. */
#onepp-site-header .header-actions > a.hact:nth-child(4).onepp-site-identity-company > small{
  width:100%!important;min-width:0!important;max-width:108px!important;
  font:700 11px/1.25 Arial,Helvetica,sans-serif!important;
}
#onepp-site-header .header-inner > .onepp-site-company-fullname[hidden]{display:none!important}
#onepp-site-header .header-inner > .onepp-site-company-fullname{
  grid-column:4!important;grid-row:2!important;
  justify-self:stretch!important;align-self:start!important;
  display:block!important;box-sizing:border-box!important;
  min-width:0!important;max-width:100%!important;width:100%!important;
  margin:0!important;padding:3px 2px 5px!important;
  border:0!important;background:transparent!important;
  color:#172532!important;text-align:right!important;
  font:800 13px/1.42 Arial,Helvetica,sans-serif!important;
  white-space:normal!important;text-overflow:clip!important;
  overflow:visible!important;overflow-wrap:anywhere!important;word-break:normal!important;
  cursor:pointer!important;
}
#onepp-site-header .header-inner > .onepp-site-company-fullname:hover{
  color:#c62333!important;text-decoration:underline!important;text-underline-offset:2px;
}
#onepp-site-header .header-inner > .onepp-site-company-fullname:focus-visible{
  outline:2px solid #337eae!important;outline-offset:2px;
}
@media(max-width:1150px) and (min-width:768px){
  #onepp-site-header .header-inner > .onepp-site-company-fullname{
    grid-column:1/-1!important;grid-row:auto!important;text-align:right!important;
  }
}
@media(max-width:767px){
  #onepp-site-header .header-inner > .onepp-site-company-fullname{
    grid-column:1/-1!important;grid-row:4!important;
    text-align:center!important;padding:6px 4px 5px!important;
    border-top:1px solid #edf1f4!important;
    font:800 12.5px/1.4 Arial,Helvetica,sans-serif!important;
  }
}


/* 1PP corrected canonical company identity: full authentic company name
 * belongs to the SAME avatar label, not a second grid row below the icons.
 * Company-only: allow wrapping inside a centered 126px caption while leaving
 * the 108px clickable action slot and other 4 items in place.
 * Guest / person / nav / footer / cart UI are unmodified. */
#onepp-site-header .header-actions > a.hact:nth-child(4).onepp-site-identity-company{
  height:auto!important;min-height:54px!important;
  white-space:normal!important;
  justify-content:center!important;
}
#onepp-site-header .header-actions > a.hact:nth-child(4).onepp-site-identity-company > small{
  box-sizing:border-box!important;
  display:block!important;
  flex:0 0 auto!important;
  width:126px!important;min-width:126px!important;max-width:126px!important;
  padding:0 10px 0 0!important;
  font:800 12px/1.17 Arial,Helvetica,sans-serif!important;
  color:#142230!important;
  white-space:normal!important;
  overflow:visible!important;text-overflow:clip!important;
  overflow-wrap:anywhere!important;word-break:normal!important;
  text-align:center!important;
}
/* The existing 961–1100px tablet header has a strict 44px actions
 * height. Relax it ONLY while an actual long company caption is present,
 * so the text can grow normally instead of overflowing into mainnav. */
@media(min-width:768px) and (max-width:1150px){
  #onepp-site-header .header-actions:has(>a.hact:nth-child(4).onepp-site-identity-company){
    height:auto!important;min-height:44px!important;
    align-items:flex-start!important;
  }
}
@media(max-width:767px){
  #onepp-site-header .onepp-mobile-tools a[href="/account/"].onepp-site-identity-company{
    align-items:center!important;justify-content:flex-start!important;
    white-space:normal!important;min-height:40px!important;height:auto!important;
  }
  #onepp-site-header .onepp-mobile-tools a[href="/account/"].onepp-site-identity-company > span:last-child{
    display:block!important;
    width:100%!important;max-width:100%!important;
    padding:0 4px 0 0!important;
    white-space:normal!important;
    overflow:visible!important;text-overflow:clip!important;
    overflow-wrap:anywhere!important;word-break:normal!important;
    font:800 11px/1.15 Arial,Helvetica,sans-serif!important;
    color:#172532!important;text-align:center!important;
  }
}


/* Owner-approved cabinet layout refinement 2026-11-19.
   Company name ONLY: lighter, calmer typography. Same caption box, all
   original words, icon, navigation, search and adjacent actions untouched. */
#onepp-site-header .header-actions > a.hact:nth-child(4).onepp-site-identity-company > small{
  font:600 12px/1.17 Arial,Helvetica,sans-serif!important;
  letter-spacing:0!important;
  color:#354454!important;
}
@media(max-width:767px){
  #onepp-site-header .onepp-mobile-tools a[href="/account/"].onepp-site-identity-company > span:last-child{
    font:600 11px/1.15 Arial,Helvetica,sans-serif!important;
    letter-spacing:0!important;
    color:#354454!important;
  }
}
