.pr-popup-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: none;
	align-items: center;
	justify-content: center;
}

.pr-popup-overlay.pr-has-overlay {
	background: rgba( 0, 0, 0, 0.6 );
}

.pr-popup {
	position: relative;
	width: 90%;
	margin: 0 auto;
	border-radius: 8px;
	box-shadow: 0 10px 40px rgba( 0, 0, 0, 0.25 );
	padding: 30px 25px;
	box-sizing: border-box;
	max-height: 90vh;
	overflow-y: auto;
}

.pr-position-center {
	position: relative;
}

.pr-position-top .pr-popup-overlay,
.pr-position-bottom .pr-popup-overlay {
	background: transparent;
}

.pr-popup-overlay:has(.pr-position-top),
.pr-popup-overlay:has(.pr-position-bottom) {
	background: transparent;
	align-items: flex-start;
}

.pr-position-top {
	width: 100%;
	max-width: 100% !important;
	border-radius: 0;
	margin: 0;
}

.pr-position-bottom {
	width: 100%;
	max-width: 100% !important;
	border-radius: 0;
	margin: 0;
	position: fixed;
	left: 0;
	bottom: 0;
}

.pr-popup-overlay:has(.pr-position-bottom) {
	align-items: flex-end;
}

.pr-popup-close-x {
	position: absolute;
	top: 8px;
	right: 12px;
	background: none;
	border: none;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: inherit;
	opacity: 0.6;
}

.pr-popup-close-x:hover {
	opacity: 1;
}

.pr-popup-image img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto 15px;
	border-radius: 4px;
}

.pr-popup-title {
	margin: 0 0 10px;
	text-align: center;
}

.pr-popup-text {
	text-align: center;
	line-height: 1.5;
}

.pr-popup-cta {
	text-align: center;
	margin: 15px 0 0;
}

.pr-popup-button {
	display: inline-block;
	padding: 10px 24px;
	border-radius: 4px;
	text-decoration: none;
	font-weight: bold;
}

.pr-popup-close-text {
	background: none;
	border: none;
	text-decoration: underline;
	cursor: pointer;
	color: inherit;
	opacity: 0.7;
	font-size: 14px;
}

.pr-popup-close-text:hover {
	opacity: 1;
}

/* Efectos */
@keyframes pr-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes pr-slide-down {
	from { opacity: 0; transform: translateY(-40px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes pr-slide-up {
	from { opacity: 0; transform: translateY(40px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes pr-zoom {
	from { opacity: 0; transform: scale(0.85); }
	to { opacity: 1; transform: scale(1); }
}

@keyframes pr-bounce {
	0% { opacity: 0; transform: scale(0.6); }
	60% { opacity: 1; transform: scale(1.05); }
	100% { opacity: 1; transform: scale(1); }
}

.pr-effect-fade { animation: pr-fade 0.35s ease-out; }
.pr-effect-slide-down { animation: pr-slide-down 0.35s ease-out; }
.pr-effect-slide-up { animation: pr-slide-up 0.35s ease-out; }
.pr-effect-zoom { animation: pr-zoom 0.35s ease-out; }
.pr-effect-bounce { animation: pr-bounce 0.45s ease-out; }
.pr-effect-none { animation: none; }

@media (max-width: 600px) {
	.pr-popup {
		width: 94%;
		padding: 22px 16px;
	}
}
