.bfcta,
.bfcta * {
	box-sizing: border-box;
}

.bfcta[hidden] {
	display: none !important;
}

.bfcta {
	position: fixed;
	inset: 0;
	z-index: var(--bfcta-z-index, 9998);
	pointer-events: none;
	font-family: "ABeeZee", Arial, sans-serif;
}

.bfcta-card {
	position: fixed;
	left: 50%;
	top: var(--bfcta-card-top, 58%);
	width: min(var(--bfcta-width, 520px), calc(100vw - 34px));
	max-height: calc(100vh - 42px);
	padding: 32px 34px 30px;
	overflow-y: auto;
	border-radius: var(--bfcta-radius, 0);
	background: var(--bfcta-background, #b1b9b2);
	box-shadow: 0 24px 80px rgba(0, 0, 0, var(--bfcta-shadow-opacity, 0.18));
	color: var(--bfcta-text, #231f20);
	pointer-events: auto;
	transform: translate(-50%, -50%) scale(0.96);
	opacity: 0;
	transform-origin: 88% 88%;
	transition: opacity 320ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1), filter 320ms ease;
}

.bfcta-card-bottom-right .bfcta-card {
	left: auto;
	right: 34px;
	top: auto;
	bottom: 34px;
	transform: translateY(16px) scale(0.96);
}

.bfcta.is-card-visible .bfcta-card {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}

.bfcta-card-bottom-right.is-card-visible .bfcta-card {
	transform: translateY(0) scale(1);
}

.bfcta.is-minimized .bfcta-card,
.bfcta:not(.is-card-visible) .bfcta-card {
	opacity: 0;
	pointer-events: none;
	transform: translate(48px, 48px) scale(0.88);
}

.bfcta.is-minimizing .bfcta-card {
	opacity: 0;
	pointer-events: none;
	filter: blur(1px);
	transform: translate(calc(-50% + 42vw), calc(-50% + 22vh)) scale(0.18);
}

.bfcta-bubble-left.is-minimizing .bfcta-card {
	transform: translate(calc(-50% - 42vw), calc(-50% + 22vh)) scale(0.18);
	transform-origin: 12% 88%;
}

.bfcta-card-bottom-right.is-minimizing .bfcta-card {
	transform: translate(32px, 32px) scale(0.18);
}

.bfcta-close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 30px;
	height: 30px;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.34);
	cursor: pointer;
}

.bfcta-close::before,
.bfcta-close::after {
	position: absolute;
	left: 9px;
	top: 14px;
	width: 12px;
	height: 1px;
	background: currentColor;
	content: "";
}

.bfcta-close::before {
	transform: rotate(45deg);
}

.bfcta-close::after {
	transform: rotate(-45deg);
}

.bfcta-eyebrow {
	margin: 0 0 10px;
	color: var(--bfcta-muted, #4d4d4a);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bfcta-title {
	margin: 0 28px 14px 0;
	color: var(--bfcta-text, #231f20);
	font-family: "Roboto Serif", Georgia, serif;
	font-size: clamp(28px, 3vw, 42px);
	font-weight: 400;
	line-height: 1.05;
}

.bfcta-body {
	color: var(--bfcta-text, #231f20);
	font-size: 15px;
	line-height: 1.55;
}

.bfcta-body p {
	margin: 0 0 18px;
}

.bfcta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 22px 0 0;
}

.bfcta-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 11px 17px;
	background: var(--bfcta-button-bg, #ffffff);
	color: var(--bfcta-button-text, #231f20);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.1;
	text-decoration: none !important;
	transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.bfcta-button:hover,
.bfcta-button:focus {
	background: var(--bfcta-button-hover, #231f20);
	color: var(--bfcta-button-hover-text, #ffffff);
	transform: translateY(-1px);
}

.bfcta-note {
	margin: 18px 0 0;
	color: var(--bfcta-muted, #4d4d4a);
	font-size: 13px;
	line-height: 1.35;
}

.bfcta-bubble {
	position: fixed;
	top: var(--bfcta-bubble-top, 70%);
	right: 18px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	max-width: min(230px, calc(100vw - 36px));
	min-height: 48px;
	padding: 12px 16px;
	border: 0;
	border-radius: 999px;
	background: var(--bfcta-bubble-bg, #b1b9b2);
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.16);
	color: var(--bfcta-bubble-text, #231f20);
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.15;
	cursor: pointer;
	pointer-events: auto;
	transform: translate(130%, -50%) scale(0.82);
	opacity: 0;
	transition: opacity 320ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 240ms ease;
}

.bfcta-bubble-left .bfcta-bubble {
	left: 18px;
	right: auto;
	transform: translate(-130%, -50%) scale(0.82);
}

.bfcta-bubble img {
	display: block;
	width: 34px;
	height: 34px;
	object-fit: contain;
}

.bfcta-bubble-transparent .bfcta-bubble {
	background: transparent;
	box-shadow: none;
}

.bfcta.is-minimized .bfcta-bubble {
	animation: bfcta-bubble-pop 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
	opacity: 1;
	transform: translate(0, -50%) scale(1);
}

.bfcta-bubble-left.is-minimized .bfcta-bubble {
	transform: translate(0, -50%) scale(1);
}

.bfcta-bubble:hover,
.bfcta-bubble:focus {
	box-shadow: 0 18px 52px rgba(0, 0, 0, 0.22);
	transform: translate(0, -50%) scale(1.04);
}

@keyframes bfcta-bubble-pop {
	0% {
		opacity: 0;
		transform: translate(28px, -50%) scale(0.78);
	}

	65% {
		opacity: 1;
		transform: translate(0, -50%) scale(1.06);
	}

	100% {
		opacity: 1;
		transform: translate(0, -50%) scale(1);
	}
}

.bfcta-bubble-left.is-minimized .bfcta-bubble {
	animation-name: bfcta-bubble-pop-left;
}

@keyframes bfcta-bubble-pop-left {
	0% {
		opacity: 0;
		transform: translate(-28px, -50%) scale(0.78);
	}

	65% {
		opacity: 1;
		transform: translate(0, -50%) scale(1.06);
	}

	100% {
		opacity: 1;
		transform: translate(0, -50%) scale(1);
	}
}

@media (max-width: 767px) {
	.bfcta-hide-mobile {
		display: none !important;
	}

	.bfcta-card {
		padding: 26px 24px 24px;
	}

	.bfcta-title {
		font-size: 30px;
	}

	.bfcta-actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.bfcta-button {
		width: 100%;
	}

	.bfcta-bubble {
		right: 12px;
		max-width: calc(100vw - 24px);
	}

	.bfcta-bubble-left .bfcta-bubble {
		left: 12px;
	}
}
