.gbft-floating-phone,
.gbft-floating-phone::before,
.gbft-floating-phone * {
	box-sizing: border-box;
}

.gbft-floating-phone {
	--gbft-floating-phone-color: #4f6f45;
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 9998;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	margin: 0;
	padding: 0;
	color: #fff;
	background: var(--gbft-floating-phone-color);
	border: 0;
	border-radius: 50%;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
	transition: filter 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.gbft-floating-phone::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	border: 2px solid var(--gbft-floating-phone-color);
	border-radius: inherit;
	animation: gbft-phone-pulse 2s ease-out infinite;
}

.gbft-floating-phone svg {
	position: relative;
	z-index: 1;
	display: block;
	flex: 0 0 auto;
}

.gbft-floating-phone:hover {
	color: #fff;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
	filter: brightness(0.92);
	transform: translateY(-2px);
	text-decoration: none;
}

.gbft-floating-phone:focus-visible {
	color: #fff;
	outline: 3px solid rgba(79, 111, 69, 0.38);
	outline-offset: 4px;
	text-decoration: none;
}

@keyframes gbft-phone-pulse {
	0% {
		opacity: 0.42;
		transform: scale(1);
	}

	70%,
	100% {
		opacity: 0;
		transform: scale(1.42);
	}
}

@media (max-width: 767px) {
	.gbft-floating-phone {
		right: 16px;
		bottom: calc(16px + env(safe-area-inset-bottom));
		width: 54px;
		height: 54px;
	}

	.gbft-floating-phone svg {
		width: 24px;
		height: 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gbft-floating-phone,
	.gbft-floating-phone::before {
		animation: none;
		transition: none;
	}
}

@media print {
	.gbft-floating-phone {
		display: none;
	}
}
