/* Eldok Spedizioni v0.1.0 · CSS isolato alla pagina selezionata */
body.eldok-shipping-page{overflow-x:clip;}
body.eldok-shipping-page #main-container > main#main{margin:0!important;padding:0!important;min-height:0!important;height:auto!important;flex:0 0 auto!important;}
body.eldok-shipping-page #main-container > main#main > .ct-container,
body.eldok-shipping-page main#main .ct-container,
body.eldok-shipping-page main#main .ct-container-full,
body.eldok-shipping-page main#main .content-area,
body.eldok-shipping-page main#main .entry-content,
body.eldok-shipping-page main#main .site-content,
body.eldok-shipping-page main#main article.type-page{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;min-height:0!important;}
body.eldok-shipping-page main#main .entry-header,
body.eldok-shipping-page main#main .page-header,
body.eldok-shipping-page main#main .page-title,
body.eldok-shipping-page main#main .ct-breadcrumbs{display:none!important;}
body.eldok-shipping-page main#main .entry-content > :first-child{margin-top:0!important;}
body.eldok-shipping-page main#main .entry-content > :last-child{margin-bottom:0!important;}
body.eldok-shipping-page #eldok-hp-custom-footer,
body.eldok-shipping-page #footer{margin-top:0!important;}

.eldok-shipping{--esh-blue:#1768E5;--esh-navy:#102742;--esh-deep:#081D3C;--esh-ice:#F4F8FF;--esh-text:#677991;--esh-line:#dbe6f3;position:relative;isolation:isolate;width:100vw!important;max-width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;overflow:hidden;background:#fff;color:var(--esh-navy);font-family:inherit;line-height:1.6;}
.eldok-shipping *,.eldok-shipping *::before,.eldok-shipping *::after{box-sizing:border-box;}
.eldok-shipping :is(h1,h2,h3,p){margin:0;padding:0;}
.eldok-shipping :is(h1,h2,h3){font-family:inherit;color:inherit;font-weight:800;line-height:1.14;letter-spacing:-.037em;}
.eldok-shipping a{text-decoration:none;color:inherit;}
.eldok-shipping a:focus-visible,.eldok-shipping summary:focus-visible{outline:3px solid #90beff;outline-offset:3px;}
.eldok-shipping svg{display:block;flex-shrink:0;}
.esh-shell{width:min(1420px,calc(100% - 80px));margin:0 auto;}
.esh-eyebrow{color:var(--esh-blue);font-size:11px;font-weight:820;letter-spacing:.14em;line-height:1.5;display:inline-flex;align-items:center;gap:10px;text-transform:uppercase;}
.esh-eyebrow.esh-on-dark{color:#a7d0ff;}
.esh-line{width:25px;height:2px;background:#318dfc;}
.esh-primary{display:inline-flex;align-items:center;justify-content:space-between;gap:20px;background:var(--esh-blue);padding:14px 20px!important;border-radius:6px;color:white!important;font-size:14px;font-weight:780;line-height:1.4;transition:background .18s;}
.esh-primary:hover{background:#1055c3;color:white!important;}
.esh-section-heading{max-width:870px;margin-bottom:32px;}
.esh-section-heading h2{font-size:clamp(30px,3vw,44px);margin:9px 0 12px;}
.esh-section-heading p{color:var(--esh-text);font-size:15px;line-height:1.7;}

/* Header / Hero */
.esh-hero{background:linear-gradient(120deg,var(--esh-deep),#102742 70%,#183658);color:#fff;}
.esh-hero-grid{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(320px,.82fr);gap:78px;align-items:stretch;}
.esh-hero-copy{padding:74px 0 77px;align-self:center;}
.esh-hero h1{font-size:clamp(42px,4.65vw,68px);max-width:800px;color:white;margin:21px 0 19px;}
.esh-hero-copy>p{font-size:clamp(15px,1.18vw,18px);color:#c4d6ed;line-height:1.72;max-width:660px;}
.esh-hero-copy .esh-primary{margin-top:27px;}
.esh-hero-summary{border-left:1px solid rgba(255,255,255,.15);padding:62px 0 55px 44px;display:flex;flex-direction:column;justify-content:center;}
.esh-mini{font-size:10px;letter-spacing:.14em;color:#9eb9d8;font-weight:800;margin-bottom:16px;}
.esh-hero-fact{display:flex;gap:17px;align-items:center;border-top:1px solid rgba(255,255,255,.13);padding:19px 0;}
.esh-hero-fact:last-child{border-bottom:1px solid rgba(255,255,255,.13);}
.esh-fact-icon{width:43px;height:43px;display:grid;place-items:center;border-radius:8px;background:rgba(23,104,229,.18);color:#9fcaff;}
.esh-hero-fact strong{display:block;font-size:17px;color:#fff;font-weight:760;margin-bottom:2px;}
.esh-hero-fact small{display:block;color:#adbfda;font-size:12px;line-height:1.5;}

/* Costi */
.esh-pricing{padding:74px 0 79px;background:#fff;scroll-margin-top:70px;}
.esh-rates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch;}
.esh-rate{position:relative;min-height:272px;background:#fff;border:1px solid #dce6f3;border-top:3px solid #102742;border-radius:9px;padding:30px 28px;display:flex;flex-direction:column;overflow:hidden;}
.esh-rate-featured{border-color:#c4d8f4;border-top-color:var(--esh-blue);background:linear-gradient(150deg,#eef6ff,#fff 77%);}
.esh-rate-kicker{font-size:11px;font-weight:830;letter-spacing:.1em;color:var(--esh-blue);margin-bottom:16px;}
.esh-rate .esh-price{color:var(--esh-navy);font-size:clamp(33px,3.2vw,48px);font-weight:840;letter-spacing:-.06em;line-height:1.1;margin-bottom:19px;white-space:nowrap;}
.esh-rate h3{font-size:18px;letter-spacing:-.025em;margin-bottom:9px;}
.esh-rate p{font-size:13px;color:var(--esh-text);line-height:1.7;max-width:390px;}
.esh-rate-decoration{position:absolute;top:25px;right:25px;color:#a0bada;}
.esh-rate-featured .esh-rate-decoration{color:var(--esh-blue);}
.esh-rate-note{border-top:1px solid #dbe6f3;display:flex;gap:12px;align-items:flex-start;margin-top:28px;padding-top:20px;color:var(--esh-text);max-width:1160px;}
.esh-rate-note svg{color:var(--esh-blue);margin-top:2px;}
.esh-rate-note p{font-size:12px;line-height:1.7;}

/* Consegna */
.esh-delivery{background:var(--esh-ice);padding:78px 0 82px;}
.esh-delivery-grid{display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:90px;}
.esh-delivery-head{max-width:550px;}
.esh-delivery-head h2{font-size:clamp(31px,3.25vw,47px);margin:13px 0 18px;}
.esh-delivery-head p{color:#425d79;font-size:15px;line-height:1.75;margin-top:11px;}
.esh-delivery-head p strong{font-weight:800;color:var(--esh-navy);}
.esh-delivery-head .esh-muted{font-size:13px;color:var(--esh-text);}
.esh-steps{list-style:none;margin:0!important;padding:0!important;border-top:1px solid #c9dbef;}
.esh-steps li{display:grid;grid-template-columns:48px 1fr;gap:23px;padding:23px 0;border-bottom:1px solid #c9dbef;}
.esh-step-number{font-size:12px;font-weight:830;letter-spacing:.1em;color:var(--esh-blue);padding-top:2px;}
.esh-steps h3{font-size:18px;margin-bottom:7px;}
.esh-steps p{font-size:13px;color:var(--esh-text);line-height:1.7;}

/* Corrieri */
.esh-carriers{padding:75px 0 82px;background:#fff;}
.esh-carrier-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;}
.esh-carrier{min-width:0;min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;padding:26px;background:#fff;border:1px solid #d9e6f4;border-radius:12px;}
.esh-carrier-logo{height:128px;width:100%;display:flex;align-items:center;justify-content:center;gap:15px;position:relative;}
.esh-carrier-logo img{display:block;max-width:88%;max-height:118px;width:auto;height:auto;object-fit:contain;}
.esh-carrier-logo strong{font-size:30px;font-weight:850;color:#102742;white-space:nowrap;}
.esh-carrier-logo:has(img:not([style*="none"])) strong{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;}
.esh-carrier>span{font-size:11px;font-weight:820;letter-spacing:.16em;color:#7c90a6;}
.esh-carrier-note{font-size:13px;color:var(--esh-text);text-align:center;margin:20px auto 0!important;max-width:850px;}

/* FAQ */
.esh-faq{padding:77px 0 80px;background:#f8fafc;}
.esh-faq-grid{display:grid;grid-template-columns:minmax(0,.83fr) minmax(0,1.17fr);gap:85px;}
.esh-faq-grid>div:first-child h2{font-size:clamp(30px,3.3vw,45px);margin:12px 0 14px;max-width:540px;}
.esh-faq-grid>div:first-child p{font-size:14px;color:var(--esh-text);max-width:500px;}
.esh-faq-list{border-top:1px solid #ccdaea;}
.esh-faq-list details{border-bottom:1px solid #ccdaea;}
.esh-faq-list summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:21px 4px;color:var(--esh-navy);font-size:15px;font-weight:740;cursor:pointer;list-style:none;}
.esh-faq-list summary::-webkit-details-marker{display:none;}
.esh-faq-list summary span{width:28px;height:28px;flex:none;display:grid;place-items:center;border:1px solid #cee0ef;border-radius:50%;background:#fff;}
.esh-faq-list summary span::before{content:'+';font-size:21px;font-weight:400;line-height:1;color:var(--esh-blue);}
.esh-faq-list details[open] summary span::before{content:'−';}
.esh-faq-list details p{font-size:13px;line-height:1.75;color:var(--esh-text);padding:0 48px 24px 4px;}

/* Finale */
.esh-ending{background:var(--esh-deep);padding:70px 0 74px;color:#fff;}
.esh-ending-layout{display:flex;justify-content:space-between;align-items:center;gap:44px;}
.esh-ending h2{font-size:clamp(31px,3.3vw,46px);margin:12px 0 13px;color:#fff;}
.esh-ending p{color:#bacde5;font-size:14px;max-width:610px;line-height:1.75;}
.esh-ending-actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end;align-items:center;max-width:440px;}
.esh-secondary{display:inline-flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid #7897c0;border-radius:6px;color:white!important;padding:13px 18px!important;font-size:14px;font-weight:740;}
.esh-secondary:hover{border-color:white;color:white!important;}
.esh-policy{font-size:13px;color:#afd0ff!important;display:inline-flex;gap:8px;align-items:center;}
.esh-contacts-fallback{font-size:13px;color:#bad0ec;max-width:340px;}

@media(max-width:1100px){.esh-shell{width:calc(100% - 56px);}.esh-hero-grid{gap:30px;grid-template-columns:minmax(0,1fr) minmax(280px,.85fr);}.esh-hero-summary{padding-left:25px;}.esh-delivery-grid,.esh-faq-grid{gap:45px;}}
@media(max-width:800px){.esh-shell{width:calc(100% - 40px);}.esh-hero-grid{grid-template-columns:1fr;gap:0;}.esh-hero-copy{padding:48px 0 34px;}.esh-hero-summary{border-left:0;border-top:1px solid rgba(255,255,255,.14);padding:20px 0 34px;}.esh-hero-fact{padding:14px 0;}.esh-rates{grid-template-columns:1fr 1fr;}.esh-rate:last-child{grid-column:1/-1;min-height:auto;}.esh-delivery-grid,.esh-faq-grid{grid-template-columns:1fr;gap:30px;}.esh-ending-layout{align-items:flex-start;flex-direction:column;gap:26px;}.esh-ending-actions{justify-content:flex-start;}.esh-pricing,.esh-carriers,.esh-delivery,.esh-faq{padding:52px 0;}.esh-ending{padding:48px 0;}}
@media(max-width:560px){.esh-shell{width:calc(100% - 30px);}.esh-hero h1{font-size:clamp(36px,9.7vw,49px);}.esh-hero-copy{padding:39px 0 28px;}.esh-rates{grid-template-columns:1fr;gap:12px;}.esh-rate,.esh-rate:last-child{grid-column:auto;min-height:auto;padding:25px 23px;}.esh-rate .esh-price{font-size:37px;}.esh-carrier-grid{grid-template-columns:1fr;gap:12px;}.esh-carrier{min-height:210px;}.esh-carrier-logo{height:96px;}.esh-carrier-logo img{max-width:82%;max-height:90px;}.esh-steps li{grid-template-columns:35px 1fr;gap:12px;}.esh-section-heading{margin-bottom:23px;}.esh-faq-list details p{padding-right:12px;}.esh-ending-actions{width:100%;}.esh-ending-actions>a{width:100%;justify-content:center;}.esh-ending h2{font-size:33px;}.esh-hero-fact strong{font-size:15px;}}
@media(prefers-reduced-motion:reduce){.esh-primary{transition:none;}}


/* v0.1.1 — riduzione spazio tra header e hero */
body.eldok-shipping-page .ct-container,
body.eldok-shipping-page .ct-container-full,
body.eldok-shipping-page .site-main,
body.eldok-shipping-page .content-area,
body.eldok-shipping-page .site-content,
body.eldok-shipping-page .ct-section,
body.eldok-shipping-page .ct-section-inner-wrap{margin-top:0!important;padding-top:0!important;}
body.eldok-shipping-page #main-container,
body.eldok-shipping-page #main-container > main#main{padding-top:0!important;margin-top:0!important;}


/* I loghi hanno ora una dimensione di rendering esplicita, non soltanto una max-height. */
.eldok-shipping .esh-carrier-logo{
  width:100%;
  height:160px;
  overflow:visible;
}
.eldok-shipping .esh-carrier-logo img{
  display:block;
  width:min(86%, 420px)!important;
  max-width:none!important;
  height:150px!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center!important;
}
.eldok-shipping .esh-carrier{min-height:285px;}
@media (max-width:767px){
  .eldok-shipping .esh-carrier{min-height:215px;}
  .eldok-shipping .esh-carrier-logo{height:112px;}
  .eldok-shipping .esh-carrier-logo img{
    width:min(88%, 330px)!important;
    height:106px!important;
  }
}


/* v0.1.3 — il distacco appartiene al MAIN, non allo shortcode.
 * Un margin-top negativo sul contenitore di flusso sposta insieme il contenuto
 * e il footer; position:relative/top del wrapper lasciava uno spazio in fondo.
 * Valori desktop/mobile dinamici, impostati solo sulla pagina Spedizioni.
 */
body.eldok-shipping-page #eldok-shipping.eldok-shipping{
  top:auto!important;
  margin-top:0!important;
  margin-bottom:0!important;
}
body.eldok-shipping-page #main-container > main#main{
  margin-top:calc(-1 * var(--esh-header-shift, 40px))!important;
  margin-bottom:0!important;
}
@media(max-width:767px){
  body.eldok-shipping-page #main-container > main#main{
    margin-top:calc(-1 * var(--esh-header-shift-mobile, 0px))!important;
  }
}
