/* Floating WhatsApp Button — Snippet 1161 */

.wa-float-wrapper {
	position: fixed;
	bottom: 28px;
	right: 28px;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wa-float-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background-color: #25D366;
	box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
	text-decoration: none;
	position: relative;
	transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
	opacity: 0;
	transform: translateY(30px) scale(0.85);
	animation: wa-float-entrance 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s forwards;
}

@keyframes wa-float-entrance {
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.wa-float-btn:hover,
.wa-float-btn:focus-visible {
	transform: scale(1.12);
	box-shadow: 0 8px 28px rgba(37, 211, 102, 0.6), 0 2px 8px rgba(0, 0, 0, 0.12);
	outline: none;
}

.wa-float-icon {
	width: 32px;
	height: 32px;
	display: block;
	flex-shrink: 0;
}

/* Tooltip */
.wa-float-tooltip {
	position: absolute;
	right: calc(100% + 14px);
	top: 50%;
	transform: translateY(-50%);
	background: rgba(20, 20, 20, 0.88);
	color: #fff;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	white-space: nowrap;
	padding: 7px 13px;
	border-radius: 8px;
	pointer-events: none;
	opacity: 0;
	transform: translateY(-50%) translateX(6px);
	transition: opacity 0.2s ease, transform 0.2s ease;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.wa-float-tooltip::after {
	content: '';
	position: absolute;
	top: 50%;
	right: -6px;
	transform: translateY(-50%);
	border-width: 5px 0 5px 6px;
	border-style: solid;
	border-color: transparent transparent transparent rgba(20, 20, 20, 0.88);
}

.wa-float-btn:hover .wa-float-tooltip,
.wa-float-btn:focus-visible .wa-float-tooltip {
	opacity: 1;
	transform: translateY(-50%) translateX(0);
}

/* =====================================================
   Back to Top — repositioned above WhatsApp (desktop)
   WA: bottom 28px + 60px height + 12px gap = 100px
   ===================================================== */

/* UAE Scroll to Top — all known selectors */
.uael-scroll-to-top,
.uael-scroll-top,
.uael-back-to-top,
.uael-back-to-top-wrap,
.uael-scroll-to-top-wrap,
[class*="uael-scroll"],
[class*="uael-back-to-top"] {
	bottom: 100px !important;
	right: 28px !important;
}

/* Elementor core */
.elementor-button-anchor,
.e-scroll-to-top,
.elementor-scroll-to-top {
	bottom: 100px !important;
	right: 28px !important;
}

/* Common theme/plugin classes */
.back-to-top,
.back-to-top-btn,
.backtotop,
.ast-scroll-top,
.scroll-to-top,
.scrolltop,
.scroll-top,
.go-top,
#back-to-top,
#backtotop,
#scroll-top,
#go-top {
	bottom: 100px !important;
	right: 28px !important;
}

/* JS-injected override class */
.wa-btt-nudged {
	bottom: 100px !important;
	right: 28px !important;
}

/* Mobile */
@media (max-width: 768px) {
	.wa-float-wrapper {
		bottom: 20px;
		right: 16px;
	}

	.wa-float-btn {
		width: 52px;
		height: 52px;
	}

	.wa-float-icon {
		width: 27px;
		height: 27px;
	}

	.wa-float-tooltip {
		display: none;
	}

	/* Mobile: WA bottom 20px + 52px + 12px = 84px */
	.uael-scroll-to-top,
	.uael-scroll-top,
	.uael-back-to-top,
	.uael-back-to-top-wrap,
	.uael-scroll-to-top-wrap,
	[class*="uael-scroll"],
	[class*="uael-back-to-top"],
	.elementor-button-anchor,
	.e-scroll-to-top,
	.elementor-scroll-to-top,
	.back-to-top,
	.back-to-top-btn,
	.backtotop,
	.ast-scroll-top,
	.scroll-to-top,
	.scrolltop,
	.scroll-top,
	.go-top,
	#back-to-top,
	#backtotop,
	#scroll-top,
	#go-top,
	.wa-btt-nudged {
		bottom: 84px !important;
		right: 16px !important;
	}
}
