.lkt-contact-widget,
.lkt-contact-widget * {
	box-sizing: border-box;
}

.lkt-contact-widget {
	--lkt-contact-main: #f35704;
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 99999;
	color: #222;
	font-family: Arial, sans-serif;
}

.lkt-contact-panel {
	position: absolute;
	right: 0;
	bottom: 80px;
	width: 300px;
	padding: 12px 0;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 3px 16px rgba(0, 0, 0, .26);
	opacity: 0;
	visibility: hidden;
	transform: scale(.92);
	transform-origin: 86% 108%;
	transition: opacity .16s ease, visibility .16s ease, transform .16s ease;
}

.lkt-contact-panel::after {
	content: "";
	position: absolute;
	right: 28px;
	bottom: -10px;
	border-top: 11px solid #fff;
	border-right: 11px solid transparent;
	border-left: 11px solid transparent;
}

.lkt-contact-widget.is-open .lkt-contact-panel {
	opacity: 1;
	visibility: visible;
	transform: scale(1);
}

.lkt-contact-item {
	display: flex;
	align-items: center;
	gap: 13px;
	min-height: 58px;
	padding: 9px 14px;
	color: #222;
	font-size: 16px;
	line-height: 1.35;
	text-decoration: none;
	transition: background-color .14s ease;
}

.lkt-contact-item:hover,
.lkt-contact-item:focus {
	color: #222;
	background: #eee;
	outline: 0;
	text-decoration: none;
}

.lkt-contact-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	color: #fff;
}

.lkt-contact-icon svg {
	display: block;
	width: 28px;
	height: 28px;
}

.lkt-contact-icon--messenger {
	background: linear-gradient(45deg, #00b2ff, #006aff);
}

.lkt-contact-toggle {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 76px;
	height: 76px;
	margin-left: auto;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--lkt-contact-main);
	box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
	color: #fff;
	cursor: pointer;
	font-family: Arial, sans-serif;
}

.lkt-contact-toggle::before,
.lkt-contact-toggle::after {
	content: "";
	position: absolute;
	inset: -8px;
	z-index: -1;
	border-radius: 50%;
	background: var(--lkt-contact-main);
	animation: lkt-contact-pulse 2s infinite;
}

.lkt-contact-toggle::after {
	animation-delay: .5s;
}

.lkt-contact-static,
.lkt-contact-close {
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity .14s ease, transform .14s ease;
}

.lkt-contact-static {
	flex-direction: column;
	gap: 2px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

.lkt-contact-static svg,
.lkt-contact-close svg {
	width: 28px;
	height: 28px;
}

.lkt-contact-close {
	position: absolute;
	inset: 0;
	opacity: 0;
	transform: rotate(180deg) scale(.2);
}

.lkt-contact-widget.is-open .lkt-contact-toggle::before,
.lkt-contact-widget.is-open .lkt-contact-toggle::after {
	opacity: 0;
	animation: none;
}

.lkt-contact-widget.is-open .lkt-contact-static {
	opacity: 0;
	transform: scale(.2);
}

.lkt-contact-widget.is-open .lkt-contact-close {
	opacity: 1;
	transform: rotate(0) scale(1);
}

@keyframes lkt-contact-pulse {
	0% {
		opacity: .75;
		transform: scale(.7);
	}

	70%,
	100% {
		opacity: 0;
		transform: scale(1.2);
	}
}

@media (max-width: 760px) {
	.lkt-contact-widget {
		right: 14px;
		bottom: 76px;
	}

	.lkt-contact-panel {
		bottom: 78px;
		width: min(300px, calc(100vw - 28px));
	}

	.lkt-contact-toggle {
		width: 68px;
		height: 68px;
	}

	.lkt-contact-item {
		min-height: 54px;
		font-size: 15px;
	}

	.lkt-contact-icon {
		flex-basis: 44px;
		width: 44px;
		height: 44px;
	}
}
