.gm-photo-watermark-page .product-main .product-gallery .woocommerce-product-gallery__image[data-thumb] > a,
.gm-photo-watermark-page .product-main .product-gallery .flex-control-thumbs > li,
.gm-photo-watermark-page .product-main .product-gallery .product-thumbnails :is(.col, .carousel-cell) > a,
.gm-photo-watermark-thumbnail {
  position: relative;
}

.gm-photo-watermark-page .product-main .product-gallery .woocommerce-product-gallery__image[data-thumb] > a,
.gm-photo-watermark-page .product-main .product-gallery .product-thumbnails :is(.col, .carousel-cell) > a,
.gm-photo-watermark-thumbnail {
  display: block;
}

.gm-photo-watermark-page .product-main .product-gallery .woocommerce-product-gallery__image[data-thumb] > a::after,
.gm-photo-watermark-page .product-main .product-gallery .flex-control-thumbs > li::after,
.gm-photo-watermark-page .product-main .product-gallery .product-thumbnails :is(.col, .carousel-cell) > a::after,
.gm-photo-watermark-thumbnail::after,
.gm-photo-watermark-lightbox {
  content: '';
  position: absolute;
  right: 7px;
  bottom: 7px;
  width: clamp(56px, 24%, 110px);
  aspect-ratio: 160 / 85;
  border-radius: 4px;
  background: rgba(255, 255, 255, .76) url('glasmaatje-mark.png') center / 94% auto no-repeat;
  pointer-events: none;
  z-index: 2;
}

.gm-photo-watermark-page .product-main .product-gallery .flex-control-thumbs > li::after,
.gm-photo-watermark-page .product-main .product-gallery .product-thumbnails :is(.col, .carousel-cell) > a::after,
.gm-photo-watermark-thumbnail::after {
  right: 2px;
  bottom: 2px;
  width: clamp(17px, 63%, 42px);
  border-radius: 2px;
}

.gm-photo-watermark-thumbnail {
  width: fit-content;
  max-width: 100%;
  line-height: 0;
}

ul.product_list_widget li .gm-photo-watermark-thumbnail {
  position: absolute;
  top: 10px;
  left: 0;
  width: 60px;
  height: 60px;
}

ul.product_list_widget li .gm-photo-watermark-thumbnail img {
  position: static;
  width: 100%;
  height: 100%;
  margin: 0;
}

.gm-photo-watermark-lightbox {
  bottom: auto;
  right: auto;
  transform: translate(-100%, -100%);
}
