/* Bucle Popup — frontend styles. Variant "Aviso Elegante" reference. */

.bpopup-overlay {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: var(--bpopup-overlay, rgba(0, 0, 0, 0.55));
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	opacity: 0;
	transition: opacity 0.28s ease;
	font-family: var(--bpopup-font, inherit);
}

.bpopup-overlay.is-open {
	opacity: 1;
}

.bpopup-modal {
	position: relative;
	width: 100%;
	max-width: var(--bpopup-max, 360px);
	background: var(--bpopup-bg, #fff);
	color: var(--bpopup-text, #222);
	border-radius: var(--bpopup-radius, 16px);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
	overflow: hidden;
	transform: translateY(12px) scale(0.98);
	transition: transform 0.28s ease;
}

.bpopup-overlay.is-open .bpopup-modal {
	transform: translateY(0) scale(1);
}

.bpopup-overlay .bpopup-close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 32px;
	height: 32px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0 !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, 0.95) !important;
	color: #333 !important;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	z-index: 2;
	-webkit-appearance: none;
	appearance: none;
	text-shadow: none;
	/* Own system font + normal weight so a forced popup font can't bold the ×. */
	font-family: Arial, "Helvetica Neue", sans-serif !important;
	font-weight: 400 !important;
	transition: background 0.15s ease;
}

.bpopup-overlay .bpopup-close:hover {
	background: #fff !important;
}

.bpopup-body {
	display: flex;
	flex-direction: column;
}

/* Blocks */
.bpopup-b-image img {
	display: block;
	width: 100%;
	height: auto;
}

.bpopup-b-eyebrow {
	padding: 20px 24px 0;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--bpopup-accent, #b8894f);
}

.bpopup-b-title {
	margin: 8px 0 0;
	padding: 0 24px;
	font-family: var(--bpopup-font, Georgia, "Times New Roman", serif);
	font-size: 26px;
	line-height: 1.2;
	font-weight: 700;
}

.bpopup-b-text {
	padding: 12px 24px 0;
	font-size: 15px;
	line-height: 1.55;
	font-weight: 400;
}

.bpopup-b-text p {
	margin: 0 0 8px;
	font-weight: 400;
}

.bpopup-b-button {
	display: block;
	margin: 20px 24px 24px;
	padding: 13px 20px;
	background: var(--bpopup-accent, #b8894f);
	color: #fff;
	text-align: center;
	text-decoration: none;
	font-weight: 600;
	border-radius: 8px;
	transition: filter 0.15s ease;
}

.bpopup-b-button:hover {
	filter: brightness(0.93);
}

.bpopup-b-banner {
	padding: 14px 24px;
	color: #fff;
	font-weight: 700;
	text-align: center;
	font-size: 18px;
}

.bpopup-b-separator {
	margin: 16px 24px;
	border: 0;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

@media (max-width: 480px) {
	.bpopup-b-title {
		font-size: 22px;
	}
}
