/* ============================================ */
/* BV Pop-up — Styles                           */
/* ============================================ */

.bv-popup {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.4s ease;
}

.bv-popup.is-open {
	opacity: 1;
	pointer-events: auto;
}

.bv-popup__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	cursor: pointer;
}

.bv-popup__box {
	position: relative;
	width: min(92vw, 420px);
	aspect-ratio: 1 / 1;
	max-height: 92vh;
	background: var(--bvpop-bg, #FFDE00);
	color: var(--bvpop-text, #111);
	padding: 36px 28px 28px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	text-align: center;
	transform: translateY(8px) scale(0.98);
	transition: transform 0.4s ease;
	box-sizing: border-box;
}

.bv-popup.is-open .bv-popup__box {
	transform: translateY(0) scale(1);
}

.bv-popup__close {
	position: absolute;
	top: 8px;
	right: 10px;
	width: 36px;
	height: 36px;
	background: transparent;
	border: 0;
	color: var(--bvpop-text, #111);
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	font-weight: 700;
	border-radius: 50%;
	transition: background 0.15s ease;
}
.bv-popup__close:hover,
.bv-popup__close:focus {
	background: rgba(0, 0, 0, 0.1);
	outline: none;
}

.bv-popup__text {
	margin: 0;
	font-size: clamp(15px, 2vw, 18px);
	font-weight: 700;
	line-height: 1.4;
	color: var(--bvpop-text, #111);
}

.bv-popup__cta {
	display: inline-block;
	margin-top: 18px;
	padding: 12px 26px;
	background: var(--bvpop-cta-bg, #111);
	color: var(--bvpop-cta-color, #FFDE00) !important;
	text-decoration: none;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 14px;
	transition: background 0.15s ease, color 0.15s ease;
}
.bv-popup__cta:hover,
.bv-popup__cta:focus {
	background: var(--bvpop-cta-hover, #7a1f3d);
	color: var(--bvpop-cta-color, #FFDE00) !important;
	outline: none;
}

@media (max-width: 380px) {
	.bv-popup__box {
		aspect-ratio: auto;
		min-height: 320px;
	}
}
