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

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

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

.ahpc-chat button {
	cursor: pointer;
}

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

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

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

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

.ahpc-chat__toggle {
	display: none;
}

.ahpc-chat--floating .ahpc-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;
}

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

.ahpc-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);
}

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

.ahpc-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);
}

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

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

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

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

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

.ahpc-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(--ahpc-cream-2), var(--ahpc-cream));
	box-shadow: var(--ahpc-shadow);
	animation: ahpc-pop .22s ease both;
}

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

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

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

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

.ahpc-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;
}

.ahpc-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;
}

.ahpc-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(--ahpc-gold) 100%);
	color: var(--ahpc-forest);
	font-size: 16px;
	font-weight: 950;
	box-shadow: 0 14px 28px rgba(203, 164, 100, .22);
}

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

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

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

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

.ahpc-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;
}

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

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

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

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

.ahpc-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(--ahpc-muted);
}

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

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

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

.ahpc-chat__status {
	display: none;
}

.ahpc-chat .ahpc-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;
}

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

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

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

.ahpc-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;
}

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

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

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

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

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

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

.ahpc-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);
}

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

.ahpc-chat .ahpc-message-avatar--bot svg {
	display: none;
}

.ahpc-message-avatar--bot::before {
	content: "AI";
}

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

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

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

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

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

.ahpc-message__text {
	margin: 0;
}

.ahpc-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;
}

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

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

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

.ahpc-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);
}

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

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

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

.ahpc-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);
}

.ahpc-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;
}

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

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

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

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

.ahpc-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(--ahpc-text);
	font-size: 14px;
	font-weight: 900;
	line-height: 1.65;
	text-decoration: none;
	overflow-wrap: anywhere;
}

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

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

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

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

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

.ahpc-product__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 38px;
	padding: 8px 10px;
	border: 1px solid var(--ahpc-forest);
	border-radius: 12px;
	background: linear-gradient(135deg, var(--ahpc-forest-2), var(--ahpc-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;
}

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

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

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

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

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

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

.ahpc-chat__disclaimer {
	display: none;
}

.ahpc-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;
}

.ahpc-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;
}

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

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

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

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

.ahpc-chat__form {
	position: relative;
	z-index: 3;
	flex: 0 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 62px;
	grid-template-rows: 62px;
	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;
}

.ahpc-chat__attachment {
	display: none;
}

.ahpc-chat__input {
	grid-column: 1;
	grid-row: 1;
	width: 100%;
	height: 58px;
	min-width: 0;
	padding: 0 22px;
	border: 1.5px solid rgba(18, 61, 50, .26);
	border-radius: 999px;
	outline: none;
	background: #fff;
	color: var(--ahpc-text);
	font-size: 16px;
	line-height: 58px;
	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;
}

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

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

.ahpc-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(--ahpc-forest));
	color: #F2D097;
	box-shadow: 0 16px 30px rgba(18, 61, 50, .2);
	transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

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

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

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

.ahpc-chat__brand {
	display: none;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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