/* Flying number */
.woo-quick-qty-wrapper {
    margin: 1rem 0 1.5rem;
}

.woo-quick-qty-title {
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 14px;
}

.woo-quick-qty-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.woo-quick-qty-btn {
    border: 1px solid #ddd;
    background: #f7f7f7;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    min-width: 60px;
    text-align: center;
    transition: all 0.15s ease;
}

.woo-quick-qty-btn:hover {
    border-color: #111;
    background: #fff;
}

.woo-quick-qty-btn.is-active {
    border-color: #00c853;
    background: #c8ffd8;
}

.woo-quick-qty-fly {
    position: absolute;
    z-index: 9999;
    pointer-events: none;
    background: #c8ffd8;
    border-radius: 8px;
    padding: 6px 12px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transform: translate(-50%, -50%);
}

/* Small pulse on the quantity box when number arrives */
input.qty.woo-quick-qty-pulse {
    animation: wooQuickQtyPulse 0.5s ease-out;
}

@keyframes wooQuickQtyPulse {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Force selected button color on mobile */
.woo-quick-qty-btn.is-active,
.woo-quick-qty-btn.is-active:active,
.woo-quick-qty-btn.is-active:focus {
    background: #c8ffd8 !important;
    border-color: #00c853 !important;
    color: #000 !important;
}

/* Remove mobile tap highlight */
.woo-quick-qty-btn {
    -webkit-tap-highlight-color: transparent;
}