Using your following code fillets the thumbnails:
.products .grid-image-wrapper,
.image-block-wrapper,
.ProductItem-gallery-slides-item.selected,
.sqs-gallery-design-grid-slide .image-slide-anchor
{
border-radius: 25px;
}
But, the overlay is not affected. It still has its corners.