
/* ==========================================
   DODOHOSTING - DESTELLO REUTILIZABLE
========================================== */

#order-standard_cart .custom-btn-shine {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Destello */
#order-standard_cart .custom-btn-shine::before {
    content: "";
    position: absolute;
    top: -20%;
    left: -35%;

    width: 35%;
    height: 140%;

    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.08) 30%,
        rgba(255, 255, 255, 0.35) 50%,
        rgba(255, 255, 255, 0.08) 70%,
        transparent 100%
    );

    transform: skewX(-20deg);
    animation: customBtnShine 3.5s linear infinite;
    pointer-events: none;
}

@keyframes customBtnShine {
    0% {
        left: -35%;
    }

    100% {
        left: 135%;
    }
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
    #order-standard_cart .custom-btn-shine::before {
        animation: none;
    }
}
