/* =========================================================
Stretch delle sezioni CE via CSS: niente salto in attesa del JS.
   I !important servono a battere width/left che lo script scrive nello stile della sezione 
   ========================================================= */
#content .elementor-section.elementor-section-stretched {
  width: 100vw !important;
  left: calc(50% - 50vw) !important;
  position: relative;
}

/* 100vw comprende la scrollbar (15 px): evita lo scroll orizzontale.
   clip, a differenza di hidden, non rompe position: sticky */
html, body { 
     overflow-x: clip; 
}



/* ===== Scheda prodotto Manferdini v5 – UNICA CSS della miniatura, in custom.css =====
   Prima di incollarla: svuotare il CSS personalizzato del template miniatura in Creative Elements
   e togliere da custom.css i blocchi v1/v2 precedenti. */
body .elementor[data-elementor-type="product-miniature"]{--mf-navy:#0E1B3D;--mf-orange-txt:#C4520F;--mf-cyan:#24B9D7;--mf-cyan-txt:#1C8FA8;--mf-border:#E4E7EE;height:100%}

/* Card */
body .elementor[data-elementor-type="product-miniature"]>.elementor-section-wrap{display:flex;flex-direction:column;height:100%;background:#fff;border:0;border-radius:16px;overflow:hidden;box-shadow:0 1px 2px rgba(14,27,61,.06),0 6px 20px rgba(14,27,61,.07);transition:border-color .2s,box-shadow .2s,transform .2s}
body .elementor[data-elementor-type="product-miniature"]>.elementor-section-wrap:hover,body .elementor[data-elementor-type="product-miniature"]>.elementor-section-wrap:focus-within{box-shadow:0 2px 4px rgba(14,27,61,.06),0 16px 36px rgba(14,27,61,.14);transform:translateY(-4px)}

/* Area immagine: a filo dei bordi, 4:3 riempita (taglia le bande bianche delle foto quadrate PS) */
body .elementor[data-elementor-type="product-miniature"]>.elementor-section-wrap>.elementor-section:first-child{padding:0!important;border-radius:0!important;border:0!important}
body .elementor[data-elementor-type="product-miniature"] .elementor-widget-product-miniature-image .ce-product-image a{display:block;overflow:hidden}
body .elementor[data-elementor-type="product-miniature"] .elementor-widget-product-miniature-image img{display:block;width:100%!important;height:auto!important;aspect-ratio:4/3;object-fit:cover;background:#fff;border-radius:0!important;transition:transform .35s ease}
body .elementor[data-elementor-type="product-miniature"]>.elementor-section-wrap:hover .elementor-widget-product-miniature-image img{transform:scale(1.04)}

/* Badge in alto a sinistra */
body .elementor[data-elementor-type="product-miniature"] .elementor-widget-product-badges{top:12px!important;inset-inline-start:12px!important;inset-inline-end:auto!important}
body .elementor[data-elementor-type="product-miniature"] .ce-product-badges{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
body .elementor[data-elementor-type="product-miniature"] .ce-product-badge{min-width:0!important;padding:5px 10px!important;border-radius:999px!important;font:700 11px/1 Rubik,sans-serif!important;letter-spacing:.06em;text-transform:uppercase;color:#fff!important;background:var(--mf-navy)!important}
body .elementor[data-elementor-type="product-miniature"] .ce-product-badge-new{background:var(--mf-cyan)!important;color:var(--mf-navy)!important}
body .elementor[data-elementor-type="product-miniature"] .ce-product-badge-sale,body .elementor[data-elementor-type="product-miniature"] .ce-product-badge-onsale,body .elementor[data-elementor-type="product-miniature"] .ce-product-badge-discount{background:var(--mf-orange-txt)!important}
body .elementor[data-elementor-type="product-miniature"] .ce-product-badge-out{background:#55595C!important}

/* Wishlist: piccola, bianca, in alto a destra, sempre visibile */
body .elementor[data-elementor-type="product-miniature"] .elementor-widget-product-add-to-wishlist{width:auto!important;max-width:none!important;inset:12px 12px auto auto!important;z-index:3}
body .elementor[data-elementor-type="product-miniature"] .elementor-widget-product-add-to-wishlist>.elementor-widget-container{opacity:1!important}
body .elementor[data-elementor-type="product-miniature"] .elementor-widget-product-add-to-wishlist .elementor-icon{font-size:16px!important;padding:10px!important;background:#fff!important;color:var(--mf-navy)!important;box-shadow:0 2px 10px rgba(14,27,61,.15)}
body .elementor[data-elementor-type="product-miniature"] .elementor-widget-product-add-to-wishlist .elementor-icon:hover{color:var(--mf-orange-txt)!important}

/* Corpo: colonna, pulsante sempre in fondo */
body .elementor[data-elementor-type="product-miniature"]>.elementor-section-wrap>.elementor-section:last-child{flex:1;margin:0!important;padding:14px 16px 16px!important}
body .elementor[data-elementor-type="product-miniature"]>.elementor-section-wrap>.elementor-section:last-child>.elementor-container{min-height:0!important;height:100%}
body .elementor[data-elementor-type="product-miniature"]>.elementor-section-wrap>.elementor-section:last-child>.elementor-container:after{display:none}
body .elementor[data-elementor-type="product-miniature"]>.elementor-section-wrap>.elementor-section:last-child .elementor-row,
body .elementor[data-elementor-type="product-miniature"]>.elementor-section-wrap>.elementor-section:last-child .elementor-column,
body .elementor[data-elementor-type="product-miniature"]>.elementor-section-wrap>.elementor-section:last-child .elementor-column-wrap{height:100%;width:100%}
body .elementor[data-elementor-type="product-miniature"]>.elementor-section-wrap>.elementor-section:last-child .elementor-widget-wrap{display:flex!important;flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:8px;height:100%}
body .elementor[data-elementor-type="product-miniature"]>.elementor-section-wrap>.elementor-section:last-child .elementor-widget{width:100%!important;max-width:100%;margin:0!important;flex-grow:0!important}

/* Ordine: categoria, nome, prezzo, pulsante */
body .elementor[data-elementor-type="product-miniature"] .elementor-widget-product-meta{order:1}
body .elementor[data-elementor-type="product-miniature"] .elementor-widget-product-miniature-name{order:2}
body .elementor[data-elementor-type="product-miniature"] .elementor-widget-product-miniature-price{order:3}
body .elementor[data-elementor-type="product-miniature"] .elementor-widget-button,body .elementor[data-elementor-type="product-miniature"] :is(.elementor-widget-product-add-to-cart,.elementor-widget-product-miniature-add-to-cart){order:4;margin-top:auto!important;padding-top:6px}

/* Categoria */
body .elementor[data-elementor-type="product-miniature"] .ce-product-meta{margin:0!important;display:flex;flex-wrap:wrap}
body .elementor[data-elementor-type="product-miniature"] .ce-product-meta__detail{padding:0!important}
body .elementor[data-elementor-type="product-miniature"] .ce-product-meta__label{display:none}
body .elementor[data-elementor-type="product-miniature"] .ce-product-meta__value,body .elementor[data-elementor-type="product-miniature"] .ce-product-meta__value a{font:600 11px/1.3 Manrope,Rubik,sans-serif!important;letter-spacing:.08em;text-transform:uppercase;color:var(--mf-cyan-txt)!important}

/* Nome: max 2 righe, altezza fissa */
body .elementor[data-elementor-type="product-miniature"] .elementor-widget-product-miniature-name>.elementor-widget-container{margin:0!important}
body .elementor[data-elementor-type="product-miniature"] .elementor-widget-product-miniature-name .elementor-heading-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.7em;margin:0;font:600 16px/1.35 Rubik,sans-serif!important;color:var(--mf-navy)!important}
body .elementor[data-elementor-type="product-miniature"] .elementor-widget-product-miniature-name .elementor-heading-title::first-letter{text-transform:uppercase}
body .elementor[data-elementor-type="product-miniature"] .elementor-widget-product-miniature-name a{color:inherit!important}
body .elementor[data-elementor-type="product-miniature"] .elementor-widget-product-miniature-name a:hover{color:var(--mf-orange-txt)!important}

/* Prezzo */
body .elementor[data-elementor-type="product-miniature"] .ce-product-prices{justify-content:flex-start!important;align-items:baseline;flex-wrap:wrap;gap:4px 10px!important}
body .elementor[data-elementor-type="product-miniature"] .ce-product-price{font:700 21px/1.1 Rubik,sans-serif!important;color:var(--mf-navy)!important}
body .elementor[data-elementor-type="product-miniature"] .ce-product-prices [class*=regular]{font:500 14px Rubik,sans-serif!important;color:#6B7280!important;text-decoration:line-through}

/* Pulsante pieno navy, arancio in hover */
body .elementor[data-elementor-type="product-miniature"] .elementor-widget-button .elementor-button,body .elementor[data-elementor-type="product-miniature"] :is(.elementor-widget-product-add-to-cart,.elementor-widget-product-miniature-add-to-cart) .elementor-button{display:flex;width:100%;justify-content:center;background:var(--mf-navy)!important;color:#fff!important;border:0!important;border-radius:8px!important;padding:13px 16px!important;font:600 14px/1.2 Rubik,sans-serif!important;transition:background .2s}
body .elementor[data-elementor-type="product-miniature"] .elementor-widget-button .elementor-button:hover,body .elementor[data-elementor-type="product-miniature"] :is(.elementor-widget-product-add-to-cart,.elementor-widget-product-miniature-add-to-cart) .elementor-button:hover{background:var(--mf-orange-txt)!important}

/* Focus da tastiera */
body .elementor[data-elementor-type="product-miniature"] a:focus-visible,body .elementor[data-elementor-type="product-miniature"] button:focus-visible{outline:3px solid var(--mf-cyan);outline-offset:2px}

@media (hover:none){body .elementor[data-elementor-type="product-miniature"]>.elementor-section-wrap:hover{transform:none}body .elementor[data-elementor-type="product-miniature"]>.elementor-section-wrap:hover .elementor-widget-product-miniature-image img{transform:none}}

/* Mobile */
@media (max-width:767px){
 body .elementor[data-elementor-type="product-miniature"]>.elementor-section-wrap{border-radius:12px}
 body .elementor[data-elementor-type="product-miniature"]>.elementor-section-wrap>.elementor-section:last-child{padding:12px!important}
 body .elementor[data-elementor-type="product-miniature"] .elementor-widget-product-miniature-name .elementor-heading-title{font-size:14px!important}
 body .elementor[data-elementor-type="product-miniature"] .ce-product-price{font-size:17px!important}
 body .elementor[data-elementor-type="product-miniature"] .ce-product-meta__value,body .elementor[data-elementor-type="product-miniature"] .ce-product-meta__value a{font-size:10px!important}
 body .elementor[data-elementor-type="product-miniature"] .ce-product-badge{padding:4px 8px!important;font-size:10px!important}
 body .elementor[data-elementor-type="product-miniature"] .elementor-widget-product-add-to-wishlist .elementor-icon{padding:8px!important;font-size:14px!important}
 body .elementor[data-elementor-type="product-miniature"] .elementor-widget-button .elementor-button{padding:11px 8px!important;font-size:13px!important}
}

/* v3: della meta mostra solo la categoria (nasconde riferimento e altri campi) */
body .elementor[data-elementor-type="product-miniature"] .ce-product-meta__detail:not(.ce-product-meta__category){display:none!important}

/* v3: pulsante carrello (widget Add to Cart) con lo stesso stile del pulsante */
body .elementor[data-elementor-type="product-miniature"] :is(.elementor-widget-product-add-to-cart,.elementor-widget-product-miniature-add-to-cart){order:4;margin-top:auto!important;padding-top:6px}
body .elementor[data-elementor-type="product-miniature"] :is(.elementor-widget-product-add-to-cart,.elementor-widget-product-miniature-add-to-cart) .elementor-button{display:flex;width:100%;justify-content:center;background:var(--mf-navy)!important;color:#fff!important;border:0!important;border-radius:8px!important;padding:13px 16px!important;font:600 14px/1.2 Rubik,sans-serif!important}
body .elementor[data-elementor-type="product-miniature"] :is(.elementor-widget-product-add-to-cart,.elementor-widget-product-miniature-add-to-cart) .elementor-button:hover{background:var(--mf-orange-txt)!important}

/* v4: pulsante carrello – icona, stati, mobile */
body .elementor[data-elementor-type="product-miniature"] :is(.elementor-widget-product-add-to-cart,.elementor-widget-product-miniature-add-to-cart) .elementor-button-content-wrapper{display:flex;align-items:center;justify-content:center;gap:8px}
body .elementor[data-elementor-type="product-miniature"] :is(.elementor-widget-product-add-to-cart,.elementor-widget-product-miniature-add-to-cart) .elementor-button-icon{margin:0!important;font-size:16px;line-height:1}
body .elementor[data-elementor-type="product-miniature"] :is(.elementor-widget-product-add-to-cart,.elementor-widget-product-miniature-add-to-cart) .elementor-button-icon svg{width:16px;height:16px;fill:currentColor}
body .elementor[data-elementor-type="product-miniature"] :is(.elementor-widget-product-add-to-cart,.elementor-widget-product-miniature-add-to-cart) .elementor-button:focus-visible{outline:3px solid var(--mf-cyan);outline-offset:2px}
body .elementor[data-elementor-type="product-miniature"] :is(.elementor-widget-product-add-to-cart,.elementor-widget-product-miniature-add-to-cart) .elementor-button[disabled],
body .elementor[data-elementor-type="product-miniature"] :is(.elementor-widget-product-add-to-cart,.elementor-widget-product-miniature-add-to-cart) .elementor-button.disabled,
body .elementor[data-elementor-type="product-miniature"] :is(.elementor-widget-product-add-to-cart,.elementor-widget-product-miniature-add-to-cart) .elementor-button[aria-disabled=true]{background:#E4E7EE!important;color:#6B7280!important;cursor:not-allowed;pointer-events:none}
@media (max-width:767px){
 body .elementor[data-elementor-type="product-miniature"] :is(.elementor-widget-product-add-to-cart,.elementor-widget-product-miniature-add-to-cart) .elementor-button{padding:11px 8px!important;font-size:13px!important}
 body .elementor[data-elementor-type="product-miniature"] :is(.elementor-widget-product-add-to-cart,.elementor-widget-product-miniature-add-to-cart) .elementor-button-icon{font-size:14px}
}
@media (max-width:420px){
 body .elementor[data-elementor-type="product-miniature"] :is(.elementor-widget-product-add-to-cart,.elementor-widget-product-miniature-add-to-cart) .elementor-button-text{font-size:12px}
}

/* v5: foto grande 4:3 che riempie tutta la testata della scheda (vince sulla CSS vecchia del template) */
body .elementor[data-elementor-type="product-miniature"] .elementor-widget-product-miniature-image .ce-product-image,
body .elementor[data-elementor-type="product-miniature"] .elementor-widget-product-miniature-image .ce-product-image a{display:block!important;aspect-ratio:4/3!important;height:auto!important;overflow:hidden;background:#EEF1F5}
body .elementor[data-elementor-type="product-miniature"] .elementor-widget-product-miniature-image .ce-product-image img{width:100%!important;height:100%!important;aspect-ratio:auto!important;object-fit:cover!important;object-position:center}
/* v5: velatura leggera in alto per leggere badge e cuore su foto chiare */
body .elementor[data-elementor-type="product-miniature"] .elementor-widget-product-miniature-image .ce-product-image a{position:relative}
body .elementor[data-elementor-type="product-miniature"] .elementor-widget-product-miniature-image .ce-product-image a::after{content:"";position:absolute;inset:0 0 auto 0;height:64px;background:linear-gradient(rgba(14,27,61,.18),rgba(14,27,61,0));pointer-events:none}
/* v5: corpo più arioso, prezzo più evidente */
body .elementor[data-elementor-type="product-miniature"]>.elementor-section-wrap>.elementor-section:last-child{padding:18px 20px 20px!important}
body .elementor[data-elementor-type="product-miniature"]>.elementor-section-wrap>.elementor-section:last-child .elementor-widget-wrap{gap:10px!important}
body .elementor[data-elementor-type="product-miniature"] .ce-product-price{font-size:22px!important}
@media (max-width:767px){
 body .elementor[data-elementor-type="product-miniature"]>.elementor-section-wrap>.elementor-section:last-child{padding:12px!important}
 body .elementor[data-elementor-type="product-miniature"] .ce-product-price{font-size:17px!important}
}



/* ===== Pagina prodotto Manferdini 2026 v2 – CSS per custom.css del child theme =====
   Vale solo per il template "Product" di Creative Elements (classi mf-pp__*).
   Non tocca header, footer, miniature, categorie. */
body .elementor[data-elementor-type="product"]{--mf-navy:#0E1B3D;--mf-orange-txt:#C4520F;--mf-cyan:#24B9D7;--mf-cyan-txt:#1C8FA8;--mf-border:#E4E7EE;--mf-soft:#F5F6F8;--mf-muted:#55595C;font-family:Manrope,Rubik,sans-serif}

/* ---------- HERO ---------- */
body .elementor[data-elementor-type="product"] .mf-pp__hero>.elementor-container{align-items:flex-start}

/* Galleria: angoli morbidi, miniature ordinate */
body .elementor[data-elementor-type="product"] .mf-pp__gallery img{border-radius:16px;background:var(--mf-soft)}
body .elementor[data-elementor-type="product"] .mf-pp__gallery .swiper-slide img,
body .elementor[data-elementor-type="product"] .mf-pp__gallery .elementor-carousel-image{border-radius:16px}
body .elementor[data-elementor-type="product"] .mf-pp__gallery [class*=thumb] img{border-radius:10px;border:2px solid transparent;opacity:.75;transition:opacity .2s,border-color .2s}
body .elementor[data-elementor-type="product"] .mf-pp__gallery [class*=thumb] .swiper-slide-thumb-active img,
body .elementor[data-elementor-type="product"] .mf-pp__gallery [class*=thumb] img:hover{opacity:1;border-color:var(--mf-navy)}

/* Pannello acquisto: card, fissa durante lo scroll su desktop */
body .elementor[data-elementor-type="product"] .mf-pp__buy>.elementor-column-wrap,
body .elementor[data-elementor-type="product"] .mf-pp__buy>.elementor-widget-wrap{position:sticky;top:130px;background:#fff;border:1px solid var(--mf-border);border-radius:18px;padding:28px!important;box-shadow:0 1px 2px rgba(14,27,61,.05),0 10px 30px rgba(14,27,61,.07)}
body .elementor[data-elementor-type="product"] .mf-pp__buy .elementor-widget-wrap{display:flex!important;flex-wrap:wrap;align-items:center;column-gap:12px;row-gap:14px}
body .elementor[data-elementor-type="product"] .mf-pp__buy .elementor-widget{width:100%;margin:0!important}

/* Badge */
body .elementor[data-elementor-type="product"] .mf-pp__badges{width:auto!important}
body .elementor[data-elementor-type="product"] .ce-product-badges{display:flex;flex-wrap:wrap;gap:6px}
body .elementor[data-elementor-type="product"] .ce-product-badge{min-width:0!important;padding:5px 10px!important;border-radius:999px!important;font:700 11px/1 Rubik,sans-serif!important;letter-spacing:.06em;text-transform:uppercase;color:#fff!important;background:var(--mf-navy)!important}
body .elementor[data-elementor-type="product"] .ce-product-badge-new{background:var(--mf-cyan)!important;color:var(--mf-navy)!important}
body .elementor[data-elementor-type="product"] .ce-product-badge-sale,body .elementor[data-elementor-type="product"] .ce-product-badge-onsale,body .elementor[data-elementor-type="product"] .ce-product-badge-discount{background:var(--mf-orange-txt)!important}
body .elementor[data-elementor-type="product"] .ce-product-badge-out{background:#55595C!important}

/* Categoria (prima meta): solo categoria, maiuscolo ciano */
body .elementor[data-elementor-type="product"] .mf-pp__cat .ce-product-meta__detail:not(.ce-product-meta__category){display:none!important}
body .elementor[data-elementor-type="product"] .mf-pp__cat .ce-product-meta__label{display:none}
body .elementor[data-elementor-type="product"] .mf-pp__cat .ce-product-meta__value,
body .elementor[data-elementor-type="product"] .mf-pp__cat .ce-product-meta__value a{font:700 12px/1.3 Manrope,sans-serif!important;letter-spacing:.1em;text-transform:uppercase;color:var(--mf-cyan-txt)!important}

/* Titolo */
body .elementor[data-elementor-type="product"] .mf-pp__title .elementor-heading-title{margin:0;color:var(--mf-navy)!important;text-wrap:balance}
body .elementor[data-elementor-type="product"] .mf-pp__title .elementor-heading-title::first-letter{text-transform:uppercase}

/* Prezzo */
body .elementor[data-elementor-type="product"] .mf-pp__price{padding:6px 0 4px!important;border-top:1px solid var(--mf-border)}
body .elementor[data-elementor-type="product"] .mf-pp__price .ce-product-prices{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;justify-content:flex-start!important;padding-top:14px}
body .elementor[data-elementor-type="product"] .mf-pp__price .ce-product-price{font:700 34px/1.05 Rubik,sans-serif!important;color:var(--mf-navy)!important}
body .elementor[data-elementor-type="product"] .mf-pp__price [class*=regular]{font:500 18px Rubik,sans-serif!important;color:#6B7280!important;text-decoration:line-through}
body .elementor[data-elementor-type="product"] .mf-pp__price .ce-tax-shipping-delivery-label{width:100%;font-size:13px;color:var(--mf-muted)}

/* Quantità + carrello sulla stessa riga */
body .elementor[data-elementor-type="product"] .mf-pp__qty{width:auto!important;flex:0 0 auto}
body .elementor[data-elementor-type="product"] .mf-pp__cart{width:auto!important;flex:1 1 0;min-width:0}
body .elementor[data-elementor-type="product"] .ce-product-quantity{display:flex;align-items:center;height:52px;border:1px solid var(--mf-border);border-radius:10px;overflow:hidden;background:#fff}
body .elementor[data-elementor-type="product"] .ce-product-quantity input{width:52px!important;height:50px;border:0!important;text-align:center;font:600 16px Rubik,sans-serif;color:var(--mf-navy);-moz-appearance:textfield;background:transparent}
body .elementor[data-elementor-type="product"] .ce-product-quantity input::-webkit-inner-spin-button,
body .elementor[data-elementor-type="product"] .ce-product-quantity input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
body .elementor[data-elementor-type="product"] .ce-product-quantity__btn{display:flex;align-items:center;justify-content:center;width:40px;height:50px;cursor:pointer;color:var(--mf-navy);font-size:14px}
body .elementor[data-elementor-type="product"] .ce-product-quantity__btn:hover{background:var(--mf-soft)}

/* Pulsanti */
body .elementor[data-elementor-type="product"] .mf-pp__buy .elementor-button,
body .elementor[data-elementor-type="product"] .mf-pp__cta .elementor-button{display:flex!important;width:100%;min-height:52px;align-items:center;justify-content:center;border-radius:10px!important;padding:14px 18px!important;font:600 15px/1.2 Rubik,sans-serif!important;transition:background .2s,color .2s,border-color .2s}
body .elementor[data-elementor-type="product"] .elementor-button-content-wrapper{display:flex;align-items:center;justify-content:center;gap:8px}
body .elementor[data-elementor-type="product"] .elementor-button-icon{margin:0!important}
/* Carrello: pieno navy */
body .elementor[data-elementor-type="product"] .mf-pp__cart .elementor-button{background:var(--mf-navy)!important;color:#fff!important;border:0!important}
body .elementor[data-elementor-type="product"] .mf-pp__cart .elementor-button:hover{background:var(--mf-orange-txt)!important}
/* WhatsApp e telefono: affiancati, a contorno */
body .elementor[data-elementor-type="product"] .mf-pp__wa,body .elementor[data-elementor-type="product"] .mf-pp__tel{width:calc(50% - 6px)!important}
body .elementor[data-elementor-type="product"] .mf-pp__wa .elementor-button,body .elementor[data-elementor-type="product"] .mf-pp__tel .elementor-button{background:#fff!important;color:var(--mf-navy)!important;border:1.5px solid var(--mf-border)!important;font-size:14px!important}
body .elementor[data-elementor-type="product"] .mf-pp__wa .elementor-button-icon{color:#1E9E50}
body .elementor[data-elementor-type="product"] .mf-pp__wa .elementor-button:hover,body .elementor[data-elementor-type="product"] .mf-pp__tel .elementor-button:hover{border-color:var(--mf-navy)!important}
body .elementor[data-elementor-type="product"] .elementor-button:focus-visible{outline:3px solid var(--mf-cyan);outline-offset:2px}
body .elementor[data-elementor-type="product"] .mf-pp__cart .elementor-button[disabled],body .elementor[data-elementor-type="product"] .mf-pp__cart .elementor-button.disabled{background:#E4E7EE!important;color:#6B7280!important;pointer-events:none}

/* Punti di fiducia */
body .elementor[data-elementor-type="product"] .mf-pp__trust{padding-top:16px!important;border-top:1px solid var(--mf-border)}

/* Riferimento (seconda meta): solo SKU, piccolo */
body .elementor[data-elementor-type="product"] .mf-pp__ref .ce-product-meta__detail:not(.ce-product-meta__reference){display:none!important}
body .elementor[data-elementor-type="product"] .mf-pp__ref,body .elementor[data-elementor-type="product"] .mf-pp__ref *{font-size:12px!important;color:#6B7280!important}
body .elementor[data-elementor-type="product"] .mf-pp__ref .ce-product-meta__label::after{content:":";margin-right:4px}
body .elementor[data-elementor-type="product"] .mf-pp__ref{width:auto!important;flex:1 1 auto}

/* Condivisione: icone piccole e discrete */
body .elementor[data-elementor-type="product"] .mf-pp__share{width:auto!important}
body .elementor[data-elementor-type="product"] .mf-pp__share .elementor-social-icons-wrapper{display:flex!important;gap:6px}
body .elementor[data-elementor-type="product"] .mf-pp__share .elementor-social-icon{width:34px;height:34px;padding:0!important;display:flex;align-items:center;justify-content:center;border-radius:50%;font-size:14px!important;background:var(--mf-soft)!important;color:var(--mf-navy)!important}
body .elementor[data-elementor-type="product"] .mf-pp__share .elementor-social-icon i{color:inherit!important}
body .elementor[data-elementor-type="product"] .mf-pp__share .elementor-social-icon:hover{background:var(--mf-navy)!important;color:#fff!important}

/* ---------- DESCRIZIONE + CARATTERISTICHE ---------- */
body .elementor[data-elementor-type="product"] .mf-pp__details>.elementor-container{align-items:flex-start}
body .elementor[data-elementor-type="product"] .mf-pp__desc-col>.elementor-column-wrap,
body .elementor[data-elementor-type="product"] .mf-pp__desc-col>.elementor-widget-wrap{background:#fff;border:1px solid var(--mf-border);border-radius:18px;padding:32px!important}
body .elementor[data-elementor-type="product"] .mf-pp__feat-col>.elementor-column-wrap,
body .elementor[data-elementor-type="product"] .mf-pp__feat-col>.elementor-widget-wrap{background:var(--mf-soft);border-radius:18px;padding:32px!important}
body .elementor[data-elementor-type="product"] .mf-pp__h2{margin-bottom:16px!important}
body .elementor[data-elementor-type="product"] .mf-pp__h2 .elementor-heading-title{margin:0;padding-bottom:12px;border-bottom:3px solid var(--mf-cyan);display:inline-block}
body .elementor[data-elementor-type="product"] .mf-pp__desc{font:400 16px/1.75 Manrope,sans-serif;color:#2B3550}
body .elementor[data-elementor-type="product"] .mf-pp__desc p{margin:0 0 1em}
body .elementor[data-elementor-type="product"] .mf-pp__desc ul{padding-left:1.2em}
body .elementor[data-elementor-type="product"] .mf-pp__desc li{margin-bottom:.4em}
body .elementor[data-elementor-type="product"] .mf-pp__desc :is(h2,h3,h4){font-family:Rubik,sans-serif;color:var(--mf-navy);margin:1.4em 0 .5em}
/* Caratteristiche: righe a due colonne, qualunque sia il markup (dl, tabella o lista) */
body .elementor[data-elementor-type="product"] .mf-pp__feat :is(dl,table){width:100%;margin:0;border-collapse:collapse;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
body .elementor[data-elementor-type="product"] .mf-pp__feat table{display:table}
body .elementor[data-elementor-type="product"] .mf-pp__feat :is(dt,dd,td,th){margin:0;padding:11px 0;border-bottom:1px solid #E1E5EC;font-size:14px;line-height:1.45;background:none!important}
body .elementor[data-elementor-type="product"] .mf-pp__feat :is(dt,th,td:first-child){color:var(--mf-muted);font-weight:600;padding-right:12px}
body .elementor[data-elementor-type="product"] .mf-pp__feat :is(dd,td:last-child){color:var(--mf-navy);font-weight:600;text-align:right}

/* ---------- BANDA CONTATTO ---------- */
body .elementor[data-elementor-type="product"] .mf-pp__cta>.elementor-container{background:var(--mf-navy);border-radius:20px;padding:40px 44px;align-items:center}
body .elementor[data-elementor-type="product"] .mf-pp__cta-title .elementor-heading-title{margin:0 0 8px}
body .elementor[data-elementor-type="product"] .mf-pp__cta-text p{margin:0}
body .elementor[data-elementor-type="product"] .mf-pp__cta-actions .elementor-widget-wrap{display:flex!important;flex-direction:column;gap:12px}
body .elementor[data-elementor-type="product"] .mf-pp__cta-actions .elementor-widget{margin:0!important}
body .elementor[data-elementor-type="product"] .mf-pp__cta-wa .elementor-button{background:#1E9E50!important;color:#fff!important;border:0!important}
body .elementor[data-elementor-type="product"] .mf-pp__cta-wa .elementor-button:hover{background:#17803F!important}
body .elementor[data-elementor-type="product"] .mf-pp__cta-tel .elementor-button{background:transparent!important;color:#fff!important;border:1.5px solid rgba(255,255,255,.45)!important}
body .elementor[data-elementor-type="product"] .mf-pp__cta-tel .elementor-button:hover{background:#fff!important;color:var(--mf-navy)!important}

/* ---------- TABLET / MOBILE ---------- */
@media (max-width:1024px){
 body .elementor[data-elementor-type="product"] .mf-pp__buy>.elementor-column-wrap,
 body .elementor[data-elementor-type="product"] .mf-pp__buy>.elementor-widget-wrap{position:static;margin-top:24px}
 body .elementor[data-elementor-type="product"] .mf-pp__feat-col{margin-top:20px}
}
@media (max-width:767px){
 body .elementor[data-elementor-type="product"] .mf-pp__buy>.elementor-column-wrap,
 body .elementor[data-elementor-type="product"] .mf-pp__buy>.elementor-widget-wrap{padding:20px!important;border-radius:14px}
 body .elementor[data-elementor-type="product"] .mf-pp__price .ce-product-price{font-size:28px!important}
 body .elementor[data-elementor-type="product"] .mf-pp__wa,body .elementor[data-elementor-type="product"] .mf-pp__tel{width:100%!important}
 body .elementor[data-elementor-type="product"] .mf-pp__desc-col>.elementor-column-wrap,
 body .elementor[data-elementor-type="product"] .mf-pp__feat-col>.elementor-column-wrap{padding:22px!important;border-radius:14px}
 body .elementor[data-elementor-type="product"] .mf-pp__cta>.elementor-container{padding:28px 22px;border-radius:16px}
}

/* ---------- v2: correzioni verificate sul sito (2026-11-10) ---------- */
/* Colonne flessibili: impedisce alla galleria swiper di allargarsi all'infinito */
body .elementor[data-elementor-type="product"] .elementor-column{min-width:0}
body .elementor[data-elementor-type="product"] .mf-pp__gallery,body .elementor[data-elementor-type="product"] .mf-pp__gallery .elementor-widget-container,body .elementor[data-elementor-type="product"] .mf-pp__gallery .elementor-swiper{max-width:100%;min-width:0;overflow:hidden}
/* Foto principale 4:3 che riempie il riquadro */
body .elementor[data-elementor-type="product"] .mf-pp__gallery .elementor-main-swiper .swiper-slide-inner{display:block;aspect-ratio:4/3;overflow:hidden;border-radius:16px;background:var(--mf-soft)}
body .elementor[data-elementor-type="product"] .mf-pp__gallery .elementor-main-swiper .swiper-slide-inner img{width:100%;height:100%;object-fit:cover}
/* Riga quantità + carrello, poi WhatsApp e telefono affiancati sotto */
body .elementor[data-elementor-type="product"] .mf-pp__cart{flex:1 1 calc(100% - 160px)!important}
body .elementor[data-elementor-type="product"] .mf-pp__wa,body .elementor[data-elementor-type="product"] .mf-pp__tel{flex:1 1 calc(50% - 6px)!important;width:auto!important}
@media (max-width:767px){
 body .elementor[data-elementor-type="product"] .mf-pp__wa,body .elementor[data-elementor-type="product"] .mf-pp__tel{flex-basis:100%!important}
}




/* ===== Pagina carrello Manferdini 2026 – CSS per custom.css del child theme =====
   Vale solo su body#cart (pagina /carrello). Non tocca checkout, prodotto, categorie. */
body#cart{--mf-navy:#0E1B3D;--mf-orange-txt:#C4520F;--mf-cyan:#24B9D7;--mf-cyan-txt:#1C8FA8;--mf-border:#E4E7EE;--mf-soft:#F5F6F8;--mf-muted:#55595C}

/* Card generali */
body#cart #main .card{border:0;border-radius:18px;background:#fff;box-shadow:0 1px 2px rgba(14,27,61,.05),0 10px 30px rgba(14,27,61,.06);overflow:hidden}
body#cart #main .cart-container{margin-bottom:16px}
body#cart #main .cart-container>.card-block{padding:26px 28px 6px}
body#cart #main .cart-container .h1{margin:0;font:700 28px/1.2 Rubik,sans-serif;color:var(--mf-navy);text-transform:none}
body#cart #main hr.separator{display:none}

/* Righe prodotto: griglia immagine | info | quantità e totale */
body#cart .cart-items{margin:0;padding:8px 0 0}
body#cart .cart-item{padding:18px 28px;border-bottom:1px solid var(--mf-border)}
body#cart .cart-item:last-child{border-bottom:0}
body#cart .product-line-grid{display:grid;grid-template-columns:96px minmax(0,1fr) auto;gap:20px;align-items:center}
body#cart .product-line-grid>[class*=col-]{float:none;width:auto;max-width:none;flex:none;padding:0}
body#cart .product-line-grid>.clearfix{display:none}
body#cart .product-line-grid-left .product-image{display:block}
body#cart .product-line-grid-left img{display:block;width:96px;height:96px;object-fit:cover;border-radius:12px;background:var(--mf-soft)}
body#cart .product-line-grid-body>br{display:none}
body#cart .product-line-info{margin:0}
body#cart .product-line-info a.label{display:block;font:600 16px/1.35 Rubik,sans-serif;color:var(--mf-navy)}
body#cart .product-line-info a.label::first-letter{text-transform:uppercase}
body#cart .product-line-info a.label:hover{color:var(--mf-orange-txt)}
body#cart .product-line-info.product-price{margin-top:6px;font:500 14px Manrope,sans-serif;color:var(--mf-muted)}
body#cart .product-line-info .regular-price{color:#6B7280;text-decoration:line-through;margin-right:6px}
body#cart .product-line-info .discount{background:var(--mf-orange-txt);color:#fff;border-radius:999px;padding:2px 8px;font-size:12px;font-weight:700}
body#cart .product-line-info.product-price .price{color:var(--mf-muted)}

/* Parte destra: quantità, totale riga, elimina sulla stessa riga */
body#cart .product-line-actions>.row{display:flex;align-items:center;gap:16px;margin:0}
body#cart .product-line-actions .row{margin:0}
body#cart .product-line-actions [class*=col-]{float:none;width:auto;max-width:none;flex:none;padding:0}
body#cart .product-line-actions .hidden-md-up{display:none}
body#cart .product-line-actions>.row>[class*=col-md-10]>.row{display:flex;align-items:center;gap:20px}
body#cart .product-line-actions .price{min-width:96px;text-align:right}
body#cart .product-line-actions .product-price strong{font:700 18px Rubik,sans-serif;color:var(--mf-navy)}

/* Quantità (bootstrap-touchspin generato dal tema) */
body#cart .bootstrap-touchspin{display:flex;align-items:stretch;width:auto;height:44px;border:1px solid var(--mf-border);border-radius:10px;overflow:hidden;box-shadow:none;background:#fff}
body#cart .bootstrap-touchspin input.js-cart-line-product-quantity,
body#cart input.js-cart-line-product-quantity{width:52px;height:44px;border:0;text-align:center;font:600 16px Rubik,sans-serif;color:var(--mf-navy);background:transparent;padding:0;box-shadow:none}
body#cart input.js-cart-line-product-quantity:not(.form-control){border:1px solid var(--mf-border);border-radius:10px}
body#cart .bootstrap-touchspin input.js-cart-line-product-quantity{border:0}
body#cart .bootstrap-touchspin .input-group-btn-vertical{display:flex;flex-direction:column;width:34px;border-left:1px solid var(--mf-border)}
body#cart .bootstrap-touchspin .btn-touchspin{flex:1;margin:0;padding:0;border:0;border-radius:0;background:#fff;color:var(--mf-navy);display:flex;align-items:center;justify-content:center;height:auto}
body#cart .bootstrap-touchspin .btn-touchspin:hover{background:var(--mf-soft)}
body#cart .bootstrap-touchspin .bootstrap-touchspin-up{border-bottom:1px solid var(--mf-border)}
body#cart .bootstrap-touchspin .btn-touchspin i{font-size:18px;position:static;line-height:1}

/* Elimina */
body#cart .cart-line-product-actions .remove-from-cart{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:var(--mf-soft);color:var(--mf-muted);margin:0}
body#cart .cart-line-product-actions .remove-from-cart i{float:none!important;font-size:20px;color:inherit}
body#cart .cart-line-product-actions .remove-from-cart:hover{background:#FCE9E1;color:var(--mf-orange-txt)}

/* Continua lo shopping */
body#cart .cart-grid-body>a.label{display:inline-flex;align-items:center;gap:4px;margin:4px 0 24px;padding:10px 4px;font:600 15px Rubik,sans-serif;color:var(--mf-navy)}
body#cart .cart-grid-body>a.label:hover{color:var(--mf-orange-txt)}

/* ---------- Riepilogo ---------- */
body#cart .cart-grid-right .cart-summary{position:sticky;top:130px;margin-bottom:16px}
body#cart .cart-summary .card-block{padding:20px 26px}
body#cart .cart-detailed-subtotals{padding-top:24px!important}
body#cart .cart-summary-line{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:4px 12px;margin:0 0 10px;font:500 15px Manrope,sans-serif;color:var(--mf-muted)}
body#cart .cart-summary-line::after{display:none}
body#cart .cart-summary-line{padding:0!important;border:0!important}
body#cart .cart-summary-line .label,body#cart .cart-summary-line .value{float:none;font-weight:inherit;color:inherit}
body#cart .cart-summary-line .value{color:var(--mf-navy);font-weight:600}
body#cart #cart-subtotal-shipping .value{color:var(--mf-cyan-txt)}
body#cart .cart-summary-totals{background:none!important;border-top:1px solid var(--mf-border);padding-top:18px!important}
body#cart .cart-summary-totals .cart-summary-line:not(.cart-total){font-size:13px}
body#cart .cart-summary-line.cart-total{margin:6px 0 0;padding:0;background:none}
body#cart .cart-summary-line.cart-total .label{font:600 16px Rubik,sans-serif;color:var(--mf-navy)}
body#cart .cart-summary-line.cart-total .value{font:700 26px/1.1 Rubik,sans-serif;color:var(--mf-navy)}

/* Codice promozionale (se attivo) */
body#cart .block-promo .promo-code-button,body#cart .block-promo .collapse-button{color:var(--mf-navy);font-weight:600}
body#cart .block-promo input.promo-input{border:1px solid var(--mf-border);border-radius:10px;height:44px}
body#cart .block-promo .btn{border-radius:10px;background:var(--mf-navy);color:#fff}

/* Pulsante checkout */
body#cart .cart-detailed-actions{padding:6px 26px 26px!important}
body#cart .cart-detailed-actions .btn-primary{display:flex;width:100%;min-height:54px;align-items:center;justify-content:center;border:0;border-radius:10px;background:var(--mf-navy)!important;color:#fff!important;font:600 16px/1.2 Rubik,sans-serif;text-transform:none;box-shadow:none;transition:background .2s}
body#cart .cart-detailed-actions .btn-primary:hover{background:var(--mf-orange-txt)!important}
body#cart .cart-detailed-actions .btn-primary:focus-visible{outline:3px solid var(--mf-cyan);outline-offset:2px}
body#cart .cart-detailed-actions .btn-primary.disabled{background:#E4E7EE;color:#6B7280}
body#cart #stripe-express-checkout-element:not(:empty){margin-top:12px}

/* Rassicurazioni (modulo blockreassurance) */
body#cart .blockreassurance_product{display:flex;flex-direction:column;gap:12px;background:#fff;border-radius:18px;padding:20px 26px;box-shadow:0 1px 2px rgba(14,27,61,.05),0 10px 30px rgba(14,27,61,.06)}
body#cart .blockreassurance_product>div:not(.clearfix){display:flex;align-items:center;gap:12px}
body#cart .blockreassurance_product .item-product{display:flex;align-items:center;justify-content:center;width:36px;height:36px;flex:none;border-radius:10px;background:var(--mf-soft);margin:0}
body#cart .blockreassurance_product .item-product svg,body#cart .blockreassurance_product .item-product img{width:20px;height:20px}
body#cart .blockreassurance_product .item-product svg path{fill:var(--mf-navy)}
body#cart .blockreassurance_product .block-title{margin:0;color:var(--mf-navy)!important;font:600 14px/1.35 Manrope,sans-serif}
body#cart .blockreassurance_product .clearfix{display:none}

/* Carrello vuoto */
body#cart .cart-overview .no-items{display:block;padding:28px;font:500 16px Manrope,sans-serif;color:var(--mf-muted)}

/* ---------- Tablet / mobile ---------- */
@media (max-width:991px){
 body#cart .cart-grid-right .cart-summary{position:static}
}
@media (max-width:767px){
 body#cart #main .cart-container>.card-block{padding:20px 18px 4px}
 body#cart #main .cart-container .h1{font-size:24px}
 body#cart .cart-item{padding:16px 18px}
 body#cart .product-line-grid{grid-template-columns:72px minmax(0,1fr);gap:12px 14px}
 body#cart .product-line-grid-left img{width:72px;height:72px;border-radius:10px}
 body#cart .product-line-actions{grid-column:1/-1}
 body#cart .product-line-actions>.row{justify-content:space-between}
 body#cart .product-line-actions>.row>[class*=col-md-10]>.row{gap:14px}
 body#cart .product-line-actions .price{min-width:0}
 body#cart .cart-summary .card-block,body#cart .cart-detailed-actions{padding-left:18px!important;padding-right:18px!important}
 body#cart .blockreassurance_product{padding:18px}
}

/* Rifiniture verificate sul sito (2026-11-10) */
body#cart #main{padding-top:24px}
body#cart #cart-subtotal-shipping>div:has(small:empty){display:none}
body#cart #cart-subtotal-shipping>div{width:100%}



/* ===== Popup "Prodotto aggiunto al carrello" (modulo ps_shoppingcart) – Manferdini 2026 =====
   Vale solo per #blockcart-modal: compare su qualunque pagina dopo "Aggiungi al carrello". */
#blockcart-modal{--mf-navy:#0E1B3D;--mf-orange-txt:#C4520F;--mf-cyan:#24B9D7;--mf-cyan-txt:#1C8FA8;--mf-border:#E4E7EE;--mf-soft:#F5F6F8;--mf-muted:#55595C;font-family:Manrope,Rubik,sans-serif}
#blockcart-modal .modal-dialog{max-width:760px;width:calc(100% - 32px);margin:72px auto}
#blockcart-modal .modal-content{border:0;border-radius:20px;overflow:hidden;box-shadow:0 24px 60px rgba(14,27,61,.25)}

/* Intestazione: spunta ciano + titolo navy, chiusura tonda */
#blockcart-modal .modal-header{position:relative;display:flex;align-items:center;padding:20px 64px 20px 28px;background:#fff;border-bottom:1px solid var(--mf-border)}
#blockcart-modal .modal-title{display:flex;align-items:center;gap:12px;margin:0;text-align:left!important;font:700 18px/1.3 Rubik,sans-serif;color:var(--mf-navy)}
#blockcart-modal .modal-title i{display:none}
#blockcart-modal .modal-title::before{content:"";flex:none;width:32px;height:32px;border-radius:50%;background:var(--mf-cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E1B3D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/16px no-repeat}
#blockcart-modal .modal-header .close{position:absolute;top:50%;right:20px;transform:translateY(-50%);width:40px;height:40px;margin:0;padding:0;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--mf-soft);opacity:1;color:var(--mf-navy);text-shadow:none}
#blockcart-modal .modal-header .close:hover{background:#E9ECF2}
#blockcart-modal .modal-header .close i{font-size:20px;line-height:1}

/* Corpo: due colonne (prodotto | riepilogo) */
#blockcart-modal .modal-body{padding:24px 28px 28px;background:#fff}
#blockcart-modal .modal-body>.row{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:28px;margin:0}
#blockcart-modal .modal-body>.row>[class*=col-]{width:auto;max-width:none;float:none;padding:0;flex:none}
#blockcart-modal .divide-right{border-right:1px solid var(--mf-border);padding-right:28px!important}

/* Prodotto aggiunto */
#blockcart-modal .divide-right>.row{display:grid;grid-template-columns:112px minmax(0,1fr);gap:16px;align-items:center;margin:0}
#blockcart-modal .divide-right>.row>[class*=col-]{width:auto;max-width:none;float:none;padding:0}
#blockcart-modal .product-image{display:block;width:112px;height:112px;object-fit:cover;border-radius:14px;background:var(--mf-soft)}
#blockcart-modal .product-name{margin:0 0 6px;font:600 16px/1.35 Rubik,sans-serif;color:var(--mf-navy);text-transform:none}
#blockcart-modal .product-name::first-letter{text-transform:uppercase}
#blockcart-modal p.product-price{margin:0 0 6px;font:700 20px/1.1 Rubik,sans-serif;color:var(--mf-navy)}
#blockcart-modal .product-quantity{display:inline-block;padding:3px 10px;border-radius:999px;background:var(--mf-soft);font-size:13px;color:var(--mf-muted)}
#blockcart-modal .product-quantity strong{color:var(--mf-navy)}

/* Riepilogo carrello */
#blockcart-modal .cart-content{padding:0}
#blockcart-modal .cart-content>p{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:0 0 8px;font:500 14px Manrope,sans-serif;color:var(--mf-muted)}
#blockcart-modal .cart-content>p>span:last-child,#blockcart-modal .cart-content .value{color:var(--mf-navy);font-weight:600}
#blockcart-modal .cart-content .shipping.value{color:var(--mf-cyan-txt)}
#blockcart-modal .cart-content .cart-products-count{display:block;margin-bottom:14px;font:600 14px Rubik,sans-serif;color:var(--mf-navy)}
#blockcart-modal .cart-content .product-total{margin:12px 0 0;padding:12px 0 0!important;border-top:1px solid var(--mf-border);background:none!important}
#blockcart-modal .cart-content .product-total .label{font:600 15px Rubik,sans-serif;color:var(--mf-navy)}
#blockcart-modal .cart-content .product-total .value{font:700 24px/1.1 Rubik,sans-serif;color:var(--mf-navy)}

/* Pulsanti */
#blockcart-modal .cart-content-btn{display:flex!important;width:100%;gap:10px;margin-top:20px}
#blockcart-modal .cart-content-btn .btn{flex:1 1 0;display:flex;align-items:center;justify-content:center;min-height:50px;margin:0;padding:12px 14px;border-radius:10px;font:600 15px/1.2 Rubik,sans-serif;text-transform:none;white-space:normal;box-shadow:none;transition:background .2s,border-color .2s}
#blockcart-modal .cart-content-btn .btn i{display:none}
#blockcart-modal .cart-content-btn .btn-secondary{background:#fff!important;color:var(--mf-navy)!important;border:1.5px solid var(--mf-border)!important}
#blockcart-modal .cart-content-btn .btn-secondary:hover{border-color:var(--mf-navy)!important}
#blockcart-modal .cart-content-btn .btn-primary{background:var(--mf-navy)!important;color:#fff!important;border:0!important}
#blockcart-modal .cart-content-btn .btn-primary:hover{background:var(--mf-orange-txt)!important}
#blockcart-modal .btn:focus-visible,#blockcart-modal .close:focus-visible{outline:3px solid var(--mf-cyan);outline-offset:2px}

/* Mobile: tutto in colonna, pulsanti a tutta larghezza (carrello per primo) */
@media (max-width:767px){
 #blockcart-modal .modal-dialog{margin:16px auto;width:calc(100% - 24px)}
 #blockcart-modal .modal-header{padding:16px 60px 16px 18px}
 #blockcart-modal .modal-title{font-size:16px}
 #blockcart-modal .modal-body{padding:18px}
 #blockcart-modal .modal-body>.row{grid-template-columns:minmax(0,1fr);gap:18px}
 #blockcart-modal .divide-right{border-right:0;padding-right:0!important;padding-bottom:18px!important;border-bottom:1px solid var(--mf-border)}
 #blockcart-modal .divide-right>.row{grid-template-columns:80px minmax(0,1fr)}
 #blockcart-modal .product-image{width:80px;height:80px;border-radius:12px}
 #blockcart-modal .cart-content-btn{flex-direction:column-reverse;align-items:stretch}
 #blockcart-modal .cart-content-btn .btn{flex:none;width:100%}
 #blockcart-modal .product-quantity{justify-self:start}
}





/* ===== Checkout Manferdini 2026 – CSS per custom.css del child theme =====
   Vale solo su body#checkout (pagina /ordine). Solo grafica: non cambia campi, passaggi né logica. */
body#checkout{--mf-navy:#0E1B3D;--mf-orange-txt:#C4520F;--mf-cyan:#24B9D7;--mf-cyan-txt:#1C8FA8;--mf-border:#E4E7EE;--mf-field:#C9D1DC;--mf-soft:#F5F6F8;--mf-muted:#55595C}
body#checkout #content{padding-top:24px}

/* ---------- Step come card ---------- */
body#checkout .checkout-step{margin:0 0 16px;padding:0;border:0;border-radius:18px;background:#fff;box-shadow:0 1px 2px rgba(14,27,61,.05),0 10px 30px rgba(14,27,61,.06);overflow:hidden}
body#checkout .checkout-step .step-title{display:flex;align-items:center;gap:14px;margin:0;padding:22px 26px;font:700 20px/1.25 Rubik,sans-serif;color:var(--mf-navy);text-transform:none;cursor:default}
body#checkout .checkout-step .step-number{display:inline-flex;align-items:center;justify-content:center;flex:none;width:34px;height:34px;border-radius:50%;background:var(--mf-navy);color:#fff;font:700 15px Rubik,sans-serif;margin:0}
body#checkout .checkout-step .step-title .done{display:none}
body#checkout .checkout-step .step-edit{margin-left:auto;display:none;align-items:center;gap:4px;font:600 14px Manrope,sans-serif;color:var(--mf-navy)!important;cursor:pointer}
body#checkout .checkout-step .step-edit i{font-size:18px}
/* Step completato: spunta ciano al posto del numero, pulsante Modifica */
body#checkout .checkout-step.-complete .step-number{display:none}
body#checkout .checkout-step.-complete .step-title .done{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:var(--mf-cyan);color:var(--mf-navy);font-size:20px;margin:0}
body#checkout .checkout-step.-complete.-reachable:not(.-current) .step-edit{display:inline-flex}
body#checkout .checkout-step.-complete:not(.-current) .step-title{cursor:pointer}
/* Step non ancora raggiungibile: attenuato */
body#checkout .checkout-step.-unreachable .step-title{color:#8A93A3;padding:18px 26px}
body#checkout .checkout-step.-unreachable .step-number{background:var(--mf-border);color:#6B7280}
/* Step attivo: anello ciano */
body#checkout .checkout-step.-current{box-shadow:0 0 0 2px var(--mf-cyan),0 10px 30px rgba(14,27,61,.08)}
body#checkout .checkout-step .content{padding:0 26px 26px}

/* ---------- Tab Crea account / Accedi come pillole ---------- */
body#checkout .checkout-step .nav-inline{display:inline-flex;gap:4px;margin:0 0 22px!important;padding:4px;border-radius:999px;background:var(--mf-soft)}
body#checkout .checkout-step .nav-inline .nav-item{margin:0}
body#checkout .checkout-step .nav-separator{display:none}
body#checkout .checkout-step .nav-inline .nav-link{display:block;padding:9px 18px;border-radius:999px;font:600 14px Rubik,sans-serif;color:var(--mf-muted);text-decoration:none;transition:background .2s,color .2s}
body#checkout .checkout-step .nav-inline .nav-link.active{background:var(--mf-navy);color:#fff}
body#checkout .checkout-step .nav-inline .nav-link:not(.active):hover{color:var(--mf-navy)}

/* ---------- Campi: etichetta | campo | nota ---------- */
body#checkout .checkout-step .form-group.row{display:grid;grid-template-columns:170px minmax(0,1fr) 90px;gap:6px 16px;align-items:start;margin:0 0 16px}
body#checkout .checkout-step .form-group.row>[class*=col-]{width:auto;max-width:none;float:none;padding:0;flex:none}
body#checkout .checkout-step .form-control-label{padding-top:13px;text-align:left;font:600 14px Manrope,sans-serif;color:var(--mf-navy)}
body#checkout .checkout-step .form-control-label.required::after{content:" *";color:var(--mf-orange-txt)}
body#checkout .checkout-step .form-group.row>.form-control-comment{padding-top:14px;font-size:12px;color:#6B7280}
body#checkout .checkout-step .form-control{height:48px;padding:0 14px;border:1px solid var(--mf-field);border-radius:10px;background:#fff;font:500 15px Manrope,sans-serif;color:var(--mf-navy);box-shadow:none;transition:border-color .15s,box-shadow .15s}
body#checkout .checkout-step .form-control:focus{border-color:var(--mf-navy);outline:0;box-shadow:0 0 0 3px rgba(36,185,215,.35)}
body#checkout .checkout-step .form-control::placeholder{color:#9AA3B2}
body#checkout .checkout-step select.form-control{padding-right:36px}
body#checkout .checkout-step .js-input-column>.form-control-comment{display:block;margin-top:6px;font-size:12px;color:#6B7280}
body#checkout .checkout-step .has-error .form-control{border-color:#C0392B}
body#checkout .checkout-step .help-block,body#checkout .checkout-step .alert-danger{border-radius:10px;font-size:13px}
/* Password: campo + "Mostra" uniti */
body#checkout .checkout-step .input-group{display:flex;width:100%}
body#checkout .checkout-step .input-group .form-control{border-radius:10px 0 0 10px}
body#checkout .checkout-step .input-group-btn .btn{height:48px;padding:0 16px;border:1px solid var(--mf-field);border-left:0;border-radius:0 10px 10px 0;background:var(--mf-soft);color:var(--mf-navy);font:600 13px Rubik,sans-serif;text-transform:none}
body#checkout .checkout-step .input-group-btn .btn:hover{background:#E9ECF2}
/* Barra robustezza password (se presente) */
body#checkout .password-strength-feedback,body#checkout .password-requirements{font-size:12px;color:#6B7280}

/* Radio Sig./Sig.ra */
body#checkout .checkout-step .form-control-valign{padding-top:12px}
body#checkout .checkout-step .radio-inline{display:inline-flex;align-items:center;gap:8px;margin-right:22px;font:500 15px Manrope,sans-serif;color:var(--mf-navy);cursor:pointer}
body#checkout .custom-radio{width:20px;height:20px;margin:0;border:1.5px solid #9AA3B2;background:#fff;vertical-align:middle}
body#checkout .custom-radio input[type=radio]:checked+span{display:block;width:10px;height:10px;margin:3.5px;background:var(--mf-navy)}
body#checkout .custom-radio:focus-within{box-shadow:0 0 0 3px rgba(36,185,215,.35)}

/* Checkbox (privacy, condizioni, newsletter) */
body#checkout .custom-checkbox label{display:flex;align-items:flex-start;gap:10px;margin:0;padding-top:4px;font:500 14px/1.5 Manrope,sans-serif;color:var(--mf-navy);cursor:pointer}
body#checkout .custom-checkbox input[type=checkbox]+span{flex:none;display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;margin:1px 0 0;border:1.5px solid #9AA3B2;border-radius:6px;background:#fff;vertical-align:top}
body#checkout .custom-checkbox input[type=checkbox]:checked+span{background:var(--mf-navy);border-color:var(--mf-navy)}
body#checkout .custom-checkbox input[type=checkbox]+span .checkbox-checked{font-size:16px;color:#fff;margin:0}
body#checkout .custom-checkbox input[type=checkbox]:focus+span{box-shadow:0 0 0 3px rgba(36,185,215,.35)}
body#checkout .custom-checkbox em{display:block;margin-top:4px;font-style:normal;font-size:12.5px;line-height:1.5;color:#6B7280}
/* le righe solo-checkbox non hanno etichetta: la checkbox si allinea al campo */
body#checkout .checkout-step .form-group.row .form-control-label:empty{padding:0}

/* Link "Hai dimenticato la password?" */
body#checkout .forgot-password{margin:-4px 0 8px;padding-left:186px}
body#checkout .forgot-password a{font:600 14px Manrope,sans-serif;color:var(--mf-navy);text-decoration:underline;text-underline-offset:3px}
body#checkout .forgot-password a:hover{color:var(--mf-orange-txt)}

/* ---------- Pulsanti ---------- */
body#checkout .checkout-step .form-footer{display:flex;justify-content:flex-end;margin-top:8px;padding-top:20px;border-top:1px solid var(--mf-border)}
body#checkout .checkout-step .btn-primary,body#checkout #payment-confirmation .btn-primary{display:inline-flex;align-items:center;justify-content:center;min-width:220px;min-height:52px;float:none!important;padding:12px 28px;border:0;border-radius:10px;background:var(--mf-navy)!important;color:#fff!important;font:600 16px/1.2 Rubik,sans-serif;text-transform:none;box-shadow:none;transition:background .2s}
body#checkout .checkout-step .btn-primary:hover,body#checkout #payment-confirmation .btn-primary:hover{background:var(--mf-orange-txt)!important}
body#checkout .btn-primary:focus-visible,body#checkout .nav-link:focus-visible,body#checkout a:focus-visible{outline:3px solid var(--mf-cyan);outline-offset:2px}
body#checkout .btn-primary.disabled,body#checkout .btn-primary[disabled]{background:#E4E7EE!important;color:#6B7280!important}

/* ---------- Step 2-4 (struttura standard Classic) ---------- */
/* Indirizzi */
body#checkout .address-item{border:1.5px solid var(--mf-border);border-radius:14px;background:#fff;padding:0;margin-bottom:12px;transition:border-color .2s}
body#checkout .address-item.selected{border-color:var(--mf-navy);box-shadow:0 0 0 3px rgba(36,185,215,.25)}
body#checkout .address-item header{padding:16px 18px}
body#checkout .address-item .address-alias{font:700 15px Rubik,sans-serif;color:var(--mf-navy)}
body#checkout .address-item .address{font-size:14px;line-height:1.6;color:var(--mf-muted);margin:6px 0 0 30px}
body#checkout .address-item .address-footer{padding:10px 18px;border-top:1px solid var(--mf-border)}
body#checkout .address-item .address-footer a{font:600 13px Manrope,sans-serif;color:var(--mf-navy)}
body#checkout .add-address a{display:inline-flex;align-items:center;gap:6px;font:600 14px Rubik,sans-serif;color:var(--mf-navy)}
/* Spedizione */
body#checkout .delivery-options{display:flex;flex-direction:column;gap:10px}
body#checkout .delivery-option{display:flex;align-items:center;margin:0;padding:14px 16px;border:1.5px solid var(--mf-border);border-radius:14px;background:#fff!important}
body#checkout .delivery-option:has(input:checked){border-color:var(--mf-navy);box-shadow:0 0 0 3px rgba(36,185,215,.25)}
body#checkout .delivery-option .carrier-name{font:600 15px Rubik,sans-serif;color:var(--mf-navy)}
body#checkout .delivery-option .carrier-delay{font-size:13px;color:var(--mf-muted)}
body#checkout .delivery-option .carrier-price{font:700 15px Rubik,sans-serif;color:var(--mf-navy)}
body#checkout .delivery-option img{max-width:48px;border-radius:8px}
body#checkout .order-options textarea{border:1px solid var(--mf-field);border-radius:10px;min-height:100px;padding:12px 14px}
/* Pagamento */
body#checkout .payment-options>div{margin:0}
body#checkout .payment-option{display:flex;align-items:center;gap:12px;margin:0 0 10px;padding:14px 16px;border:1.5px solid var(--mf-border);border-radius:14px;background:#fff}
body#checkout .payment-option:has(input:checked){border-color:var(--mf-navy);box-shadow:0 0 0 3px rgba(36,185,215,.25)}
body#checkout .payment-option label{margin:0;font:600 15px Rubik,sans-serif;color:var(--mf-navy);display:flex;align-items:center;gap:10px}
body#checkout .payment-option img{max-height:28px}
body#checkout .additional-information,body#checkout .js-additional-information{margin:-4px 0 12px;padding:14px 16px;border-radius:12px;background:var(--mf-soft);font-size:14px;color:var(--mf-muted)}
body#checkout #conditions-to-approve{margin:18px 0 6px}
body#checkout #conditions-to-approve ul{list-style:none;padding:0;margin:0}
body#checkout #conditions-to-approve label{font:500 14px/1.5 Manrope,sans-serif;color:var(--mf-navy)}
body#checkout #payment-confirmation{margin-top:16px}
body#checkout #payment-confirmation .ps-shown-by-js{display:flex;justify-content:flex-end}
body#checkout #payment-confirmation .btn-primary{min-width:260px}

/* ---------- Riepilogo a destra ---------- */
body#checkout #js-checkout-summary{position:sticky;top:130px;margin-bottom:16px;border:0;border-radius:18px;background:#fff;box-shadow:0 1px 2px rgba(14,27,61,.05),0 10px 30px rgba(14,27,61,.06);overflow:hidden}
body#checkout #js-checkout-summary .card-block{padding:20px 26px}
body#checkout .cart-summary-products{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 12px}
body#checkout .cart-summary-products>p{margin:0;font:700 16px Rubik,sans-serif;color:var(--mf-navy)}
body#checkout .cart-summary-products .js-show-details{display:inline-flex;align-items:center;gap:2px;font:600 13px Manrope,sans-serif;color:var(--mf-cyan-txt);text-decoration:none}
body#checkout .cart-summary-products .js-show-details i{font-size:20px;transition:transform .2s}
body#checkout .cart-summary-products .js-show-details[aria-expanded=true] i{transform:rotate(180deg)}
body#checkout #cart-summary-product-list{width:100%}
body#checkout #cart-summary-product-list .media-list{margin:14px 0 0;padding:0;list-style:none}
body#checkout #cart-summary-product-list .media{display:flex;align-items:center;gap:12px;padding:10px 0;border-top:1px solid var(--mf-border);margin:0}
body#checkout #cart-summary-product-list .media-left{padding:0}
body#checkout #cart-summary-product-list .media-left img{display:block;width:52px;height:52px;object-fit:cover;border-radius:10px;background:var(--mf-soft)}
body#checkout #cart-summary-product-list .media-body{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:10px;align-items:center;flex:1;min-width:0}
body#checkout #cart-summary-product-list .media-body>br{display:none}
body#checkout #cart-summary-product-list .product-name a{font:600 14px/1.35 Rubik,sans-serif;color:var(--mf-navy)}
body#checkout #cart-summary-product-list .product-name a::first-letter{text-transform:uppercase}
body#checkout #cart-summary-product-list .product-quantity{grid-row:2;font-size:12px;color:#6B7280}
body#checkout #cart-summary-product-list .product-price{grid-row:1/span 2;grid-column:2;float:none!important;font:700 14px Rubik,sans-serif;color:var(--mf-navy)}
body#checkout .cart-summary-subtotals-container{border-top:1px solid var(--mf-border)}
body#checkout #js-checkout-summary .cart-summary-line{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:0 0 10px;padding:0!important;border:0!important;font:500 15px Manrope,sans-serif;color:var(--mf-muted)}
body#checkout #js-checkout-summary .cart-summary-line::after{display:none}
body#checkout #js-checkout-summary .cart-summary-line .label,body#checkout #js-checkout-summary .cart-summary-line .value{float:none;font-weight:inherit;color:inherit}
body#checkout #js-checkout-summary .cart-summary-line .value{color:var(--mf-navy);font-weight:600}
body#checkout #cart-subtotal-shipping .value{color:var(--mf-cyan-txt)!important}
body#checkout #js-checkout-summary .cart-summary-totals{background:none!important;border-top:1px solid var(--mf-border);padding-top:18px!important}
body#checkout #js-checkout-summary .cart-summary-totals .cart-summary-line:not(.cart-total){font-size:13px}
body#checkout #js-checkout-summary .cart-summary-line.cart-total{margin:6px 0 0;background:none}
body#checkout #js-checkout-summary .cart-total .label{font:600 16px Rubik,sans-serif;color:var(--mf-navy)}
body#checkout #js-checkout-summary .cart-total .value{font:700 26px/1.1 Rubik,sans-serif;color:var(--mf-navy)}

/* Rassicurazioni */
body#checkout .blockreassurance_product{display:flex;flex-direction:column;gap:12px;background:#fff;border-radius:18px;padding:20px 26px;box-shadow:0 1px 2px rgba(14,27,61,.05),0 10px 30px rgba(14,27,61,.06)}
body#checkout .blockreassurance_product>div:not(.clearfix){display:flex;align-items:center;gap:12px}
body#checkout .blockreassurance_product .item-product{display:flex;align-items:center;justify-content:center;width:36px;height:36px;flex:none;border-radius:10px;background:var(--mf-soft);margin:0}
body#checkout .blockreassurance_product .item-product svg,body#checkout .blockreassurance_product .item-product img{width:20px;height:20px}
body#checkout .blockreassurance_product .item-product svg path{fill:var(--mf-navy)}
body#checkout .blockreassurance_product .block-title{margin:0;color:var(--mf-navy)!important;font:600 14px/1.35 Manrope,sans-serif}
body#checkout .blockreassurance_product .clearfix{display:none}

/* ---------- Tablet / mobile ---------- */
@media (max-width:991px){
 body#checkout #js-checkout-summary{position:static;margin-top:8px}
}
@media (max-width:767px){
 body#checkout .checkout-step .step-title{padding:18px;font-size:18px}
 body#checkout .checkout-step .content{padding:0 18px 20px}
 body#checkout .checkout-step .form-group.row{grid-template-columns:minmax(0,1fr);gap:6px}
 body#checkout .checkout-step .form-control-label{padding-top:0}
 body#checkout .checkout-step .form-group.row>.form-control-comment{padding-top:0}
 body#checkout .checkout-step .form-group.row>.form-control-comment:empty,
 body#checkout .checkout-step .form-group.row>.form-control-comment:not(:has(*)):is(:empty){display:none}
 body#checkout .forgot-password{padding-left:0}
 body#checkout .checkout-step .form-footer .btn-primary,body#checkout #payment-confirmation .btn-primary{width:100%}
 body#checkout #js-checkout-summary .card-block,body#checkout .blockreassurance_product{padding-left:18px;padding-right:18px}
}

/* Rifiniture verificate sul sito (2026-11-10): vincono sugli stili del tema */
body#checkout .checkout-step .step-title{text-transform:none!important;border-bottom:0!important}
body#checkout .checkout-step:not(.-unreachable) .step-number{background:var(--mf-navy)!important;color:#fff!important}
body#checkout .checkout-step .nav-inline .nav-link.active{background:var(--mf-navy)!important;color:#fff!important}
body#checkout .checkout-step .nav-inline .nav-link{border:0!important}
body#checkout #js-checkout-summary .card-block .card-block{padding-left:0;padding-right:0}
/* Checkbox con testo lungo (privacy/newsletter): testo in flusso normale, casella a sinistra */
body#checkout .custom-checkbox label{display:block!important;position:relative;padding-left:32px}
body#checkout .custom-checkbox input[type=checkbox]+span{position:absolute;left:0;top:4px;margin:0}
body#checkout .custom-checkbox label br{display:none}
/* Righe solo-checkbox: niente etichetta né asterisco a sinistra */
body#checkout .checkout-step .form-group.row:has(.custom-checkbox)>.form-control-label{visibility:hidden}
body#checkout .checkout-step .form-group.row:has(.custom-checkbox){margin-bottom:10px}
@media (max-width:767px){
 body#checkout .checkout-step .form-group.row:has(.custom-checkbox)>:not(.js-input-column){display:none}
}

/* v2 (2026-11-10): spunta degli step completati centrata nel cerchio (il tema la forzava a blocco con padding) */
body#checkout .checkout-step.-complete .step-title .done{display:inline-flex!important;align-items:center;justify-content:center;flex:none;width:34px!important;height:34px!important;padding:0!important;margin:0!important;line-height:1!important;font-size:20px!important;text-align:center;border-radius:50%;background:var(--mf-cyan);color:var(--mf-navy)}
/* Riepilogo su schermi medi: importi su una riga, etichette a sinistra */
body#checkout #js-checkout-summary .cart-summary-line .label{text-align:left}
body#checkout #js-checkout-summary .cart-summary-line .value{white-space:nowrap;margin-left:auto}




/* ===== Home Manferdini v2 (griglie prodotto) – CSS per custom.css del child theme =====
   Vale solo in home (.page-index) e solo sulle sezioni del template (classi mf-*).
   Le schede prodotto prendono lo stile dalla CSS della miniatura (v5). */
.page-index{--mf-navy:#0E1B3D;--mf-orange:#F26B1D;--mf-orange-txt:#C4520F;--mf-cyan:#24B9D7;--mf-cyan-txt:#1C8FA8;--mf-border:#E4E7EE;--mf-soft:#F5F6F8;--mf-muted:#55595C;overflow-x:clip}

/* ---------- Sezioni a tutta larghezza senza "Stretch section" (niente salto al caricamento) ---------- */
.page-index .elementor-section.mf-full{width:100vw!important;max-width:100vw;margin-left:calc(50% - 50vw)!important;left:auto!important}
.page-index .mf-sec,.page-index [id^="mf-"]{scroll-margin-top:150px}

/* ---------- Pulsanti ---------- */
.page-index .mf-btn .elementor-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:13px 24px!important;border-radius:10px!important;font:600 15px/1.2 Rubik,sans-serif!important;text-transform:none;transition:background .2s,color .2s,border-color .2s}
.page-index .mf-btn .elementor-button-content-wrapper{display:flex;align-items:center;gap:8px}
.page-index .mf-btn .elementor-button-icon{margin:0!important}
.page-index .mf-btn--orange .elementor-button{background:var(--mf-orange)!important;color:#fff!important;border:0!important}
.page-index .mf-btn--orange .elementor-button:hover{background:#D85A12!important}
.page-index .mf-btn--ghost .elementor-button{background:transparent!important;color:#fff!important;border:1.5px solid rgba(255,255,255,.45)!important}
.page-index .mf-btn--ghost .elementor-button:hover{background:#fff!important;color:var(--mf-navy)!important}
.page-index .mf-btn--navy .elementor-button{background:var(--mf-navy)!important;color:#fff!important;border:0!important}
.page-index .mf-btn--navy .elementor-button:hover{background:var(--mf-orange-txt)!important}
.page-index .mf-btn--white .elementor-button{background:#fff!important;color:var(--mf-navy)!important;border:0!important}
.page-index .mf-btn--white .elementor-button:hover{background:var(--mf-navy)!important;color:#fff!important}
.page-index .mf-btn--outline .elementor-button{background:#fff!important;color:var(--mf-navy)!important;border:1.5px solid var(--mf-border)!important}
.page-index .mf-btn--outline .elementor-button:hover{border-color:var(--mf-navy)!important}
.page-index .mf-btn--link .elementor-button{min-height:44px;padding:10px 4px!important;background:transparent!important;color:var(--mf-orange-txt)!important;border:0!important}
.page-index .mf-btn--link .elementor-button:hover{color:var(--mf-navy)!important}
.page-index .mf-btn .elementor-button:focus-visible{outline:3px solid var(--mf-cyan);outline-offset:2px}

/* ---------- Hero ---------- */
.page-index .mf-hero-ctas .elementor-column{margin-bottom:8px}
.page-index .mf-hero-checks .elementor-icon-list-items{gap:8px 22px}
.page-index .mf-hero-card>.elementor-column-wrap,.page-index .mf-hero-card>.elementor-widget-wrap{background:#fff;border-radius:18px;padding:32px!important;box-shadow:0 24px 50px rgba(0,0,0,.28)}

/* ---------- Barra "Vai subito a": pillole, scorrevole su mobile ---------- */
.page-index .mf-chipbar{border-bottom:1px solid var(--mf-border);box-shadow:0 6px 18px rgba(14,27,61,.05)}
.page-index .mf-chipbar .elementor-widget-wrap{display:flex!important;align-items:center;flex-wrap:nowrap;gap:14px}
.page-index .mf-chipbar .elementor-widget{margin:0!important}
.page-index .mf-chips-label{flex:none;width:auto!important}
.page-index .mf-chips{flex:1;min-width:0;width:auto!important}
.page-index .mf-chips .elementor-icon-list-items{display:flex!important;flex-wrap:wrap;gap:8px;margin:0!important}
.page-index .mf-chips .elementor-icon-list-item{margin:0!important;padding:0!important}
.page-index .mf-chips .elementor-icon-list-item::after{display:none!important}
.page-index .mf-chips .elementor-icon-list-item a{display:inline-flex;align-items:center;min-height:38px;padding:0 14px;border-radius:999px;background:var(--mf-soft);border:1px solid var(--mf-border);white-space:nowrap;transition:background .2s,border-color .2s}
.page-index .mf-chips .elementor-icon-list-item a:hover{background:#fff;border-color:var(--mf-navy)}
.page-index .mf-chips .elementor-icon-list-icon{display:none!important}
.page-index .mf-chips .elementor-icon-list-text{padding:0!important;font:600 13px Manrope,sans-serif!important;color:var(--mf-navy)!important}

/* ---------- Intestazioni di blocco (navy) ---------- */
.page-index .mf-intro .elementor-heading-title{margin:0}

/* ---------- Sezioni griglia ---------- */
.page-index .mf-sec-head>.elementor-container{align-items:flex-end}
.page-index .mf-sec-head .elementor-heading-title a{color:inherit}
.page-index .mf-sec-head .elementor-heading-title a:hover{color:var(--mf-orange-txt)}
.page-index .mf-grid .ce-product-grid{column-gap:20px!important;row-gap:24px!important}
.page-index .mf-grid [data-elementor-type="product-miniature"]{height:100%}
.page-index .mf-more{margin-top:28px!important}
.page-index .mf-more .elementor-button{min-width:280px}

/* ---------- Fascia Nuovo / Usato ---------- */
.page-index .mf-card>.elementor-column-wrap,.page-index .mf-card>.elementor-widget-wrap{height:100%;border-radius:18px;padding:36px!important}
.page-index .mf-card--navy>.elementor-column-wrap,.page-index .mf-card--navy>.elementor-widget-wrap{background:var(--mf-navy)}
.page-index .mf-card--white>.elementor-column-wrap,.page-index .mf-card--white>.elementor-widget-wrap{background:#fff;border:1px solid #E6DFD0}
.page-index .mf-pill{width:auto!important;margin-bottom:14px!important}
.page-index .mf-pill .elementor-heading-title{display:inline-block;padding:6px 12px;border-radius:999px}
.page-index .mf-pill--cyan .elementor-heading-title{background:var(--mf-cyan);color:var(--mf-navy)}
.page-index .mf-pill--orange .elementor-heading-title{background:var(--mf-orange-txt);color:#fff}
.page-index .mf-list .elementor-icon-list-items,.page-index .mf-list-light .elementor-icon-list-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 18px}
.page-index .mf-list .elementor-icon-list-item,.page-index .mf-list-light .elementor-icon-list-item{margin:0!important;padding:4px 0!important}
.page-index .mf-list-light .elementor-icon-list-item a:hover .elementor-icon-list-text{color:var(--mf-cyan)!important}

/* ---------- Servizi ---------- */
.page-index .mf-service>.elementor-column-wrap,.page-index .mf-service>.elementor-widget-wrap{height:100%;padding:26px!important;border-radius:16px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14);transition:background .2s}
.page-index .mf-service:hover>.elementor-column-wrap,.page-index .mf-service:hover>.elementor-widget-wrap{background:rgba(255,255,255,.1)}
.page-index .mf-service .elementor-icon-box-title a{color:#fff}

/* ---------- Tablet ---------- */
@media (max-width:1024px){
 .page-index .mf-hero-card{margin-top:28px}
 .page-index .mf-card--navy{margin-bottom:20px}
 .page-index .mf-service{margin-bottom:16px}
 .page-index .mf-grid .ce-product-grid{column-gap:16px!important;row-gap:20px!important}
}
/* ---------- Mobile ---------- */
@media (max-width:767px){
 .page-index .mf-hero-card>.elementor-column-wrap,.page-index .mf-hero-card>.elementor-widget-wrap{padding:24px!important;border-radius:14px}
 .page-index .mf-hero-checks .elementor-icon-list-items{flex-direction:column;gap:6px}
 /* barra scorciatoie: una riga che scorre in orizzontale */
 .page-index .mf-chipbar .elementor-widget-wrap{gap:10px}
 .page-index .mf-chips-label{display:none}
 .page-index .mf-chips{overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding-right:16px}
 .page-index .mf-chips::-webkit-scrollbar{display:none}
 .page-index .mf-chips .elementor-icon-list-items{flex-wrap:nowrap}
 /* intestazione blocco: titolo sopra, "Vedi tutti" sotto a sinistra */
 .page-index .mf-sec-head .mf-btn--link .elementor-button{padding-left:0!important}
 .page-index .mf-grid .ce-product-grid{column-gap:10px!important;row-gap:14px!important}
 .page-index .mf-more{margin-top:20px!important}
 .page-index .mf-more .elementor-button{min-width:0;width:100%}
 .page-index .mf-card>.elementor-column-wrap,.page-index .mf-card>.elementor-widget-wrap{padding:24px!important;border-radius:14px}
 .page-index .mf-list .elementor-icon-list-items,.page-index .mf-list-light .elementor-icon-list-items{grid-template-columns:minmax(0,1fr)}
 .page-index .mf-service>.elementor-column-wrap,.page-index .mf-service>.elementor-widget-wrap{padding:20px!important}
}
/* scorrimento morbido verso le sezioni dalla barra "Vai subito a" */
html:has(body.page-index){scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html:has(body.page-index){scroll-behavior:auto}}

/* Home: le sezioni mf-full si allargano già via CSS.
   Se in CE è attivo anche "Estendi sezione", il JS aggiunge un secondo spostamento a sinistra: qui lo annulliamo */
body.page-index #content .elementor-section.mf-full{
  left:0!important;
  width:100vw!important;
  max-width:100vw!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:0!important
}





/* ===== Header Manferdini 2026 – CSS per custom.css del child theme =====
   Vale solo per il template header importato (classi mfh-*). Non tocca home, prodotto, carrello, checkout.
   Desktop >= 1025px: topbar che scorre via + barra logo/ricerca + barra menu (sticky)
   Tablet/mobile <= 1024px: barra compatta + drawer laterale */
:root{
  --mfh-navy:#0E1B3D; --mfh-navy-2:#16264F; --mfh-orange:#F26B1D; --mfh-orange-txt:#C4520F;
  --mfh-cyan:#24B9D7; --mfh-cyan-txt:#1C8FA8; --mfh-soft:#F5F6F8; --mfh-line:#E4E7EE; --mfh-ink:#1B2440; --mfh-muted:#5B6275;
  --mfh-wa:#25D366; --mfh-top-h:36px;
}

/* ---------- contenitore: sticky, la topbar scorre via (top negativo) ---------- */
#header{position:sticky;top:calc(var(--mfh-top-h) * -1);z-index:1000;background:#fff;transition:box-shadow .2s}
body.mfh-scrolled #header{box-shadow:0 6px 24px rgba(14,27,61,.12)}
@media (max-width:1024px){#header{top:0}}

/* visibilità per dispositivo (niente classi "nascondi" di CE da ricordare) */
@media (max-width:1024px){#header .mfh-desk{display:none!important}}
@media (min-width:1025px){#header .mfh-mob{display:none!important}}

/* reset di spaziature CE dentro l'header */
#header .mfh-sec>.elementor-container,#header .mfh-sec>.elementor-container>.elementor-row{min-height:0;align-items:center}
/* CE 2.14 mette le colonne in .elementor-row, che su mobile va a capo: lo blocchiamo dove serve */
#header .mfh-sec .elementor-column>.elementor-column-wrap,
#header .mfh-sec .elementor-column>.elementor-widget-wrap{padding:0!important}
#header .mfh-sec .elementor-widget:not(:last-child){margin-bottom:0}
#header .mfh-topbar,#header .mfh-nav-w{width:100%}
#header .mfh-sec{padding:0 24px}
#header .mfh-i{width:16px;height:16px;flex:0 0 auto}

/* ---------- topbar ---------- */
#header .mfh-top-sec{background:var(--mfh-navy);color:#C9D1E4}
#header .mfh-top{display:flex;align-items:center;justify-content:space-between;gap:24px;height:var(--mfh-top-h);
  font:500 13px/1 Manrope,sans-serif}
#header .mfh-top ul{display:flex;align-items:center;gap:22px;margin:0;padding:0;list-style:none}
#header .mfh-top a,#header .mfh-top li>span{display:inline-flex;align-items:center;gap:7px;color:#C9D1E4;text-decoration:none;white-space:nowrap}
#header .mfh-top a:hover{color:#fff}
#header .mfh-top .mfh-i{width:14px;height:14px;color:var(--mfh-cyan)}
#header .mfh-top__links li+li{padding-left:22px;border-left:1px solid rgba(255,255,255,.16)}
@media (max-width:1180px){#header .mfh-top__info li:nth-child(3){display:none}}

/* ---------- barra principale desktop ---------- */
#header .mfh-main{background:#fff;border-bottom:1px solid var(--mfh-line)}
#header .mfh-main>.elementor-container{min-height:80px}
#header .mfh-main>.elementor-container>.elementor-row{flex-wrap:nowrap;gap:28px}
#header .mfh-main .mfh-c-logo{width:auto!important;flex:0 0 auto}
#header .mfh-main .mfh-c-search{flex:1 1 auto;width:auto!important}
#header .mfh-main .mfh-actions{width:auto!important;flex:0 0 auto}
#header .mfh-logo img{display:block;width:auto;height:auto;max-height:52px;max-width:240px}

/* azioni in riga */
#header .mfh-actions>.elementor-column-wrap>.elementor-widget-wrap,
#header .mfh-actions>.elementor-widget-wrap{display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-end;gap:10px}
#header .mfh-actions .elementor-widget{width:auto!important;max-width:none!important;margin:0!important;flex:0 0 auto}

/* pillola WhatsApp ricambi */
#header .mfh-wa{display:flex;align-items:center;gap:10px;padding:6px 14px 6px 6px;border:1px solid var(--mfh-line);border-radius:999px;
  text-decoration:none;color:var(--mfh-ink);transition:border-color .2s,background .2s}
#header .mfh-wa:hover{border-color:var(--mfh-wa);background:#F2FBF5}
#header .mfh-wa__ic{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--mfh-wa);color:#fff}
#header .mfh-wa__ic .mfh-i{width:20px;height:20px}
#header .mfh-wa__txt{display:flex;flex-direction:column;line-height:1.15}
#header .mfh-wa__txt small{font:600 11px/1.2 Manrope,sans-serif;color:var(--mfh-muted);text-transform:uppercase;letter-spacing:.06em}
#header .mfh-wa__txt strong{font:700 15px/1.2 Rubik,sans-serif;color:var(--mfh-navy);white-space:nowrap}
@media (max-width:1240px){#header .mfh-wa{padding:6px}#header .mfh-wa__txt{display:none}}

/* ricerca (desktop e mobile) */
#header .mfh-search .elementor-search__container{display:flex;align-items:center;height:48px;border:1.5px solid var(--mfh-line)!important;
  border-radius:999px!important;background:var(--mfh-soft)!important;overflow:hidden;transition:border-color .2s,background .2s,box-shadow .2s}
#header .mfh-search .elementor-search__container:focus-within{border-color:var(--mfh-cyan)!important;background:#fff!important;box-shadow:0 0 0 4px rgba(36,185,215,.15)}
#header .mfh-search .elementor-search__input{flex:1;height:100%;border:0!important;background:transparent!important;padding:0 8px 0 22px!important;
  font:500 15px/1 Manrope,sans-serif!important;color:var(--mfh-ink)!important;box-shadow:none!important;outline:0}
#header .mfh-search .elementor-search__input::placeholder{color:#8A90A2;opacity:1}
#header .mfh-search .elementor-search__submit{flex:0 0 auto;width:40px!important;height:40px!important;min-width:0;margin:0 4px 0 0;padding:0!important;
  border-radius:50%!important;background:var(--mfh-orange)!important;color:#fff!important;border:0;font-size:16px;display:grid;place-items:center;transition:background .2s}
#header .mfh-search .elementor-search__submit:hover{background:var(--mfh-orange-txt)!important}

/* account */
#header .mfh-account .elementor-nav{display:flex;margin:0;padding:0}
#header .mfh-account .elementor-item{text-decoration:none!important;display:flex!important;align-items:center;gap:8px;height:48px;padding:0 14px!important;border-radius:999px;
  font:600 15px/1 Manrope,sans-serif!important;color:var(--mfh-navy)!important;text-transform:none!important;transition:background .2s}
#header .mfh-account .elementor-item:hover,#header .mfh-account .elementor-item:focus{background:var(--mfh-soft)}
#header .mfh-account .elementor-item i{font-size:17px;color:var(--mfh-navy)}
#header .mfh-account .elementor-item::before,#header .mfh-account .elementor-item::after{display:none!important}
#header .mfh-account .sub-arrow{display:none}
#header .mfh-account .sub-menu{border-radius:12px;overflow:hidden;box-shadow:0 14px 34px rgba(14,27,61,.16)}

/* carrello */
#header .mfh-cart .elementor-cart__toggle .elementor-button{text-decoration:none!important;display:flex;align-items:center;gap:10px;height:48px;padding:0 18px 0 16px!important;
  border-radius:999px!important;background:var(--mfh-navy)!important;color:#fff!important;border:0!important;
  font:700 15px/1 Rubik,sans-serif!important;transition:background .2s}
#header .mfh-cart .elementor-cart__toggle .elementor-button:hover{background:var(--mfh-navy-2)!important}
#header .mfh-cart .elementor-button-icon{position:relative;font-size:19px;color:#fff!important}
#header .mfh-cart .elementor-button-icon[data-counter]::before{content:attr(data-counter);position:absolute;top:-9px;right:-11px;min-width:19px;height:19px;
  padding:0 5px;border-radius:999px;background:var(--mfh-orange)!important;color:#fff!important;border:2px solid var(--mfh-navy);
  font:700 11px/15px Rubik,sans-serif;text-align:center;box-sizing:border-box}
#header .mfh-cart .elementor-button-icon[data-counter="0"]::before{display:none}
#header .mfh-cart .elementor-button-text{color:#fff!important;white-space:nowrap}

/* ---------- barra menu desktop + mega menu ---------- */
#header .mfh-nav-sec{background:var(--mfh-navy);position:relative}
#header .mfh-nav-sec .elementor-container,#header .mfh-nav-sec .elementor-column,
#header .mfh-nav-sec .elementor-column-wrap,#header .mfh-nav-sec .elementor-widget-wrap,#header .mfh-nav-w{position:static!important}
#header .mfh-nav-w,#header .mfh-nav-w .elementor-widget-container{width:100%}
#header .mfh-nav__list{display:flex;align-items:stretch;justify-content:center;gap:4px;margin:0;padding:0;list-style:none}
#header .mfh-nav__item{position:static}
#header .mfh-nav__item--drop{position:relative}
#header .mfh-nav__link{position:relative;display:flex;align-items:center;gap:6px;height:54px;padding:0 18px;color:#fff!important;text-decoration:none;
  font:600 15px/1 Rubik,sans-serif;letter-spacing:.01em;white-space:nowrap;transition:color .2s,background .2s}
#header .mfh-nav__link::after{content:"";position:absolute;left:18px;right:18px;bottom:0;height:3px;border-radius:3px 3px 0 0;background:var(--mfh-orange);
  transform:scaleX(0);transition:transform .2s}
#header .mfh-nav__item:hover>.mfh-nav__link,#header .mfh-nav__item.is-open>.mfh-nav__link,#header .mfh-nav__link:focus-visible{background:rgba(255,255,255,.06)}
#header .mfh-nav__item:hover>.mfh-nav__link::after,#header .mfh-nav__item.is-open>.mfh-nav__link::after,#header .mfh-nav__item.is-current>.mfh-nav__link::after{transform:scaleX(1)}
#header .mfh-chev{width:15px;height:15px;opacity:.75;transition:transform .2s}
#header .mfh-nav__item:hover .mfh-chev,#header .mfh-nav__item.is-open .mfh-chev{transform:rotate(180deg)}
@media (max-width:1200px){#header .mfh-nav__link{padding:0 12px;font-size:14px}#header .mfh-nav__link::after{left:12px;right:12px}}

/* pannello */
#header .mfh-mega{position:absolute;top:100%;left:50%;width:min(1232px,calc(100vw - 48px));transform:translate(-50%,8px);
  background:#fff;border-radius:0 0 18px 18px;box-shadow:0 26px 50px rgba(14,27,61,.20);padding:28px 32px 0;
  opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s,transform .18s,visibility 0s linear .18s;z-index:20}
#header .mfh-mega--drop{left:0;width:max-content;min-width:300px;transform:translateY(8px);border-radius:0 0 14px 14px;padding:20px 22px 0}
#header .mfh-nav__item:hover>.mfh-mega,#header .mfh-nav__item.is-open>.mfh-mega,#header .mfh-nav__item:focus-within>.mfh-mega{
  opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%,0);transition:opacity .18s,transform .18s,visibility 0s}
#header .mfh-nav__item--drop:hover>.mfh-mega,#header .mfh-nav__item--drop.is-open>.mfh-mega,#header .mfh-nav__item--drop:focus-within>.mfh-mega{transform:translateY(0)}
/* ponte invisibile: il mouse non "cade" tra voce e pannello */
#header .mfh-mega::before{content:"";position:absolute;left:0;right:0;top:-10px;height:10px}

#header .mfh-mega__grid{display:grid;grid-template-columns:repeat(var(--mfh-cols,2),minmax(0,1fr)) 300px;gap:32px}
#header .mfh-mega__grid--sm{grid-template-columns:1fr}
#header .mfh-mega__title{margin:0 0 10px;font:700 12px/1.2 Rubik,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--mfh-cyan-txt)}
#header .mfh-mega__col ul{margin:0;padding:0;list-style:none}
#header .mfh-mega__col a{display:flex;align-items:center;min-height:38px;padding:6px 10px;margin:0 -10px;border-radius:9px;color:var(--mfh-ink);
  text-decoration:none;font:600 15px/1.3 Manrope,sans-serif;transition:background .15s,color .15s,padding .15s}
#header .mfh-mega__col a:hover,#header .mfh-mega__col a:focus-visible,#header .mfh-mega__col a.is-current{background:var(--mfh-soft);color:var(--mfh-orange-txt);padding-left:16px}
#header .mfh-mega__promo{align-self:start;display:flex;flex-direction:column;gap:10px;padding:24px;border-radius:16px;
  background:linear-gradient(140deg,var(--mfh-navy) 0%,#1B3168 100%);color:#fff}
#header .mfh-mega__eyebrow{font:700 12px/1.2 Rubik,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--mfh-cyan)}
#header .mfh-mega__promo p{margin:0;font:600 18px/1.35 Rubik,sans-serif;color:#fff}
#header .mfh-mega__btn{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;margin-top:6px;padding:12px 18px;border-radius:999px;
  background:var(--mfh-orange);color:#fff!important;text-decoration:none;font:700 14px/1 Rubik,sans-serif;transition:background .2s}
#header .mfh-mega__btn:hover{background:var(--mfh-orange-txt)}
#header .mfh-arrow{width:16px;height:16px;flex:0 0 auto}
#header .mfh-mega__all{display:flex;align-items:center;gap:8px;margin:22px -32px 0;padding:14px 32px;border-top:1px solid var(--mfh-line);
  background:#FAFBFC;border-radius:0 0 18px 18px;color:var(--mfh-orange-txt)!important;text-decoration:none;font:700 14px/1 Rubik,sans-serif}
#header .mfh-mega--drop .mfh-mega__all{margin:16px -22px 0;padding:13px 22px;border-radius:0 0 14px 14px}
#header .mfh-mega__all:hover .mfh-arrow{transform:translateX(3px)}
#header .mfh-mega__all .mfh-arrow{transition:transform .2s}

/* ---------- barra tablet/mobile ---------- */
#header .mfh-bar{background:#fff;border-bottom:1px solid var(--mfh-line);padding:0 12px}
#header .mfh-bar>.elementor-container{min-height:64px}
#header .mfh-bar>.elementor-container>.elementor-row{flex-wrap:nowrap;gap:6px}
#header .mfh-bar .elementor-column{width:auto!important;flex:0 0 auto;min-width:0}
#header .mfh-bar .mfh-c-logo{flex:1 1 0;min-width:0}
#header .mfh-bar .mfh-c-logo .elementor-widget,#header .mfh-bar .mfh-c-logo .elementor-widget-container,#header .mfh-bar .mfh-c-logo a{display:block;min-width:0;max-width:100%}
/* il logo è molto largo (circa 10:1): comanda la larghezza, non l'altezza */
#header .mfh-bar .mfh-logo img{width:auto;height:auto;max-width:100%;max-height:38px}
#header .mfh-bar .mfh-actions .elementor-widget-wrap{gap:4px}

#header .mfh-burger,#header .mfh-search-toggle{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0!important;box-shadow:none!important;border-radius:12px;
  -webkit-appearance:none;appearance:none;background:transparent;color:var(--mfh-navy);cursor:pointer;transition:background .2s}
#header .mfh-burger:hover,#header .mfh-search-toggle:hover,#header .mfh-search-toggle[aria-expanded="true"]{background:var(--mfh-soft)}
#header .mfh-burger{display:flex;flex-direction:column;justify-content:center;align-items:stretch;place-items:normal;gap:5px;padding:0 11px}
#header .mfh-burger span{display:block;height:2.5px;border-radius:2px;background:var(--mfh-navy)}
#header .mfh-burger span:nth-child(2){width:70%}
#header .mfh-search-toggle .mfh-i{width:22px;height:22px}

/* account e carrello solo icona */
#header .mfh-bar .mfh-account .elementor-item{width:44px;height:44px;padding:0!important;justify-content:center}
#header .mfh-bar .mfh-account .elementor-item span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
#header .mfh-bar .mfh-account .elementor-item i{font-size:20px}
#header .mfh-bar .mfh-cart .elementor-cart__toggle .elementor-button{width:44px;height:44px;padding:0!important;justify-content:center;border-radius:12px!important}
#header .mfh-bar .mfh-cart .elementor-button-text{display:none}
#header .mfh-bar .mfh-cart .elementor-button-icon{font-size:19px}

/* telefono: l'account è già nel menu laterale, così il logo ha più spazio */
@media (max-width:600px){#header .mfh-bar .mfh-account{display:none!important}}

/* ricerca a scomparsa sotto la barra (fuori dal flusso: niente salti) */
#header .mfh-msearch{position:absolute;left:0;right:0;top:100%;background:#fff;padding:10px 12px 12px;border-bottom:1px solid var(--mfh-line);
  box-shadow:0 14px 26px rgba(14,27,61,.12);opacity:0;visibility:hidden;transform:translateY(-6px);
  transition:opacity .18s,transform .18s,visibility 0s linear .18s}
body.mfh-search-open #header .mfh-msearch{opacity:1;visibility:visible;transform:none;transition:opacity .18s,transform .18s,visibility 0s}
#header .mfh-msearch .elementor-search__input{font-size:16px!important} /* 16px: iOS non zooma */
@media (min-width:768px) and (max-width:1024px){#header .mfh-bar{padding:0 24px}#header .mfh-bar>.elementor-container{min-height:72px}#header .mfh-bar .mfh-logo img{max-height:44px;max-width:min(100%,320px)}}
@media (max-width:360px){#header .mfh-bar .mfh-logo img{max-height:32px}#header .mfh-burger,#header .mfh-search-toggle,#header .mfh-bar .mfh-account .elementor-item,#header .mfh-bar .mfh-cart .elementor-cart__toggle .elementor-button{width:40px;height:40px}}

/* ---------- drawer (spostato sotto <body> dallo script) ---------- */
.mfh-drawer{position:fixed;inset:0;z-index:100000;visibility:hidden;pointer-events:none;transition:visibility 0s linear .3s}
.mfh-drawer.is-open{visibility:visible;pointer-events:auto;transition:visibility 0s}
.mfh-drawer__overlay{position:absolute;inset:0;background:rgba(14,27,61,.55);opacity:0;transition:opacity .3s;backdrop-filter:blur(2px)}
.mfh-drawer.is-open .mfh-drawer__overlay{opacity:1}
.mfh-drawer__panel{position:absolute;top:0;bottom:0;left:0;display:flex;flex-direction:column;width:min(88vw,400px);background:#fff;
  box-shadow:12px 0 40px rgba(14,27,61,.25);transform:translateX(-102%);transition:transform .3s cubic-bezier(.2,.8,.2,1)}
.mfh-drawer.is-open .mfh-drawer__panel{transform:none}
body.mfh-lock{overflow:hidden}
@media (prefers-reduced-motion:reduce){.mfh-drawer__panel,.mfh-drawer__overlay,#header .mfh-mega,#header .mfh-msearch{transition:none!important}}

.mfh-drawer__head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 12px 12px 20px;border-bottom:1px solid var(--mfh-line)}
.mfh-drawer__logo{flex:1 1 0;min-width:0}
.mfh-drawer__logo img{display:block;width:auto;height:auto;max-width:min(100%,220px);max-height:36px}
.mfh-drawer__close{flex:0 0 auto;-webkit-appearance:none;appearance:none;box-shadow:none!important;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0!important;border-radius:12px;background:var(--mfh-soft);color:var(--mfh-navy);cursor:pointer}
.mfh-drawer__close .mfh-i{width:22px;height:22px}
.mfh-drawer .mfh-i,.mfh-drawer .mfh-arrow{width:18px;height:18px;flex:0 0 auto}
.mfh-drawer__body{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:8px 20px 24px;-webkit-overflow-scrolling:touch}
.mfh-d__label{margin:18px 0 6px;font:700 12px/1 Rubik,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--mfh-cyan-txt)}
.mfh-d__list{border-top:1px solid var(--mfh-line)}
.mfh-d__acc,.mfh-d__row{border-bottom:1px solid var(--mfh-line)}
.mfh-d__acc summary,.mfh-d__row{display:flex;align-items:center;gap:10px;min-height:56px;padding:0 2px;list-style:none;cursor:pointer;
  font:600 17px/1.2 Rubik,sans-serif;color:var(--mfh-navy)!important;text-decoration:none}
.mfh-d__acc summary::-webkit-details-marker{display:none}
.mfh-d__acc summary .mfh-chev{width:20px;height:20px;margin-left:auto;color:var(--mfh-muted);transition:transform .2s}
.mfh-d__acc[open] summary .mfh-chev{transform:rotate(180deg)}
.mfh-d__acc[open] summary{color:var(--mfh-orange-txt)!important}
.mfh-d__count{display:inline-grid;place-items:center;min-width:24px;height:22px;padding:0 7px;border-radius:999px;background:var(--mfh-soft);
  font:700 12px/1 Rubik,sans-serif;color:var(--mfh-muted)}
.mfh-d__row .mfh-arrow{margin-left:auto;width:18px;height:18px;color:var(--mfh-muted)}
.mfh-d__panel{padding:0 0 14px}
.mfh-d__all{display:flex;align-items:center;gap:8px;margin:0 0 6px;padding:12px 14px;border-radius:12px;background:#FFF3EB;
  color:var(--mfh-orange-txt)!important;text-decoration:none;font:700 15px/1 Rubik,sans-serif}
.mfh-d__all .mfh-arrow{margin-left:auto}
.mfh-d__group{margin:14px 0 4px;font:700 11px/1 Rubik,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:var(--mfh-muted)}
.mfh-d__panel ul{margin:0;padding:0;list-style:none}
.mfh-d__panel li a{display:flex;align-items:center;min-height:46px;padding:0 14px;border-radius:10px;color:var(--mfh-ink)!important;text-decoration:none;
  font:600 15px/1.3 Manrope,sans-serif}
.mfh-d__panel li a:active,.mfh-d__panel li a:hover,.mfh-d__panel li a.is-current{background:var(--mfh-soft);color:var(--mfh-orange-txt)!important}
.mfh-d__account{display:flex;align-items:center;gap:10px;margin-top:22px;padding:14px 16px;border:1px solid var(--mfh-line);border-radius:14px;
  color:var(--mfh-navy)!important;text-decoration:none;font:600 15px/1 Manrope,sans-serif}
.mfh-d__addr{display:flex;align-items:center;gap:8px;margin:16px 2px 0;font:500 14px/1.3 Manrope,sans-serif;color:var(--mfh-muted)}
.mfh-d__addr .mfh-i{color:var(--mfh-cyan-txt)}
.mfh-drawer__foot{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px 20px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--mfh-line);background:#fff}
.mfh-d__btn{display:flex;align-items:center;justify-content:center;gap:8px;height:50px;border-radius:14px;text-decoration:none;font:700 16px/1 Rubik,sans-serif}
.mfh-d__btn--tel{background:var(--mfh-navy);color:#fff!important}
.mfh-d__btn--wa{background:#128C4A;color:#fff!important} /* verde scuro: testo bianco leggibile */
.mfh-d__btn .mfh-i{width:20px;height:20px}

/* la home v2 compensa l'header sticky quando si salta alle sezioni */
@media (max-width:1024px){.page-index .mf-sec{scroll-margin-top:84px}}





/* ===== Header Manferdini 2026 – tendina risultati della ricerca (widget Ajax Search di CE) =====
   Da incollare in custom.css DOPO la CSS dell'header. Vale solo per la ricerca dell'header (.mfh-search). */
#header .mfh-search .elementor-search{position:relative}
#header .mfh-search .elementor-search__products.ui-autocomplete{
  top:calc(100% + 10px)!important;left:0!important;right:0!important;width:auto!important;
  max-height:min(560px,calc(100vh - 200px))!important;overflow-y:auto;overscroll-behavior:contain;
  margin:0!important;padding:8px!important;list-style:none;z-index:1100!important;
  background:#fff!important;border:1px solid #E4E7EE!important;border-radius:16px!important;
  box-shadow:0 24px 50px rgba(14,27,61,.18)!important;font-family:Manrope,sans-serif!important;font-size:15px!important;
  scrollbar-width:thin;scrollbar-color:#C9CEDA transparent}
/* intestazione */
#header .mfh-search .elementor-search__products::before{content:"Prodotti suggeriti";display:block;padding:8px 12px 10px;
  font:700 11px/1 Rubik,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#1C8FA8}
#header .mfh-search .elementor-search__product{margin:0!important;padding:0!important;border:0!important;background:none!important;list-style:none}
#header .mfh-search .elementor-search__product+.elementor-search__product{border-top:1px solid #F0F2F6!important}
#header .mfh-search .elementor-search__product::marker{content:none}

/* riga risultato: miniatura | nome, categoria | prezzo */
#header .mfh-search .elementor-search__product-link{display:grid!important;grid-template-columns:60px minmax(0,1fr) auto;
  grid-template-areas:"img name price" "img cat price";column-gap:14px;row-gap:3px;align-items:center;
  padding:10px 12px!important;margin:2px 0!important;border:0!important;border-radius:12px!important;
  background:transparent!important;color:#1B2440!important;text-decoration:none!important;cursor:pointer;transition:background .15s}
#header .mfh-search .elementor-search__product-link:hover,
#header .mfh-search .elementor-search__product-link.ui-state-active,
#header .mfh-search .ui-menu-item.ui-state-focus>.elementor-search__product-link{background:#F5F6F8!important;margin:2px 0!important}
#header .mfh-search .elementor-search__product-image{grid-area:img;width:60px!important;height:60px!important;max-width:none!important;margin:0!important;
  object-fit:contain;background:#fff;border:1px solid #E4E7EE;border-radius:10px;padding:3px}
#header .mfh-search .elementor-search__product-details{display:contents}
#header .mfh-search .elementor-search__product-name{grid-area:name;align-self:end;margin:0!important;
  font:600 15px/1.3 Manrope,sans-serif!important;color:#0E1B3D!important;text-transform:none!important;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#header .mfh-search .elementor-search__product-category{grid-area:cat;align-self:start;margin:0!important;
  font:600 11px/1.3 Rubik,sans-serif!important;letter-spacing:.08em;text-transform:uppercase;color:#1C8FA8!important;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#header .mfh-search .elementor-search__product-price{grid-area:price;margin:0!important;padding-left:8px;
  font:700 16px/1 Rubik,sans-serif!important;color:#0E1B3D!important;white-space:nowrap}
#header .mfh-search .elementor-search__product-link:hover .elementor-search__product-name,
#header .mfh-search .elementor-search__product-link.ui-state-active .elementor-search__product-name{color:#C4520F!important}
/* parola cercata evidenziata (aggiunta dallo script, se installato) */
#header .mfh-search mark.mfh-hl{background:#FFE6D6;color:inherit;border-radius:3px;padding:0 1px}

/* mobile: tendina a tutta larghezza sotto il campo, prezzo sotto il nome */
@media (max-width:1024px){
  #header .mfh-msearch .elementor-search__products.ui-autocomplete{top:calc(100% + 8px)!important;max-height:calc(100vh - 170px)!important;border-radius:14px!important}
}
@media (max-width:600px){
  #header .mfh-search .elementor-search__product-link{grid-template-columns:52px minmax(0,1fr);
    grid-template-areas:"img name" "img cat" "img price";column-gap:12px;padding:10px!important}
  #header .mfh-search .elementor-search__product-image{width:52px!important;height:52px!important}
  #header .mfh-search .elementor-search__product-price{padding-left:0;font-size:15px!important;margin-top:2px!important}
}





/* ===== Header Manferdini 2026 – carrello laterale (widget Carrello di CE, .elementor-cart__main) =====
   Da incollare in custom.css dopo la CSS dell'header. Vale solo per il carrello dell'header (.mfh-cart). */

/* sfondo scuro dietro al pannello */
#header .mfh-cart .elementor-cart__container.elementor-cart--shown{background-color:rgba(14,27,61,.55)!important;backdrop-filter:blur(2px)}
#header .mfh-cart .elementor-cart__container::backdrop{background:transparent}

/* pannello */
#header .mfh-cart .elementor-cart__main{width:420px!important;max-width:100%!important;padding:0!important;background:#fff!important;
  box-shadow:-16px 0 44px rgba(14,27,61,.22)!important;font-family:Manrope,sans-serif!important;color:#1B2440;
  transition:transform .32s cubic-bezier(.2,.8,.2,1),opacity .2s!important}

/* intestazione: titolo + chiudi */
#header .mfh-cart .elementor-cart__title{flex:0 0 auto;display:flex;align-items:center;min-height:72px!important;margin:0;padding:0 76px 0 24px;
  border-bottom:1px solid #E4E7EE;line-height:1.2!important}
#header .mfh-cart .elementor-cart__title::before{content:"Il tuo carrello";font:700 21px/1.2 Rubik,sans-serif;color:#0E1B3D}
#header .mfh-cart .elementor-cart__close-button{position:absolute!important;top:14px;right:16px;z-index:3;display:grid!important;place-items:center;
  width:44px!important;height:44px!important;margin:0!important;border-radius:12px;background:#F5F6F8;color:#0E1B3D!important;
  font-size:18px!important;text-decoration:none!important;transition:background .2s}
#header .mfh-cart .elementor-cart__close-button:hover{background:#E9ECF2}

/* carrello vuoto */
#header .mfh-cart .elementor-cart__empty-message{margin:auto 24px;padding:40px 0;text-align:center;font:600 16px/1.4 Manrope,sans-serif;color:#5B6275}
#header .mfh-cart .elementor-cart__empty-message:not([hidden])::before{content:"";display:block;width:64px;height:64px;margin:0 auto 14px;border-radius:50%;
  background:#F5F6F8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E1B3D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.7 13.4a2 2 0 0 0 2 1.6h9.7a2 2 0 0 0 2-1.6L23 6H6'/%3E%3C/svg%3E") center/28px no-repeat}
#header .mfh-cart .elementor-cart__empty-message:not([hidden]) ~ .elementor-cart__products{display:none}

/* lista prodotti: occupa lo spazio e scorre */
#header .mfh-cart .elementor-cart__products{flex:1 1 auto;min-height:0;overflow-y:auto;padding:8px 24px!important;border:0!important;overscroll-behavior:contain}
#header .mfh-cart .elementor-cart__product{grid-template-columns:76px minmax(0,1fr) 36px!important;grid-template-rows:auto auto!important;
  column-gap:14px;row-gap:6px;align-items:start;padding:16px 0!important;border-bottom:1px solid #EEF0F4!important}
#header .mfh-cart .elementor-cart__product:last-of-type{border-bottom:0!important}
#header .mfh-cart .elementor-cart__product-image{grid-row:1 / 3!important;width:76px!important}
#header .mfh-cart .elementor-cart__product-image img{width:76px!important;height:76px!important;object-fit:cover;border-radius:12px;border:1px solid #E4E7EE;background:#fff}
#header .mfh-cart .elementor-cart__product-name{grid-column:2 / 3!important;grid-row:1;padding:0!important;font:600 15px/1.35 Manrope,sans-serif!important}
#header .mfh-cart .elementor-cart__product-name a{color:#0E1B3D!important;text-decoration:none!important;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#header .mfh-cart .elementor-cart__product-name a:hover{color:#C4520F!important}
#header .mfh-cart .elementor-cart__product-price{grid-column:2 / 3;grid-row:2;align-self:start;padding:0!important;
  font:700 16px/1.2 Rubik,sans-serif!important;color:#0E1B3D!important}
#header .mfh-cart .elementor-cart__product-price del{color:#8A90A2;font-weight:500;margin-right:4px}
/* attributi/varianti se presenti */
#header .mfh-cart .elementor-cart__product-name .product-line-info,#header .mfh-cart .elementor-cart__product-attr{display:block;margin-top:2px;font:500 13px/1.3 Manrope,sans-serif;color:#5B6275}
#header .mfh-cart .elementor-cart__product-remove{grid-column:3;grid-row:1;align-self:start!important;justify-self:end;display:grid;place-items:center;
  width:36px;height:36px;border-radius:10px;font-size:17px!important;color:#8A90A2!important;transition:background .2s,color .2s}
#header .mfh-cart .elementor-cart__product-remove:hover{background:#FDECEC;color:#C62828!important}

/* riepilogo */
#header .mfh-cart .elementor-cart__summary{flex:0 0 auto;display:grid;grid-template-columns:1fr auto;row-gap:8px;margin:0;padding:18px 24px!important;
  background:#F5F6F8;border:0!important;border-top:1px solid #E4E7EE!important}
#header .mfh-cart .elementor-cart__summary-label,#header .mfh-cart .elementor-cart__summary-value{float:none!important;clear:none!important;
  font:500 15px/1.3 Manrope,sans-serif;color:#5B6275}
#header .mfh-cart .elementor-cart__summary-value{text-align:right;font-weight:600;color:#1B2440}
#header .mfh-cart .elementor-cart__summary strong.elementor-cart__summary-label,
#header .mfh-cart .elementor-cart__summary strong.elementor-cart__summary-value{margin-top:6px;padding-top:12px;border-top:1px dashed #D3D8E2;
  font:700 20px/1.2 Rubik,sans-serif;color:#0E1B3D}
#header .mfh-cart .elementor-alert{margin:12px 24px 0;border-radius:10px}

/* pulsanti */
#header .mfh-cart .elementor-cart__footer-buttons{flex:0 0 auto;display:grid!important;grid-template-columns:1fr!important;gap:10px;
  padding:16px 24px calc(18px + env(safe-area-inset-bottom))!important;background:#F5F6F8}
#header .mfh-cart .elementor-cart__footer-buttons .elementor-button{display:flex!important;align-items:center;justify-content:center;width:100%;height:52px;
  padding:0 20px!important;border-radius:14px!important;font:700 16px/1 Rubik,sans-serif!important;text-decoration:none!important;transition:background .2s,color .2s,border-color .2s}
#header .mfh-cart .elementor-button--checkout{background:#F26B1D!important;color:#fff!important;border:0!important;box-shadow:0 8px 18px rgba(242,107,29,.28)}
#header .mfh-cart .elementor-button--checkout:hover{background:#C4520F!important}
#header .mfh-cart .elementor-button--checkout .elementor-button-text::after{content:" \2192"}
#header .mfh-cart .elementor-button--cart{background:#fff!important;color:#0E1B3D!important;border:1.5px solid #0E1B3D!important}
#header .mfh-cart .elementor-button--cart:hover{background:#0E1B3D!important;color:#fff!important}
#header .mfh-cart .elementor-cart__footer-buttons .elementor-button-text{color:inherit!important;fill:currentColor}
#header .mfh-cart .elementor-button--checkout[aria-disabled="true"]{opacity:.45;box-shadow:none;pointer-events:none}
#header .mfh-cart .elementor-cart__footer-buttons>div:has(.elementor-button--checkout){order:-1}

@media (max-width:480px){
  #header .mfh-cart .elementor-cart__main{width:100%!important}
  #header .mfh-cart .elementor-cart__products,#header .mfh-cart .elementor-cart__summary{padding-left:18px!important;padding-right:18px!important}
  #header .mfh-cart .elementor-cart__footer-buttons{padding-left:18px!important;padding-right:18px!important}
  #header .mfh-cart .elementor-cart__product{grid-template-columns:64px minmax(0,1fr) 36px!important}
  #header .mfh-cart .elementor-cart__product-image,#header .mfh-cart .elementor-cart__product-image img{width:64px!important;height:64px!important}
}





/* ===== Footer Manferdini 2026 – CSS per custom.css del child theme =====
   Vale solo per il template footer importato (classi mff-*) e per la barra rapida mobile. */
:root{--mff-navy:#0E1B3D;--mff-navy-2:#16264F;--mff-orange:#F26B1D;--mff-orange-txt:#C4520F;--mff-cyan:#24B9D7;
  --mff-line:rgba(255,255,255,.12);--mff-txt:#C9D1E4;--mff-wa:#128C4A;--mff-qb-h:62px}

/* reset spaziature CE */
#footer .mff-sec .elementor-column>.elementor-column-wrap,#footer .mff-sec .elementor-column>.elementor-widget-wrap{padding:0!important}
#footer .mff-sec .elementor-widget:not(:last-child){margin-bottom:0}
#footer .mff-w{width:100%}
#footer .mff-sec{padding:0 24px}
#footer{margin-top:0}
.mff-i{width:18px;height:18px;flex:0 0 auto}
#footer .mff-arrow{width:18px;height:18px;flex:0 0 auto;transition:transform .2s}
#footer a{text-decoration:none!important}

/* ---------- 1. fascia contatti ---------- */
#footer .mff-cta-sec{background:#F5F0E6}
#footer .mff-cta{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,2fr);gap:32px;align-items:center;padding:44px 0}
#footer .mff-eyebrow{margin:0 0 6px;font:700 12px/1.2 Rubik,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--mff-orange-txt)}
#footer .mff-cta__title{margin:0;font:700 26px/1.2 Rubik,sans-serif;color:var(--mff-navy)}
#footer .mff-cta__cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
#footer .mff-card{min-width:0;display:flex;align-items:center;gap:14px;min-height:84px;padding:16px 18px;border-radius:16px;background:#fff;
  border:1px solid #E6DFD0;color:var(--mff-navy)!important;box-shadow:0 6px 18px rgba(14,27,61,.06);transition:transform .2s,box-shadow .2s,border-color .2s}
#footer .mff-card:hover{transform:translateY(-2px);box-shadow:0 14px 28px rgba(14,27,61,.12);border-color:transparent}
#footer .mff-card:hover .mff-arrow{transform:translateX(3px)}
#footer .mff-card__ic{display:grid;place-items:center;width:46px;height:46px;border-radius:12px;flex:0 0 auto;color:#fff}
#footer .mff-card__ic .mff-i{width:22px;height:22px}
#footer .mff-card--tel .mff-card__ic{background:var(--mff-navy)}
#footer .mff-card--wa .mff-card__ic{background:var(--mff-wa)}
#footer .mff-card--map .mff-card__ic{background:var(--mff-orange)}
#footer .mff-card__txt{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
#footer .mff-card__txt small{font:600 12px/1.2 Manrope,sans-serif;color:#5B6275}
#footer .mff-card__txt strong{font:700 17px/1.2 Rubik,sans-serif;color:var(--mff-navy);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#footer .mff-card .mff-arrow{color:var(--mff-orange-txt)}

/* ---------- 2. footer principale ---------- */
#footer .mff-main-sec{background:var(--mff-navy);color:var(--mff-txt)}
#footer .mff-main{display:grid;grid-template-columns:minmax(0,1.25fr) repeat(3,minmax(0,1fr));gap:40px;padding:56px 0 44px}
/* loghi su targa bianca: il bordo blu fa parte del logo e sul navy non stacca (richiesta cliente, come sul sito vecchio) */
#footer .mff-brand__logo{display:block;width:max-content;max-width:100%;padding:14px 18px;border-radius:12px;background:#fff}
#footer .mff-brand__logo img{display:block;width:220px;max-width:100%;height:auto}
#footer .mff-brand__parts{display:block;box-sizing:content-box;width:132px;max-width:calc(100% - 36px);height:auto;margin:12px 0 0;padding:12px 18px;border-radius:12px;background:#fff}
#footer .mff-brand__addr{display:flex;gap:10px;margin:20px 0 12px;font:500 15px/1.5 Manrope,sans-serif;color:var(--mff-txt)}
#footer .mff-brand__addr .mff-i,#footer .mff-brand__tel .mff-i{color:var(--mff-cyan);margin-top:2px}
#footer .mff-brand__tel{margin:0;padding:0;list-style:none;display:grid;gap:8px}
#footer .mff-brand__tel a{display:inline-flex;align-items:center;gap:10px;font:700 16px/1.2 Rubik,sans-serif;color:#fff!important}
#footer .mff-brand__tel a:hover{color:var(--mff-cyan)!important}
#footer .mff-brand__fax{display:block;padding-left:28px;font:500 14px/1.3 Manrope,sans-serif;color:#97A1BA}
#footer .mff-brand__map{display:inline-flex;align-items:center;gap:8px;margin-top:18px;padding:10px 16px;border-radius:999px;border:1px solid var(--mff-line);
  font:700 14px/1 Rubik,sans-serif;color:#fff!important;transition:background .2s,border-color .2s}
#footer .mff-brand__map:hover{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.3)}

#footer .mff-acc summary{display:flex;align-items:center;justify-content:space-between;margin:0 0 16px;list-style:none;cursor:default;
  font:700 13px/1.2 Rubik,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--mff-cyan)}
#footer .mff-acc summary::-webkit-details-marker{display:none}
#footer .mff-chev{display:none;width:20px;height:20px;transition:transform .2s}
#footer .mff-links{margin:0;padding:0;list-style:none;display:grid;gap:4px}
#footer .mff-links a{display:flex;align-items:center;gap:10px;min-height:34px;font:600 15px/1.3 Manrope,sans-serif;color:var(--mff-txt)!important;transition:color .15s,transform .15s}
#footer .mff-links a:hover{color:#fff!important;transform:translateX(3px)}
#footer .mff-links--mail a{display:grid;grid-template-columns:18px 1fr;column-gap:10px;row-gap:1px;align-items:center;min-height:0;padding:5px 0}
#footer .mff-links--mail .mff-i{grid-row:1 / 3;color:var(--mff-cyan)}
#footer .mff-links--mail small{grid-column:2;font:500 12.5px/1.3 Manrope,sans-serif;color:#8F9AB4;word-break:break-all}

/* ---------- 3. barra legale ---------- */
#footer .mff-bottom-sec{background:#0A1530;color:#8F9AB4}
#footer .mff-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px 32px;flex-wrap:wrap;padding:18px 0;
  font:500 13px/1.5 Manrope,sans-serif;border-top:1px solid var(--mff-line)}
#footer .mff-copy{margin:0}
#footer .mff-legal{display:flex;flex-wrap:wrap;gap:6px 22px;margin:0;padding:0;list-style:none}
#footer .mff-legal a{color:#AEB7CC!important}
#footer .mff-legal a:hover{color:#fff!important}

/* ---------- tablet ---------- */
@media (max-width:1024px){
  #footer .mff-cta{grid-template-columns:minmax(0,1fr);gap:20px;padding:36px 0}
  #footer .mff-main{grid-template-columns:1fr 1fr;gap:36px 32px}
  #footer .mff-brand{grid-column:1 / -1}
}
/* ---------- mobile ---------- */
@media (max-width:767px){
  #footer .mff-sec{padding:0 18px}
  #footer .mff-cta{padding:30px 0}
  #footer .mff-cta__title{font-size:21px}
  #footer .mff-cta__cards{grid-template-columns:minmax(0,1fr);gap:10px}
  #footer .mff-card{min-height:72px;padding:12px 14px}
  #footer .mff-main{grid-template-columns:minmax(0,1fr);gap:0;padding:36px 0 20px}
  #footer .mff-brand{padding-bottom:26px;margin-bottom:6px;border-bottom:1px solid var(--mff-line)}
  #footer .mff-acc{border-bottom:1px solid var(--mff-line)}
  #footer .mff-acc summary{min-height:56px;margin:0;cursor:pointer;font-size:14px;color:#fff}
  #footer .mff-chev{display:block;color:var(--mff-cyan)}
  #footer .mff-acc[open] .mff-chev{transform:rotate(180deg)}
  #footer .mff-acc .mff-links{padding:0 0 16px}
  #footer .mff-links a{min-height:42px}
  #footer .mff-bottom{flex-direction:column;align-items:flex-start;gap:10px;padding:20px 0}
}

/* ---------- barra rapida mobile (spostata sotto <body> dallo script) ---------- */
.mff-qb{display:none}
@media (max-width:1024px){
  body.mff-has-qb{padding-bottom:calc(var(--mff-qb-h) + env(safe-area-inset-bottom))}
  .mff-qb{position:fixed;left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:9990;
    display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:end;height:var(--mff-qb-h);padding:0 6px;
    background:rgba(255,255,255,.94);-webkit-backdrop-filter:saturate(1.4) blur(12px);backdrop-filter:saturate(1.4) blur(12px);
    border:1px solid #E4E7EE;border-radius:20px;box-shadow:0 12px 32px rgba(14,27,61,.18);
    transition:transform .28s cubic-bezier(.2,.8,.2,1),opacity .2s}
  .mff-qb.is-hidden,.mff-qb.is-typing,body.mfh-lock .mff-qb,body:has(dialog[open]) .mff-qb{transform:translateY(calc(100% + 24px));opacity:0;pointer-events:none}
  .mff-qb__item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;height:100%;padding:0;margin:0;
    border:0!important;background:none!important;box-shadow:none!important;-webkit-appearance:none;appearance:none;cursor:pointer;
    color:#0E1B3D!important;text-decoration:none!important;font:600 11px/1 Manrope,sans-serif;-webkit-tap-highlight-color:transparent}
  .mff-qb__item .mff-i{width:22px;height:22px}
  .mff-qb__item:active{transform:scale(.94)}
  .mff-qb__item--wa{justify-content:flex-end;padding-bottom:9px;color:#128C4A!important;font-weight:700}
  .mff-qb__bubble{display:grid;place-items:center;width:50px;height:50px;margin-top:-22px;border-radius:50%;background:#128C4A;color:#fff;
    border:4px solid #fff;box-shadow:0 8px 18px rgba(18,140,74,.35)}
  .mff-qb__bubble .mff-i{width:24px;height:24px}
  /* il carrello laterale e il menu restano sopra la barra */
  #footer .mff-bottom{padding-bottom:28px}
}
@media (prefers-reduced-motion:reduce){.mff-qb{transition:none}}






/* ===== Pagina "Il tuo account" Manferdini 2026 – CSS per custom.css del child theme =====
   Vale solo su body#my-account (pagina riepilogo account). Non tocca login, ordini, indirizzi, checkout. */

/* titolo + sottotitolo */
body#my-account #main .page-header{margin:8px 0 28px}
body#my-account #main .page-header h1{margin:0;font:700 34px/1.15 Rubik,sans-serif!important;color:#0E1B3D;text-transform:none}
body#my-account #main .page-header::after{content:"Ordini, dati e indirizzi in un unico posto.";display:block;margin-top:8px;
  font:500 16px/1.5 Manrope,sans-serif;color:#5B6275}
body#my-account #content.page-content{padding:0!important;margin:0;background:none!important;border:0!important;box-shadow:none!important}

/* griglia delle schede (annulla le colonne bootstrap) */
body#my-account #content .row{margin:0}
body#my-account #content .links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;width:100%;padding:0;float:none}
body#my-account #content .links>a{display:block;width:auto!important;max-width:none!important;float:none!important;padding:0!important;margin:0!important;
  text-decoration:none!important;color:inherit}
/* ordine: prima quello che si usa di più */
body#my-account #content #history-link{order:1}
body#my-account #content #identity-link{order:2}
body#my-account #content #addresses-link{order:3}
body#my-account #content #wishlist-link{order:4}
body#my-account #content #order-slips-link{order:5}
body#my-account #content #psgdpr-link{order:6}
body#my-account #content .links>a:not([id]){order:7}

/* scheda */
body#my-account #content .links a .link-item{position:relative;display:grid!important;grid-template-columns:56px minmax(0,1fr);
  grid-template-rows:auto auto;column-gap:16px;row-gap:4px;align-items:center;height:100%;min-height:112px;margin:0!important;
  padding:22px 52px 22px 22px!important;background:#fff!important;border:1px solid #E4E7EE;border-radius:18px;
  box-shadow:0 6px 18px rgba(14,27,61,.05)!important;text-align:left!important;text-transform:none!important;
  font:700 18px/1.25 Rubik,sans-serif!important;color:#0E1B3D!important;transition:transform .2s,box-shadow .2s,border-color .2s}
body#my-account #content .links a .link-item i{grid-row:1 / 3;display:grid!important;place-items:center;width:56px!important;height:56px;
  margin:0!important;padding:0!important;border-radius:16px;background:#F5F6F8;color:#0E1B3D!important;font-size:28px!important;
  line-height:1!important;transition:background .2s,color .2s}
/* descrizione sotto il titolo */
body#my-account #content .links a .link-item::after{grid-column:2;font:500 14px/1.4 Manrope,sans-serif;color:#5B6275}
body#my-account #content #history-link .link-item::after{content:"Stato, fatture e riordino"}
body#my-account #content #identity-link .link-item::after{content:"Nome, email e password"}
body#my-account #content #addresses-link .link-item::after{content:"Spedizione e fatturazione"}
body#my-account #content #wishlist-link .link-item::after{content:"I prodotti che hai salvato"}
body#my-account #content #order-slips-link .link-item::after{content:"Rimborsi e note di credito"}
body#my-account #content #psgdpr-link .link-item::after{content:"Scarica o cancella i tuoi dati"}
/* freccia */
body#my-account #content .links a .link-item::before{content:"";position:absolute;right:20px;top:50%;width:20px;height:20px;margin-top:-10px;
  background:#C4520F;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
  transition:transform .2s}
body#my-account #content .links a:hover .link-item,body#my-account #content .links a:focus-visible .link-item{transform:translateY(-3px);
  border-color:#F26B1D;box-shadow:0 16px 32px rgba(14,27,61,.12)!important}
body#my-account #content .links a:hover .link-item i,body#my-account #content .links a:focus-visible .link-item i{background:#F26B1D;color:#fff!important}
body#my-account #content .links a:hover .link-item::before{transform:translateX(4px)}
body#my-account #content .links a:focus-visible{outline:none}
body#my-account #content .links a:focus-visible .link-item{outline:3px solid rgba(36,185,215,.45);outline-offset:2px}

/* scheda ordini in evidenza */
body#my-account #content #history-link .link-item{background:#0E1B3D!important;border-color:#0E1B3D;color:#fff!important}
body#my-account #content #history-link .link-item::after{color:#C9D1E4}
body#my-account #content #history-link .link-item i{background:rgba(255,255,255,.1);color:#fff!important}
body#my-account #content #history-link .link-item::before{background:#F26B1D}

/* esci */
body#my-account #main .page-footer{margin-top:32px;padding-top:24px;border-top:1px solid #E4E7EE;text-align:left}
body#my-account #main .page-footer .text-sm-center{text-align:left!important}
body#my-account #main .page-footer a{display:inline-flex;align-items:center;gap:10px;height:46px;padding:0 20px;border:1.5px solid #E4E7EE;border-radius:999px;
  font:700 15px/1 Rubik,sans-serif;color:#B42318!important;text-decoration:none!important;transition:background .2s,border-color .2s}
body#my-account #main .page-footer a::before{content:"";width:18px;height:18px;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4M16 17l5-5-5-5M21 12H9'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4M16 17l5-5-5-5M21 12H9'/%3E%3C/svg%3E") center/contain no-repeat}
body#my-account #main .page-footer a:hover{background:#FEF3F2;border-color:#FDA29B}

/* tablet */
@media (max-width:1024px){body#my-account #content .links{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}}
/* mobile: schede a riga, compatte */
@media (max-width:600px){
  body#my-account #main .page-header{margin:4px 0 20px}
  body#my-account #main .page-header h1{font-size:27px!important}
  body#my-account #main .page-header::after{font-size:15px}
  body#my-account #content .links{grid-template-columns:minmax(0,1fr);gap:10px}
  body#my-account #content .links a .link-item{grid-template-columns:46px minmax(0,1fr);column-gap:14px;min-height:80px;
    padding:14px 44px 14px 14px!important;border-radius:16px;font-size:16px!important}
  body#my-account #content .links a .link-item i{width:46px!important;height:46px;border-radius:13px;font-size:23px!important}
  body#my-account #content .links a .link-item::after{font-size:13px}
  body#my-account #content .links a .link-item::before{right:16px}
  body#my-account #main .page-footer a{width:100%;justify-content:center}
}





/* ===== Storico ordini Manferdini 2026 – CSS per custom.css del child theme =====
   Parte A: elementi comuni a tutte le pagine dell'area cliente (body.page-customer-account): titolo e link in fondo.
   Parte B: solo body#history (tabella ordini desktop, schede ordine mobile, stato vuoto). */

/* ---------- A. area cliente: titolo e link "Torna al tuo account / Home" ---------- */
body.page-customer-account #main .page-header{margin:8px 0 24px}
body.page-customer-account #main .page-header h1{margin:0;font:700 34px/1.15 Rubik,sans-serif!important;color:#0E1B3D;text-transform:none}
body.page-customer-account #content.page-content{padding:0!important;margin:0;background:none!important;border:0!important;box-shadow:none!important}
body.page-customer-account #main .page-footer{display:flex;flex-wrap:wrap;gap:10px;margin-top:32px;padding-top:24px;border-top:1px solid #E4E7EE}
body.page-customer-account #main .page-footer .account-link{display:inline-flex;align-items:center;gap:8px;height:46px;margin:0!important;padding:0 18px 0 12px;
  border:1.5px solid #E4E7EE;border-radius:999px;background:#fff;font:700 15px/1 Rubik,sans-serif;color:#0E1B3D!important;text-decoration:none!important;
  transition:border-color .2s,background .2s}
body.page-customer-account #main .page-footer .account-link:hover{border-color:#0E1B3D;background:#F5F6F8}
body.page-customer-account #main .page-footer .account-link i{font-size:22px;color:#C4520F;margin:0}
body.page-customer-account #main .page-footer .account-link span{text-transform:none}

/* ---------- B. storico ordini ---------- */
body#history #content>h6{margin:0 0 20px;font:500 16px/1.5 Manrope,sans-serif!important;color:#5B6275;text-transform:none}

/* stato vuoto */
body#history #content .alert-info{display:flex;flex-direction:column;align-items:center;gap:6px;margin:0;padding:44px 24px!important;
  background:#fff!important;border:1.5px dashed #D3D8E2!important;border-radius:18px;text-align:center;
  font:700 19px/1.3 Rubik,sans-serif;color:#0E1B3D!important}
body#history #content .alert-info::before{content:"";width:64px;height:64px;margin-bottom:10px;border-radius:50%;
  background:#F5F6F8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E1B3D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8V21H3V8'/%3E%3Cpath d='M1 3h22v5H1z'/%3E%3Cpath d='M10 12h4'/%3E%3C/svg%3E") center/28px no-repeat}
body#history #content .alert-info::after{content:"Quando farai un acquisto, lo troverai qui con stato, fattura e riordino rapido.";
  max-width:420px;font:500 15px/1.5 Manrope,sans-serif;color:#5B6275}

/* tabella (desktop) */
body#history #content .table{width:100%;margin:0;border:1px solid #E4E7EE!important;border-radius:18px;border-collapse:separate;border-spacing:0;
  overflow:hidden;background:#fff;box-shadow:0 6px 18px rgba(14,27,61,.05)}
body#history #content .table thead th{padding:14px 18px!important;border:0!important;background:#F5F6F8!important;
  font:700 12px/1.2 Rubik,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#5B6275!important;text-align:left;white-space:nowrap}
body#history #content .table tbody th,body#history #content .table tbody td{padding:16px 18px!important;border:0!important;border-top:1px solid #EEF0F4!important;
  vertical-align:middle;background:#fff!important;font:500 15px/1.35 Manrope,sans-serif;color:#1B2440}
body#history #content .table tbody tr:hover>*{background:#FAFBFC!important}
body#history #content .table tbody th{font:700 15px/1.2 Rubik,sans-serif;color:#0E1B3D;letter-spacing:.02em}
body#history #content .table tbody td.text-xs-right{font:700 16px/1.2 Rubik,sans-serif;color:#0E1B3D;text-align:right;white-space:nowrap}
/* fattura */
body#history #content .table td a[href*="pdf-invoice"],body#history #content .table td a[href*="controller=pdf-invoice"]{display:inline-grid;place-items:center;
  width:38px;height:38px;border-radius:10px;background:#F5F6F8;color:#0E1B3D!important}
body#history #content .table td a[href*="pdf-invoice"]:hover{background:#0E1B3D;color:#fff!important}
/* azioni */
body#history #content .order-actions{white-space:nowrap;text-align:right!important}
body#history #content .order-actions a{display:inline-flex;align-items:center;height:36px;margin:2px 0 2px 6px;padding:0 14px;border-radius:999px;
  font:700 13px/1 Rubik,sans-serif;text-decoration:none!important;transition:background .2s,color .2s,border-color .2s}
body#history #content .order-actions a[data-link-action="view-order-details"]{background:#0E1B3D;color:#fff!important}
body#history #content .order-actions a[data-link-action="view-order-details"]:hover{background:#16264F}
body#history #content .order-actions a:not([data-link-action]){border:1.5px solid #F26B1D;color:#C4520F!important;background:#fff}
body#history #content .order-actions a:not([data-link-action]):hover{background:#F26B1D;color:#fff!important}

/* stato ordine (il colore di sfondo arriva da PrestaShop, qui solo la forma) */
body#history #content .label-pill{display:inline-block;padding:6px 12px!important;border-radius:999px!important;
  font:700 12.5px/1.2 Manrope,sans-serif!important;letter-spacing:.01em;white-space:nowrap;text-transform:none;box-shadow:inset 0 0 0 1px rgba(0,0,0,.06)}

/* schede ordine (mobile, < 768px: il tema nasconde la tabella e mostra .orders) */
body#history #content .orders{display:grid;gap:12px}
body#history #content .orders .order{position:relative;margin:0!important;padding:16px!important;border:1px solid #E4E7EE!important;border-radius:16px;
  background:#fff;box-shadow:0 6px 18px rgba(14,27,61,.05)}
body#history #content .orders .order .row{display:flex;margin:0}
body#history #content .orders .order .col-xs-10{flex:1;min-width:0;width:auto;padding:0}
body#history #content .orders .order .col-xs-2{display:flex;flex-direction:column;gap:8px;width:auto;padding:0 0 0 10px}
body#history #content .orders .order h3{margin:0 0 6px;font:700 17px/1.2 Rubik,sans-serif!important;color:#0E1B3D;letter-spacing:.02em}
body#history #content .orders .order .date{font:500 14px/1.4 Manrope,sans-serif;color:#5B6275}
body#history #content .orders .order .total{margin:2px 0 10px;font:700 18px/1.3 Rubik,sans-serif;color:#0E1B3D}
body#history #content .orders .order .col-xs-2 a{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;text-decoration:none!important}
body#history #content .orders .order .col-xs-2 div:first-child a{background:#0E1B3D;color:#fff!important}
body#history #content .orders .order .col-xs-2 div+div a{border:1.5px solid #F26B1D;color:#C4520F!important;background:#fff}
body#history #content .orders .order .col-xs-2 i{font-size:22px}

@media (max-width:600px){
  body.page-customer-account #main .page-header h1{font-size:27px!important}
  body#history #content>h6{font-size:15px!important}
  body.page-customer-account #main .page-footer .account-link{flex:1 1 auto;justify-content:center}
}





/* ===== Dati personali (body#identity) Manferdini 2026 – CSS per custom.css del child theme =====
   Richiede la Parte A di storico-ordini-customcss.css (titolo e link in fondo dell'area cliente).
   Il form diventa una scheda con 3 blocchi (Dati personali, Sicurezza, Consensi), etichette sopra i campi,
   Nome/Cognome e Password/Nuova password affiancati su desktop. */

body#identity #main .page-header::after{content:"Aggiorna nome, email e password. Per salvare serve la password attuale.";display:block;margin-top:8px;
  font:500 16px/1.5 Manrope,sans-serif;color:#5B6275}

/* scheda */
body#identity #customer-form{max-width:780px;padding:8px 32px 28px;background:#fff;border:1px solid #E4E7EE;border-radius:20px;
  box-shadow:0 6px 18px rgba(14,27,61,.05)}
body#identity #customer-form>div:first-child{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px}
body#identity #customer-form>div:first-child>*{grid-column:1 / -1}
/* ordine: la data di nascita sale tra i dati personali (nel DOM viene dopo le password) */
body#identity #customer-form>div:first-child>*{order:10}
body#identity #customer-form>div:first-child>.form-group:has(#field-id_gender-1){order:1}
body#identity #customer-form>div:first-child>.form-group:has(#field-firstname){order:2}
body#identity #customer-form>div:first-child>.form-group:has(#field-lastname){order:3}
body#identity #customer-form>div:first-child>.form-group:has(#field-birthday){order:4}
body#identity #customer-form>div:first-child>.form-group:has(#field-email){order:5}
body#identity #customer-form>div:first-child>.field-password-policy:has(#field-password){order:6}
body#identity #customer-form>div:first-child>.field-password-policy:has(#field-new_password){order:7}
body#identity #customer-form .form-group:has(#field-firstname),
body#identity #customer-form .field-password-policy:has(#field-password){grid-column:1}
body#identity #customer-form .form-group:has(#field-lastname),
body#identity #customer-form .field-password-policy:has(#field-new_password){grid-column:2}

/* titoli dei blocchi */
body#identity #customer-form .form-group:has(#field-id_gender-1)::before,
body#identity #customer-form .form-group:has(#field-email)::after,
body#identity #customer-form .form-group:has([name="optin"])::before{display:block;width:100%;margin:22px 0 16px;padding-bottom:12px;border-bottom:1px solid #EEF0F4;
  font:700 13px/1.2 Rubik,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#1C8FA8}
body#identity #customer-form .form-group:has(#field-id_gender-1)::before{content:"Dati personali"}
body#identity #customer-form .form-group:has(#field-email)::after{content:"Sicurezza";margin:26px 0 0}
body#identity #customer-form .form-group:has([name="optin"])::before{content:"Consensi";margin-top:26px}

/* righe del form: etichetta sopra, niente colonne bootstrap */
body#identity #customer-form .form-group.row{position:relative;display:flex;flex-direction:column;flex-wrap:nowrap;margin:0 0 18px}
body#identity #customer-form .form-group>[class*="col-md-"]{flex:none;width:100%!important;max-width:100%;padding:0!important}
body#identity #customer-form .form-control-label{margin:0 0 7px;padding:0!important;text-align:left!important;
  font:600 14px/1.3 Manrope,sans-serif;color:#0E1B3D}
body#identity #customer-form .form-control-label.required::after{content:" *";color:#C4520F}
body#identity #customer-form .form-group:has(.custom-checkbox)>.form-control-label{display:none} /* etichette vuote: mostravano solo l'asterisco */
/* "Opzionale" come piccola etichetta accanto al titolo del campo */
body#identity #customer-form .form-group>.form-control-comment{position:absolute;top:0;right:0;width:auto!important;
  font:600 12px/1.3 Manrope,sans-serif;color:#8A90A2}
body#identity #customer-form .form-group:has([name="optin"])>.form-control-comment{display:none}

/* campi */
body#identity #customer-form .form-control{height:50px;padding:0 16px;border:1.5px solid #DCE0E8!important;border-radius:12px!important;background:#fff!important;
  font:500 16px/1.2 Manrope,sans-serif;color:#1B2440;box-shadow:none!important;transition:border-color .2s,box-shadow .2s}
body#identity #customer-form .form-control:hover{border-color:#B9C0CE!important}
body#identity #customer-form .form-control:focus{border-color:#24B9D7!important;box-shadow:0 0 0 4px rgba(36,185,215,.15)!important;outline:0}
body#identity #customer-form .form-control::placeholder{color:#A0A6B5}
body#identity #customer-form .js-input-column>.form-control-comment{display:block;margin-top:6px;font:500 13px/1.4 Manrope,sans-serif;color:#7A8194}

/* password + "Mostra" */
body#identity #customer-form .input-group{display:flex;width:100%;border:1.5px solid #DCE0E8;border-radius:12px;background:#fff;overflow:hidden;
  transition:border-color .2s,box-shadow .2s}
body#identity #customer-form .input-group:focus-within{border-color:#24B9D7;box-shadow:0 0 0 4px rgba(36,185,215,.15)}
body#identity #customer-form .input-group .form-control{flex:1;min-width:0;height:47px;border:0!important;border-radius:0!important;box-shadow:none!important}
body#identity #customer-form .input-group-btn{display:flex;width:auto}
body#identity #customer-form .input-group-btn .btn{height:100%;margin:0;padding:0 16px;border:0!important;border-left:1px solid #EEF0F4!important;border-radius:0;
  background:#F5F6F8!important;font:700 13px/1 Rubik,sans-serif;color:#0E1B3D!important;text-transform:none;box-shadow:none}
body#identity #customer-form .input-group-btn .btn:hover{background:#E9ECF2!important}
body#identity #customer-form .field-password-policy:has(#field-password) .input-group::after{content:none}
body#identity #customer-form .field-password-policy:has(#field-password) .js-input-column::after{content:"Password attuale, obbligatoria per salvare.";
  display:block;margin-top:6px;font:500 13px/1.4 Manrope,sans-serif;color:#7A8194}
/* indicatore di robustezza password (PrestaShop 8) */
body#identity #customer-form .password-strength-feedback{margin-top:8px;font:500 13px/1.4 Manrope,sans-serif}
body#identity #customer-form .password-strength-feedback .progress{height:6px;border-radius:999px;background:#EEF0F4}
body#identity #customer-form .password-strength-feedback .progress-bar{border-radius:999px}
body#identity #customer-form .password-requirements{margin-top:6px;font:500 13px/1.5 Manrope,sans-serif;color:#5B6275}

/* titolo sociale: pillole */
body#identity #customer-form .form-control-valign{display:flex;flex-wrap:wrap;gap:10px;padding:0!important}
body#identity #customer-form .radio-inline{display:inline-flex;align-items:center;gap:10px;height:46px;margin:0!important;padding:0 18px 0 14px;
  border:1.5px solid #DCE0E8;border-radius:999px;font:600 15px/1 Manrope,sans-serif;color:#1B2440;cursor:pointer;transition:border-color .2s,background .2s}
body#identity #customer-form .radio-inline:has(input:checked){border-color:#F26B1D;background:#FFF5EE}
body#identity #customer-form .custom-radio{position:relative;display:inline-block;width:20px;height:20px;margin:0!important;border:2px solid #B9C0CE!important;
  border-radius:50%;background:#fff;vertical-align:middle}
body#identity #customer-form .custom-radio input{position:absolute;inset:0;opacity:0;margin:0;cursor:pointer}
body#identity #customer-form .custom-radio input:checked+span{display:block;position:absolute;top:3px;left:3px;width:10px;height:10px;margin:0;border-radius:50%;background:#F26B1D}
body#identity #customer-form .radio-inline:has(input:checked) .custom-radio{border-color:#F26B1D!important}

/* checkbox consensi */
body#identity #customer-form .custom-checkbox{display:block}
body#identity #customer-form .custom-checkbox label{position:relative;display:block;margin:0;padding:14px 16px 14px 52px;border:1.5px solid #EEF0F4;border-radius:14px;
  background:#FAFBFC;font:600 15px/1.45 Manrope,sans-serif;color:#1B2440;cursor:pointer;text-align:left;transition:border-color .2s,background .2s}
body#identity #customer-form .custom-checkbox label:hover{border-color:#DCE0E8}
body#identity #customer-form .custom-checkbox label:has(input:checked){border-color:#F9C8A8;background:#FFF8F3}
body#identity #customer-form .custom-checkbox input{position:absolute;top:15px;left:16px;width:22px;height:22px;margin:0;opacity:0;cursor:pointer;z-index:1}
body#identity #customer-form .custom-checkbox input+span{position:absolute;top:15px;left:16px;display:grid;place-items:center;width:22px;height:22px;margin:0;
  border:2px solid #B9C0CE;border-radius:7px;background:#fff;transition:background .15s,border-color .15s}
body#identity #customer-form .custom-checkbox input+span .checkbox-checked{display:none;margin:0;font-size:16px;color:#fff}
body#identity #customer-form .custom-checkbox input:checked+span{border-color:#F26B1D;background:#F26B1D}
body#identity #customer-form .custom-checkbox input:checked+span .checkbox-checked{display:block}
body#identity #customer-form .custom-checkbox input:focus-visible+span{box-shadow:0 0 0 4px rgba(36,185,215,.25)}
body#identity #customer-form .custom-checkbox em{display:block;margin-top:4px;font:500 13px/1.5 Manrope,sans-serif;font-style:normal;color:#5B6275}
body#identity #customer-form .custom-checkbox br{display:none}
body#identity #customer-form .form-group:has(.custom-checkbox){margin-bottom:10px}

/* errori di PrestaShop */
body#identity #customer-form .has-error .form-control,body#identity #customer-form .has-error .input-group{border-color:#D92D20!important}
body#identity #customer-form .help-block,body#identity #customer-form .alert-danger{margin-top:6px;padding:0;border:0;background:none;
  font:600 13px/1.4 Manrope,sans-serif;color:#B42318}
body#identity #customer-form .help-block ul{margin:0;padding:0;list-style:none}
body#identity #notifications .alert-success{border:0;border-radius:14px;background:#ECFDF3;color:#067647;font:600 15px/1.4 Manrope,sans-serif;padding:14px 18px}

/* salva */
body#identity #customer-form .form-footer{display:flex;justify-content:flex-end;margin-top:24px;padding-top:22px;border-top:1px solid #EEF0F4}
body#identity #customer-form .form-control-submit{float:none!important;height:52px;padding:0 34px;border:0;border-radius:14px;background:#F26B1D!important;
  font:700 16px/1 Rubik,sans-serif;color:#fff!important;text-transform:none;box-shadow:0 8px 18px rgba(242,107,29,.25);transition:background .2s}
body#identity #customer-form .form-control-submit:hover{background:#C4520F!important}

/* mobile */
@media (max-width:767px){
  body#identity #main .page-header::after{font-size:15px}
  body#identity #customer-form{padding:4px 18px 20px;border-radius:16px}
  body#identity #customer-form>div:first-child{display:flex;flex-direction:column}
  body#identity #customer-form .form-control-submit{width:100%}
}






/* ===== I tuoi indirizzi (body#addresses) Manferdini 2026 – CSS per custom.css del child theme =====
   Nota: questa pagina NON ha la classe page-customer-account, quindi titolo e link in fondo sono ripetuti qui. */

/* titolo + link in fondo (come le altre pagine dell'area cliente) */
body#addresses #main .page-header{margin:8px 0 24px}
body#addresses #main .page-header h1{margin:0;font:700 34px/1.15 Rubik,sans-serif!important;color:#0E1B3D;text-transform:none}
body#addresses #main .page-header::after{content:"Gli indirizzi salvati per spedizione e fatturazione.";display:block;margin-top:8px;
  font:500 16px/1.5 Manrope,sans-serif;color:#5B6275}
body#addresses #main .page-footer{display:flex;flex-wrap:wrap;gap:10px;margin-top:32px;padding-top:24px;border-top:1px solid #E4E7EE}
body#addresses #main .page-footer .account-link{display:inline-flex;align-items:center;gap:8px;height:46px;margin:0!important;padding:0 18px 0 12px;
  border:1.5px solid #E4E7EE;border-radius:999px;background:#fff;font:700 15px/1 Rubik,sans-serif;color:#0E1B3D!important;text-decoration:none!important;
  transition:border-color .2s,background .2s}
body#addresses #main .page-footer .account-link:hover{border-color:#0E1B3D;background:#F5F6F8}
body#addresses #main .page-footer .account-link i{font-size:22px;color:#C4520F;margin:0}

/* griglia: le colonne bootstrap diventano celle */
body#addresses #content.page-content{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:0!important;margin:0;
  background:none!important;border:0!important;box-shadow:none!important}
body#addresses #content>#notifications,body#addresses #content>.clearfix{grid-column:1 / -1}
body#addresses #content>.clearfix,body#addresses #content>#notifications:not(:has(.alert)){display:none}
body#addresses #content>[class*="col-"]{width:auto!important;max-width:none;float:none!important;padding:0!important;margin:0}

/* scheda indirizzo */
body#addresses .address{display:flex;flex-direction:column;height:100%;margin:0!important;padding:0!important;background:#fff;
  border:1px solid #E4E7EE;border-radius:18px;box-shadow:0 6px 18px rgba(14,27,61,.05)!important;overflow:hidden;transition:box-shadow .2s,border-color .2s}
body#addresses .address:hover{border-color:#D3D8E2;box-shadow:0 14px 30px rgba(14,27,61,.10)!important}
body#addresses .address-body{flex:1;padding:22px 22px 18px!important}
body#addresses .address-body h4{display:flex;align-items:center;gap:12px;margin:0 0 14px;font:700 18px/1.25 Rubik,sans-serif!important;color:#0E1B3D}
body#addresses .address-body h4::before{content:"";flex:0 0 auto;width:40px;height:40px;border-radius:12px;
  background:#FFF3EB url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C4520F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12S4 16 4 10a8 8 0 0 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center/20px no-repeat}
body#addresses .address-body address{margin:0;font:500 15px/1.6 Manrope,sans-serif;font-style:normal;color:#3A4257}

/* azioni */
body#addresses .address-footer{display:flex;gap:8px;margin:0!important;padding:14px 22px!important;border-top:1px solid #EEF0F4!important;background:#FAFBFC}
body#addresses .address-footer a{display:inline-flex;align-items:center;gap:6px;height:40px;margin:0!important;padding:0 14px 0 10px;border-radius:999px;
  font:700 14px/1 Rubik,sans-serif;text-decoration:none!important;transition:background .2s,color .2s,border-color .2s}
body#addresses .address-footer a i{font-size:19px;margin:0}
body#addresses .address-footer a[data-link-action="edit-address"]{border:1.5px solid #0E1B3D;color:#0E1B3D!important;background:#fff}
body#addresses .address-footer a[data-link-action="edit-address"]:hover{background:#0E1B3D;color:#fff!important}
body#addresses .address-footer a[data-link-action="delete-address"]{margin-left:auto!important;color:#B42318!important}
body#addresses .address-footer a[data-link-action="delete-address"]:hover{background:#FEF3F2}

/* "Crea nuovo indirizzo" come scheda tratteggiata nella griglia */
body#addresses .addresses-footer{margin:0!important}
body#addresses .addresses-footer a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;height:100%;min-height:200px;
  padding:24px;border:2px dashed #D3D8E2;border-radius:18px;background:transparent;color:#0E1B3D!important;text-decoration:none!important;
  font:700 16px/1.3 Rubik,sans-serif;text-align:center;transition:border-color .2s,background .2s,color .2s}
body#addresses .addresses-footer a i{display:grid;place-items:center;width:52px;height:52px;margin:0;border-radius:50%;background:#F26B1D;color:#fff;font-size:28px;
  box-shadow:0 8px 18px rgba(242,107,29,.28);transition:transform .2s}
body#addresses .addresses-footer a:hover{border-color:#F26B1D;background:#FFF8F3;color:#C4520F!important}
body#addresses .addresses-footer a:hover i{transform:scale(1.06)}
body#addresses .addresses-footer a span{text-transform:none}

/* tablet / mobile */
@media (max-width:1024px){body#addresses #content.page-content{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}}
@media (max-width:600px){
  body#addresses #main .page-header h1{font-size:27px!important}
  body#addresses #main .page-header::after{font-size:15px}
  body#addresses #content.page-content{grid-template-columns:minmax(0,1fr);gap:12px}
  body#addresses .address-body{padding:18px 18px 14px!important}
  body#addresses .address-footer{padding:12px 18px!important}
  body#addresses .addresses-footer a{flex-direction:row;min-height:64px;padding:12px 18px;font-size:15px}
  body#addresses .addresses-footer a i{width:40px;height:40px;font-size:24px}
  body#addresses #main .page-footer .account-link{flex:1 1 auto;justify-content:center}
}






/* ===== Liste dei desideri (modulo blockwishlist) Manferdini 2026 – CSS per custom.css del child theme =====
   Parte A: pagina "Le mie liste di desideri" (body#module-blockwishlist-lists).
   Parte B: finestre del modulo (crea / rinomina / condividi / elimina / scegli lista) su tutto il sito.
   La pagina viene disegnata dal modulo in JavaScript: le classi sono quelle del modulo blockwishlist 2.x/3.x. */

/* ---------- A. pagina liste ---------- */
body#module-blockwishlist-lists .wishlist-container{margin:8px 0 0}
body#module-blockwishlist-lists .wishlist-container-header{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:16px;margin:0 0 24px}
body#module-blockwishlist-lists .wishlist-container-header h1{margin:0;font:700 34px/1.15 Rubik,sans-serif!important;color:#0E1B3D;text-transform:none}
body#module-blockwishlist-lists .wishlist-container-header h1::after{content:"Salva macchine e ricambi per ritrovarli o condividerli con chi lavora con te.";display:block;
  margin-top:8px;font:500 16px/1.5 Manrope,sans-serif;color:#5B6275}
body#module-blockwishlist-lists .wishlist-add-to-new{display:inline-flex!important;align-items:center;gap:8px;height:48px;padding:0 20px 0 14px;border-radius:999px;
  background:#F26B1D;color:#fff!important;font:700 15px/1 Rubik,sans-serif;text-decoration:none!important;box-shadow:0 8px 18px rgba(242,107,29,.25);
  transition:background .2s}
body#module-blockwishlist-lists .wishlist-add-to-new:hover{background:#C4520F}
body#module-blockwishlist-lists .wishlist-add-to-new i{font-size:22px;color:#fff!important}

body#module-blockwishlist-lists .wishlist-container .page-content{padding:0!important;margin:0;background:none!important;border:0!important;box-shadow:none!important}
body#module-blockwishlist-lists .wishlist-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0;padding:0;list-style:none}
body#module-blockwishlist-lists .wishlist-list-item{margin:0!important;padding:0!important;border:0!important;background:none!important}
body#module-blockwishlist-lists .wishlist-list-item-link{position:relative;display:flex!important;align-items:center;gap:14px;min-height:84px;padding:16px 16px 16px 18px!important;
  background:#fff;border:1px solid #E4E7EE;border-radius:18px;box-shadow:0 6px 18px rgba(14,27,61,.05);cursor:pointer;text-decoration:none!important;
  transition:border-color .2s,box-shadow .2s,transform .2s}
body#module-blockwishlist-lists .wishlist-list-item-link:hover{border-color:#F26B1D;box-shadow:0 14px 30px rgba(14,27,61,.10);transform:translateY(-2px)}
/* cuore a sinistra */
body#module-blockwishlist-lists .wishlist-list-item-link::before{content:"";flex:0 0 auto;width:48px;height:48px;border-radius:14px;
  background:#FFF3EB url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23F26B1D'%3E%3Cpath d='M12 21s-7.5-4.6-10-9.3C.4 8.6 2.3 4.5 6.1 4.5c2.2 0 3.6 1.2 4.4 2.4h3c.8-1.2 2.2-2.4 4.4-2.4 3.8 0 5.7 4.1 4.1 7.2C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center/22px no-repeat}
body#module-blockwishlist-lists .wishlist-list-item-default .wishlist-list-item-link::before{background-color:#0E1B3D;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 21s-7.5-4.6-10-9.3C.4 8.6 2.3 4.5 6.1 4.5c2.2 0 3.6 1.2 4.4 2.4h3c.8-1.2 2.2-2.4 4.4-2.4 3.8 0 5.7 4.1 4.1 7.2C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E")}
body#module-blockwishlist-lists .wishlist-list-item-title{flex:1;min-width:0;margin:0!important;padding:0!important;font:700 17px/1.3 Rubik,sans-serif!important;color:#0E1B3D!important;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* contatore prodotti "(3)" come pillola */
body#module-blockwishlist-lists .wishlist-list-item-title span{display:inline-grid;place-items:center;min-width:28px;height:24px;margin-left:8px;padding:0 8px;border-radius:999px;
  background:#F5F6F8;font:700 12px/1 Rubik,sans-serif;color:#5B6275;vertical-align:2px}
body#module-blockwishlist-lists .wishlist-list-item-right{position:relative;display:flex;align-items:center;gap:6px;flex:0 0 auto}
body#module-blockwishlist-lists .wishlist-list-item-right>button{display:grid;place-items:center;width:40px;height:40px;padding:0;border:0!important;border-radius:12px!important;
  background:#F5F6F8!important;color:#0E1B3D!important;box-shadow:none!important;cursor:pointer;transition:background .2s,color .2s}
body#module-blockwishlist-lists .wishlist-list-item-right>button:hover{background:#0E1B3D!important;color:#fff!important}
body#module-blockwishlist-lists .wishlist-list-item-right>button i{font-size:21px;color:inherit}
/* cestino: rosso al passaggio */
body#module-blockwishlist-lists .wishlist-list-item:not(.wishlist-list-item-default) .wishlist-list-item-right>button:last-of-type:hover{background:#FEF3F2!important;color:#B42318!important}
/* menu "..." (Rinomina / Condividi) */
body#module-blockwishlist-lists .wishlist-list-item .dropdown-menu{position:absolute;top:calc(100% + 8px);right:0;left:auto;z-index:20;display:flex;flex-direction:column;
  min-width:180px;margin:0;padding:6px;border:1px solid #E4E7EE;border-radius:14px;background:#fff;box-shadow:0 16px 34px rgba(14,27,61,.16)}
body#module-blockwishlist-lists .wishlist-list-item .dropdown-menu button{display:block;width:100%;padding:11px 12px;border:0;border-radius:10px;background:none;
  text-align:left;font:600 14px/1.2 Manrope,sans-serif;color:#1B2440;cursor:pointer}
body#module-blockwishlist-lists .wishlist-list-item .dropdown-menu button:hover{background:#F5F6F8;color:#C4520F}
/* nessuna lista / caricamento */
body#module-blockwishlist-lists .wishlist-list-empty{display:flex;flex-direction:column;align-items:center;gap:8px;margin:0;padding:44px 24px;border:1.5px dashed #D3D8E2;
  border-radius:18px;background:#fff;text-align:center;font:700 18px/1.3 Rubik,sans-serif;color:#0E1B3D}
body#module-blockwishlist-lists .wishlist-list-empty::before{content:"";width:64px;height:64px;margin-bottom:6px;border-radius:50%;
  background:#FFF3EB url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F26B1D' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7.5-4.6-10-9.3C.4 8.6 2.3 4.5 6.1 4.5c2.2 0 3.6 1.2 4.4 2.4h3c.8-1.2 2.2-2.4 4.4-2.4 3.8 0 5.7 4.1 4.1 7.2C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center/28px no-repeat}
body#module-blockwishlist-lists .wishlist-list-empty::after{content:"Tocca il cuore su una scheda prodotto per salvarla qui.";font:500 15px/1.5 Manrope,sans-serif;color:#5B6275}
body#module-blockwishlist-lists .wishlist-list-loader{width:100%;max-width:520px}

/* link in fondo */
body#module-blockwishlist-lists .wishlist-footer-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:32px;padding-top:24px;border-top:1px solid #E4E7EE}
body#module-blockwishlist-lists .wishlist-footer-links a{display:inline-flex;align-items:center;gap:8px;height:46px;margin:0!important;padding:0 18px 0 12px;
  border:1.5px solid #E4E7EE;border-radius:999px;background:#fff;font:700 15px/1 Rubik,sans-serif;color:#0E1B3D!important;text-decoration:none!important;
  transition:border-color .2s,background .2s}
body#module-blockwishlist-lists .wishlist-footer-links a:hover{border-color:#0E1B3D;background:#F5F6F8}
body#module-blockwishlist-lists .wishlist-footer-links a i{font-size:22px;color:#C4520F;margin:0}

@media (max-width:767px){
  body#module-blockwishlist-lists .wishlist-container-header h1{font-size:27px!important}
  body#module-blockwishlist-lists .wishlist-container-header h1::after{font-size:15px}
  body#module-blockwishlist-lists .wishlist-add-to-new{width:100%;justify-content:center}
  body#module-blockwishlist-lists .wishlist-list{grid-template-columns:minmax(0,1fr);gap:10px}
  body#module-blockwishlist-lists .wishlist-list-item-link{min-height:74px;padding:12px 12px 12px 14px!important;gap:12px}
  body#module-blockwishlist-lists .wishlist-list-item-link::before{width:42px;height:42px;border-radius:12px;background-size:20px}
  body#module-blockwishlist-lists .wishlist-footer-links a{flex:1 1 auto;justify-content:center}
}

/* ---------- B. finestre del modulo (tutto il sito) ---------- */
.wishlist-modal.show{display:block}
.wishlist-modal .modal-dialog{max-width:460px;margin:auto;padding:16px}
.wishlist-modal .modal-content{border:0;border-radius:20px;box-shadow:0 30px 60px rgba(14,27,61,.25);overflow:hidden}
.wishlist-modal .modal-header{display:flex;align-items:center;justify-content:space-between;padding:20px 22px 12px;border:0}
.wishlist-modal .modal-title{margin:0;font:700 20px/1.25 Rubik,sans-serif;color:#0E1B3D}
.wishlist-modal .modal-header .close{display:grid;place-items:center;width:40px;height:40px;margin:0;padding:0;border-radius:12px;background:#F5F6F8;
  opacity:1;font-size:24px;line-height:1;color:#0E1B3D;text-shadow:none;cursor:pointer}
.wishlist-modal .modal-body{padding:6px 22px 8px;font:500 15px/1.5 Manrope,sans-serif;color:#3A4257}
.wishlist-modal .form-control-label{display:block;margin:0 0 7px;font:600 14px/1.3 Manrope,sans-serif;color:#0E1B3D}
.wishlist-modal .form-control{height:50px;padding:0 16px;border:1.5px solid #DCE0E8;border-radius:12px;font:500 16px/1.2 Manrope,sans-serif;color:#1B2440;box-shadow:none}
.wishlist-modal .form-control:focus{border-color:#24B9D7;box-shadow:0 0 0 4px rgba(36,185,215,.15);outline:0}
.wishlist-modal .modal-footer{display:flex;gap:10px;justify-content:flex-end;padding:14px 22px 22px;border:0}
.wishlist-modal .modal-footer .btn{height:48px;margin:0;padding:0 20px;border-radius:14px;font:700 15px/1 Rubik,sans-serif;text-transform:none;box-shadow:none}
.wishlist-modal .modal-footer .btn-primary{border:0;background:#F26B1D;color:#fff}
.wishlist-modal .modal-footer .btn-primary:hover{background:#C4520F}
.wishlist-modal .modal-footer .btn-secondary,.wishlist-modal .modal-footer .modal-cancel{border:1.5px solid #E4E7EE;background:#fff;color:#0E1B3D}
.wishlist-modal .modal-footer .btn-secondary:hover{border-color:#0E1B3D}
/* finestra "scegli lista" quando si tocca il cuore */
.wishlist-chooselist .wishlist-list-item,.wishlist-add-to .wishlist-list-item{border-radius:12px}
.wishlist-chooselist .wishlist-list-item:hover,.wishlist-add-to .wishlist-list-item:hover{background:#F5F6F8}
.wishlist-chooselist .wishlist-list-item p,.wishlist-add-to .wishlist-list-item p{margin:0;padding:12px 14px;font:600 15px/1.3 Manrope,sans-serif;color:#0E1B3D}
.wishlist-modal .wishlist-add-to-new,.wishlist-add-to .wishlist-add-to-new{display:inline-flex;align-items:center;gap:6px;font:700 14px/1 Rubik,sans-serif;color:#C4520F!important}
/* sfondo scuro */
.wishlist-modal ~ .modal-backdrop.in{background:#0E1B3D;opacity:.55}
@media (max-width:480px){.wishlist-modal .modal-footer .btn{flex:1}}





/* ===== Note di credito (body#order-slip) Manferdini 2026 – CSS per custom.css del child theme =====
   Richiede la Parte A di storico-ordini-customcss.css (titolo e link in fondo dell'area cliente). Stesso stile dello storico ordini. */

body#order-slip #content>h6{margin:0 0 20px;font:500 16px/1.5 Manrope,sans-serif!important;color:#5B6275;text-transform:none}

/* nessuna nota di credito */
body#order-slip #content .alert-info{display:flex;flex-direction:column;align-items:center;gap:6px;margin:0;padding:44px 24px!important;
  background:#fff!important;border:1.5px dashed #D3D8E2!important;border-radius:18px;text-align:center;font:700 19px/1.3 Rubik,sans-serif;color:#0E1B3D!important}
body#order-slip #content .alert-info::before{content:"";width:64px;height:64px;margin-bottom:10px;border-radius:50%;
  background:#F5F6F8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E1B3D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M9 15h6M9 11h2'/%3E%3C/svg%3E") center/28px no-repeat}
body#order-slip #content .alert-info::after{content:"Le note di credito compaiono qui quando un ordine viene annullato o rimborsato, pronte da scaricare in PDF.";
  max-width:440px;font:500 15px/1.5 Manrope,sans-serif;color:#5B6275}

/* tabella (desktop) */
body#order-slip #content .table{width:100%;margin:0;border:1px solid #E4E7EE!important;border-radius:18px;border-collapse:separate;border-spacing:0;overflow:hidden;
  background:#fff;box-shadow:0 6px 18px rgba(14,27,61,.05)}
body#order-slip #content .table thead th{padding:14px 18px!important;border:0!important;background:#F5F6F8!important;
  font:700 12px/1.2 Rubik,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#5B6275!important;text-align:left;white-space:nowrap}
body#order-slip #content .table tbody td,body#order-slip #content .table tbody th{padding:16px 18px!important;border:0!important;border-top:1px solid #EEF0F4!important;
  vertical-align:middle;background:#fff!important;font:500 15px/1.35 Manrope,sans-serif;color:#1B2440}
body#order-slip #content .table tbody tr:hover>*{background:#FAFBFC!important}
body#order-slip #content .table tbody td:first-child a{font:700 15px/1.2 Rubik,sans-serif;color:#0E1B3D!important;text-decoration:none!important;
  border-bottom:1.5px solid #F9C8A8}
body#order-slip #content .table tbody td:first-child a:hover{color:#C4520F!important;border-color:#C4520F}
body#order-slip #content .table tbody td:last-child,body#order-slip #content .table thead th:last-child{text-align:right!important}
/* PDF */
body#order-slip #content .table td:last-child a,body#order-slip #content .credit-slip li:last-child a{display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 14px 0 10px;
  border-radius:999px;background:#0E1B3D;color:#fff!important;font:700 13px/1 Rubik,sans-serif;text-decoration:none!important;transition:background .2s}
body#order-slip #content .table td:last-child a::after{content:"PDF"}
body#order-slip #content .table td:last-child a:hover,body#order-slip #content .credit-slip li:last-child a:hover{background:#F26B1D}
body#order-slip #content .table td:last-child a i,body#order-slip #content .credit-slip li:last-child a i{font-size:19px;color:#fff}

/* schede (mobile) */
body#order-slip #content .credit-slips{display:grid;gap:12px}
body#order-slip #content .credit-slip{margin:0!important;padding:16px!important;border:1px solid #E4E7EE!important;border-radius:16px;background:#fff;
  box-shadow:0 6px 18px rgba(14,27,61,.05)}
body#order-slip #content .credit-slip ul{display:grid;gap:8px;margin:0;padding:0;list-style:none}
body#order-slip #content .credit-slip li{display:flex;justify-content:space-between;gap:12px;font:500 15px/1.4 Manrope,sans-serif;color:#1B2440}
body#order-slip #content .credit-slip li strong{font:600 13px/1.4 Manrope,sans-serif;color:#5B6275}
body#order-slip #content .credit-slip li:last-child{margin-top:6px;padding-top:12px;border-top:1px solid #EEF0F4}
body#order-slip #content .credit-slip li:last-child a{width:100%;justify-content:center;height:44px}

@media (max-width:600px){body#order-slip #content>h6{font-size:15px!important}}






/* ===== I miei dati personali / GDPR (modulo psgdpr, body#module-psgdpr-gdpr) Manferdini 2026 – CSS per custom.css =====
   Richiede la Parte A di storico-ordini-customcss.css (titolo e link in fondo dell'area cliente). */

/* titolo: il modulo lo stampa in inglese ("GDPR - Personal data"). Qui lo sostituiamo in italiano;
   la correzione definitiva è da Internazionale > Traduzioni > Traduzioni dei moduli > psgdpr */
body#module-psgdpr-gdpr #main .page-header h1{font-size:0!important;line-height:0!important}
body#module-psgdpr-gdpr #main .page-header h1::before{content:"I miei dati personali";display:block;font:700 34px/1.15 Rubik,sans-serif;color:#0E1B3D}
body#module-psgdpr-gdpr #main .page-header::after{content:"Scarica una copia dei tuoi dati o chiedine la modifica e la cancellazione.";display:block;margin-top:8px;
  font:500 16px/1.5 Manrope,sans-serif;color:#5B6275}

/* due schede affiancate */
body#module-psgdpr-gdpr #content>.container{width:auto;max-width:none;padding:0;margin:0}
body#module-psgdpr-gdpr .page_content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:0}
body#module-psgdpr-gdpr .psgdprinfo17{position:relative;display:flex;flex-direction:column;width:auto!important;float:none!important;margin:0!important;
  padding:26px 26px 24px 26px!important;background:#fff!important;border:1px solid #E4E7EE!important;border-radius:18px;box-shadow:0 6px 18px rgba(14,27,61,.05)!important}
body#module-psgdpr-gdpr .psgdprinfo17::before{content:"";width:52px;height:52px;margin-bottom:16px;border-radius:14px;
  background:#EAF7FB url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C8FA8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4M7 10l5 5 5-5M12 15V3'/%3E%3C/svg%3E") center/24px no-repeat}
body#module-psgdpr-gdpr .psgdprinfo17+.psgdprinfo17::before{background-color:#FFF3EB;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C4520F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4z'/%3E%3C/svg%3E")}
body#module-psgdpr-gdpr .psgdprinfo17 h2{margin:0 0 10px;font:700 20px/1.25 Rubik,sans-serif!important;color:#0E1B3D;text-transform:none}
body#module-psgdpr-gdpr .psgdprinfo17 p{flex:1;margin:0 0 18px;font:500 15px/1.6 Manrope,sans-serif;color:#3A4257}
body#module-psgdpr-gdpr .psgdprinfo17 p a{font-weight:700;color:#C4520F!important;text-decoration:underline;text-underline-offset:3px}
body#module-psgdpr-gdpr .psgdprinfo17 p:last-child{margin-bottom:0}

/* pulsanti di download */
body#module-psgdpr-gdpr .psgdprgetdatabtn17{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;height:48px;margin:0 8px 8px 0!important;
  padding:0 20px!important;border-radius:14px!important;font:700 15px/1 Rubik,sans-serif!important;text-transform:none!important;text-decoration:none!important;
  box-shadow:none!important;transition:background .2s,color .2s,border-color .2s}
body#module-psgdpr-gdpr .psgdprgetdatabtn17::before{content:"";width:18px;height:18px;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4M7 10l5 5 5-5M12 15V3'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4M7 10l5 5 5-5M12 15V3'/%3E%3C/svg%3E") center/contain no-repeat}
/* il testo del modulo è in maiuscolo: lo riscriviamo in modo leggibile */
body#module-psgdpr-gdpr #exportDataToPdf,body#module-psgdpr-gdpr #exportDataToCsv{font-size:0!important}
body#module-psgdpr-gdpr #exportDataToPdf::after{content:"Scarica PDF";font:700 15px/1 Rubik,sans-serif}
body#module-psgdpr-gdpr #exportDataToCsv::after{content:"Scarica CSV";font:700 15px/1 Rubik,sans-serif}
body#module-psgdpr-gdpr #exportDataToPdf{order:0;border:0!important;background:#F26B1D!important;color:#fff!important}
body#module-psgdpr-gdpr #exportDataToPdf:hover{background:#C4520F!important}
body#module-psgdpr-gdpr #exportDataToCsv{border:1.5px solid #0E1B3D!important;background:#fff!important;color:#0E1B3D!important}
body#module-psgdpr-gdpr #exportDataToCsv:hover{background:#0E1B3D!important;color:#fff!important}
/* PDF prima di CSV (è quello che serve a quasi tutti) */
body#module-psgdpr-gdpr .psgdprinfo17:has(#exportDataToPdf){display:flex;flex-wrap:wrap;flex-direction:row;align-content:flex-start}
body#module-psgdpr-gdpr .psgdprinfo17:has(#exportDataToPdf)>:not(.psgdprgetdatabtn17){flex:0 0 100%}
body#module-psgdpr-gdpr .psgdprinfo17:has(#exportDataToPdf)::before{flex:0 0 52px}
body#module-psgdpr-gdpr .psgdprinfo17:has(#exportDataToPdf)>p{flex:1 0 100%}
/* ordine: icona, titolo, testo, PDF, CSV */
body#module-psgdpr-gdpr .psgdprinfo17::before{order:-3}
body#module-psgdpr-gdpr .psgdprinfo17>h2{order:-2}
body#module-psgdpr-gdpr .psgdprinfo17>p{order:-1}
body#module-psgdpr-gdpr #exportDataToCsv{order:1}

@media (max-width:767px){
  body#module-psgdpr-gdpr #main .page-header h1::before{font-size:27px}
  body#module-psgdpr-gdpr #main .page-header::after{font-size:15px}
  body#module-psgdpr-gdpr .page_content{grid-template-columns:minmax(0,1fr);gap:12px}
  body#module-psgdpr-gdpr .psgdprinfo17{padding:20px 18px!important}
  body#module-psgdpr-gdpr .psgdprgetdatabtn17{flex:1 1 140px;margin:0 0 8px!important}
  body#module-psgdpr-gdpr .psgdprinfo17:has(#exportDataToPdf){gap:0 8px}
}




/* ===== Registrazione Manferdini 2026 – CSS per custom.css del child theme =====
   Vale solo su body#registration e per il template importato (classi mfr-*). */

/* sfondo pagina e sezione */
body#registration #content{background:#F5F6F8}
body#registration .mfr-sec{padding:48px 24px 64px}
body#registration .mfr-sec>.elementor-container>.elementor-row,
body#registration .mfr-sec>.elementor-container{align-items:stretch}
body#registration .mfr-sec>.elementor-container{border-radius:24px;overflow:hidden;background:#fff;box-shadow:0 24px 60px rgba(14,27,61,.12)}
body#registration .mfr-sec .elementor-column>.elementor-column-wrap,
body#registration .mfr-sec .elementor-column>.elementor-widget-wrap{padding:0!important}
body#registration .mfr-sec .elementor-widget:not(:last-child){margin-bottom:0}

/* colonna sinistra: navy */
body#registration .mfr-aside{position:relative;background:linear-gradient(160deg,#0E1B3D 0%,#1B3168 100%)!important;overflow:hidden}
body#registration .mfr-aside::after{content:"";position:absolute;right:-90px;bottom:-90px;width:260px;height:260px;border-radius:50%;
  border:40px solid rgba(242,107,29,.16);pointer-events:none}
body#registration .mfr-sec .mfr-aside>.elementor-column-wrap,body#registration .mfr-sec .mfr-aside>.elementor-widget-wrap{padding:44px 40px!important}
body#registration .mfr-aside .elementor-widget-wrap{position:relative;z-index:1;align-content:flex-start}
/* logo su targa bianca (il bordo blu fa parte del logo) */
body#registration .mfr-logo{margin-bottom:28px!important}
body#registration .mfr-logo img{display:block;width:210px;max-width:100%;height:auto;padding:12px 16px;background:#fff;border-radius:12px;box-sizing:content-box}
body#registration .mfr-benefits{margin-bottom:26px!important}
/* vantaggi: icona centrata nel quadrato e testo staccato */
body#registration .mfr-benefits .elementor-icon-list-item{display:flex!important;align-items:center!important;gap:14px}
body#registration .mfr-benefits .elementor-icon-list-icon{display:flex!important;align-items:center;justify-content:center;width:36px!important;height:36px;flex:0 0 36px;
  margin:0!important;padding:0!important;border-radius:10px;background:rgba(255,255,255,.1)}
body#registration .mfr-benefits .elementor-icon-list-icon i{width:auto!important;margin:0!important;font-size:16px!important;line-height:1;color:#F26B1D!important}
body#registration .mfr-benefits .elementor-icon-list-icon svg{width:16px!important;height:16px;margin:0!important;fill:#F26B1D!important}
body#registration .mfr-benefits .elementor-icon-list-text{padding:0!important;margin:0!important;line-height:1.4}
body#registration .mfr-divider{margin-bottom:18px!important}
body#registration .mfr-btn-login{margin-bottom:22px!important}
body#registration .mfr-btn-login .elementor-button{display:inline-flex;align-items:center;height:48px;padding:0 22px!important;border:1.5px solid rgba(255,255,255,.5)!important;
  border-radius:14px!important;background:transparent!important;color:#fff!important;font:700 15px/1 Rubik,sans-serif!important;transition:background .2s,color .2s}
body#registration .mfr-btn-login .elementor-button:hover{background:#fff!important;color:#0E1B3D!important}
body#registration .mfr-btn-login .elementor-button-text,body#registration .mfr-btn-login .elementor-button-icon{color:inherit!important}

/* i vantaggi restano visibili mentre si compila il form (solo desktop) */
@media (min-width:1025px){body#registration .mfr-sec .mfr-aside>.elementor-column-wrap>.elementor-widget-wrap{position:sticky;top:150px}}

/* colonna destra: form */
body#registration .mfr-sec .mfr-main>.elementor-column-wrap,body#registration .mfr-sec .mfr-main>.elementor-widget-wrap{padding:44px 48px!important}

/* campi del widget register-form */
body#registration .ce-register-form .elementor-form-fields-wrapper{margin:0 -8px!important}
body#registration .ce-register-form .elementor-field-group{margin:0 0 16px!important;padding:0 8px!important}
body#registration .ce-register-form .elementor-field-group>.elementor-field-label{display:block;margin:0 0 7px;padding:0;font:600 14px/1.3 Manrope,sans-serif!important;color:#0E1B3D!important}
body#registration .ce-register-form .elementor-mark-required>.elementor-field-label::after{content:" *";color:#C4520F}
body#registration .ce-register-form .elementor-field-textual{height:50px!important;min-height:0;padding:0 16px!important;border:1.5px solid #DCE0E8!important;border-radius:12px!important;
  background:#fff!important;font:500 16px/1.2 Manrope,sans-serif!important;color:#1B2440!important;box-shadow:none!important;transition:border-color .2s,box-shadow .2s}
body#registration .ce-register-form .elementor-field-textual:hover{border-color:#B9C0CE!important}
body#registration .ce-register-form .elementor-field-textual:focus{border-color:#24B9D7!important;box-shadow:0 0 0 4px rgba(36,185,215,.15)!important;outline:0}
body#registration .ce-register-form .elementor-field-textual::placeholder{color:#A0A6B5}
/* password con occhio */
body#registration .ce-register-form .elementor-password-wrapper{position:relative}
body#registration .ce-register-form .elementor-password-wrapper .elementor-field{padding-right:52px!important}
body#registration .ce-register-form .elementor-password-wrapper .elementor-icon{position:absolute;top:5px;right:5px;display:grid;place-items:center;width:40px;height:40px;
  border-radius:9px;background:#F5F6F8;color:#0E1B3D!important;font-size:16px}
/* occhio password: una sola icona per volta (Mostra quando è nascosta, Nascondi quando è visibile) */
body#registration .ce-register-form .elementor-password-wrapper input[type="password"] ~ .elementor-icon:nth-of-type(2),
body#registration .ce-register-form .elementor-password-wrapper input[type="text"] ~ .elementor-icon:nth-of-type(1){display:none!important}
body#registration .ce-register-form .elementor-field-type-password::after{content:"Almeno 8 caratteri: meglio se con numeri e lettere maiuscole.";display:block;width:100%;
  margin-top:6px;font:500 13px/1.4 Manrope,sans-serif;color:#7A8194}
body#registration .ce-register-form .password-strength-feedback{width:100%;margin-top:8px;font:500 13px/1.4 Manrope,sans-serif}
body#registration .ce-register-form .password-strength-feedback .progress{height:6px;border-radius:999px;background:#EEF0F4}

/* titolo sociale: pillole */
body#registration .ce-register-form .elementor-field-type-radio-buttons .elementor-row{display:flex;flex-wrap:wrap;gap:10px;margin:0}
body#registration .ce-register-form .elementor-field-type-radio-buttons .elementor-field-option{display:inline-flex;align-items:center;gap:10px;height:46px;margin:0;
  padding:0 18px 0 14px;border:1.5px solid #DCE0E8;border-radius:999px;cursor:pointer;transition:border-color .2s,background .2s}
body#registration .ce-register-form .elementor-field-type-radio-buttons .elementor-field-option:has(input:checked){border-color:#F26B1D;background:#FFF5EE}
body#registration .ce-register-form .elementor-field-type-radio-buttons input{width:18px;height:18px;margin:0;accent-color:#F26B1D}
body#registration .ce-register-form .elementor-field-option .elementor-field-label{margin:0;font:600 15px/1.3 Manrope,sans-serif!important;color:#1B2440!important}

/* consensi */
body#registration .ce-register-form .elementor-field-type-checkbox{margin-bottom:10px!important}
body#registration .ce-register-form .elementor-field-type-checkbox:has([name="optin"]){margin-top:8px!important;padding-top:20px!important;border-top:1px solid #EEF0F4}
body#registration .ce-register-form .elementor-field-type-checkbox:has([name="optin"])::before{content:"Consensi";display:block;width:100%;margin:0 0 12px;
  font:700 13px/1.2 Rubik,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#1C8FA8}
body#registration .ce-register-form .elementor-field-type-checkbox{display:block;position:relative}
body#registration .ce-register-form .elementor-field-type-checkbox .elementor-field-option{display:flex;align-items:flex-start;gap:12px;margin:0;padding:14px 16px;
  border:1.5px solid #EEF0F4;border-radius:14px;background:#FAFBFC;cursor:pointer;transition:border-color .2s,background .2s}
body#registration .ce-register-form .elementor-field-type-checkbox:has(em) .elementor-field-option{padding-bottom:4px;border-bottom:0;border-radius:14px 14px 0 0}
body#registration .ce-register-form .elementor-field-type-checkbox em{display:block;margin:0;padding:0 16px 14px 50px;border:1.5px solid #EEF0F4;border-top:0;border-radius:0 0 14px 14px;
  background:#FAFBFC;font:500 13px/1.5 Manrope,sans-serif;font-style:normal;color:#5B6275}
body#registration .ce-register-form .elementor-field-type-checkbox:has(input:checked) .elementor-field-option,
body#registration .ce-register-form .elementor-field-type-checkbox:has(input:checked) em{border-color:#F9C8A8;background:#FFF8F3}
body#registration .ce-register-form .elementor-field-type-checkbox input{flex:0 0 22px;width:22px;height:22px;margin:0;accent-color:#F26B1D;cursor:pointer}
body#registration .ce-register-form .elementor-field-type-checkbox .elementor-field-label{font:600 15px/1.45 Manrope,sans-serif!important;color:#1B2440!important}
body#registration .ce-register-form .elementor-field-type-checkbox.elementor-mark-required .elementor-field-option .elementor-field-label::after{content:" *";color:#C4520F}

/* errori */
body#registration .ce-register-form .has-error .elementor-field-textual,
body#registration .ce-register-form .elementor-field-textual:user-invalid{border-color:#D92D20!important}
body#registration .ce-register-form .help-block,body#registration .ce-register-form .elementor-message-danger{width:100%;margin-top:6px;font:600 13px/1.4 Manrope,sans-serif;color:#B42318}
body#registration #notifications .alert-danger{border:0;border-radius:14px;background:#FEF3F2;color:#B42318;font:600 15px/1.4 Manrope,sans-serif;padding:14px 18px}

/* crea account */
body#registration .ce-register-form .elementor-field-type-submit{margin:14px 0 0!important}
body#registration .ce-register-form .elementor-field-type-submit .elementor-button{width:100%;height:56px;padding:0 24px!important;border:0!important;border-radius:14px!important;
  background:#F26B1D!important;color:#fff!important;font:700 17px/1 Rubik,sans-serif!important;box-shadow:0 10px 22px rgba(242,107,29,.28)!important;transition:background .2s}
body#registration .ce-register-form .elementor-field-type-submit .elementor-button:hover{background:#C4520F!important}
body#registration .ce-register-form .elementor-field-type-submit .elementor-button-text{color:#fff!important}
body#registration .ce-register-form .elementor-field-type-submit .elementor-button-text::after{content:" \2192"}

/* tablet */
@media (max-width:1024px){
  body#registration .mfr-sec .mfr-aside>.elementor-column-wrap,body#registration .mfr-sec .mfr-aside>.elementor-widget-wrap{padding:36px 30px!important}
  body#registration .mfr-sec .mfr-main>.elementor-column-wrap,body#registration .mfr-sec .mfr-main>.elementor-widget-wrap{padding:36px 32px!important}
}
/* mobile: prima il form, poi i vantaggi */
@media (max-width:767px){
  body#registration .mfr-sec{padding:16px 12px 32px}
  body#registration .mfr-sec>.elementor-container{border-radius:20px}
  body#registration .mfr-sec>.elementor-container>.elementor-row{flex-direction:column}
  body#registration .mfr-main{order:1}
  body#registration .mfr-aside{order:2}
  body#registration .mfr-sec .mfr-main>.elementor-column-wrap,body#registration .mfr-sec .mfr-main>.elementor-widget-wrap{padding:26px 18px!important}
  body#registration .mfr-sec .mfr-aside>.elementor-column-wrap,body#registration .mfr-sec .mfr-aside>.elementor-widget-wrap{padding:28px 20px!important}
  body#registration .mfr-logo{display:none}
  body#registration .ce-register-form .elementor-field-group{width:100%!important}
  body#registration .mfr-btn-login .elementor-button{width:100%;justify-content:center}
}




/* ===== Login Manferdini 2026 – CSS per custom.css del child theme =====
   Vale solo su body#authentication (pagina login) e per il template importato (classi mfr-*). */

/* sfondo pagina e sezione */
body#authentication #content{background:#F5F6F8}
body#authentication .mfr-sec{padding:48px 24px 64px}
body#authentication .mfr-sec>.elementor-container>.elementor-row,
body#authentication .mfr-sec>.elementor-container{align-items:stretch}
body#authentication .mfr-sec>.elementor-container{border-radius:24px;overflow:hidden;background:#fff;box-shadow:0 24px 60px rgba(14,27,61,.12)}
body#authentication .mfr-sec .elementor-column>.elementor-column-wrap,
body#authentication .mfr-sec .elementor-column>.elementor-widget-wrap{padding:0!important}
body#authentication .mfr-sec .elementor-widget:not(:last-child){margin-bottom:0}

/* colonna sinistra: navy */
body#authentication .mfr-aside{position:relative;background:linear-gradient(160deg,#0E1B3D 0%,#1B3168 100%)!important;overflow:hidden}
body#authentication .mfr-aside::after{content:"";position:absolute;right:-90px;bottom:-90px;width:260px;height:260px;border-radius:50%;
  border:40px solid rgba(242,107,29,.16);pointer-events:none}
body#authentication .mfr-sec .mfr-aside>.elementor-column-wrap,body#authentication .mfr-sec .mfr-aside>.elementor-widget-wrap{padding:44px 40px!important}
body#authentication .mfr-aside .elementor-widget-wrap{position:relative;z-index:1;align-content:flex-start}
/* logo su targa bianca (il bordo blu fa parte del logo) */
body#authentication .mfr-logo{margin-bottom:28px!important}
body#authentication .mfr-logo img{display:block;width:210px;max-width:100%;height:auto;padding:12px 16px;background:#fff;border-radius:12px;box-sizing:content-box}
body#authentication .mfr-benefits{margin-bottom:26px!important}
/* vantaggi: icona centrata nel quadrato e testo staccato */
body#authentication .mfr-benefits .elementor-icon-list-item{display:flex!important;align-items:center!important;gap:14px}
body#authentication .mfr-benefits .elementor-icon-list-icon{display:flex!important;align-items:center;justify-content:center;width:36px!important;height:36px;flex:0 0 36px;
  margin:0!important;padding:0!important;border-radius:10px;background:rgba(255,255,255,.1)}
body#authentication .mfr-benefits .elementor-icon-list-icon i{width:auto!important;margin:0!important;font-size:16px!important;line-height:1;color:#F26B1D!important}
body#authentication .mfr-benefits .elementor-icon-list-icon svg{width:16px!important;height:16px;margin:0!important;fill:#F26B1D!important}
body#authentication .mfr-benefits .elementor-icon-list-text{padding:0!important;margin:0!important;line-height:1.4}
body#authentication .mfr-divider{margin-bottom:18px!important}
body#authentication .mfr-btn-alt{margin-bottom:22px!important}
body#authentication .mfr-btn-alt .elementor-button{display:inline-flex;align-items:center;height:48px;padding:0 22px!important;border:1.5px solid rgba(255,255,255,.5)!important;
  border-radius:14px!important;background:transparent!important;color:#fff!important;font:700 15px/1 Rubik,sans-serif!important;transition:background .2s,color .2s}
body#authentication .mfr-btn-alt .elementor-button:hover{background:#fff!important;color:#0E1B3D!important}
body#authentication .mfr-btn-alt .elementor-button-text,body#authentication .mfr-btn-alt .elementor-button-icon{color:inherit!important}

/* i vantaggi restano visibili mentre si compila il form (solo desktop) */
@media (min-width:1025px){body#authentication .mfr-sec .mfr-aside>.elementor-column-wrap>.elementor-widget-wrap{position:sticky;top:150px}}

/* colonna destra: form */
body#authentication .mfr-sec .mfr-main>.elementor-column-wrap,body#authentication .mfr-sec .mfr-main>.elementor-widget-wrap{padding:44px 48px!important}

/* campi del widget register-form */
body#authentication .ce-login-form .elementor-form-fields-wrapper{margin:0 -8px!important}
body#authentication .ce-login-form .elementor-field-group{margin:0 0 16px!important;padding:0 8px!important}
body#authentication .ce-login-form .elementor-field-group>.elementor-field-label{display:block;margin:0 0 7px;padding:0;font:600 14px/1.3 Manrope,sans-serif!important;color:#0E1B3D!important}
body#authentication .ce-login-form .elementor-field-textual{height:50px!important;min-height:0;padding:0 16px!important;border:1.5px solid #DCE0E8!important;border-radius:12px!important;
  background:#fff!important;font:500 16px/1.2 Manrope,sans-serif!important;color:#1B2440!important;box-shadow:none!important;transition:border-color .2s,box-shadow .2s}
body#authentication .ce-login-form .elementor-field-textual:hover{border-color:#B9C0CE!important}
body#authentication .ce-login-form .elementor-field-textual:focus{border-color:#24B9D7!important;box-shadow:0 0 0 4px rgba(36,185,215,.15)!important;outline:0}
body#authentication .ce-login-form .elementor-field-textual::placeholder{color:#A0A6B5}
/* password con occhio */
body#authentication .ce-login-form .elementor-password-wrapper{position:relative}
body#authentication .ce-login-form .elementor-password-wrapper .elementor-field{padding-right:52px!important}
body#authentication .ce-login-form .elementor-password-wrapper .elementor-icon{position:absolute;top:5px;right:5px;display:grid;place-items:center;width:40px;height:40px;
  border-radius:9px;background:#F5F6F8;color:#0E1B3D!important;font-size:16px}
/* occhio password: una sola icona per volta (Mostra quando è nascosta, Nascondi quando è visibile) */
body#authentication .ce-login-form .elementor-password-wrapper input[type="password"] ~ .elementor-icon:nth-of-type(2),
body#authentication .ce-login-form .elementor-password-wrapper input[type="text"] ~ .elementor-icon:nth-of-type(1){display:none!important}

/* password dimenticata */
body#authentication .ce-login-form .elementor-field-type-link{margin:-4px 0 6px!important;padding:0 8px!important;text-align:right}
body#authentication .ce-login-form .elementor-lost-password{font:600 14px/1.4 Manrope,sans-serif;color:#C4520F!important;text-decoration:underline;text-underline-offset:3px}
body#authentication .ce-login-form .elementor-lost-password:hover{color:#0E1B3D!important}
/* il form di login è corto: lo centriamo in verticale nella scheda */
@media (min-width:1025px){body#authentication .mfr-sec .mfr-main>.elementor-column-wrap>.elementor-widget-wrap{align-content:center;max-width:460px;margin:0 auto}}

/* errori */
body#authentication .ce-login-form .has-error .elementor-field-textual,
body#authentication .ce-login-form .elementor-field-textual:user-invalid{border-color:#D92D20!important}
body#authentication .ce-login-form .help-block,body#authentication .ce-login-form .elementor-message-danger{width:100%;margin-top:6px;font:600 13px/1.4 Manrope,sans-serif;color:#B42318}
body#authentication #notifications .alert-danger{border:0;border-radius:14px;background:#FEF3F2;color:#B42318;font:600 15px/1.4 Manrope,sans-serif;padding:14px 18px}

/* crea account */
body#authentication .ce-login-form .elementor-field-type-submit{margin:14px 0 0!important}
body#authentication .ce-login-form .elementor-field-type-submit .elementor-button{width:100%;height:56px;padding:0 24px!important;border:0!important;border-radius:14px!important;
  background:#F26B1D!important;color:#fff!important;font:700 17px/1 Rubik,sans-serif!important;box-shadow:0 10px 22px rgba(242,107,29,.28)!important;transition:background .2s}
body#authentication .ce-login-form .elementor-field-type-submit .elementor-button:hover{background:#C4520F!important}
body#authentication .ce-login-form .elementor-field-type-submit .elementor-button-text{color:#fff!important}
body#authentication .ce-login-form .elementor-field-type-submit .elementor-button-text::after{content:" \2192"}

/* tablet */
@media (max-width:1024px){
  body#authentication .mfr-sec .mfr-aside>.elementor-column-wrap,body#authentication .mfr-sec .mfr-aside>.elementor-widget-wrap{padding:36px 30px!important}
  body#authentication .mfr-sec .mfr-main>.elementor-column-wrap,body#authentication .mfr-sec .mfr-main>.elementor-widget-wrap{padding:36px 32px!important}
}
/* mobile: prima il form, poi i vantaggi */
@media (max-width:767px){
  body#authentication .mfr-sec{padding:16px 12px 32px}
  body#authentication .mfr-sec>.elementor-container{border-radius:20px}
  body#authentication .mfr-sec>.elementor-container>.elementor-row{flex-direction:column}
  body#authentication .mfr-main{order:1}
  body#authentication .mfr-aside{order:2}
  body#authentication .mfr-sec .mfr-main>.elementor-column-wrap,body#authentication .mfr-sec .mfr-main>.elementor-widget-wrap{padding:26px 18px!important}
  body#authentication .mfr-sec .mfr-aside>.elementor-column-wrap,body#authentication .mfr-sec .mfr-aside>.elementor-widget-wrap{padding:28px 20px!important}
  body#authentication .mfr-logo{display:none}
  body#authentication .ce-login-form .elementor-field-group{width:100%!important}
  body#authentication .mfr-btn-alt .elementor-button{width:100%;justify-content:center}
}







/* ===== Pagina Contatti Manferdini 2026 (CMS 30) – CSS per custom.css del child theme =====
   Vale solo su body.cms-id-30. Il modulo preventivo (Brevo) mantiene il suo codice: qui viene solo ricolorato
   con la palette Manferdini (il suo <style> originale è verde/paglia). */

/* sezioni a tutta larghezza senza "Stretch section" (niente salto al caricamento) */
body.cms-id-30 #content .elementor-section.mfc-full{width:100vw!important;max-width:100vw;margin-left:calc(50% - 50vw)!important;left:auto!important}
body.cms-id-30 #wrapper .breadcrumb{display:none}
body.cms-id-30 #main .page-header{display:none}
body.cms-id-30 .mfc-full .elementor-widget:not(:last-child){margin-bottom:0}

/* ---------- 1. hero ---------- */
body.cms-id-30 .mfc-hero{position:relative;overflow:hidden;padding:72px 0 76px;background:linear-gradient(150deg,#0E1B3D 0%,#1B3168 100%)}
body.cms-id-30 .mfc-hero::after{content:"";position:absolute;right:-140px;top:-140px;width:420px;height:420px;border-radius:50%;border:60px solid rgba(242,107,29,.12);pointer-events:none}
body.cms-id-30 .mfc-hero>.elementor-container{position:relative;z-index:1}
body.cms-id-30 .mfc-hero .elementor-row,body.cms-id-30 .mfc-hero>.elementor-container{align-items:center}
body.cms-id-30 .mfc-hero-l .elementor-widget-wrap{gap:0 12px}
body.cms-id-30 .mfc-h1 .elementor-heading-title{max-width:620px}
body.cms-id-30 .mfc-lead{max-width:560px}
body.cms-id-30 .mfc-btn{width:auto!important;margin:0 0 10px!important}
body.cms-id-30 .mfc-btn .elementor-button{display:inline-flex;align-items:center;height:52px;padding:0 22px!important;border-radius:14px!important;
  font:700 16px/1 Rubik,sans-serif!important;text-decoration:none!important;transition:background .2s,color .2s,border-color .2s}
body.cms-id-30 .mfc-btn .elementor-button-text,body.cms-id-30 .mfc-btn .elementor-button-icon{color:inherit!important}
body.cms-id-30 .mfc-btn--orange .elementor-button{background:#F26B1D!important;color:#fff!important;border:0!important;box-shadow:0 10px 22px rgba(242,107,29,.3)}
body.cms-id-30 .mfc-btn--orange .elementor-button:hover{background:#C4520F!important}
body.cms-id-30 .mfc-btn--wa .elementor-button{background:#128C4A!important;color:#fff!important;border:0!important}
body.cms-id-30 .mfc-btn--wa .elementor-button:hover{background:#0E7A40!important}
body.cms-id-30 .mfc-btn--ghost .elementor-button{background:transparent!important;color:#fff!important;border:1.5px solid rgba(255,255,255,.45)!important}
body.cms-id-30 .mfc-btn--ghost .elementor-button:hover{background:#fff!important;color:#0E1B3D!important}

/* scheda recapiti */
body.cms-id-30 .mfc-info{padding:28px;border-radius:20px;background:#fff;box-shadow:0 24px 50px rgba(0,0,0,.25);font-family:Manrope,sans-serif;color:#1B2440}
body.cms-id-30 .mfc-info__label{margin:0 0 4px;font:700 12px/1.2 Rubik,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#1C8FA8}
body.cms-id-30 .mfc-info__big{display:inline-block;margin-bottom:16px;font:800 34px/1.1 Rubik,sans-serif;color:#0E1B3D!important;text-decoration:none!important}
body.cms-id-30 .mfc-info__big:hover{color:#C4520F!important}
body.cms-id-30 .mfc-info__list{margin:0 0 18px;padding:0;list-style:none;border-top:1px solid #EEF0F4}
body.cms-id-30 .mfc-info__list li{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid #EEF0F4;font-size:15px}
body.cms-id-30 .mfc-info__list span{color:#5B6275}
body.cms-id-30 .mfc-info__list a,body.cms-id-30 .mfc-info__list b{font:700 15px/1.3 Rubik,sans-serif;color:#0E1B3D!important;text-decoration:none!important;white-space:nowrap}
body.cms-id-30 .mfc-info__list a:hover{color:#C4520F!important}
body.cms-id-30 .mfc-info__addr{display:flex;gap:12px;align-items:flex-start;margin-bottom:16px}
body.cms-id-30 .mfc-info__addr p{margin:0;font:500 15px/1.55 Manrope,sans-serif}
body.cms-id-30 .mfc-info__pin{flex:0 0 40px;width:40px;height:40px;border-radius:12px;
  background:#FFF3EB url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C4520F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12S4 16 4 10a8 8 0 0 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center/20px no-repeat}
body.cms-id-30 .mfc-info__map{display:flex;align-items:center;justify-content:center;height:46px;border-radius:12px;border:1.5px solid #0E1B3D;
  font:700 15px/1 Rubik,sans-serif;color:#0E1B3D!important;text-decoration:none!important;transition:background .2s,color .2s}
body.cms-id-30 .mfc-info__map:hover{background:#0E1B3D;color:#fff!important}

/* ---------- 2. reparti ---------- */
body.cms-id-30 .mfc-reparti{padding:72px 0;background:#F5F6F8}
body.cms-id-30 .mfc-deps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
body.cms-id-30 .mfc-dep{display:flex;flex-direction:column;gap:6px;padding:22px 20px;border:1px solid #E4E7EE;border-radius:18px;background:#fff;
  box-shadow:0 6px 18px rgba(14,27,61,.05);text-decoration:none!important;color:#1B2440;transition:transform .2s,box-shadow .2s,border-color .2s}
body.cms-id-30 .mfc-dep:hover{transform:translateY(-3px);border-color:#F26B1D;box-shadow:0 16px 32px rgba(14,27,61,.12)}
body.cms-id-30 .mfc-dep strong{margin-top:8px;font:700 18px/1.2 Rubik,sans-serif;color:#0E1B3D}
body.cms-id-30 .mfc-dep__txt{flex:1;font:500 14px/1.5 Manrope,sans-serif;color:#5B6275}
body.cms-id-30 .mfc-dep__mail{margin-top:10px;padding-top:12px;border-top:1px solid #EEF0F4;font:700 13px/1.3 Rubik,sans-serif;color:#C4520F;overflow-wrap:anywhere}
body.cms-id-30 .mfc-dep__ic{width:46px;height:46px;border-radius:13px;background-color:#0E1B3D;background-position:center;background-size:22px;background-repeat:no-repeat}
body.cms-id-30 .mfc-dep:hover .mfc-dep__ic{background-color:#F26B1D}
body.cms-id-30 .mfc-dep--tractor .mfc-dep__ic{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7' cy='17' r='3'/%3E%3Ccircle cx='18' cy='18' r='2'/%3E%3Cpath d='M4 14V7h7l2 6h6v5M11 7v6'/%3E%3C/svg%3E")}
body.cms-id-30 .mfc-dep--gear .mfc-dep__ic{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 2v3M12 19v3M4.2 4.2l2.1 2.1M17.7 17.7l2.1 2.1M2 12h3M19 12h3M4.2 19.8l2.1-2.1M17.7 6.3l2.1-2.1'/%3E%3C/svg%3E")}
body.cms-id-30 .mfc-dep--wrench .mfc-dep__ic{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.8-3.8a6 6 0 0 1-7.9 7.9l-6.9 6.9a2.1 2.1 0 0 1-3-3l6.9-6.9a6 6 0 0 1 7.9-7.9z'/%3E%3C/svg%3E")}
body.cms-id-30 .mfc-dep--doc .mfc-dep__ic{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M8 13h8M8 17h5'/%3E%3C/svg%3E")}
body.cms-id-30 .mfc-dep--user .mfc-dep__ic{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E")}

/* ---------- 3. modulo + mappa ---------- */
body.cms-id-30 .mfc-modulo{padding:72px 0 80px;background:#fff;scroll-margin-top:140px}
body.cms-id-30 .mfc-map-col .elementor-widget-wrap{position:sticky;top:150px}
body.cms-id-30 .mfc-map{overflow:hidden;border-radius:20px;border:1px solid #E4E7EE;margin-bottom:14px!important}
body.cms-id-30 .mfc-map iframe{display:block;filter:saturate(.85)}
body.cms-id-30 .mfc-where{padding:22px;border-radius:18px;background:#F5F6F8}
body.cms-id-30 .mfc-where__t{margin:0 0 6px;font:700 12px/1.2 Rubik,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#1C8FA8}
body.cms-id-30 .mfc-where__a{margin:0 0 14px;font:600 17px/1.5 Manrope,sans-serif;color:#0E1B3D}
body.cms-id-30 .mfc-where__btn{display:inline-flex;align-items:center;height:46px;padding:0 18px;border-radius:12px;background:#0E1B3D;
  font:700 15px/1 Rubik,sans-serif;color:#fff!important;text-decoration:none!important}
body.cms-id-30 .mfc-where__btn:hover{background:#F26B1D}

/* modulo Brevo ricolorato (stesse classi del codice originale) */
body.cms-id-30 .mfc-form .mf-req{--mf-verde:#0E1B3D;--mf-verde-2:#F26B1D;--mf-paglia:#F26B1D;--mf-ink:#1B2440;--mf-muted:#5B6275;--mf-line:#DCE0E8;--mf-bg:#fff;
  border:1px solid #E4E7EE;border-radius:20px;box-shadow:0 10px 30px rgba(14,27,61,.08);font-family:Manrope,sans-serif;gap:16px}
body.cms-id-30 .mfc-form .mf-req input[type="text"],body.cms-id-30 .mfc-form .mf-req input[type="email"],body.cms-id-30 .mfc-form .mf-req input[type="tel"],
body.cms-id-30 .mfc-form .mf-req input[type="date"],body.cms-id-30 .mfc-form .mf-req textarea{min-height:50px;border:1.5px solid #DCE0E8;border-radius:12px;font-size:16px}
body.cms-id-30 .mfc-form .mf-req input:focus,body.cms-id-30 .mfc-form .mf-req textarea:focus{border-color:#24B9D7;box-shadow:0 0 0 4px rgba(36,185,215,.15)}
body.cms-id-30 .mfc-form .mf-req .mf-fld,body.cms-id-30 .mfc-form .mf-req legend{font-size:14px;color:#0E1B3D}
body.cms-id-30 .mfc-form .mf-req .mf-panel>h3{font:700 20px/1.25 Rubik,sans-serif;color:#0E1B3D}
body.cms-id-30 .mfc-form .mf-req .mf-opt{border:1.5px solid #E4E7EE;border-radius:12px;padding:12px 14px;font-size:15px}
body.cms-id-30 .mfc-form .mf-req .mf-opt:has(input:checked){border-color:#F26B1D;background:#FFF5EE;color:#0E1B3D}
body.cms-id-30 .mfc-form .mf-req .mf-opt input,body.cms-id-30 .mfc-form .mf-req .mf-chk input{accent-color:#F26B1D}
body.cms-id-30 .mfc-form .mf-req .mf-opt:has(input:focus-visible),body.cms-id-30 .mfc-form .mf-req .mf-step{box-shadow:none}
body.cms-id-30 .mfc-form .mf-req .mf-step{border:1.5px solid #E4E7EE;border-radius:12px;padding:10px 12px;font-size:14px}
body.cms-id-30 .mfc-form .mf-req .mf-step[aria-current="step"]{border-color:#0E1B3D;background:#0E1B3D;color:#fff}
body.cms-id-30 .mfc-form .mf-req .mf-step[aria-current="step"] b{background:#F26B1D;color:#fff}
body.cms-id-30 .mfc-form .mf-req .mf-step[data-done="1"] b{background:#128C4A;color:#fff}
body.cms-id-30 .mfc-form .mf-req .mf-btn{min-height:52px;padding:0 26px;border-radius:14px;background:#F26B1D;color:#fff;font:700 16px/1 Rubik,sans-serif;
  box-shadow:0 10px 22px rgba(242,107,29,.28)}
body.cms-id-30 .mfc-form .mf-req .mf-btn:hover{filter:none;background:#C4520F}
body.cms-id-30 .mfc-form .mf-req .mf-back{min-height:52px;border:1.5px solid #E4E7EE;border-radius:14px;font:700 15px/1 Rubik,sans-serif;color:#0E1B3D}
body.cms-id-30 .mfc-form .mf-req .mf-back:hover{border-color:#0E1B3D}
body.cms-id-30 .mfc-form .mf-req .mf-recap{border:0;border-radius:14px;background:#F5F6F8}
body.cms-id-30 .mfc-form .mf-req .mf-chk a{color:#C4520F}
body.cms-id-30 .mfc-form .mf-req .ae-brevo-msg:not(:empty){padding:14px 16px;border-radius:12px;background:#F5F6F8;font-weight:600}

/* ---------- tablet / mobile ---------- */
@media (max-width:1024px){
  body.cms-id-30 .mfc-hero{padding:56px 0}
  body.cms-id-30 .mfc-deps{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.cms-id-30 .mfc-map-col .elementor-widget-wrap{position:static}
}
@media (max-width:767px){
  body.cms-id-30 .mfc-hero{padding:40px 0 44px}
  body.cms-id-30 .mfc-hero-r{margin-top:22px}
  body.cms-id-30 .mfc-btn{width:100%!important}
  body.cms-id-30 .mfc-btn .elementor-button{width:100%;justify-content:center}
  body.cms-id-30 .mfc-info{padding:22px}
  body.cms-id-30 .mfc-info__big{font-size:30px}
  body.cms-id-30 .mfc-reparti,body.cms-id-30 .mfc-modulo{padding:48px 0}
  body.cms-id-30 .mfc-deps{grid-template-columns:minmax(0,1fr);gap:10px}
  body.cms-id-30 .mfc-dep{display:grid;grid-template-columns:46px minmax(0,1fr);column-gap:14px;padding:16px}
  body.cms-id-30 .mfc-dep__ic{grid-row:1 / 4}
  body.cms-id-30 .mfc-dep strong{margin-top:0}
  body.cms-id-30 .mfc-dep__mail{margin-top:6px;padding-top:8px}
  body.cms-id-30 .mfc-map-col{margin-top:28px}
}






/* ===== Pagina "Servizi e consulenza" Manferdini 2026 (CMS 21) – CSS per custom.css del child theme =====
   Vale solo su body.cms-id-21. Il form "Richiedi informazioni" (Brevo) mantiene il suo codice: qui viene solo ricolorato. */

body.cms-id-21 #content .elementor-section.mfs-full{width:100vw!important;max-width:100vw;margin-left:calc(50% - 50vw)!important;left:auto!important}
body.cms-id-21 #wrapper .breadcrumb,body.cms-id-21 #main .page-header{display:none}
body.cms-id-21 .mfs-full .elementor-widget:not(:last-child){margin-bottom:0}
body.cms-id-21 .mfs-full{scroll-margin-top:140px}

/* ---------- pulsanti ---------- */
body.cms-id-21 .mfs-btn{width:auto!important;margin:0 12px 10px 0!important}
body.cms-id-21 .mfs-btn .elementor-button{display:inline-flex;align-items:center;height:52px;padding:0 22px!important;border-radius:14px!important;
  font:700 16px/1 Rubik,sans-serif!important;text-decoration:none!important;transition:background .2s,color .2s,border-color .2s}
body.cms-id-21 .mfs-btn .elementor-button-text,body.cms-id-21 .mfs-btn .elementor-button-icon{color:inherit!important}
body.cms-id-21 .mfs-btn--orange .elementor-button{background:#F26B1D!important;color:#fff!important;border:0!important;box-shadow:0 10px 22px rgba(242,107,29,.3)}
body.cms-id-21 .mfs-btn--orange .elementor-button:hover{background:#C4520F!important}
body.cms-id-21 .mfs-btn--ghost .elementor-button{background:transparent!important;color:#fff!important;border:1.5px solid rgba(255,255,255,.45)!important}
body.cms-id-21 .mfs-btn--ghost .elementor-button:hover{background:#fff!important;color:#0E1B3D!important}
body.cms-id-21 .mfs-btn--white .elementor-button{background:#fff!important;color:#0E1B3D!important;border:0!important}
body.cms-id-21 .mfs-btn--white .elementor-button:hover{background:#0E1B3D!important;color:#fff!important}
body.cms-id-21 .mfs-btn--wa .elementor-button{background:#128C4A!important;color:#fff!important;border:0!important}
body.cms-id-21 .mfs-btn--wa .elementor-button:hover{background:#0E7A40!important}

/* ---------- 1. hero ---------- */
body.cms-id-21 .mfs-hero{position:relative;overflow:hidden;padding:76px 0 80px;background:linear-gradient(150deg,#0E1B3D 0%,#1B3168 100%)}
body.cms-id-21 .mfs-hero::after{content:"";position:absolute;left:-160px;bottom:-200px;width:460px;height:460px;border-radius:50%;border:64px solid rgba(36,185,215,.10);pointer-events:none}
body.cms-id-21 .mfs-hero>.elementor-container{position:relative;z-index:1}
body.cms-id-21 .mfs-hero .elementor-row,body.cms-id-21 .mfs-hero>.elementor-container{align-items:center}
body.cms-id-21 .mfs-h1 .elementor-heading-title{max-width:640px}
body.cms-id-21 .mfs-lead{max-width:580px}
body.cms-id-21 .mfs-how{padding:28px;border-radius:20px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14);backdrop-filter:blur(4px)}
body.cms-id-21 .mfs-how__t{margin:0 0 16px;font:700 12px/1.2 Rubik,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#24B9D7}
body.cms-id-21 .mfs-how ol{display:grid;gap:16px;margin:0;padding:0;list-style:none}
body.cms-id-21 .mfs-how li{display:flex;gap:14px;align-items:flex-start}
body.cms-id-21 .mfs-how li b{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:12px;background:#F26B1D;font:700 16px/1 Rubik,sans-serif;color:#fff}
body.cms-id-21 .mfs-how li strong{display:block;font:700 17px/1.3 Rubik,sans-serif;color:#fff}
body.cms-id-21 .mfs-how li span{display:block;margin-top:3px;font:500 14px/1.5 Manrope,sans-serif;color:#C9D1E4}

/* ---------- 2. servizi ---------- */
body.cms-id-21 .mfs-servizi{padding:72px 0;background:#F5F6F8}
body.cms-id-21 .mfs-serv-w{width:100%}
body.cms-id-21 .mfs-chips{position:sticky;top:132px;z-index:5;display:flex;flex-wrap:wrap;gap:8px;margin:0 0 26px;padding:10px 0;background:#F5F6F8;box-shadow:0 10px 12px -10px rgba(14,27,61,.12)}
body.cms-id-21 .mfs-chip{display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 8px 0 16px;border:1.5px solid #E4E7EE;border-radius:999px;background:#fff;
  font:700 14px/1 Rubik,sans-serif;color:#0E1B3D!important;text-decoration:none!important;box-shadow:0 4px 12px rgba(14,27,61,.06);transition:border-color .2s}
body.cms-id-21 .mfs-chip:hover{border-color:#F26B1D}
body.cms-id-21 .mfs-chip span{display:grid;place-items:center;min-width:26px;height:26px;border-radius:999px;background:#F5F6F8;font-size:12px;color:#5B6275}
body.cms-id-21 .mfs-group{scroll-margin-top:200px}
body.cms-id-21 .mfs-group+.mfs-group{margin-top:40px}
body.cms-id-21 .mfs-group__t{display:flex;align-items:center;gap:14px;margin:0 0 16px;font:700 20px/1.2 Rubik,sans-serif;color:#0E1B3D}
body.cms-id-21 .mfs-group__t::after{content:"";flex:1;height:1px;background:#DCE0E8}
body.cms-id-21 .mfs-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:18px}
body.cms-id-21 .mfs-card{position:relative;display:flex;flex-direction:column;padding:22px;border:1px solid #E4E7EE;border-radius:20px;background:#fff;
  box-shadow:0 6px 18px rgba(14,27,61,.05);transition:transform .2s,box-shadow .2s,border-color .2s}
body.cms-id-21 .mfs-card:hover{transform:translateY(-3px);border-color:#F26B1D;box-shadow:0 18px 36px rgba(14,27,61,.12)}
body.cms-id-21 .mfs-card__img{width:76px;height:76px;margin-bottom:16px;border-radius:18px;background:#F5F6F8;overflow:hidden}
body.cms-id-21 .mfs-card__img img{display:block;width:100%;height:100%;object-fit:contain}
body.cms-id-21 .mfs-card__t{margin:0 0 8px;font:700 19px/1.25 Rubik,sans-serif;color:#0E1B3D}
body.cms-id-21 .mfs-card__d{flex:1;margin:0 0 18px;font:500 15px/1.55 Manrope,sans-serif;color:#5B6275}
/* il link copre tutta la scheda: si clicca ovunque */
body.cms-id-21 .mfs-card__cta{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:14px;border-top:1px solid #EEF0F4;
  font:700 15px/1.2 Rubik,sans-serif;color:#C4520F!important;text-decoration:none!important}
body.cms-id-21 .mfs-card__cta::after{content:"";position:absolute;inset:0;border-radius:20px}
body.cms-id-21 .mfs-card__cta span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#FFF0E6;transition:background .2s,color .2s}
body.cms-id-21 .mfs-card:hover .mfs-card__cta span{background:#F26B1D;color:#fff}

/* ---------- 3. fascia aiuto ---------- */
body.cms-id-21 .mfs-band{padding:40px 0;background:linear-gradient(120deg,#F26B1D 0%,#E2560B 100%)}
body.cms-id-21 .mfs-band .elementor-row,body.cms-id-21 .mfs-band>.elementor-container{align-items:center}
body.cms-id-21 .mfs-band-r .elementor-widget-wrap{justify-content:flex-end}
body.cms-id-21 .mfs-band .mfs-btn{margin:5px 0 5px 12px!important}

/* ---------- 4. richiesta ---------- */
body.cms-id-21 .mfs-richiesta{padding:76px 0 84px;background:#fff}
body.cms-id-21 .mfs-form-l .elementor-widget-wrap{position:sticky;top:150px}
body.cms-id-21 .mfs-after{display:grid;gap:14px;margin:0;padding:0;list-style:none}
body.cms-id-21 .mfs-after li{position:relative;padding:0 0 0 40px}
body.cms-id-21 .mfs-after li::before{content:"";position:absolute;left:0;top:1px;width:26px;height:26px;border-radius:8px;
  background:#E3F6FA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C8FA8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/15px no-repeat}
body.cms-id-21 .mfs-after strong{display:block;font:700 16px/1.35 Rubik,sans-serif;color:#0E1B3D}
body.cms-id-21 .mfs-after span{display:block;margin-top:2px;font:500 14px/1.5 Manrope,sans-serif;color:#5B6275}
body.cms-id-21 .mfs-after a{font-weight:700;color:#C4520F!important}

/* form Brevo ricolorato (stesse classi del codice originale) */
body.cms-id-21 .mfs-form .mf-req{--mf-verde:#0E1B3D;--mf-verde-2:#F26B1D;--mf-paglia:#F26B1D;--mf-ink:#1B2440;--mf-muted:#5B6275;--mf-line:#DCE0E8;--mf-bg:#fff;
  border:1px solid #E4E7EE;border-radius:20px;box-shadow:0 10px 30px rgba(14,27,61,.08);font-family:Manrope,sans-serif;gap:16px;scroll-margin-top:150px}
body.cms-id-21 .mfs-form .mf-req input[type="text"],body.cms-id-21 .mfs-form .mf-req input[type="email"],body.cms-id-21 .mfs-form .mf-req input[type="tel"]{
  min-height:50px;border:1.5px solid #DCE0E8;border-radius:12px;font-size:16px}
body.cms-id-21 .mfs-form .mf-req input:focus{border-color:#24B9D7;box-shadow:0 0 0 4px rgba(36,185,215,.15)}
body.cms-id-21 .mfs-form .mf-req .mf-fld,body.cms-id-21 .mfs-form .mf-req legend{font-size:14px;color:#0E1B3D}
body.cms-id-21 .mfs-form .mf-req .mf-srv-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}
body.cms-id-21 .mfs-form .mf-req .mf-opt{border:1.5px solid #E4E7EE;border-radius:12px;padding:12px 14px;font-size:14.5px}
body.cms-id-21 .mfs-form .mf-req .mf-opt:has(input:checked){border-color:#F26B1D;background:#FFF5EE;color:#0E1B3D}
body.cms-id-21 .mfs-form .mf-req .mf-opt input,body.cms-id-21 .mfs-form .mf-req .mf-chk input{accent-color:#F26B1D}
body.cms-id-21 .mfs-form .mf-req .mf-opt:has(input:focus-visible){box-shadow:0 0 0 4px rgba(36,185,215,.2)}
body.cms-id-21 .mfs-form .mf-req .mf-btn{min-height:52px;padding:0 28px;border-radius:14px;background:#F26B1D;color:#fff;font:700 16px/1 Rubik,sans-serif;box-shadow:0 10px 22px rgba(242,107,29,.28)}
body.cms-id-21 .mfs-form .mf-req .mf-btn:hover{filter:none;background:#C4520F}
body.cms-id-21 .mfs-form .mf-req .mf-chk a{color:#C4520F}
body.cms-id-21 .mfs-form .mf-req .ae-brevo-msg:not(:empty){padding:14px 16px;border-radius:12px;background:#F5F6F8;font-weight:600}

/* ---------- tablet / mobile ---------- */
@media (max-width:1024px){
  body.cms-id-21 .mfs-hero{padding:56px 0}
  body.cms-id-21 .mfs-form-l .elementor-widget-wrap{position:static}
  body.cms-id-21 .mfs-chips{top:64px}
}
@media (max-width:767px){
  body.cms-id-21 .mfs-hero{padding:40px 0 44px}
  body.cms-id-21 .mfs-hero-r{margin-top:22px}
  body.cms-id-21 .mfs-btn{width:100%!important;margin:0 0 10px!important}
  body.cms-id-21 .mfs-btn .elementor-button{width:100%;justify-content:center}
  body.cms-id-21 .mfs-servizi,body.cms-id-21 .mfs-richiesta{padding:48px 0}
  body.cms-id-21 .mfs-chips{flex-wrap:nowrap;overflow-x:auto;margin-left:-16px;margin-right:-16px;padding:8px 16px;scrollbar-width:none}
  body.cms-id-21 .mfs-chips::-webkit-scrollbar{display:none}
  body.cms-id-21 .mfs-chip{flex:0 0 auto}
  body.cms-id-21 .mfs-grid{grid-template-columns:minmax(0,1fr);gap:12px}
  body.cms-id-21 .mfs-card{display:grid;grid-template-columns:60px minmax(0,1fr);column-gap:14px;padding:16px}
  body.cms-id-21 .mfs-card__img{grid-row:1 / 4;width:60px;height:60px;margin:0;border-radius:14px}
  body.cms-id-21 .mfs-card__cta{grid-column:1 / -1;margin-top:4px}
  body.cms-id-21 .mfs-card__d{margin-bottom:10px;font-size:14px}
  body.cms-id-21 .mfs-band{padding:32px 0}
  body.cms-id-21 .mfs-band .mfs-btn{margin:0 0 10px!important}
  body.cms-id-21 .mfs-band-l{margin-bottom:16px}
  body.cms-id-21 .mfs-richiesta .elementor-column{width:100%!important}
}






/* ===== Pagina "Chi siamo" Manferdini 2026 (CMS 4) – CSS per custom.css del child theme =====
   Vale solo su body.cms-id-4. Le foto arrivano dal vecchio sito: vedi istruzioni per spostarle su /img/cms/. */

body.cms-id-4 #content .elementor-section.mfa-full{width:100vw!important;max-width:100vw;margin-left:calc(50% - 50vw)!important;left:auto!important}
body.cms-id-4 #wrapper .breadcrumb,body.cms-id-4 #main .page-header{display:none}
body.cms-id-4 .mfa-full .elementor-widget:not(:last-child){margin-bottom:0}
body.cms-id-4 .mfa-full{scroll-margin-top:140px}

/* pulsanti */
body.cms-id-4 .mfa-btn{width:auto!important;margin:0 12px 10px 0!important}
body.cms-id-4 .mfa-btn .elementor-button{display:inline-flex;align-items:center;height:52px;padding:0 22px!important;border-radius:14px!important;
  font:700 16px/1 Rubik,sans-serif!important;text-decoration:none!important;transition:background .2s,color .2s}
body.cms-id-4 .mfa-btn .elementor-button-text,body.cms-id-4 .mfa-btn .elementor-button-icon{color:inherit!important}
body.cms-id-4 .mfa-btn--orange .elementor-button{background:#F26B1D!important;color:#fff!important;border:0!important;box-shadow:0 10px 22px rgba(242,107,29,.3)}
body.cms-id-4 .mfa-btn--orange .elementor-button:hover{background:#C4520F!important}
body.cms-id-4 .mfa-btn--ghost .elementor-button{background:rgba(255,255,255,.08)!important;color:#fff!important;border:1.5px solid rgba(255,255,255,.5)!important}
body.cms-id-4 .mfa-btn--ghost .elementor-button:hover{background:#fff!important;color:#0E1B3D!important}

/* ---------- 1. hero ---------- */
body.cms-id-4 .mfa-hero{position:relative;padding:120px 0 110px;background:#0E1B3D url("https://www.manferdinitrattori.it/files/foto/46_1big.jpg") center 35%/cover no-repeat}
body.cms-id-4 .mfa-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(14,27,61,.94) 0%,rgba(14,27,61,.82) 45%,rgba(14,27,61,.45) 100%)}
body.cms-id-4 .mfa-hero>.elementor-container{position:relative;z-index:1}
/* titolo e testo occupano la riga intera (così i pulsanti vanno sotto), ma il testo resta stretto e leggibile */
body.cms-id-4 .mfa-h1,body.cms-id-4 .mfa-lead{width:100%!important}
body.cms-id-4 .mfa-h1 .elementor-heading-title{max-width:720px}
body.cms-id-4 .mfa-lead .elementor-widget-container{max-width:640px}

/* ---------- 2. numeri ---------- */
body.cms-id-4 .mfa-numbers{position:relative;z-index:2;margin-top:-56px!important;padding:0 0 24px}
body.cms-id-4 .mfa-nums{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-radius:20px;background:#fff;box-shadow:0 24px 50px rgba(14,27,61,.14);overflow:hidden}
body.cms-id-4 .mfa-num{padding:24px 22px;border-right:1px solid #EEF0F4}
body.cms-id-4 .mfa-num:last-child{border-right:0;background:#FFF5EE}
body.cms-id-4 .mfa-num strong{display:block;font:800 30px/1.05 Rubik,sans-serif;color:#0E1B3D;letter-spacing:-.01em}
body.cms-id-4 .mfa-num:last-child strong{color:#C4520F;font-size:24px;line-height:1.25}
body.cms-id-4 .mfa-num span{display:block;margin-top:6px;font:500 14px/1.45 Manrope,sans-serif;color:#5B6275}

/* ---------- 3. storia (timeline) ---------- */
body.cms-id-4 .mfa-storia{padding:72px 0 80px;background:#fff}
body.cms-id-4 .mfa-story-l .elementor-widget-wrap{position:sticky;top:150px}
body.cms-id-4 .mfa-story-img img{width:100%;height:auto;border-radius:18px;margin-top:6px}
body.cms-id-4 .mfa-tl{position:relative;margin:0;padding:0 0 0 0;list-style:none}
body.cms-id-4 .mfa-tl::before{content:"";position:absolute;left:47px;top:10px;bottom:10px;width:2px;background:linear-gradient(#F26B1D,#24B9D7)}
body.cms-id-4 .mfa-tl__item{position:relative;display:grid;grid-template-columns:96px minmax(0,1fr);gap:22px;padding:0 0 26px}
body.cms-id-4 .mfa-tl__item:last-child{padding-bottom:0}
body.cms-id-4 .mfa-tl__year{position:relative;z-index:1;display:grid;place-items:center;align-self:start;height:40px;border-radius:999px;background:#0E1B3D;
  font:800 16px/1 Rubik,sans-serif;color:#fff;box-shadow:0 0 0 6px #fff}
body.cms-id-4 .mfa-tl__item:first-child .mfa-tl__year,body.cms-id-4 .mfa-tl__item:last-child .mfa-tl__year{background:#F26B1D}
body.cms-id-4 .mfa-tl__body{padding:16px 20px;border:1px solid #E4E7EE;border-radius:16px;background:#fff;box-shadow:0 6px 18px rgba(14,27,61,.05)}
body.cms-id-4 .mfa-tl__body h3{margin:0 0 4px;font:700 18px/1.3 Rubik,sans-serif;color:#0E1B3D}
body.cms-id-4 .mfa-tl__body p{margin:0;font:500 15px/1.6 Manrope,sans-serif;color:#5B6275}

/* ---------- 4. persone ---------- */
body.cms-id-4 .mfa-persone{padding:72px 0 80px;background:#F5F6F8}
body.cms-id-4 .mfa-people{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:24px}
body.cms-id-4 .mfa-person{position:relative;margin:0;border-radius:20px;overflow:hidden;background:#0E1B3D;box-shadow:0 10px 26px rgba(14,27,61,.12)}
body.cms-id-4 .mfa-person img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;object-position:center 25%;transition:transform .4s}
body.cms-id-4 .mfa-person:hover img{transform:scale(1.04)}
body.cms-id-4 .mfa-person figcaption{position:absolute;left:0;right:0;bottom:0;padding:48px 20px 18px;background:linear-gradient(transparent,rgba(14,27,61,.92))}
body.cms-id-4 .mfa-person strong{display:block;font:700 20px/1.2 Rubik,sans-serif;color:#fff}
body.cms-id-4 .mfa-person span{display:block;margin-top:3px;font:600 13px/1.3 Manrope,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#24B9D7}
body.cms-id-4 .mfa-team-img img{display:block;width:100%;max-height:520px;object-fit:cover;object-position:center 40%;border-radius:20px}

/* ---------- 5. sede ---------- */
body.cms-id-4 .mfa-sede{padding:80px 0;background:linear-gradient(150deg,#0E1B3D 0%,#1B3168 100%)}
body.cms-id-4 .mfa-sede .elementor-row{align-items:center}
body.cms-id-4 .mfa-feat{display:grid;gap:12px;margin:0;padding:0;list-style:none}
body.cms-id-4 .mfa-feat li{padding:14px 16px 14px 52px;border-radius:14px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);position:relative}
body.cms-id-4 .mfa-feat li::before{content:"";position:absolute;left:16px;top:16px;width:22px;height:22px;border-radius:7px;
  background:#F26B1D url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat}
body.cms-id-4 .mfa-feat strong{display:block;font:700 16px/1.35 Rubik,sans-serif;color:#fff}
body.cms-id-4 .mfa-feat span{display:block;margin-top:2px;font:500 14px/1.5 Manrope,sans-serif;color:#C9D1E4}
body.cms-id-4 .mfa-collage{display:grid;grid-template-columns:1.2fr 1fr;grid-template-rows:220px 220px;gap:14px}
body.cms-id-4 .mfa-collage img{display:block;width:100%;height:100%;object-fit:cover;border-radius:18px}
body.cms-id-4 .mfa-collage .a{grid-row:1 / 3}

/* ---------- 6. marchi e valori ---------- */
body.cms-id-4 .mfa-valori{padding:76px 0;background:#fff}
body.cms-id-4 .mfa-brands{display:grid;grid-template-columns:2fr 1fr;gap:18px;margin-bottom:28px}
body.cms-id-4 .mfa-brands__g{padding:22px 24px;border:1px solid #E4E7EE;border-radius:18px;background:#F5F6F8}
body.cms-id-4 .mfa-brands__g p{margin:0 0 12px;font:700 12px/1.2 Rubik,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#1C8FA8}
body.cms-id-4 .mfa-brands__g ul{display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0;list-style:none}
body.cms-id-4 .mfa-brands__g li{padding:12px 18px;border-radius:12px;background:#fff;border:1px solid #E4E7EE;font:800 17px/1 Rubik,sans-serif;letter-spacing:.04em;color:#0E1B3D}
body.cms-id-4 .mfa-values{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
body.cms-id-4 .mfa-value{padding:22px;border-radius:18px;border:1px solid #E4E7EE;background:#fff;box-shadow:0 6px 18px rgba(14,27,61,.05)}
body.cms-id-4 .mfa-value h3{margin:14px 0 6px;font:700 18px/1.25 Rubik,sans-serif;color:#0E1B3D}
body.cms-id-4 .mfa-value p{margin:0;font:500 14.5px/1.55 Manrope,sans-serif;color:#5B6275}
body.cms-id-4 .mfa-value__ic{display:block;width:46px;height:46px;border-radius:13px;background:#FFF0E6 center/22px no-repeat}
body.cms-id-4 .mfa-value--pro .mfa-value__ic{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C4520F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='6'/%3E%3Cpath d='M15.5 13.5 17 22l-5-3-5 3 1.5-8.5'/%3E%3C/svg%3E")}
body.cms-id-4 .mfa-value--time .mfa-value__ic{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C4520F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E")}
body.cms-id-4 .mfa-value--client .mfa-value__ic{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C4520F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.9M16 3.1a4 4 0 0 1 0 7.8'/%3E%3C/svg%3E")}
body.cms-id-4 .mfa-value--eco .mfa-value__ic{background-color:#E6F6EC;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23128C4A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.5 19 2c1 2 2 4.2 2 8 0 5.5-4.8 10-10 10z'/%3E%3Cpath d='M2 21c0-3 1.9-5.4 5.2-6'/%3E%3C/svg%3E")}

/* ---------- 7. social e video ---------- */
body.cms-id-4 .mfa-social-sec{padding:76px 0 80px;background:#F5F0E6}
body.cms-id-4 .mfa-social-w{width:100%}
body.cms-id-4 .mfa-social{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:20px;align-items:start}
body.cms-id-4 .mfa-yt{position:relative;border-radius:22px;overflow:hidden;background:#0E1B3D;box-shadow:0 20px 44px rgba(14,27,61,.18)}
body.cms-id-4 .mfa-yt__play,body.cms-id-4 .mfa-yt iframe{display:block;width:100%;aspect-ratio:16/9;border:0;padding:0;margin:0}
body.cms-id-4 .mfa-yt__play{position:relative;cursor:pointer;background:#0E1B3D}
body.cms-id-4 .mfa-yt__play img{display:block;width:100%;height:100%;object-fit:cover;opacity:.72;transition:opacity .3s,transform .4s}
body.cms-id-4 .mfa-yt__play:hover img{opacity:.6;transform:scale(1.03)}
body.cms-id-4 .mfa-yt__btn{position:absolute;left:50%;top:50%;width:84px;height:84px;margin:-42px 0 0 -42px;border-radius:50%;background:#F26B1D;
  box-shadow:0 0 0 12px rgba(242,107,29,.25);transition:transform .2s}
body.cms-id-4 .mfa-yt__btn::after{content:"";position:absolute;left:34px;top:27px;border-style:solid;border-width:15px 0 15px 24px;border-color:transparent transparent transparent #fff}
body.cms-id-4 .mfa-yt__play:hover .mfa-yt__btn{transform:scale(1.08)}
body.cms-id-4 .mfa-yt__label{position:absolute;left:24px;bottom:22px;padding:10px 16px;border-radius:999px;background:rgba(14,27,61,.85);font:700 15px/1 Rubik,sans-serif;color:#fff}
body.cms-id-4 .mfa-yt__note{margin:0;padding:10px 16px;background:#16264F;font:500 12px/1.4 Manrope,sans-serif;color:#97A1BA}
body.cms-id-4 .mfa-yt.is-playing .mfa-yt__note{display:none}
body.cms-id-4 .mfa-soc{display:grid;gap:12px}
body.cms-id-4 .mfa-soc__card{display:flex;align-items:center;gap:14px;padding:18px;border-radius:18px;background:#fff;border:1px solid #E6DFD0;text-decoration:none!important;
  box-shadow:0 6px 18px rgba(14,27,61,.06);transition:transform .2s,box-shadow .2s}
body.cms-id-4 .mfa-soc__card:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(14,27,61,.12)}
body.cms-id-4 .mfa-soc__card>span:nth-child(2){flex:1;min-width:0}
body.cms-id-4 .mfa-soc__card strong{display:block;font:700 18px/1.2 Rubik,sans-serif;color:#0E1B3D}
body.cms-id-4 .mfa-soc__card small{display:block;margin-top:3px;font:500 14px/1.35 Manrope,sans-serif;color:#5B6275}
body.cms-id-4 .mfa-soc__card em{font:700 14px/1 Rubik,sans-serif;font-style:normal;padding:10px 14px;border-radius:999px;background:#F5F6F8;color:#0E1B3D}
body.cms-id-4 .mfa-soc__ic{flex:0 0 52px;width:52px;height:52px;border-radius:15px;background:center/26px no-repeat}
body.cms-id-4 .mfa-soc__card--yt .mfa-soc__ic{background-color:#FF0000;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E")}
body.cms-id-4 .mfa-soc__card--ig .mfa-soc__ic{background-color:#C13584;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='1' fill='%23fff'/%3E%3C/svg%3E");
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='1' fill='%23fff'/%3E%3C/svg%3E"),linear-gradient(45deg,#F58529,#DD2A7B 50%,#8134AF);background-size:26px,cover}
body.cms-id-4 .mfa-soc__card--fb .mfa-soc__ic{background-color:#1877F2;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M14 8h3V4h-3a4 4 0 0 0-4 4v2H8v4h2v8h4v-8h3l1-4h-4V8z'/%3E%3C/svg%3E")}

/* ---------- 8. visita ---------- */
body.cms-id-4 .mfa-visit-sec{padding:0 0 76px;background:#F5F0E6}
body.cms-id-4 .mfa-visit{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:28px 32px;border-radius:22px;background:#0E1B3D}
body.cms-id-4 .mfa-visit__t{margin:0 0 4px;font:700 24px/1.2 Rubik,sans-serif;color:#fff}
body.cms-id-4 .mfa-visit__a{margin:0;font:500 16px/1.5 Manrope,sans-serif;color:#C9D1E4}
body.cms-id-4 .mfa-visit__b{display:flex;gap:10px;flex-wrap:wrap}
body.cms-id-4 .mfa-vbtn{display:inline-flex;align-items:center;height:50px;padding:0 20px;border-radius:14px;border:1.5px solid rgba(255,255,255,.5);
  font:700 15px/1 Rubik,sans-serif;color:#fff!important;text-decoration:none!important}
body.cms-id-4 .mfa-vbtn--o{background:#F26B1D;border-color:#F26B1D}

/* ---------- tablet / mobile ---------- */
@media (max-width:1024px){
  body.cms-id-4 .mfa-nums{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.cms-id-4 .mfa-num:nth-child(3){border-right:0}
  body.cms-id-4 .mfa-num:nth-child(n+4){border-top:1px solid #EEF0F4}
  body.cms-id-4 .mfa-values{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.cms-id-4 .mfa-story-l .elementor-widget-wrap{position:static}
  body.cms-id-4 .mfa-social{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:767px){
  body.cms-id-4 .mfa-full .elementor-column{width:100%!important}
  body.cms-id-4 .mfa-hero{padding:72px 0 96px;background-position:60% center}
  body.cms-id-4 .mfa-hero::before{background:linear-gradient(180deg,rgba(14,27,61,.75),rgba(14,27,61,.95))}
  body.cms-id-4 .mfa-btn{width:100%!important;margin:0 0 10px!important}
  body.cms-id-4 .mfa-btn .elementor-button{width:100%;justify-content:center}
  body.cms-id-4 .mfa-nums{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.cms-id-4 .mfa-num{padding:18px 16px;border-right:1px solid #EEF0F4!important;border-top:1px solid #EEF0F4}
  body.cms-id-4 .mfa-num:nth-child(-n+2){border-top:0}
  body.cms-id-4 .mfa-num:nth-child(2n){border-right:0!important}
  body.cms-id-4 .mfa-num:last-child{grid-column:1 / -1;border-right:0!important}
  body.cms-id-4 .mfa-num strong{font-size:24px}
  body.cms-id-4 .mfa-storia,body.cms-id-4 .mfa-persone,body.cms-id-4 .mfa-sede,body.cms-id-4 .mfa-valori,body.cms-id-4 .mfa-social-sec{padding:52px 0}
  body.cms-id-4 .mfa-story-r{margin-top:26px}
  body.cms-id-4 .mfa-tl::before{left:31px}
  body.cms-id-4 .mfa-tl__item{grid-template-columns:64px minmax(0,1fr);gap:14px}
  body.cms-id-4 .mfa-tl__year{height:34px;font-size:14px}
  body.cms-id-4 .mfa-people{grid-template-columns:minmax(0,1fr);gap:14px}
  body.cms-id-4 .mfa-person img{aspect-ratio:1/1}
  body.cms-id-4 .mfa-sede-r{margin-top:26px}
  body.cms-id-4 .mfa-collage{grid-template-rows:160px 160px}
  body.cms-id-4 .mfa-brands{grid-template-columns:minmax(0,1fr)}
  body.cms-id-4 .mfa-values{grid-template-columns:minmax(0,1fr)}
  body.cms-id-4 .mfa-yt__btn{width:64px;height:64px;margin:-32px 0 0 -32px}
  body.cms-id-4 .mfa-yt__btn::after{left:26px;top:20px;border-width:12px 0 12px 19px}
  body.cms-id-4 .mfa-yt__label{left:14px;bottom:14px;font-size:13px}
  body.cms-id-4 .mfa-visit{padding:24px 20px}
  body.cms-id-4 .mfa-vbtn{flex:1 1 auto;justify-content:center}
}






/* ===== Pagina "Noleggio" Manferdini 2026 (CMS 27) – CSS per custom.css del child theme =====
   Vale solo su body.cms-id-27. Il form preventivo (Brevo) mantiene il suo codice: qui viene solo ricolorato. */

body.cms-id-27 #content .elementor-section.mfn-full{width:100vw!important;max-width:100vw;margin-left:calc(50% - 50vw)!important;left:auto!important}
body.cms-id-27 #wrapper .breadcrumb,body.cms-id-27 #main .page-header{display:none}
body.cms-id-27 .mfn-full .elementor-widget:not(:last-child){margin-bottom:0}
body.cms-id-27 .mfn-full{scroll-margin-top:140px}
body.cms-id-27 .mfn-h1,body.cms-id-27 .mfn-lead{width:100%!important}
body.cms-id-27 .mfn-lead .elementor-widget-container{max-width:600px}

/* pulsanti CE */
body.cms-id-27 .mfn-btn{width:auto!important;margin:0 12px 10px 0!important}
body.cms-id-27 .mfn-btn .elementor-button{display:inline-flex;align-items:center;height:52px;padding:0 22px!important;border-radius:14px!important;
  font:700 16px/1 Rubik,sans-serif!important;text-decoration:none!important;transition:background .2s,color .2s}
body.cms-id-27 .mfn-btn .elementor-button-text,body.cms-id-27 .mfn-btn .elementor-button-icon{color:inherit!important}
body.cms-id-27 .mfn-btn--orange .elementor-button{background:#F26B1D!important;color:#fff!important;border:0!important;box-shadow:0 10px 22px rgba(242,107,29,.3)}
body.cms-id-27 .mfn-btn--orange .elementor-button:hover{background:#C4520F!important}
body.cms-id-27 .mfn-btn--ghost .elementor-button{background:transparent!important;color:#fff!important;border:1.5px solid rgba(255,255,255,.45)!important}
body.cms-id-27 .mfn-btn--ghost .elementor-button:hover{background:#fff!important;color:#0E1B3D!important}
/* pulsanti HTML */
body.cms-id-27 .mfn-b{display:inline-flex;align-items:center;justify-content:center;height:48px;padding:0 18px;border-radius:13px;border:1.5px solid #DCE0E8;background:#fff;
  font:700 15px/1 Rubik,sans-serif;color:#0E1B3D!important;text-decoration:none!important;transition:background .2s,border-color .2s,color .2s}
body.cms-id-27 .mfn-b:hover{border-color:#0E1B3D}
body.cms-id-27 .mfn-b--o{background:#F26B1D;border-color:#F26B1D;color:#fff!important;box-shadow:0 8px 18px rgba(242,107,29,.25)}
body.cms-id-27 .mfn-b--o:hover{background:#C4520F;border-color:#C4520F}
body.cms-id-27 .mfn-b--n{background:#0E1B3D;border-color:#0E1B3D;color:#fff!important}
body.cms-id-27 .mfn-b--n:hover{background:#16264F}
body.cms-id-27 .mfn-b--wa{background:#128C4A;border-color:#128C4A;color:#fff!important}

/* ---------- 1. hero ---------- */
body.cms-id-27 .mfn-hero{position:relative;overflow:hidden;padding:76px 0 80px;background:linear-gradient(150deg,#0E1B3D 0%,#1B3168 100%)}
body.cms-id-27 .mfn-hero::after{content:"";position:absolute;right:-150px;bottom:-190px;width:440px;height:440px;border-radius:50%;border:60px solid rgba(242,107,29,.12);pointer-events:none}
body.cms-id-27 .mfn-hero>.elementor-container{position:relative;z-index:1}
body.cms-id-27 .mfn-hero .elementor-row{align-items:center}
body.cms-id-27 .mfn-incl{padding:26px;border-radius:20px;background:#fff;box-shadow:0 24px 50px rgba(0,0,0,.25)}
body.cms-id-27 .mfn-incl__t{margin:0 0 14px;font:700 12px/1.2 Rubik,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#1C8FA8}
body.cms-id-27 .mfn-incl ul{display:grid;gap:14px;margin:0;padding:0;list-style:none}
body.cms-id-27 .mfn-incl li{position:relative;padding-left:38px}
body.cms-id-27 .mfn-incl li::before{content:"";position:absolute;left:0;top:1px;width:26px;height:26px;border-radius:8px;
  background:#FFF0E6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C4520F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/14px no-repeat}
body.cms-id-27 .mfn-incl b{display:block;font:700 16px/1.3 Rubik,sans-serif;color:#0E1B3D}
body.cms-id-27 .mfn-incl span{display:block;margin-top:2px;font:500 14px/1.5 Manrope,sans-serif;color:#5B6275}

/* ---------- 2. mezzi ---------- */
body.cms-id-27 .mfn-mezzi{padding:72px 0 76px;background:#F5F6F8}
body.cms-id-27 .mfn-fleet-w{width:100%}
body.cms-id-27 .mfn-fleet{display:grid;grid-template-columns:repeat(2,minmax(0,1.15fr)) minmax(0,.9fr);gap:20px;align-items:stretch}
body.cms-id-27 .mfn-mezzo{display:flex;flex-direction:column;border-radius:22px;overflow:hidden;background:#fff;border:1px solid #E4E7EE;box-shadow:0 10px 28px rgba(14,27,61,.08);
  transition:transform .2s,box-shadow .2s}
body.cms-id-27 .mfn-mezzo:hover{transform:translateY(-3px);box-shadow:0 20px 40px rgba(14,27,61,.14)}
body.cms-id-27 .mfn-mezzo__img{position:relative;aspect-ratio:4/3;background:#EEF0F4;overflow:hidden}
body.cms-id-27 .mfn-mezzo__img img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s}
body.cms-id-27 .mfn-mezzo:hover .mfn-mezzo__img img{transform:scale(1.04)}
body.cms-id-27 .mfn-badge{position:absolute;left:14px;top:14px;display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border-radius:999px;background:#fff;
  font:700 12px/1 Rubik,sans-serif;color:#128C4A;box-shadow:0 4px 12px rgba(0,0,0,.12)}
body.cms-id-27 .mfn-badge::before{content:"";width:8px;height:8px;border-radius:50%;background:#22C55E;box-shadow:0 0 0 3px rgba(34,197,94,.25)}
body.cms-id-27 .mfn-mezzo__body{display:flex;flex-direction:column;flex:1;padding:22px 22px 24px}
body.cms-id-27 .mfn-mezzo__cat{margin:0 0 6px;font:700 12px/1.2 Rubik,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#1C8FA8}
body.cms-id-27 .mfn-mezzo h3{margin:0 0 8px;font:700 23px/1.2 Rubik,sans-serif;color:#0E1B3D}
body.cms-id-27 .mfn-mezzo__d{margin:0 0 14px;font:500 15px/1.55 Manrope,sans-serif;color:#5B6275}
body.cms-id-27 .mfn-chips{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 18px;padding:0;list-style:none}
body.cms-id-27 .mfn-chips li{padding:7px 11px;border-radius:999px;background:#F5F6F8;font:600 13px/1 Manrope,sans-serif;color:#0E1B3D}
body.cms-id-27 .mfn-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px;margin-top:auto;padding:14px 0 16px;border-top:1px solid #EEF0F4}
body.cms-id-27 .mfn-price span{font:600 15px/1 Manrope,sans-serif;color:#5B6275}
body.cms-id-27 .mfn-price strong{font:800 34px/1 Rubik,sans-serif;color:#0E1B3D;letter-spacing:-.01em}
body.cms-id-27 .mfn-price small{flex-basis:100%;font:500 12.5px/1.3 Manrope,sans-serif;color:#8A90A2}
body.cms-id-27 .mfn-mezzo__cta{display:grid;grid-template-columns:1fr auto;gap:8px}
/* scheda "altro mezzo" */
body.cms-id-27 .mfn-other{display:flex;flex-direction:column;padding:26px 24px;border-radius:22px;border:2px dashed #C9CFDB;background:#fff}
body.cms-id-27 .mfn-other__ic{width:56px;height:56px;margin-bottom:16px;border-radius:16px;
  background:#0E1B3D url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5M11 8v6M8 11h6'/%3E%3C/svg%3E") center/26px no-repeat}
body.cms-id-27 .mfn-other h3{margin:0 0 8px;font:700 22px/1.2 Rubik,sans-serif;color:#0E1B3D}
body.cms-id-27 .mfn-other p{margin:0 0 14px;font:500 15px/1.55 Manrope,sans-serif;color:#5B6275}
body.cms-id-27 .mfn-other ul{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 20px;padding:0;list-style:none}
body.cms-id-27 .mfn-other li{padding:7px 11px;border-radius:999px;border:1px solid #E4E7EE;font:600 13px/1 Manrope,sans-serif;color:#5B6275}
body.cms-id-27 .mfn-other .mfn-b{margin-top:auto}
body.cms-id-27 .mfn-other__wa{display:block;margin-top:12px;text-align:center;font:700 14px/1.3 Rubik,sans-serif;color:#128C4A!important;text-decoration:underline!important;text-underline-offset:3px}

/* ---------- 3. formule ---------- */
body.cms-id-27 .mfn-formule{padding:72px 0;background:#fff}
body.cms-id-27 .mfn-plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
body.cms-id-27 .mfn-plan{position:relative;display:flex;flex-direction:column;padding:24px;border-radius:20px;border:1px solid #E4E7EE;background:#fff;box-shadow:0 6px 18px rgba(14,27,61,.05)}
body.cms-id-27 .mfn-plan--hl{border-color:#0E1B3D;box-shadow:0 18px 36px rgba(14,27,61,.12)}
body.cms-id-27 .mfn-plan img{width:72px;height:72px;margin-bottom:14px;border-radius:18px;background:#F5F6F8;object-fit:contain}
body.cms-id-27 .mfn-plan__k{margin:0 0 6px;font:700 12px/1.2 Rubik,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#C4520F}
body.cms-id-27 .mfn-plan h3{margin:0 0 8px;font:700 22px/1.2 Rubik,sans-serif;color:#0E1B3D}
body.cms-id-27 .mfn-plan p{flex:1;margin:0 0 16px;font:500 15px/1.55 Manrope,sans-serif;color:#5B6275}
body.cms-id-27 .mfn-plan__a{font:700 15px/1.2 Rubik,sans-serif;color:#C4520F!important;text-decoration:none!important}
body.cms-id-27 .mfn-plan__a::after{content:"";position:absolute;inset:0;border-radius:20px}

/* ---------- 4. come funziona ---------- */
body.cms-id-27 .mfn-how{padding:72px 0;background:linear-gradient(150deg,#0E1B3D 0%,#1B3168 100%)}
body.cms-id-27 .mfn-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0;padding:0;list-style:none;counter-reset:s}
body.cms-id-27 .mfn-steps li{position:relative;padding:22px;border-radius:18px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12)}
body.cms-id-27 .mfn-steps span{display:inline-grid;place-items:center;width:44px;height:44px;margin-bottom:14px;border-radius:13px;background:#F26B1D;font:800 16px/1 Rubik,sans-serif;color:#fff}
body.cms-id-27 .mfn-steps h3{margin:0 0 6px;font:700 18px/1.25 Rubik,sans-serif;color:#fff}
body.cms-id-27 .mfn-steps p{margin:0;font:500 14.5px/1.55 Manrope,sans-serif;color:#C9D1E4}

/* ---------- 5. preventivo ---------- */
body.cms-id-27 .mfn-preventivo{padding:76px 0 84px;background:#F5F6F8}
body.cms-id-27 .mfn-form-l .elementor-widget-wrap{position:sticky;top:150px}
body.cms-id-27 .mfn-side__list{display:grid;gap:14px;margin:0 0 22px;padding:0;list-style:none}
body.cms-id-27 .mfn-side__list li{position:relative;padding-left:38px}
body.cms-id-27 .mfn-side__list li::before{content:"";position:absolute;left:0;top:1px;width:26px;height:26px;border-radius:8px;
  background:#E3F6FA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C8FA8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/14px no-repeat}
body.cms-id-27 .mfn-side__list strong{display:block;font:700 16px/1.35 Rubik,sans-serif;color:#0E1B3D}
body.cms-id-27 .mfn-side__list span{display:block;margin-top:2px;font:500 14px/1.5 Manrope,sans-serif;color:#5B6275}
body.cms-id-27 .mfn-side__ct{display:grid;gap:8px;padding:18px;border-radius:18px;background:#fff;border:1px solid #E4E7EE}
body.cms-id-27 .mfn-side__ct p{margin:0 0 4px;font:700 15px/1.3 Rubik,sans-serif;color:#0E1B3D}

/* form Brevo ricolorato (stesse classi del codice originale) */
body.cms-id-27 .mfn-form .mf-req{--mf-verde:#0E1B3D;--mf-verde-2:#F26B1D;--mf-paglia:#F26B1D;--mf-ink:#1B2440;--mf-muted:#5B6275;--mf-line:#DCE0E8;--mf-bg:#fff;
  border:1px solid #E4E7EE;border-radius:20px;box-shadow:0 10px 30px rgba(14,27,61,.08);font-family:Manrope,sans-serif;gap:16px}
body.cms-id-27 .mfn-form .mf-req input[type="text"],body.cms-id-27 .mfn-form .mf-req input[type="email"],body.cms-id-27 .mfn-form .mf-req input[type="tel"],
body.cms-id-27 .mfn-form .mf-req input[type="date"],body.cms-id-27 .mfn-form .mf-req textarea{min-height:50px;border:1.5px solid #DCE0E8;border-radius:12px;font-size:16px}
body.cms-id-27 .mfn-form .mf-req input:focus,body.cms-id-27 .mfn-form .mf-req textarea:focus{border-color:#24B9D7;box-shadow:0 0 0 4px rgba(36,185,215,.15)}
body.cms-id-27 .mfn-form .mf-req .mf-fld,body.cms-id-27 .mfn-form .mf-req legend{font-size:14px;color:#0E1B3D}
body.cms-id-27 .mfn-form .mf-req .mf-panel>h3{font:700 20px/1.25 Rubik,sans-serif;color:#0E1B3D}
body.cms-id-27 .mfn-form .mf-req .mf-srv-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}
body.cms-id-27 .mfn-form .mf-req .mf-opt{border:1.5px solid #E4E7EE;border-radius:12px;padding:12px 14px;font-size:15px}
body.cms-id-27 .mfn-form .mf-req .mf-opt:has(input:checked){border-color:#F26B1D;background:#FFF5EE;color:#0E1B3D}
body.cms-id-27 .mfn-form .mf-req .mf-opt input,body.cms-id-27 .mfn-form .mf-req .mf-chk input{accent-color:#F26B1D}
body.cms-id-27 .mfn-form .mf-req .mf-step{box-shadow:none;border:1.5px solid #E4E7EE;border-radius:12px;padding:10px 12px;font-size:14px}
body.cms-id-27 .mfn-form .mf-req .mf-step[aria-current="step"]{border-color:#0E1B3D;background:#0E1B3D;color:#fff}
body.cms-id-27 .mfn-form .mf-req .mf-step[aria-current="step"] b{background:#F26B1D;color:#fff}
body.cms-id-27 .mfn-form .mf-req .mf-step[data-done="1"] b{background:#128C4A;color:#fff}
body.cms-id-27 .mfn-form .mf-req .mf-btn{min-height:52px;padding:0 26px;border-radius:14px;background:#F26B1D;color:#fff;font:700 16px/1 Rubik,sans-serif;box-shadow:0 10px 22px rgba(242,107,29,.28)}
body.cms-id-27 .mfn-form .mf-req .mf-btn:hover{filter:none;background:#C4520F}
body.cms-id-27 .mfn-form .mf-req .mf-back{min-height:52px;border:1.5px solid #E4E7EE;border-radius:14px;font:700 15px/1 Rubik,sans-serif;color:#0E1B3D}
body.cms-id-27 .mfn-form .mf-req .mf-recap{border:0;border-radius:14px;background:#F5F6F8}
body.cms-id-27 .mfn-form .mf-req .mf-chk a{color:#C4520F}
body.cms-id-27 .mfn-form .mf-req .ae-brevo-msg:not(:empty){padding:14px 16px;border-radius:12px;background:#F5F6F8;font-weight:600}

/* ---------- tablet / mobile ---------- */
@media (max-width:1024px){
  body.cms-id-27 .mfn-hero{padding:56px 0}
  body.cms-id-27 .mfn-fleet{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.cms-id-27 .mfn-other{grid-column:1 / -1}
  body.cms-id-27 .mfn-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.cms-id-27 .mfn-form-l .elementor-widget-wrap{position:static}
}
@media (max-width:767px){
  body.cms-id-27 .mfn-full .elementor-column{width:100%!important}
  body.cms-id-27 .mfn-hero{padding:40px 0 44px}
  body.cms-id-27 .mfn-hero-r{margin-top:22px}
  body.cms-id-27 .mfn-btn{width:100%!important;margin:0 0 10px!important}
  body.cms-id-27 .mfn-btn .elementor-button{width:100%;justify-content:center}
  body.cms-id-27 .mfn-mezzi,body.cms-id-27 .mfn-formule,body.cms-id-27 .mfn-how,body.cms-id-27 .mfn-preventivo{padding:48px 0}
  body.cms-id-27 .mfn-fleet,body.cms-id-27 .mfn-plans,body.cms-id-27 .mfn-steps{grid-template-columns:minmax(0,1fr);gap:14px}
  body.cms-id-27 .mfn-mezzo h3{font-size:21px}
  body.cms-id-27 .mfn-price strong{font-size:30px}
  body.cms-id-27 .mfn-form-r{margin-top:24px}
}







/* ===== Pagina "Assistenza" Manferdini 2026 (CMS 29) – CSS per custom.css del child theme =====
   Vale solo su body.cms-id-29. Il form assistenza (Brevo) mantiene il suo codice: qui viene solo ricolorato. */

body.cms-id-29 #content .elementor-section.mfx-full{width:100vw!important;max-width:100vw;margin-left:calc(50% - 50vw)!important;left:auto!important}
body.cms-id-29 #wrapper .breadcrumb,body.cms-id-29 #main .page-header{display:none}
body.cms-id-29 .mfx-full .elementor-widget:not(:last-child){margin-bottom:0}
body.cms-id-29 .mfx-full{scroll-margin-top:140px}
body.cms-id-29 .mfx-group{scroll-margin-top:220px}
body.cms-id-29 .mfx-h1,body.cms-id-29 .mfx-lead{width:100%!important}
body.cms-id-29 .mfx-lead .elementor-widget-container{max-width:620px}

/* pulsanti CE */
body.cms-id-29 .mfx-btn{width:auto!important;margin:0 12px 10px 0!important}
body.cms-id-29 .mfx-btn .elementor-button{display:inline-flex;align-items:center;height:52px;padding:0 22px!important;border-radius:14px!important;
  font:700 16px/1 Rubik,sans-serif!important;text-decoration:none!important;transition:background .2s,color .2s}
body.cms-id-29 .mfx-btn .elementor-button-text,body.cms-id-29 .mfx-btn .elementor-button-icon{color:inherit!important}
body.cms-id-29 .mfx-btn--orange .elementor-button{background:#F26B1D!important;color:#fff!important;border:0!important;box-shadow:0 10px 22px rgba(242,107,29,.3)}
body.cms-id-29 .mfx-btn--orange .elementor-button:hover{background:#C4520F!important}
body.cms-id-29 .mfx-btn--ghost .elementor-button{background:transparent!important;color:#fff!important;border:1.5px solid rgba(255,255,255,.45)!important}
body.cms-id-29 .mfx-btn--ghost .elementor-button:hover{background:#fff!important;color:#0E1B3D!important}
/* pulsanti HTML */
body.cms-id-29 .mfx-b{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 18px;border-radius:13px;border:1.5px solid #DCE0E8;background:#fff;
  font:700 15px/1.2 Rubik,sans-serif;color:#0E1B3D!important;text-align:center;text-decoration:none!important;transition:background .2s,border-color .2s}
body.cms-id-29 .mfx-b:hover{border-color:#0E1B3D}
body.cms-id-29 .mfx-b--o{background:#F26B1D;border-color:#F26B1D;color:#fff!important;box-shadow:0 8px 18px rgba(242,107,29,.25)}
body.cms-id-29 .mfx-b--o:hover{background:#C4520F;border-color:#C4520F}
body.cms-id-29 .mfx-b--wa{background:#128C4A;border-color:#128C4A;color:#fff!important}
body.cms-id-29 .mfx-b--wa:hover{background:#0E7A3F;border-color:#0E7A3F}
body.cms-id-29 .mfx-b--xl{min-height:58px;font-size:19px}
body.cms-id-29 .mfx-b--o::before,body.cms-id-29 .mfx-b--wa::before{content:"";width:18px;height:18px;flex:0 0 18px;background:center/contain no-repeat}
body.cms-id-29 a.mfx-b--o[href^="tel:"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E")}
body.cms-id-29 a.mfx-b--o:not([href^="tel:"])::before{display:none}
body.cms-id-29 .mfx-b--wa::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm0 18.2a8.2 8.2 0 0 1-4.2-1.2l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8s-.4-.1-.6.1-.7.8-.8 1-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.3-.4.3-.4.7-1.4a.5.5 0 0 0 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.7 11.8 11.8 0 0 0 4.5 4c1.7.7 2.3.8 3.2.6a2.7 2.7 0 0 0 1.8-1.3 2.2 2.2 0 0 0 .1-1.3c0-.1-.2-.2-.5-.3z'/%3E%3C/svg%3E")}

/* ---------- 1. hero ---------- */
body.cms-id-29 .mfx-hero{position:relative;overflow:hidden;padding:76px 0 80px;background:linear-gradient(150deg,#0E1B3D 0%,#1B3168 100%)}
body.cms-id-29 .mfx-hero::after{content:"";position:absolute;right:-150px;bottom:-190px;width:440px;height:440px;border-radius:50%;border:60px solid rgba(36,185,215,.10);pointer-events:none}
body.cms-id-29 .mfx-hero>.elementor-container{position:relative;z-index:1}
body.cms-id-29 .mfx-hero .elementor-row{align-items:center}
body.cms-id-29 .mfx-urg{display:grid;gap:10px;padding:26px;border-radius:20px;background:#fff;box-shadow:0 24px 50px rgba(0,0,0,.25)}
body.cms-id-29 .mfx-urg__k{display:flex;align-items:center;gap:10px;margin:0;font:800 24px/1.15 Rubik,sans-serif;color:#0E1B3D}
body.cms-id-29 .mfx-dot{width:12px;height:12px;flex:0 0 12px;border-radius:50%;background:#F26B1D;box-shadow:0 0 0 0 rgba(242,107,29,.5);animation:mfxPulse 1.8s infinite}
@keyframes mfxPulse{70%{box-shadow:0 0 0 10px rgba(242,107,29,0)}100%{box-shadow:0 0 0 0 rgba(242,107,29,0)}}
@media (prefers-reduced-motion:reduce){body.cms-id-29 .mfx-dot{animation:none}}
body.cms-id-29 .mfx-urg__t{margin:0 0 6px;font:500 15px/1.5 Manrope,sans-serif;color:#5B6275}
body.cms-id-29 .mfx-urg__l{display:grid;gap:12px;margin:10px 0 0;padding:16px 0 0;border-top:1px solid #EEF0F4;list-style:none}
body.cms-id-29 .mfx-urg__l li{position:relative;padding-left:36px}
body.cms-id-29 .mfx-urg__l li::before{content:"";position:absolute;left:0;top:1px;width:24px;height:24px;border-radius:8px;
  background:#E3F6FA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C8FA8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat}
body.cms-id-29 .mfx-urg__l b{display:block;font:700 15px/1.3 Rubik,sans-serif;color:#0E1B3D}
body.cms-id-29 .mfx-urg__l span{display:block;margin-top:1px;font:500 13.5px/1.45 Manrope,sans-serif;color:#5B6275}

/* ---------- 2. soluzioni ---------- */
body.cms-id-29 .mfx-sol{padding:72px 0 76px;background:#F5F6F8}
body.cms-id-29 .mfx-sol-w{width:100%}
body.cms-id-29 .mfx-chips{position:sticky;top:150px;z-index:5;display:flex;gap:8px;margin:0 0 26px;padding:8px;border-radius:16px;background:rgba(245,246,248,.92);
  backdrop-filter:blur(6px);overflow-x:auto;scrollbar-width:none}
body.cms-id-29 .mfx-chips::-webkit-scrollbar{display:none}
body.cms-id-29 .mfx-chips a{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;padding:9px 14px 9px 9px;border-radius:999px;background:#fff;border:1px solid #E4E7EE;
  font:700 14px/1 Rubik,sans-serif;color:#0E1B3D!important;text-decoration:none!important;white-space:nowrap;transition:border-color .2s}
body.cms-id-29 .mfx-chips a:hover{border-color:#0E1B3D}
body.cms-id-29 .mfx-chips b{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#0E1B3D;font-size:11px;color:#fff}
body.cms-id-29 .mfx-groups{display:grid;gap:34px}
body.cms-id-29 .mfx-group{display:grid;grid-template-columns:minmax(0,300px) minmax(0,1fr);gap:28px;align-items:start;padding-top:30px;border-top:1px solid #DCE0E8}
body.cms-id-29 .mfx-group:first-child{padding-top:0;border-top:0}
body.cms-id-29 .mfx-group__h{position:sticky;top:224px}
body.cms-id-29 .mfx-group__n{display:inline-grid;place-items:center;width:46px;height:46px;margin-bottom:12px;border-radius:14px;background:#F26B1D;font:800 16px/1 Rubik,sans-serif;color:#fff}
body.cms-id-29 .mfx-group__h h3{margin:0 0 6px;font:700 24px/1.2 Rubik,sans-serif;color:#0E1B3D}
body.cms-id-29 .mfx-group__h p{margin:0;font:500 15px/1.55 Manrope,sans-serif;color:#5B6275}
body.cms-id-29 .mfx-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}
body.cms-id-29 .mfx-card{position:relative;display:flex;flex-direction:column;padding:22px;border-radius:18px;background:#fff;border:1px solid #E4E7EE;
  box-shadow:0 6px 18px rgba(14,27,61,.05);transition:transform .2s,box-shadow .2s,border-color .2s}
body.cms-id-29 .mfx-card:hover{transform:translateY(-3px);border-color:#0E1B3D;box-shadow:0 18px 36px rgba(14,27,61,.12)}
body.cms-id-29 .mfx-card__ic{display:grid;place-items:center;width:60px;height:60px;margin-bottom:14px;border-radius:16px;background:#F5F6F8}
body.cms-id-29 .mfx-card__ic img{width:40px;height:40px;object-fit:contain}
body.cms-id-29 .mfx-card h4{margin:0 0 6px;font:700 18px/1.25 Rubik,sans-serif;color:#0E1B3D}
body.cms-id-29 .mfx-card p{flex:1;margin:0 0 14px;font:500 14.5px/1.55 Manrope,sans-serif;color:#5B6275}
body.cms-id-29 .mfx-card__a{font:700 14.5px/1.2 Rubik,sans-serif;color:#C4520F!important;text-decoration:none!important}
body.cms-id-29 .mfx-card__a::after{content:"";position:absolute;inset:0;border-radius:18px}
body.cms-id-29 .mfx-card__a::before{content:"→";float:right;margin-left:8px;transition:transform .2s}
body.cms-id-29 .mfx-card:hover .mfx-card__a::before{transform:translateX(3px)}

/* ---------- 3. banco prova ---------- */
body.cms-id-29 .mfx-banco-sec{padding:72px 0;background:linear-gradient(150deg,#0E1B3D 0%,#1B3168 100%)}
body.cms-id-29 .mfx-banco{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:48px;align-items:center}
body.cms-id-29 .mfx-banco__num{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:center;gap:4px 10px;padding:40px 24px;border-radius:24px;
  background:radial-gradient(circle at 30% 20%,rgba(242,107,29,.28),rgba(255,255,255,.04) 60%);border:1px solid rgba(255,255,255,.14);text-align:center}
body.cms-id-29 .mfx-banco__num strong{font:800 clamp(84px,11vw,140px)/.9 Rubik,sans-serif;color:#fff;letter-spacing:-.03em}
body.cms-id-29 .mfx-banco__num span{font:800 clamp(28px,3.5vw,44px)/1 Rubik,sans-serif;color:#F26B1D}
body.cms-id-29 .mfx-banco__num small{flex-basis:100%;margin-top:10px;font:600 13px/1.3 Manrope,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#C9D1E4}
body.cms-id-29 .mfx-banco__k{margin:0 0 10px;font:700 12px/1.2 Rubik,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#24B9D7}
body.cms-id-29 .mfx-banco h2{margin:0 0 12px;font:700 36px/1.12 Rubik,sans-serif;color:#fff}
body.cms-id-29 .mfx-banco__txt>p:not(.mfx-banco__k){margin:0 0 18px;font:500 17px/1.6 Manrope,sans-serif;color:#C9D1E4}
body.cms-id-29 .mfx-banco ul{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px;padding:0;list-style:none}
body.cms-id-29 .mfx-banco li{padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);font:600 13.5px/1 Manrope,sans-serif;color:#fff}

/* ---------- 4. come funziona ---------- */
body.cms-id-29 .mfx-how{padding:72px 0;background:#fff}
body.cms-id-29 .mfx-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0;padding:0;list-style:none}
body.cms-id-29 .mfx-steps li{position:relative;padding:22px;border-radius:18px;background:#F5F6F8;border:1px solid #E4E7EE}
body.cms-id-29 .mfx-steps li:not(:last-child)::after{content:"";position:absolute;top:44px;right:-13px;width:10px;height:10px;border-top:2px solid #C9CFDB;border-right:2px solid #C9CFDB;transform:rotate(45deg)}
body.cms-id-29 .mfx-steps span{display:inline-grid;place-items:center;width:44px;height:44px;margin-bottom:14px;border-radius:13px;background:#0E1B3D;font:800 16px/1 Rubik,sans-serif;color:#fff}
body.cms-id-29 .mfx-steps h3{margin:0 0 6px;font:700 18px/1.25 Rubik,sans-serif;color:#0E1B3D}
body.cms-id-29 .mfx-steps p{margin:0;font:500 14.5px/1.55 Manrope,sans-serif;color:#5B6275}

/* ---------- 5. richiesta assistenza ---------- */
body.cms-id-29 .mfx-richiesta{padding:76px 0 84px;background:#F5F6F8}
body.cms-id-29 .mfx-form-l .elementor-widget-wrap{position:sticky;top:150px}
body.cms-id-29 .mfx-side__list{display:grid;gap:14px;margin:0 0 22px;padding:0;list-style:none}
body.cms-id-29 .mfx-side__list li{position:relative;padding-left:38px}
body.cms-id-29 .mfx-side__list li::before{content:"";position:absolute;left:0;top:1px;width:26px;height:26px;border-radius:8px;
  background:#E3F6FA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C8FA8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/14px no-repeat}
body.cms-id-29 .mfx-side__list strong{display:block;font:700 16px/1.35 Rubik,sans-serif;color:#0E1B3D}
body.cms-id-29 .mfx-side__list span{display:block;margin-top:2px;font:500 14px/1.5 Manrope,sans-serif;color:#5B6275}
body.cms-id-29 .mfx-side__ct{display:grid;gap:8px;padding:18px;border-radius:18px;background:#fff;border:1px solid #E4E7EE}
body.cms-id-29 .mfx-side__ct p{margin:0 0 4px;font:700 15px/1.3 Rubik,sans-serif;color:#0E1B3D}

/* form Brevo ricolorato (stesse classi del codice originale) */
body.cms-id-29 .mfx-form .mf-req{--mf-verde:#0E1B3D;--mf-verde-2:#F26B1D;--mf-paglia:#F26B1D;--mf-ink:#1B2440;--mf-muted:#5B6275;--mf-line:#DCE0E8;--mf-bg:#fff;
  border:1px solid #E4E7EE;border-radius:20px;box-shadow:0 10px 30px rgba(14,27,61,.08);font-family:Manrope,sans-serif;gap:16px}
body.cms-id-29 .mfx-form .mf-req input[type="text"],body.cms-id-29 .mfx-form .mf-req input[type="email"],body.cms-id-29 .mfx-form .mf-req input[type="tel"],
body.cms-id-29 .mfx-form .mf-req textarea{min-height:50px;border:1.5px solid #DCE0E8;border-radius:12px;font-size:16px}
body.cms-id-29 .mfx-form .mf-req input:focus,body.cms-id-29 .mfx-form .mf-req textarea:focus{border-color:#24B9D7;box-shadow:0 0 0 4px rgba(36,185,215,.15)}
body.cms-id-29 .mfx-form .mf-req .mf-fld,body.cms-id-29 .mfx-form .mf-req legend{font-size:14px;color:#0E1B3D}
body.cms-id-29 .mfx-form .mf-req .mf-step-title{font:700 20px/1.25 Rubik,sans-serif;color:#0E1B3D}
body.cms-id-29 .mfx-form .mf-req .mf-srv-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}
body.cms-id-29 .mfx-form .mf-req .mf-opt{border:1.5px solid #E4E7EE;border-radius:12px;padding:12px 14px;font-size:15px}
body.cms-id-29 .mfx-form .mf-req .mf-opt:has(input:checked){border-color:#F26B1D;background:#FFF5EE;color:#0E1B3D}
body.cms-id-29 .mfx-form .mf-req .mf-opt:has(input:focus-visible){box-shadow:0 0 0 3px rgba(242,107,29,.3)}
body.cms-id-29 .mfx-form .mf-req .mf-opt input,body.cms-id-29 .mfx-form .mf-req .mf-chk input{accent-color:#F26B1D}
/* indicatore di avanzamento */
body.cms-id-29 .mfx-form .mf-req .mf-steps li{border:1.5px solid #E4E7EE;border-radius:12px;padding:10px 12px;background:#fff;font:600 14px/1.2 Rubik,sans-serif}
body.cms-id-29 .mfx-form .mf-req .mf-steps li::before{background:#F5F6F8;border-color:#E4E7EE;color:#0E1B3D}
body.cms-id-29 .mfx-form .mf-req .mf-steps li[aria-current="step"]{border-color:#0E1B3D;background:#0E1B3D;color:#fff}
body.cms-id-29 .mfx-form .mf-req .mf-steps li[aria-current="step"]::before{background:#F26B1D;border-color:#F26B1D;color:#fff}
body.cms-id-29 .mfx-form .mf-req .mf-steps li.is-done::before{background:#128C4A;border-color:#128C4A;color:#fff}
body.cms-id-29 .mfx-form .mf-req .mf-btn{min-height:52px;padding:0 26px;border-radius:14px;background:#F26B1D;color:#fff;font:700 16px/1 Rubik,sans-serif;box-shadow:0 10px 22px rgba(242,107,29,.28)}
body.cms-id-29 .mfx-form .mf-req .mf-btn:hover{filter:none;background:#C4520F}
body.cms-id-29 .mfx-form .mf-req .mf-back{min-height:52px;border:1.5px solid #E4E7EE;border-radius:14px;font:700 15px/1 Rubik,sans-serif;color:#0E1B3D}
body.cms-id-29 .mfx-form .mf-req .mf-back:hover{border-color:#0E1B3D}
body.cms-id-29 .mfx-form .mf-req .mf-chk a{color:#C4520F}
body.cms-id-29 .mfx-form .mf-req .ae-brevo-msg:not(:empty){padding:14px 16px;border-radius:12px;background:#F5F6F8;font-weight:600}

/* ---------- tablet / mobile ---------- */
@media (max-width:1024px){
  body.cms-id-29 .mfx-hero{padding:56px 0}
  body.cms-id-29 .mfx-group{grid-template-columns:minmax(0,1fr);gap:16px}
  body.cms-id-29 .mfx-group__h{position:static}
  body.cms-id-29 .mfx-group__h p{max-width:640px}
  body.cms-id-29 .mfx-banco{gap:28px}
  body.cms-id-29 .mfx-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.cms-id-29 .mfx-steps li::after{display:none}
  body.cms-id-29 .mfx-form-l .elementor-widget-wrap{position:static}
}
@media (max-width:767px){
  body.cms-id-29 .mfx-full .elementor-column{width:100%!important}
  body.cms-id-29 .mfx-hero{padding:40px 0 44px}
  body.cms-id-29 .mfx-hero-r{margin-top:22px}
  body.cms-id-29 .mfx-btn{width:100%!important;margin:0 0 10px!important}
  body.cms-id-29 .mfx-btn .elementor-button{width:100%;justify-content:center}
  body.cms-id-29 .mfx-urg{padding:20px}
  body.cms-id-29 .mfx-urg__k{font-size:21px}
  body.cms-id-29 .mfx-sol,body.cms-id-29 .mfx-banco-sec,body.cms-id-29 .mfx-how,body.cms-id-29 .mfx-richiesta{padding:48px 0}
  body.cms-id-29 .mfx-chips{position:static;margin:0 0 20px;padding:0;background:none;backdrop-filter:none}
  body.cms-id-29 .mfx-group{scroll-margin-top:140px}
  body.cms-id-29 .mfx-groups{gap:26px}
  body.cms-id-29 .mfx-group{padding-top:24px}
  body.cms-id-29 .mfx-group__h{display:grid;grid-template-columns:46px minmax(0,1fr);column-gap:14px;align-items:center}
  body.cms-id-29 .mfx-group__n{grid-row:span 2;margin:0}
  body.cms-id-29 .mfx-group__h h3{margin:0;font-size:21px}
  body.cms-id-29 .mfx-group__h p{grid-column:1 / -1;margin-top:8px}
  body.cms-id-29 .mfx-cards{grid-template-columns:minmax(0,1fr);gap:10px}
  body.cms-id-29 .mfx-card{display:grid;grid-template-columns:52px minmax(0,1fr);column-gap:14px;padding:16px}
  body.cms-id-29 .mfx-card__ic{grid-row:span 3;width:52px;height:52px;margin:0}
  body.cms-id-29 .mfx-card__ic img{width:34px;height:34px}
  body.cms-id-29 .mfx-card h4{font-size:17px}
  body.cms-id-29 .mfx-card p{margin-bottom:8px;font-size:14px}
  body.cms-id-29 .mfx-banco{grid-template-columns:minmax(0,1fr)}
  body.cms-id-29 .mfx-banco__num{padding:28px 18px}
  body.cms-id-29 .mfx-banco h2{font-size:28px}
  body.cms-id-29 .mfx-banco .mfx-b{width:100%}
  body.cms-id-29 .mfx-steps{grid-template-columns:minmax(0,1fr);gap:12px}
  body.cms-id-29 .mfx-steps li{display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:14px;padding:16px}
  body.cms-id-29 .mfx-steps span{grid-row:span 2;margin:0}
  body.cms-id-29 .mfx-steps h3{margin:2px 0 4px}
  body.cms-id-29 .mfx-form .mf-req{padding:18px 14px}
  body.cms-id-29 .mfx-form .mf-req #mf-int-set .mf-srv-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.cms-id-29 .mfx-form .mf-req .mf-srv-grid{grid-template-columns:minmax(0,1fr)}
  body.cms-id-29 .mfx-form .mf-req .mf-opt{padding:10px;font-size:14px;gap:8px}
  body.cms-id-29 .mfx-form-r{margin-top:24px}
}
@media (max-width:600px){
  body.cms-id-29 .mfx-form .mf-req .mf-steps li{font-size:0;gap:0;justify-content:center;padding:8px}
  body.cms-id-29 .mfx-form .mf-req .mf-steps li[aria-current="step"]{font-size:14px;gap:.5rem}
}







/* ===== Pagina "Tecnologie innovative" Manferdini 2026 (CMS 22) – CSS per custom.css del child theme =====
   Vale solo su body.cms-id-22. Il form tecnologie (Brevo) mantiene il suo codice: qui viene solo ricolorato. */

body.cms-id-22 #content .elementor-section.mft-full{width:100vw!important;max-width:100vw;margin-left:calc(50% - 50vw)!important;left:auto!important}
body.cms-id-22 #wrapper .breadcrumb,body.cms-id-22 #main .page-header{display:none}
body.cms-id-22 .mft-full .elementor-widget:not(:last-child){margin-bottom:0}
body.cms-id-22 .mft-full{scroll-margin-top:140px}
body.cms-id-22 .mft-h1,body.cms-id-22 .mft-lead{width:100%!important}
body.cms-id-22 .mft-lead .elementor-widget-container{max-width:600px}

/* pulsanti CE */
body.cms-id-22 .mft-btn{width:auto!important;margin:0 12px 10px 0!important}
body.cms-id-22 .mft-btn .elementor-button{display:inline-flex;align-items:center;height:52px;padding:0 22px!important;border-radius:14px!important;
  font:700 16px/1 Rubik,sans-serif!important;text-decoration:none!important;transition:background .2s,color .2s}
body.cms-id-22 .mft-btn .elementor-button-text,body.cms-id-22 .mft-btn .elementor-button-icon{color:inherit!important}
body.cms-id-22 .mft-btn--orange .elementor-button{background:#F26B1D!important;color:#fff!important;border:0!important;box-shadow:0 10px 22px rgba(242,107,29,.3)}
body.cms-id-22 .mft-btn--orange .elementor-button:hover{background:#C4520F!important}
body.cms-id-22 .mft-btn--ghost .elementor-button{background:transparent!important;color:#fff!important;border:1.5px solid rgba(255,255,255,.45)!important}
body.cms-id-22 .mft-btn--ghost .elementor-button:hover{background:#fff!important;color:#0E1B3D!important}
/* pulsanti HTML */
body.cms-id-22 .mft-b{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 18px;border-radius:13px;border:1.5px solid #DCE0E8;background:#fff;
  font:700 15px/1.2 Rubik,sans-serif;color:#0E1B3D!important;text-align:center;text-decoration:none!important;transition:background .2s,border-color .2s}
body.cms-id-22 .mft-b:hover{border-color:#0E1B3D}
body.cms-id-22 .mft-b--o{background:#F26B1D;border-color:#F26B1D;color:#fff!important;box-shadow:0 8px 18px rgba(242,107,29,.25)}
body.cms-id-22 .mft-b--o:hover{background:#C4520F;border-color:#C4520F}
body.cms-id-22 .mft-b--n{background:#0E1B3D;border-color:#0E1B3D;color:#fff!important}
body.cms-id-22 .mft-b--n:hover{background:#16264F}
body.cms-id-22 .mft-b--wa{background:#128C4A;border-color:#128C4A;color:#fff!important}
body.cms-id-22 .mft-b--wa:hover{background:#0E7A3F;border-color:#0E7A3F}

/* ---------- 1. hero ---------- */
body.cms-id-22 .mft-hero{position:relative;overflow:hidden;padding:76px 0 80px;background:linear-gradient(150deg,#0E1B3D 0%,#1B3168 100%)}
body.cms-id-22 .mft-hero::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.35;
  background-image:linear-gradient(rgba(36,185,215,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(36,185,215,.12) 1px,transparent 1px);background-size:44px 44px;
  -webkit-mask-image:radial-gradient(circle at 80% 40%,#000,transparent 70%);mask-image:radial-gradient(circle at 80% 40%,#000,transparent 70%)}
body.cms-id-22 .mft-hero>.elementor-container{position:relative;z-index:1}
body.cms-id-22 .mft-hero .elementor-row{align-items:center}
body.cms-id-22 .mft-vis{position:relative;margin:0;padding:0 0 28px 28px}
body.cms-id-22 .mft-vis img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:22px;box-shadow:0 30px 60px rgba(0,0,0,.35)}
body.cms-id-22 .mft-vis__tag{position:absolute;display:grid;gap:2px;padding:12px 16px 12px 46px;border-radius:14px;background:#fff;box-shadow:0 14px 30px rgba(0,0,0,.22)}
body.cms-id-22 .mft-vis__tag::before{content:"";position:absolute;left:12px;top:50%;width:24px;height:24px;margin-top:-12px;border-radius:8px;
  background:#E3F6FA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C8FA8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat}
body.cms-id-22 .mft-vis__tag b{font:700 14.5px/1.2 Rubik,sans-serif;color:#0E1B3D}
body.cms-id-22 .mft-vis__tag span{font:500 12.5px/1.3 Manrope,sans-serif;color:#5B6275}
body.cms-id-22 .mft-vis__tag--a{left:0;bottom:0}
body.cms-id-22 .mft-vis__tag--b{right:-10px;top:22px}

/* ---------- 2. soluzioni ---------- */
body.cms-id-22 .mft-sol{padding:72px 0 76px;background:#F5F6F8}
body.cms-id-22 .mft-grid-w{width:100%}
body.cms-id-22 .mft-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
body.cms-id-22 .mft-card{position:relative;display:flex;flex-direction:column;padding:24px;border-radius:20px;background:#fff;border:1px solid #E4E7EE;
  box-shadow:0 6px 18px rgba(14,27,61,.05);transition:transform .2s,box-shadow .2s,border-color .2s}
body.cms-id-22 .mft-card:hover{transform:translateY(-3px);border-color:#0E1B3D;box-shadow:0 18px 36px rgba(14,27,61,.12)}
body.cms-id-22 .mft-card__top{display:flex;align-items:center;gap:14px;margin-bottom:14px}
body.cms-id-22 .mft-card__ic{display:grid;place-items:center;width:64px;height:64px;flex:0 0 64px;border-radius:18px;background:#F5F6F8}
body.cms-id-22 .mft-card__ic img{width:46px;height:46px;object-fit:contain}
body.cms-id-22 .mft-card__k{margin:0;font:700 12px/1.3 Rubik,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#1C8FA8}
body.cms-id-22 .mft-card h3{margin:0 0 8px;font:700 21px/1.2 Rubik,sans-serif;color:#0E1B3D}
body.cms-id-22 .mft-card__d{margin:0 0 14px;font:500 15px/1.55 Manrope,sans-serif;color:#5B6275}
body.cms-id-22 .mft-chips{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 18px;padding:0;list-style:none}
body.cms-id-22 .mft-chips li{padding:7px 11px;border-radius:999px;background:#F5F6F8;font:600 12.5px/1 Manrope,sans-serif;color:#0E1B3D}
body.cms-id-22 .mft-card__a{margin-top:auto;padding-top:14px;border-top:1px solid #EEF0F4;font:700 15px/1.2 Rubik,sans-serif;color:#C4520F!important;text-decoration:none!important}
body.cms-id-22 .mft-card__a::after{content:"";position:absolute;inset:0;border-radius:20px}
body.cms-id-22 .mft-card__a::before{content:"→";float:right;margin-left:8px;transition:transform .2s}
body.cms-id-22 .mft-card:hover .mft-card__a::before{transform:translateX(3px)}
/* scheda "consiglio" */
body.cms-id-22 .mft-other{grid-column:1 / -1;display:grid;grid-template-columns:56px minmax(0,1fr) auto;grid-template-areas:"ic t b" "ic p b";column-gap:18px;align-items:center;
  padding:22px 26px;border-radius:20px;border:2px dashed #C9CFDB;background:#fff}
body.cms-id-22 .mft-other__ic{grid-area:ic;width:56px;height:56px;border-radius:16px;
  background:#0E1B3D url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.1 9a3 3 0 0 1 5.8 1c0 2-3 3-3 3M12 17h.01'/%3E%3C/svg%3E") center/26px no-repeat}
body.cms-id-22 .mft-other h3{grid-area:t;margin:0 0 4px;font:700 21px/1.2 Rubik,sans-serif;color:#0E1B3D}
body.cms-id-22 .mft-other p{grid-area:p;margin:0;font:500 15px/1.55 Manrope,sans-serif;color:#5B6275}
body.cms-id-22 .mft-other .mft-b{grid-area:b}

/* ---------- 3. percorso ---------- */
body.cms-id-22 .mft-how{padding:72px 0;background:linear-gradient(150deg,#0E1B3D 0%,#1B3168 100%)}
body.cms-id-22 .mft-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0;padding:0;list-style:none}
body.cms-id-22 .mft-steps li{position:relative;padding:22px;border-radius:18px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12)}
body.cms-id-22 .mft-steps span{display:inline-grid;place-items:center;width:44px;height:44px;margin-bottom:14px;border-radius:13px;background:#F26B1D;font:800 16px/1 Rubik,sans-serif;color:#fff}
body.cms-id-22 .mft-steps h3{margin:0 0 6px;font:700 18px/1.25 Rubik,sans-serif;color:#fff}
body.cms-id-22 .mft-steps p{margin:0;font:500 14.5px/1.55 Manrope,sans-serif;color:#C9D1E4}

/* ---------- 4. agevolazioni ---------- */
body.cms-id-22 .mft-inc-sec{padding:56px 0;background:#fff}
body.cms-id-22 .mft-inc{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:24px;align-items:center;padding:30px 34px;border-radius:24px;background:#F5F0E6;border:1px solid #EADFCB}
body.cms-id-22 .mft-inc__ic{width:72px;height:72px;border-radius:20px;
  background:#F26B1D url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 5 5 19'/%3E%3Ccircle cx='6.5' cy='6.5' r='2.5'/%3E%3Ccircle cx='17.5' cy='17.5' r='2.5'/%3E%3C/svg%3E") center/32px no-repeat}
body.cms-id-22 .mft-inc__k{margin:0 0 6px;font:700 12px/1.2 Rubik,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#C4520F}
body.cms-id-22 .mft-inc h2{margin:0 0 6px;font:700 26px/1.2 Rubik,sans-serif;color:#0E1B3D}
body.cms-id-22 .mft-inc__txt>p:last-child{margin:0;font:500 16px/1.55 Manrope,sans-serif;color:#5B6275}

/* ---------- 5. richiesta ---------- */
body.cms-id-22 .mft-richiesta{padding:76px 0 84px;background:#F5F6F8}
body.cms-id-22 .mft-form-l .elementor-widget-wrap{position:sticky;top:150px}
body.cms-id-22 .mft-side__list{display:grid;gap:14px;margin:0 0 22px;padding:0;list-style:none}
body.cms-id-22 .mft-side__list li{position:relative;padding-left:38px}
body.cms-id-22 .mft-side__list li::before{content:"";position:absolute;left:0;top:1px;width:26px;height:26px;border-radius:8px;
  background:#E3F6FA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C8FA8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/14px no-repeat}
body.cms-id-22 .mft-side__list strong{display:block;font:700 16px/1.35 Rubik,sans-serif;color:#0E1B3D}
body.cms-id-22 .mft-side__list span{display:block;margin-top:2px;font:500 14px/1.5 Manrope,sans-serif;color:#5B6275}
body.cms-id-22 .mft-side__ct{display:grid;gap:8px;padding:18px;border-radius:18px;background:#fff;border:1px solid #E4E7EE}
body.cms-id-22 .mft-side__ct p{margin:0 0 4px;font:700 15px/1.3 Rubik,sans-serif;color:#0E1B3D}

/* form Brevo ricolorato (stesse classi del codice originale) */
body.cms-id-22 .mft-form .mf-req{--mf-verde:#0E1B3D;--mf-verde-2:#F26B1D;--mf-paglia:#F26B1D;--mf-ink:#1B2440;--mf-muted:#5B6275;--mf-line:#DCE0E8;--mf-bg:#fff;
  border:1px solid #E4E7EE;border-radius:20px;box-shadow:0 10px 30px rgba(14,27,61,.08);font-family:Manrope,sans-serif;gap:16px}
body.cms-id-22 .mft-form .mf-req input[type="text"],body.cms-id-22 .mft-form .mf-req input[type="email"],body.cms-id-22 .mft-form .mf-req input[type="tel"]{min-height:50px;border:1.5px solid #DCE0E8;border-radius:12px;font-size:16px}
body.cms-id-22 .mft-form .mf-req input:focus{border-color:#24B9D7;box-shadow:0 0 0 4px rgba(36,185,215,.15)}
body.cms-id-22 .mft-form .mf-req .mf-fld,body.cms-id-22 .mft-form .mf-req legend{font-size:14px;color:#0E1B3D}
body.cms-id-22 .mft-form .mf-req .mf-srv-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}
body.cms-id-22 .mft-form .mf-req .mf-opt{border:1.5px solid #E4E7EE;border-radius:12px;padding:12px 14px;font-size:15px}
body.cms-id-22 .mft-form .mf-req .mf-opt:has(input:checked){border-color:#F26B1D;background:#FFF5EE;color:#0E1B3D}
body.cms-id-22 .mft-form .mf-req .mf-opt:has(input:focus-visible){box-shadow:0 0 0 3px rgba(242,107,29,.3)}
body.cms-id-22 .mft-form .mf-req .mf-opt input,body.cms-id-22 .mft-form .mf-req .mf-chk input{accent-color:#F26B1D}
body.cms-id-22 .mft-form .mf-req .mf-btn{min-height:52px;padding:0 26px;border-radius:14px;background:#F26B1D;color:#fff;font:700 16px/1 Rubik,sans-serif;box-shadow:0 10px 22px rgba(242,107,29,.28)}
body.cms-id-22 .mft-form .mf-req .mf-btn:hover{filter:none;background:#C4520F}
body.cms-id-22 .mft-form .mf-req .mf-chk a{color:#C4520F}
body.cms-id-22 .mft-form .mf-req .ae-brevo-msg:not(:empty){padding:14px 16px;border-radius:12px;background:#F5F6F8;font-weight:600}

/* ---------- tablet / mobile ---------- */
@media (max-width:1024px){
  body.cms-id-22 .mft-hero{padding:56px 0}
  body.cms-id-22 .mft-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.cms-id-22 .mft-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.cms-id-22 .mft-inc{grid-template-columns:72px minmax(0,1fr)}
  body.cms-id-22 .mft-inc .mft-b{grid-column:1 / -1;justify-self:start}
  body.cms-id-22 .mft-form-l .elementor-widget-wrap{position:static}
  body.cms-id-22 .mft-vis__tag--b{right:10px}
  body.cms-id-22 .mft-richiesta .elementor-column{width:100%!important}
  body.cms-id-22 .mft-form-r{margin-top:24px}
  body.cms-id-22 .mft-side__list{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:767px){
  body.cms-id-22 .mft-full .elementor-column{width:100%!important}
  body.cms-id-22 .mft-hero{padding:40px 0 44px}
  body.cms-id-22 .mft-hero-r{margin-top:26px}
  body.cms-id-22 .mft-btn{width:100%!important;margin:0 0 10px!important}
  body.cms-id-22 .mft-btn .elementor-button{width:100%;justify-content:center}
  body.cms-id-22 .mft-vis{padding:0 0 22px}
  body.cms-id-22 .mft-vis__tag{padding:10px 12px 10px 42px}
  body.cms-id-22 .mft-vis__tag--a{left:10px}
  body.cms-id-22 .mft-vis__tag--b{display:none}
  body.cms-id-22 .mft-sol,body.cms-id-22 .mft-how,body.cms-id-22 .mft-richiesta{padding:48px 0}
  body.cms-id-22 .mft-inc-sec{padding:40px 0}
  body.cms-id-22 .mft-grid,body.cms-id-22 .mft-steps{grid-template-columns:minmax(0,1fr);gap:12px}
  body.cms-id-22 .mft-card{padding:20px}
  body.cms-id-22 .mft-card__ic{width:56px;height:56px;flex-basis:56px}
  body.cms-id-22 .mft-card__ic img{width:40px;height:40px}
  body.cms-id-22 .mft-card h3{font-size:19px}
  body.cms-id-22 .mft-other{grid-template-columns:48px minmax(0,1fr);grid-template-areas:"ic t" "p p" "b b";row-gap:10px;padding:20px}
  body.cms-id-22 .mft-other__ic{width:48px;height:48px;background-size:22px}
  body.cms-id-22 .mft-other .mft-b{width:100%}
  body.cms-id-22 .mft-steps li{display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:14px;padding:16px}
  body.cms-id-22 .mft-steps span{grid-row:span 2;margin:0}
  body.cms-id-22 .mft-steps h3{margin:2px 0 4px}
  body.cms-id-22 .mft-inc{grid-template-columns:minmax(0,1fr);gap:14px;padding:24px 20px;text-align:left}
  body.cms-id-22 .mft-inc__ic{width:56px;height:56px;background-size:26px}
  body.cms-id-22 .mft-inc h2{font-size:22px}
  body.cms-id-22 .mft-inc .mft-b{width:100%}
  body.cms-id-22 .mft-form .mf-req{padding:18px 14px}
  body.cms-id-22 .mft-form .mf-req .mf-srv-grid{grid-template-columns:minmax(0,1fr)}
  body.cms-id-22 .mft-form .mf-req .mf-opt{padding:10px 12px;font-size:14px}
  body.cms-id-22 .mft-side__list{grid-template-columns:minmax(0,1fr)}
}











/* ===== Conferma ordine (body#order-confirmation) Manferdini 2026 – CSS per custom.css del child theme =====
   Vale solo su body#order-confirmation. Hero navy con spunta ciano, scheda articoli + riepilogo affiancati.
   Il CSS cambia solo la grafica: righe, testi e logica restano quelli di PrestaShop e dei moduli. */
body#order-confirmation{--mf-navy:#0E1B3D;--mf-orange:#F26B1D;--mf-orange-txt:#C4520F;--mf-cyan:#24B9D7;--mf-cyan-txt:#1C8FA8;--mf-border:#E4E7EE;--mf-soft:#F5F6F8;--mf-muted:#5B6275}
body#order-confirmation #main{padding-top:8px}

/* ---------- 1. hero "Il tuo ordine è stato confermato" ---------- */
body#order-confirmation #content-hook_order_confirmation{position:relative;overflow:hidden;margin:0 0 18px;border:0;border-radius:20px;
  background:linear-gradient(150deg,#0E1B3D 0%,#1B3168 100%);box-shadow:0 24px 50px rgba(14,27,61,.18)}
body#order-confirmation #content-hook_order_confirmation::after{content:"";position:absolute;right:-110px;bottom:-130px;width:320px;height:320px;border-radius:50%;
  border:48px solid rgba(242,107,29,.14);pointer-events:none}
body#order-confirmation #content-hook_order_confirmation .card-block{position:relative;z-index:1;padding:40px 44px!important}
body#order-confirmation #content-hook_order_confirmation .row{margin:0}
body#order-confirmation #content-hook_order_confirmation .col-md-12{max-width:780px;padding:0}
body#order-confirmation #content-hook_order_confirmation .card-title{display:flex;align-items:center;gap:16px;margin:0 0 14px!important;padding:0!important;border:0!important;
  font:700 32px/1.15 Rubik,sans-serif!important;color:#fff!important;text-transform:none!important}
/* spunta centrata nel cerchio (il tema la forza a blocco con padding e margine) */
body#order-confirmation #content-hook_order_confirmation .card-title .done{display:grid!important;place-items:center;flex:0 0 52px;width:52px!important;height:52px!important;
  margin:0!important;padding:0!important;border-radius:50%;background:var(--mf-cyan);color:var(--mf-navy)!important;font-size:30px!important;line-height:1!important;
  box-shadow:0 0 0 8px rgba(36,185,215,.18)}
/* testo email + link fattura, allineati al titolo */
body#order-confirmation #content-hook_order_confirmation .col-md-12>p{margin:0 0 0 68px;font:500 16px/1.6 Manrope,sans-serif;color:#C9D1E4}
body#order-confirmation #content-hook_order_confirmation .col-md-12>p a{font-weight:700;color:#fff!important;text-decoration:underline;text-decoration-color:var(--mf-orange);
  text-decoration-thickness:2px;text-underline-offset:4px}
body#order-confirmation #content-hook_order_confirmation .col-md-12>p a:hover{color:var(--mf-orange)!important}
/* messaggio del modulo di pagamento (Link via Stripe): riquadro, niente <br> doppi */
body#order-confirmation #content-hook_order_confirmation .col-md-12>br,
body#order-confirmation #content-hook_order_confirmation .col-md-12>p+p br{display:none}
body#order-confirmation #content-hook_order_confirmation .col-md-12>p+p{margin-top:22px;padding:16px 18px;border-radius:14px;background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);font-size:15px}
body#order-confirmation #content-hook_order_confirmation .col-md-12>p+p b{color:#fff;font-weight:700;letter-spacing:.02em}
body#order-confirmation #content-hook_order_confirmation .col-md-12>p+p>b:first-child{display:block;margin-bottom:6px;font:700 16px/1.35 Rubik,sans-serif;letter-spacing:0}

/* ---------- 2. scheda articoli + dettagli ---------- */
body#order-confirmation #content.page-content{margin:0 0 18px;padding:0;border:0;border-radius:20px;background:#fff;
  box-shadow:0 1px 2px rgba(14,27,61,.05),0 10px 30px rgba(14,27,61,.06)}
body#order-confirmation #content>.card-block{padding:28px!important}
body#order-confirmation #content>.card-block>.row{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;align-items:start;margin:0}
body#order-confirmation #content>.card-block>.row::before,body#order-confirmation #content>.card-block>.row::after{content:none}
body#order-confirmation #content>.card-block>.row>*{float:none;width:auto;max-width:none;padding:0;border:0}
body#order-confirmation #content>.card-block>.row>:not(#order-items):not(#order-details){grid-column:1 / -1}

/* intestazione colonne (come la tabella dello storico ordini) */
body#order-confirmation #order-items>.row{display:grid;grid-template-columns:minmax(0,1fr) repeat(3,110px);align-items:center;margin:0 0 4px;padding:12px 16px;
  border-radius:12px;background:var(--mf-soft)}
body#order-confirmation #order-items>.row::before,body#order-confirmation #order-items>.row::after{content:none}
body#order-confirmation #order-items>.row>.card-title{float:none;width:auto;max-width:none;margin:0!important;padding:0!important;border:0!important;text-align:center;
  font:700 12px/1.2 Rubik,sans-serif!important;letter-spacing:.08em;text-transform:uppercase;color:var(--mf-muted)!important}
body#order-confirmation #order-items>.row>.card-title:first-child{text-align:left}
body#order-confirmation #order-items>.row>.card-title:last-child{text-align:right}

/* righe prodotto: immagine | descrizione | prezzo, quantità, totale */
body#order-confirmation .order-confirmation-table{margin:0;padding:0;border:0;background:none}
body#order-confirmation .order-line{display:grid;grid-template-columns:80px minmax(0,1fr) 330px;column-gap:18px;align-items:center;margin:0;padding:16px;
  border-bottom:1px solid #EEF0F4}
body#order-confirmation .order-line::before,body#order-confirmation .order-line::after{content:none}
body#order-confirmation .order-line>[class*=col-]{float:none;width:auto;max-width:none;padding:0}
body#order-confirmation .order-line .image{display:block}
body#order-confirmation .order-line .image img{display:block;width:80px;height:80px;object-fit:cover;border-radius:12px;border:1px solid var(--mf-border);background:var(--mf-soft)}
body#order-confirmation .order-line .details{font:600 15px/1.5 Manrope,sans-serif;color:var(--mf-navy)}
body#order-confirmation .order-line .details>span:first-child::first-letter{text-transform:uppercase}
body#order-confirmation .order-line .details a{color:var(--mf-navy)!important}
body#order-confirmation .order-line .qty>.row{display:grid;grid-template-columns:repeat(3,110px);align-items:center;margin:0}
body#order-confirmation .order-line .qty>.row::before,body#order-confirmation .order-line .qty>.row::after{content:none}
body#order-confirmation .order-line .qty>.row>div{float:none;width:auto;max-width:none;padding:0;text-align:center!important;font:600 15px/1.2 Rubik,sans-serif;color:var(--mf-navy)}
body#order-confirmation .order-line .qty>.row>div:last-child{text-align:right!important;font:700 17px/1.2 Rubik,sans-serif}
body#order-confirmation .order-confirmation-table hr{display:none}

/* totali (come il riepilogo del carrello) */
body#order-confirmation .order-confirmation-table table{width:100%;max-width:400px;margin:18px 0 0 auto;border-collapse:collapse}
body#order-confirmation .order-confirmation-table tr{background:none!important}
body#order-confirmation .order-confirmation-table td{padding:6px 16px;border:0;background:none!important;text-align:left;font:500 15px/1.4 Manrope,sans-serif;color:var(--mf-muted)}
body#order-confirmation .order-confirmation-table td:last-child{text-align:right;white-space:nowrap;font-weight:600;color:var(--mf-navy)}
body#order-confirmation .order-confirmation-table td .text-uppercase{text-transform:none!important}
body#order-confirmation .order-confirmation-table tr.total-value td{padding-top:14px;border-top:1px solid var(--mf-border)}
body#order-confirmation .order-confirmation-table tr.total-value td:first-child{font:600 16px/1.3 Rubik,sans-serif;color:var(--mf-navy)}
body#order-confirmation .order-confirmation-table tr.total-value td:last-child{font:700 26px/1.1 Rubik,sans-serif;color:var(--mf-navy)}

/* dettagli ordine: pannello grigio a destra, fisso durante lo scroll */
body#order-confirmation #order-details{position:sticky;top:130px;padding:22px!important;border-radius:16px;background:var(--mf-soft)}
body#order-confirmation #order-details .card-title{margin:0 0 6px!important;padding:0!important;border:0!important;
  font:700 12px/1.2 Rubik,sans-serif!important;letter-spacing:.12em;text-transform:uppercase;color:var(--mf-cyan-txt)!important}
body#order-confirmation #order-details ul{margin:0;padding:0;list-style:none}
body#order-confirmation #order-details li{position:relative;margin:0;padding:12px 0 12px 32px;border-top:1px solid var(--mf-border);
  font:600 15px/1.45 Manrope,sans-serif;color:var(--mf-navy);overflow-wrap:anywhere}
body#order-confirmation #order-details li:first-child{border-top:0}
body#order-confirmation #order-details li::before{content:"";position:absolute;left:0;top:13px;width:20px;height:20px;background:var(--mf-orange-txt);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20'/%3E%3C/svg%3E") center/contain no-repeat}
body#order-confirmation #order-details #order-reference-value::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9h16M4 15h16M10 3 8 21M16 3l-2 18'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9h16M4 15h16M10 3 8 21M16 3l-2 18'/%3E%3C/svg%3E")}

/* blocchi vuoti del tema (hook footer, page-footer con solo un commento) */
body#order-confirmation #content-hook-order-confirmation-footer:not(:has(*)),
body#order-confirmation #main>.page-footer:not(:has(*)){display:none}

/* ordine da ospite: modulo "salva il tuo account" (se attivo) */
body#order-confirmation #registration-form{margin:0 0 18px;border:0;border-radius:20px;background:#fff;box-shadow:0 1px 2px rgba(14,27,61,.05),0 10px 30px rgba(14,27,61,.06)}
body#order-confirmation #registration-form .card-block{padding:28px!important}
body#order-confirmation #registration-form h4{margin:0 0 18px;font:700 20px/1.3 Rubik,sans-serif;color:var(--mf-navy)}
body#order-confirmation #registration-form .form-control-label{text-align:left;font:600 14px/1.3 Manrope,sans-serif;color:var(--mf-navy)}
body#order-confirmation #registration-form .form-control{height:50px;padding:0 16px;border:1.5px solid #DCE0E8;border-radius:12px;background:#fff;
  font:500 16px/1.2 Manrope,sans-serif;color:#1B2440;box-shadow:none}
body#order-confirmation #registration-form .form-control:focus{border-color:var(--mf-cyan);box-shadow:0 0 0 4px rgba(36,185,215,.15);outline:0}
body#order-confirmation #registration-form .input-group .form-control{border-radius:12px 0 0 12px}
body#order-confirmation #registration-form .input-group-btn .btn{height:50px;padding:0 16px;border:1.5px solid #DCE0E8;border-left:0;border-radius:0 12px 12px 0;
  background:var(--mf-soft);font:700 13px/1 Rubik,sans-serif;color:var(--mf-navy);text-transform:none}
body#order-confirmation #registration-form .form-control-submit{float:none!important;height:52px;padding:0 34px;border:0;border-radius:14px;background:var(--mf-orange)!important;
  font:700 16px/1 Rubik,sans-serif;color:#fff!important;text-transform:none;box-shadow:0 8px 18px rgba(242,107,29,.25);transition:background .2s}
body#order-confirmation #registration-form .form-control-submit:hover{background:var(--mf-orange-txt)!important}

/* ---------- tablet / mobile ---------- */
@media (max-width:991px){
  body#order-confirmation #content>.card-block>.row{grid-template-columns:minmax(0,1fr);gap:20px}
  body#order-confirmation #order-details{position:static}
}
@media (max-width:767px){
  body#order-confirmation #content-hook_order_confirmation{border-radius:16px}
  body#order-confirmation #content-hook_order_confirmation .card-block{padding:28px 20px!important}
  body#order-confirmation #content-hook_order_confirmation .card-title{gap:12px;font-size:24px!important}
  body#order-confirmation #content-hook_order_confirmation .card-title .done{flex-basis:42px;width:42px!important;height:42px!important;font-size:24px!important;box-shadow:0 0 0 6px rgba(36,185,215,.18)}
  body#order-confirmation #content-hook_order_confirmation .col-md-12>p{margin-left:0;font-size:15px}
  body#order-confirmation #content.page-content{border-radius:16px}
  body#order-confirmation #content>.card-block{padding:18px!important}
  body#order-confirmation #order-items>.row{display:none}
  body#order-confirmation .order-line{grid-template-columns:72px minmax(0,1fr);row-gap:12px;padding:14px 0}
  body#order-confirmation .order-line .image img{width:72px;height:72px;border-radius:10px}
  body#order-confirmation .order-line .details{font-size:14px}
  body#order-confirmation .order-line .qty{grid-column:1 / -1}
  body#order-confirmation .order-line .qty>.row{grid-template-columns:repeat(3,minmax(0,1fr));padding:10px 12px;border-radius:12px;background:var(--mf-soft)}
  body#order-confirmation .order-line .qty>.row>div:first-child{text-align:left!important}
  /* l'intestazione è nascosta: ogni valore porta la sua etichetta */
  body#order-confirmation .order-line .qty>.row>div::before{display:block;margin-bottom:4px;font:700 11px/1.2 Rubik,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:var(--mf-muted)}
  body#order-confirmation .order-line .qty>.row>div:nth-child(1)::before{content:"Prezzo"}
  body#order-confirmation .order-line .qty>.row>div:nth-child(2)::before{content:"Quantità"}
  body#order-confirmation .order-line .qty>.row>div:nth-child(3)::before{content:"Totale"}
  body#order-confirmation .order-confirmation-table table{max-width:none}
  body#order-confirmation .order-confirmation-table td{padding:6px 0}
  body#order-confirmation .order-confirmation-table tr.total-value td:last-child{font-size:23px}
  body#order-confirmation #order-details{padding:18px!important}
  body#order-confirmation #registration-form .form-control-submit{width:100%}
}





/* ===== Recupero password (body#password) Manferdini 2026 – CSS per custom.css del child theme =====
   Richiede la Parte A di storico-ordini-customcss.css (titolo e link "Torna alla login" dell'area cliente: la pagina ha page-customer-account).
   Copre le 3 viste di body#password: richiesta link (form.forgotten-password), conferma invio (ul.ps-alert-success),
   nuova password dal link ricevuto (form con .form-group.row). */

/* scheda */
body#password #content form{max-width:640px;margin:0;padding:32px;background:#fff;border:1px solid #E4E7EE;border-radius:20px;box-shadow:0 6px 18px rgba(14,27,61,.05)}
body#password #content form::before{content:"";display:block;width:52px;height:52px;margin:0 0 18px;border-radius:14px;
  background:#FFF3EB url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C4520F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center/24px no-repeat}
body#password .forgotten-password>header{margin:0 0 22px}
body#password .send-renew-password-link{margin:0;font:500 16px/1.6 Manrope,sans-serif;color:#5B6275}
body#password #content .form-fields{margin:0}

/* richiesta link: etichetta sopra, email + pulsante sulla stessa riga */
body#password .forgotten-password .center-email-fields{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:7px 12px;align-items:end;margin:0;padding:0}
body#password .forgotten-password .center-email-fields>.form-control-label{grid-column:1 / -1}
body#password .forgotten-password .center-email-fields>.email{float:none;width:auto;max-width:none;padding:0}

/* etichette */
body#password #content .form-control-label{float:none;width:auto;max-width:none;margin:0 0 7px;padding:0!important;text-align:left!important;
  font:600 14px/1.3 Manrope,sans-serif;color:#0E1B3D}
body#password #content .form-control-label.required::after{content:" *";color:#C4520F}

/* campi (come Dati personali) */
body#password #content .form-control{height:50px;padding:0 16px;border:1.5px solid #DCE0E8!important;border-radius:12px!important;background:#fff!important;
  font:500 16px/1.2 Manrope,sans-serif;color:#1B2440;box-shadow:none!important;transition:border-color .2s,box-shadow .2s}
body#password #content .form-control:hover{border-color:#B9C0CE!important}
body#password #content .form-control:focus{border-color:#24B9D7!important;box-shadow:0 0 0 4px rgba(36,185,215,.15)!important;outline:0}
body#password #content .form-control::placeholder{color:#A0A6B5}

/* nuova password: righe impilate, password + "Mostra" uniti */
body#password #content .form-group.row{display:flex;flex-direction:column;flex-wrap:nowrap;margin:0 0 18px}
body#password #content .form-group.row::before,body#password #content .form-group.row::after{content:none}
body#password #content .form-group.row>[class*="col-"]{flex:none;float:none;width:100%!important;max-width:100%;padding:0!important}
body#password #content .form-fields>label{display:block;margin:0 0 18px;font:500 15px/1.5 Manrope,sans-serif;color:#5B6275}
body#password #content .input-group{display:flex;width:100%;border:1.5px solid #DCE0E8;border-radius:12px;background:#fff;overflow:hidden;transition:border-color .2s,box-shadow .2s}
body#password #content .input-group:focus-within{border-color:#24B9D7;box-shadow:0 0 0 4px rgba(36,185,215,.15)}
body#password #content .input-group .form-control{flex:1;min-width:0;height:47px;border:0!important;border-radius:0!important;box-shadow:none!important}
body#password #content .input-group-btn{display:flex;width:auto}
body#password #content .input-group-btn .btn{height:100%;margin:0;padding:0 16px;border:0!important;border-left:1px solid #EEF0F4!important;border-radius:0;
  background:#F5F6F8!important;font:700 13px/1 Rubik,sans-serif;color:#0E1B3D!important;text-transform:none;box-shadow:none}
body#password #content .input-group-btn .btn:hover{background:#E9ECF2!important}
body#password #content .password-strength-feedback{margin-top:8px;font:500 13px/1.4 Manrope,sans-serif}
body#password #content .password-strength-feedback .progress{height:6px;border-radius:999px;background:#EEF0F4}
body#password #content .password-requirements{margin-top:6px;font:500 13px/1.5 Manrope,sans-serif;color:#5B6275}

/* pulsanti arancio (come login e registrazione). Le classi hidden-* del tema restano attive:
   "Invia link di reset" su desktop, "Invia" su telefono */
body#password #content .form-control-submit,body#password #content form .btn-primary{float:none!important;display:inline-flex;align-items:center;justify-content:center;
  height:50px;margin:0!important;padding:0 26px;border:0!important;border-radius:14px!important;background:#F26B1D!important;color:#fff!important;
  font:700 16px/1 Rubik,sans-serif;text-transform:none;white-space:nowrap;box-shadow:0 8px 18px rgba(242,107,29,.25);transition:background .2s}
body#password #content .form-control-submit:hover,body#password #content form .btn-primary:hover{background:#C4520F!important}
body#password #content .form-control-submit:focus-visible,body#password #content form .btn-primary:focus-visible{outline:3px solid #24B9D7;outline-offset:2px}
body#password #content .form-footer{display:flex;justify-content:flex-end;margin-top:24px;padding-top:22px;border-top:1px solid #EEF0F4}
body#password #content .form-footer .btn-primary{height:52px;padding:0 34px}

/* messaggi di PrestaShop: errore (rosso) e link inviato (verde) */
body#password .ps-alert-error:not(:has(li)),body#password .ps-alert-success:not(:has(li)){display:none}
body#password .ps-alert-error,body#password .ps-alert-success{max-width:640px;margin:0 0 18px;padding:0;list-style:none}
body#password .ps-alert-error .item,body#password .ps-alert-success .item{display:flex;align-items:center;gap:12px;margin:0 0 8px;padding:14px 16px;border:0!important;border-radius:14px;
  font:600 15px/1.45 Manrope,sans-serif}
body#password .ps-alert-error .item{background:#FEF3F2;color:#B42318}
body#password .ps-alert-success .item{background:#ECFDF3;color:#067647}
body#password .ps-alert-error .item i,body#password .ps-alert-success .item i{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;margin:0;border:0!important;border-radius:50%}
body#password .ps-alert-error .item i{background:#D92D20}
body#password .ps-alert-success .item i{background:#12B76A}
body#password .ps-alert-error .item svg,body#password .ps-alert-success .item svg{width:18px;height:18px;background:none!important}
body#password .ps-alert-error .item p,body#password .ps-alert-success .item p{margin:0;padding:0!important;background:none!important;color:inherit}
/* il messaggio d'errore sta dentro la scheda: niente margine doppio sopra l'intro */
body#password .forgotten-password>.ps-alert-error:has(li){margin-bottom:20px}

/* mobile */
@media (max-width:767px){
  body#password #content form{padding:22px 18px;border-radius:16px}
  body#password #content form::before{width:46px;height:46px;border-radius:13px;margin-bottom:14px}
  body#password .send-renew-password-link{font-size:15px}
  body#password .forgotten-password .center-email-fields{grid-template-columns:minmax(0,1fr);gap:7px}
  body#password .forgotten-password .center-email-fields>.email{margin-bottom:6px}
  body#password #content .form-control-submit,body#password #content form .btn-primary{width:100%}
}











a.ce-product-meta__value {
    color: #0E1B3D !important;
}

.product-flags li.product-flag{
    background: #F26B1F;
    border-radius: 10px;
}

#wrapper .breadcrumb{
    margin-top: 20px;
}

.elementor-cart--buttons-inline .elementor-cart__footer-buttons{
    grid-template-columns: 100% !important;
}