Hello,
You can use the shop listing product and filter category 1, add another component and filter category 2 and add an add to cart button directly on the listing.
For the pay now button it would be the cart that opens on the right of the screen everytime they add a product to their cart.
If you want it 100% like you describe, you would need some coding I guess.