.product-element-top,
.wd-product .product-element-top,
.product-grid-item .product-element-top {
	position: relative;
}

.mh-phe-overlay {
	align-items: center;
	background: rgba(var(--mh-phe-overlay-rgb, 0, 0, 0), var(--mh-phe-overlay-opacity, .65));
	color: var(--mh-phe-text-color, #fff);
	display: flex;
	flex-direction: column;
	gap: 8px;
	inset: 0;
	justify-content: center;
	opacity: 0;
	padding: 24px;
	position: absolute;
	text-align: center;
	text-decoration: none;
	transform: translateY(6px);
	transition: opacity .22s ease, transform .22s ease;
	z-index: 5;
}

.mh-phe-overlay:hover,
.mh-phe-overlay:focus,
.product-element-top:hover .mh-phe-overlay,
.product-element-top:focus-within .mh-phe-overlay {
	color: var(--mh-phe-text-color, #fff);
	opacity: 1;
	text-decoration: none;
	transform: translateY(0);
}

.mh-phe-title {
	color: inherit;
	display: block;
	font-size: clamp(18px, 2vw, 26px);
	font-weight: 700;
	line-height: 1.2;
	max-width: 100%;
}

.mh-phe-date {
	color: inherit;
	display: block;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.35;
	max-width: 100%;
	opacity: .92;
}

.wd-product .product-element-top .wrapp-swatches,
.wd-product .product-element-top .quick-view,
.wd-product .product-element-top .wd-buttons {
	position: relative;
	z-index: 8;
}

@media (hover: none) {
	.mh-phe-overlay {
		opacity: 1;
		transform: none;
	}
}
