.imoto-floating-cta,
.imoto-floating-cta * {
	box-sizing: border-box;
}

.imoto-floating-cta {
	position: fixed;
	right: 18px;
	bottom: 28px;
	z-index: 90;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 12px;
	pointer-events: none;
}

.imoto-floating-cta__item {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	min-width: 52px;
	height: 52px;
	color: #fff;
	text-decoration: none;
	border-radius: 999px;
	box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
	pointer-events: auto;
	transition: transform .18s ease, box-shadow .18s ease;
}

.imoto-floating-cta__item:hover {
	color: #fff;
	box-shadow: 0 14px 30px rgba(0, 0, 0, .22);
	transform: translateY(-2px);
}

.imoto-floating-cta__icon {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	flex: 0 0 52px;
	border-radius: 50%;
}

.imoto-floating-cta__icon svg {
	width: 25px;
	height: 25px;
}

.imoto-floating-cta__item--zalo {
	background: #0068ff;
}

.imoto-floating-cta__item--zalo .imoto-floating-cta__icon {
	font-size: 13px;
	font-weight: 900;
	letter-spacing: -.02em;
}

.imoto-floating-cta__item--phone {
	background: #f05225;
}

.imoto-floating-cta__item--messenger {
	background: #0084ff;
}

.imoto-floating-cta__label {
	position: absolute;
	top: 50%;
	right: 44px;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	max-width: 0;
	height: 42px;
	overflow: hidden;
	padding: 0;
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	background: inherit;
	border-radius: 999px 0 0 999px;
	white-space: nowrap;
	opacity: 0;
	transform: translateY(-50%);
	transition: max-width .22s ease, padding .22s ease, opacity .18s ease;
}

.imoto-floating-cta__item:hover .imoto-floating-cta__label,
.imoto-floating-cta__item:focus-visible .imoto-floating-cta__label {
	max-width: 230px;
	padding: 0 18px 0 16px;
	opacity: 1;
}

@media (max-width: 640px) {
	.imoto-floating-cta {
		right: 12px;
		bottom: 18px;
		gap: 10px;
	}

	.imoto-floating-cta__item,
	.imoto-floating-cta__icon {
		min-width: 46px;
		width: 46px;
		height: 46px;
		flex-basis: 46px;
	}

	.imoto-floating-cta__icon svg {
		width: 22px;
		height: 22px;
	}

	.imoto-floating-cta__label {
		display: none;
	}

	.imoto-floating-cta__item--zalo .imoto-floating-cta__icon {
		font-size: 12px;
	}
}
