/* Quantity Wrapper */
.quantity {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 4px; /* small spacing */
}

/* Quantity Input */
.quantity input.qty {
    text-align: center;
    width: 60px !important;
    height: 36px !important;
    line-height: 36px !important;
    font-size: 14px;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* Plus/Minus Buttons */
.quantity button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--wc-qty-bg, #d60000);
    color: #fff;
    border: none;
    width: var(--wc-qty-size, 36px);
    height: var(--wc-qty-size, 36px);
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    line-height: 1;
    transition: background 0.2s ease;
}

/* Hover Effect */
.quantity button:hover {
    background: #a30000;
}

/* Fix for Elementor/WooCommerce theme overrides */
.woocommerce .quantity,
.elementor-widget-woocommerce-cart .quantity {
    display: inline-flex !important;
}
