Try focus stacking in product photography to get more detail:
"Focus stacking" combines photos of the same subject with different focal points.
Each photo can be set at a different focus point so that when several of the pictures are combined, more of the image is in focus, and every detail of the product is represented; each shot needs to be taken from the exact location, which requires a tripod to stabilize the camera.