At the end is a Mix of that, I handle the values with datastore like in this post
I remove the spin option of the input number:
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button{
-webkit-appearance: none;
margin: 0;}
I used:
One button for decrement
One Button for increment
Input type number as readonly
And the max depends in my inventory.
2024-05-04_00-42-58