/* Floating social + back-to-top — góc dưới phải */
.hl-floating-actions {
	position: fixed;
	right: 18px;
	bottom: 22px;
	z-index: 99999;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
	pointer-events: none;
}

.hl-floating-actions__list {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
	pointer-events: auto;
}

.hl-floating-actions__item,
.hl-floating-actions__top {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	box-shadow:
		0 4px 14px rgba(0, 0, 0, 0.18),
		0 0 0 2px rgba(255, 255, 255, 0.85);
	cursor: pointer;
	text-decoration: none;
	transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
	opacity: 0;
	transform: translateY(12px) scale(0.92);
	animation: hl-float-in 0.45s ease forwards;
}

.hl-floating-actions__list .hl-floating-actions__item:nth-child(1) { animation-delay: 0.05s; }
.hl-floating-actions__list .hl-floating-actions__item:nth-child(2) { animation-delay: 0.10s; }
.hl-floating-actions__list .hl-floating-actions__item:nth-child(3) { animation-delay: 0.15s; }
.hl-floating-actions__list .hl-floating-actions__item:nth-child(4) { animation-delay: 0.20s; }
.hl-floating-actions__list .hl-floating-actions__item:nth-child(5) { animation-delay: 0.25s; }
.hl-floating-actions__list .hl-floating-actions__item:nth-child(6) { animation-delay: 0.30s; }

.hl-floating-actions__phone {
	pointer-events: auto;
	animation-delay: 0.35s;
}

.hl-floating-actions__item img,
.hl-floating-actions__top img {
	display: block;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
}

.hl-floating-actions__item:hover,
.hl-floating-actions__item:focus,
.hl-floating-actions__top:hover,
.hl-floating-actions__top:focus {
	transform: translateY(-3px) scale(1.08);
	box-shadow:
		0 8px 22px rgba(0, 0, 0, 0.22),
		0 0 0 3px rgba(255, 255, 255, 0.95);
	outline: none;
}

.hl-floating-actions__item--pulse {
	position: relative;
}

.hl-floating-actions__item--pulse::before {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	border: 2px solid rgba(242, 56, 90, 0.55);
	animation: hl-float-pulse 2s ease-out infinite;
	pointer-events: none;
}

.hl-floating-actions__top {
	pointer-events: auto;
	animation-delay: 0.4s;
}

.hl-floating-actions__top[hidden] {
	display: none !important;
}

.hl-floating-actions__top.is-visible {
	display: flex !important;
	opacity: 1;
	transform: translateY(0) scale(1);
	animation: hl-float-in 0.35s ease forwards;
}

@keyframes hl-float-in {
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes hl-float-pulse {
	0% {
		transform: scale(1);
		opacity: 0.75;
	}
	70% {
		transform: scale(1.35);
		opacity: 0;
	}
	100% {
		transform: scale(1.35);
		opacity: 0;
	}
}

@media (max-width: 767px) {
	.hl-floating-actions {
		right: 12px;
		bottom: 16px;
		gap: 8px;
	}

	.hl-floating-actions__list {
		gap: 8px;
	}

	.hl-floating-actions__item,
	.hl-floating-actions__top {
		width: 44px;
		height: 44px;
	}

	.hl-floating-actions__item img,
	.hl-floating-actions__top img {
		width: 40px;
		height: 40px;
	}
}
