/* Match the existing 4:3 home category tile frame on the kit archive and bedroom kits. */
body.term-komplekty-mebeli .wd-products .product_cat-komplekty-mebeli .wd-product-img-link,
body.term-komplekty-mebeli .wd-products .product_cat-komplekty-mebeli :is(.wd-product-img-link, .wd-product-img-hover) > img {
  aspect-ratio: 4 / 3;
}

body.term-komplekty-mebeli .wd-products .product_cat-komplekty-mebeli :is(.wd-product-img-link, .wd-product-img-hover) > img,
body.single-product.simfi-home-bedroom-kit .wd-gallery-images .woocommerce-product-gallery__image > a > img {
  object-fit: contain;
  object-position: center;
}

body.single-product.simfi-home-bedroom-kit .wd-gallery-images .woocommerce-product-gallery__image {
  aspect-ratio: 4 / 3;
  max-width: min(100%, 760px, 86.666svh);
  max-height: none;
  margin-inline: auto;
  background: #fff;
}
