I have set a right sidebar to my woocommerce product page (sample). I would like to achieve the below
1. Side bar top spacing (maybe 20px)
2. Sticky when user scroll, with the spacing stay too – only set for woocommerce product page.
I only wanted to apply the following code to Desktop but not on mobile and tablet. Could you let me know what to add into the code to achieve that goal?