.mcs-customer-service {
	--mcs-size: 48px;
	--mcs-gap: 10px;
	--mcs-z-index: 9999;
	display: flex;
	gap: var(--mcs-gap);
	align-items: center;
	font-family: inherit;
}

.mcs-customer-service--floating {
	position: fixed;
	z-index: var(--mcs-z-index);
}

.mcs-customer-service--inline {
	position: relative;
	z-index: 1;
}

.mcs-layout-vertical {
	flex-direction: column;
}

.mcs-layout-horizontal {
	flex-direction: row;
	flex-wrap: wrap;
}

.mcs-pos-right_center {
	top: 50%;
	right: var(--mcs-right);
	transform: translateY(-50%);
}

.mcs-pos-left_center {
	top: 50%;
	left: var(--mcs-left);
	transform: translateY(-50%);
}

.mcs-pos-bottom_right {
	right: var(--mcs-right);
	bottom: var(--mcs-bottom);
}

.mcs-pos-bottom_left {
	bottom: var(--mcs-bottom);
	left: var(--mcs-left);
}

.mcs-pos-top_right {
	top: var(--mcs-top);
	right: var(--mcs-right);
}

.mcs-pos-top_left {
	top: var(--mcs-top);
	left: var(--mcs-left);
}

.mcs-pos-custom {
	top: var(--mcs-top);
	right: auto;
	bottom: auto;
	left: var(--mcs-left);
}

.mcs-customer-service__button {
	width: auto;
	min-width: var(--mcs-size);
	height: var(--mcs-size);
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 0 14px;
	border: 0;
	background: var(--mcs-channel-color);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
	transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.mcs-customer-service__button:hover,
.mcs-customer-service__button:focus-visible {
	color: #fff;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(15, 23, 42, 0.22);
	filter: saturate(1.06);
	outline: none;
}

.mcs-customer-service__button:focus-visible {
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.95), 0 0 0 6px var(--mcs-channel-color);
}

.mcs-shape-circle .mcs-customer-service__button {
	border-radius: 999px;
}

.mcs-shape-rounded .mcs-customer-service__button {
	border-radius: 12px;
}

.mcs-customer-service__icon {
	width: calc(var(--mcs-size) * 0.48);
	height: calc(var(--mcs-size) * 0.48);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}

.mcs-customer-service__icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

.mcs-customer-service__label {
	max-width: 180px;
	overflow: hidden;
	white-space: nowrap;
}

.mcs-label-hidden .mcs-customer-service__button {
	width: var(--mcs-size);
	padding: 0;
}

.mcs-label-hidden .mcs-customer-service__label {
	display: none;
}

.mcs-label-hover .mcs-customer-service__button {
	width: var(--mcs-size);
	gap: 0;
	padding: 0;
	overflow: hidden;
}

.mcs-label-hover .mcs-customer-service__label {
	max-width: 0;
	opacity: 0;
	transition: max-width 0.18s ease, opacity 0.18s ease;
}

.mcs-label-hover .mcs-customer-service__button:hover,
.mcs-label-hover .mcs-customer-service__button:focus-visible {
	width: auto;
	gap: 8px;
	padding: 0 14px;
}

.mcs-label-hover .mcs-customer-service__button:hover .mcs-customer-service__label,
.mcs-label-hover .mcs-customer-service__button:focus-visible .mcs-customer-service__label {
	max-width: 180px;
	opacity: 1;
}

@media (max-width: 640px) {
	.mcs-hide-mobile {
		display: none !important;
	}

	.mcs-customer-service {
		--mcs-gap: 8px;
	}

	.mcs-customer-service--floating {
		max-width: calc(100vw - 24px);
	}

	.mcs-pos-right_center,
	.mcs-pos-bottom_right,
	.mcs-pos-top_right {
		right: 12px;
	}

	.mcs-pos-left_center,
	.mcs-pos-bottom_left,
	.mcs-pos-top_left {
		left: 12px;
	}

	.mcs-pos-bottom_right,
	.mcs-pos-bottom_left {
		bottom: 14px;
	}

	.mcs-label-always .mcs-customer-service__button {
		padding: 0 12px;
	}
}
