.ba-wrap {
	display: flex;
	flex-direction: column;
	gap: 10px;
	text-decoration: none;
	color: inherit;
}

.ba-slider {
	position: relative;
	overflow: hidden;
	border-radius: 6px;
	aspect-ratio: 4 / 3;
	cursor: ew-resize;
	user-select: none;
	-webkit-user-select: none;
	touch-action: none;
}

.ba-slider .ba-after,
.ba-slider .ba-before {
	position: absolute;
	inset: 0;
	background-size: 200% 100%;
	background-repeat: no-repeat;
}

.ba-slider .ba-after {
	background-position: 100% 50%;
}

.ba-slider .ba-before {
	background-position: 0% 50%;
	clip-path: inset(0 50% 0 0);
}

.ba-slider .ba-handle {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 2px;
	background: #fff;
	transform: translateX(-50%);
	pointer-events: none;
}

.ba-handle-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 38px;
	height: 38px;
	background: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	color: #111;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.ba-label {
	position: absolute;
	top: 10px;
	padding: 3px 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border-radius: 3px;
	pointer-events: none;
}

.ba-label.before {
	left: 10px;
	background: rgba(0, 0, 0, 0.65);
	color: #fff;
}

.ba-label.after {
	right: 10px;
	background: #d62828;
	color: #fff;
}

.ba-cap {
	margin: 0;
	font-size: 13px;
	color: #888;
	text-align: center;
}
