/* ==========================================================================
   Floating call button (mobile only) — printed once by ahan_print_style_once().
   ========================================================================== */

.ahan-call-button {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 44px;
	border-radius: 8px 8px 0 0;
	background: rgb(0, 153, 0);
	color: #fff;
	text-decoration: none;
}

/* Pulse ring behind the content (stays inside the button's stacking context). */
.ahan-call-button::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: 100%;
	background: inherit;
	opacity: 0.75;
	pointer-events: none;
	animation: ahan-call-button-ping 1s cubic-bezier(0, 0, 0.2, 1) 4;
}

.ahan-call-button__text {
	font-size: var(--t-btn-lg-size);
	font-weight: var(--fw-semibold);
}

.ahan-call-button__icon {
	width: 24px;
	height: 24px;
}

.ahan-call-button:focus-visible {
	outline: 2px solid #fff;
	outline-offset: -4px;
}

@keyframes ahan-call-button-ping {
	75%,
	100% {
		transform: scale(1.25);
		opacity: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ahan-call-button::before {
		animation: none;
		display: none;
	}
}

@media (min-width: 768px) {
	.ahan-call-button {
		display: none;
	}
}

/* hover-states: touch only (the bar is mobile-only), so press feedback instead of hover. */
.ahan-call-button:active {
	filter: brightness(0.92);
}