/* ========================================
   FIX CHECKOUT LOADER INFINITO
   Nasconde i loader dopo 3 secondi
   ======================================== */

/* Loader principale del checkout */
#checkout-loader.loading-mask {
    animation: hideLoader 0.5s ease 2s forwards;
}

@keyframes hideLoader {
    to {
        opacity: 0;
        visibility: hidden;
        display: none;
    }
}

/* Loader nella sezione PAYMENT */
.payment-method._active .loading-mask,
.payment-methods .loading-mask,
.opc-payment-additional .loading-mask,
.checkout-payment-method .loading-mask {
    animation: hidePaymentLoader 0.5s ease 3s forwards !important;
}

@keyframes hidePaymentLoader {
    to {
        opacity: 0 !important;
        visibility: hidden !important;
        display: none !important;
    }
}

/* Catch-all: Nascondi TUTTI i loader del checkout dopo 3 secondi */
.checkout-index-index .loading-mask {
 display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;}

@keyframes hideAllCheckoutLoaders {
    to {
        opacity: 0 !important;
        visibility: hidden !important;
        display: none !important;
    }
}

/* ========================================
   GENERAL UPDATES
   ======================================== */


