.eccom-live-chat {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 5000;
	font-family: Arial, Helvetica, sans-serif;
	color: var(--eccom-live-chat-panel-text, #24313f);
	--eccom-live-chat-action-background: #f47c20;
	--eccom-live-chat-action-text: #ffffff;
	--eccom-live-chat-accent-background: #f47c20;
	--eccom-live-chat-accent-text: #ffffff;
	--eccom-live-chat-panel-background: #ffffff;
	--eccom-live-chat-panel-text: #24313f;
	--eccom-live-chat-panel-heading: #f47c20;
	--eccom-live-chat-panel-link: #637486;
	--eccom-live-chat-panel-link-hover: #f47c20;
	--eccom-live-chat-panel-muted-background: #fff3e7;
}

.eccom-live-chat * {
	box-sizing: border-box;
}

.eccom-live-chat__cta {
	position: absolute;
	right: 0;
	bottom: 78px;
	width: min(230px, calc(100vw - 44px));
	min-width: 190px;
	max-width: 230px;
	padding: 16px 15px;
	border: 1px solid rgba(99, 116, 134, .24);
	border-radius: 8px;
	box-shadow: 0 8px 28px rgba(21, 36, 50, .2);
	cursor: pointer;
	font-size: 14px;
	line-height: 1.3;
	text-align: center;
	white-space: normal;
	overflow-wrap: normal;
	font-family: inherit;
	font-weight: 700;
	display: block;
	background: var(--eccom-live-chat-panel-background);
	color: var(--eccom-live-chat-panel-text);
}

.eccom-live-chat--has-avatar .eccom-live-chat__cta {
	padding-top: 38px;
}

.eccom-live-chat__cta-avatar {
	display: none;
	position: absolute;
	left: 50%;
	top: -28px;
	width: 56px;
	height: 56px;
	transform: translateX(-50%);
	border-radius: 50%;
	background-size: cover;
	background-position: center;
	background-color: var(--eccom-live-chat-panel-background);
	box-shadow: 0 8px 18px rgba(21, 36, 50, .18);
}

.eccom-live-chat--has-avatar .eccom-live-chat__cta-avatar {
	display: block;
}

.eccom-live-chat__cta-text {
	display: block;
}

.eccom-live-chat__launcher {
	width: 64px;
	height: 64px;
	border: 0;
	border-radius: 50%;
	box-shadow: 0 10px 26px rgba(244, 124, 32, .34);
	cursor: pointer;
	display: grid;
	place-items: center;
	overflow: hidden;
	padding: 0;
	background: var(--eccom-live-chat-action-background);
	color: var(--eccom-live-chat-action-text);
}

.eccom-live-chat__launcher i {
	font-size: 27px;
	line-height: 1;
}

.eccom-live-chat__panel {
	position: absolute;
	right: 0;
	bottom: 76px;
	width: min(370px, calc(100vw - 28px));
	max-height: min(620px, calc(100vh - 110px));
	border: 1px solid #d7dee6;
	border-radius: 8px;
	box-shadow: 0 18px 46px rgba(21, 36, 50, .28);
	overflow: hidden;
	background: var(--eccom-live-chat-panel-background);
	color: var(--eccom-live-chat-panel-text);
}

.eccom-live-chat__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 13px 14px;
	background: var(--eccom-live-chat-panel-background);
	color: var(--eccom-live-chat-panel-text);
	border-bottom: 1px solid #e1e7ed;
}

.eccom-live-chat__identity {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.eccom-live-chat__identity strong,
.eccom-live-chat__identity small {
	display: block;
	line-height: 1.2;
}

.eccom-live-chat__identity small {
	color: inherit;
	font-size: 12px;
	margin-top: 2px;
	opacity: .76;
}

.eccom-live-chat__title {
	color: var(--eccom-live-chat-panel-heading);
}

.eccom-live-chat__avatar {
	width: 36px;
	height: 36px;
	flex: 0 0 36px;
	border-radius: 50%;
	background: var(--eccom-live-chat-action-background);
	background-size: cover;
	background-position: center;
	box-shadow: none;
}

.eccom-live-chat__close {
	width: 30px;
	height: 30px;
	border: 1px solid #d7dee6;
	border-radius: 6px;
	background: transparent;
	color: var(--eccom-live-chat-panel-heading);
	cursor: pointer;
	font-size: 17px;
	line-height: 1;
}

.eccom-live-chat__status {
	min-height: 36px;
	padding: 9px 14px;
	font-size: 13px;
	line-height: 1.35;
	background: var(--eccom-live-chat-panel-background);
	color: var(--eccom-live-chat-panel-text);
	border-bottom: 1px solid #e1e7ed;
}

.eccom-live-chat__body {
	display: flex;
	flex-direction: column;
	max-height: calc(min(620px, 100vh - 110px) - 94px);
}

.eccom-live-chat__form {
	display: grid;
	gap: 10px;
	padding: 14px;
}

.eccom-live-chat__form label {
	display: grid;
	gap: 5px;
	font-size: 13px;
	font-weight: 700;
	color: var(--eccom-live-chat-panel-text);
}

.eccom-live-chat__form input,
.eccom-live-chat__form select,
.eccom-live-chat__form textarea,
.eccom-live-chat__reply textarea {
	width: 100%;
	border: 1px solid #c9d3dd;
	border-radius: 6px;
	padding: 9px 10px;
	font: inherit;
	color: #24313f;
	background: #ffffff;
}

.eccom-live-chat__form textarea,
.eccom-live-chat__reply textarea {
	resize: vertical;
}

.eccom-live-chat__field-comment {
	font-size: 12px;
	font-weight: 400;
	color: #637486;
	line-height: 1.35;
}

.eccom-live-chat__field--checkbox {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr);
	align-items: start;
	column-gap: 8px;
}

.eccom-live-chat__field--checkbox input {
	width: 16px;
	height: 16px;
	margin: 2px 0 0;
}

.eccom-live-chat__field--checkbox .eccom-live-chat__field-comment {
	grid-column: 2;
}

.eccom-live-chat__field--radio {
	border: 0;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 6px;
	font-size: 13px;
	font-weight: 700;
	color: inherit;
}

.eccom-live-chat__field--radio legend {
	padding: 0;
}

.eccom-live-chat__field--radio label {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr);
	align-items: center;
	column-gap: 8px;
	font-weight: 400;
}

.eccom-live-chat__field--radio input {
	width: 16px;
	height: 16px;
	margin: 0;
}

.eccom-live-chat__messages {
	flex: 1 1 auto;
	min-height: 190px;
	max-height: 360px;
	overflow: auto;
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	background: var(--eccom-live-chat-panel-background);
}

.eccom-live-chat__message {
	max-width: 86%;
	padding: 9px 10px;
	border-radius: 8px;
	background: #ffffff;
	border: 1px solid #dde5ec;
	align-self: flex-start;
	color: #24313f;
}

.eccom-live-chat__message--visitor_unverified {
	align-self: flex-end;
	background: var(--eccom-live-chat-accent-background);
	border-color: var(--eccom-live-chat-accent-background);
	color: var(--eccom-live-chat-accent-text);
}

.eccom-live-chat__message--system {
	align-self: center;
	max-width: 96%;
	background: #eaf5ef;
	border-color: #c8e2d2;
}

.eccom-live-chat__message-meta {
	display: block;
	margin-bottom: 4px;
	font-size: 11px;
	font-weight: 700;
	color: #607384;
}

.eccom-live-chat__message--visitor_unverified .eccom-live-chat__message-meta {
	color: inherit;
	opacity: .82;
}

.eccom-live-chat__message p {
	margin: 0;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
	font-size: 14px;
	line-height: 1.42;
}

.eccom-live-chat__reply {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 44px;
	gap: 8px;
	padding: 10px;
	border-top: 1px solid #d7dee6;
	background: var(--eccom-live-chat-panel-background);
}

.eccom-live-chat__reply button {
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 6px;
	cursor: pointer;
	display: grid;
	place-items: center;
	background: var(--eccom-live-chat-action-background);
	color: var(--eccom-live-chat-action-text);
}

.eccom-live-chat__reply svg {
	width: 23px;
	height: 23px;
	fill: currentColor;
}

.eccom-live-chat__primary,
.eccom-live-chat__end,
.eccom-live-chat__video button {
	border: 1px solid #c9d3dd;
	border-radius: 6px;
	padding: 9px 12px;
	background: #ffffff;
	color: #24313f;
	cursor: pointer;
	font-weight: 700;
}

.eccom-live-chat__primary {
	border-color: var(--eccom-live-chat-action-background);
	background: var(--eccom-live-chat-action-background);
	color: var(--eccom-live-chat-action-text);
}

.eccom-live-chat__end {
	margin: 0 10px 10px;
	align-self: flex-start;
}

.eccom-live-chat__video {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	background: var(--eccom-live-chat-panel-muted-background);
	border-top: 1px solid #d7dee6;
}

.eccom-live-chat__video p {
	flex: 1 1 100%;
	margin: 0;
	font-size: 13px;
	color: var(--eccom-live-chat-panel-text);
}

.eccom-live-chat__error {
	margin: 0;
	color: #a9332a;
	font-size: 13px;
}

@media (max-width: 520px) {
	.eccom-live-chat {
		right: 14px;
		bottom: 14px;
	}

	.eccom-live-chat__panel {
		right: -6px;
		bottom: 70px;
	}

	.eccom-live-chat__cta {
		display: none;
	}
}
