/* Eldok Homepage v0.9.11 — Speciale Bucato + percorsi tematici.
   Unico namespace CSS: nessuna modifica al resto della Homepage, Blocksy o WooCommerce. */
.eldok-hp-discovery,
.eldok-hp-discovery *,
.eldok-hp-discovery *::before,
.eldok-hp-discovery *::after { box-sizing:border-box; }
.eldok-hp-discovery { display:block; width:100%; max-width:none; margin:0; padding:0; color:#102742; font-family:inherit; line-height:1.45; background:#fff; }
.eldok-hp-discovery [hidden] { display:none!important; }
.eldok-hp-discovery a { text-decoration:none!important; }
.eldok-hp-discovery button { font-family:inherit; cursor:pointer; }
.eldok-hp-discovery button:focus-visible,
.eldok-hp-discovery a:focus-visible { outline:3px solid #ff9d45!important; outline-offset:3px!important; }

/* Primo blocco, tra prodotti in evidenza e ricambi. */
.eldok-hp-discovery-main { background:linear-gradient(105deg,#f1f8ff 0%,#e5f3ff 55%,#d9edff 100%); overflow:hidden; }
.eldok-hp-discovery-inner { width:calc(100% - 64px); max-width:1740px; margin:0 auto; padding:34px 0; min-height:460px; display:grid; grid-template-columns:minmax(240px,.97fr) minmax(600px,1.97fr) minmax(235px,.88fr); align-items:center; gap:clamp(18px,1.75vw,32px); }
.eldok-hp-discovery-intro { min-width:0; padding:12px 0; }
.eldok-hp-discovery-eyebrow { display:block!important; margin:0 0 14px!important; color:#1768e5!important; font-size:13px!important; font-weight:800!important; letter-spacing:.075em!important; }
.eldok-hp-discovery h2 { margin:0 0 17px!important; color:#102742!important; font-size:clamp(29px,2.7vw,44px)!important; line-height:1.13!important; font-weight:800!important; letter-spacing:-.035em!important; }
.eldok-hp-discovery-intro p { margin:0 0 23px!important; color:#516b8a!important; font-size:16px!important; line-height:1.65!important; }
.eldok-hp-discovery-maincta { display:inline-flex!important; align-items:center; justify-content:center; gap:12px; min-height:48px; padding:12px 20px!important; border-radius:28px; background:#1768e5!important; color:#fff!important; font-size:14px!important; font-weight:800!important; box-shadow:0 8px 18px rgba(23,104,229,.18); }
.eldok-hp-discovery-maincta:hover { background:#102742!important; color:#fff!important; }

/* Pannello finder: prodotti leggibili, immagini principali molto piu' grandi della v0.9.8. */
.eldok-hp-discovery-finder { position:relative; z-index:2; min-width:0; width:100%; padding:20px 20px 17px; background:rgba(255,255,255,.97); border:1px solid #dbe7f5; border-radius:18px; box-shadow:0 14px 34px rgba(23,69,116,.085); }
.eldok-hp-discovery-tabs { display:flex; align-items:center; flex-wrap:wrap; gap:9px; margin:0 0 14px; }
.eldok-hp-discovery-tabs button { border:0!important; border-radius:24px; min-height:43px; padding:10px 22px!important; background:#e4f1ff!important; color:#1768e5!important; font-size:14px!important; line-height:1.2!important; font-weight:800!important; box-shadow:none!important; }
.eldok-hp-discovery-tabs button[aria-selected="true"] { color:#fff!important; background:#1768e5!important; box-shadow:0 5px 12px rgba(23,104,229,.18)!important; }
.eldok-hp-discovery-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; min-height:0; }
.eldok-hp-discovery-product { display:flex; flex-direction:column; min-width:0; padding:12px; border:1px solid #e0eaf6; border-radius:13px; color:#102742; background:#fff; box-shadow:0 3px 11px rgba(26,69,116,.04); transition:border-color .15s,box-shadow .15s; }
.eldok-hp-discovery-product:hover { border-color:#a6c9fb; box-shadow:0 7px 22px rgba(23,104,229,.1); }
.eldok-hp-discovery-product-media { display:flex!important; align-items:center; justify-content:center; width:100%; height:140px; min-width:0; overflow:hidden; }
.eldok-hp-discovery .eldok-hp-discovery-product-image { display:block!important; width:auto!important; height:136px!important; max-height:136px!important; max-width:100%!important; margin:0!important; border:0!important; border-radius:0!important; box-shadow:none!important; object-fit:contain!important; }
.eldok-hp-discovery-product-name { display:-webkit-box!important; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; margin:10px 0 7px!important; min-height:53px; color:#102742!important; font-size:13.5px!important; line-height:1.32!important; font-weight:750!important; }
.eldok-hp-discovery-product-price { margin-top:auto; color:#102742!important; font-size:18px!important; line-height:1.3!important; font-weight:900!important; }
.eldok-hp-discovery-product-price del { color:#8b9aae!important; font-size:12px!important; font-weight:500!important; margin-right:5px; white-space:nowrap; }
.eldok-hp-discovery-product-price ins { color:#102742!important; text-decoration:none!important; font-size:18px!important; font-weight:900!important; }
.eldok-hp-discovery-product-link { display:flex!important; align-items:center; justify-content:space-between; gap:8px; margin-top:10px!important; min-height:41px; padding:10px 12px!important; background:#1768e5!important; color:#fff!important; border-radius:8px; font-size:13px!important; font-weight:800!important; line-height:1.3!important; }
.eldok-hp-discovery-product-link:hover { background:#102742!important; color:#fff!important; }
.eldok-hp-discovery-finder-foot { text-align:right; margin-top:13px; }
.eldok-hp-discovery-finder-foot a { color:#1768e5!important; font-size:13px!important; font-weight:800!important; }
.eldok-hp-discovery-empty, .eldok-hp-discovery-empty-admin { margin:12px 0 0!important; padding:15px; background:#f4f8ff; border-radius:10px; color:#516784!important; font-size:14px!important; line-height:1.5; }
.eldok-hp-discovery-empty a { color:#1768e5!important; font-weight:750!important; }
.eldok-hp-discovery-lifestyle { height:100%; min-height:380px; align-self:stretch; position:relative; background-image:linear-gradient(to right,rgba(222,238,250,.85),rgba(222,238,250,0) 25%),url('laundry-scene.webp'); background-position:center right; background-size:cover; background-repeat:no-repeat; mask-image:linear-gradient(to right,transparent 0%,black 15%); -webkit-mask-image:linear-gradient(to right,transparent 0%,black 15%); }
.eldok-hp-discovery-lifestyle::after { content:"Meno pensieri,\A più tempo per te."; white-space:pre; position:absolute; right:10px; top:26px; color:#102742; font:italic 700 17px/1.2 Georgia,serif; text-align:right; text-shadow:0 2px 5px rgba(255,255,255,.9); }

/* Tre banner, ora staccati dal bucato e posizionati subito sopra Acquista con tranquillita'. */
.eldok-hp-discovery--promos-only { padding:25px 0 30px; }
.eldok-hp-discovery-promos { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; width:calc(100% - 64px); max-width:1740px; margin:0 auto; }
.eldok-hp-discovery-promo { position:relative; isolation:isolate; overflow:hidden; display:flex; align-items:center; min-width:0; min-height:225px; border-radius:14px; }
.eldok-hp-discovery-promo--comfort { color:#fff; background:linear-gradient(115deg,#a84910 0%,#ca641a 60%,#eea24d 100%); }
.eldok-hp-discovery-promo--climate { color:#fff; background:linear-gradient(110deg,#14899c 0%,#39a0b1 66%,#bce5ea 100%); }
.eldok-hp-discovery-promo--refurb { color:#102742; background:linear-gradient(115deg,#f1f5f8 0%,#dbe5ed 100%); }
.eldok-hp-discovery-promo-copy { position:relative; z-index:2; width:64%; padding:24px 12px 24px 24px; min-width:0; }
.eldok-hp-discovery-promo h3 { color:inherit!important; font-size:clamp(21px,1.6vw,28px)!important; font-weight:800!important; line-height:1.22!important; letter-spacing:-.025em!important; margin:0 0 11px!important; }
.eldok-hp-discovery-promo p { color:inherit!important; font-size:14px!important; line-height:1.5!important; margin:0 0 17px!important; }
.eldok-hp-discovery-promo a { display:inline-flex!important; align-items:center; gap:9px; min-height:42px; padding:11px 15px!important; white-space:nowrap; color:#102742!important; background:#fff!important; border-radius:24px; box-shadow:0 6px 14px rgba(5,24,40,.1); font-size:12px!important; font-weight:800!important; }
.eldok-hp-discovery-promo a:hover { color:#1768e5!important; background:#f4f8ff!important; }
.eldok-hp-discovery-promo--refurb a { color:#fff!important; background:#102742!important; }
.eldok-hp-discovery-promo--refurb a:hover { color:#fff!important; background:#1768e5!important; }
.eldok-hp-discovery-promo-media { position:absolute; z-index:1; right:8px; top:12px; width:40%; height:calc(100% - 24px); display:flex; align-items:center; justify-content:center; padding:10px; border-radius:13px; background:rgba(255,255,255,.16); pointer-events:none; }
.eldok-hp-discovery .eldok-hp-discovery-promo-image { display:block!important; width:auto!important; height:auto!important; max-width:100%!important; max-height:100%!important; margin:0!important; border:0!important; border-radius:8px!important; object-fit:contain!important; box-shadow:none!important; filter:drop-shadow(0 8px 13px rgba(5,24,40,.11)); }
.eldok-hp-discovery-promo--comfort::after,.eldok-hp-discovery-promo--climate::after { content:""; position:absolute; z-index:0; right:-45px; bottom:-95px; width:230px; height:230px; border-radius:50%; background:rgba(255,255,255,.08); }

@media(min-width:1800px) {
  .eldok-hp-discovery-inner,.eldok-hp-discovery-promos { max-width:none; width:calc(100% - 70px); }
}
@media(max-width:1420px) {
  .eldok-hp-discovery-inner { grid-template-columns:minmax(240px,.8fr) minmax(520px,1.65fr); min-height:0; }
  .eldok-hp-discovery-lifestyle { display:none; }
  .eldok-hp-discovery-product-media { height:130px; }
  .eldok-hp-discovery .eldok-hp-discovery-product-image { height:127px!important; max-height:127px!important; }
  .eldok-hp-discovery-promo-copy { width:69%; padding-left:19px; }
  .eldok-hp-discovery-promo-media { width:39%; right:4px; }
}
@media(max-width:1100px) {
  .eldok-hp-discovery-inner { grid-template-columns:1fr; padding:28px 0; gap:17px; }
  .eldok-hp-discovery-intro { padding:0; }
  .eldok-hp-discovery h2 { max-width:760px; }
  .eldok-hp-discovery-intro p { margin-bottom:14px!important; }
  .eldok-hp-discovery-promos { gap:12px; }
  .eldok-hp-discovery-promo { min-height:205px; }
  .eldok-hp-discovery-promo-copy { width:70%; padding:16px 10px 16px 16px; }
  .eldok-hp-discovery-promo h3 { font-size:20px!important; }
  .eldok-hp-discovery-promo p { font-size:12px!important; }
  .eldok-hp-discovery-promo a { min-height:38px; padding:9px 11px!important; font-size:11px!important; }
}
@media(max-width:760px) {
  .eldok-hp-discovery-inner,.eldok-hp-discovery-promos { width:calc(100% - 28px); }
  .eldok-hp-discovery-inner { padding:23px 0 26px; }
  .eldok-hp-discovery h2 { font-size:clamp(26px,7vw,34px)!important; line-height:1.15!important; margin-bottom:11px!important; }
  .eldok-hp-discovery-eyebrow { font-size:11px!important; margin-bottom:8px!important; }
  .eldok-hp-discovery-intro p { font-size:14px!important; line-height:1.55!important; }
  .eldok-hp-discovery-maincta { min-height:44px; padding:10px 16px!important; font-size:13px!important; }
  .eldok-hp-discovery-finder { padding:14px 12px 15px; border-radius:14px; }
  .eldok-hp-discovery-tabs { gap:7px; margin-bottom:12px; }
  .eldok-hp-discovery-tabs button { min-height:44px; font-size:13px!important; padding:10px 15px!important; }
  .eldok-hp-discovery-list { display:flex; align-items:stretch; gap:10px; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory; overscroll-behavior-inline:contain; -webkit-overflow-scrolling:touch; scrollbar-width:none; padding:2px 2px 10px; }
  .eldok-hp-discovery-list::-webkit-scrollbar { display:none; }
  .eldok-hp-discovery-product { flex:0 0 min(70vw,235px); scroll-snap-align:start; padding:11px; }
  .eldok-hp-discovery-product-media { height:145px; }
  .eldok-hp-discovery .eldok-hp-discovery-product-image { height:143px!important; max-height:143px!important; }
  .eldok-hp-discovery-product-name { font-size:13px!important; }
  .eldok-hp-discovery-product-price,.eldok-hp-discovery-product-price ins { font-size:18px!important; }
  .eldok-hp-discovery-product-link { min-height:43px; font-size:13px!important; }
  .eldok-hp-discovery-finder-foot { margin-top:6px; }
  .eldok-hp-discovery--promos-only { padding:17px 0 23px; }
  .eldok-hp-discovery-promos { display:flex; flex-direction:column; gap:12px; }
  .eldok-hp-discovery-promo { min-height:170px; }
  .eldok-hp-discovery-promo-copy { width:66%; padding:18px; }
  .eldok-hp-discovery-promo h3 { font-size:21px!important; }
  .eldok-hp-discovery-promo p { font-size:13px!important; margin-bottom:12px!important; }
  .eldok-hp-discovery-promo a { min-height:41px; font-size:11px!important; }
  .eldok-hp-discovery-promo-media { width:38%; height:calc(100% - 20px); top:10px; }
}
@media(max-width:390px) {
  .eldok-hp-discovery-product { flex-basis:min(72vw,227px); }
  .eldok-hp-discovery-finder { padding:13px 9px; }
  .eldok-hp-discovery-promo-copy { width:70%; padding-left:14px; }
  .eldok-hp-discovery-promo h3 { font-size:19px!important; }
  .eldok-hp-discovery-promo-media { width:34%; right:3px; }
}
@media(prefers-reduced-motion:reduce) {
  .eldok-hp-discovery-product { transition:none!important; }
  .eldok-hp-discovery-list { scroll-behavior:auto!important; }
}
/* Stesso comportamento full-bleed della v0.9.8 dentro eventuali wrapper Elementor/Blocksy. */
body.eldok-hp-on-home .entry-content > .eldok-hp-discovery,
body.eldok-hp-on-home .elementor-widget-container > .eldok-hp-discovery,
body.eldok-hp-on-home .ct-container > .eldok-hp-discovery {
  position:relative; left:50%; transform:translateX(-50%); width:100vw!important; max-width:none!important; margin:0!important;
}

/* v0.9.11 — Tre colonne equilibrate: copy, schede e foto lifestyle come nella v0.9.9.
   Le tre card sono ora distinguibili grazie agli attributi sintetici, senza ridurre la foto. */
.eldok-hp-discovery-inner {
  width:calc(100% - 64px)!important;
  max-width:1740px!important;
  grid-template-columns:minmax(255px,.91fr) minmax(600px,2.22fr) minmax(270px,1.02fr)!important;
  gap:clamp(16px,1.45vw,28px)!important;
  min-height:0;
  padding:30px 0!important;
}
.eldok-hp-discovery-lifestyle {
  display:block!important;
  min-height:415px!important;
  background-position:55% center!important;
}
.eldok-hp-discovery-finder { width:100%; padding:17px 16px 15px; }
.eldok-hp-discovery-product { padding:10px; }
.eldok-hp-discovery-product-media { height:133px; }
.eldok-hp-discovery .eldok-hp-discovery-product-image {height:130px!important;max-height:130px!important;}
.eldok-hp-discovery-tabs {margin-bottom:14px!important;}
.eldok-hp-discovery-product-name { margin:8px 0 7px!important; min-height:50px; font-size:12.5px!important; line-height:1.31!important; }
.eldok-hp-discovery-specs {
  display:flex; align-content:flex-start; align-items:flex-start; flex-wrap:wrap;
  gap:5px; min-height:54px; margin:0 0 10px; padding:0;
}
.eldok-hp-discovery-spec {
  display:inline-flex; align-items:center; justify-content:center; gap:4px;
  max-width:100%; min-height:23px; padding:4px 7px;
  border-radius:6px; background:#f0f6ff; border:1px solid #e0eafb;
  font-size:10.5px; font-weight:800; line-height:1.13; white-space:nowrap;
  color:#315579;
}
.eldok-hp-discovery-spec::before { display:inline-block; font-size:11px; font-weight:900; }
.eldok-hp-discovery-spec--capacity::before { content:"◉"; color:#1768e5; }
.eldok-hp-discovery-spec--spin::before { content:"↻"; color:#1768e5; }
.eldok-hp-discovery-spec--heat::before { content:"♨"; color:#1768e5; }
.eldok-hp-discovery-spec--wifi::before { content:"◉"; color:#1768e5; }
.eldok-hp-discovery-spec--steam::before { content:"≈"; color:#1768e5; }
.eldok-hp-discovery-spec--energy { background:#eaf6eb; border-color:#cee8d0; color:#206d3b; }
.eldok-hp-discovery-spec--energy::before { content:"⚡"; }
.eldok-hp-discovery-spec--energy-D,.eldok-hp-discovery-spec--energy-E,.eldok-hp-discovery-spec--energy-F,.eldok-hp-discovery-spec--energy-G {
  background:#fff6e8; border-color:#f5dfbd; color:#80520e;
}
.eldok-hp-discovery-product-price { font-size:17px!important; }
.eldok-hp-discovery-product-price ins { font-size:17px!important; }
@media (min-width:1800px) {
  .eldok-hp-discovery-inner{ max-width:none!important; width:calc(100% - 70px)!important; }
}
@media (max-width:1360px) {
  .eldok-hp-discovery-inner {
    grid-template-columns:minmax(235px,.82fr) minmax(560px,1.85fr)!important;
  }
  .eldok-hp-discovery-lifestyle { display:none!important; }
}
@media (max-width:1060px) {
  .eldok-hp-discovery-inner { grid-template-columns:minmax(0,1fr)!important; width:calc(100% - 36px)!important; gap:16px!important; padding:24px 0!important; }
  .eldok-hp-discovery-intro { padding:0!important; }
  .eldok-hp-discovery h2 { max-width:700px; }
}
@media (max-width:760px) {
  .eldok-hp-discovery-inner { width:calc(100% - 28px)!important; padding:22px 0!important; }
  .eldok-hp-discovery-finder { padding:14px 12px 15px; }
  .eldok-hp-discovery-product { padding:11px; }
  .eldok-hp-discovery-product-media { height:140px; }
  .eldok-hp-discovery .eldok-hp-discovery-product-image { height:138px!important; max-height:138px!important; }
  .eldok-hp-discovery-product-name { font-size:13px!important; min-height:50px; }
  .eldok-hp-discovery-specs { min-height:50px; }
  .eldok-hp-discovery-spec { font-size:10px; padding:4px 6px; }
}
/* Le nuove foto promozionali sono decorazioni a tutta card, con testi/pulsanti HTML separati. */
.eldok-hp-discovery-promo-background {
  position:absolute; inset:0; z-index:0; pointer-events:none;
}
.eldok-hp-discovery .eldok-hp-discovery-promo-photo {
  display:block!important; width:100%!important; height:100%!important;
  max-width:none!important; max-height:none!important;
  object-fit:cover!important; object-position:center center!important;
  border:0!important; border-radius:0!important; margin:0!important;
}
.eldok-hp-discovery-promo--has-photo::before {
  content:""; position:absolute; z-index:1; inset:0; pointer-events:none;
  background:linear-gradient(90deg,rgba(122,45,4,.75),rgba(149,54,5,.35) 48%,transparent 80%);
}
.eldok-hp-discovery-promo--comfort.eldok-hp-discovery-promo--has-photo {background:#b95a11;}
.eldok-hp-discovery-promo--climate.eldok-hp-discovery-promo--has-photo::before {
  background:linear-gradient(90deg,rgba(6,85,107,.85),rgba(6,99,124,.4) 53%,transparent 82%);
}
.eldok-hp-discovery-promo--refurb.eldok-hp-discovery-promo--has-photo::before {
  background:linear-gradient(90deg,rgba(246,250,255,.96),rgba(246,250,255,.7) 48%,transparent 85%);
}
.eldok-hp-discovery-promo--has-photo .eldok-hp-discovery-promo-copy {z-index:3;width:69%;}
.eldok-hp-discovery-promo--has-photo::after {display:none;}
@media(max-width:760px){
  .eldok-hp-discovery-promo--has-photo .eldok-hp-discovery-promo-copy {width:75%;}
  .eldok-hp-discovery .eldok-hp-discovery-promo-photo {object-position:60% center!important;}
}
@media(max-width:390px){
  .eldok-hp-discovery-promo--has-photo .eldok-hp-discovery-promo-copy{width:82%;}
  .eldok-hp-discovery-promo--has-photo::before{background:linear-gradient(90deg,rgba(122,45,4,.85),rgba(149,54,5,.6) 54%,rgba(149,54,5,.15));}
}

/* v0.9.12: CTA delle card Bucato con testo centrato e senza freccia. */
.eldok-hp-discovery .eldok-hp-discovery-product-link { justify-content:center!important; text-align:center!important; }
