.c123-floating-stack {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 99999;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 12px;
	width: auto;
	pointer-events: none;
}
.c123-floating-stack * {
	pointer-events: auto;
}
.c123-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border-radius: 9999px;
	padding: 10px 16px;
	box-shadow: 0 6px 16px rgba(0,0,0,.15);
	text-decoration: none;
	transform: translateZ(0);
	transition: transform .2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .2s ease;
	box-sizing: border-box;
	line-height: 1;
}
.c123-btn:hover {
	transform: scale(1.08);
	box-shadow: 0 8px 24px rgba(0,0,0,.22);
}
.c123-btn.small {
	padding: 8px 12px;
	font-size: 0.8125rem;
}
.c123-btn.large {
	padding: 12px 20px;
	font-size: 1.0625rem;
}

/* Icon-only Mode: Tự động kích hoạt khi không nhập text (gọn gàng, không bị kéo dài) */
.c123-btn .ico {
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	flex-shrink: 0;
}
.c123-btn .ico img {
	border-radius: 50% !important;
	object-fit: cover !important;
}
.c123-btn.c123-icon-only {
	padding: 0 !important;
	border-radius: 50% !important;
	width: 48px;
	height: 48px;
	min-width: 48px;
	min-height: 48px;
}
.c123-btn.c123-icon-only.small {
	width: 40px;
	height: 40px;
	min-width: 40px;
	min-height: 40px;
}
.c123-btn.c123-icon-only.large {
	width: 56px;
	height: 56px;
	min-width: 56px;
	min-height: 56px;
}
.c123-btn.c123-icon-only .ico {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	margin: 0 !important;
	border-radius: 50% !important;
	overflow: hidden !important;
}
.c123-btn.c123-icon-only .ico svg {
	width: 24px;
	height: 24px;
}
.c123-btn.c123-icon-only.small .ico svg {
	width: 20px;
	height: 20px;
}
.c123-btn.c123-icon-only.large .ico svg {
	width: 28px;
	height: 28px;
}
.c123-btn.c123-icon-only .ico img {
	width: 26px;
	height: 26px;
	border-radius: 50% !important;
	object-fit: cover !important;
}
.c123-btn.c123-icon-only.small .ico img {
	width: 22px;
	height: 22px;
}
.c123-btn.c123-icon-only.large .ico img {
	width: 32px;
	height: 32px;
}

/* Fill Icon Mode: Không nền, ảnh tràn viền lấp đầy nút (Full Icon) */
.c123-btn.c123-fill-icon {
	background: transparent !important;
	box-shadow: none !important;
	border: none !important;
	padding: 0 !important;
	border-radius: 50% !important;
	width: 48px;
	height: 48px;
	min-width: 48px;
	min-height: 48px;
	filter: drop-shadow(0 4px 10px rgba(0,0,0,0.22));
}
.c123-btn.c123-fill-icon.small {
	width: 40px;
	height: 40px;
	min-width: 40px;
	min-height: 40px;
}
.c123-btn.c123-fill-icon.large {
	width: 56px;
	height: 56px;
	min-width: 56px;
	min-height: 56px;
}
.c123-btn.c123-fill-icon .ico {
	width: 100% !important;
	height: 100% !important;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50% !important;
	overflow: hidden !important;
	margin: 0 !important;
}
.c123-btn.c123-fill-icon .ico img,
.c123-btn.c123-fill-icon .ico .c123-img-fill {
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	border-radius: 50% !important;
	object-fit: cover !important;
	display: block;
}
.c123-btn.c123-fill-icon .ico svg {
	width: 100% !important;
	height: 100% !important;
	border-radius: 50% !important;
}

/* Hiệu ứng tỏa (Pulse / Ripple Wave) */
.c123-btn.c123-pulse {
	position: relative;
}
.c123-btn.c123-pulse .ico,
.c123-btn.c123-pulse .txt {
	position: relative;
	z-index: 2;
}
.c123-btn.c123-pulse::before,
.c123-btn.c123-pulse::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background-color: var(--c123-pulse-color, #0068ff);
	pointer-events: none;
	z-index: 0;
	opacity: 0.65;
	animation: c123-pulse-wave 2.2s cubic-bezier(0.1, 0.7, 0.3, 1) infinite;
}
.c123-btn.c123-pulse::after {
	animation-delay: 1.1s;
}

@keyframes c123-pulse-wave {
	0% {
		transform: scale(1);
		opacity: 0.65;
	}
	50% {
		opacity: 0.3;
	}
	100% {
		transform: scale(1.75);
		opacity: 0;
	}
}

@media (max-width:781.98px){.c123-hide-mobile{display:none!important}}
@media (min-width:782px){.c123-hide-desktop{display:none!important}}
