/* Intestazione e menu condivisi: modifiche solo fino a 767 px. */
.site-mobile-header{display:none}
@media(max-width:767px){
 .header .header-inner{display:flex;align-items:center;gap:8px;height:67px;padding-left:18px;padding-right:18px}
 .header .header-inner>a:first-child{flex:0 1 auto;min-width:0}
 .header .header-inner>a:first-child .logo{width:168px;max-width:100%;max-height:48px;height:auto;object-fit:contain}
 .header .header-brand-logos{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex:0 0 auto;margin-left:auto}
 .header .header-brand-mark{display:flex;align-items:center;justify-content:center;width:36px;height:44px;min-width:0;flex:0 0 auto}
 .header .header-brand-mark img{display:block;width:30px;height:36px;max-width:100%;object-fit:contain}
 .header .header-contact{display:none}
 .header .menu-toggle,.header .menu{display:block;flex:0 0 auto;margin-left:4px;padding:4px;border:0;background:none;color:#191b20;font:25px/1 Arial,sans-serif;cursor:pointer}
 .header #nav.open,.header #siteMobileNav.open{font-size:18px;line-height:1.3;gap:0;padding:10px 18px;max-height:calc(100dvh - 140px);overflow-y:auto;overscroll-behavior-y:contain}
 .header #nav.open a,.header #siteMobileNav.open a{display:block;padding:11px 6px;min-height:46px;font-size:18px;line-height:1.3}
 .site-mobile-header{display:block;position:sticky;top:0;z-index:30;background:#fff;box-shadow:0 2px 12px #00000010;font-family:'DM Sans',Arial,sans-serif;color:#191b20}
 .site-mobile-header *{box-sizing:border-box}
 .site-mobile-header .header-inner{height:67px;padding:0 18px;max-width:1280px;margin:auto}
 .site-mobile-header .logo{width:168px;max-width:100%;height:auto;object-fit:contain;display:block}
 .site-mobile-header a{text-decoration:none;color:inherit}
 .site-mobile-header .nav{display:none}
 .site-mobile-header .nav.open{display:flex;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;background:#fff;box-shadow:0 14px 22px #0002;font-weight:800}
 .site-mobile-header .menu-toggle{border:0;background:none;color:#191b20;font:25px/1 Arial,sans-serif;cursor:pointer}
 .has-mobile-site-header>header.top,.has-mobile-site-header>header.legal-head{display:none}
}
@media(max-width:390px){
 .header .header-inner{gap:6px}
 .header .header-brand-logos{gap:8px}
 .header .header-brand-mark{width:32px}
 .header .header-brand-mark img{width:26px;height:34px}
 .header .header-inner>a:first-child .logo{max-width:148px}
 .header .menu-toggle,.header .menu{margin-left:2px}
}
@media(max-width:360px){
 .header .header-inner{gap:5px}
 .header .header-brand-logos{gap:7px}
 .header .header-brand-mark{width:30px}
 .header .header-brand-mark img{width:24px;height:32px}
 .header .header-inner>a:first-child .logo{max-width:120px}
 .header .menu-toggle,.header .menu{padding:3px}
}

/* Barra mobile: altezza approvata nella home, condivisa da tutti i reparti. */
@media(max-width:767px){
 body.lc-contacts-active{padding-bottom:calc(46px + env(safe-area-inset-bottom,0px))!important}
 body.lc-contacts-active .lc-mobile-contacts{display:grid!important;grid-template-columns:repeat(var(--lc-contact-columns,3),minmax(0,1fr))!important;position:fixed;z-index:40;bottom:0;left:0;right:0;gap:5px!important;padding:4px 6px calc(4px + env(safe-area-inset-bottom,0px))!important;background:#fff;box-shadow:0 -2px 12px #0001;box-sizing:border-box}
 body.lc-contacts-active .lc-mobile-contacts>a{display:flex!important;align-items:center;justify-content:center;box-sizing:border-box;min-width:0;min-height:38px!important;height:38px!important;padding:4px 3px!important;font:800 10px/1.1 'DM Sans',Arial,sans-serif!important;text-align:center;text-decoration:none;border:0;border-radius:4px!important;gap:2px!important;margin:0;color:#fff}
 body.lc-contacts-active .lc-mobile-contacts>a[hidden]{display:none!important}
 body.lc-contacts-active .lc-mobile-contacts>a.lc-contact-call{background:#23ae5b;color:#fff}
 body.lc-contacts-active .lc-mobile-contacts>a.lc-contact-write{background:#202226;color:#fff}
 body.lc-contacts-active .lc-mobile-contacts>a.lc-contact-whatsapp{background:#128c7e;color:#fff;flex-direction:column}
 body.lc-contacts-active .lc-mobile-contacts>a strong,body.lc-contacts-active .lc-mobile-contacts>a span{font-size:10px!important;line-height:1.1!important}
 body.lc-contacts-active .lc-mobile-contacts>a:focus-visible{outline:2px solid #191b20;outline-offset:1px}
 body.lc-contacts-active .vehicle-floating-request{display:none}
}
