/* EnySolar REV L — WhatsApp, gestione preferenze e contatti. Isolato dai CSS del sito. */
#eny-site-whatsapp{position:fixed;bottom:18px;left:16px;z-index:2147482600;display:inline-flex;align-items:center;gap:8px;padding:12px 16px;border-radius:99px;background:#16854e;color:#fff !important;font:700 14px/1.25 system-ui,Arial,sans-serif;text-decoration:none;box-shadow:0 6px 22px #071c24a8;min-height:44px;max-width:calc(100vw - 32px);box-sizing:border-box}
#eny-site-whatsapp:focus-visible,#eny-site-whatsapp:hover{background:#0e6438;outline:2px solid #fff;outline-offset:2px}
#eny-site-whatsapp svg{width:21px;height:21px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
body.eny-consent-visible #eny-site-whatsapp{display:none}
.eny-cookie-settings{display:inline-block;margin:10px 0;color:inherit !important;text-decoration:underline !important;font:600 13px/1.5 system-ui,Arial,sans-serif;cursor:pointer;background:transparent;border:0}
#eny-consent-banner{position:fixed;left:0;bottom:0;width:100%;z-index:2147483500;box-sizing:border-box;display:none;max-height:min(85dvh,700px);overflow:auto;background:#fff;color:#173242;box-shadow:0 -10px 42px #001b2e42;border-top:3px solid #087c75;font:15px/1.55 system-ui,Arial,sans-serif}
#eny-consent-banner.eny-is-visible{display:block}
#eny-consent-banner .eny-c-inner{max-width:1120px;margin:0 auto;padding:18px 24px 18px;box-sizing:border-box}
#eny-consent-banner p{margin:7px 0 14px;color:#24455c;font:inherit}
#eny-consent-banner h2{font:800 20px/1.25 system-ui,Arial,sans-serif;color:#0b3040;margin:0 0 6px}
#eny-consent-banner .eny-c-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
#eny-consent-banner button{font:700 14px/1.25 system-ui,Arial,sans-serif;border-radius:9px;border:2px solid #076b61;min-height:44px;padding:10px 16px;cursor:pointer;white-space:normal}
#eny-consent-banner button.eny-c-primary{background:#086c62;color:#fff}
#eny-consent-banner button.eny-c-outline{background:#fff;color:#085d56}
#eny-consent-banner button:focus-visible{outline:3px solid #e29d13;outline-offset:2px}
#eny-consent-banner .eny-c-extra{display:none;border-top:1px solid #d9e2e5;padding-top:12px;margin:12px 0}
#eny-consent-banner .eny-c-extra.eny-c-expanded{display:block}
#eny-consent-banner .eny-c-choice{display:flex;gap:10px;align-items:center;margin:8px 0}
#eny-consent-banner input[type=checkbox]{width:19px;height:19px;accent-color:#086c62}
#eny-consent-banner a{color:#075d6e;text-decoration:underline}
#eny-consent-banner .eny-c-help{font-size:12px;color:#49616a;margin:8px 0 0}
@media(max-width:640px){#eny-consent-banner .eny-c-inner{padding:16px}#eny-consent-banner h2{font-size:18px}#eny-consent-banner .eny-c-actions{display:grid;grid-template-columns:1fr 1fr}#eny-consent-banner button{font-size:13px}#eny-consent-banner button[data-eny-cookie="personalizza"]{grid-column:span 2}}
@media(prefers-reduced-motion:reduce){#eny-site-whatsapp{scroll-behavior:auto}}

/* REV M — spazio di scorrimento per pulsante WhatsApp e preferenze cookie */
@media (max-width: 767px) {
  footer, .eny-footer, .partner-footer {
    padding-bottom: calc(100px + env(safe-area-inset-bottom)) !important;
  }
  #eny-site-whatsapp { bottom: calc(12px + env(safe-area-inset-bottom)); }
  main > .eny-cookie-settings, body > .eny-cookie-settings {
    display: inline-block;
    margin: 20px 16px 92px;
  }
}
