.els-floating-social {
	--els-floating-bottom: 1.5rem;
	--els-floating-left: 1.5rem;
	--els-floating-toggle-bg: #2F455C;
	--els-floating-toggle-fg: #ffffff;
	--els-floating-panel-bg: #ffffff;
	--els-floating-icon-color: #2F455C;
	--els-floating-hover-bg: #21D0B3;
	--els-floating-hover-color: #ffffff;
	position: fixed;
	left: max(var(--els-floating-left), env(safe-area-inset-left, 0px));
	bottom: max(var(--els-floating-bottom), env(safe-area-inset-bottom, 0px));
	z-index: 1200;
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	pointer-events: none;
	font-family: inherit;
}

body.els-header-menu-open .els-floating-social {
	opacity: 0;
	pointer-events: none;
	visibility: hidden;
}

.els-floating-social__toggle,
.els-floating-social__item {
	pointer-events: auto;
}

.els-floating-social__toggle {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	min-width: 54px;
	max-width: 54px;
	height: 54px;
	min-height: 54px;
	max-height: 54px;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--els-floating-toggle-bg) !important;
	color: var(--els-floating-toggle-fg) !important;
	box-shadow: 0 18px 38px rgba(47, 69, 92, 0.22), 0 4px 12px rgba(16, 33, 47, 0.14);
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	-webkit-tap-highlight-color: transparent;
	aspect-ratio: 1 / 1;
	line-height: 1;
	font-size: 0;
	transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
	touch-action: manipulation;
}

.els-floating-social__toggle:hover,
.els-floating-social__toggle:focus-visible,
.els-floating-social__toggle:active {
	background: var(--els-floating-toggle-bg) !important;
	color: var(--els-floating-toggle-fg) !important;
	transform: translateY(-1px) scale(0.98);
	box-shadow: 0 14px 30px rgba(47, 69, 92, 0.18), 0 3px 10px rgba(16, 33, 47, 0.12);
	outline: none;
}

.els-floating-social__toggle:focus-visible,
.els-floating-social__item:focus-visible {
	outline: 2px solid #21D0B3;
	outline-offset: 4px;
}

.els-floating-social__toggle-icon,
.els-floating-social__toggle-icon::before,
.els-floating-social__toggle-icon::after {
	display: block;
	width: 22px;
	height: 3px;
	border-radius: 999px;
	background: currentColor;
}

.els-floating-social__toggle-icon {
	position: relative;
}

.els-floating-social__toggle-icon::before,
.els-floating-social__toggle-icon::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	transition: transform 200ms ease;
}

.els-floating-social__toggle-icon::before {
	transform: rotate(90deg);
}

.els-floating-social.is-open .els-floating-social__toggle-icon {
	background: transparent;
}

.els-floating-social.is-open .els-floating-social__toggle-icon::before {
	transform: rotate(45deg);
}

.els-floating-social.is-open .els-floating-social__toggle-icon::after {
	transform: rotate(-45deg);
}

.els-floating-social__panel {
	position: absolute;
	left: 0;
	bottom: 0;
	min-width: 54px;
	pointer-events: none;
}

.els-floating-social__panel[hidden] {
	display: none;
}

.els-floating-social__label {
	position: absolute;
	left: 50%;
	bottom: calc(100% + 0.85rem);
	display: flex;
	align-items: center;
	width: max-content;
	max-width: min(220px, calc(100vw - 2rem));
	min-height: 28px;
	padding: 0.3rem 0.78rem;
	border-radius: 999px;
	background: rgba(47, 69, 92, 0.92);
	color: #ffffff;
	font-size: 0.68rem;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	box-shadow: 0 12px 26px rgba(16, 33, 47, 0.12);
	opacity: 0;
	pointer-events: none;
	transform: translate3d(-50%, 10px, 0);
	transition: opacity 220ms ease, transform 220ms ease;
	white-space: nowrap;
	z-index: 1;
}

.els-floating-social__items {
	position: relative;
	width: 54px;
	height: 54px;
}

.els-floating-social__item {
	position: absolute;
	left: 4px;
	bottom: 4px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 999px;
	background: var(--els-floating-panel-bg);
	color: var(--els-floating-icon-color) !important;
	text-decoration: none !important;
	box-shadow: 0 14px 30px rgba(47, 69, 92, 0.14);
	opacity: 0;
	pointer-events: none;
	transform: translate3d(0, 0, 0) scale(0.72);
	transform-origin: bottom left;
	transition: opacity 220ms ease, transform 220ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.els-floating-social__item:hover,
.els-floating-social__item:focus-visible {
	border-color: transparent;
	background: var(--els-floating-hover-bg);
	color: var(--els-floating-hover-color) !important;
}

.els-floating-social__item svg {
	display: block;
	width: 19px;
	height: 19px;
	fill: currentColor;
	stroke: currentColor;
}

.els-floating-social.is-open .els-floating-social__panel {
	pointer-events: auto;
}

.els-floating-social.is-open .els-floating-social__label {
	opacity: 1;
	transform: translate3d(-50%, 0, 0);
}

.els-floating-social.is-open .els-floating-social__item {
	opacity: 1;
	pointer-events: auto;
}

.els-floating-social--up-right .els-floating-social__panel,
.els-floating-social--right .els-floating-social__panel {
	left: 0;
}

.els-floating-social--up-right .els-floating-social__label {
	left: 0;
	bottom: calc(100% + 4.9rem);
	transform: translate3d(0, 10px, 0);
}

.els-floating-social--up .els-floating-social__label {
	left: 50%;
	bottom: calc(100% + 4.9rem);
	transform: translate3d(-50%, 10px, 0);
}

.els-floating-social--right .els-floating-social__label {
	left: calc(100% + 1rem);
	bottom: calc(100% + 0.2rem);
	transform: translate3d(0, 10px, 0);
}

.els-floating-social--up-right.is-open .els-floating-social__label,
.els-floating-social--right.is-open .els-floating-social__label {
	transform: translate3d(0, 0, 0);
}

.els-floating-social--up-right.is-open .els-floating-social__item[data-item-index="0"] {
	transform: translate3d(0, -72px, 0) scale(1);
}

.els-floating-social--up-right.is-open .els-floating-social__item[data-item-index="1"] {
	transform: translate3d(56px, -56px, 0) scale(1);
}

.els-floating-social--up-right.is-open .els-floating-social__item[data-item-index="2"] {
	transform: translate3d(78px, 0, 0) scale(1);
}

.els-floating-social--up-right.is-open .els-floating-social__item[data-item-index="3"] {
	transform: translate3d(0, -144px, 0) scale(1);
}

.els-floating-social--up.is-open .els-floating-social__item[data-item-index="0"] {
	transform: translate3d(0, -62px, 0) scale(1);
}

.els-floating-social--up.is-open .els-floating-social__item[data-item-index="1"] {
	transform: translate3d(0, -114px, 0) scale(1);
}

.els-floating-social--up.is-open .els-floating-social__item[data-item-index="2"] {
	transform: translate3d(0, -166px, 0) scale(1);
}

.els-floating-social--up.is-open .els-floating-social__item[data-item-index="3"] {
	transform: translate3d(0, -218px, 0) scale(1);
}

.els-floating-social--right.is-open .els-floating-social__item[data-item-index="0"] {
	transform: translate3d(62px, 0, 0) scale(1);
}

.els-floating-social--right.is-open .els-floating-social__item[data-item-index="1"] {
	transform: translate3d(114px, 0, 0) scale(1);
}

.els-floating-social--right.is-open .els-floating-social__item[data-item-index="2"] {
	transform: translate3d(166px, 0, 0) scale(1);
}

.els-floating-social--right.is-open .els-floating-social__item[data-item-index="3"] {
	transform: translate3d(218px, 0, 0) scale(1);
}

@media (max-width: 640px) {
	.els-floating-social {
		--els-floating-bottom: 1rem;
		--els-floating-left: 1rem;
	}

	.els-floating-social__toggle {
		width: 50px;
		min-width: 50px;
		max-width: 50px;
		height: 50px;
		min-height: 50px;
		max-height: 50px;
	}

	.els-floating-social__item {
		width: 44px;
		height: 44px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.els-floating-social__toggle,
	.els-floating-social__toggle-icon::before,
	.els-floating-social__toggle-icon::after,
	.els-floating-social__panel,
	.els-floating-social__item {
		transition: none;
	}
}
