.tb-whatsapp-float {
	position: fixed;
	z-index: 1000;
	right: max(24px, env(safe-area-inset-right));
	bottom: max(24px, env(safe-area-inset-bottom));
	display: inline-flex;
	width: 64px;
	min-width: 64px;
	height: 64px;
	min-height: 64px;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 2px solid #fff;
	border-radius: 50%;
	color: #fff !important;
	background: #25d366;
	box-shadow: 0 8px 24px rgb(16 38 31 / 28%), 0 0 0 1px rgb(7 94 84 / 18%);
	font: 600 14px/1.2 "Poppins", Arial, sans-serif;
	text-decoration: none !important;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
	transition: transform .24s cubic-bezier(.2,.7,.2,1), background-color .24s ease, box-shadow .24s ease;
}

.tb-whatsapp-float::before {
	position: absolute;
	z-index: -1;
	inset: -3px;
	border: 1px solid rgb(37 211 102 / 85%);
	border-radius: inherit;
	content: "";
	pointer-events: none;
	animation: tb-whatsapp-ring 2.8s ease-out infinite;
}

.tb-whatsapp-float::after {
	position: absolute;
	right: calc(100% + 12px);
	padding: 9px 13px;
	border: 1px solid rgb(255 255 255 / 10%);
	border-radius: 6px;
	color: #fff;
	background: #20231f;
	box-shadow: 0 6px 18px rgb(0 0 0 / 18%);
	content: "Chat on WhatsApp";
	font: 600 12px/1.2 "Poppins", Arial, sans-serif;
	white-space: nowrap;
	opacity: 0;
	transform: translateX(4px);
	transition: opacity .18s ease, transform .18s ease;
	pointer-events: none;
}

.tb-whatsapp-float__icon {
	display: block;
	width: 27px;
	height: 27px;
	flex: 0 0 27px;
	fill: currentColor;
}

.tb-whatsapp-float__label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.tb-whatsapp-float:hover,
.tb-whatsapp-float:focus-visible {
	color: #fff !important;
	background: #075e54;
	box-shadow: 0 12px 30px rgb(16 38 31 / 34%), 0 0 0 2px rgb(37 211 102 / 35%);
	transform: translateY(-3px);
}

.tb-whatsapp-float:hover::after,
.tb-whatsapp-float:focus-visible::after { opacity: 1; transform: translateX(0); }

.tb-whatsapp-float:focus-visible {
	outline: 3px solid #d9c27b;
	outline-offset: 5px;
}

.tb-whatsapp-float:active { transform: translateY(0) scale(.97); }

@keyframes tb-whatsapp-ring {
	0% { opacity: .72; transform: scale(1); }
	75%, 100% { opacity: 0; transform: scale(1.18); }
}

@media (max-width: 600px) {
	.tb-whatsapp-float {
		right: max(16px, env(safe-area-inset-right));
		bottom: max(18px, env(safe-area-inset-bottom));
		width: 60px;
		min-width: 60px;
		height: 60px;
		min-height: 60px;
	}
	.tb-whatsapp-float__icon { width: 29px; height: 29px; flex-basis: 29px; }
	.tb-whatsapp-float::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.tb-whatsapp-float,
	.tb-whatsapp-float::before { animation: none !important; transition: none !important; }
}
