.elementor-kit-7{--e-global-color-primary:#008BB7;--e-global-color-primary_hover:#7AA2C4;--e-global-color-text:#4B4B4B;--e-global-color-text_light:#8A8A8A;--e-global-color-accent:#000000;--e-global-color-border:#E0E0E0;--e-global-color-background:#FFF6EE;--e-global-color-background_light:#F6F3EC;--e-global-typography-primary-font-family:"Oregon Book Regular";--e-global-typography-secondary-font-family:"Merriweather";--e-global-typography-accent-font-family:"Merriweather";--e-global-typography-text-font-family:"Merriweather";--e-global-typography-bdefc39-font-family:"Oregon Book Regular";--e-global-typography-bdefc39-font-size:70px;--e-global-typography-bdefc39-font-weight:700;--e-global-typography-bdefc39-line-height:1.06em;--e-global-typography-bdefc39-letter-spacing:-2px;--e-global-typography-589f815-font-family:"Merriweather";--e-global-typography-589f815-font-size:12px;--e-global-typography-589f815-font-weight:600;--e-global-typography-589f815-text-transform:uppercase;--e-global-typography-589f815-line-height:1.167em;}.elementor-kit-7 button,.elementor-kit-7 input[type="button"],.elementor-kit-7 input[type="submit"],.elementor-kit-7 .elementor-button{background-color:#FFF6EE;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1290px;}.e-con{--container-max-width:1290px;}.elementor-widget:not(:last-child){margin-block-end:0px;}.elementor-element{--widgets-spacing:0px 0px;--widgets-spacing-row:0px;--widgets-spacing-column:0px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1200px){.elementor-kit-7{--e-global-typography-bdefc39-font-size:64px;}}@media(max-width:1024px){.elementor-kit-7{--e-global-typography-bdefc39-font-size:56px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-kit-7{--e-global-typography-bdefc39-font-size:42px;--e-global-typography-bdefc39-letter-spacing:-1px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS for page-settings *//* Posiziona il bottone scroll up a sinistra */
.scrollup {
    left: 20px !important; /* Distanza dal bordo sinistro */
    right: auto !important; /* Disabilita il posizionamento a destra */
    bottom: 20px !important; /* Distanza dal fondo */
    position: fixed !important; /* Fissa il bottone nella pagina */
    z-index: 9999 !important; /* Assicura che il bottone sia visibile sopra altri contenuti */
    opacity: 0; /* Nascondi il bottone inizialmente */
    visibility: hidden; /* Nascondi il bottone */
    transition: opacity 0.3s ease, visibility 0s 0.3s; /* Aggiungi transizione per la visibilità */
}

/* Mostra il bottone quando l'utente ha fatto scroll */
body:hover .scrollup,
html:focus-within .scrollup {
    opacity: 1; /* Mostra il bottone */
    visibility: visible; /* Rendi visibile il bottone */
    transition: opacity 0.3s ease, visibility 0s 0s; /* Rimuovi il ritardo per la visibilità */
}

/* Stili del bottone scroll up */
.scrollup i {
    color: white !important;
    fill: white !important;
    transition: color 0.3s ease;
}
<script>
document.addEventListener("DOMContentLoaded", function () {
  const projects = document.querySelectorAll('.elementor-widget-spaciaz-projects');

  projects.forEach(widget => {
    try {
      const settings = JSON.parse(widget.getAttribute("data-settings"));

      // Forza attivazione su mobile
      if (!settings.sticky_on.includes("mobile")) {
        settings.sticky_on.push("mobile");
        widget.setAttribute("data-settings", JSON.stringify(settings));
      }

      // Ri-triggera Swiper o effetto interno (se disponibile)
      if (typeof Swiper !== "undefined") {
        const sliders = widget.querySelectorAll('.swiper-container');
        sliders.forEach(slider => {
          slider.swiper?.update?.(); // Aggiorna istanza se esiste
        });
      }

    } catch (err) {
      console.warn("Errore parsing Spaciaz:", err);
    }
  });
});
</script>/* End custom CSS */