@font-face {
	font-family: NovixVazir;
	src: url("../fonts/Vazirmatn-VF.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
.wcai-root {
	--wcai-primary: #346bf1;
	--wcai-primary-dark: color-mix(in srgb, var(--wcai-primary) 72%, #000);
	--wcai-primary-soft: color-mix(in srgb, var(--wcai-primary) 10%, transparent);
	--wcai-bg: #ffffff;
	--wcai-surface: #f6f8fb;
	--wcai-bubble: #ffffff;
	--wcai-text: #0f172a;
	--wcai-body: #334155;
	--wcai-muted: #64748b;
	--wcai-border: #e6eaf0;
	--wcai-danger: #e11d48;
	--wcai-success: #10b981;
	--wcai-head: #08090c;
	--wcai-radius: 22px;
	--wcai-shadow: 0 24px 60px -12px rgba(15, 23, 42, .32), 0 0 0 1px rgba(15, 23, 42, .06);
	position: fixed;
	bottom: max(var(--wcai-offset-y, 20px), var(--wcai-safe-bottom, 0px));
	z-index: 9990;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.75;
	color: var(--wcai-text);
	text-align: start;
	-webkit-font-smoothing: antialiased;
}
.wcai-root.wcai-theme-dark {
	--wcai-bg: #0f1117;
	--wcai-surface: #0b0d12;
	--wcai-bubble: #171a22;
	--wcai-text: #f1f5f9;
	--wcai-body: #cbd5e1;
	--wcai-muted: #8b95a7;
	--wcai-border: #232733;
	--wcai-shadow: 0 24px 60px -12px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06);
}
@media (prefers-color-scheme: dark) {
	.wcai-root.wcai-theme-auto {
		--wcai-bg: #0f1117;
		--wcai-surface: #0b0d12;
		--wcai-bubble: #171a22;
		--wcai-text: #f1f5f9;
		--wcai-body: #cbd5e1;
		--wcai-muted: #8b95a7;
		--wcai-border: #232733;
		--wcai-shadow: 0 24px 60px -12px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06);
	}
}
.wcai-root.wcai-open { z-index: 999999; }
.wcai-root *, .wcai-root *::before, .wcai-root *::after { box-sizing: border-box; }
.wcai-root :is(button, input, textarea, select) { font-family: inherit; letter-spacing: normal; text-transform: none; }
.wcai-root svg { display: block; }
.wcai-pos-left { left: var(--wcai-offset-x, 20px); }
.wcai-pos-right { right: var(--wcai-offset-x, 20px); }

.wcai-launcher {
	position: relative;
	height: 60px; min-width: 60px; border-radius: 999px; border: 0; cursor: pointer; padding: 0;
	background: linear-gradient(135deg, var(--wcai-primary), var(--wcai-primary-dark)); color: #fff;
	box-shadow: 0 14px 34px -8px color-mix(in srgb, var(--wcai-primary) 70%, transparent), inset 0 1px 0 rgba(255, 255, 255, .25);
	display: flex; align-items: center; justify-content: center; gap: 10px;
	transition: transform .25s cubic-bezier(.16, 1, .3, 1), box-shadow .25s;
	font-weight: 700; font-size: 14px; line-height: 1;
}
.wcai-launcher::before {
	content: ""; position: absolute; inset: 0; border-radius: inherit;
	box-shadow: 0 0 0 0 color-mix(in srgb, var(--wcai-primary) 55%, transparent);
	animation: wcai-ring 2.6s infinite;
}
.wcai-open .wcai-launcher::before { animation: none; }
@keyframes wcai-ring {
	0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--wcai-primary) 50%, transparent); }
	70% { box-shadow: 0 0 0 16px transparent; }
	100% { box-shadow: 0 0 0 0 transparent; }
}
.wcai-launcher:hover { transform: translateY(-2px) scale(1.03); }
.wcai-launcher:focus-visible { outline: 3px solid color-mix(in srgb, var(--wcai-primary) 40%, transparent); outline-offset: 3px; }
.wcai-launcher-icon { display: flex; width: 28px; height: 28px; align-items: center; justify-content: center; }
.wcai-launcher-icon svg { width: 28px; height: 28px; }
.wcai-launcher-label { display: none; white-space: nowrap; }
.wcai-launcher-pill .wcai-launcher { padding: 0 22px 0 18px; }
.wcai-launcher-pill .wcai-launcher-label { display: inline; }
.wcai-launcher-pill .wcai-launcher-icon, .wcai-launcher-pill .wcai-launcher-icon svg { width: 24px; height: 24px; }
.wcai-open .wcai-launcher { padding: 0; width: 60px; }
.wcai-open .wcai-launcher-label { display: none; }
.wcai-launcher-dot {
	position: absolute; top: 2px; inset-inline-end: 2px; width: 14px; height: 14px; border-radius: 50%;
	background: #f43f5e; border: 2px solid #fff; display: none;
}
.wcai-has-unread .wcai-launcher-dot, .wcai-live-unread .wcai-launcher-dot { display: block; }

.wcai-picker {
	position: absolute; bottom: 76px; width: 310px; padding: 14px;
	background: var(--wcai-bg); color: var(--wcai-text); border-radius: 22px; box-shadow: var(--wcai-shadow);
	animation: wcai-pop .28s cubic-bezier(.16, 1, .3, 1);
}
.wcai-picker[hidden] { display: none; }
.wcai-pos-left .wcai-picker { left: 0; transform-origin: bottom left; }
.wcai-pos-right .wcai-picker { right: 0; transform-origin: bottom right; }
.wcai-picker-title { margin: 0 4px 10px; font-size: 15px; font-weight: 800; color: var(--wcai-text); }
.wcai-pick {
	display: flex; align-items: center; gap: 12px; width: 100%; margin: 0; padding: 12px;
	border: 1px solid var(--wcai-border); border-radius: 16px; background: var(--wcai-surface); color: var(--wcai-text);
	cursor: pointer; text-align: start; font: inherit; transition: border-color .2s, background .2s, transform .2s;
}
.wcai-pick + .wcai-pick { margin-top: 8px; }
.wcai-pick:hover, .wcai-pick:focus-visible { border-color: var(--wcai-primary); background: var(--wcai-primary-soft); transform: translateY(-1px); outline: none; }
.wcai-pick-ic {
	position: relative; flex: none; width: 46px; height: 46px; border-radius: 15px; display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, var(--wcai-primary), var(--wcai-primary-dark)); color: #fff;
}
.wcai-pick-ic img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.wcai-pick-ic svg { width: 24px; height: 24px; }
.wcai-pick-human .wcai-pick-ic { background: linear-gradient(135deg, #10b981, #047857); }
.wcai-pick-dot { position: absolute; bottom: -3px; inset-inline-end: -3px; width: 13px; height: 13px; border-radius: 50%; background: #94a3b8; border: 2px solid var(--wcai-bg); }
.wcai-pick-dot.wcai-on { background: #22c55e; }
.wcai-pick-t { flex: 1; min-width: 0; }
.wcai-pick-t b { display: block; font-size: 14px; font-weight: 800; line-height: 1.5; }
.wcai-pick-t small { display: block; font-size: 12px; color: var(--wcai-muted); line-height: 1.5; }
.wcai-pick-badge { flex: none; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #f43f5e; color: #fff; font-size: 12px; font-weight: 700; line-height: 22px; text-align: center; }
.wcai-pick-badge[hidden] { display: none; }
.wcai-pos-left .wcai-launcher { margin-right: auto; }
.wcai-pos-right .wcai-launcher { margin-left: auto; }

.wcai-teaser {
	position: absolute; bottom: 74px; width: max-content; max-width: 270px;
	background: var(--wcai-bg); color: var(--wcai-text); border-radius: 18px;
	padding: 12px 16px; padding-inline-end: 36px; box-shadow: var(--wcai-shadow); cursor: pointer;
	opacity: 0; transform: translateY(10px) scale(.96); pointer-events: none; transition: all .35s cubic-bezier(.16, 1, .3, 1);
	font-size: 13px; line-height: 1.7;
}
.wcai-pos-left .wcai-teaser { left: 0; }
.wcai-pos-right .wcai-teaser { right: 0; }
.wcai-teaser.wcai-show { opacity: 1; transform: none; pointer-events: auto; }
.wcai-teaser-close {
	position: absolute; top: 8px; inset-inline-end: 8px; width: 22px; height: 22px; border: 0; padding: 4px;
	background: var(--wcai-surface); color: var(--wcai-muted); cursor: pointer; border-radius: 50%;
}
.wcai-teaser-close svg { width: 14px; height: 14px; }

.wcai-panel {
	position: absolute; bottom: 76px; width: min(430px, calc(100vw - 32px)); height: min(680px, calc(100vh - 120px));
	background: var(--wcai-bg); border-radius: var(--wcai-radius); box-shadow: var(--wcai-shadow);
	display: flex; flex-direction: column; overflow: hidden;
	animation: wcai-pop .32s cubic-bezier(.16, 1, .3, 1);
	transition: width .3s cubic-bezier(.16, 1, .3, 1), height .3s cubic-bezier(.16, 1, .3, 1);
}
.wcai-panel[hidden] { display: none; }
.wcai-pos-left .wcai-panel { left: 0; transform-origin: bottom left; }
.wcai-pos-right .wcai-panel { right: 0; transform-origin: bottom right; }
.wcai-expanded .wcai-panel { width: min(620px, calc(100vw - 40px)); height: calc(100vh - 120px); }
@keyframes wcai-pop { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }

.wcai-header {
	position: relative; display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 12px;
	background: var(--wcai-head); color: #fff; overflow: hidden; flex: none;
}
.wcai-header::after {
	content: ""; position: absolute; top: -60%; inset-inline-end: -20%; width: 320px; height: 200px;
	background: radial-gradient(circle, color-mix(in srgb, var(--wcai-primary) 55%, transparent) 0%, transparent 70%);
	pointer-events: none; opacity: .75;
}
.wcai-header > * { position: relative; z-index: 1; }
.wcai-avatar {
	width: 44px; height: 44px; border-radius: 14px; flex: none; overflow: hidden;
	background: linear-gradient(135deg, #181920, #101116); color: var(--wcai-primary);
	border: 1px solid color-mix(in srgb, var(--wcai-primary) 50%, transparent);
	box-shadow: 0 6px 18px color-mix(in srgb, var(--wcai-primary) 35%, transparent);
	display: flex; align-items: center; justify-content: center;
}
.wcai-avatar svg { width: 24px; height: 24px; color: color-mix(in srgb, var(--wcai-primary) 70%, #fff); }
.wcai-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wcai-titles { flex: 1; display: flex; flex-direction: column; min-width: 0; line-height: 1.5; }
.wcai-titles strong { font-size: 15px; font-weight: 800; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wcai-status { font-size: 11.5px; color: #94a3b8; display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body:has(.wcai-root.wcai-open) .bakala-float-call { display: none !important; }
.wcai-status::before {
	content: ""; width: 7px; height: 7px; border-radius: 50%; background: #34d399; flex: none;
	box-shadow: 0 0 0 3px rgba(52, 211, 153, .2);
}
.wcai-header-actions { display: flex; gap: 2px; }
.wcai-icon-btn {
	width: 34px; height: 34px; border: 0; border-radius: 10px; padding: 0; cursor: pointer;
	background: transparent; color: #cbd5e1; display: flex; align-items: center; justify-content: center;
	transition: background .2s, color .2s;
}
.wcai-icon-btn:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.wcai-icon-btn svg { width: 18px; height: 18px; }
.wcai-icon-btn[hidden] { display: none; }

.wcai-messages {
	flex: 1; overflow-y: auto; padding: 18px 14px 10px; background: var(--wcai-surface);
	display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth; overscroll-behavior: contain;
	scrollbar-width: thin; scrollbar-color: var(--wcai-border) transparent;
}
.wcai-msg { display: flex; flex-direction: column; gap: 8px; max-width: 88%; animation: wcai-in .3s cubic-bezier(.16, 1, .3, 1); }
@keyframes wcai-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.wcai-user { align-self: flex-start; align-items: flex-start; }
.wcai-bot { align-self: flex-end; align-items: stretch; }
.wcai-root[dir="ltr"] .wcai-user { align-self: flex-end; align-items: flex-end; }
.wcai-root[dir="ltr"] .wcai-bot { align-self: flex-start; }
.wcai-bubble {
	padding: 10px 14px; border-radius: 18px; background: var(--wcai-bubble); color: var(--wcai-body);
	border: 1px solid var(--wcai-border); word-wrap: break-word; overflow-wrap: anywhere; font-size: 13.5px;
}
.wcai-bot .wcai-bubble { border-start-end-radius: 6px; }
.wcai-user .wcai-bubble {
	background: linear-gradient(135deg, var(--wcai-primary), var(--wcai-primary-dark)); color: #fff; border: 0;
	white-space: pre-wrap; border-start-start-radius: 6px;
	box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--wcai-primary) 60%, transparent);
}
.wcai-error .wcai-bubble { background: color-mix(in srgb, var(--wcai-danger) 8%, var(--wcai-bubble)); color: var(--wcai-danger); border-color: color-mix(in srgb, var(--wcai-danger) 25%, transparent); }
.wcai-bubble p { margin: 0 0 6px; }
.wcai-bubble p:last-child { margin-bottom: 0; }
.wcai-bubble ul { margin: 4px 0 6px; padding-inline-start: 18px; list-style: disc; }
.wcai-bubble li { margin: 2px 0; }
.wcai-bubble strong { color: var(--wcai-text); font-weight: 800; }
.wcai-user .wcai-bubble strong { color: #fff; }
.wcai-bubble a { color: var(--wcai-primary); text-decoration: underline; text-underline-offset: 3px; }
.wcai-retry {
	align-self: flex-end; font-size: 12px; font-weight: 700; border: 1px solid var(--wcai-border); background: var(--wcai-bg);
	color: var(--wcai-text); border-radius: 999px; padding: 4px 14px; cursor: pointer;
}

.wcai-typing { display: flex; gap: 10px; align-items: center; padding: 12px 15px; }
.wcai-dots { display: flex; gap: 4px; }
.wcai-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--wcai-primary); animation: wcai-blink 1.2s infinite both; }
.wcai-dots i:nth-child(2) { animation-delay: .2s; }
.wcai-dots i:nth-child(3) { animation-delay: .4s; }
.wcai-typing-text { font-size: 12px; color: var(--wcai-muted); }
@keyframes wcai-blink { 0%, 80%, 100% { opacity: .25; transform: scale(.75); } 40% { opacity: 1; transform: none; } }

.wcai-feedback { display: flex; gap: 4px; justify-content: flex-end; margin-top: -2px; align-items: center; }
.wcai-fb-btn {
	width: 28px; height: 26px; border-radius: 8px; border: 1px solid transparent; background: transparent;
	color: var(--wcai-muted); cursor: pointer; padding: 0; display: inline-flex; align-items: center; justify-content: center;
	transition: all .2s;
}
.wcai-fb-btn svg { width: 14px; height: 14px; }
.wcai-fb-btn:hover { background: var(--wcai-bg); border-color: var(--wcai-border); color: var(--wcai-text); }
.wcai-fb-btn.wcai-on { color: var(--wcai-primary); background: var(--wcai-primary-soft); }
.wcai-fb-btn.wcai-on.wcai-down { color: var(--wcai-danger); background: color-mix(in srgb, var(--wcai-danger) 10%, transparent); }
.wcai-fb-thanks { font-size: 11px; color: var(--wcai-muted); margin-inline-end: 4px; }

.wcai-card {
	display: flex; gap: 12px; background: var(--wcai-bubble); border: 1px solid var(--wcai-border);
	border-radius: 18px; padding: 10px; transition: border-color .2s, box-shadow .2s;
}
.wcai-card:hover { border-color: color-mix(in srgb, var(--wcai-primary) 35%, var(--wcai-border)); box-shadow: 0 10px 24px -12px rgba(15, 23, 42, .25); }
.wcai-card-img { position: relative; flex: none; width: 92px; height: 92px; border-radius: 14px; overflow: hidden; background: var(--wcai-surface); display: block; }
.wcai-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.wcai-card:hover .wcai-card-img img { transform: scale(1.06); }
.wcai-badge {
	position: absolute; top: 6px; inset-inline-start: 6px; background: var(--wcai-danger); color: #fff;
	font-size: 10px; font-weight: 800; padding: 1px 7px; border-radius: 999px; line-height: 1.7;
}
.wcai-card-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.wcai-card-name {
	font-weight: 700; font-size: 13px; color: var(--wcai-text); text-decoration: none; line-height: 1.6;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.wcai-card-name:hover { color: var(--wcai-primary); }
.wcai-card-price { font-weight: 800; color: var(--wcai-text); font-size: 13.5px; display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; }
.wcai-card-price del { color: var(--wcai-muted); font-weight: 500; font-size: 11.5px; }
.wcai-rating { font-size: 11.5px; color: #f59e0b; font-weight: 700; }
.wcai-stock { font-size: 11.5px; font-weight: 600; }
.wcai-low { color: #ea580c; }
.wcai-out { color: var(--wcai-danger); }
.wcai-root .wcai-variation {
	width: 100%; font-size: 16px; padding: 5px 8px; border: 1px solid var(--wcai-border); height: auto; min-height: 0;
	border-radius: 10px; background: var(--wcai-bg); color: var(--wcai-text); max-width: 100%; margin: 2px 0;
}
.wcai-card-actions { display: flex; gap: 6px; margin-top: 4px; }
.wcai-add, .wcai-view {
	font-size: 12px; border-radius: 10px; padding: 6px 10px; cursor: pointer; text-decoration: none;
	line-height: 1.5; text-align: center; white-space: nowrap; transition: all .2s; display: inline-flex; align-items: center; justify-content: center;
}
.wcai-add {
	flex: 1; border: 0; background: linear-gradient(135deg, var(--wcai-primary), var(--wcai-primary-dark)); color: #fff; font-weight: 700;
}
.wcai-add:hover { filter: brightness(1.08); color: #fff; }
.wcai-add:disabled { opacity: .75; cursor: default; }
.wcai-add.wcai-done { background: var(--wcai-success); opacity: 1; }
.wcai-view { border: 1px solid var(--wcai-border); color: var(--wcai-text); background: transparent; }
.wcai-view:hover { border-color: var(--wcai-primary); color: var(--wcai-primary); }
.wcai-shake { animation: wcai-shake .4s; border-color: var(--wcai-danger) !important; }
@keyframes wcai-shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

.wcai-handoff {
	background: var(--wcai-bubble); border: 1px solid var(--wcai-border); border-radius: 18px; padding: 12px;
	display: flex; flex-direction: column; gap: 8px;
}
.wcai-handoff-title { font-size: 12.5px; font-weight: 800; color: var(--wcai-text); display: flex; align-items: center; gap: 6px; }
.wcai-handoff-title svg { width: 16px; height: 16px; color: var(--wcai-primary); }
.wcai-handoff-hours { font-size: 11.5px; color: var(--wcai-muted); }
.wcai-contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.wcai-contact {
	display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; text-decoration: none;
	font-size: 12.5px; font-weight: 700; color: #fff; transition: transform .2s, filter .2s; min-width: 0;
}
.wcai-contact:hover { transform: translateY(-1px); filter: brightness(1.06); color: #fff; }
.wcai-contact svg { width: 18px; height: 18px; flex: none; }
.wcai-contact span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wcai-contact-goftino { background: linear-gradient(135deg, var(--wcai-primary), var(--wcai-primary-dark)); grid-column: 1 / -1; border: 0; cursor: pointer; font-family: inherit; justify-content: center; }
.wcai-contact-whatsapp { background: #25d366; }
.wcai-contact-telegram { background: #229ed9; }
.wcai-contact-phone { background: var(--wcai-primary); }
.wcai-contact-email { background: #475569; }

.wcai-sheet {
	position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: flex-end;
	background: rgba(8, 9, 12, .45); backdrop-filter: blur(2px); animation: wcai-fade .2s;
}
.wcai-sheet[hidden] { display: none; }
.wcai-sheet-body {
	background: var(--wcai-bg); border-radius: 22px 22px 0 0; padding: 18px 16px 20px;
	animation: wcai-up .3s cubic-bezier(.16, 1, .3, 1);
}
.wcai-sheet-body .wcai-handoff { border: 0; padding: 0; background: transparent; }
@keyframes wcai-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes wcai-up { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }

.wcai-cartbar {
	display: flex; align-items: center; gap: 8px; padding: 9px 14px; font-size: 12px; flex: none;
	background: color-mix(in srgb, var(--wcai-success) 10%, var(--wcai-bg)); border-top: 1px solid var(--wcai-border);
	color: var(--wcai-text);
}
.wcai-cartbar[hidden] { display: none; }
.wcai-cartbar span { flex: 1; font-weight: 600; }
.wcai-cartbar a { text-decoration: none; border-radius: 10px; padding: 5px 12px; font-weight: 700; }
.wcai-cartbar-link { color: var(--wcai-text); }
.wcai-cartbar-cta { background: var(--wcai-success); color: #fff !important; }

.wcai-chips { display: flex; gap: 6px; padding: 10px 14px 0; overflow-x: auto; scrollbar-width: none; flex: none; background: var(--wcai-bg); }
.wcai-chips[hidden] { display: none; }
.wcai-chips::-webkit-scrollbar { display: none; }
.wcai-chips { cursor: grab; -webkit-overflow-scrolling: touch; scroll-behavior: smooth; }
.wcai-chips.wcai-dragging { cursor: grabbing; scroll-behavior: auto; user-select: none; }
.wcai-chips.wcai-dragging .wcai-chip { pointer-events: none; }
.wcai-chips.wcai-fade-l { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 36px); mask-image: linear-gradient(to right, transparent 0, #000 36px); }
.wcai-chips.wcai-fade-r { -webkit-mask-image: linear-gradient(to left, transparent 0, #000 36px); mask-image: linear-gradient(to left, transparent 0, #000 36px); }
.wcai-chips.wcai-fade-l.wcai-fade-r { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%); }
.wcai-chip {
	flex: none; font-size: 12px; padding: 6px 13px; border-radius: 999px; cursor: pointer; line-height: 1.5;
	border: 1px solid color-mix(in srgb, var(--wcai-primary) 30%, transparent); background: var(--wcai-primary-soft);
	color: var(--wcai-primary); white-space: nowrap; font-weight: 600; transition: all .2s;
}
.wcai-theme-dark .wcai-chip { color: color-mix(in srgb, var(--wcai-primary) 60%, #fff); }
.wcai-chip:hover { background: var(--wcai-primary); color: #fff; }

.wcai-form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 14px 6px; background: var(--wcai-bg); flex: none; margin: 0; }
.wcai-root .wcai-input {
	flex: 1; resize: none; font-size: 16px; line-height: 1.6; padding: 10px 14px; margin: 0;
	border: 1px solid var(--wcai-border); border-radius: 16px; background: var(--wcai-surface); color: var(--wcai-text);
	max-height: 120px; min-height: 44px !important; height: 44px; width: auto; outline: none; box-shadow: none;
	transition: border-color .2s, background .2s;
}
.wcai-root .wcai-input::placeholder { color: var(--wcai-muted); opacity: 1; }
.wcai-root .wcai-input:focus { border-color: var(--wcai-primary); background: var(--wcai-bg); box-shadow: 0 0 0 3px var(--wcai-primary-soft); }
.wcai-send {
	flex: none; width: 44px; height: 44px; border-radius: 14px; border: 0; padding: 0; cursor: pointer;
	background: linear-gradient(135deg, var(--wcai-primary), var(--wcai-primary-dark)); color: #fff;
	display: flex; align-items: center; justify-content: center; transition: transform .2s, opacity .2s;
}
.wcai-send:hover { transform: scale(1.05); }
.wcai-send:disabled { opacity: .5; cursor: default; transform: none; }
.wcai-send svg { width: 20px; height: 20px; }
.wcai-root[dir="rtl"] .wcai-send svg { transform: scaleX(-1); }
.wcai-powered { text-align: center; font-size: 10.5px; color: var(--wcai-muted); padding: 0 0 8px; background: var(--wcai-bg); flex: none; opacity: .8; }

@media (max-width: 480px) {
	.wcai-root { bottom: max(var(--wcai-offset-y, 16px), var(--wcai-safe-bottom, 0px), calc(env(safe-area-inset-bottom, 0px) + 8px)); }
	.wcai-panel-open .wcai-panel {
		position: fixed; inset: 0; width: 100%; height: 100%; border-radius: 0; bottom: 0;
	}
	.wcai-expanded .wcai-panel { width: 100%; height: 100%; }
	.wcai-panel-open .wcai-launcher, .wcai-live-open .wcai-launcher { display: none; }
	.wcai-picker { width: min(310px, calc(100vw - 32px)); }
	.wcai-msg { max-width: 94%; }
	.wcai-expand-btn { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
	.wcai-root *, .wcai-root *::before { animation: none !important; transition: none !important; }
}
.wcai-powered a { color: inherit; font-weight: 700; text-decoration: none; }
.wcai-powered a:hover { color: var(--wcai-primary); }

.wcai-root.wcai-in-theme .wcai-launcher, .wcai-root.wcai-in-theme .wcai-picker { display: none !important; }
.wcai-float .wcai-float-ic { color: #fff; overflow: hidden; }
.wcai-float .wcai-float-ic svg { width: 24px; height: 24px; }
.wcai-float .wcai-float-ic img { width: 100%; height: 100%; object-fit: cover; }
.wcai-float .bakala-item-title { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.wcai-float-badge { margin-inline-start: auto; margin-inline-end: 16px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #f43f5e; color: #fff; font-size: 12px; font-weight: 800; line-height: 22px; text-align: center; }
.wcai-float-badge[hidden], .wcai-theme-badge[hidden] { display: none !important; }
.wcai-theme-badge { position: absolute; top: -4px; inset-inline-end: -4px; z-index: 3; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #f43f5e; color: #fff; font-size: 11px; font-weight: 800; line-height: 20px; text-align: center; border: 2px solid #fff; box-sizing: content-box; }

.wcai-icon-btn.wcai-human-btn { width: auto; height: 32px; padding: 0 10px 0 12px; gap: 6px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; font-size: 12.5px; font-weight: 700; white-space: nowrap; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.wcai-icon-btn.wcai-human-btn:hover { background: rgba(255, 255, 255, .2); }
.wcai-human-btn svg { width: 16px; height: 16px; }
.wcai-human-dot { width: 7px; height: 7px; border-radius: 50%; background: #94a3b8; flex: none; }
.wcai-human-btn.wcai-on .wcai-human-dot { background: #22c55e; animation: wcai-live 1.6s ease-in-out infinite; }
@keyframes wcai-live { 0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); } 50% { box-shadow: 0 0 0 4px rgba(34, 197, 94, 0); } }
@media (min-width: 481px) { .wcai-root.wcai-in-theme .wcai-panel { bottom: 0; height: min(680px, calc(100vh - 40px)); } }
@media (max-width: 380px) { .wcai-human-label { display: none; } .wcai-icon-btn.wcai-human-btn { padding: 0 9px; } }
