/* Ferrari 3.7 global navigation: isolated styles */
#mg37-shell{font-family:Arial,Helvetica,sans-serif!important;color:#092448!important;position:relative;z-index:9999;line-height:1.4}#mg37-shell *{box-sizing:border-box}#mg37-shell a{text-decoration:none!important}#mg37-shell .mg37-top{background:linear-gradient(90deg,#061b37,#06517c);color:#fff;padding:9px max(18px,3vw);display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:12px}#mg37-shell .mg37-top a{color:#fff!important}#mg37-shell .mg37-bar{background:white;box-shadow:0 3px 15px #09244817;padding:13px max(18px,3vw);display:flex;align-items:center;gap:22px;justify-content:space-between}#mg37-shell .mg37-logo{display:flex;align-items:center;gap:10px;min-width:215px;color:#092448!important;font-weight:800;font-size:20px}#mg37-shell .mg37-logo img{width:48px;height:48px;object-fit:contain}#mg37-shell .mg37-logo small{display:block;color:#67809c;font-size:10px;letter-spacing:.2px;font-weight:500}#mg37-shell .mg37-links{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:center}#mg37-shell .mg37-links>a,#mg37-shell .mg37-drop>button{font-family:inherit!important;font-weight:700!important;font-size:13px!important;line-height:1.4!important;color:#0c2948!important;background:transparent!important;border:0!important;padding:12px 8px!important;cursor:pointer!important;white-space:nowrap!important;border-radius:8px!important;box-shadow:none!important}#mg37-shell .mg37-links>a:hover,#mg37-shell .mg37-drop>button:hover{background:#eaf5fc!important;color:#006ab5!important}#mg37-shell .mg37-drop{position:relative}#mg37-shell .mg37-panel{display:none;position:absolute;top:100%;left:0;min-width:240px;max-height:65vh;overflow-y:auto;background:#fff;border:1px solid #dbeaf4;border-radius:12px;box-shadow:0 12px 35px #09244826;padding:9px;z-index:10000}#mg37-shell .mg37-drop:hover .mg37-panel,#mg37-shell .mg37-drop:focus-within .mg37-panel,#mg37-shell .mg37-drop.open .mg37-panel{display:block}#mg37-shell .mg37-panel a{display:block;color:#123450!important;font-size:13px!important;font-weight:600!important;padding:10px 12px!important;border-radius:7px}#mg37-shell .mg37-panel a:hover{background:#e9f7fc;color:#006eae!important}#mg37-shell .mg37-actions{display:flex;align-items:center;gap:9px;flex-shrink:0}#mg37-shell .mg37-lang{display:flex;background:#eaf3fc;border-radius:30px;padding:3px;gap:2px}#mg37-shell .mg37-lang button{border:0!important;background:transparent!important;color:#264e72!important;border-radius:30px!important;padding:8px 10px!important;font-weight:800!important;cursor:pointer!important;font-size:13px!important;box-shadow:none!important}#mg37-shell .mg37-lang button.active{background:#0079c6!important;color:#fff!important}#mg37-shell .mg37-quote{background:#0087cc!important;color:#fff!important;border-radius:30px;padding:12px 16px;font-size:13px;font-weight:800;white-space:nowrap}#mg37-shell .mg37-mobile{display:none;border:1px solid #d4e4f0;background:#f4faff;border-radius:8px;padding:8px 12px;font-size:20px;cursor:pointer}#mg37-shell .mg37-note{display:none}@media(max-width:1250px){#mg37-shell .mg37-bar{flex-wrap:wrap}#mg37-shell .mg37-links{order:3;width:100%;justify-content:flex-start}}@media(max-width:750px){#mg37-shell .mg37-top{font-size:11px}#mg37-shell .mg37-logo{min-width:0;font-size:17px}#mg37-shell .mg37-mobile{display:block}#mg37-shell .mg37-links{display:none;order:3;width:100%;flex-direction:column;align-items:stretch}#mg37-shell .mg37-links.show{display:flex}#mg37-shell .mg37-drop{width:100%}#mg37-shell .mg37-drop>button{width:100%;text-align:left}#mg37-shell .mg37-panel{position:static;box-shadow:none;max-height:none}#mg37-shell .mg37-actions{margin-left:auto}#mg37-shell .mg37-quote{padding:9px 11px;font-size:11px}#mg37-shell .mg37-bar{gap:10px}#mg37-shell .mg37-links>a{width:100%}}
/* Ferrari 3.8: fit desktop navigation on a single row without changing mobile behavior */
@media(min-width:1251px){
#mg37-shell .mg37-bar{gap:clamp(8px,1vw,16px);padding-left:clamp(14px,1.5vw,26px);padding-right:clamp(14px,1.5vw,26px)}
#mg37-shell .mg37-logo{min-width:0;flex:0 0 auto;font-size:clamp(15px,1.25vw,19px);gap:7px}
#mg37-shell .mg37-logo img{width:40px;height:40px}
#mg37-shell .mg37-logo small{font-size:9px}
#mg37-shell .mg37-links{flex:1 1 auto;min-width:0;flex-wrap:nowrap;gap:clamp(1px,.35vw,6px);justify-content:center}
#mg37-shell .mg37-links>a,#mg37-shell .mg37-drop>button{font-size:clamp(11px,.9vw,13px)!important;padding:10px clamp(3px,.45vw,7px)!important}
#mg37-shell .mg37-actions{gap:6px}
#mg37-shell .mg37-quote{font-size:12px;padding:11px 12px}
}
@media(min-width:751px) and (max-width:1250px){#mg37-shell .mg37-links{justify-content:center}}
