/* Custom Styling for the Quantity Input Component */
.pw-qty-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    /* Space between buttons and input */
}

.pw-qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    background-color: #f3f4f6;
    /* Light gray matching the image */
    border-radius: 10px;
    /* Rounded squares */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #111827;
    transition: background-color 0.2s ease, transform 0.1s ease;
    font-size: 1rem;
}

.pw-qty-btn:hover {
    background-color: #e5e7eb;
}

.pw-qty-btn:active {
    transform: scale(0.95);
}

/* Disable state styling for minus button when value is 1 */
.pw-qty-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pw-qty-btn.disabled:active {
    transform: none;
}

.pw-qty {
    width: 40px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 500;
    font-size: 1rem;
    color: #111827;
    /* Remove the default arrows from number input */
    -moz-appearance: textfield;
    padding: 0;
    outline: none;
}

/* Webkit specific styles to remove number input arrows */
.pw-qty::-webkit-outer-spin-button,
.pw-qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}