/* Shared contract for both legacy and current public templates. */
.site-footer{display:block!important;background:#eef3f8!important;color:#344456!important;border-top:1px solid #d4deea!important;padding:0!important}
.site-footer .footer-inner{display:block!important;width:min(1280px,calc(100% - 32px))!important;margin-inline:auto!important;padding:32px 0!important;min-width:0}
.site-footer .footer-inner>*+*{margin-top:24px}
.site-footer>.footer-bottom{width:min(1280px,calc(100% - 32px))!important;margin-inline:auto!important;padding:16px 0!important}
.site-footer .footer-inner>.footer-brand{display:flex!important;align-items:center!important;gap:24px!important;width:100%!important;margin-inline:0!important}
.site-footer :is(.footer-nav,.footer-top,.footer-col,.footer-policy,.footer-bottom,.footer-ecosystem,.footer-ecosystem-links,.company-info){min-width:0;max-width:100%;box-sizing:border-box}
.site-footer :is(a,p,.req-line,.footer-contact,.footer-bottom,.footer-badge){color:#344456!important;overflow-wrap:anywhere}
.site-footer :is(h3,.footer-heading){color:#24354a!important;letter-spacing:0!important;line-height:1.4}
.site-footer :is(a:hover,a:focus-visible){color:#174a85!important}
.site-footer :is(.footer-brand-logo,.competence-logo-img){filter:brightness(0) saturate(100%)!important;opacity:.85!important;max-width:100%!important;width:180px!important;height:auto!important;max-height:50px!important;object-fit:contain!important}
.site-footer .footer-brand{min-width:0;max-width:100%;flex-wrap:wrap}
.site-footer .footer-nav{display:grid!important;width:100%!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:24px!important}
.site-footer .footer-nav>div{min-width:0}
.site-footer :is(.footer-nav a,.footer-col a,.footer-policy a){line-height:1.5!important}
.site-footer .footer-ecosystem-links a{background:#fff!important;border-color:#cbd8e8!important}
.site-footer .footer-badge{background:#fff!important;border-color:#cbd8e8!important}
.article-product-grid{min-width:0;max-width:100%}
.article-product-card{min-width:0;max-width:100%;box-sizing:border-box}
.article-product-card>span,.article-product-card-rich>span{display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;height:172px!important;min-height:0!important;padding:12px!important;min-width:0;overflow:hidden!important}
.article-product-card>span img,.article-product-card-rich>span img{flex:0 1 auto!important;display:block!important;width:100%!important;height:148px!important;max-width:100%!important;max-height:148px!important;object-fit:contain!important;object-position:center!important}
.article-product-card :is(b,small,em,p){min-width:0;overflow-wrap:anywhere}
.gallery-main{position:relative!important;overflow:hidden!important}
.product-gallery .gallery-main img,.gallery-main img{position:absolute!important;inset:0!important;margin:auto!important;width:92%!important;height:92%!important;max-width:92%!important;max-height:92%!important;object-fit:contain!important;object-position:center!important}
.product-image,.catalog-card-media{position:relative!important;overflow:hidden!important}
.product-image img,.catalog-card-media img{position:absolute!important;inset:0!important;margin:auto!important;width:86%!important;height:86%!important;max-width:86%!important;max-height:86%!important;object-fit:contain!important;object-position:center!important}
.product-key-spec,.product-key-spec>*{min-width:0!important;max-width:100%;overflow-wrap:anywhere!important}
.product-card-specs,.product-card-specs>span,.product-card-specs :is(b,em){min-width:0!important;max-width:100%;overflow-wrap:anywhere!important;white-space:normal!important}
.requisites-table{table-layout:fixed!important;width:100%!important;max-width:100%!important}
.requisites-table :is(th,td){min-width:0;overflow-wrap:anywhere!important;white-space:normal!important}
.media-lightbox .media-lightbox-title{color:#24354a!important;overflow-wrap:anywhere;line-height:1.35!important}
.media-lightbox{z-index:180!important}
@media(max-width:760px){
 .product-hero .actions.product-action-bar{display:grid!important;grid-template-columns:minmax(0,1fr) 44px 44px!important;gap:8px!important;min-width:0!important;width:100%!important}
 .product-hero .actions.product-action-bar>.btn:first-child{grid-column:1/-1!important;grid-row:1!important}
 .product-hero .actions.product-action-bar .product-cart-slot{grid-column:1!important;grid-row:2!important;display:block!important;min-width:0!important;width:100%!important}
 .product-hero .actions.product-action-bar .product-cart-action{min-width:0!important;width:100%!important;max-width:100%!important;white-space:normal!important}
 .product-hero .actions.product-action-bar>[data-action=compare]{grid-column:2!important;grid-row:2!important}
 .product-hero .actions.product-action-bar>[data-action=favorite]{grid-column:3!important;grid-row:2!important}
}
@media(min-width:701px){
 .media-lightbox .media-lightbox-shell{display:grid!important;grid-template-rows:auto minmax(0,1fr)!important;gap:8px!important;height:calc(100dvh - 24px)!important}
 .media-lightbox .media-lightbox-top{position:relative!important;inset:auto!important;padding:8px!important;max-height:30dvh!important;overflow:auto!important}
 .media-lightbox .media-lightbox-view{height:100%!important;min-height:0!important;position:relative!important}
 .media-lightbox .media-lightbox-stage{height:100%!important;box-sizing:border-box!important;padding:8px 52px 42px!important;position:relative!important}
 .media-lightbox .media-lightbox-stage img{position:absolute!important;inset:8px 52px 48px!important;width:calc(100% - 104px)!important;height:calc(100% - 56px)!important;max-height:calc(100% - 56px)!important;max-width:calc(100% - 104px)!important;object-fit:contain!important;margin:0!important}
 .media-lightbox .media-lightbox-stage figcaption{bottom:4px!important;max-height:34px!important;overflow:auto!important}
}
@media(min-width:701px) and (max-height:500px){.media-lightbox .media-lightbox-title{font-size:14px!important}.media-lightbox .media-lightbox-kicker{display:none!important}}
@media(max-width:700px){.media-lightbox .media-lightbox-top{max-height:min(35dvh,160px)!important;overflow:auto!important}.media-lightbox .media-lightbox-title{font-size:16px!important}.media-lightbox .media-lightbox-stage{padding-top:min(35dvh,168px)!important}}
@media(max-width:800px){
 .site-header .header-top{grid-template-columns:minmax(0,1fr) auto!important}
 .site-header .brand{display:block!important;min-width:0!important;width:100%!important;max-width:100%!important;overflow:visible!important}
 .site-header .brand-logo{min-width:0!important;width:min(158px,100%)!important;max-width:100%!important;height:auto!important;object-fit:contain!important}
 .site-header .header-actions{min-width:0!important;max-width:none!important}
 .site-header .header-actions .header-icon{flex:0 0 36px!important;width:36px!important;min-width:36px!important}
 body:has(.facet-panel.is-open) .mobile-bottom-nav,body:has([data-order-form] :is(input,textarea,select):focus) .mobile-bottom-nav{visibility:hidden!important;opacity:0!important;pointer-events:none!important;transition:none!important}
 .facet-panel.is-open{scroll-margin-top:120px;padding-bottom:16px!important}
 .facet-panel .filter-results-button{position:sticky!important;bottom:8px!important;z-index:3;min-height:44px!important}
 .catalog-dropdown-menu{max-height:calc(100dvh - 200px)!important;overscroll-behavior:contain}
 .quote-checkout .cart-qty{grid-template-columns:44px 56px 44px!important}
 .quote-checkout .cart-qty>*,.quote-checkout .cart-remove{min-height:44px!important;height:44px!important}
 .quote-fields input[type=checkbox]{width:22px!important;height:22px!important}
 .quote-fields .agreement{grid-template-columns:24px minmax(0,1fr)!important;min-height:44px}
}
@media(max-width:900px){.site-footer .footer-nav{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:600px){.site-footer .footer-inner{padding:24px 0 96px!important}.site-footer .footer-nav{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px 16px!important}.site-footer .footer-nav>div:last-child{grid-column:1/-1}.site-footer .footer-contacts{min-width:0;max-width:100%;flex-wrap:wrap}.site-footer .footer-contacts a{font-size:14px!important}.article-product-card>span,.article-product-card-rich>span{height:126px!important;padding:10px!important}.article-product-card>span img,.article-product-card-rich>span img{height:106px!important;max-height:106px!important}}
