html.mf-auto-pdp-modal-open,
html.mf-auto-pdp-modal-open body {
	overflow: hidden;
}

.mf-auto-pdp-modal {
	position: fixed;
	inset: 0;
	z-index: 10000000000000001 !important;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	isolation: isolate;
}

.mf-auto-pdp-modal[hidden] {
	display: none !important;
}

.mf-auto-pdp-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.65);
}

.mf-auto-pdp-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(1200px, 96vw);
	max-height: 92vh;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.mf-auto-pdp-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 16px;
	border-bottom: 1px solid #e5e5e5;
	background: #094d40;
	color: #fff;
}

.mf-auto-pdp-modal__title {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
}

.mf-auto-pdp-modal__close {
	appearance: none;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	padding: 0 4px;
}

.mf-auto-pdp-modal__close:hover {
	opacity: 0.85;
}

.mf-auto-pdp-modal__body {
	position: relative;
	flex: 1 1 auto;
	min-height: 75vh;
	background: #f4f4f4;
}

.mf-auto-pdp-modal__loading {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(244, 244, 244, 0.92);
	z-index: 2;
	font-size: 16px;
	color: #333;
}

.mf-auto-pdp-modal__loading:not([hidden]) + .mf-auto-pdp-modal__frame {
	opacity: 0 !important;
	visibility: hidden !important;
}

.mf-auto-pdp-modal__frame {
	display: block;
	width: 100%;
	height: 75vh;
	border: 0;
	background: #fff;
}

@media (max-width: 767px) {
	.mf-auto-pdp-modal {
		padding: 0;
	}

	.mf-auto-pdp-modal__dialog {
		width: 100vw;
		max-height: 100vh;
		border-radius: 0;
	}

	.mf-auto-pdp-modal__body,
	.mf-auto-pdp-modal__frame {
		min-height: calc(100vh - 52px);
		height: calc(100vh - 52px);
	}
}
