.optcom-admin-shell .banner.TOP_HEADER{display:none!important}
.optcom-admin-promo{min-height:35px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:5px max(20px,calc((100% - 1340px)/2));background:#eaf5f9;color:#22617f;font-size:13px;font-weight:700}
.optcom-admin-promo a{color:#dc6d0c!important;text-decoration:none;font-size:12px;white-space:nowrap}
.optcom-admin-shell .header_wrap .logo-row{min-height:94px}
.optcom-admin-shell .header_wrap .logo-row .maxwidth-theme>.row{display:flex;align-items:center;gap:20px;margin:0;padding:12px 0}
.optcom-admin-shell .header_wrap .logo-row .logo-block{float:none!important;width:142px!important;min-width:142px;padding:0}
.optcom-admin-shell .header_wrap .logo-row .logo img{max-width:88px;max-height:73px;object-fit:contain}
.optcom-admin-shell .header_wrap .logo-row .search_wrap{float:none!important;flex:1 1 390px;width:auto!important;min-width:220px;padding:0;opacity:1!important;visibility:visible!important}
.optcom-admin-shell .header_wrap .logo-row .search{display:flex;align-items:stretch;height:42px;border:1px solid #dfe8ec;background:#f6fafb}
.optcom-admin-shell .header_wrap .logo-row .search-input-div{flex:1;min-width:0}
.optcom-admin-shell .header_wrap .logo-row .search-input{height:40px;border:0;background:transparent;padding:0 13px;font-size:13px}
.optcom-admin-shell .header_wrap .logo-row .btn-search{height:40px;width:42px;background:#f77a00!important;border:0;border-radius:4px;color:#fff!important}
.optcom-admin-shell .header_wrap .logo-row .btn-search .svg svg path{fill:#fff!important}
.optcom-admin-shell .header_wrap .logo-row .right-icons{float:none!important;display:flex;align-items:center;gap:12px;width:auto!important;white-space:nowrap}
.optcom-admin-shell .header_wrap .logo-row .right-icons>.pull-right{float:none!important}
.optcom-admin-shell .header_wrap .logo-row .optcom-admin-baskets-wrap{display:contents}
.optcom-admin-shell .header_wrap .logo-row .optcom-admin-phone-wrap{order:1;margin-right:8px}
.optcom-admin-shell .header_wrap .logo-row .optcom-admin-compare-wrap{order:2}
.optcom-admin-shell .header_wrap .logo-row .optcom-admin-delayed-wrap{order:3}
.optcom-admin-shell .header_wrap .logo-row .optcom-admin-account-wrap{order:4}
.optcom-admin-shell .header_wrap .logo-row .optcom-admin-cart-wrap{order:5}
.optcom-admin-shell .header_wrap .logo-row .right-icons .wrap_icon{width:auto!important;min-width:56px;float:none!important;text-align:center}
.optcom-admin-shell .header_wrap .logo-row .right-icons .wrap_icon .title{display:block!important;font-size:10px!important;line-height:1.1!important;margin-top:3px;white-space:nowrap}
.optcom-admin-shell .header_wrap .logo-row .right-icons .wrap_icon .prices{display:none!important}
.optcom-admin-shell .header_wrap .logo-row .right-icons .basket-link .count{font-size:10px}
.optcom-admin-shell .header_wrap .logo-row .optcom-admin-phone-wrap .phone-block__item-link{font-size:13px;font-weight:700}
.optcom-admin-shell .header_wrap .logo-row .optcom-admin-phone-wrap .phone-block__callback{font-size:11px}
.optcom-admin-shell .header_wrap .logo-row .right-icons .personal-link .name{display:none!important}
.optcom-admin-shell .header_wrap .logo-row .right-icons .personal-link .title{display:block!important}
.optcom-admin-shell .header_wrap .logo-row .right-icons .svg{margin:0!important}
.optcom-admin-mobile-row{display:none}
@media(max-width:991px){
 .optcom-admin-promo{min-height:36px;justify-content:center;padding:6px 12px;text-align:center;font-size:12px}
 .optcom-admin-promo>span{display:none}
 .optcom-admin-promo a{font-size:12px;color:#17698c!important}
 .optcom-admin-shell #mobileheader{background:#fff;border-bottom:1px solid #e3eaed}
 .optcom-admin-shell #mobileheader .mobileheader-v1{display:flex;align-items:center;gap:8px;min-height:78px;padding:7px 12px}
 .optcom-admin-shell #mobileheader .burger{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
 .optcom-admin-shell #mobileheader .logo-block{float:none!important;flex:0 0 65px;width:65px!important;margin:0!important}
 .optcom-admin-shell #mobileheader .logo-block img{width:62px;max-height:64px;object-fit:contain}
 .optcom-admin-logo-descriptor{flex:1;min-width:0;font-size:11px;font-weight:700;line-height:1.18;color:#5d8292}
 .optcom-admin-shell #mobileheader .right-icons{float:none!important;display:flex;align-items:center;gap:13px;margin-left:auto}
 .optcom-admin-shell #mobileheader .right-icons>.pull-right{float:none!important;margin:0!important}
 .optcom-admin-shell #mobileheader .right-icons .basket-link.compare,.optcom-admin-shell #mobileheader .right-icons .basket-link.delay,.optcom-admin-shell #mobileheader .right-icons .personal-link{display:none!important}
 .optcom-admin-shell #mobileheader .optcom-admin-mobile-phone{order:1}
 .optcom-admin-shell #mobileheader .optcom-admin-mobile-cart{order:2}
 .optcom-admin-shell #mobileheader .optcom-admin-mobile-search{order:3}
 .optcom-admin-shell #mobileheader .right-icons .wrap_icon{margin:0!important}
 .optcom-admin-shell #mobileheader .right-icons .svg{margin:0!important}
 .optcom-admin-mobile-row{display:flex;align-items:center;gap:7px;padding:10px 12px 12px;background:#fff}
 .optcom-admin-mobile-row button,.optcom-admin-mobile-row a{height:43px;border-radius:9px}
 .optcom-admin-menu-button{flex:0 0 43px;border:1px solid #dbe7ec;background:#fff;color:#176d90;display:grid;place-items:center}
 .optcom-admin-menu-button svg{width:23px;height:23px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round}
 .optcom-admin-catalog-button{display:grid;place-items:center;flex:0 0 88px;background:#ff7900;color:#fff!important;font-weight:700;text-decoration:none}
 .optcom-admin-mobile-row form{height:43px;min-width:0;flex:1;display:flex;border:1px solid #dbe7ec;border-radius:9px;background:#f6fafb}
 .optcom-admin-mobile-row input{min-width:0;width:100%;border:0;background:transparent;padding:0 10px;font-size:12px;outline:0}
 .optcom-admin-mobile-row form button{flex:0 0 40px;border:0;background:transparent;color:#176d90;display:grid;place-items:center}
 .optcom-admin-mobile-row form svg{width:21px;height:21px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round}
 .optcom-admin-shell .optcom-home-mobile-tools{display:none!important}
}
@media(max-width:360px){.optcom-admin-shell #mobileheader .right-icons{gap:9px}.optcom-admin-logo-descriptor{font-size:10px}.optcom-admin-catalog-button{flex-basis:78px}.optcom-admin-mobile-row{gap:5px;padding-left:8px;padding-right:8px}}
@media(min-width:992px){
 .optcom-admin-shell .header_wrap .logo-row,.optcom-admin-shell .header_wrap .logo-row .maxwidth-theme>.row{height:84px!important;min-height:84px!important}
 .optcom-admin-shell .header_wrap .logo-row .maxwidth-theme>.row{gap:16px;padding:7px 0!important}
 .optcom-admin-shell .header_wrap .logo-row .logo-block,.optcom-admin-shell .header_wrap .logo-row .logo{height:70px!important;display:flex;align-items:center}
 .optcom-admin-shell .header_wrap .logo-row .logo-block{width:112px!important;min-width:112px!important}
 .optcom-admin-shell .header_wrap .logo-row .logo img{max-width:68px!important;max-height:68px!important}
 .optcom-admin-shell .header_wrap .logo-row .search_wrap,.optcom-admin-shell .header_wrap .logo-row .right-icons,.optcom-admin-shell .header_wrap .logo-row .right-icons>.pull-right,.optcom-admin-shell .header_wrap .logo-row .right-icons .wrap_icon{height:auto!important;min-height:0!important}
 .optcom-admin-shell .header_wrap .logo-row .search_wrap{flex:1 1 500px!important}
 .optcom-admin-shell .header_wrap .logo-row .search-block,.optcom-admin-shell .header_wrap .logo-row .search-wrapper{height:auto!important;min-height:0!important;display:block!important}
 .optcom-admin-shell .header_wrap .logo-row .right-icons{gap:10px!important;align-self:center!important}
 .optcom-admin-shell .header_wrap .logo-row .right-icons .wrap_icon{min-width:60px!important;padding:0!important}
 .optcom-admin-shell .header_wrap .logo-row .right-icons .wrap_icon .title{font-size:10px!important}
 .optcom-admin-shell .header_wrap .logo-row .optcom-admin-phone-wrap{min-width:155px!important;margin:0!important}
 .optcom-admin-shell .header_wrap .logo-row .optcom-admin-phone-wrap .phone-block__item-link{color:#233745!important;font-size:13px!important}
 .optcom-admin-shell .header_wrap .logo-row .optcom-admin-phone-wrap .phone-block__callback{color:#df6d00!important}
}
@media(max-width:991px){
 .optcom-admin-shell #mobileheader .mobileheader-v1{min-height:83px!important}
 .optcom-admin-shell #mobileheader .logo-block{flex-basis:72px!important;width:72px!important}
 .optcom-admin-shell #mobileheader .logo-block img{width:70px!important;max-height:72px!important}
 .optcom-admin-logo-descriptor{font-size:12px!important;max-width:115px}
}
@media(max-width:991px){
 .optcom-admin-shell #mobileheader .optcom-admin-mobile-search{display:none!important}
 .optcom-admin-shell #mobileheader .optcom-admin-mobile-phone{order:1}
 .optcom-admin-mobile-account{order:2;display:grid;place-items:center;width:25px;height:30px;color:#176d90!important}
 .optcom-admin-mobile-account svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
 .optcom-admin-shell #mobileheader .optcom-admin-mobile-cart{order:3}
 .optcom-admin-shell #mobileheader .right-icons{gap:12px!important}
 .optcom-admin-shell #mobileheader{height:83px!important;min-height:83px!important;overflow:visible!important}
}
.optcom-admin-shell #headerfixed .logo img{max-width:68px!important;max-height:65px!important;object-fit:contain}
@media(max-width:360px){
 .optcom-admin-logo-descriptor{font-size:9px!important;max-width:68px!important;overflow-wrap:anywhere!important}
 .optcom-admin-shell #mobileheader .right-icons{gap:8px!important}
 .optcom-admin-shell #mobileheader .logo-block{flex-basis:65px!important;width:65px!important}
 .optcom-admin-shell #mobileheader .logo-block img{width:62px!important;max-height:66px!important}
}
/* Align native Bitrix actions with the approved header, retaining their links and menus. */
body.optcom-admin-shell .phone-block__item-link small{opacity:1!important}
body.optcom-admin-shell .header_wrap .logo-row .search{border-radius:8px;border-color:#e2eaee;background:#f6f9fa}
body.optcom-admin-shell .header_wrap .logo-row .btn-search{border-radius:6px}
@media(min-width:992px){
 body.optcom-admin-shell .header_wrap .logo-row .logo-block{width:90px!important;min-width:90px!important}
 body.optcom-admin-shell .header_wrap .logo-row .right-icons{gap:10px!important;flex:0 0 auto!important}
 body.optcom-admin-shell .header_wrap .logo-row .right-icons .wrap_icon{padding:0!important;min-width:60px!important;width:60px!important}
 body.optcom-admin-shell .header_wrap .logo-row .right-icons .optcom-admin-phone-wrap{width:150px!important;min-width:150px!important;margin-right:5px!important}
 body.optcom-admin-shell .header_wrap .logo-row .right-icons .optcom-admin-phone-wrap .wrap_icon{width:150px!important}
 body.optcom-admin-shell .header_wrap .logo-row .right-icons .optcom-admin-account-wrap{width:64px!important}
 body.optcom-admin-shell .header_wrap .logo-row .right-icons .basket-link,
 body.optcom-admin-shell .header_wrap .logo-row .right-icons .personal-link{display:flex!important;flex-direction:column;align-items:center;justify-content:center;width:60px!important;min-height:46px!important;height:auto!important;padding:0!important;margin:0!important;line-height:1.2!important;text-align:center}
 body.optcom-admin-shell .header_wrap .logo-row .right-icons .basket-link .js-basket-block{position:relative;display:flex!important;flex-direction:column;align-items:center;gap:5px;min-height:40px}
 body.optcom-admin-shell .header_wrap .logo-row .right-icons .personal-link>.wrap,
 body.optcom-admin-shell .header_wrap .logo-row .right-icons .basket-link .wrap{display:block!important;margin:0!important;padding:0!important;width:auto!important}
 body.optcom-admin-shell .header_wrap .logo-row .right-icons .personal-link .title,
 body.optcom-admin-shell .header_wrap .logo-row .right-icons .basket-link .title{margin:0!important;color:#657782!important;font-size:10px!important;font-weight:400!important;line-height:1.2!important}
 body.optcom-admin-shell .header_wrap .logo-row .right-icons .personal-link>.svg{margin-bottom:5px!important}
 body.optcom-admin-shell .header_wrap .logo-row .right-icons .svg{display:block!important;opacity:1!important;float:none!important;position:static!important}
 body.optcom-admin-shell .header_wrap .logo-row .right-icons .basket-link.basket .title{color:#df7000!important}
 body.optcom-admin-shell .header_wrap .logo-row .right-icons .basket-link.basket svg path{fill:#df7000!important}
 body.optcom-admin-shell .header_wrap .logo-row .right-icons .count{position:absolute!important;top:-6px!important;right:11px!important;width:15px!important;min-width:15px!important;height:15px!important;margin:0!important;padding:0!important;background:#ff7800!important;border-radius:50%;color:#fff!important;font-size:9px!important;line-height:15px!important}
 body.optcom-admin-shell .header_wrap .logo-row .right-icons .title .count,
 body.optcom-admin-shell .header_wrap .logo-row .right-icons .optcom-empty-count{display:none!important}
 body.optcom-admin-shell .header_wrap .logo-row .right-icons .personal-link:after{display:none!important}
 body.optcom-admin-shell .header_wrap .menu-row .mega-menu table,
 body.optcom-admin-shell .header_wrap .menu-row .mega-menu table .wrap,
 body.optcom-admin-shell .header_wrap .menu-row .mega-menu table .wrap>a{height:46px!important;min-height:46px!important}
 body.optcom-admin-shell .header_wrap .menu-row .mega-menu table .wrap>a{padding-top:13px!important;padding-bottom:13px!important;font-size:13px!important;line-height:20px!important}
 body.optcom-admin-shell .header_wrap .menu-row .mega-menu,
 body.optcom-admin-shell .header_wrap .menu-row .menu-only{height:46px!important;min-height:46px!important}
 body.optcom-admin-shell .header_wrap .logo-row .btn-search .svg-search{position:relative!important;display:block;width:20px;height:20px;background:none!important}
 body.optcom-admin-shell .header_wrap .logo-row .btn-search .svg-search:before{content:'';position:absolute;left:1px;top:1px;width:11px;height:11px;border:1.7px solid #fff;border-radius:50%}
 body.optcom-admin-shell .header_wrap .logo-row .btn-search .svg-search:after{content:'';position:absolute;left:13px;top:13px;width:7px;height:1.7px;background:#fff;transform:rotate(45deg);transform-origin:left center}
}
