/* Eldok Homepage v0.9.4 — footer integrato compatto, mantenendo full bleed */
body.eldok-footer-enabled #footer,
body.eldok-footer-enabled footer.ct-footer,
body.eldok-footer-enabled footer#colophon {display:none!important}
.eldok-footer-v1{box-sizing:border-box!important;background:#081d3c!important;color:#cbd8ea!important;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;font-size:14px!important;line-height:1.55!important;position:relative;z-index:1}
.eldok-footer-v1 *{box-sizing:border-box!important}
.eldok-footer-v1 .ef-container{width:100%!important;max-width:none!important;margin:0!important;padding-inline:clamp(18px,2.4vw,48px)!important}
.eldok-footer-v1 .ef-top{display:grid;grid-template-columns:1.55fr 1fr 1fr 1.12fr;gap:clamp(20px,2.6vw,50px);padding:34px 0 26px}
.eldok-footer-v1 a{color:inherit!important;text-decoration:none!important;background:transparent!important;transition:color .15s}
.eldok-footer-v1 a:hover,.eldok-footer-v1 a:focus-visible{color:#ffffff!important;text-decoration:underline!important}
.eldok-footer-v1 a:focus-visible{outline:2px solid #80b1ff;outline-offset:4px}
.eldok-footer-v1 .ef-logo{color:#fff!important;font-weight:850;font-size:44px!important;letter-spacing:-3.2px;line-height:1.2!important;display:inline-block;margin:-4px 0 8px}
.eldok-footer-v1 .ef-logo span{color:#4e94ff}
/* WP theme logo retains legacy white treatment; user-selected logo keeps original colors. */
.eldok-footer-v1 .ef-logo .ef-actual-logo{max-width:198px!important;max-height:72px!important;height:auto!important;width:auto!important;display:block!important;object-fit:contain}
.eldok-footer-v1 .ef-logo .ef-theme-logo{filter:brightness(0) invert(1)}
.eldok-footer-v1 .ef-logo .ef-selected-logo{filter:none!important}
.eldok-footer-v1 .ef-logo.ef-logo-light-bg{display:inline-flex!important;background:#fff!important;padding:10px 14px!important;border-radius:12px!important;margin-bottom:14px!important}
.eldok-footer-v1 .ef-logo.ef-logo-light-bg .ef-selected-logo{max-height:68px!important}
.eldok-footer-v1 .ef-brand-col p{font-size:13px!important;line-height:1.65!important;color:#adbed6!important;max-width:285px;margin:0 0 12px!important}
.eldok-footer-v1 .ef-contact-primary,.eldok-footer-v1 .ef-contact-secondary{display:block;width:fit-content;font-size:13px!important;margin:0 0 5px;overflow-wrap:anywhere}
.eldok-footer-v1 .ef-contact-primary{color:#fff!important;font-weight:650}
.eldok-footer-v1 .ef-col h2{font-size:14px!important;line-height:1.3!important;letter-spacing:0!important;font-weight:750!important;color:#fff!important;margin:2px 0 12px!important;padding:0!important;border:0!important}
.eldok-footer-v1 .ef-col ul{list-style:none!important;display:flex;flex-direction:column;gap:8px;padding:0!important;margin:0!important}
.eldok-footer-v1 .ef-col li{padding:0!important;margin:0!important;font-size:13px!important;line-height:1.4!important;list-style:none!important}
.eldok-footer-v1 .ef-col ul a{color:#becde1!important}
.eldok-footer-v1 .ef-whatsapp{display:inline-flex;align-items:center;gap:6px;margin-top:15px;padding:9px 13px;background:#1768e5!important;border:1px solid #347be8;border-radius:9px;color:#fff!important;font-weight:700;font-size:12px!important}
.eldok-footer-v1 .ef-whatsapp:hover{background:#2c7fff!important;text-decoration:none!important}
.eldok-footer-v1 .ef-payment-area{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 0;border-top:1px solid rgba(204,222,245,.17);border-bottom:1px solid rgba(204,222,245,.17)}
.eldok-footer-v1 .ef-payment-title{display:flex;flex-direction:column;gap:4px;min-width:210px}
.eldok-footer-v1 .ef-payment-title strong{font-size:13px!important;line-height:1.3!important;color:#fff!important}
.eldok-footer-v1 .ef-payment-title span{font-size:11px!important;color:#99adc9!important;line-height:1.45!important}
.eldok-footer-v1 .ef-payments{display:flex;gap:8px;flex-wrap:wrap;align-items:center;justify-content:flex-end}
.eldok-footer-v1 .ef-payment{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:83px;height:39px;padding:5px 10px;background:#fff;border:1px solid #e7edf6;border-radius:9px;color:#17304f!important;white-space:nowrap}
.eldok-footer-v1 .ef-payment svg{display:block;width:68px;height:25px;overflow:visible}
.eldok-footer-v1 .ef-payment.ef-paypal svg{width:75px}
.eldok-footer-v1 .ef-payment.ef-klarna{background:#ffb3c7;border-color:#ffb3c7}
.eldok-footer-v1 .ef-payment.ef-mastercard{min-width:72px}
.eldok-footer-v1 .ef-payment.ef-mastercard svg{width:58px}
.eldok-footer-v1 .ef-payment.ef-generic{gap:7px;font-weight:750;font-size:12px!important}
.eldok-footer-v1 .ef-payment.ef-generic svg{width:26px;height:23px}
.eldok-footer-v1 .ef-legal{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:14px 0 17px}
.eldok-footer-v1 .ef-legal p{color:#91a5c1!important;font-size:11px!important;line-height:1.55!important;margin:0 0 3px!important;padding:0!important}
.eldok-footer-v1 .ef-legal p strong{color:#cbd8ea!important;font-size:11px!important}
.eldok-footer-v1 .ef-copyright{color:#91a5c1!important;font-size:11px!important;text-align:right;white-space:nowrap;padding-top:3px}
.ef-admin .ef-admin-status{background:#f0f5ff;border:1px solid #c7d9f5;border-radius:8px;padding:15px 20px;line-height:1.8;max-width:960px;margin:18px 0}
.ef-admin .ef-live-settings{padding:16px;border:1px solid #bbd0eb;border-radius:10px;max-width:960px;background:#f3f8ff}
.ef-admin .ef-live-settings p{margin-bottom:0}
.ef-admin .ef-page-table{max-width:960px}
.ef-admin .ef-page-table select{max-width:330px;width:100%}
.ef-admin .eldok-footer-demo{margin-top:16px;width:calc(100% - 12px);max-width:none;box-shadow:0 12px 38px rgba(0,24,55,.1);border-radius:12px;overflow:hidden}
.ef-admin .ef-logo-admin-picker{display:flex;flex-direction:column;align-items:flex-start;gap:12px;max-width:660px;padding:18px;border:1px solid #c8d8ee;background:#f7faff;border-radius:12px;margin:12px 0 22px}
.ef-admin .ef-logo-selected-preview{display:flex;align-items:center;justify-content:center;min-width:250px;min-height:118px;max-width:100%;padding:18px 24px;border-radius:10px;background:#081d3c;color:#d8e6ff}
.ef-admin .ef-logo-selected-preview img{display:block;max-width:min(280px,75vw);max-height:94px;width:auto;height:auto;object-fit:contain}
.ef-admin .ef-logo-empty{display:block;font-size:12px;max-width:270px;text-align:center;line-height:1.5}
.ef-admin .ef-logo-buttons{display:flex;gap:10px;flex-wrap:wrap}
.ef-admin .ef-logo-background{display:inline-flex;gap:7px;align-items:center}
.ef-admin .ef-logo-background input{margin:0}
.ef-admin .ef-logo-admin-picker .description{margin:0}
.ef-admin .ef-logo-selected-preview.ef-is-light{background:#f2f7ff}

@media(max-width:960px){.eldok-footer-v1 .ef-container{padding-inline:20px!important}.eldok-footer-v1 .ef-top{grid-template-columns:1.3fr 1fr;gap:24px;padding:30px 0 24px}.eldok-footer-v1 .ef-payment-area{align-items:flex-start;flex-direction:column}.eldok-footer-v1 .ef-payments{justify-content:flex-start}}
@media(max-width:540px){.eldok-footer-v1 .ef-container{padding-inline:14px!important}.eldok-footer-v1 .ef-top{grid-template-columns:1fr 1fr;column-gap:17px;row-gap:23px;padding:27px 0 22px}.eldok-footer-v1 .ef-brand-col{grid-column:1 / -1}.eldok-footer-v1 .ef-col{min-width:0}.eldok-footer-v1 .ef-col h2{font-size:13px!important;margin-bottom:11px!important}.eldok-footer-v1 .ef-col ul{gap:8px}.eldok-footer-v1 .ef-col li{font-size:12px!important}.eldok-footer-v1 .ef-brand-col p{max-width:380px}.eldok-footer-v1 .ef-logo{font-size:38px!important}.eldok-footer-v1 .ef-payment-area{padding:14px 0;gap:12px}.eldok-footer-v1 .ef-payments{gap:6px}.eldok-footer-v1 .ef-payment{min-width:77px;height:37px;padding:4px 8px}.eldok-footer-v1 .ef-payment svg{width:62px;height:23px}.eldok-footer-v1 .ef-payment.ef-paypal svg{width:69px}.eldok-footer-v1 .ef-payment.ef-generic{font-size:11px!important}.eldok-footer-v1 .ef-payment.ef-generic svg{width:21px}.eldok-footer-v1 .ef-legal{display:flex;flex-direction:column;gap:8px;padding:14px 0 18px}.eldok-footer-v1 .ef-copyright{text-align:left;white-space:normal}}
@media(prefers-reduced-motion:reduce){.eldok-footer-v1 a{transition:none}}

/* v0.9.4 — sfondo full bleed con contenuto arioso ma ben distanziato dai bordi */
html body .eldok-home-footer-fullbleed{
  position:relative!important;display:block!important;
  left:50%!important;right:auto!important;
  width:100vw!important;max-width:none!important;
  margin:0 0 0 -50vw!important;transform:none!important;
  padding:0!important;border:0!important;overflow:clip!important;
  background:#081d3c!important;
}
html body .eldok-home-footer-fullbleed .ef-container{
  width:100%!important;max-width:none!important;
  margin:0!important;padding-inline:clamp(28px,3.3vw,64px)!important;
}
html body .eldok-home-footer-fullbleed .ef-top{
  grid-template-columns:minmax(240px,1.5fr) repeat(2,minmax(130px,1fr)) minmax(210px,1.2fr);
  gap:clamp(20px,2.6vw,46px);
}
@media(max-width:960px){
  html body .eldok-home-footer-fullbleed .ef-top{
    grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px 22px;
  }
}
@media(max-width:540px){
  html body .eldok-home-footer-fullbleed .ef-container{padding-inline:16px!important;}
  html body .eldok-home-footer-fullbleed .ef-top{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px;}
  html body .eldok-home-footer-fullbleed .ef-brand-col{grid-column:1 / -1;}
}
/* Niente doppio footer Blocksy o vecchio Eldok Homepage quando il nuovo e' LIVE. */
body.eldok-home-footer-live #footer,
body.eldok-home-footer-live footer.ct-footer,
body.eldok-home-footer-live footer#colophon,
body.eldok-home-footer-live #eldok-hp-custom-footer{display:none!important;}
/* In admin la preview resta nel riquadro, non deborda fuori dalla pagina. */
.ef-admin .eldok-footer-demo .eldok-home-footer-fullbleed{left:auto!important;width:100%!important;margin:0!important;}
