.elementor-1343 .elementor-element.elementor-element-2ede44c{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1343 .elementor-element.elementor-element-2ede44c.e-con{--flex-grow:0;--flex-shrink:0;}@media(max-width:767px){.elementor-1343 .elementor-element.elementor-element-2ede44c{--width:304.8px;}}/* Start custom CSS for shortcode, class: .elementor-element-732d6d7 */.ec-prodotto-immagine{
  position: relative !important;
  top: auto !important;

}
.ec-prodotto-immagine img{
  transition: transform .35s cubic-bezier(.25,1,.5,1) !important;
}
.ec-prodotto-immagine:hover img{
  transform: scale(1.035) !important;
}
 
/* ---------- 2. Riordino: eyebrow marca/categoria sopra al titolo ---------- */
.ec-prodotto-dati{
  display: flex !important;
  flex-direction: column !important;
}
.ec-titolo{ order: 2 !important; margin-top: 0 !important; }
.ec-separatore{ order: 3 !important; }
.ec-descrizione-breve{ order: 4 !important; }
.ec-prezzo{ order: 5 !important; }
.ec-carrello{ order: 6 !important; }
.ec-meta{
  order: 1 !important;
  border-top: none !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 16px !important;
}
.ec-meta .ec-categoria{
  font-family: 'Inter', sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
  color: #94a3b8 !important;
}
.ec-meta .ec-categoria a{
  background: #eafaf0 !important;
  color: #1a7a3c !important;
  border: 1px solid #cdeedd !important;
  border-radius: 100px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}
.ec-meta .ec-categoria a:hover{
  background: #61ce70 !important;
  color: #fff !important;
  border-color: #61ce70 !important;
}
 
/* ---------- 3. Titolo: dimensione fluida invece del salto secco al breakpoint ---------- */
.ec-titolo{
  font-size: clamp(24px, 5vw + 8px, 42px) !important;
  letter-spacing: -.5px !important;
}
@media (max-width: 768px){
  .ec-titolo{ font-size: clamp(22px, 7vw, 30px) !important; }
}
 
/* ---------- 4. Elenco caratteristiche: da bullet piatti a card con icona ---------- */
.ec-descrizione-breve{ margin-bottom: 24px !important; }
.ec-descrizione-breve ul{
  list-style: none !important;
  margin: 0 0 4px !important;
  padding: 0 !important;
  display: grid !important;
  gap: 10px !important;
}
.ec-descrizione-breve li{
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  margin-bottom: 0 !important;
  background: #f8fafc !important;
  border: 1px solid #eef2f5 !important;
  border-radius: 14px !important;
  padding: 13px 15px !important;
  font-size: 14.5px !important;
  line-height: 1.55 !important;
  color: #475569 !important;
}
.ec-descrizione-breve li::before{
  content: "" !important;
  flex: 0 0 28px !important;
  width: 28px !important;
  height: 28px !important;
  margin-top: 1px !important;
  border-radius: 8px !important;
  background-color: #61ce70 !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 14px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") !important;
}
.ec-descrizione-breve li b{
  display: block !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  margin-bottom: 2px !important;
}
.ec-descrizione-breve h3{
  margin: 14px 0 0 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  color: #9a5b12 !important;
  background: #fff7ed !important;
  border: 1px solid #fed7aa !important;
  padding: 12px 14px !important;
  border-radius: 12px !important;
}
 
/* ---------- 5. Prezzo: due varianti gestite via selettore, senza toccare l'HTML ---------- */
.ec-prezzo{
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin-bottom: 20px !important;
}
.ec-prezzo::after{ display: none !important; }
 
.ec-prezzo .amount{
  font-family: 'Poppins', sans-serif !important;
  font-size: clamp(24px, 4vw + 8px, 32px) !important;
  font-weight: 800 !important;
  color: #0f172a !important;
}
 
.ec-prezzo a[href*="/login"]{
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  padding: 15px 16px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  text-decoration: none !important;
}
.ec-prezzo a[href*="/login"]::before{
  content: "" !important;
  flex: 0 0 34px !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 9px !important;
  background-color: #e2e8f0 !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 16px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E") !important;
}
.ec-prezzo a[href*="/login"]:hover{
  border-color: #61ce70 !important;
  background: #f0fdf4 !important;
}
 
/* ---------- 6. Selettore varianti "Potenza": da radio-list spoglia a chip premium ---------- */
.ec-carrello table.variations th.label label{
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  font-size: 12.5px !important;
  color: #0f172a !important;
  text-transform: uppercase !important;
  letter-spacing: .05em !important;
}
.ec-carrello table.variations th.label .woo-selected-variation-item-name{
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  color: #61ce70 !important;
}
.ec-carrello .variable-items-wrapper{
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}
.ec-carrello .variable-item.button-variable-item{
  border: 1.5px solid #e2e8f0 !important;
  background: #fff !important;
  border-radius: 10px !important;
  transition: .2s ease !important;
}
.ec-carrello .variable-item.button-variable-item .variable-item-contents{
  padding: 9px 15px !important;
}
.ec-carrello .variable-item.button-variable-item .variable-item-span{
  font-family: 'Poppins', sans-serif !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  color: #334155 !important;
}
.ec-carrello .variable-item.button-variable-item:hover{
  border-color: #61ce70 !important;
}
.ec-carrello .variable-item.button-variable-item.selected,
.ec-carrello .variable-item.button-variable-item[aria-checked="true"]{
  background: linear-gradient(135deg, #61ce70, #4ade80) !important;
  border-color: #4ade80 !important;
  box-shadow: 0 6px 14px -4px rgba(97,206,112,.5) !important;
}
.ec-carrello .variable-item.button-variable-item.selected .variable-item-span,
.ec-carrello .variable-item.button-variable-item[aria-checked="true"] .variable-item-span{
  color: #fff !important;
}
.ec-carrello .reset_variations{
  display: inline-block !important;
  margin-top: 10px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 12.5px !important;
  color: #94a3b8 !important;
}
 
/* ---------- 7. Quantità: bordo sempre visibile (non solo su mobile) ---------- */
.ec-carrello form.cart div.quantity input.qty{
  border-width: 1.5px !important;
  border-style: solid !important;
  border-color: #e2e8f0 !important;
  border-radius: 10px !important;
}
.ec-carrello form.cart div.quantity input.qty:focus{
  border-color: #61ce70 !important;
  outline: none !important;
}
 
/* ---------- 8. Card prodotto: raggio leggermente più contenuto, aria SaaS ---------- */
@media (min-width: 769px){
  .ec-prodotto-wrapper{ border-radius: 24px !important; }
}
 
/* ---------- 9. FIX bug preesistente su desktop/tablet (bottone a 3 righe) ---------- */
@media (min-width: 769px){
  .ec-carrello form.cart{
    display: block !important;
    width: 100% !important;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
  }
  .ec-carrello .woocommerce-variation-add-to-cart{
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
  }
  .ec-carrello form.cart button.single_add_to_cart_button{
    flex: 1 1 auto !important;
  }
  .ec-carrello form.cart div.quantity{
    flex: 0 0 auto !important;
  }
}
 
/* ---------- 10. Barra d'acquisto fissa su mobile (creata dallo snippet PHP) ---------- */
.ec-sticky-buybar{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -8px 24px -12px rgba(15,23,42,.15);
  padding: 10px 14px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  transform: translateY(100%);
  transition: transform .25s ease;
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
}
.ec-sticky-buybar.is-visible{ transform: translateY(0); }
.ec-sticky-buybar__info{ flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ec-sticky-buybar__title{ font-size: 11.5px; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ec-sticky-buybar__price{ font-size: 13.5px; font-weight: 700; color: #0f172a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ec-sticky-buybar__btn{
  flex: 0 0 auto;
  background: linear-gradient(135deg, #61ce70, #4ade80);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
}
.ec-sticky-buybar__btn.is-disabled{ opacity: .5; cursor: not-allowed; }
@media (min-width: 769px){
  .ec-sticky-buybar{ display: none !important; }
}
 
/* ---------- 11. Link rapido WhatsApp (creato dallo snippet PHP) ---------- */
.ec-help-whatsapp{
  order: 7 !important;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: #128c4a;
  text-decoration: none;
}
.ec-help-whatsapp:hover{ text-decoration: underline; }
.ec-help-whatsapp svg{ flex: 0 0 auto; color: #25D366; }


/* =======================================================
   FIX PULIZIA: RIMOZIONE SFONDI GRIGI E PREZZO DOPPIO
======================================================= */

/* 1. Rimuove il fastidioso sfondo grigio da tutta l'area varianti */
.ec-carrello table.variations,
.ec-carrello table.variations tbody,
.ec-carrello table.variations tr,
.ec-carrello table.variations th,
.ec-carrello table.variations td,
.ec-carrello .value {
    background-color: transparent !important;
    background: none !important;
    box-shadow: none !important;
}

/* 2. Nasconde forzatamente il prezzo doppio e giallo in basso */
.ec-carrello .woocommerce-variation-price,
.ec-carrello .woocommerce-variation .price,
.ec-carrello .single_variation .price {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 3. Nasconde definitivamente la scritta "Svuota" */
.ec-carrello a.reset_variations {
    display: none !important;
}

/* OPZIONE 2: Niente box, solo l'immagine pulita */
.ec-prodotto-wrapper {
    align-items: start !important;
}
.ec-prodotto-immagine {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}
.ec-prodotto-immagine img {
    margin-top: 40px !important; /* Spinge l'inverter in giù per allinearlo esattamente al Titolo */
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.1)) !important; /* Mantiene una leggera ombra 3D */
}

/* =======================================================
   FIX SPAZIATURA: Compattamento colonna testi
======================================================= */

.ec-meta {
    margin-bottom: 0px !important; /* Avvicina l'etichetta categoria al titolo */
}

.ec-titolo {
    margin-bottom: 5px !important; /* Riduce lo spazio sotto l'H1 */
}

.ec-separatore {
    margin-bottom: 5px !important; /* Avvicina la barra verde alla descrizione */
}

.ec-descrizione-breve {
    margin-bottom: 16px !important; /* Avvicina i bullet point al prezzo (prima era 24px) */
}

.ec-prezzo {
    margin-bottom: 1px !important; /* Avvicina il prezzo al bottone del carrello (prima era 20px) */
}
/* =======================================================
   FIX SPAZIATURA: Elementi dell'elenco caratteristiche
======================================================= */

.ec-descrizione-breve ul {
    gap: 0px !important; /* Riduce la distanza esterna tra un box e l'altro (prima era 10px) */
}

.ec-descrizione-breve li {
    padding: 10px 14px !important; /* Riduce lo spazio interno al box per snellirlo (prima era 13px 15px) */
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-2ede44c *//* =======================================================
   SCHEDA PRODOTTO B2B - PREMIUM DESIGN (ENERGY CONNECT)
   ======================================================= */

/* 1. Contenitore Principale (Effetto Card Gigante) */
.ec-prodotto-wrapper {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 40px auto 80px auto;
    padding: 50px;
    background: #ffffff;
    border-radius: 30px;
    box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.05); /* Ombra ultra-morbida */
    font-family: 'Inter', sans-serif;
}

/* 2. Colonna Immagine (Effetto Studio 3D) */
.ec-prodotto-immagine {
    background: linear-gradient(145deg, #f8fafc, #f1f5f9);
    border-radius: 24px;
    padding: 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: inset 0 2px 15px rgba(255,255,255,1), 0 10px 30px -10px rgba(0,0,0,0.03);
}

/* Ombra direttamente sull'oggetto e animazione Hover */
.ec-prodotto-immagine img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 25px rgba(0,0,0,0.1));
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.ec-prodotto-immagine:hover img {
    transform: scale(1.06) translateY(-5px);
}

/* 3. Tipografia e Testi */
.ec-titolo {
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

/* Separatore con gradiente brand */
.ec-separatore {
    width: 70px;
    height: 5px;
    background: linear-gradient(90deg, #61ce70, #34d399);
    margin-bottom: 30px;
    border-radius: 5px;
}

.ec-descrizione-breve {
    font-size: 16px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 35px;
}

/* Prezzo con Badge B2B automatico */
.ec-prezzo {
    font-family: 'Poppins', sans-serif;
    font-size: 34px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 35px;
    display: flex;
    align-items: center;
}

.ec-prezzo::after {
    content: "Prezzo ";
    font-size: 12px;
    text-transform: uppercase;
    background: #e2e8f0;
    color: #475569;
    padding: 5px 12px;
    border-radius: 20px;
    margin-left: 20px;
    letter-spacing: 1px;
    font-weight: 600;
}

/* 4. Carrello (Pillola Unificata Moderna) */
.ec-carrello form.cart {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    margin-bottom: 30px !important;
    background: #f8fafc !important;
    padding: 12px !important;
    border-radius: 16px !important;
    border: 1px solid #e2e8f0 !important;
    width: fit-content;
}

.ec-carrello form.cart div.quantity input.qty {
    width: 60px !important;
    height: 50px !important;
    border: none !important;
    background: transparent !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    padding: 0 !important;
    text-align: center !important;
    box-shadow: none !important;
}

/* Pulsante Verde con Glow Effect */
.ec-carrello form.cart button.single_add_to_cart_button {
    background: linear-gradient(135deg, #61ce70, #4ade80) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    height: 54px !important;
    padding: 0 35px !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
    cursor: pointer !important;
    box-shadow: 0 10px 20px -5px rgba(97, 206, 112, 0.4) !important;
}

.ec-carrello form.cart button.single_add_to_cart_button:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 30px -5px rgba(97, 206, 112, 0.6) !important;
}

/* Nasconde le freccette del browser */
.ec-carrello form.cart div.quantity input.qty::-webkit-outer-spin-button,
.ec-carrello form.cart div.quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* 5. Categoria (Stile Badge Navigabile) */
.ec-meta {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #64748b;
    border-top: 1px solid #e2e8f0;
    padding-top: 25px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ec-meta a {
    background: #f1f5f9;
    color: #0f172a;
    padding: 6px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.ec-meta a:hover {
    background: #61ce70;
    color: #ffffff;
}

/* 6. Ottimizzazione Mobile (Versione Definitiva) */
@media (max-width: 768px) {
    .ec-prodotto-wrapper {
        grid-template-columns: 100%;
        gap: 25px;
        padding: 25px 20px;
        margin: 15px auto;
        border-radius: 20px;
        box-sizing: border-box !important;
        width: calc(100% - 30px); /* Previene sbordamenti del contenitore principale */
    }
    
    .ec-prodotto-immagine {
        padding: 25px;
    }
    
    .ec-titolo {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .ec-prezzo {
        font-size: 28px;
        flex-wrap: wrap;
        gap: 10px;
    }

    /* --- FIX CARRELLO SMARTPHONE --- */
    .ec-carrello form.cart {
        width: 100% !important;
        flex-direction: column !important; /* Impila gli elementi dall'alto in basso */
        gap: 15px !important;
        padding: 15px !important;
        box-sizing: border-box !important;
    }
    
    .ec-carrello form.cart div.quantity {
        width: 100% !important;
    }

    .ec-carrello form.cart div.quantity input.qty {
        width: 100% !important; /* Quantità a larghezza intera */
        border: 2px solid #e2e8f0 !important;
        background: #ffffff !important;
    }
    
    .ec-carrello form.cart button.single_add_to_cart_button {
        width: 100% !important; /* Pulsante a larghezza intera */
        margin-left: 0 !important;
        white-space: normal !important; /* Permette al testo di andare a capo se serve senza sfondare i bordi */
        font-size: 15px !important;
        height: auto !important;
        min-height: 54px !important;
        padding: 12px 10px !important;
    }
}/* End custom CSS */