/* Scoped navigation and category guidance. No pricing/filter selectors. */
#header.emgn-header{position:relative!important;top:auto!important;background:#fff!important;color:#163049;border-bottom:1px solid #dce5ed;box-shadow:none!important;z-index:1000;padding:0!important}
#header.emgn-header .container{max-width:1250px;width:100%;margin:auto;padding-left:24px;padding-right:24px;box-sizing:border-box}
#header .emgn-top{display:flex;align-items:center;gap:30px;min-height:100px;padding-top:17px;padding-bottom:17px}
#header .emgn-top .logo{gap:10px;margin:0}
#header .emgn-top .logo img{width:52px!important;height:52px!important;max-height:52px!important}
#header .emgn-top .logo::after{font-size:21px}
.emgn-search{display:flex;flex:1;min-width:0;background:#f3f6fa;border:1px solid #cbd9e5;border-radius:8px;overflow:hidden;margin:0}
.emgn-search input{width:100%;min-width:0;border:0!important;background:transparent!important;padding:13px 15px!important;color:#163049;font:inherit;font-size:15px;border-radius:0!important;box-shadow:none!important;height:48px}
.emgn-search input::placeholder{color:#526c81;opacity:1}
.emgn-search button{border:0;background:#087eaf;color:white;padding:0 22px;font:inherit;font-weight:700;cursor:pointer;min-height:48px}
#header .emgn-actions{display:flex;align-items:center;gap:12px;margin:0;flex-shrink:0}
#header .emgn-actions>a{display:flex;align-items:center;justify-content:center;min-width:42px;min-height:42px;background:#f1f5f9;border-radius:50%;position:relative;color:#163049}
#header .emgn-nav{display:flex;align-items:center;gap:32px;min-height:53px;position:relative}
.emgn-nav>a{color:#163049;text-decoration:none;font-size:14px;padding:12px 0;white-space:nowrap}
.emgn-products{margin:0;position:static}
.emgn-products>summary{display:flex;align-items:center;gap:14px;list-style:none;background:#103450;color:#fff;padding:15px 22px;min-width:200px;border-radius:7px 7px 0 0;cursor:pointer;font-size:15px;font-weight:700;min-height:53px;box-sizing:border-box}
.emgn-products>summary::-webkit-details-marker{display:none}.emgn-products>summary>span:last-child{margin-left:auto}
.emgn-products[open]>summary{background:#087eaf}
.emgn-mega{position:absolute;left:24px;right:24px;top:100%;background:white;border:1px solid #dce5ed;box-shadow:0 18px 30px #17324d24;border-radius:0 0 10px 10px;max-height:72vh;overflow:auto;overscroll-behavior:contain;color:#163049;z-index:1001}
.emgn-mega-layout{display:grid;grid-template-columns:245px 1fr;padding:18px;gap:26px}
.emgn-families{border-right:1px solid #e2eaf1;padding-right:17px;display:flex;flex-direction:column;gap:3px}
.emgn-family-button{border:0;background:white;color:#35516a;text-align:left;padding:11px 13px;border-radius:6px;display:flex;align-items:center;justify-content:space-between;gap:12px;font:inherit;font-size:14px;cursor:pointer;line-height:1.4;min-height:42px}
.emgn-family-button[aria-expanded=true]{background:#e9f5fc;color:#006b9d;font-weight:700}
.emgn-panel{padding:10px 6px 14px;margin:0;background:none;color:#163049}
.emgn-panel[hidden]{display:none!important}
.emgn-eyebrow{font-size:11px;font-weight:700;letter-spacing:1.5px;color:#0078aa}
.emgn-panel h2{font-size:25px;margin:6px 0 18px;line-height:1.3;color:#163049}
.emgn-sublinks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 24px}
.emgn-sublinks a{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #e4ebf1;color:#284a62;font-size:14px;line-height:1.4;text-decoration:none;overflow-wrap:anywhere}
.emgn-sublinks a span{color:#0080b2;flex-shrink:0}
.emgn-all{display:inline-block;margin-top:20px;font-size:14px;font-weight:700;color:#0075a6;text-decoration:none;padding:8px 0}
.emgn-families .emgn-all{padding-left:13px;margin-top:8px}
.emgn-note{font-size:13px;color:#526c81;margin:8px 0 0}
.emgn-header a:hover,.emgn-guide a:hover{color:#0074a6!important}.emgn-search button:hover{background:#006c9a}
.emgn-header :is(a,button,summary,input):focus-visible,.emgn-guide a:focus-visible{outline:3px solid #18a4df!important;outline-offset:3px}
.emgn-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#mobileMenu,#searchModal{display:none!important}
body.home .em-home-compact-hero{margin-top:0!important;padding-top:38px!important;padding-bottom:34px!important}
.emgn-guide{border:1px solid #dce7ef;border-radius:10px;padding:22px;margin:0 0 25px;background:#f4f9fc;clear:both}
.emgn-guide-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px}
.emgn-guide-head h2{font-size:21px!important;margin:0!important;color:#163049}
.emgn-guide-head>a{font-size:13px;color:#0075a6;text-decoration:none}
.emgn-guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.emgn-guide-grid a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;background:white;border:1px solid #d8e4ed;border-radius:7px;color:#284a62;font-size:14px;line-height:1.4;text-decoration:none;overflow-wrap:anywhere}
.emgn-guide-grid a span{color:#007eae}.emgn-guide #emgn-products-list{scroll-margin-top:20px}
@media(max-width:1000px){#header .emgn-top{gap:22px}.emgn-sublinks{grid-template-columns:repeat(2,minmax(0,1fr))}.emgn-mega-layout{grid-template-columns:220px 1fr;gap:18px}.emgn-guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){#header.emgn-header .container{padding-left:18px;padding-right:18px}#header .emgn-top{flex-wrap:wrap;gap:13px;min-height:0;padding-top:14px;padding-bottom:14px}#header .emgn-top .logo img{width:42px!important;height:42px!important;max-height:42px!important}#header .emgn-top .logo::after{font-size:20px}#header .emgn-actions{margin-left:auto;gap:10px}#header .emgn-actions>a{min-width:38px;min-height:38px}.emgn-search{order:3;flex-basis:100%}.emgn-search input{font-size:14px;height:45px;padding:11px 12px!important}.emgn-search button{min-height:45px;padding:0 18px}#header .emgn-nav{gap:22px;min-height:49px}.emgn-products>summary{min-width:160px;padding:13px 16px;min-height:49px}.emgn-nav>a{font-size:13px}.emgn-nav>a[href*="chi-siamo"]{display:none}.emgn-mega{left:18px;right:18px;max-height:70vh}.emgn-mega-layout{display:block;padding:14px}.emgn-families{display:grid;grid-template-columns:1fr 1fr;border-right:0;padding:0;gap:5px}.emgn-family-button{border:1px solid #e1eaf0;font-size:13px;padding:10px;min-height:42px}.emgn-families .emgn-all{grid-column:1/-1;margin:2px 0}.emgn-panel{padding:16px 0 8px;border-top:1px solid #e2eaf1}.emgn-panel h2{font-size:22px}.emgn-sublinks{gap:5px 16px}.emgn-sublinks a{font-size:13px;min-height:44px}body.home .em-home-compact-hero{padding-top:27px!important;padding-bottom:25px!important}.emgn-guide{padding:16px}.emgn-guide-head{align-items:start;flex-direction:column;gap:8px}.emgn-guide-head h2{font-size:19px!important}.emgn-guide-grid{gap:8px}.emgn-guide-grid a{font-size:13px;padding:12px}}
@media(max-width:380px){#header .emgn-top .logo::after{font-size:18px}#header .emgn-top .logo{gap:6px}#header .emgn-actions{gap:7px}#header .emgn-nav{gap:17px}.emgn-products>summary{min-width:142px;padding:13px 12px;gap:9px}.emgn-guide-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.emgn-header *{scroll-behavior:auto!important;transition:none!important}}
@media(max-width:800px){.emgn-families{max-height:235px;overflow-y:auto;overscroll-behavior:contain;padding-right:5px}.emgn-panel{margin-top:12px}.emgn-mega{scrollbar-gutter:stable}.emgn-families{scrollbar-gutter:stable}}
@media(max-width:767px){body.home .em-home-compact-hero h1{font-size:28px;line-height:1.17}body.home .em-home-compact-hero-grid{gap:15px}body.home .em-home-compact-intro p{margin-bottom:13px}}
@media(max-width:800px){.emgn-families{grid-template-columns:repeat(2,minmax(0,1fr));overflow-x:hidden}.emgn-family-button{min-width:0;overflow-wrap:anywhere}}
/* The new header is in normal flow; remove the theme's old fixed-header spacer. */
.page-header,.contact-page-header{margin-top:0!important}
