Actually let’s scratch the CSS and use the GP Premium’s WooCommerce module instead.
https://docs.generatepress.com/article/woocommerce-overview/#shop
This should be easier for you as this is within the UI.
Go to Appearance > Customize > Layout > WooCommerce.
On this setting, go to Shop and uncheck “Display price” and “Display product image”. This should remove the price and the product image from shop archive’s display.
A wise man once said:
"Have you cleared your cache?"