/* Base Button Styling */
button.nw-quick-order-btn,
a.nw-quick-order-btn,
.nw-quick-order-btn {
    border: none !important;
    outline: none !important;
    cursor: pointer !important;
    text-align: center !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    box-sizing: border-box !important;
    position: relative !important;
    overflow: hidden !important;
    transition: background-color 0.25s ease, color 0.25s ease !important;
    vertical-align: middle !important;
    box-shadow: none !important;
}

.nw-loop-btn-wrap {
    margin-top: 8px;
    margin-bottom: 8px;
    display: block;
}

/* Attention Shake Animation */
@keyframes attentionShake {
    0%   { transform: translateX(0); }
    3%   { transform: translateX(-4px); }
    6%   { transform: translateX(4px); }
    9%   { transform: translateX(-4px); }
    12%  { transform: translateX(4px); }
    15%  { transform: translateX(0); }
    100% { transform: translateX(0); }
}

.nqon-anim-horizontal-shake {
    animation: attentionShake 3s ease-in-out infinite;
}

.nqon-anim-horizontal-shake:hover,
.nqon-anim-horizontal-shake:active,
.nqon-anim-horizontal-shake:focus {
    animation: none !important;
}

/* Shine Loop Light Animation */
@keyframes nqon-shine-loop {
    0%   { left: -100%; }
    20%, 100% { left: 100%; }
}

.nqon-anim-shine-loop::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: nqon-shine-loop 3s infinite;
}

.nqon-anim-shine-loop:hover::after,
.nqon-anim-shine-loop:active::after,
.nqon-anim-shine-loop:focus::after {
    animation: none !important;
}

/* Heartbeat Animation */
@keyframes nqon-heartbeat {
    0%   { transform: scale(1); }
    14%  { transform: scale(1.05); }
    28%  { transform: scale(1); }
    42%  { transform: scale(1.05); }
    70%  { transform: scale(1); }
}

.nqon-anim-heartbeat {
    animation: nqon-heartbeat 1.6s ease-in-out infinite;
}

.nqon-anim-heartbeat:hover,
.nqon-anim-heartbeat:active,
.nqon-anim-heartbeat:focus {
    animation: none !important;
}

/* Stop permanently once clicked or touched */
.nqon-anim-stopped,
.nqon-anim-stopped::after {
    animation: none !important;
}