/* VortexG Live Chat lightweight launcher 0.8.5. */
.vortexg-livechat {
	--vortexg-livechat-edge: 20px;
	--vortexg-livechat-bottom-offset: 20px;
	position: fixed;
	z-index: 1001;
	font-family: inherit;
	color: var(--md-sys-color-on-surface);
}

body.has-modal-open .vortexg-livechat,
body:has(.wp-block-navigation__responsive-container.is-menu-open) .vortexg-livechat,
body:has(.is-drawer-mode .wp-block-navigation__responsive-container.is-menu-open) .vortexg-livechat,
body:has(.wc-block-components-drawer:not([aria-hidden="true"])) .vortexg-livechat,
body:has(.wc-block-mini-cart__drawer:not([aria-hidden="true"])) .vortexg-livechat {
	z-index: 100 !important;
}

.vortexg-livechat *,
.vortexg-livechat *::before,
.vortexg-livechat *::after {
	box-sizing: border-box;
}

.vortexg-livechat--bottom-right {
	right: var(--vortexg-livechat-edge);
	bottom: var(--vortexg-livechat-bottom-offset);
}

.vortexg-livechat--bottom-left {
	bottom: var(--vortexg-livechat-bottom-offset);
	left: var(--vortexg-livechat-edge);
}

.vortexg-livechat--top-right {
	top: calc(var(--vortexg-livechat-edge) + var(--wp-admin--admin-bar--height, 0px));
	right: var(--vortexg-livechat-edge);
}

.vortexg-livechat--top-left {
	top: calc(var(--vortexg-livechat-edge) + var(--wp-admin--admin-bar--height, 0px));
	left: var(--vortexg-livechat-edge);
}

.vortexg-livechat button {
	font: inherit;
	cursor: pointer;
}

.vortexg-livechat [hidden] {
	display: none !important;
}

.vortexg-livechat__launcher {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 112px;
	height: 58px;
	padding: 0 20px 0 13px;
	color: var(--md-sys-color-on-primary-container);
	font-weight: 700;
	background: var(--md-sys-color-primary-container);
	border: 0;
	border-radius: var(--md-sys-shape-corner-full);
	box-shadow: 0 10px 32px color-mix(in srgb, var(--md-sys-color-shadow) 32%, transparent);
	transition: transform 200ms cubic-bezier(.3, 0, .8, .15), opacity 160ms linear;
}

.vortexg-livechat > button.vortexg-livechat__launcher {
	-webkit-appearance: none;
	appearance: none;
	color: var(--md-sys-color-on-primary-container);
	background-color: var(--md-sys-color-primary-container);
	background-image: none;
}

.vortexg-livechat__launcher.is-icon-only {
	width: 58px;
	min-width: 58px;
	padding: 0;
}

.vortexg-livechat__launcher.is-icon-only .vortexg-livechat__launcher-label,
.vortexg-livechat [data-livechat-loader-status] {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.vortexg-livechat__launcher:hover {
	transform: translateY(-2px);
}

.vortexg-livechat__launcher:focus-visible {
	outline: 3px solid var(--md-sys-color-primary);
	outline-offset: 3px;
}

.vortexg-livechat__launcher[aria-busy="true"] {
	cursor: progress;
	opacity: .78;
}

.vortexg-livechat__mark {
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	flex: 0 0 34px;
	color: currentColor;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	overflow: visible;
}

.vortexg-livechat__mark svg {
	width: 24px;
	height: 24px;
	fill: currentColor;
}

.vortexg-livechat__mark img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: 0 !important;
	border-radius: var(--md-sys-shape-corner-full, 9999px);
	outline: 0;
	box-shadow: none !important;
	transform: scale(1.06);
}

.vortexg-livechat__mark.has-custom-icon {
	background: transparent;
}

.vortexg-livechat__mark.is-header-brand {
	background: transparent;
	border-radius: var(--md-sys-shape-corner-full, 9999px);
	overflow: hidden;
}

.vortexg-livechat__mark .vortexg-livechat__pulse {
	fill: none;
	stroke: var(--md-sys-color-primary-container);
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

.vortexg-livechat__chat-icon-mask {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--md-sys-color-primary);
	-webkit-mask-image: var(--vortexg-livechat-chat-icon-mask);
	mask-image: var(--vortexg-livechat-chat-icon-mask);
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.vortexg-livechat__badge {
	position: absolute;
	top: -6px;
	right: -4px;
	display: grid;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	place-items: center;
	color: var(--md-sys-color-on-error);
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	background: var(--md-sys-color-error);
	border-radius: var(--md-sys-shape-corner-full);
}

@media (max-width: 520px) {
	.vortexg-livechat {
		--vortexg-livechat-edge: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vortexg-livechat__launcher {
		transition-duration: 1ms;
	}
}
