/**
 * Fixed phone + Zalo — sóng vàng tỏa nhiều lớp, scoped + !important.
 */
@keyframes hello-contact-float-wave {
	0% {
		transform: scale(1);
		opacity: 0.58;
	}
	12% {
		opacity: 0.5;
	}
	100% {
		transform: scale(2.05);
		opacity: 0;
	}
}

body .hello-contact-float {
	position: fixed !important;
	z-index: 2147483000 !important;
	right: max(1.2rem, calc(0.35rem + env(safe-area-inset-right, 0px))) !important;
	bottom: max(1.2rem, calc(0.35rem + env(safe-area-inset-bottom, 0px))) !important;
	left: auto !important;
	top: auto !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	gap: 0.85rem !important;
	margin: 0 !important;
	padding: 0.5rem !important;
	max-width: none !important;
	width: auto !important;
	height: auto !important;
	pointer-events: none !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	transform: none !important;
}

body .hello-contact-float__btn,
body a.hello-contact-float__btn {
	box-sizing: border-box !important;
	position: relative !important;
	pointer-events: auto !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 2.5rem !important;
	height: 2.5rem !important;
	min-width: 2.5rem !important;
	min-height: 2.5rem !important;
	border-radius: 50% !important;
	text-decoration: none !important;
	border: 1.5px solid rgba(171, 140, 82, 0.95) !important;
	background: rgba(22, 22, 22, 0.92) !important;
	color: #ab8c52 !important;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35) !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 0 !important;
	overflow: visible !important;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		background 0.2s ease !important;
}

/* 4 vòng sóng lệch pha (2 pseudo trên nút + 2 trên span). */
body .hello-contact-float__btn::before,
body .hello-contact-float__btn::after {
	content: "" !important;
	position: absolute !important;
	inset: 0 !important;
	border-radius: 50% !important;
	border: 1px solid rgba(171, 140, 82, 0.72) !important;
	pointer-events: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	transform-origin: center !important;
	animation: hello-contact-float-wave 2.6s ease-out infinite !important;
	z-index: 0 !important;
}

body .hello-contact-float__btn::before {
	animation-delay: 0s !important;
}

body .hello-contact-float__btn::after {
	animation-delay: 0.65s !important;
}

body .hello-contact-float__ripples {
	position: absolute !important;
	inset: 0 !important;
	z-index: 0 !important;
	border-radius: 50% !important;
	pointer-events: none !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: visible !important;
}

body .hello-contact-float__ripples::before,
body .hello-contact-float__ripples::after {
	content: "" !important;
	position: absolute !important;
	inset: 0 !important;
	border-radius: 50% !important;
	border: 1px solid rgba(171, 140, 82, 0.68) !important;
	background: transparent !important;
	pointer-events: none !important;
	margin: 0 !important;
	transform-origin: center !important;
	animation: hello-contact-float-wave 2.6s ease-out infinite !important;
	z-index: 0 !important;
}

body .hello-contact-float__ripples::before {
	animation-delay: 1.3s !important;
}

body .hello-contact-float__ripples::after {
	animation-delay: 1.95s !important;
}

body .hello-contact-float__btn:hover,
body .hello-contact-float__btn:focus {
	transform: scale(1.06) !important;
	box-shadow: 0 4px 14px rgba(171, 140, 82, 0.28) !important;
	background: rgba(32, 32, 32, 0.94) !important;
}

body .hello-contact-float__btn:focus {
	outline: 2px solid #ab8c52 !important;
	outline-offset: 3px !important;
}

body .hello-contact-float__btn-inner {
	position: relative !important;
	z-index: 1 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 1.28rem !important;
	height: 1.28rem !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 0 !important;
	background: transparent !important;
	border: none !important;
}

body .hello-contact-float__icon-svg,
body .hello-contact-float__btn img.hello-contact-float__icon-svg {
	width: 1.28rem !important;
	height: 1.28rem !important;
	max-width: 1.35rem !important;
	max-height: 1.35rem !important;
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 0 !important;
	object-fit: contain !important;
	vertical-align: middle !important;
}

body .hello-contact-float__icon-img,
body .hello-contact-float__btn img.hello-contact-float__icon-img {
	width: 1.38rem !important;
	height: auto !important;
	max-width: 1.4rem !important;
	max-height: 1.32rem !important;
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 0 !important;
	object-fit: contain !important;
	vertical-align: middle !important;
}

body .hello-contact-float__btn--zalo .hello-contact-float__btn-inner {
	width: 1.42rem !important;
	height: 1.32rem !important;
}

@media (max-width: 480px) {
	body .hello-contact-float__btn,
	body a.hello-contact-float__btn {
		width: 2.35rem !important;
		height: 2.35rem !important;
		min-width: 2.35rem !important;
		min-height: 2.35rem !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	body .hello-contact-float__btn::before,
	body .hello-contact-float__btn::after,
	body .hello-contact-float__ripples::before,
	body .hello-contact-float__ripples::after {
		animation: none !important;
		opacity: 0 !important;
	}

	body .hello-contact-float__btn:hover,
	body .hello-contact-float__btn:focus {
		transform: none !important;
	}
}
