/* VMZ Industrial v0.4.7 — LOCKED SCOPE: Header / Mega menu only.
   All Home, Hero, WooCommerce and RFQ styling remains unchanged. */
:root{--vmz047-orange:#f26527;--vmz047-ink:#19232d}
header.vmz047-header.vmz043-header.vmz-header.vmz04-header{width:min(calc(100% - 62px),1360px);margin:20px auto 4px;top:10px;border-radius:20px;box-shadow:0 12px 32px rgba(26,39,57,.11)}
.vmz047-header .vmz043-header__inner{min-height:76px;padding:11px 18px;gap:14px}
.vmz047-header .vmz047-identity{gap:12px;white-space:nowrap}
.vmz047-header .vmz047-identity__mark{width:51px;height:51px;flex:0 0 51px;display:grid;place-items:center;border-radius:11px;background:#ff641b!important;box-shadow:none!important;color:#fff}
.vmz047-header .vmz047-identity__mark svg{width:38px;height:38px;stroke:#fff;stroke-width:2.3}
.vmz047-header .vmz043-identity__word{font-size:38px;font-weight:900;letter-spacing:-.075em;color:#111923}
.vmz047-header .vmz047-header__tagline{font-size:10.5px!important;font-weight:850;line-height:1.16;letter-spacing:-.017em;max-width:192px;flex:0 1 192px;color:#1b2733;border-left:1px solid #b8c0c9;margin-left:5px;padding-left:19px;text-transform:uppercase}
.vmz047-header .vmz047-nav{margin-left:auto}
.vmz047-header .vmz047-nav .vmz-nav__list{gap:clamp(5px,1.1vw,19px)!important;align-items:center}
.vmz047-header .vmz047-nav .vmz-nav__list a,.vmz047-header .vmz047-nav .vmz-nav__list button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 9px!important;font-size:12px!important;font-weight:800;white-space:nowrap;line-height:1.1;border-radius:100px}
.vmz047-header .vmz047-nav .vmz-nav__list button.vmz047-catalog-toggle{padding:11px 16px!important;background:#fff1e9;color:#ee6327;border:0}
.vmz047-header .vmz047-nav .vmz-nav__list button.vmz047-catalog-toggle:hover,.vmz047-header .vmz047-nav .vmz-nav__list button.vmz047-catalog-toggle[aria-expanded=true]{background:#ffe7d7;color:#e95b22}
.vmz047-chevron{width:7px;height:7px;border-right:1.9px solid currentColor;border-bottom:1.9px solid currentColor;transform:rotate(45deg) translateY(-2px);display:inline-block;margin-left:1px}
.vmz047-header .vmz047-header__actions{gap:12px;margin-left:0;padding-left:13px;border-left:0;align-items:center}
.vmz047-header .vmz047-search-button{flex:0 0 43px;width:43px;height:43px;background:#fff;border-color:#e8edf2;box-shadow:0 3px 11px #1024320c}
.vmz047-header .vmz047-cart{display:inline-flex;align-items:center;justify-content:center;width:auto;max-width:none;min-height:42px;height:42px;flex:0 0 auto;gap:7px;padding:7px 8px 7px 13px;background:#fff;color:#1c2835;border-color:#e9edf2;border-radius:999px;white-space:nowrap}
.vmz047-header .vmz047-cart svg{color:#f26429;width:19px;height:19px;flex:0 0 19px}
.vmz047-cart__label{font-size:11.7px;line-height:1;font-weight:800}
.vmz047-header .vmz043-cart__count{position:static;width:20px;height:20px;min-width:20px;font-size:11px;background:#141d27;color:#fff;padding:0;box-shadow:none}
.vmz047-header .vmz043-icon-button--phone{width:43px;height:43px;flex:0 0 43px;background:#fff;color:#f06324;border:1.5px solid #f06324}
.vmz047-header .vmz043-icon-button--phone:hover{background:#fff0e7}
/* Mega: a single white drop-down, its own navigation, direct product cards. */
.vmz047-header .vmz047-mega{position:absolute;top:calc(100% + 2px);left:0;right:0;width:100%;min-height:560px;max-height:min(76vh,690px);background:#fff;border-radius:0 0 21px 21px;border:1px solid #e8edf2;box-shadow:0 24px 52px rgba(27,39,57,.16);overflow:hidden;display:block;z-index:151}
.vmz047-header .vmz047-mega[hidden]{display:none!important}
.vmz047-header .vmz047-mega__layout{height:100%;max-height:min(76vh,690px);display:grid;grid-template-columns:minmax(260px,305px) minmax(0,1fr);overflow:hidden}
.vmz047-header .vmz047-mega__groups{display:flex;flex-direction:column;gap:8px;padding:23px 15px 24px 15px;border-right:1px solid #e8ebef;overflow-y:auto;overflow-x:hidden;min-width:0;background:linear-gradient(90deg,#fff 90%,#fbfcfd)}
.vmz047-header .vmz047-mega__group{border:1px solid transparent;border-radius:15px;background:#fff;display:flex;align-items:center;justify-content:initial;gap:16px;width:100%;min-height:67px;padding:12px 14px;text-align:left;color:#162331;cursor:pointer}
.vmz047-header .vmz047-mega__group:hover,.vmz047-header .vmz047-mega__group.is-active{background:#fff8f3;color:#f16626;border-color:#ff9d65}
.vmz047-mega__group-icon{flex:0 0 39px;display:grid;place-items:center;color:#253544}
.vmz047-header .vmz047-mega__group.is-active .vmz047-mega__group-icon,.vmz047-header .vmz047-mega__group:hover .vmz047-mega__group-icon{color:#f16626}
.vmz047-header .vmz047-mega__group-name{font-size:14px;font-weight:830;line-height:1.23;letter-spacing:-.015em;flex:1 1 auto;min-width:0;color:inherit}
.vmz047-header .vmz047-mega__group-arrow{margin-left:auto;color:#98a2ac;font-size:19px;font-weight:400}
.vmz047-header .vmz047-mega__group.is-active .vmz047-mega__group-arrow{color:#ec5f22}
.vmz047-header .vmz047-mega__content{padding:28px 20px 26px 28px;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin}
.vmz047-header .vmz047-mega__category[hidden]{display:none!important}
.vmz047-mega__heading{display:flex;align-items:center;gap:24px;margin:4px 10px 24px 2px;min-height:42px;position:relative;padding-right:40px}
.vmz047-mega__heading:before{content:'';width:6px;height:32px;flex:0 0 6px;background:#f26425;transform:skewX(-19deg);margin-right:-4px}
.vmz047-mega__heading h2{font-size:clamp(22px,2.35vw,33px);font-weight:900;letter-spacing:-.047em;line-height:1.06;margin:0;color:#17232f}
.vmz047-mega__eyebrow{border-left:1px solid #bac3ce;padding-left:21px;color:#6f5c51;font-size:12px;font-weight:760;white-space:nowrap}
.vmz047-mega__eyebrow:before{content:'';display:none}
.vmz047-mega__see-all{margin-left:auto;color:#ef6327;font-weight:770;font-size:11px;white-space:nowrap}
.vmz047-header .vmz047-mega__cards{display:grid;grid-template-columns:repeat(20,minmax(0,1fr));gap:12px;grid-auto-flow:row;grid-auto-rows:228px}
.vmz047-header .vmz047-mega__card{grid-column:span 5;min-height:0;min-width:0;display:flex;flex-direction:column;gap:3px;padding:10px 11px 13px;overflow:hidden;background:#fff;border:1px solid #e7ebf0;border-radius:17px;box-shadow:0 4px 17px #1c31470a;color:#1f2c39;transition:box-shadow .16s,transform .16s,border-color .16s}
.vmz047-header .vmz047-mega__card:nth-child(n+5){grid-column:span 4}
.vmz047-header .vmz047-mega__card:hover{transform:translateY(-3px);box-shadow:0 12px 27px rgba(31,45,61,.12);border-color:#ffb589}
.vmz047-header .vmz047-mega__photo{height:143px!important;width:100%;border-radius:12px;background:#fcfcfd;overflow:hidden;display:flex;align-items:center;justify-content:center}
.vmz047-header .vmz047-mega__photo img{display:block;width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.vmz047-mega__photo-empty{display:grid;place-items:center;width:100%;height:100%;background:linear-gradient(145deg,#fbfcfd,#f1f4f8);color:#9ca8b4}
.vmz047-mega__photo-empty svg{width:72px;height:72px;stroke-width:.9}
.vmz047-header .vmz047-mega__card strong{font-size:13px;line-height:1.2;letter-spacing:-.014em;font-weight:850;color:#202b36;min-height:17px;padding-right:0;overflow-wrap:break-word}
.vmz047-header .vmz047-mega__card small{font-size:11px;color:#687481;line-height:1.26;margin-top:3px;padding:0 15px 0 0}
.vmz047-header .vmz047-mega__card .vmz046-mega__item-arrow{display:grid;place-items:center;width:29px;height:29px;right:9px;bottom:8px;border:1px solid #ffe6d6;border-radius:50%;background:#fffaf6;color:#f16828;font-size:17px}
.vmz047-mega__cta{grid-column:span 4;position:relative;isolation:isolate;border-radius:16px;background:#222d38;color:#fff;overflow:hidden;padding:20px 17px;display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.vmz047-mega__cta-decoration{position:absolute;right:-25px;bottom:10px;color:rgba(255,255,255,.09);transform:rotate(-20deg);pointer-events:none}
.vmz047-mega__cta-decoration svg{width:160px;height:160px;stroke-width:1.1}
.vmz047-mega__cta h3{font-size:21px;letter-spacing:-.04em;line-height:1.12;color:#fff;margin:0;font-weight:900;max-width:220px;z-index:1}
.vmz047-mega__cta h3:before{content:'/';color:#ff7330;margin-right:6px;font-weight:900}
.vmz047-mega__cta p{font-size:11.5px;line-height:1.45;color:#d0d9e2;margin:0 0 auto;z-index:1}
.vmz047-mega__cta a,.vmz047-mega__custom-panel a{display:flex;align-items:center;gap:8px;justify-content:center;min-height:39px;padding:9px 12px;border-radius:100px;background:#fb681f;color:white!important;font-size:11.5px;font-weight:830;white-space:nowrap;z-index:2;max-width:100%}
.vmz047-mega__cta a:hover,.vmz047-mega__custom-panel a:hover{background:#da4f13}
.vmz047-mega__close{position:absolute;top:14px;right:18px;z-index:6;display:grid;place-items:center;background:#f5f7f9;border:1px solid #e4e9ee;color:#435364;border-radius:50%;width:33px;height:33px;font-size:24px;line-height:1;cursor:pointer}
.vmz047-mega__custom-panel{min-height:280px;border-radius:18px;background:#202c38;color:#fff;padding:36px;display:flex;flex-direction:column;justify-content:center;align-items:start;position:relative;overflow:hidden}
.vmz047-mega__custom-panel h3{font-size:28px;line-height:1.1;letter-spacing:-.04em;margin:17px 0 10px;color:#fff}
.vmz047-mega__custom-panel p{max-width:530px;color:#c5ced9;font-size:14px;line-height:1.5;margin:0 0 23px}
.vmz047-mega__technical-mark{color:#f16525;display:block}
.vmz047-mega__custom-panel a{min-height:43px;padding:12px 18px}
/* Compact navigation in laptop widths, without cropping header controls. */
@media(max-width:1380px){
 .vmz047-header .vmz043-header__inner{gap:9px;padding:9px 14px}
 .vmz047-header .vmz047-header__tagline{font-size:9.5px!important;max-width:178px;flex-basis:178px;padding-left:13px}
 .vmz047-header .vmz047-nav .vmz-nav__list{gap:4px!important}
 .vmz047-header .vmz047-nav .vmz-nav__list a,.vmz047-header .vmz047-nav .vmz-nav__list button{font-size:11.5px!important;padding:9px 6px!important}
 .vmz047-header .vmz047-header__actions{gap:7px;padding-left:7px}
 .vmz047-header .vmz047-mega__cards{gap:9px}
 .vmz047-header .vmz047-mega__content{padding:22px 16px 20px 20px}
}
@media(max-width:1170px){
 .vmz047-header .vmz043-menu-toggle{display:flex}
 .vmz047-header .vmz047-nav{display:none;position:absolute;top:calc(100% + 12px);left:0;right:0;background:#fff;z-index:155;border-radius:18px;box-shadow:0 18px 45px #1a2d4326;padding:14px 18px}
 .vmz047-header .vmz047-nav.is-open{display:block}
 .vmz047-header .vmz047-nav .vmz-nav__list{display:grid;justify-content:stretch;gap:3px!important}
 .vmz047-header .vmz047-nav .vmz-nav__list a,.vmz047-header .vmz047-nav .vmz-nav__list button{width:100%;justify-content:space-between;padding:14px 12px!important;font-size:15px!important}
 .vmz047-header .vmz047-nav .vmz-nav__list button.vmz047-catalog-toggle{padding:14px 15px!important}
 .vmz047-header .vmz047-mega__cards{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:210px}
 .vmz047-header .vmz047-mega__card,.vmz047-header .vmz047-mega__card:nth-child(n+5){grid-column:auto}
 .vmz047-mega__cta{grid-column:auto}
 .vmz047-header .vmz047-mega__layout{grid-template-columns:220px minmax(0,1fr)}
 .vmz047-header .vmz047-mega__groups{padding:14px 10px;gap:5px}
 .vmz047-header .vmz047-mega__group{min-height:62px;padding:10px 11px;gap:9px}
 .vmz047-header .vmz047-mega__group-name{font-size:12px}
 .vmz047-mega__group-icon{flex-basis:32px}
 .vmz047-mega__group-icon svg{width:30px;height:30px}
 .vmz047-header .vmz047-mega__photo{height:115px!important}
 .vmz047-mega__heading h2{font-size:24px}
}
@media(max-width:800px){
 .vmz047-header .vmz047-header__tagline{font-size:8.8px!important;max-width:175px;flex-basis:175px}
 .vmz047-header .vmz047-cart{width:44px;min-width:44px;padding:6px;gap:0}
 .vmz047-header .vmz047-cart svg{width:20px;height:20px}
 .vmz047-cart__label{display:none}
 .vmz047-header .vmz043-cart__count{position:absolute;top:-5px;right:-4px}
 .vmz047-header .vmz047-mega{max-height:min(83dvh,900px);border-radius:0 0 18px 18px;min-height:0}
 .vmz047-header .vmz047-mega__layout{max-height:min(83dvh,900px);display:flex;flex-direction:column;overflow-y:auto}
 .vmz047-header .vmz047-mega__groups{display:flex;flex-direction:row;flex:0 0 auto;gap:9px;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;padding:13px 15px;border-right:0;border-bottom:1px solid #ecf0f4}
 .vmz047-header .vmz047-mega__group{flex:0 0 190px;width:190px;min-height:62px;padding:9px 11px}
 .vmz047-header .vmz047-mega__content{padding:15px 16px 20px;overflow:visible}
 .vmz047-header .vmz047-mega__cards{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:207px;gap:9px}
 .vmz047-header .vmz047-mega__photo{height:122px!important}
 .vmz047-header .vmz047-mega__category-head{padding-bottom:10px}
 .vmz047-mega__heading{gap:10px;margin:2px 15px 16px 0;padding-right:25px}
 .vmz047-mega__eyebrow{display:none}
 .vmz047-mega__see-all{font-size:11px}
 .vmz047-mega__close{right:9px;top:8px;width:29px;height:29px}
 .vmz047-mega__cta{padding:17px 12px}
 .vmz047-mega__cta h3{font-size:18px}
}
@media(max-width:620px){
 header.vmz047-header.vmz043-header.vmz-header.vmz04-header{width:calc(100% - 20px);margin:11px auto 8px;top:6px;border-radius:17px}
 .vmz047-header .vmz043-header__inner{min-height:64px;padding:9px 10px;gap:6px}
 .vmz047-header .vmz047-identity{gap:7px}
 .vmz047-header .vmz047-identity__mark{width:40px;height:40px;flex-basis:40px;border-radius:9px}
 .vmz047-header .vmz047-identity__mark svg{width:29px;height:29px}
 .vmz047-header .vmz043-identity__word{font-size:27px}
 .vmz047-header .vmz047-header__tagline{display:none}
 .vmz047-header .vmz047-header__actions{margin-left:auto;padding:0;border:0;gap:5px}
 .vmz047-header .vmz047-search-button,.vmz047-header .vmz043-icon-button--phone,.vmz047-header .vmz047-cart{width:34px;min-width:34px;height:34px;flex-basis:34px;padding:6px}
 .vmz047-header .vmz047-search-button svg,.vmz047-header .vmz043-icon-button--phone svg{width:18px;height:18px}
 .vmz047-header .vmz043-menu-toggle{width:34px;height:34px;padding:6px}
 .vmz047-header .vmz047-mega__group{flex-basis:176px;width:176px}
 .vmz047-header .vmz047-mega__content{padding:12px 11px 17px}
 .vmz047-header .vmz047-mega__cards{grid-auto-rows:195px;gap:7px}
 .vmz047-header .vmz047-mega__card{padding:7px 7px 12px;border-radius:13px}
 .vmz047-header .vmz047-mega__photo{height:103px!important}
 .vmz047-header .vmz047-mega__card strong{font-size:11.5px}
 .vmz047-header .vmz047-mega__card small{font-size:10px}
 .vmz047-header .vmz047-mega__card .vmz046-mega__item-arrow{width:24px;height:24px;right:6px;bottom:7px}
 .vmz047-mega__heading h2{font-size:20px}
 .vmz047-mega__cta h3{font-size:16px}
 .vmz047-mega__cta p{font-size:10px}
 .vmz047-mega__cta a{font-size:10px;padding:9px 10px;min-height:36px}
}
@media(max-width:360px){.vmz047-header .vmz047-search-button{display:none}.vmz047-header .vmz043-identity__word{font-size:24px}}
@media(prefers-reduced-motion:reduce){.vmz047-header .vmz047-mega__card{transition:none!important}}

/* Final reference matching and accessible mobile close row. */
@media(min-width:1171px){.vmz047-header .vmz047-mega__cards{grid-auto-rows:249px}.vmz047-header .vmz047-mega__photo{height:154px!important}}
@media(max-width:800px){
 .vmz047-header .vmz047-mega__layout{padding-top:35px}
 .vmz047-header .vmz047-mega:before{content:'Каталог';position:absolute;left:16px;top:11px;z-index:5;font-size:15px;color:#263541;font-weight:850}
 .vmz047-header .vmz047-mega__close{top:7px;right:11px}
}

/* Keep the WordPress admin toolbar clear and all menu items reachable on low-height displays. */
.admin-bar header.vmz047-header.vmz043-header.vmz-header.vmz04-header{top:44px}
@media(max-width:782px){.admin-bar header.vmz047-header.vmz043-header.vmz-header.vmz04-header{top:54px}}
@media(min-width:801px){.vmz047-header .vmz047-mega{height:min(calc(100dvh - 116px),636px);min-height:0;max-height:none}.vmz047-header .vmz047-mega__layout{height:100%;max-height:none}}
@media(max-width:800px){.vmz047-header .vmz047-mega{height:min(calc(100dvh - 91px),700px);max-height:none;min-height:0}.vmz047-header .vmz047-mega__layout{height:100%;max-height:none}}
