/* Stile di base per il popup */.apm-popup {    position: fixed;    z-index: 10001; /* Assicurati che il popup sia sopra l'overlay */    padding: 0;    display: none;    max-width: 90vw;    max-height: 90vh;    box-sizing: border-box;}/* Popup al centro */.apm-popup.center {    top: 50%;    left: 50%;    transform: translate(-50%, -50%);}/* Popup in alto a sinistra */.apm-popup.top-left {    top: 20px;    left: 20px;    transform: none;}/* Popup in alto a destra */.apm-popup.top-right {    top: 20px;    right: 20px;    transform: none;}/* Popup in basso a sinistra */.apm-popup.bottom-left {    bottom: 20px;    left: 20px;    transform: none;}/* Popup in basso a destra */.apm-popup.bottom-right {    bottom: 20px;    right: 20px;    transform: none;}/* Slide per popup in basso a sinistra - entrata da destra */.apm-popup.slide-in-bottom-left {    animation: slideInFromLeft 0.5s ease-out;}.apm-popup.slide-out-bottom-left {    animation: slideOutToLeft 0.5s ease-in forwards;}/* Slide per popup in basso a destra - entrata da sinistra */.apm-popup.slide-in-bottom-right {    animation: slideInFromRight 0.5s ease-out;}.apm-popup.slide-out-bottom-right {    animation: slideOutToRight 0.5s ease-in forwards;}/* Slide per popup in alto a destra - entrata da sinistra */.apm-popup.slide-in-top-right {    animation: slideInFromRight 0.5s ease-out;}.apm-popup.slide-out-top-right {    animation: slideOutToRight 0.5s ease-in forwards;}/* Slide per popup in alto a sinistra - entrata da destra */.apm-popup.slide-in-top-left {    animation: slideInFromLeft 0.5s ease-out;}.apm-popup.slide-out-top-left {    animation: slideOutToLeft 0.5s ease-in forwards;}/* Keyframes per slide in e out */@keyframes slideInFromRight {    from {        transform: translateX(100%);    }    to {        transform: translateX(0);    }}@keyframes slideOutToRight {    from {        transform: translateX(0);    }    to {        transform: translateX(100%);    }}@keyframes slideInFromLeft {    from {        transform: translateX(-100%);    }    to {        transform: translateX(0);    }}@keyframes slideOutToLeft {    from {        transform: translateX(0);    }    to {        transform: translateX(-100%);    }}/* Zoom per posizioni diverse */.apm-popup.zoom-in-bottom-left, .apm-popup.zoom-in-bottom-right {    animation: zoomInFromBottom 0.3s ease-out;}.apm-popup.zoom-out-bottom-left, .apm-popup.zoom-out-bottom-right {    animation: zoomOutToBottom 0.3s ease-in forwards;}.apm-popup.zoom-in-top-left, .apm-popup.zoom-in-top-right {    animation: zoomInFromTop 0.3s ease-out;}.apm-popup.zoom-out-top-left, .apm-popup.zoom-out-top-right {    animation: zoomOutToTop 0.3s ease-in forwards;}/* Keyframes per zoom */@keyframes zoomInFromTop {    from {        transform: scale(0.5) translateY(-50%);    }    to {        transform: scale(1) translateY(0);    }}@keyframes zoomOutToTop {    from {        transform: scale(1) translateY(0);    }    to {        transform: scale(0.5) translateY(-50%);    }}@keyframes zoomInFromBottom {    from {        transform: scale(0.5) translateY(50%);    }    to {        transform: scale(1) translateY(0);    }}@keyframes zoomOutToBottom {    from {        transform: scale(1) translateY(0);    }    to {        transform: scale(0.5) translateY(50%);    }}/* Animazione di fade in */.apm-popup.fade-in {    animation: fadeIn 0.5s ease-out;}/* Animazione di slide down */.apm-popup.slide-down {    animation: slideDown 0.5s ease-out;}/* Keyframes per l'animazione di fade in */@keyframes fadeIn {    from {        opacity: 0;    }    to {        opacity: 1;    }}/* Keyframes per l'animazione di slide down */@keyframes slideDown {    from {        opacity: 0;        transform: translate(-50%, -60%);    }    to {        opacity: 1;        transform: translate(-50%, -50%);    }}/* Animazione di zoom in */.apm-popup.zoom-in {    animation: zoomIn 0.3s ease-out;}/* Animazione di zoom out */.apm-popup.zoom-out {    animation: zoomOut 0.2s ease-in forwards; /* Aggiungi "forwards" per mantenere lo zoom out finale */}/* Keyframes per l'animazione di zoom in */@keyframes zoomIn {    from {        opacity: 1;        transform: translate(-50%, -50%) scale(0);    }    to {        opacity: 1;        transform: translate(-50%, -50%) scale(1);    }}/* Keyframes per l'animazione di zoom out */@keyframes zoomOut {    from {        opacity: 1;        transform: translate(-50%, -50%) scale(1);    }    to {        opacity: 1;        transform: translate(-50%, -50%) scale(0);    }}/* Stile per l'overlay */.apm-overlay {    position: fixed;    top: 0;    left: 0;    width: 100%;    height: 100%;    z-index: 10000; /* Deve essere sotto il popup */    display: none;    opacity: 0;}.apm-overlay.blur{    background: rgba(0, 0, 0, 0.5);    pointer-events: none;    transition: opacity 0.8s;    -webkit-backdrop-filter: blur(5px);    backdrop-filter: blur(20px);    opacity: unset !important;}/* Stili per il contenuto del popup */.apm-popup-content {    display: flex;    flex-direction: column;    flex-wrap: wrap;}.apm-popup-content.image .apm-popup-image {    display: flex;}/* Stili per l'immagine nel popup */.apm-popup img {    max-width: 100%;    max-height: 100%;    display: block;    margin: 0 auto;}/* Stile per il pulsante di chiusura */.apm-popup .apm-popup-close {    position: absolute;    top: -10px;    right: -10px;    background: rgba(0, 0, 0, 0.8);    border: none;    font-size: 1.5em;    color: #fff;    cursor: pointer;    z-index: 10002;    border-radius: 50%;    width: 30px;    height: 30px;    display: flex;    align-items: center;    justify-content: center;    line-height: 1.5em;    transition: background 0.3s ease;}/* Stile per il pulsante di chiusura */.apm-popup-close svg {    display: block; /* Assicurati che l'SVG venga visualizzato correttamente */    visibility: visible;    width: 24px;    height: 24px;    stroke: #fff;}/* Hover effect per il pulsante di chiusura */.apm-popup-close:hover {    background: rgba(255, 0, 0, 0.8);}/* Stile per dispositivi mobili */@media only screen and (max-width: 780px) {    .apm-popup {        width: 90%;        left: 50%;        transform: translate(-50%, -50%);        max-width: 90vw;        max-height: 80vh;    }    .apm-popup-content.image .apm-popup-image {        width: 100% !important;        height: 100% !important;    }}.no-scroll {    overflow: hidden;}/** * Demo variables *//** * Demo Styles */.countdown {    display: flex;    align-items: center;    justify-content: center;}/** * Countdown Styles */.countdown {    position: fixed;    z-index: 10001;    width: 50px;    height: 50px;    border-radius: 50%;    background-color: #121B1C;    background-size: cover;    background-position: center center;    border: 3px solid grey;    transform-origin: center bottom;    top: 1em;}.countdown.top-right {    right: 1em;}.countdown.top-left {    left: 1em;}.countdown__icon {    position: absolute;    top: -4px;    left: -4px;    width: 52px;    fill: transparent;    stroke: #76E19E;    stroke-width: 10px;    stroke-linecap: round;}.countdown__icon__circle {    stroke-dasharray: 375.787322998;}.countdown__number {    color: #FFF;    font-family: Arial;    font-size: 14px;}#container-spinner {    width: 40px;    height: 40px;    position: fixed;    top: 1em;    right: 1em;    z-index: 10001;}.load-pie {    width: 40px;    height: 40px;    -webkit-clip-path: circle(50% at 50% 50%);    overflow: hidden;    position: relative;    opacity: 0.7;}.load-left,.load-right {    height: 100%;    width: 50%;    position: absolute;    overflow: hidden;}.load-right {    right: 0;}.left-load-block,.right-load-block {    width: 100%;    height: 100%;    background: #000000;}.left-load-block {    transform-origin: 100% 50%;}.right-load-block {    transform-origin: 0% 50%;}@keyframes loading-animation-left {    0% {        transform: rotate(0deg);    }    50% {        transform: rotate(0deg);    }    100% {        transform: rotate(180deg)    }}@keyframes loading-animation-right {    0% {        transform: rotate(0deg);    }    50% {        transform: rotate(180deg);    }    100% {        transform: rotate(180deg)    }}/* Nascondi completamente lo spinner al termine */.hidden {    display: none;}.left-load-block,.right-load-block {    animation-iteration-count: 1;    animation-timing-function: steps(16);    animation-duration: 10s;}/* Imposta un ritardo iniziale di mezzo secondo */.left-load-block,.right-load-block {    animation-delay: 1s;}.left-load-block {    animation-name: loading-animation-left;}.right-load-block {    animation-name: loading-animation-right;}.apm-popup-timer.top {    position: fixed;    z-index: 10001;    background-color: rgba(0, 0, 0, 0.7);    background-size: cover;    background-position: center center;    transform-origin: center bottom;    font-size: 14px;    top: 1em;    padding: 5px 10px;    display: flex;    gap: 5px;    color: #FFF;    font-family: Arial;}.apm-popup .apm-popup-timer {    position: absolute;    z-index: 10001;    background-color: rgba(0, 0, 0, 0.7);    background-size: cover;    background-position: center center;    transform-origin: center bottom;    font-size: 12px;    bottom: -3.4em;    padding: 5px 10px;    display: flex;    gap: 5px;    color: #FFF;    font-family: Arial;    right: 0;    left: 0;    margin: 0 auto;    width: fit-content; /* Aggiungi una larghezza adatta se necessario */}.apm-popup-timer.top.top-right {    right: 1em;}.apm-popup-timer.top.top-left {    left: 1em;}@media (max-width: 768px) {    .countdown {        width: 35px;        height: 35px;        border: 3px solid grey;    }    .countdown__icon {        top: -4px;        left: -4px;        width: 37px;    }    .countdown__number {        font-size: 11px;    }    #container-spinner {        width: 30px;        height: 30px;    }    .load-pie {        width: 30px;        height: 30px;    }}