/* ── CB Float Bar – front-end styles ───────────────────────────── */

/* ── FLOATING BAR ─────────────────────────────────────────────── */
#cbfb-bar {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 9990;
	border-top: 1px solid rgba(255, 255, 255, .08);
	box-shadow: 0 -4px 24px rgba(0, 0, 0, .25);

	/* slide-up animation */
	transform: translateY(100%);
	opacity: 0;
	transition: transform .35s cubic-bezier(.22,.61,.36,1), opacity .35s ease;
}

#cbfb-bar.cbfb-visible {
	transform: translateY(0);
	opacity: 1;
}

.cbfb-bar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 24px;
	max-width: 1200px;
	margin: 0 auto;
}

.cbfb-bar-text {
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
	flex-shrink: 0;
}

.cbfb-bar-text strong {
	font-size: 20px;
	font-weight: 800;
	line-height: 1;
}

.cbfb-bar-btns {
	display: flex;
	gap: 8px;
	align-items: center;
	flex-shrink: 0;
}

/* Buttons */
.cbfb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	line-height: 1.2;
	transition: opacity .15s ease, transform .15s ease, box-shadow .15s ease;
}

.cbfb-btn:hover {
	opacity: .88;
	transform: translateY(-1px);
}

.cbfb-btn-primary {
	box-shadow: 0 3px 14px rgba(0, 0, 0, .25);
}

.cbfb-btn-primary:hover {
	box-shadow: 0 5px 20px rgba(0, 0, 0, .35);
}

/* ── WHATSAPP BUBBLE ──────────────────────────────────────────── */
#cbfb-wa {
	position: fixed;
	z-index: 9991;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	box-shadow: 0 6px 20px rgba(37, 211, 102, .45);
	transition: transform .2s ease, box-shadow .2s ease;
	cursor: pointer;

	/* appear animation */
	animation: cbfb-wa-pop .5s cubic-bezier(.34,1.56,.64,1) .8s both;
}

#cbfb-wa:hover {
	transform: scale(1.1);
	box-shadow: 0 10px 28px rgba(37, 211, 102, .55);
}

#cbfb-wa svg {
	display: block;
}

@keyframes cbfb-wa-pop {
	from { transform: scale(0); opacity: 0; }
	to   { transform: scale(1); opacity: 1; }
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 600px) {
	.cbfb-bar-inner {
		padding: 10px 14px;
		gap: 10px;
	}
	.cbfb-bar-text {
		font-size: 12px;
	}
	.cbfb-bar-text strong {
		font-size: 16px;
	}
	.cbfb-btn {
		padding: 9px 13px;
		font-size: 12px;
	}
}

@media (max-width: 380px) {
	.cbfb-bar-text {
		display: none; /* hide label on very small screens, keep only buttons */
	}
	.cbfb-bar-btns {
		width: 100%;
		justify-content: center;
	}
}
