/* v6 - 2026-10-12/13: nut Goi dien + Zalo
   - Desktop: 2 nut tron noi goc duoi PHAI, Zalo to hon Goi dien.
   - Mobile: thanh dinh day FULL WIDTH 2 nut ngang (kieu rtlp-sticky cua trang Dolphin). */

.rt-float-label{ display:none }

.rt-float-contact{
	position:fixed;
	left:20px;
	bottom:20px;
	z-index:9999;
	display:flex;
	flex-direction:column;
	align-items:flex-start;
	gap:12px;
}
.rt-float-contact a{
	display:flex;
	align-items:center;
	justify-content:center;
	border-radius:50%;
	box-shadow:0 4px 14px rgba(0,0,0,.28);
	text-decoration:none;
	animation:rt-float-pulse 1.8s infinite;
}
.rt-float-contact a img{
	border-radius:50%;
}
.rt-float-contact a.rt-float-call{
	width:52px;height:52px;
	background:#f37324;
	color:#fff;
	font-size:22px;
}
.rt-float-contact a.rt-float-call i{
	animation:rt-float-ring 1.4s infinite;
}
.rt-float-contact a.rt-float-zalo{
	width:64px;height:64px;
}
.rt-float-contact a.rt-float-zalo img{
	width:40px;height:40px;
}
@keyframes rt-float-pulse{
	0%{box-shadow:0 4px 14px rgba(0,0,0,.28),0 0 0 0 rgba(243,115,36,.35)}
	70%{box-shadow:0 4px 14px rgba(0,0,0,.28),0 0 0 12px rgba(243,115,36,0)}
	100%{box-shadow:0 4px 14px rgba(0,0,0,.28),0 0 0 0 rgba(243,115,36,0)}
}
@keyframes rt-float-ring{
	0%,100%{transform:rotate(0)}
	10%{transform:rotate(-15deg)}
	20%{transform:rotate(12deg)}
	30%{transform:rotate(-10deg)}
	40%{transform:rotate(8deg)}
	50%{transform:rotate(0)}
}

/* ----------------------- Mobile: thanh dinh day ----------------------- */
@media (max-width:549px){
	body{ padding-bottom:64px }

	.rt-float-contact{
		left:0;right:0;bottom:0;top:auto;
		flex-direction:row;
		align-items:stretch;
		gap:8px;
		padding:8px 10px;
		padding-bottom:calc(8px + env(safe-area-inset-bottom));
		background:rgba(255,255,255,.97);
		border-top:1px solid #e5e5e5;
		box-shadow:0 -4px 16px rgba(0,0,0,.12);
	}
	.rt-float-label{
		display:inline-block;
		font-size:13.5px;font-weight:800;letter-spacing:.2px;
	}
	.rt-float-contact a{
		flex-direction:row;
		gap:7px;
		border-radius:10px;
		height:44px;
		width:auto;
		box-shadow:none;
		animation:none;
	}
	.rt-float-contact a img{
		width:22px;height:22px;border-radius:50%;
	}
	.rt-float-contact a.rt-float-call{
		flex:0 0 40%;
		font-size:17px;
		background:#fdece0;
		color:#c85a1a;
	}
	.rt-float-contact a.rt-float-call i{ animation:none }
	.rt-float-contact a.rt-float-zalo{
		flex:1;
		width:auto;height:44px;
		background:linear-gradient(180deg,#2e88e0 0%,#0068ff 100%);
		box-shadow:0 5px 14px rgba(0,104,255,.32);
	}
	.rt-float-contact a.rt-float-zalo .rt-float-label{ color:#fff }
}
