Product Grid with 0 Product Card Gap - Border Overlap Issue

On my product homepage’s product grid, I use custom CSS to set the horizontal and vertical gap between product cards to zero.

However, this creates the issue of two neighbouring borders overlapping magnifying the thickness of a shared border. (see first picture)

How can I avoid this? Is there a better way to achieve a cleaner look (all borders with the same thickness) ?
(see second picture)

Thank you in advance, for all your help!

Hello,

Hope you are doing well.

I am San from MS Web Designer.

Kindly share the storer URL so that we can assist you.

Do let me know in case of any concerns.

Regards,

San

Hi Can you kindly share your store link (with the password, if any) with us? We will check it and suggest you a solution if possible.