.wmpp-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(0, 0, 0, 0.6);
	opacity: 0;
	transition: opacity 0.3s ease;
	box-sizing: border-box;
}

.wmpp-overlay.wmpp-no-overlay {
	background: transparent;
	pointer-events: none;
}

.wmpp-overlay.wmpp-no-overlay .wmpp-box {
	pointer-events: auto;
}

.wmpp-overlay.wmpp-open {
	opacity: 1;
}

html.wmpp-lock {
	overflow: hidden;
}

.wmpp-box {
	position: relative;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	padding: 32px;
	box-sizing: border-box;
	transform: translateY(0) scale(1);
	transition: transform 0.3s ease;
}

/* Animations */
.wmpp-anim-slide .wmpp-box {
	transform: translateY(40px);
}
.wmpp-anim-slide.wmpp-open .wmpp-box {
	transform: translateY(0);
}

.wmpp-anim-zoom .wmpp-box {
	transform: scale(0.85);
}
.wmpp-anim-zoom.wmpp-open .wmpp-box {
	transform: scale(1);
}

.wmpp-anim-none {
	transition: none;
}
.wmpp-anim-none .wmpp-box {
	transition: none;
}

.wmpp-close {
	position: absolute;
	top: 10px;
	left: 14px;
	width: 34px;
	height: 34px;
	border: none;
	background: transparent;
	font-size: 30px;
	line-height: 1;
	color: #888;
	cursor: pointer;
	padding: 0;
	transition: color 0.2s ease;
}

.wmpp-close:hover {
	color: #222;
}

.wmpp-content {
	font-size: 16px;
	line-height: 1.6;
}

.wmpp-content img {
	max-width: 100%;
	height: auto;
}

/* Mobile */
@media (max-width: 600px) {
	.wmpp-overlay {
		padding: 12px;
	}

	.wmpp-box {
		max-width: 100% !important;
		padding: 24px 18px;
	}

	.wmpp-hide-mobile {
		display: none !important;
	}

	.wmpp-mobile-full .wmpp-box {
		max-width: 100% !important;
		width: 100%;
		height: 100%;
		max-height: 100%;
		border-radius: 0;
	}

	.wmpp-mobile-full {
		padding: 0;
	}
}
