To make any changes in main product image size and thumbnail width navigate to the Admin panel > appearance > customize > WooCommerce > Product images.