/*
Theme Name: Minimog Child
Theme URI: http://minimog.thememove.com/
Author: ThemeMove
Author URI: http://thememove.com/
Version: 1.0.0
Template: minimog
Text Domain:  minimog-child
Tags: editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
*/

/* Unify loop / list / homepage carousel product image frames to 1:1.
 *    object-fit: contain keeps full product in view (no crop).
 *    Does not target category cards, cart tables, or single-product galleries. */
.product-wrapper > .product-thumbnail .thumbnail {
	aspect-ratio: 1 / 1;
	width: 100%;
	background-color: #fff;
	overflow: hidden;
}

.product-wrapper > .product-thumbnail .thumbnail > a {
	display: block;
	width: 100%;
	height: 100%;
	position: relative;
}

.product-wrapper > .product-thumbnail .product-main-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.product-wrapper > .product-thumbnail m-image.minimog-lazy-image {
	--lazy-image-width: 100% !important;
	--lazy-image-height: 100% !important;
	display: block;
	width: 100% !important;
	height: 100%;
	max-width: 100%;
	position: absolute;
	inset: 0;
}

.product-wrapper > .product-thumbnail img {
	width: 100% !important;
	height: 100% !important;
	max-width: 100%;
	object-fit: contain !important;
	object-position: center center;
	position: absolute;
	inset: 0;
}

.minimog-product .has-hover-thumbnail .product-hover-image {
	inset: 0;
}

.minimog-product .has-hover-thumbnail .product-hover-image img {
	object-fit: contain !important;
}