Hi alexalincatrinoiu,
Thanks for reaching to us.
You are using image heights are not same. I kindly recommend you preparing images you want before uploading them to your media library using the graphic editor (Photoshop or any other) to have a nice-looking grid.
For the Product Archive page, please navigate to Theme Settings > Product archives -> Products styles, here you can enable Even product grid for desktop
option to align products if they have different height components.
You can enable it for specific devices as well https://prnt.sc/ASt5z0mmasuz
Please refer to article for more details https://xtemos.com/docs-topic/image-size-and-content-alignment-in-a-product-grid/
Regards,