Hello,
If you want to have button for both simple and variable products then “Add To Cart With Quantity for simple products” option should be disabled https://prnt.sc/wl0gr4 and you’ll get buttons for both products but without q-ty input https://prnt.sc/wl0hbz
It looks ok also for the mobile https://prnt.sc/wl0hyf
Regards