.hwa-whatsapp-button {
	position: fixed;
	bottom: 24px;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
	text-decoration: none;
	transition: transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out, bottom 0.25s ease;
}

.hwa-whatsapp-button:hover,
.hwa-whatsapp-button:focus {
	transform: scale(1.08);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
	text-decoration: none;
}

.hwa-whatsapp-button.hwa-position-right {
	right: 24px;
}

.hwa-whatsapp-button.hwa-position-left {
	left: 24px;
}

/* The theme shows a sticky bottom nav bar (~59px tall) at this same
   breakpoint — sit above it instead of overlapping it. When the nav
   auto-hides on scroll (body.hs-bottom-nav-hidden, set by the theme's
   bottom-nav script), drop back down to the normal offset. */
@media (max-width: 782px) {
	.hwa-whatsapp-button {
		bottom: calc(76px + env(safe-area-inset-bottom));
	}

	body.hs-bottom-nav-hidden .hwa-whatsapp-button {
		bottom: 24px;
	}
}

@media (max-width: 480px) {
	.hwa-whatsapp-button {
		width: 52px;
		height: 52px;
		bottom: calc(76px + env(safe-area-inset-bottom));
	}

	.hwa-whatsapp-button.hwa-position-right {
		right: 16px;
	}

	.hwa-whatsapp-button.hwa-position-left {
		left: 16px;
	}

	body.hs-bottom-nav-hidden .hwa-whatsapp-button {
		bottom: 16px;
	}
}
