.wcmg-container {
	position: relative !important;
}

.wcmg-container > li.product,
.wcmg-container > .product,
.wcmg-container > .wc-block-grid__product {
	position: absolute !important;
	float: none !important;
	display: block !important;
	margin: 0 !important;
	box-sizing: border-box;
	padding: 14px !important;
	border: 1px solid rgba(0, 0, 0, 0.08);
	background: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
	transition: left 0.25s ease, top 0.25s ease, width 0.25s ease,
		box-shadow 0.2s ease, transform 0.2s ease;
}

.wcmg-container > li.product:hover,
.wcmg-container > .product:hover,
.wcmg-container > .wc-block-grid__product:hover {
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
	transform: translateY(-2px);
}

/* Prevent a flash of stacked/overlapping items before the first layout pass runs */
.wcmg-container:not(.wcmg-ready) > li.product,
.wcmg-container:not(.wcmg-ready) > .product,
.wcmg-container:not(.wcmg-ready) > .wc-block-grid__product {
	visibility: hidden;
}
