OBJECTIVE
I want my button to go from a black background to a white background with a black border on hover.
INITIAL PROBLEM
Upon adding the border to the "a" element, the text within it moves. I found a few solutions, including from SO itself, such as this one and so I added an invisible border to the non-hover state.
NEW PROBLEM
I can't seem to find a way to move the text to compensate for the border.
INFORMATION
My site is still on localhost so, unfortunately, I can't share a link. However, this is the demo of the theme I'm using:
https://shoptimizerdemo.commercegurus.com/product-category/women/
The button is the "Add to cart" one.
Please forgive me, I'm a noob and don't know if it would be helpful to share any specific code or anything other than the link above but, if so, please let me know and I'll edit the post to include it.
EDIT
Margin-top works on this page but also raises the text: https://shoptimizerdemo.commercegurus.com/product/knitted-top/
It doesn't work elsewhere such as on the main page's products: https://shoptimizerdemo.commercegurus.com/
(the green "Add to cart" button)