/* Shared D shell. Typography stays inside the header, contact band and footer. */
body.icnc-shell-d-v01{--icnc-shell-height:76px;--icnc-shell-admin-offset:0px}
/* Replace the fixed offsets used by the original templates, without changing their content. */
body.icnc-shell-d-v01.page-template-page---serviceItem,
body.icnc-shell-d-v01.single-machines,
body.icnc-shell-d-v01.post-type-archive-machines{padding-top:var(--icnc-shell-height)}
body.icnc-shell-d-v01 #wrz-page{--wrz-header-flow:var(--icnc-shell-height)}
body.icnc-shell-d-v01 #icnc-electronics{--el-header-flow:var(--icnc-shell-height)}
body.icnc-shell-d-v01 .form-page{padding-top:var(--icnc-shell-height)}
body.icnc-shell-d-v01.single-machines .single-info{top:var(--icnc-shell-height)}
/* Legacy hero adds the header height to its original 3.875rem content gap. */
body.icnc-shell-d-v01 .section.hero{padding-top:calc(var(--icnc-shell-height) + 3.875rem)}
#icnc-site-header,#icnc-contact-band,#icnc-site-footer{--icnc-ink:#1D1E1C;--icnc-mute:#5C6360;--icnc-line:#E3E5E4;--icnc-sans:'open-sans','Open Sans',-apple-system,'Segoe UI',Arial,sans-serif;--icnc-display:'univia-pro','Open Sans',Arial,sans-serif;font:400 18px/1.6 var(--icnc-sans);-webkit-font-smoothing:antialiased}
#icnc-site-header *,#icnc-site-header *::before,#icnc-site-header *::after,#icnc-site-footer *,#icnc-site-footer *::before,#icnc-site-footer *::after,#icnc-contact-band *,#icnc-contact-band *::before,#icnc-contact-band *::after{box-sizing:border-box}
#icnc-site-header strong,#icnc-site-header b,#icnc-site-footer strong,#icnc-site-footer b{font-weight:600}
#icnc-site-header a,#icnc-site-footer a{text-underline-offset:3px;text-decoration-thickness:2px}
#icnc-site-header{position:fixed;z-index:99;inset:0 0 auto;width:100%;height:var(--icnc-shell-height);padding:0;margin:0;display:block;color:var(--icnc-ink);background:#fff;border:0;border-bottom:1px solid var(--icnc-line);transform:none;box-shadow:none;transition:none}
#icnc-site-header::before,#icnc-site-header::after{display:none}
#icnc-site-header .icnc-header-inner{width:100%;max-width:1240px;height:100%;margin:0 auto;padding:0 24px;display:flex;align-items:center;gap:24px}
#icnc-site-header .icnc-brand{display:block;flex:none;text-decoration:none}
#icnc-site-header .icnc-brand img{display:block;width:144px;max-width:100%;height:auto;margin:0}
#icnc-site-header .icnc-site-nav{display:block;position:static;min-width:0;margin:0;padding:0;color:inherit;background:transparent}
#icnc-site-header .icnc-nav-links,#icnc-site-header .icnc-top-list{display:flex;align-items:center;gap:18px;margin:0;padding:0;list-style:none}
#icnc-site-header .icnc-top-list:empty{display:none}
#icnc-site-header .menu-item{position:static;display:block;width:auto;height:auto;margin:0;padding:0;border:0;background:none;color:inherit;line-height:inherit}
#icnc-site-header .icnc-top-list a,#icnc-site-header .icnc-menu-toggle{display:inline-flex;align-items:center;justify-content:flex-start;gap:4px;min-height:44px;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:var(--icnc-ink);font:600 14px/1.45 var(--icnc-sans);text-transform:none;text-decoration:none;white-space:nowrap;cursor:pointer}
#icnc-site-header .icnc-top-list a:hover,#icnc-site-header .icnc-menu-toggle:hover{text-decoration:underline;background:transparent;color:var(--icnc-ink)}
#icnc-site-header .produkcja-btn > a{background:transparent!important;color:inherit!important;padding:0!important;border-radius:0!important;font-weight:600!important}
#icnc-site-header .icnc-menu-toggle svg{display:block;width:14px;height:14px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#icnc-site-header .icnc-menu-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
#icnc-site-header .icnc-dropdown{position:relative}
#icnc-site-header .icnc-dropdown-panel{position:absolute;top:calc(100% + 16px);left:0;z-index:1;min-width:250px;max-height:calc(100dvh - var(--icnc-shell-height) - 24px);overflow-y:auto;padding:24px;border:1px solid var(--icnc-line);border-radius:0 0 8px 8px;background:#fff;box-shadow:0 12px 24px rgba(29,30,28,.12)}
#icnc-site-header .icnc-dropdown-panel[hidden]{display:none}
#icnc-site-header .icnc-services-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;width:min(710px,calc(100vw - 48px))}
#icnc-site-header .icnc-menu-heading{margin:0 0 12px;color:var(--icnc-ink);font:600 16px/1.4 var(--icnc-display);text-transform:uppercase}
#icnc-site-header .icnc-submenu{display:grid;gap:0;margin:0;padding:0;list-style:none}
#icnc-site-header .icnc-submenu a{display:block;min-height:40px;padding:9px 0;color:var(--icnc-ink);background:transparent;font:400 15px/1.45 var(--icnc-sans);white-space:normal;text-decoration:none}
#icnc-site-header .icnc-submenu a:hover{text-decoration:underline}
#icnc-site-header .badge{font-weight:600}
#icnc-site-header .icnc-nav-contact{display:flex;align-items:center;gap:18px;margin-left:auto;flex:none}
#icnc-site-header .icnc-nav-tel{color:var(--icnc-ink);text-decoration:none;line-height:1.2;white-space:nowrap;text-align:right}
#icnc-site-header .icnc-nav-tel small{display:block;color:var(--icnc-mute);font:600 12px/1.2 var(--icnc-sans)}
#icnc-site-header .icnc-nav-tel strong{display:block;font:600 20px/1.2 var(--icnc-sans);font-variant-numeric:tabular-nums;letter-spacing:-.02em}
#icnc-site-header .icnc-nav-mail{color:var(--icnc-ink);font:600 14px/1.45 var(--icnc-sans);white-space:nowrap;text-decoration:underline;text-decoration-color:var(--icnc-line)}
#icnc-site-header .icnc-burger{display:none;flex:none;width:44px;height:44px;margin:0;padding:8px;border:0;border-radius:0;background:transparent;color:var(--icnc-ink);cursor:pointer}
#icnc-site-header .icnc-burger svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#icnc-site-header :focus-visible{outline:3px solid var(--icnc-ink);outline-offset:3px}
#icnc-site-header button:focus:not(:focus-visible),#icnc-site-footer button:focus:not(:focus-visible){outline:none}
/* The legacy service strip is a separate landmark, measured against the new fixed header. */
body.icnc-shell-d-v01 .serviceHeader,body.icnc-shell-d-v01 .serviceHeader.--scroll{top:var(--icnc-shell-height);transform:none}
/* The existing bundle already toggles --tinyHeaders by scroll direction after 120px. */
body.icnc-shell-d-v01.page-template-page---serviceItem.--tinyHeaders #icnc-site-header{transform:translateY(-100%)}
body.icnc-shell-d-v01.page-template-page---serviceItem.--tinyHeaders .serviceHeader{top:0;transform:none}
body.icnc-shell-d-v01.page-template-page---serviceItem #icnc-site-header:has(:focus-visible),
body.icnc-shell-d-v01.page-template-page---serviceItem #icnc-site-header:has([aria-expanded="true"]){transform:none}
body.icnc-shell-d-v01.page-template-page---serviceItem:has(#icnc-site-header :focus-visible) .serviceHeader,
body.icnc-shell-d-v01.page-template-page---serviceItem:has(#icnc-site-header [aria-expanded="true"]) .serviceHeader{top:calc(var(--icnc-shell-height) + var(--icnc-shell-admin-offset));transform:none}
/* Older browsers keep a focused menu visible; no :has selector is used in this fallback. */
@supports not selector(:has(*)){
 body.icnc-shell-d-v01.page-template-page---serviceItem #icnc-site-header:focus-within{transform:none}
 body.icnc-shell-d-v01.page-template-page---serviceItem #icnc-site-header:focus-within ~ main .serviceHeader{top:calc(var(--icnc-shell-height) + var(--icnc-shell-admin-offset));transform:none}
}
body.icnc-shell-d-v01 .skipLink{z-index:101;font-weight:600}
body.admin-bar.icnc-shell-d-v01{--icnc-shell-admin-offset:32px}
.admin-bar #icnc-site-header{top:32px}
body.admin-bar.icnc-shell-d-v01 .serviceHeader,body.admin-bar.icnc-shell-d-v01 .serviceHeader.--scroll{top:calc(var(--icnc-shell-height) + 32px)}

#icnc-contact-band{margin:0;padding:56px 0;background:var(--icnc-ink);color:#D5D8D6}
#icnc-contact-band .icnc-contact-band-inner{width:100%;max-width:1240px;margin:0 auto;padding:0 24px;display:flex;align-items:center;justify-content:space-between;gap:32px}
#icnc-contact-band .icnc-contact-band-copy{max-width:780px}
#icnc-contact-band h2{margin:0 0 16px;color:#fff;font:600 32px/1.2 var(--icnc-display);letter-spacing:0;text-transform:uppercase}
#icnc-contact-band p{margin:0;color:#D5D8D6;font:400 18px/1.6 var(--icnc-sans)}
#icnc-contact-band a{color:#D5D8D6;text-decoration:underline;text-underline-offset:3px}
#icnc-contact-band .icnc-contact-band-button{display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:48px;padding:12px 20px;border:1px solid #D5D8D6;border-radius:4px;background:transparent;color:#fff;font:600 16px/1.4 var(--icnc-sans);text-align:center;text-decoration:none;white-space:nowrap}
#icnc-contact-band .icnc-contact-band-button:hover{background:rgba(255,255,255,.08)}
#icnc-contact-band :focus-visible{outline:3px solid #fff;outline-offset:3px}

#icnc-site-footer{padding:72px 0 80px;border-top:1px solid rgba(255,255,255,.18);background:#1D1E1C;color:#D5D8D6;font:400 15px/1.7 var(--icnc-sans)}
#icnc-site-footer .container{width:100%;max-width:1240px;margin:0 auto;padding:0 24px}
#icnc-site-footer p{margin:0;color:#D5D8D6;font:400 15px/1.7 var(--icnc-sans)}
#icnc-site-footer a{color:#D5D8D6;text-decoration:none}
#icnc-site-footer a:hover{color:#D5D8D6;text-decoration:underline}
#icnc-site-footer :focus-visible{outline:3px solid #fff;outline-offset:3px}
#icnc-site-footer .footer-company{display:grid;grid-template-columns:1.05fr 1fr 1fr;gap:32px;padding-bottom:48px}
#icnc-site-footer .footer-brand{display:inline-block}
#icnc-site-footer .footer-brand img{display:block;width:170px;max-width:100%;height:auto;margin:0 0 24px}
#icnc-site-footer .footer-company strong{display:block;font:600 16px/1.7 var(--icnc-sans)}
#icnc-site-footer .footer-company address{margin:8px 0 0;color:#D5D8D6;font:400 15px/1.7 var(--icnc-sans);font-style:normal}
#icnc-site-footer .footer-company .shipping-address{font-weight:600}
#icnc-site-footer .footer-phone{display:inline-block;margin-bottom:8px;font:600 15px/1.7 var(--icnc-sans);white-space:nowrap}
#icnc-site-footer .extensions{margin:0 0 16px;padding:0;list-style:none;color:#AEB4B1;font:400 14px/1.7 var(--icnc-sans)}
#icnc-site-footer .footer-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;padding-top:48px;border-top:1px solid rgba(255,255,255,.18)}
#icnc-site-footer .footer-nav strong{display:block;margin-bottom:16px;color:#fff;font:600 16px/1.5 var(--icnc-sans)}
#icnc-site-footer .footer-nav ul{display:grid;gap:12px;margin:0;padding:0;list-style:none}
#icnc-site-footer .footer-nav a{font:400 15px/1.7 var(--icnc-sans)}
#icnc-site-footer .footer-bottom{margin-top:48px;padding-top:24px;border-top:1px solid rgba(255,255,255,.18)}
#icnc-site-footer .footer-directions{margin-top:8px}
#icnc-site-footer .footer-directions a{text-decoration:underline}
#icnc-site-footer .footer-credits{margin-top:24px}
#icnc-site-footer .footerSecond__autorInfo{display:flex;align-items:center;gap:10px;color:#AEB4B1;font:400 13px/1.5 var(--icnc-sans)}
#icnc-site-footer .footerSecond__autorInfo a{display:inline-flex}
#icnc-site-footer .footerSecond__autorInfo img{display:block;width:133px;height:20px;margin:0}
#icnc-site-footer .footer-social{display:flex;align-items:center;gap:8px;margin-top:16px}
#icnc-site-footer .footer-social a{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;color:#D5D8D6;border:1px solid rgba(255,255,255,.18);border-radius:4px}
#icnc-site-footer .footer-social a:hover{background:rgba(255,255,255,.08);text-decoration:none}
#icnc-site-footer .footer-social svg{display:block;width:20px;height:20px;fill:currentColor}

@media(min-width:1200px) and (max-width:1339px){
 #icnc-site-header .icnc-header-inner{gap:16px;padding-inline:20px}
 #icnc-site-header .icnc-nav-links,#icnc-site-header .icnc-top-list{gap:12px}
 #icnc-site-header .icnc-nav-contact{gap:12px}
 #icnc-site-header .icnc-brand img{width:130px}
 #icnc-site-header .icnc-nav-tel strong{font-size:18px}
 #icnc-site-header .icnc-nav-mail{font-size:13px}
}
@media(max-width:1199px){
 body.icnc-shell-d-v01{--icnc-shell-height:60px}
 #icnc-site-header .icnc-header-inner{gap:12px;padding-inline:16px}
 #icnc-site-header .icnc-brand img{width:118px}
 #icnc-site-header .icnc-nav-tel small,#icnc-site-header .icnc-nav-mail{display:none}
 #icnc-site-header .icnc-nav-tel strong{font-size:18px}
 #icnc-site-header .icnc-burger{display:inline-flex;align-items:center;justify-content:center}
 #icnc-site-header .icnc-site-nav{display:none;position:absolute;top:100%;left:0;right:0;max-height:calc(100dvh - var(--icnc-shell-height));overflow-y:auto;padding:16px;border-bottom:1px solid var(--icnc-line);background:#fff;box-shadow:0 1px 2px rgba(29,30,28,.06)}
 #icnc-site-header .icnc-site-nav.is-open{display:block}
 #icnc-site-header .icnc-nav-links,#icnc-site-header .icnc-top-list{display:block}
 #icnc-site-header .icnc-top-list a,#icnc-site-header .icnc-menu-toggle{width:100%;min-height:48px;padding:12px 8px;white-space:normal;font-size:16px}
 #icnc-site-header .icnc-menu-toggle{justify-content:space-between}
 #icnc-site-header .produkcja-btn > a{padding:12px 8px!important}
 #icnc-site-header .icnc-dropdown-panel{position:static;width:100%;min-width:0;max-height:none;overflow:visible;margin:0;padding:12px 16px 20px;border:0;border-left:2px solid var(--icnc-line);border-radius:0;box-shadow:none}
 #icnc-site-header .icnc-services-panel{grid-template-columns:minmax(0,1fr);gap:24px}
 #icnc-site-header .icnc-submenu a{padding:10px 0;font-size:15px;min-height:44px}
}
/* Keep the full 44px menu target and visible phone inside narrow phones. */
@media(max-width:359px){
 #icnc-site-header .icnc-header-inner{gap:8px;padding-inline:12px}
 #icnc-site-header .icnc-brand img{width:92px}
 #icnc-site-header .icnc-nav-tel strong{font-size:16px}
}
@media(max-width:899px){
 #icnc-contact-band{padding:40px 0}
 #icnc-contact-band .icnc-contact-band-inner{padding-inline:16px;flex-direction:column;align-items:flex-start;gap:24px}
 #icnc-contact-band h2{font-size:28px}
 #icnc-site-footer{padding-block:48px 56px}
 #icnc-site-footer .container{padding-inline:16px}
 #icnc-site-footer .footer-company,#icnc-site-footer .footer-nav{grid-template-columns:1fr;gap:32px}
 #icnc-site-footer .footer-nav{padding-top:32px}
}
@media(max-width:782px){
 body.admin-bar.icnc-shell-d-v01{--icnc-shell-admin-offset:46px}
 .admin-bar #icnc-site-header{top:46px}
 body.admin-bar.icnc-shell-d-v01 .serviceHeader,body.admin-bar.icnc-shell-d-v01 .serviceHeader.--scroll{top:calc(var(--icnc-shell-height) + 46px)}
}
body.admin-bar.icnc-shell-d-v01.page-template-page---serviceItem.--tinyHeaders .serviceHeader{top:32px}
@media(max-width:782px){body.admin-bar.icnc-shell-d-v01.page-template-page---serviceItem.--tinyHeaders .serviceHeader{top:46px}}
@media(prefers-reduced-motion:reduce){
 #icnc-site-header *,#icnc-site-footer *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
