.ehsa-chat {
	--ehsa-forest: #123D32;
	--ehsa-forest-2: #1F5A48;
	--ehsa-green: #4E5829;
	--ehsa-gold: #CBA464;
	--ehsa-gold-2: #E7C98A;
	--ehsa-cream: #FAF7F0;
	--ehsa-cream-2: #FFFDF8;
	--ehsa-white: #FFFFFF;
	--ehsa-text: #092F28;
	--ehsa-muted: #66766E;
	--ehsa-line: rgba(18, 61, 50, .12);
	--ehsa-shadow: 0 30px 90px rgba(18, 61, 50, .18);
	--ehsa-soft-shadow: 0 16px 40px rgba(18, 61, 50, .08);
	direction: rtl;
	font-family: inherit;
	font-size: 16px;
	line-height: 1.8;
	color: var(--ehsa-text);
}

.ehsa-chat,
.ehsa-chat *,
.ehsa-chat *::before,
.ehsa-chat *::after {
	box-sizing: border-box;
}

.ehsa-chat a,
.ehsa-chat button,
.ehsa-chat input {
	font: inherit;
}

.ehsa-chat button {
	cursor: pointer;
}

.ehsa-chat.ehsa-chat svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.ehsa-chat--inline {
	width: 100%;
	max-width: 920px;
	margin-inline: auto;
}

.ehsa-chat--floating {
	position: fixed;
	right: 20px;
	left: auto;
	bottom: 20px;
	z-index: 2147483000;
	width: min(460px, calc(100vw - 40px));
}

.ehsa-chat--floating.is-collapsed {
	width: auto;
}

.ehsa-chat__toggle {
	display: none;
}

.ehsa-chat--floating .ehsa-chat__toggle {
	position: relative;
	display: inline-flex;
	align-items: center;
	flex-direction: row-reverse;
	gap: 10px;
	min-width: 180px;
	min-height: 50px;
	padding: 6px 8px 6px 16px;
	border: 1.5px solid rgba(203, 164, 100, .88);
	border-radius: 999px;
	background:
		radial-gradient(circle at 22% 22%, rgba(255,255,255,.12), transparent 24%),
		linear-gradient(135deg, #143F34 0%, #1F5A48 53%, #123D32 100%);
	color: #fff;
	box-shadow:
		0 16px 36px rgba(18, 61, 50, .22),
		inset 0 0 0 1px rgba(255,255,255,.08);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.ehsa-chat--floating .ehsa-chat__toggle:hover {
	transform: translateY(-2px);
	border-color: var(--ehsa-gold-2);
	box-shadow:
		0 20px 44px rgba(18, 61, 50, .28),
		inset 0 0 0 1px rgba(255,255,255,.1);
}

.ehsa-chat__toggle-medal {
	position: relative;
	display: grid;
	place-items: center;
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background:
		radial-gradient(circle at 30% 24%, #FFE5A7 0, #EBC06C 48%, #CBA464 100%);
	color: transparent;
	font-size: 0;
	box-shadow: 0 9px 20px rgba(203, 164, 100, .28);
}

.ehsa-chat__toggle-medal::before {
	display: none;
}

.ehsa-chat__toggle-medal::after {
	content: "";
	position: absolute;
	inset-inline-end: 8px;
	top: 9px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: rgba(255,255,255,.92);
	box-shadow: 4px -4px 0 -2px rgba(255,255,255,.9);
}

.ehsa-chat .ehsa-chat__toggle-medal svg {
	width: 20px;
	height: 20px;
	fill: var(--ehsa-forest);
	color: var(--ehsa-forest);
}

.ehsa-chat__toggle-copy {
	display: block;
	text-align: right;
	line-height: 1.5;
}

.ehsa-chat__toggle-copy strong {
	display: block;
	color: #fff;
	font-size: 13.5px;
	font-weight: 900;
	letter-spacing: 0;
}

.ehsa-chat__toggle-copy small {
	display: none;
}

.ehsa-chat--floating:not(.is-collapsed) .ehsa-chat__toggle,
.ehsa-chat--floating.is-collapsed .ehsa-chat__panel {
	display: none;
}

.ehsa-chat__panel {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	width: 100%;
	min-height: 0;
	border: 1px solid rgba(18, 61, 50, .1);
	border-radius: 28px;
	background:
		radial-gradient(circle at 8% 18%, rgba(78, 88, 41, .055), transparent 26%),
		linear-gradient(180deg, var(--ehsa-cream-2), var(--ehsa-cream));
	box-shadow: var(--ehsa-shadow);
	animation: ehsa-pop .22s ease both;
}

.ehsa-chat--inline .ehsa-chat__panel {
	height: min(720px, 82vh);
	min-height: 620px;
}

.ehsa-chat--floating .ehsa-chat__panel {
	height: min(760px, calc(100dvh - 40px));
	max-height: calc(100dvh - 40px);
}

.ehsa-chat--floating .ehsa-chat__panel {
	transform-origin: bottom right;
}

@keyframes ehsa-pop {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.ehsa-chat__header {
	position: relative;
	min-height: 88px;
	padding: 17px 82px 14px 68px;
	border-bottom: 1px solid rgba(203, 164, 100, .72);
	background:
		radial-gradient(circle at 78% 16%, rgba(255,255,255,.1), transparent 22%),
		linear-gradient(135deg, #123D32 0%, #1E5646 52%, #123D32 100%);
	color: #fff;
}

.ehsa-chat__header::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at 30% 48%, transparent 0 30%, rgba(255,255,255,.13) 31%, transparent 32%),
		linear-gradient(42deg, transparent 44%, rgba(203,164,100,.17) 45% 46%, transparent 47%);
	opacity: .28;
	pointer-events: none;
}

.ehsa-chat__medal {
	position: absolute;
	inset-inline-start: 22px;
	top: 19px;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background:
		radial-gradient(circle at 28% 24%, #FFE8AA 0, #E9BD68 48%, var(--ehsa-gold) 100%);
	color: var(--ehsa-forest);
	font-size: 16px;
	font-weight: 950;
	box-shadow: 0 14px 28px rgba(203, 164, 100, .22);
}

.ehsa-chat__heading {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 4px;
	text-align: right;
}

.ehsa-chat__heading strong,
.ehsa-chat__heading span {
	display: block;
}

.ehsa-chat__heading strong {
	color: #fff;
	font-size: clamp(19px, 1.8vw, 22px);
	font-weight: 950;
	line-height: 1.25;
	letter-spacing: -.04em;
}

.ehsa-chat__heading span {
	color: rgba(255,255,255,.78);
	font-size: 11.5px;
	line-height: 1.55;
}

.ehsa-chat__close {
	position: absolute;
	inset-inline-end: 26px;
	top: 20px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1.4px solid rgba(231, 201, 138, .86);
	border-radius: 16px;
	background: rgba(255,255,255,.03);
	color: #fff;
	transition: transform .2s ease, background .2s ease;
}

.ehsa-chat__close:hover {
	transform: translateY(-1px);
	background: rgba(255,255,255,.08);
}

.ehsa-chat .ehsa-chat__close svg {
	width: 21px;
	height: 21px;
}

.ehsa-chat--inline .ehsa-chat__close {
	display: none;
}

.ehsa-chat--inline .ehsa-chat__header {
	padding-left: 26px;
}

.ehsa-chat__tools {
	display: flex;
	align-items: center;
	flex-direction: row-reverse;
	justify-content: space-between;
	gap: 12px;
	min-height: 62px;
	padding: 10px 20px;
	border-bottom: 1px solid rgba(18, 61, 50, .09);
	background: rgba(255,255,255,.62);
	color: var(--ehsa-muted);
}

.ehsa-chat__privacy {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--ehsa-muted);
	font-size: 13px;
	line-height: 1.6;
	white-space: nowrap;
}

.ehsa-chat .ehsa-chat__privacy svg {
	display: none;
}

.ehsa-chat__privacy::before {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #5D986E;
	box-shadow: 0 0 0 6px rgba(93, 152, 110, .12);
}

.ehsa-chat__status {
	display: none;
}

.ehsa-chat .ehsa-chat__history-clear {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 8px 14px;
	border: 1px solid rgba(18, 61, 50, .18);
	border-radius: 999px;
	background: rgba(255,255,255,.9);
	color: #375B50;
	font-size: 13px;
	line-height: 1.2;
	box-shadow: 0 8px 18px rgba(18, 61, 50, .04);
	transition: transform .2s ease, border-color .2s ease, color .2s ease;
}

.ehsa-chat__history-clear:hover {
	transform: translateY(-1px);
	border-color: rgba(203, 164, 100, .72);
	color: var(--ehsa-forest);
}

.ehsa-chat .ehsa-chat__history-clear svg {
	width: 18px;
	height: 18px;
	opacity: .72;
}

.ehsa-chat__history-clear:disabled {
	opacity: .6;
	cursor: wait;
	transform: none;
}

.ehsa-chat__messages {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 18px;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	padding: 26px 24px 28px;
	background:
		radial-gradient(circle at 13% 0, rgba(78, 88, 41, .06), transparent 30%),
		linear-gradient(180deg, rgba(255,255,255,.15), rgba(255,255,255,0));
	scrollbar-width: thin;
	scrollbar-color: rgba(18,61,50,.25) transparent;
}

.ehsa-chat__messages::-webkit-scrollbar {
	width: 7px;
}

.ehsa-chat__messages::-webkit-scrollbar-track {
	background: transparent;
}

.ehsa-chat__messages::-webkit-scrollbar-thumb {
	border-radius: 999px;
	background: rgba(18,61,50,.22);
}

.ehsa-message-row {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	width: 100%;
	direction: rtl;
}

.ehsa-message-row--bot {
	justify-content: flex-start;
}

.ehsa-message-row--user {
	justify-content: flex-end;
}

.ehsa-message-avatar {
	display: grid;
	place-items: center;
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	margin-top: 18px;
	border-radius: 50%;
	font-size: 13px;
	font-weight: 950;
	box-shadow: 0 10px 20px rgba(203, 164, 100, .2);
}

.ehsa-message-avatar--bot {
	background: linear-gradient(135deg, #F7D88D, var(--ehsa-gold));
	color: var(--ehsa-forest);
}

.ehsa-chat .ehsa-message-avatar--bot svg {
	display: block;
	width: 17px;
	height: 17px;
}

.ehsa-message-avatar--bot::before {
	display: none;
	content: none;
}

.ehsa-message-avatar--user {
	display: none;
}

.ehsa-message {
	width: fit-content;
	max-width: min(82%, 560px);
	margin: 0;
	padding: 18px 22px;
	border-radius: 22px;
	color: var(--ehsa-text);
	font-size: 15.5px;
	line-height: 1.9;
	text-align: right;
	white-space: normal;
	overflow-wrap: anywhere;
	unicode-bidi: isolate;
}

.ehsa-message *,
.ehsa-message__text {
	direction: rtl;
	text-align: right;
}

.ehsa-message--bot {
	border: 1px solid rgba(18, 61, 50, .06);
	background: var(--ehsa-white);
	box-shadow: var(--ehsa-soft-shadow);
}

.ehsa-message--user {
	border: 1px solid rgba(18, 61, 50, .1);
	background: #EDF6EF;
	color: var(--ehsa-forest);
	box-shadow: 0 12px 28px rgba(18, 61, 50, .05);
}

.ehsa-message__text {
	margin: 0;
}

.ehsa-message__meta {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 5px;
	margin-top: 8px;
	color: rgba(9, 47, 40, .42);
	font-size: 11px;
	line-height: 1;
}

.ehsa-chat .ehsa-message__check svg {
	width: 13px;
	height: 13px;
}

.ehsa-message-row.is-loading .ehsa-message__text::after {
	content: "";
	display: inline-block;
	width: 1.2em;
	animation: ehsa-dots 1.2s steps(4, end) infinite;
}

@keyframes ehsa-dots {
	0% { content: ""; }
	25% { content: "."; }
	50% { content: ".."; }
	75%, 100% { content: "..."; }
}

.ehsa-message--notice {
	align-self: center;
	max-width: 92%;
	padding: 13px 16px;
	border: 1px solid rgba(203, 164, 100, .25);
	border-radius: 16px;
	background: rgba(255, 247, 232, .92);
	color: #6D5229;
	font-size: 14px;
	line-height: 1.9;
	box-shadow: 0 12px 25px rgba(203, 164, 100, .08);
}

.ehsa-chat__divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 2px 0;
	color: rgba(9, 47, 40, .55);
	font-size: 12px;
	font-weight: 800;
}

.ehsa-chat__divider::before,
.ehsa-chat__divider::after {
	content: "";
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(18,61,50,.13), transparent);
}

.ehsa-products {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
	gap: 14px;
	width: 100%;
	margin: 0;
	direction: rtl;
}

.ehsa-product {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 12px;
	border: 1px solid rgba(18, 61, 50, .1);
	border-radius: 20px;
	background: rgba(255,255,255,.96);
	box-shadow: 0 13px 30px rgba(18, 61, 50, .07);
}

.ehsa-product__image {
	display: grid;
	place-items: center;
	width: 100%;
	height: 132px;
	overflow: hidden;
	border-radius: 16px;
	background: linear-gradient(180deg, #fff, #F6F1E7);
	text-decoration: none;
}

.ehsa-product__image img {
	display: block;
	width: 100%;
	height: 100%;
	padding: 8px;
	object-fit: contain;
}

.ehsa-product__placeholder {
	color: var(--ehsa-green);
}

.ehsa-chat .ehsa-product__placeholder svg {
	width: 38px;
	height: 38px;
}

.ehsa-product__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: stretch;
	gap: 6px;
	min-width: 0;
	padding-top: 11px;
	text-align: right;
}

.ehsa-product__title {
	position: static;
	display: -webkit-box;
	min-height: 46px;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	margin: 0;
	padding: 0;
	color: var(--ehsa-text);
	font-size: 14px;
	font-weight: 900;
	line-height: 1.65;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.ehsa-product__title:hover {
	color: var(--ehsa-forest-2);
}

.ehsa-product__description {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	margin: 0;
	color: var(--ehsa-muted);
	font-size: 12px;
	line-height: 1.75;
}

.ehsa-product__price {
	margin: 2px 0 0;
	color: var(--ehsa-green);
	font-size: 13px;
	font-weight: 900;
	line-height: 1.5;
}

.ehsa-product__stock {
	align-self: flex-start;
	margin-top: 1px;
	padding: 3px 9px;
	border-radius: 999px;
	background: rgba(78, 88, 41, .08);
	color: var(--ehsa-green);
	font-size: 10px;
	font-weight: 800;
	line-height: 1.5;
}

.ehsa-product__actions {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
	width: 100%;
	margin-top: auto;
	padding-top: 10px;
}

.ehsa-product__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 38px;
	padding: 8px 10px;
	border: 1px solid var(--ehsa-forest);
	border-radius: 12px;
	background: linear-gradient(135deg, var(--ehsa-forest-2), var(--ehsa-forest));
	color: #fff;
	font-size: 12px;
	font-weight: 850;
	line-height: 1.3;
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.ehsa-product__button:hover {
	transform: translateY(-1px);
	color: #fff;
	box-shadow: 0 10px 22px rgba(18, 61, 50, .15);
}

.ehsa-product__button--secondary {
	border-color: rgba(203, 164, 100, .65);
	background: #FFF9EC;
	color: var(--ehsa-forest);
}

.ehsa-product__button--secondary:hover {
	color: var(--ehsa-forest);
	background: #FFF4DA;
}

.ehsa-chat .ehsa-product__button-icon svg {
	width: 16px;
	height: 16px;
}

.ehsa-product__button.is-added {
	background: #27855E;
}

.ehsa-product__button:disabled {
	opacity: .58;
	cursor: not-allowed;
	transform: none;
}

.ehsa-chat__disclaimer {
	display: none;
}

.ehsa-chat__disclaimer::after {
	content: "";
	position: absolute;
	inset-inline-start: 24px;
	bottom: 12px;
	width: 96px;
	height: 76px;
	border: 2px solid rgba(203,164,100,.13);
	border-top: 0;
	border-inline-end: 0;
	border-radius: 70% 0 70% 0;
	transform: rotate(-18deg);
	pointer-events: none;
}

.ehsa-chat__disclaimer-icon {
	position: absolute;
	inset-inline-start: 20px;
	top: 20px;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #D99B22;
	color: #fff;
}

.ehsa-chat .ehsa-chat__disclaimer-icon svg {
	display: none;
}

.ehsa-chat__disclaimer-icon::before {
	content: "i";
	font-family: Georgia, serif;
	font-size: 24px;
	font-weight: 900;
	line-height: 1;
}

.ehsa-chat__disclaimer p {
	margin: 0;
	color: #6D5229;
	font-size: 14px;
	line-height: 1.9;
	text-align: right;
}

.ehsa-chat__disclaimer strong {
	display: block;
	margin-bottom: 4px;
	color: #B9862D;
	font-size: 17px;
	font-weight: 950;
}

.ehsa-chat__form {
	position: relative;
	z-index: 3;
	flex: 0 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 62px;
	grid-template-rows: minmax(62px, auto);
	gap: 12px;
	align-items: center;
	padding: 16px 24px;
	border-top: 1px solid rgba(18, 61, 50, .1);
	background: rgba(255,253,248,.92);
	backdrop-filter: blur(12px);
	direction: ltr;
}

.ehsa-chat__attachment {
	display: none;
}

.ehsa-chat__input {
	grid-column: 1;
	grid-row: 1;
	width: 100%;
	height: 58px;
	min-height: 58px;
	max-height: 140px;
	min-width: 0;
	padding: 15px 22px;
	border: 1.5px solid rgba(18, 61, 50, .26);
	border-radius: 999px;
	outline: none;
	background: #fff;
	color: var(--ehsa-text);
	font-size: 16px;
	line-height: 1.8;
	text-align: right;
	direction: rtl;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
	transition: border-color .2s ease, box-shadow .2s ease;
	resize: none;
	overflow-y: auto;
	font-family: inherit;
}

.ehsa-chat__send {
	align-self: end;
}

.ehsa-chat__input::placeholder {
	color: rgba(82, 98, 91, .58);
}

.ehsa-chat__input:focus {
	border-color: rgba(18, 61, 50, .58);
	box-shadow: 0 0 0 4px rgba(18, 61, 50, .08);
}

.ehsa-chat__send {
	grid-column: 2;
	grid-row: 1;
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	padding: 0;
	border: 0;
	border-radius: 20px;
	background: linear-gradient(135deg, #2D725C, var(--ehsa-forest));
	color: #F2D097;
	box-shadow: 0 16px 30px rgba(18, 61, 50, .2);
	transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.ehsa-chat__send:hover {
	transform: translateY(-2px);
	filter: brightness(1.04);
	box-shadow: 0 20px 36px rgba(18, 61, 50, .25);
}

.ehsa-chat .ehsa-chat__send svg {
	width: 28px;
	height: 28px;
	transform: none;
}

.ehsa-chat__toggle:focus-visible,
.ehsa-chat__close:focus-visible,
.ehsa-chat__history-clear:focus-visible,
.ehsa-chat__send:focus-visible,
.ehsa-product__button:focus-visible,
.ehsa-chat__input:focus-visible {
	outline: 3px solid rgba(203, 164, 100, .62);
	outline-offset: 3px;
}

.ehsa-chat__brand {
	display: none;
}

@media (max-width: 780px) {
	.ehsa-chat--inline {
		max-width: 100%;
	}

	.ehsa-chat--floating {
		right: 12px;
		left: 12px;
		bottom: 12px;
		width: auto;
	}

	.ehsa-chat--floating.is-collapsed {
		right: 12px;
		left: auto;
		width: auto;
	}

	.ehsa-chat--floating .ehsa-chat__toggle {
		min-width: 168px;
		min-height: 48px;
		padding: 6px 8px 6px 14px;
		gap: 9px;
	}

	.ehsa-chat__toggle-medal {
		flex-basis: 34px;
		width: 34px;
		height: 34px;
	}

	.ehsa-chat__toggle-copy strong {
		font-size: 12.5px;
	}

	.ehsa-chat__panel {
		border-radius: 24px;
	}

	.ehsa-chat--inline .ehsa-chat__panel {
		height: min(760px, calc(100dvh - 28px));
		min-height: 590px;
	}

	.ehsa-chat--floating .ehsa-chat__panel {
		height: calc(100dvh - 24px);
		max-height: calc(100dvh - 24px);
	}

	.ehsa-chat__header {
		min-height: 84px;
		padding: 16px 68px 13px 58px;
	}

	.ehsa-chat__medal {
		inset-inline-start: 16px;
		top: 20px;
		width: 42px;
		height: 42px;
		font-size: 15px;
	}

	.ehsa-chat__close {
		inset-inline-end: 18px;
		top: 20px;
		width: 42px;
		height: 42px;
		border-radius: 15px;
	}

	.ehsa-chat__heading strong {
		font-size: 18px;
	}

	.ehsa-chat__heading span {
		font-size: 11.5px;
	}

	.ehsa-chat__tools {
		min-height: 58px;
		padding: 9px 14px;
	}

	.ehsa-chat .ehsa-chat__history-clear {
		min-height: 38px;
		padding: 7px 11px;
		font-size: 12px;
	}

	.ehsa-chat__privacy {
		font-size: 12px;
	}

	.ehsa-chat__messages {
		min-height: 0;
		padding: 20px 16px;
		gap: 15px;
	}

	.ehsa-message {
		max-width: calc(100% - 46px);
		padding: 15px 17px;
		border-radius: 19px;
		font-size: 14.5px;
		line-height: 2;
	}

	.ehsa-message-avatar {
		flex-basis: 31px;
		width: 31px;
		height: 31px;
		margin-top: 15px;
		font-size: 11px;
	}

	.ehsa-products {
		grid-template-columns: 1fr;
	}

	.ehsa-chat__disclaimer {
		margin: 0 16px 18px;
		padding: 17px 62px 17px 18px;
	}

	.ehsa-chat__disclaimer-icon {
		position: absolute;
		inset-inline-start: 16px;
		top: 18px;
		width: 38px;
		height: 38px;
	}

	.ehsa-chat__form {
		grid-template-columns: minmax(0, 1fr) 56px;
		grid-template-rows: 56px;
		gap: 10px;
		padding: 14px 16px;
	}

	.ehsa-chat__input {
		height: 54px;
		padding: 0 18px;
		font-size: 14px;
		line-height: 54px;
	}

	.ehsa-chat__send {
		width: 56px;
		height: 56px;
		border-radius: 18px;
	}

	.ehsa-chat .ehsa-chat__send svg {
		width: 25px;
		height: 25px;
	}
}

@media (max-width: 420px) {
	.ehsa-chat__heading strong {
		font-size: 17px;
	}

	.ehsa-chat__heading span {
		font-size: 11px;
	}

	.ehsa-chat__tools {
		gap: 8px;
		min-height: 56px;
		padding: 8px 12px;
	}

	.ehsa-chat .ehsa-chat__history-clear {
		min-height: 36px;
		padding: 7px 10px;
		font-size: 11px;
	}

	.ehsa-chat__privacy {
		font-size: 11px;
	}

	.ehsa-message {
		max-width: calc(100% - 39px);
		padding: 14px 15px;
		font-size: 14px;
		line-height: 1.85;
	}

	.ehsa-chat__disclaimer p {
		font-size: 12.5px;
		line-height: 1.8;
	}

	.ehsa-chat__disclaimer strong {
		font-size: 15px;
	}

	.ehsa-chat__form {
		grid-template-columns: minmax(0, 1fr) 50px;
		grid-template-rows: 52px;
		gap: 8px;
		padding: 11px 12px;
	}

	.ehsa-chat__input {
		height: 52px;
		padding-inline: 15px;
		font-size: 13px;
		line-height: 52px;
	}

	.ehsa-chat__send {
		width: 50px;
		height: 50px;
		border-radius: 16px;
	}

	.ehsa-chat .ehsa-chat__send svg {
		width: 23px;
		height: 23px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ehsa-chat *,
	.ehsa-chat *::before,
	.ehsa-chat *::after {
		scroll-behavior: auto !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}

/* Shopping discovery progress and quick replies */
.ehsa-chat__journey {
	position: relative;
	z-index: 2;
	padding: 11px 18px 12px;
	background: rgba(248, 245, 236, .92);
	border-bottom: 1px solid rgba(15, 59, 47, .08);
}
.ehsa-chat__journey[hidden] { display: none !important; }
.ehsa-chat__journey-copy {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
	font-size: 11px;
	color: #718078;
}
.ehsa-chat__journey-copy strong {
	color: #24483c;
	font-size: 12px;
}
.ehsa-chat__journey-track {
	height: 5px;
	border-radius: 999px;
	background: rgba(15, 59, 47, .09);
	overflow: hidden;
}
.ehsa-chat__journey-track i {
	display: block;
	width: 0;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, #cba464, #2f6651);
	transition: width .35s ease;
}
.ehsa-quick-replies {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	width: calc(100% - 50px);
	margin: -6px 50px 5px 0;
}
.ehsa-quick-reply {
	min-height: 34px;
	padding: 7px 13px;
	border: 1px solid rgba(31, 91, 70, .17);
	border-radius: 999px;
	background: #fff;
	color: #285744;
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 6px 16px rgba(15,59,47,.05);
	transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.ehsa-quick-reply:hover {
	transform: translateY(-1px);
	border-color: #cba464;
	background: #fffaf0;
}
@media (max-width: 640px) {
	.ehsa-quick-replies { width: 100%; margin-right: 0; }
	.ehsa-quick-reply { flex: 1 1 calc(50% - 8px); }
}

/* Entekhab Hooshmand 2.x — neutral, brandable commerce layer. */
.ehsa-chat {
	--ehsa-accent: #665cf6;
	--ehsa-forest: var(--ehsa-accent);
	--ehsa-forest-2: var(--ehsa-accent);
	--ehsa-green: var(--ehsa-accent);
	--ehsa-gold: #dedcff;
	--ehsa-gold-2: #eeedff;
	--ehsa-cream: #f7f7fb;
	--ehsa-cream-2: #ffffff;
	--ehsa-text: #1f2430;
	--ehsa-muted: #6b7280;
	--ehsa-line: rgba(31, 36, 48, .10);
	--ehsa-shadow: 0 24px 70px rgba(31, 36, 48, .16);
	--ehsa-soft-shadow: 0 12px 30px rgba(31, 36, 48, .07);
}

.ehsa-chat__panel {
	border-color: rgba(31, 36, 48, .10);
	background: linear-gradient(180deg, #fff, #f8f8fc);
}

.ehsa-chat__header,
.ehsa-chat--floating .ehsa-chat__toggle {
	background: var(--ehsa-accent);
	border-color: rgba(255,255,255,.2);
}

.ehsa-chat__header::before {
	background: radial-gradient(circle at 82% 15%, rgba(255,255,255,.20), transparent 28%);
}

.ehsa-chat__medal,
.ehsa-chat__toggle-medal {
	background: rgba(255,255,255,.94);
	color: var(--ehsa-accent);
	box-shadow: 0 10px 24px rgba(31,36,48,.14);
}

.ehsa-chat .ehsa-chat__toggle-medal svg,
.ehsa-chat .ehsa-chat__medal svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
	color: var(--ehsa-accent);
}

.ehsa-chat__toggle-medal::after { display: none; }

.ehsa-chat__tools {
	border-color: rgba(31,36,48,.08);
	background: rgba(255,255,255,.86);
}

.ehsa-chat__privacy::before {
	background: #22a06b;
	box-shadow: 0 0 0 5px rgba(34,160,107,.10);
}

.ehsa-chat .ehsa-chat__history-clear {
	border-color: rgba(31,36,48,.12);
	color: #515866;
	box-shadow: none;
}

.ehsa-chat__messages {
	background: linear-gradient(180deg, #fff, #fafafd);
}

.ehsa-message-avatar--bot {
	background: color-mix(in srgb, var(--ehsa-accent) 11%, white);
	color: var(--ehsa-accent);
}

.ehsa-message--user {
	background: var(--ehsa-accent);
	color: #fff;
}

.ehsa-chat__journey {
	background: #f7f7fb;
	border-color: rgba(31,36,48,.08);
}

.ehsa-chat__journey-copy,
.ehsa-chat__journey-copy strong { color: #626978; }
.ehsa-chat__journey-copy strong { color: #303644; }
.ehsa-chat__journey-track { background: rgba(31,36,48,.08); }
.ehsa-chat__journey-track i { background: var(--ehsa-accent); }
.ehsa-chat.is-restricted .ehsa-chat__journey-track i { background: #b7791f; }

.ehsa-starters {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 9px;
	margin: -4px 50px 4px 0;
	width: calc(100% - 50px);
}

.ehsa-starters button {
	min-height: 42px;
	padding: 9px 12px;
	border: 1px solid rgba(31,36,48,.10);
	border-radius: 14px;
	background: #fff;
	color: #3d4350;
	font: inherit;
	font-size: 12px;
	font-weight: 750;
	text-align: right;
	box-shadow: 0 8px 22px rgba(31,36,48,.05);
	transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.ehsa-starters button:hover {
	transform: translateY(-1px);
	border-color: color-mix(in srgb, var(--ehsa-accent) 45%, white);
	box-shadow: 0 10px 24px rgba(31,36,48,.08);
}

.ehsa-quick-reply {
	border-color: rgba(31,36,48,.12);
	color: #424957;
	box-shadow: none;
}

.ehsa-quick-reply:hover {
	border-color: var(--ehsa-accent);
	background: color-mix(in srgb, var(--ehsa-accent) 5%, white);
}

.ehsa-chat__disclaimer {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 20px;
	border-top: 1px solid rgba(31,36,48,.07);
	background: #fff;
}

.ehsa-chat__disclaimer::after { display: none; }
.ehsa-chat__disclaimer-icon {
	position: static;
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	background: color-mix(in srgb, var(--ehsa-accent) 10%, white);
	color: var(--ehsa-accent);
}
.ehsa-chat .ehsa-chat__disclaimer-icon svg { display: block; width: 16px; height: 16px; }
.ehsa-chat__disclaimer-icon::before { display: none; }
.ehsa-chat__disclaimer p { margin: 0; color: #69707d; font-size: 11.5px; line-height: 1.65; }
.ehsa-chat__disclaimer strong { display: inline; margin: 0 0 0 4px; color: #3a404c; font-size: 11.5px; font-weight: 850; }

.ehsa-chat__form {
	border-color: rgba(31,36,48,.08);
	background: rgba(255,255,255,.96);
}

.ehsa-chat__input {
	border-color: rgba(31,36,48,.16);
	color: #1f2430;
	box-shadow: none;
}
.ehsa-chat__input:focus {
	border-color: var(--ehsa-accent);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--ehsa-accent) 10%, transparent);
}

.ehsa-chat__send {
	background: var(--ehsa-accent);
	color: #fff;
	box-shadow: 0 12px 26px color-mix(in srgb, var(--ehsa-accent) 28%, transparent);
}
.ehsa-chat__send:hover {
	box-shadow: 0 16px 32px color-mix(in srgb, var(--ehsa-accent) 34%, transparent);
}

.ehsa-product {
	border-color: rgba(31,36,48,.10);
	box-shadow: 0 10px 26px rgba(31,36,48,.06);
}

.ehsa-product__button--cart {
	background: var(--ehsa-accent);
	border-color: var(--ehsa-accent);
}

.ehsa-chat__toggle:focus-visible,
.ehsa-chat__close:focus-visible,
.ehsa-chat__history-clear:focus-visible,
.ehsa-chat__send:focus-visible,
.ehsa-product__button:focus-visible,
.ehsa-chat__input:focus-visible,
.ehsa-starters button:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--ehsa-accent) 35%, white);
	outline-offset: 3px;
}

@media (max-width: 640px) {
	.ehsa-starters { width: 100%; margin-right: 0; grid-template-columns: 1fr; }
	.ehsa-chat__disclaimer { padding: 9px 14px; }
}

/* v2.1 customer experience polish foundation */
.ehsa-product-card{border-radius:16px;padding:16px;margin:12px 0;box-shadow:0 8px 24px rgba(0,0,0,.08);}
.ehsa-product-card__reasons{font-size:13px;line-height:1.8;}
.ehsa-quick-actions{display:flex;gap:8px;flex-wrap:wrap;}
.ehsa-quick-actions button{border-radius:999px;padding:8px 14px;cursor:pointer;}


/* v2.2 Premium Customer Experience */
.ehsa-products { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.ehsa-product { position: relative; gap: 0; padding: 0; overflow: hidden; border-radius: 22px; background: #fff; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; scroll-snap-align: start; }
.ehsa-product:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--ehsa-accent) 28%, #d8dbe3); box-shadow: 0 18px 38px rgba(31,36,48,.10); }
.ehsa-product__topline { display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:44px; padding:10px 12px 8px; background:linear-gradient(180deg,#fff,#fbfbfe); }
.ehsa-product__role,.ehsa-product__match,.ehsa-product__variation { display:inline-flex; align-items:center; border-radius:999px; font-size:10.5px; font-weight:850; line-height:1.4; white-space:nowrap; }
.ehsa-product__role { padding:5px 9px; background:color-mix(in srgb,var(--ehsa-accent) 10%,white); color:var(--ehsa-accent); }
.ehsa-product__role--value { background:#eef9f2; color:#238458; }
.ehsa-product__role--premium { background:#fff6e7; color:#9b6716; }
.ehsa-product__match { position:relative; overflow:hidden; padding:5px 9px; background:#f2f3f7; color:#535b6a; }
.ehsa-product__match::before { content:""; position:absolute; inset:0 auto 0 0; width:var(--ehsa-match,0%); background:color-mix(in srgb,var(--ehsa-accent) 9%,transparent); pointer-events:none; }
.ehsa-product__image { height:168px; margin:0 12px; width:calc(100% - 24px); border-radius:17px; background:linear-gradient(180deg,#fbfbfd,#f4f5f9); }
.ehsa-product__image img { padding:12px; transition:transform .22s ease; }
.ehsa-product:hover .ehsa-product__image img { transform:scale(1.025); }
.ehsa-product__body { gap:8px; padding:14px; }
.ehsa-product__title { min-height:auto; font-size:14.5px; line-height:1.75; }
.ehsa-product__price { order:2; margin:0; color:#202633; font-size:14px; font-weight:950; }
.ehsa-product__meta { order:3; display:flex; flex-wrap:wrap; align-items:center; gap:6px; }
.ehsa-product__stock,.ehsa-product__variation { margin:0; padding:4px 8px; background:#f3f4f7; color:#68707f; }
.ehsa-product__stock.is-in-stock { background:#edf8f1; color:#237c53; }
.ehsa-product__explanation { order:4; margin-top:2px; padding:10px 11px; border:1px solid rgba(31,36,48,.07); border-radius:14px; background:#fafafd; }
.ehsa-product__explanation-title { display:block; margin-bottom:6px; color:#404755; font-size:11px; font-weight:900; }
.ehsa-product__reasons { display:grid; gap:5px; margin:0; padding:0; list-style:none; }
.ehsa-product__reasons li { display:flex; align-items:flex-start; gap:6px; color:#666e7c; font-size:10.5px; line-height:1.6; }
.ehsa-chat .ehsa-product__reason-icon { flex:0 0 13px; width:13px; height:13px; margin-top:2px; color:#23905f; }
.ehsa-product__actions { order:5; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; padding-top:4px; }
.ehsa-product__button { min-height:40px; padding:8px 9px; border-radius:11px; font-size:11px; }
.ehsa-product__button--cart { grid-column:1/-1; }
.ehsa-product__button--compare { border-color:rgba(31,36,48,.12); background:#f5f6f9; color:#444b58; }
.ehsa-product__button--compare:hover { color:#343a46; background:#eef0f5; box-shadow:none; }
.ehsa-product__button--compare.is-selected { border-color:color-mix(in srgb,var(--ehsa-accent) 55%,white); background:color-mix(in srgb,var(--ehsa-accent) 9%,white); color:var(--ehsa-accent); }
.ehsa-compare-tray { position:sticky; bottom:8px; z-index:8; display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; padding:10px 12px; border:1px solid rgba(31,36,48,.10); border-radius:16px; background:rgba(255,255,255,.96); box-shadow:0 14px 36px rgba(31,36,48,.13); backdrop-filter:blur(10px); }
.ehsa-compare-tray__copy { display:grid; gap:1px; }
.ehsa-compare-tray__copy strong { color:#333946; font-size:11.5px; }
.ehsa-compare-tray__copy span { color:#79808d; font-size:10px; }
.ehsa-compare-tray__actions { display:flex; align-items:center; gap:6px; }
.ehsa-compare-tray button,.ehsa-comparison__close { min-height:34px; padding:6px 10px; border:1px solid rgba(31,36,48,.12); border-radius:10px; background:#fff; color:#555d6a; font:inherit; font-size:10.5px; font-weight:800; }
.ehsa-compare-tray__compare { border-color:var(--ehsa-accent)!important; background:var(--ehsa-accent)!important; color:#fff!important; }
.ehsa-compare-tray__compare:disabled { opacity:.42; cursor:not-allowed; }
.ehsa-comparison { width:100%; overflow:hidden; border:1px solid rgba(31,36,48,.10); border-radius:20px; background:#fff; box-shadow:0 14px 34px rgba(31,36,48,.07); }
.ehsa-comparison__header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 15px; border-bottom:1px solid rgba(31,36,48,.08); background:#fafafd; }
.ehsa-comparison__header>div { display:grid; gap:2px; }
.ehsa-comparison__header strong { color:#303644; font-size:13px; }
.ehsa-comparison__header span { color:#7b8290; font-size:10.5px; }
.ehsa-comparison__close { display:grid; place-items:center; width:34px; padding:0; }
.ehsa-chat .ehsa-comparison__close svg { width:15px; height:15px; }
.ehsa-comparison__scroll { overflow-x:auto; -webkit-overflow-scrolling:touch; }
.ehsa-comparison__table { width:100%; min-width:540px; border-collapse:collapse; direction:rtl; font-size:11px; }
.ehsa-comparison__table th,.ehsa-comparison__table td { min-width:120px; padding:10px 12px; border-bottom:1px solid rgba(31,36,48,.07); color:#59616f; text-align:right; vertical-align:top; }
.ehsa-comparison__table thead th { position:sticky; top:0; background:#fff; color:#303744; font-weight:900; }
.ehsa-comparison__table th:first-child { min-width:92px; color:#343a47; font-weight:850; }
.ehsa-comparison__product-name { display:-webkit-box; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.ehsa-chat--floating .ehsa-products { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(250px,82%); grid-template-columns:none; overflow-x:auto; padding:2px 1px 10px; scroll-snap-type:x mandatory; scrollbar-width:thin; }
@media (max-width:780px) { .ehsa-chat--inline .ehsa-products,.ehsa-chat--floating .ehsa-products { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(260px,86%); grid-template-columns:none; overflow-x:auto; padding-bottom:9px; scroll-snap-type:x mandatory; } .ehsa-product__image { height:156px; } .ehsa-chat__input { padding:12px 18px; line-height:1.55; } .ehsa-compare-tray { align-items:stretch; flex-direction:column; } .ehsa-compare-tray__actions { display:grid; grid-template-columns:auto 1fr; } }
@media (max-width:420px) { .ehsa-chat--inline .ehsa-products,.ehsa-chat--floating .ehsa-products { grid-auto-columns:90%; } .ehsa-product__topline { padding-inline:10px; } .ehsa-product__body { padding:12px; } .ehsa-product__role,.ehsa-product__match { font-size:10px; } }


/* v3.1 staging fixes: compact cards, reliable floating carousel and comparison. */
.ehsa-chat__messages { min-width: 0; }
.ehsa-products { min-width: 0; max-width: 100%; }
.ehsa-chat--inline .ehsa-products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}
.ehsa-chat--inline .ehsa-product__image { height: 128px; }
.ehsa-chat--inline .ehsa-product__topline { min-height: 38px; padding: 8px 10px 6px; }
.ehsa-chat--inline .ehsa-product__body { gap: 6px; padding: 10px 11px 11px; }
.ehsa-chat--inline .ehsa-product__title { font-size: 13.5px; line-height: 1.65; }
.ehsa-chat--inline .ehsa-product__explanation { padding: 8px 9px; }
.ehsa-chat--inline .ehsa-product__button { min-height: 36px; padding: 7px 8px; }

.ehsa-chat--floating .ehsa-products {
	display: flex;
	flex-flow: row nowrap;
	align-items: stretch;
	gap: 12px;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	overflow-y: visible;
	padding: 2px 0 10px;
	direction: rtl;
	scroll-snap-type: x proximity;
	scrollbar-width: thin;
	overscroll-behavior-inline: contain;
}
.ehsa-chat--floating .ehsa-product {
	flex: 0 0 82%;
	width: 82%;
	min-width: 240px;
	max-width: 310px;
	scroll-snap-align: start;
}
.ehsa-chat--floating .ehsa-product__image { height: 142px; }
.ehsa-chat--floating .ehsa-product__body { padding: 11px 12px 12px; }
.ehsa-chat--floating .ehsa-product__explanation { padding: 8px 9px; }
.ehsa-chat--floating .ehsa-product__reasons li { font-size: 10px; }

.ehsa-comparison { flex: 0 0 auto; max-width: 100%; }
.ehsa-comparison__scroll { width: 100%; max-width: 100%; overflow-x: auto; }
.ehsa-chat--floating .ehsa-comparison__table { min-width: 480px; }
.ehsa-chat--floating .ehsa-comparison__table th,
.ehsa-chat--floating .ehsa-comparison__table td { min-width: 105px; padding: 9px 10px; }

@media (max-width: 780px) {
	.ehsa-chat--inline .ehsa-products,
	.ehsa-chat--floating .ehsa-products {
		display: flex;
		flex-flow: row nowrap;
		gap: 10px;
		overflow-x: auto;
		overflow-y: visible;
		direction: rtl;
		scroll-snap-type: x proximity;
	}
	.ehsa-chat--inline .ehsa-product,
	.ehsa-chat--floating .ehsa-product {
		flex: 0 0 84%;
		width: 84%;
		min-width: 230px;
		max-width: 300px;
	}
	.ehsa-product__image { height: 138px; }
}
@media (max-width: 420px) {
	.ehsa-chat--inline .ehsa-product,
	.ehsa-chat--floating .ehsa-product { flex-basis: 88%; width: 88%; min-width: 220px; }
}

/* v3.1 staging QA: make shortcode mode denser without changing mobile ergonomics. */
@media (min-width: 781px) {
	.ehsa-chat--inline { max-width: 860px; }
	.ehsa-chat--inline .ehsa-chat__header { min-height: 74px; padding: 14px 20px; }
	.ehsa-chat--inline .ehsa-chat__tools { min-height: 50px; padding: 8px 18px; }
	.ehsa-chat--inline .ehsa-chat__messages { gap: 14px; padding: 18px 20px; }
	.ehsa-chat--inline .ehsa-message { max-width: min(78%, 520px); padding: 14px 18px; border-radius: 18px; }
	.ehsa-chat--inline .ehsa-chat__form { padding: 10px 16px 12px; grid-template-columns: minmax(0, 1fr) 52px; gap: 9px; }
	.ehsa-chat--inline .ehsa-chat__input { min-height: 52px; padding: 12px 16px; }
	.ehsa-chat--inline .ehsa-chat__send { width: 52px; height: 52px; }
}

.ehsa-chat__input {
	scrollbar-width: none;
}
.ehsa-chat__input::-webkit-scrollbar {
	width: 0;
	height: 0;
}

/* Avoid RTL grid/overflow edge cases seen in floating chat on some themes/browsers. */
.ehsa-chat--floating .ehsa-products {
	box-sizing: border-box;
	contain: layout style;
}
.ehsa-chat--floating .ehsa-product {
	box-sizing: border-box;
	direction: rtl;
}
@media (min-width: 781px) {
	.ehsa-chat--inline .ehsa-chat__panel {
		height: min(650px, 78vh);
		min-height: 560px;
	}
}

/* v3.2 guest-access gate */
.ehsa-login-gate {
	width: min(100%, 520px);
	margin: 2px auto 4px;
	padding: 16px;
	border: 1px solid color-mix(in srgb, var(--ehsa-accent) 18%, #e7e8ee);
	border-radius: 18px;
	background: linear-gradient(180deg, #fff, color-mix(in srgb, var(--ehsa-accent) 3%, #fff));
	box-shadow: 0 10px 28px rgba(31,36,48,.07);
	text-align: center;
}
.ehsa-login-gate__title {
	display: block;
	margin-bottom: 6px;
	color: #2f3542;
	font-size: 13.5px;
	font-weight: 900;
}
.ehsa-login-gate__copy {
	margin: 0 0 12px;
	color: #68707e;
	font-size: 12px;
	line-height: 1.8;
}
.ehsa-login-gate__action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 8px 18px;
	border-radius: 12px;
	background: var(--ehsa-accent);
	color: #fff !important;
	font-size: 12.5px;
	font-weight: 900;
	text-decoration: none !important;
	box-shadow: 0 10px 22px color-mix(in srgb, var(--ehsa-accent) 24%, transparent);
}
.ehsa-login-gate__action:hover { filter: brightness(.97); }
.ehsa-chat.is-login-required .ehsa-chat__form { opacity: .62; }
.ehsa-chat.is-login-required .ehsa-chat__input,
.ehsa-chat.is-login-required .ehsa-chat__send { cursor: not-allowed; }

/* v3.2.1 floating product layout reliability.
 * Floating chat uses a vertical product stack instead of an RTL horizontal carousel.
 * This keeps every card inside the panel viewport across themes/browsers. */
.ehsa-chat--floating .ehsa-products {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	grid-auto-flow: row !important;
	grid-auto-columns: auto !important;
	align-items: stretch;
	gap: 12px;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow: visible !important;
	padding: 0;
	direction: rtl;
	scroll-snap-type: none;
	overscroll-behavior-inline: auto;
	scrollbar-width: none;
	contain: none;
}
.ehsa-chat--floating .ehsa-products::-webkit-scrollbar {
	display: none;
}
.ehsa-chat--floating .ehsa-product {
	display: flex;
	flex: none !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	margin: 0;
	scroll-snap-align: none;
}
.ehsa-chat--floating .ehsa-product__image {
	height: 128px;
}
.ehsa-chat--floating .ehsa-product__topline {
	min-width: 0;
	padding: 8px 10px 6px;
}
.ehsa-chat--floating .ehsa-product__body {
	min-width: 0;
	padding: 10px 11px 11px;
}
.ehsa-chat--floating .ehsa-product__title {
	font-size: 13.5px;
	line-height: 1.65;
}
.ehsa-chat--floating .ehsa-product__actions {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ehsa-chat--floating .ehsa-product__button {
	min-width: 0;
	white-space: normal;
}
.ehsa-chat--floating .ehsa-compare-tray,
.ehsa-chat--floating .ehsa-comparison {
	min-width: 0;
	max-width: 100%;
}
@media (max-width: 520px) {
	.ehsa-chat--floating {
		right: 8px;
		left: 8px;
		bottom: 8px;
		width: auto;
	}
	.ehsa-chat--floating .ehsa-chat__panel {
		height: calc(100dvh - 16px);
		max-height: calc(100dvh - 16px);
		border-radius: 20px;
	}
	.ehsa-chat--floating .ehsa-chat__messages {
		padding-inline: 12px;
	}
	.ehsa-chat--floating .ehsa-product__image {
		height: 118px;
	}
}


/* v3.3 Mobile App Experience — component-width responsive design for floating + shortcode. */
.ehsa-chat {
	container-type: inline-size;
	container-name: ehsa-chat;
	max-width: 100%;
	font-family: inherit;
	-webkit-text-size-adjust: 100%;
}
.ehsa-chat button,
.ehsa-chat a,
.ehsa-chat__input {
	touch-action: manipulation;
}
.ehsa-chat__panel {
	isolation: isolate;
	font-family: inherit;
	overscroll-behavior: contain;
}
.ehsa-chat__messages {
	overscroll-behavior: contain;
	scroll-padding-block: 12px 96px;
}
.ehsa-chat__form {
	padding-bottom: max(12px, env(safe-area-inset-bottom));
}
html.ehsa-chat-modal-open,
html.ehsa-chat-modal-open body {
	overflow: hidden !important;
	overscroll-behavior: none;
}

/* Product/comparison defaults are driven by the actual chat width, not viewport width. */
.ehsa-chat[data-ehsa-layout="wide"] .ehsa-products {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	grid-auto-flow: row !important;
	gap: 12px;
	overflow: visible !important;
}
.ehsa-chat[data-ehsa-layout="medium"] .ehsa-products {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	grid-auto-flow: row !important;
	gap: 10px;
	overflow: visible !important;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-products {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	grid-auto-flow: row !important;
	grid-auto-columns: auto !important;
	gap: 10px;
	width: 100%;
	min-width: 0;
	overflow: visible !important;
	padding: 0;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-product,
.ehsa-chat[data-ehsa-layout="medium"] .ehsa-product {
	min-width: 0 !important;
	max-width: 100% !important;
}

/* Compact = floating panel, phone, shortcode in a narrow column/sidebar. */
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-chat__panel {
	border-radius: 20px;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-chat__header {
	min-height: 66px;
	padding: 10px 58px 10px 58px;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-chat__medal {
	inset-inline-start: 12px;
	top: 12px;
	width: 42px;
	height: 42px;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-chat__close {
	inset-inline-end: 12px;
	top: 12px;
	width: 42px;
	height: 42px;
	border-radius: 14px;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-chat__heading {
	gap: 2px;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-chat__heading strong {
	font-size: 16px;
	line-height: 1.35;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-chat__heading span {
	font-size: 10px;
	line-height: 1.45;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-chat__tools {
	min-height: 48px;
	padding: 6px 10px;
	gap: 8px;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-chat .ehsa-chat__history-clear,
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-chat__history-clear {
	min-height: 36px;
	padding: 6px 10px;
	font-size: 11px;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-chat__privacy {
	gap: 7px;
	font-size: 10.5px;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-chat__privacy::before {
	width: 8px;
	height: 8px;
	box-shadow: 0 0 0 4px rgba(34,160,107,.10);
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-chat__journey {
	padding: 7px 11px 8px;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-chat__journey-copy {
	margin-bottom: 5px;
	font-size: 9.5px;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-chat__journey-copy strong {
	font-size: 10.5px;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-chat__journey-track {
	height: 3px;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-chat__messages {
	gap: 11px;
	padding: 12px 10px 16px;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-message-row {
	gap: 7px;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-message-avatar {
	flex-basis: 27px;
	width: 27px;
	height: 27px;
	margin-top: 10px;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-chat .ehsa-message-avatar--bot svg,
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-message-avatar--bot svg {
	width: 14px;
	height: 14px;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-message {
	max-width: calc(100% - 34px);
	padding: 10px 12px;
	border-radius: 17px;
	font-size: 13px;
	line-height: 1.85;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-message__meta {
	margin-top: 5px;
	font-size: 9px;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-message--notice {
	max-width: 96%;
	padding: 10px 12px;
	font-size: 11.5px;
	line-height: 1.7;
}

.ehsa-chat[data-ehsa-layout="compact"] .ehsa-starters,
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-quick-replies {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 7px;
	width: 100%;
	margin: 0;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-starters button,
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-quick-reply {
	width: 100%;
	min-height: 42px;
	padding: 8px 9px;
	border-radius: 12px;
	font-size: 10.5px;
	line-height: 1.55;
	text-align: center;
	white-space: normal;
}

/* Compact product card: app-like horizontal media card instead of a tall desktop card. */
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-product {
	display: grid !important;
	grid-template-columns: 108px minmax(0, 1fr);
	grid-template-areas:
		"top top"
		"image body";
	align-items: start;
	width: 100% !important;
	min-width: 0 !important;
	max-width: 100% !important;
	border-radius: 18px;
	box-shadow: 0 8px 22px rgba(31,36,48,.06);
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-product:hover {
	transform: none;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-product__topline {
	grid-area: top;
	min-height: 34px;
	padding: 7px 9px 5px;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-product__role,
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-product__match {
	padding: 4px 7px;
	font-size: 9px;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-product__image {
	grid-area: image;
	width: 98px !important;
	height: 118px !important;
	margin: 0 9px 10px 0 !important;
	border-radius: 13px;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-product__image img {
	padding: 6px;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-product__body {
	grid-area: body;
	gap: 5px;
	min-width: 0;
	padding: 5px 9px 9px 10px !important;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-product__title {
	-webkit-line-clamp: 2;
	font-size: 12.5px;
	line-height: 1.6;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-product__price {
	font-size: 12px;
	line-height: 1.45;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-product__meta {
	gap: 4px;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-product__stock,
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-product__variation {
	padding: 3px 6px;
	font-size: 8.5px;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-product__explanation {
	padding: 6px 7px;
	border-radius: 10px;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-product__explanation-title {
	margin-bottom: 3px;
	font-size: 9.5px;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-product__reasons {
	gap: 2px;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-product__reasons li {
	font-size: 8.8px;
	line-height: 1.5;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-product__reasons li:nth-child(n+2) {
	display: none;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-product__actions {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 5px;
	padding-top: 2px;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-product__button {
	min-height: 40px;
	min-width: 0;
	padding: 6px 5px;
	border-radius: 10px;
	font-size: 9.5px;
	line-height: 1.35;
	white-space: normal;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-product__button--cart {
	grid-column: 1 / -1;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-product__button-icon {
	font-size: 12px;
}

/* Compact comparison becomes feature cards; no sideways table scrolling. */
.ehsa-comparison__mobile {
	display: none;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-comparison__scroll,
.ehsa-chat[data-ehsa-layout="medium"] .ehsa-comparison__scroll {
	display: none;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-comparison__mobile,
.ehsa-chat[data-ehsa-layout="medium"] .ehsa-comparison__mobile {
	display: grid;
	gap: 8px;
	padding: 10px;
}
.ehsa-comparison__mobile-group {
	display: grid;
	gap: 5px;
	padding: 9px;
	border: 1px solid rgba(31,36,48,.08);
	border-radius: 12px;
	background: #fff;
}
.ehsa-comparison__mobile-group.is-different {
	border-color: color-mix(in srgb, var(--ehsa-accent) 25%, #e7e8ee);
	background: color-mix(in srgb, var(--ehsa-accent) 2.5%, white);
}
.ehsa-comparison__mobile-label {
	color: #343a47;
	font-size: 10px;
	font-weight: 900;
}
.ehsa-comparison__mobile-item {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
	gap: 8px;
	align-items: start;
	padding-top: 5px;
	border-top: 1px dashed rgba(31,36,48,.08);
}
.ehsa-comparison__mobile-product {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	color: #6b7280;
	font-size: 9px;
	line-height: 1.5;
}
.ehsa-comparison__mobile-value {
	color: #303644;
	font-size: 9.5px;
	font-weight: 800;
	line-height: 1.5;
	text-align: left;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-comparison {
	border-radius: 16px;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-comparison__header {
	padding: 10px;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-comparison__header strong {
	font-size: 11.5px;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-comparison__header span {
	font-size: 9px;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-compare-tray {
	bottom: 5px;
	align-items: stretch;
	flex-direction: column;
	gap: 7px;
	padding: 9px;
	border-radius: 13px;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-compare-tray__actions {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 6px;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-compare-tray button {
	min-height: 40px;
}

/* Composer is intentionally small and thumb-friendly. */
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-chat__form {
	grid-template-columns: minmax(0, 1fr) 46px;
	grid-template-rows: minmax(46px, auto);
	gap: 7px;
	padding: 8px 9px max(8px, env(safe-area-inset-bottom));
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-chat__input {
	height: 46px;
	min-height: 46px;
	max-height: 96px;
	padding: 11px 14px;
	border-radius: 16px;
	font-size: 12px;
	line-height: 1.65;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-chat__send {
	width: 46px;
	height: 46px;
	border-radius: 14px;
	box-shadow: 0 8px 18px color-mix(in srgb, var(--ehsa-accent) 24%, transparent);
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-chat .ehsa-chat__send svg,
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-chat__send svg {
	width: 21px;
	height: 21px;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-login-gate {
	padding: 12px;
	border-radius: 14px;
}
.ehsa-chat[data-ehsa-layout="compact"] .ehsa-login-gate__action {
	width: 100%;
	min-height: 44px;
}

/* Medium layouts: tablets, half-width page columns and smaller shortcode embeds. */
.ehsa-chat[data-ehsa-layout="medium"] .ehsa-chat__messages {
	padding: 16px;
	gap: 13px;
}
.ehsa-chat[data-ehsa-layout="medium"] .ehsa-message {
	max-width: 84%;
	padding: 12px 15px;
	font-size: 13.5px;
}
.ehsa-chat[data-ehsa-layout="medium"] .ehsa-product__image {
	height: 132px;
}
.ehsa-chat[data-ehsa-layout="medium"] .ehsa-chat__form {
	grid-template-columns: minmax(0, 1fr) 50px;
	gap: 8px;
	padding: 9px 12px max(9px, env(safe-area-inset-bottom));
}
.ehsa-chat[data-ehsa-layout="medium"] .ehsa-chat__input {
	min-height: 48px;
	max-height: 104px;
	padding: 11px 15px;
	border-radius: 16px;
	font-size: 13px;
}
.ehsa-chat[data-ehsa-layout="medium"] .ehsa-chat__send {
	width: 50px;
	height: 50px;
	border-radius: 15px;
}

/* Very narrow embeds still remain usable instead of overflowing. */
@container ehsa-chat (max-width: 340px) {
	.ehsa-starters,
	.ehsa-quick-replies {
		grid-template-columns: minmax(0, 1fr) !important;
	}
	.ehsa-product {
		grid-template-columns: 88px minmax(0, 1fr) !important;
	}
	.ehsa-product__image {
		width: 80px !important;
		height: 104px !important;
	}
	.ehsa-product__role,
	.ehsa-product__match {
		max-width: 48%;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	.ehsa-chat__heading span {
		display: none;
	}
}

/* Floating mode behaves like a small app on phones and stays docked on larger screens. */
@media (max-width: 600px) {
	.ehsa-chat--floating:not(.is-collapsed) {
		top: var(--ehsa-visual-top, 0);
		right: 0;
		bottom: auto;
		left: 0;
		width: 100vw;
		height: var(--ehsa-visual-height, 100dvh);
		max-width: none;
	}
	.ehsa-chat--floating:not(.is-collapsed) .ehsa-chat__panel {
		height: 100%;
		max-height: 100%;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}
	.ehsa-chat--floating.is-collapsed {
		top: auto;
		right: max(10px, env(safe-area-inset-right));
		bottom: max(10px, env(safe-area-inset-bottom));
		left: auto;
		height: auto;
	}
}

/* Stable loading state: avoid large layout jumps while the answer is being prepared. */
.ehsa-message-row.is-loading .ehsa-message {
	min-width: 132px;
	background: linear-gradient(100deg, #fff 20%, #f5f5fa 45%, #fff 70%);
	background-size: 220% 100%;
	animation: ehsa-loading-shimmer 1.5s linear infinite;
}
@keyframes ehsa-loading-shimmer {
	to { background-position: -220% 0; }
}

/* v3.4 merchant-selectable assistant identity */
.ehsa-chat .ehsa-assistant-icon-image {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: cover;
	border-radius: inherit;
}
.ehsa-chat__toggle-medal .ehsa-assistant-icon-image,
.ehsa-chat__medal .ehsa-assistant-icon-image,
.ehsa-message-avatar--bot .ehsa-assistant-icon-image,
.ehsa-chat__brand > span .ehsa-assistant-icon-image {
	position: relative;
	z-index: 1;
}

/* v3.5.3 Mobile Fullscreen — floating chat becomes a true phone app surface. */
html.ehsa-chat-modal-open,
html.ehsa-chat-modal-open body,
body.ehsa-chat-modal-open {
	overflow: hidden !important;
	overflow-x: hidden !important;
	overflow-y: hidden !important;
	overscroll-behavior: none !important;
}

@media (max-width: 600px) {
	.ehsa-chat--floating.is-mobile-fullscreen {
		position: fixed !important;
		top: var(--ehsa-visual-top, 0px) !important;
		right: 0 !important;
		bottom: auto !important;
		left: 0 !important;
		width: var(--ehsa-visual-width, 100vw) !important;
		height: var(--ehsa-visual-height, 100dvh) !important;
		min-width: 0 !important;
		max-width: none !important;
		min-height: 0 !important;
		max-height: none !important;
		margin: 0 !important;
		padding: 0 !important;
		z-index: 2147483647 !important;
		transform: none !important;
	}

	.ehsa-chat--floating.is-mobile-fullscreen .ehsa-chat__panel {
		width: 100% !important;
		height: 100% !important;
		min-height: 0 !important;
		max-height: none !important;
		border: 0 !important;
		border-radius: 0 !important;
		box-shadow: none !important;
	}

	.ehsa-chat--floating.is-mobile-fullscreen .ehsa-chat__header {
		padding-top: max(14px, env(safe-area-inset-top)) !important;
		min-height: max(72px, calc(58px + env(safe-area-inset-top))) !important;
	}

	.ehsa-chat--floating.is-mobile-fullscreen .ehsa-chat__close {
		top: max(12px, env(safe-area-inset-top)) !important;
		inset-inline-end: max(12px, env(safe-area-inset-right)) !important;
		width: 44px !important;
		height: 44px !important;
		border-radius: 14px !important;
	}

	.ehsa-chat--floating.is-mobile-fullscreen .ehsa-chat__messages {
		min-height: 0 !important;
		overscroll-behavior: contain !important;
		-webkit-overflow-scrolling: touch;
	}

	.ehsa-chat--floating.is-mobile-fullscreen .ehsa-chat__form {
		padding-bottom: max(12px, env(safe-area-inset-bottom)) !important;
		padding-inline-end: max(12px, env(safe-area-inset-right)) !important;
		padding-inline-start: max(12px, env(safe-area-inset-left)) !important;
	}
}

/* v3.5.4: verified product references and opt-in human handoff */
/* v3.5.1: verified product references and opt-in human handoff, isolated from existing chat styling. */
.ehsa-chat .ehsa-sources { border: 1px solid var(--ehsa-line); background: var(--ehsa-white); border-radius: 14px; padding: 11px 13px; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.ehsa-chat .ehsa-sources__title { display: block; color: var(--ehsa-forest); margin-bottom: 4px; }
.ehsa-chat .ehsa-sources__list { display: flex; flex-wrap: wrap; gap: 5px 14px; list-style: none; padding: 0; margin: 0; }
.ehsa-chat .ehsa-sources a { text-decoration: underline; text-underline-offset: 3px; color: var(--ehsa-forest-2); }
.ehsa-chat .ehsa-chat__support-trigger { border: 1px solid var(--ehsa-line); background: #fff; color: var(--ehsa-forest); border-radius: 10px; padding: 6px 10px; font: inherit; font-size: 12px; font-weight: 750; }
.ehsa-chat .ehsa-chat__support-trigger:focus-visible, .ehsa-chat .ehsa-support button:focus-visible, .ehsa-chat .ehsa-support input:focus-visible, .ehsa-chat .ehsa-support textarea:focus-visible { outline: 2px solid var(--ehsa-forest-2); outline-offset: 2px; }
.ehsa-chat .ehsa-support { padding: 14px 18px; background: #fffdf8; border-top: 1px solid var(--ehsa-line); overflow-y: auto; max-height: min(420px, 60vh); flex: 0 1 auto; }
.ehsa-chat .ehsa-support[hidden] { display: none !important; }
.ehsa-chat .ehsa-support__header { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--ehsa-forest); }
.ehsa-chat .ehsa-support__header button { border: 0; background: transparent; padding: 0 8px; font-size: 25px; line-height: 1; }
.ehsa-chat .ehsa-support p { font-size: 12px; margin: 5px 0 10px; color: var(--ehsa-muted); }
.ehsa-chat .ehsa-support form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ehsa-chat .ehsa-support form input:not([type="checkbox"]):not([name="website"]), .ehsa-chat .ehsa-support textarea { border: 1px solid var(--ehsa-line); border-radius: 10px; background: white; padding: 9px 11px; width: 100%; min-width: 0; font: inherit; font-size: 13px; color: var(--ehsa-text); }
.ehsa-chat .ehsa-support form input[name="name"], .ehsa-chat .ehsa-support form textarea, .ehsa-chat .ehsa-support__consent, .ehsa-chat .ehsa-support__feedback, .ehsa-chat .ehsa-support__submit { grid-column: 1 / -1; }
.ehsa-chat .ehsa-support__website { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0; }
.ehsa-chat .ehsa-support__consent { display: flex; align-items: start; gap: 8px; font-size: 12px; }
.ehsa-chat .ehsa-support__consent input { margin-top: 6px; flex-shrink: 0; }
.ehsa-chat .ehsa-support__feedback { font-size: 12px; color: var(--ehsa-forest); white-space: normal; overflow-wrap: anywhere; }
.ehsa-chat .ehsa-support__submit { border: 0; background: var(--ehsa-forest); color: #fff; border-radius: 10px; padding: 10px 14px; font: inherit; font-size: 13px; font-weight: 800; }
.ehsa-chat .ehsa-support__submit:disabled { opacity: .55; cursor: progress; }
@media(max-width: 480px) { .ehsa-chat .ehsa-chat__tools { gap: 7px; padding-inline: 10px; flex-wrap: wrap; } .ehsa-chat .ehsa-chat__support-trigger { font-size: 11px; padding: 5px 7px; } .ehsa-chat .ehsa-support { max-height: 55dvh; padding: 10px 12px; } }

.ehsa-chat .ehsa-product__sale { background: #fff4df; border: 1px solid #edd6a4; border-radius: 8px; padding: 2px 7px; color: #735019; font-size: 10px; font-weight: 800; }
