I have found the way to do it by playing with settings.
So, basically the problem was that even if the “outline thickness” (in the theme settings → media) was set to 0, it appeared as if it was still there because the SHADOW was still present. When you turn the shadow to 0 too, then your product page won’t have an outline of any kind.