/* Mag-Complex Home Hero 1.0.2 – isolated from WoodMart global styles */
.mch-root{--mch-dark:#0c3b50;--mch-blue:#147fb4;--mch-border:#dce5ed;--mch-ink:#172b3b;display:grid;grid-template-columns:minmax(0,1fr);gap:16px;width:100%;margin:0 auto 30px;max-width:1800px;isolation:isolate;color:var(--mch-ink);font-family:inherit;text-align:left;box-sizing:border-box}
.mch-root *,.mch-root *::before,.mch-root *::after{box-sizing:border-box}
.mch-root [hidden]{display:none!important}
.mch-root :where(a,button):focus-visible{outline:2px solid #1485be;outline-offset:2px}
.mch-root svg{width:20px;height:20px;display:block;flex:none}
.mch-root.mch-has-menu{grid-template-columns:clamp(245px,18vw,290px) minmax(0,1fr);align-items:stretch}
.mch-categories{position:relative;z-index:3;min-width:0;border:1px solid var(--mch-border);border-radius:12px;background:#fff;box-shadow:0 3px 14px #0c3b500c;display:flex;flex-direction:column}
.mch-root .mch-menu-title{width:100%;display:flex;align-items:center;justify-content:flex-start;gap:12px;border:0;border-radius:11px 11px 0 0;background:var(--mch-dark);color:#fff;padding:13px 15px;min-height:46px;font-size:14px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;box-shadow:none;cursor:default;margin:0;text-align:left}
.mch-mobile-chevron{display:none;margin-left:auto}
.mch-root .mch-main-list,.mch-root .mch-sub-list{list-style:none;padding:0;margin:0}
.mch-root .mch-main-list{display:flex;flex-direction:column;flex:1;padding:5px;gap:2px}
.mch-root .mch-item{margin:0;position:relative;flex:1;display:flex;flex-direction:column;min-width:0;padding:0}
.mch-root .mch-row{display:flex;align-items:stretch;min-height:35px;flex:1;border-radius:7px;transition:background-color .16s,box-shadow .16s;min-width:0}
.mch-root .mch-row>a{display:flex;flex:1;align-items:center;gap:9px;padding:5px 8px;min-width:0;text-decoration:none;color:var(--mch-ink);font-size:clamp(11.5px,.9vw,13px);line-height:1.2;font-weight:600;text-transform:uppercase}
.mch-root .mch-icon{display:grid;place-items:center;flex:0 0 25px;height:25px;border-radius:5px;background:#edf5f9;color:#216b90;transition:background-color .16s,color .16s}
.mch-root .mch-icon svg{width:18px;height:18px}
.mch-root .mch-sub-toggle{display:grid;place-items:center;background:transparent;border:0;box-shadow:none;margin:0;padding:0;width:28px;min-width:28px;min-height:0;color:#6b8494;border-radius:6px;cursor:pointer}
.mch-root .mch-sub-toggle svg{width:14px;height:14px;transition:transform .16s}
.mch-root .mch-promo .mch-row{background:#fff5f4}.mch-root .mch-promo a,.mch-root .mch-promo .mch-icon{color:#b91c1c}.mch-root .mch-promo .mch-icon{background:#fce8e7}
.mch-root .mch-item:is(.mch-open,:focus-within)>.mch-row{background:#e8f3fa;box-shadow:inset 3px 0 0 #3aa0d8}.mch-root .mch-item.mch-open .mch-icon{background:#d7eaf5}.mch-root .mch-item.mch-open>.mch-row .mch-sub-toggle svg{transform:translateX(2px)}
@media (hover:hover) and (pointer:fine){.mch-root .mch-row:hover{background:#edf5fa;box-shadow:inset 3px 0 0 #3aa0d8}.mch-root .mch-promo .mch-row:hover{background:#fce8e7;box-shadow:inset 3px 0 0 #dc2626}.mch-root .mch-row:hover .mch-icon{background:#dceef8}}
.mch-root .mch-flyout{position:absolute;left:100%;top:0;width:clamp(255px,23vw,370px);max-height:min(65vh,480px);overflow:auto;background:#fff;border:1px solid var(--mch-border);border-radius:10px;padding:15px;box-shadow:0 12px 32px #0c3b5026;z-index:10;overscroll-behavior:contain}
.mch-root .mch-flyout>p{font-size:15px;font-weight:700;margin:0 0 9px;color:var(--mch-dark);padding:0 5px 9px;border-bottom:1px solid var(--mch-border)}
.mch-root .mch-sub-list li{margin:0;padding:0}.mch-root .mch-sub-list a{display:block;color:var(--mch-ink);font-size:13px;line-height:1.4;padding:8px 7px;border-radius:6px;text-decoration:none}.mch-root .mch-sub-list a:hover{color:var(--mch-dark);background:#edf5fa}.mch-root .mch-sub-list .mch-sub-list{padding-left:12px;border-left:1px solid var(--mch-border);margin-left:7px}
.mch-root .mch-banner{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);position:relative;min-width:0;min-height:450px;overflow:hidden;border:1px solid var(--mch-border);border-radius:12px;background:#f3f7fb;box-shadow:0 3px 14px #0c3b500c}
.mch-root .mch-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0;padding:clamp(24px,3vw,60px);position:relative;z-index:1}
.mch-root .mch-copy::before{content:"";width:65px;height:5px;border-radius:3px;background:#3aa0d8;position:static;flex:none;margin-bottom:12px}
.mch-root .mch-eyebrow{font-size:clamp(11px,.9vw,15px);letter-spacing:.11em;font-weight:700;color:var(--mch-dark);margin:0 0 12px;line-height:1.4}
.mch-root .mch-headline{font-size:clamp(29px,3.05vw,58px);letter-spacing:-.045em;line-height:1.06;font-weight:800;color:#102941;margin:0 0 18px;overflow-wrap:anywhere;max-width:100%}
.mch-root .mch-headline span,.mch-root .mch-headline strong{display:block;font-weight:inherit}.mch-root .mch-headline strong{color:var(--mch-blue)}
.mch-root .mch-desc{font-size:clamp(13px,1.12vw,18px);line-height:1.55;color:#42596b;max-width:44ch;margin:0 0 22px}
.mch-root .mch-benefits{display:flex;flex-wrap:wrap;gap:12px 17px;margin:0 0 26px;max-width:100%}.mch-root .mch-benefits span{display:flex;align-items:center;gap:7px;color:var(--mch-dark);font-size:12px;line-height:1.3;font-weight:600}.mch-root .mch-benefits svg{width:22px;height:22px;color:var(--mch-blue)}
.mch-root .mch-cta{display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:45px;padding:11px 20px;max-width:100%;border-radius:8px;background:var(--mch-dark);color:#fff;text-decoration:none;font-size:15px;font-weight:700;line-height:1.3;transition:background-color .16s,box-shadow .16s}.mch-root .mch-cta:hover{background:#185678;color:#fff;box-shadow:0 4px 12px #0c3b5026}.mch-root .mch-cta:active{background:#092b3c}.mch-root .mch-cta svg{width:19px;height:19px}
.mch-root .mch-photo{min-width:0;min-height:0;position:relative;overflow:hidden}.mch-root .mch-photo::after{content:"";position:absolute;inset:0 auto 0 0;width:15%;background:linear-gradient(90deg,#f3f7fb,transparent);pointer-events:none}.mch-root .mch-photo img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:center;display:block;max-width:none;margin:0}
.mch-root .mch-admin-warning{font-size:13px;color:#865711;background:#fff5db;padding:12px;border-radius:6px;margin:0}
@media(min-width:1025px){body.home:has(.mch-hide-old) .whb-main-header .wd-header-cats{display:none!important}}
@media(max-width:1250px) and (min-width:1025px){.mch-root.mch-has-menu{grid-template-columns:235px minmax(0,1fr)}.mch-root .mch-copy{padding:30px 22px}.mch-root .mch-headline{font-size:clamp(27px,3vw,40px)}.mch-root .mch-banner{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}}
@media(max-width:1024px){.mch-root.mch-has-menu{grid-template-columns:minmax(0,1fr)}.mch-root .mch-banner{grid-row:1;min-height:360px}.mch-root .mch-categories{grid-row:2}.mch-root .mch-menu-title{cursor:pointer;min-height:46px}.mch-root .mch-menu-title[aria-expanded=false]{border-radius:11px}.mch-root .mch-mobile-chevron{display:block}.mch-root .mch-menu-title[aria-expanded=true] .mch-mobile-chevron{transform:rotate(90deg)}.mch-root .mch-main-list{gap:2px}.mch-root .mch-row{min-height:44px}.mch-root .mch-row>a{font-size:13px}.mch-root .mch-sub-toggle{min-width:44px;width:44px}.mch-root .mch-item.mch-open>.mch-row .mch-sub-toggle svg{transform:rotate(90deg)}.mch-root .mch-flyout{position:static;width:auto;max-height:none;box-shadow:none;border:0;padding:4px 12px 8px 34px;border-radius:0}.mch-root .mch-flyout>p{display:none}.mch-root .mch-sub-list a{min-height:40px;padding-block:10px}.mch-root .mch-copy{padding:28px}.mch-root .mch-headline{font-size:clamp(30px,5vw,47px)}}
@media(max-width:600px){.mch-root{gap:12px;margin-bottom:20px}.mch-root .mch-banner{grid-template-columns:minmax(0,1fr);min-height:0}.mch-root .mch-copy{padding:24px 20px 20px}.mch-root .mch-copy::before{width:45px;height:4px;margin-bottom:10px}.mch-root .mch-eyebrow{margin-top:0;font-size:11px}.mch-root .mch-headline{font-size:clamp(29px,8.5vw,43px);margin-bottom:13px}.mch-root .mch-desc{font-size:14px;margin-bottom:15px}.mch-root .mch-benefits{gap:8px 12px;margin-bottom:18px}.mch-root .mch-benefits span{font-size:11px}.mch-root .mch-benefits svg{width:18px;height:18px}.mch-root .mch-photo{height:clamp(160px,54vw,250px)}.mch-root .mch-photo img{object-position:center 45%}.mch-root .mch-photo::after{inset:0 0 auto;width:100%;height:14%;background:linear-gradient(#f3f7fb,transparent)}.mch-root .mch-cta{min-height:44px;padding:10px 16px;font-size:14px}}
@media(prefers-reduced-motion:reduce){.mch-root *,.mch-root *::before,.mch-root *::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* Remove the old Elementor frame only around the new homepage module. */
body.home .elementor :is(.e-con,.elementor-section,.elementor-column,.elementor-widget-shortcode,.elementor-widget-wrap,.elementor-widget-container):has(.mch-root){box-shadow:none!important;border-color:transparent!important;}

/* 1.0.2 – wspólne menu Premium. Głębsze poziomy otwierane osobno. */
.mch-root .mch-sub-row{display:flex;align-items:stretch;gap:3px;border-radius:6px;min-width:0}
.mch-root .mch-sub-row>a{flex:1;min-width:0;overflow-wrap:anywhere}
.mch-root .mch-nested-toggle{display:grid;place-items:center;flex:0 0 32px;width:32px;min-height:32px;margin:0;padding:0;border:0;border-radius:6px;box-shadow:none;background:#f3f6fa;color:#216b90;cursor:pointer}
.mch-root .mch-nested-toggle svg{width:15px;height:15px;transition:transform .16s}
.mch-root .mch-nested-toggle[aria-expanded=true] svg{transform:rotate(90deg)}
.mch-root .mch-nested-toggle:hover,.mch-root .mch-nested-toggle[aria-expanded=true]{background:#e8f3fa}
.mch-root .mch-sub-item:not(:last-child){margin-bottom:3px}
.mch-root .mch-nested-panel{padding-block:3px 6px}
.mch-root .mch-nested-panel .mch-sub-list{margin-left:7px;padding-left:9px;border-left:1px solid #dce5ed}
.mch-root .mch-nested-panel a{font-size:12px}
.mch-root.mch-header{display:none}
@media(min-width:1025px){
 .whb-main-header .wd-header-cats.mch-native-replaced{display:none!important}
 .whb-main-header .mch-root.mch-header{display:block;position:relative;isolation:auto;flex:0 0 clamp(235px,18vw,290px);width:clamp(235px,18vw,290px);max-width:100%;margin:0;z-index:20;align-self:center;gap:0}
 .mch-root.mch-header .mch-categories{border:0;box-shadow:none;border-radius:9px;background:transparent;display:block}
 .mch-root.mch-header .mch-menu-title{min-height:40px;height:40px;padding:8px 13px;border-radius:8px;cursor:pointer;justify-content:flex-start}
 .mch-root.mch-header .mch-menu-title[aria-expanded=true]{border-radius:8px 8px 0 0}
 .mch-root.mch-header .mch-mobile-chevron{display:block}
 .mch-root.mch-header .mch-mobile-chevron svg{width:15px;height:15px;transform:rotate(90deg)}
 .mch-root.mch-header .mch-menu-title[aria-expanded=true] .mch-mobile-chevron svg{transform:rotate(-90deg)}
 .mch-root.mch-header .mch-main-list{position:absolute;top:100%;left:0;right:0;width:100%;background:#fff;border:1px solid #dce5ed;border-top:0;border-radius:0 0 11px 11px;box-shadow:0 10px 24px #0c3b5020;gap:2px;z-index:25}
 .mch-root.mch-header .mch-item{flex:none}
 .mch-root.mch-header .mch-row{min-height:35px}
 .mch-root.mch-header .mch-flyout{max-height:min(65vh,var(--mch-room,480px));top:0}
 .mch-root.mch-header.mch-short .mch-main-list{max-height:var(--mch-room,380px);overflow:auto;overscroll-behavior:contain}
 .mch-root.mch-header.mch-short .mch-flyout{position:static;width:auto;max-height:none;overflow:visible;box-shadow:none;border:0;padding:3px 7px 8px 24px}
 .mch-root.mch-header.mch-short .mch-flyout>p{display:none}
 .mch-root.mch-header.mch-short .mch-item.mch-open>.mch-row .mch-sub-toggle svg{transform:rotate(90deg)}
}
@media(max-width:1024px){.mch-root .mch-nested-toggle{flex-basis:44px;width:44px;min-height:44px}}

/* 1.0.3 – premium menu: controlled hover, predictable colors. */
.mch-root .mch-menu-title{background:#0c3b50!important;color:#fff!important;box-shadow:none!important}
.mch-root .mch-menu-title:is(:hover,[aria-expanded=true]){background:#16485d!important;color:#fff!important}
.mch-root .mch-sub-toggle,.mch-root .mch-nested-toggle{background:transparent!important;color:#567c90!important;box-shadow:none!important;border:0!important}
.mch-root .mch-item:is(.mch-open,:focus-within)>.mch-row{background:#e8f2f7;box-shadow:inset 3px 0 0 #258fbf}
.mch-root .mch-item.mch-open>.mch-row>a{color:#0c3b50!important}
.mch-root .mch-item.mch-open>.mch-row .mch-icon{color:#fff;background:#176486}
.mch-root .mch-item.mch-open>.mch-row .mch-sub-toggle{color:#0c3b50!important}
.mch-root .mch-promo .mch-row{background:#fff5f4;box-shadow:none}
.mch-root .mch-promo .mch-row>a,.mch-root .mch-promo .mch-icon{color:#b91c1c!important}
.mch-root .mch-sub-row:has(.mch-nested-toggle[aria-expanded=true]){background:#e8f2f7;box-shadow:inset 2px 0 #258fbf}
.mch-root .mch-sub-row:has(.mch-nested-toggle[aria-expanded=true])>a{color:#0c3b50!important}
.mch-root .mch-sub-row>a:hover{background:transparent;color:#0c3b50!important}
.mch-root .mch-nested-toggle[aria-expanded=true]{background:#dcebf3!important;color:#0c3b50!important}
@media(hover:hover) and (pointer:fine){
 .mch-root .mch-item:not(.mch-promo)>.mch-row:hover{background:#edf5f9;box-shadow:inset 3px 0 #258fbf}
 .mch-root .mch-item:not(.mch-promo)>.mch-row:hover>a{color:#0c3b50!important}
 .mch-root .mch-item:not(.mch-promo)>.mch-row:hover .mch-icon{background:#176486;color:white;}
 .mch-root .mch-sub-row:hover{background:#edf5f9}
 .mch-root .mch-nested-toggle:hover,.mch-root .mch-sub-toggle:hover{background:#dcebf3!important;color:#0c3b50!important}
 .mch-root .mch-promo>.mch-row:hover{background:#fce8e7;box-shadow:inset 3px 0 #c93c3c}
}
@media(min-width:1025px){
 .mch-root:not(.mch-short) .mch-flyout{top:var(--mch-flyout-top,0px);max-height:min(var(--mch-flyout-room,480px),calc(100vh - 24px));left:100%;border-radius:11px;box-shadow:0 12px 30px #0c3b5024}
 /* A moved-up flyout can overlap preceding siblings: keep the active item above them. */
 .mch-root .mch-item.mch-open{z-index:12}
}
@media(scripting:none){.whb-main-header .mch-root.mch-header{display:none!important}}
/* Menu generated on the server. Keep native navigation on mobile and no-JS. */
.mch-root.mch-header{display:none}
@media (min-width:1025px) and (scripting:enabled){
 body .whb-main-header .wd-header-cats:has(> .wd-dropdown-cats > .mch-header){position:relative!important;display:flex!important;align-items:center!important;flex:0 0 clamp(235px,18vw,290px)!important;width:clamp(235px,18vw,290px)!important;max-width:100%;height:auto!important;min-height:0!important;overflow:visible!important;z-index:20}
 body .whb-main-header .wd-header-cats:has(> .wd-dropdown-cats > .mch-header) > .menu-opener{display:none!important}
 body .whb-main-header .wd-header-cats:has(> .wd-dropdown-cats > .mch-header) > .wd-dropdown-cats{display:block!important;position:static!important;inset:auto!important;transform:none!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;width:100%!important;min-width:0!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important;overflow:visible!important;transition:none!important}
 body .whb-main-header .wd-header-cats > .wd-dropdown-cats:has(> .mch-header) > :not(.mch-header){display:none!important}
 body .whb-main-header .wd-header-cats > .wd-dropdown-cats > .mch-root.mch-header{display:block!important;width:100%!important;max-width:none!important;margin:0!important;position:relative;z-index:20;isolation:auto}
 body.home:has(.mch-hide-old:not(.mch-header)) .whb-main-header .wd-header-cats:has(> .wd-dropdown-cats > .mch-header){display:none!important}
 .mch-header [hidden]{display:none!important}
 .mch-header .mch-menu-title{display:flex;align-items:center;gap:12px;width:100%;height:40px;min-height:40px;margin:0;padding:8px 13px;border:0;border-radius:8px;color:#fff;background:#0c3b50;font-family:inherit;font-size:14px;font-weight:600;line-height:1.2;text-transform:uppercase;box-shadow:none;cursor:pointer}
 .mch-header .mch-menu-title svg{width:20px;height:20px;flex:none;display:block}.mch-header .mch-mobile-chevron{display:block;margin-left:auto}
}
