/* Floating WhatsApp button (includes/whatsapp-float.php). */
.sana-wa-float {
	position: fixed;
	right: calc(20px + env(safe-area-inset-right, 0px));
	bottom: calc(20px + env(safe-area-inset-bottom, 0px));
	z-index: 9990; /* above page content, below the Kadence mobile drawer */
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #25D366; /* WhatsApp green: recognised at a glance */
	color: #FFFFFF;
	box-shadow: 0 4px 14px rgba(11, 38, 43, 0.28);
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
	transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.sana-wa-float:hover {
	background: #1EBE5A;
	color: #FFFFFF;
	box-shadow: 0 6px 18px rgba(11, 38, 43, 0.34);
}

.sana-wa-float:focus-visible {
	outline: 3px solid #E3A64C;
	outline-offset: 3px;
}

.sana-wa-float__icon {
	display: block;
	width: 30px;
	height: 30px;
}

.sana-wa-float__sr {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

@media (max-width: 767px) {
	.sana-wa-float {
		right: calc(16px + env(safe-area-inset-right, 0px));
		bottom: calc(16px + env(safe-area-inset-bottom, 0px));
		width: 52px;
		height: 52px;
	}

	.sana-wa-float__icon {
		width: 28px;
		height: 28px;
	}
}

/* Hide while the Kadence mobile menu is open. */
.showing-popup-drawer-from-right .sana-wa-float,
.showing-popup-drawer-from-left .sana-wa-float,
.showing-popup-drawer-from-full .sana-wa-float {
	display: none;
}

@media (prefers-reduced-motion: reduce) {
	.sana-wa-float {
		transition: none;
	}
}

@media print {
	.sana-wa-float {
		display: none !important;
	}
}
