.action-float-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 20px;
	z-index: 1040;
	padding: 0 16px;
	pointer-events: none;

	opacity: 0;
	visibility: hidden;
	transform: translateY(24px);
	transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
}

.action-float-bar.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.action-float-bar__shell {
	width: fit-content;
	max-width: calc(100vw - 32px);
	margin: 0 auto;
	pointer-events: auto;
	border: 1px solid rgba(var(--bs-primary-3-rgb), 0.22);
	border-radius: 28px;
	background: var(--bs-black-100);
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(var(--bs-black-0-rgb), 0.03) inset;
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
}

.action-float-bar__rail {
	display: flex;
	align-items: center;
	gap: 18px;
	min-height: 0;
	padding: 0;
	flex-wrap: nowrap;
}

.action-float-bar__context {
	min-width: 0;
	flex: 0 1 360px;
	color: var(--bs-black-0);
}

.action-float-bar__meta {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}

.action-float-bar__count {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	min-width: 54px;
	padding-inline: 12px;
	/* background: rgba(var(--bs-black-0-rgb), 0.06); */
	color: var(--bs-black-0);
	border-color: rgba(var(--bs-black-0-rgb), 0.14);
	font-weight: 500;
	padding-left: 24px;
}

.action-float-bar__count-number {
	display: inline-block;
	min-width: 1ch;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.01em;
	vertical-align: baseline;
}

.action-float-bar__count-label {
	white-space: nowrap;
}

.action-float-bar__eyebrow {
	display: block;
	margin-bottom: 4px;
	color: rgba(var(--bs-black-0-rgb), 0.6);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.action-float-bar__title {
	margin: 0;
	color: var(--bs-black-0);
	font-size: 1.08rem;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.action-float-bar__subtitle {
	margin: 6px 0 0;
	color: rgba(var(--bs-black-0-rgb), 0.72);
	font-size: 0.92rem;
	line-height: 1.35;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.action-float-bar__actions {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: nowrap;
	gap: 0px;
	min-width: 0;
	height: 100%;
}

.action-float-bar__empty {
	padding: 12px 16px;
	border-radius: 18px;
	background: rgba(var(--bs-black-0-rgb), 0.05);
	color: rgba(var(--bs-black-0-rgb), 0.7);
	font-size: 0.9rem;
	font-weight: 600;
}

.action-float-bar__action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 18px;
	border: 0;
	border-left: 1px solid rgba(var(--bs-black-0-rgb), 0.18);
	border-radius: 0;
	font-size: 0.95rem;
	font-weight: 500;
	letter-spacing: 0.2px;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, opacity 0.18s ease;
	background: transparent !important;
}

.action-float-bar__action>i,
.action-float-bar__action .action-float-bar__action-icon {
	flex: 0 0 auto;
	font-size: 17px;
}

.action-float-bar__action:hover,
.action-float-bar__action:focus-visible {
	transform: translateY(-1px);
	text-decoration: none;
}

.action-float-bar__action:focus-visible,
.action-float-bar__close:focus-visible {
	outline: 2px solid rgba(var(--bs-primary-2-rgb), 0.9);
	outline-offset: 2px;
}

.action-float-bar__action-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
	font-size: 1rem;
	line-height: 1;
}

.action-float-bar__action--primary {
	background: var(--bs-primary);
	border-color: var(--bs-primary);
	color: var(--bs-black-100);
	box-shadow: 0 10px 24px rgba(var(--bs-primary-rgb), 0.28);
}

.action-float-bar__action--primary:hover,
.action-float-bar__action--primary:focus-visible {
	background: var(--bs-primary-2);
	border-color: var(--bs-primary-2);
	color: var(--bs-black-100);
}

.action-float-bar__action--secondary {
	background: rgba(var(--bs-black-0-rgb), 0.06);
	color: var(--bs-black-0);
}

.action-float-bar__action--secondary:hover,
.action-float-bar__action--secondary:focus-visible {
	color: var(--bs-black-0);
}

.action-float-bar__action--ghost {
	background: transparent;
	border-color: rgba(var(--bs-black-0-rgb), 0.12);
	color: var(--bs-black-0);
}

.action-float-bar__action--ghost:hover,
.action-float-bar__action--ghost:focus-visible {
	background: rgba(var(--bs-black-0-rgb), 0.08);
	border-color: rgba(var(--bs-black-0-rgb), 0.2);
	color: var(--bs-black-0);
}

.action-float-bar__action--danger {
	background: rgba(var(--bs-danger-rgb), 0.16);
	color: var(--bs-danger);
}

.action-float-bar__action--danger:hover,
.action-float-bar__action--danger:focus-visible {}

.action-float-bar__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex: 0 0 auto;
	min-width: 68px;
	padding: 14px 20px;
	border: 0;
	border-left: 1px solid rgba(var(--bs-black-0-rgb), 0.18);
	border-radius: 0;
	background: transparent;
	color: rgba(var(--bs-black-0-rgb), 0.95);
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	transition: transform 0.18s ease, color 0.18s ease;
}

.action-float-bar__close:hover,
.action-float-bar__close:focus-visible {
	color: rgba(var(--bs-black-0-rgb), 1);
	transform: translateY(-1px);
}

.action-float-bar__close-icon {
	position: relative;
	width: 14px;
	height: 14px;
	flex: 0 0 auto;
}

.action-float-bar__close-icon::before,
.action-float-bar__close-icon::after {
	content: '';
	position: absolute;
	inset: 6px 0 0;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
	transform-origin: center;
}

.action-float-bar__close-icon::before {
	transform: rotate(45deg);
}

.action-float-bar__close-icon::after {
	transform: rotate(-45deg);
}

@media (max-width: 991.98px) {
	.action-float-bar {
		bottom: 14px;
		padding: 0 12px;
	}

	.action-float-bar__rail {
		flex-wrap: wrap;
		align-items: stretch;
		padding: 14px;
	}

	.action-float-bar__context {
		flex: 1 1 100%;
	}

	.action-float-bar__meta {
		justify-content: flex-start;
		flex: 1 1 auto;
	}

	.action-float-bar__actions {
		justify-content: flex-start;
		flex: 1 1 100%;
	}

	.action-float-bar__close {
		width: 100%;
	}
}

@media (max-width: 575.98px) {
	.action-float-bar__shell {
		border-radius: 24px;
	}

	.action-float-bar__action,
	.action-float-bar__close {
		width: 100%;
		min-height: 48px;
	}

	.action-float-bar__count {
		width: auto;
		min-width: 0;
	}

	.action-float-bar__actions {
		gap: 8px;
	}
}
