.bab-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999999;
	align-items: stretch;
	justify-content: center;
	background: var( --bab-bg-color, #ee3a43 );
	box-shadow: 0 -2px 12px rgba( 0, 0, 0, 0.18 );
	transform: translateY( 100% );
	transition: transform 0.3s ease;
}

.bab-bar.bab-visible {
	transform: translateY( 0 );
}

.bab-link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 16px 20px;
	text-decoration: none;
	color: var( --bab-text-color, #ffffff );
	font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	font-weight: 700;
	font-size: var( --bab-font-size, 15px );
	letter-spacing: 0.02em;
	text-transform: uppercase;
	text-align: center;
	line-height: 1.2;
}

/* Split button: two equal halves. */
.bab-bar.bab-split {
	background: transparent;
	box-shadow: none;
}

.bab-link-split {
	flex: 1 1 50%;
	background-color: var( --bab-bg-color, #ee3a43 );
}

.bab-bar.bab-split .bab-link-split:first-child {
	background-color: var( --bab-split-bg-color, #0068b2 );
}

.bab-bar.bab-split .bab-link-split:last-child {
	border-left: 1px solid rgba( 255, 255, 255, 0.25 );
}

.bab-link:hover,
.bab-link:focus,
.bab-link:visited {
	color: var( --bab-text-color, #ffffff );
}

.bab-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: var( --bab-text-color, #ffffff );
}

/* Desktop: collapse into a rounded floating pill, bottom-right, instead of a full-width bar. */
@media ( min-width: 768px ) {
	.bab-bar {
		left: auto;
		right: 24px;
		bottom: 24px;
		border-radius: 999px;
		box-shadow: 0 4px 18px rgba( 0, 0, 0, 0.28 );
		overflow: hidden;
	}

	.bab-link {
		width: auto;
		padding: 14px 28px;
	}
}
