/* HTP AI Widget v1.2.0 - scoped for rollback child theme v1.3.0 */
.htp-aiw,.htp-aiw *,.htp-aiw *:before,.htp-aiw *:after{box-sizing:border-box}.htp-aiw{position:fixed;right:16px;bottom:16px;z-index:9997;width:auto;height:auto;margin:0;padding:0;font-family:var(--htp-font-body,'Lato',Arial,sans-serif);color:#111827}.htp-aiw button,.htp-aiw input{font-family:inherit}.htp-aiw img{display:block;max-width:none}.htp-aiw__launcher{position:relative;display:flex;align-items:center;gap:12px;width:286px;max-width:calc(100vw - 32px);min-height:70px;border:0;border-radius:999px;background:#07111f;color:#fff;padding:10px 18px 10px 12px;box-shadow:0 18px 42px rgba(2,8,23,.24);cursor:pointer;text-align:left;transition:transform .22s ease,opacity .22s ease}.htp-aiw__launcher:hover{transform:translateY(-2px)}.htp-aiw__launcher-icon{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;background:transparent;border:0;border-radius:0}.htp-aiw__launcher-icon img{width:34px;height:34px;object-fit:contain}.htp-aiw__launcher-text{display:grid;gap:3px;min-width:0}.htp-aiw__launcher-text b{font-size:15px;font-weight:700;line-height:1.15;white-space:nowrap;text-transform:uppercase}.htp-aiw__launcher-text small{color:rgba(255,255,255,.76);font-size:12px;font-weight:500;line-height:1.25;text-transform:uppercase}.htp-aiw__launcher i{position:absolute;left:52px;bottom:10px;width:12px;height:12px;border:2px solid #fff;border-radius:999px;background:#18b957}.htp-aiw__panel{position:absolute;right:0;bottom:84px;display:none;grid-template-rows:auto minmax(0,1fr) auto auto;width:440px;height:min(680px,calc(100vh - 120px));max-width:calc(100vw - 32px);border:1px solid rgba(15,23,42,.1);border-radius:18px;background:#fff;box-shadow:0 24px 70px rgba(2,8,23,.26);overflow:hidden}.htp-aiw.is-open .htp-aiw__panel{display:grid}.htp-aiw.is-open .htp-aiw__launcher{opacity:0;pointer-events:none}.htp-aiw__header{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:78px;padding:14px 16px;background:linear-gradient(135deg,var(--htp-red-dark,#b9000b) 0%,var(--htp-red,#e30613) 100%);color:#fff}.htp-aiw__brand{display:flex;align-items:center;gap:12px;min-width:0}.htp-aiw__avatar{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;background:transparent;border:0;border-radius:0}.htp-aiw__avatar img{width:36px;height:36px;object-fit:contain}.htp-aiw__brand strong{display:block;color:#fff;font-size:18px;font-weight:700;line-height:1.15}.htp-aiw__brand small{display:block;color:rgba(255,255,255,.88);font-size:12px;font-weight:500;line-height:1.2;margin-top:2px}.htp-aiw__brand em{display:flex;align-items:center;gap:5px;margin-top:4px;color:#fff;font-style:normal;font-size:12px;font-weight:700;line-height:1}.htp-aiw__brand em i{width:8px;height:8px;border-radius:999px;background:#1fd15a;box-shadow:0 0 0 4px rgba(31,209,90,.24)}.htp-aiw__actions{display:flex;gap:8px}.htp-aiw__actions button{display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:999px;background:rgba(255,255,255,.14);cursor:pointer}.htp-aiw__actions img{width:22px;height:22px;object-fit:contain;filter:brightness(0) invert(1)}.htp-aiw__actions [data-htp-aiw-minimize] span{display:block;width:16px;height:2px;border-radius:2px;background:#fff}.htp-aiw__body{min-height:0;overflow-y:auto;padding:16px;background:linear-gradient(180deg,#f8fafc 0%,#fff 100%);scroll-behavior:smooth}.htp-aiw__status{margin:0 auto 12px;color:#98a2b3;font-size:13px;font-weight:700;text-align:center}.htp-aiw__row{display:flex;gap:10px;margin:10px 0}.htp-aiw__row.is-user{justify-content:flex-end}.htp-aiw__mini-avatar{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border:1px solid #ffd4d7;border-radius:999px;background:#fff5f5;color:var(--htp-red,#e30613);font-size:12px;font-weight:700}.htp-aiw__bubble{max-width:82%;border:1px solid #e7eaf0;border-radius:16px;background:#fff;padding:12px 14px;color:#1f2937;font-size:14px;font-weight:500;line-height:1.45;box-shadow:0 8px 18px rgba(15,23,42,.05)}.htp-aiw__row.is-user .htp-aiw__bubble{border-color:#07111f;background:#07111f;color:#fff}.htp-aiw__product,.htp-aiw__mini-product{display:grid;grid-template-columns:118px minmax(0,1fr);gap:14px;margin:14px 0 12px 42px;border:1px solid #e4e7ec;border-radius:14px;background:#fff;padding:12px;box-shadow:0 14px 30px rgba(15,23,42,.08)}.htp-aiw__product-image,.htp-aiw__mini-product-image{display:block;border-radius:10px;background:#f3f4f6;overflow:hidden}.htp-aiw__product-image img,.htp-aiw__mini-product-image img{width:100%;height:118px;object-fit:cover}.htp-aiw__product-info,.htp-aiw__mini-product-info{min-width:0}.htp-aiw__product-info h3,.htp-aiw__mini-product-info h4{margin:0 0 8px;color:#111827;font-family:var(--htp-font-body,'Lato',Arial,sans-serif);font-size:15px;font-weight:700;line-height:1.25}.htp-aiw__product-info p,.htp-aiw__mini-product-info p{margin:0 0 10px;color:#344054;font-size:12px;font-weight:500;line-height:1.45;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.htp-aiw__product-actions,.htp-aiw__mini-product-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.htp-aiw__product-actions a,.htp-aiw__product-actions button,.htp-aiw__mini-product-actions a,.htp-aiw__mini-product-actions button{display:flex;align-items:center;justify-content:center;min-height:34px;border-radius:var(--htp-radius,5px);font-family:var(--htp-font-heading,'Anton',Arial,sans-serif);font-size:12px;font-weight:400;letter-spacing:.035em;line-height:1;text-transform:uppercase;text-decoration:none;cursor:pointer}.htp-aiw__product-actions a,.htp-aiw__mini-product-actions a{border:1px solid #d0d5dd;background:#fff;color:#111827}.htp-aiw__product-actions button,.htp-aiw__mini-product-actions button{border:1px solid var(--htp-red,#e30613);background:var(--htp-red,#e30613);color:#fff}.htp-aiw__product-list{display:grid;gap:10px}.htp-aiw__features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0 10px 42px}.htp-aiw__features button{display:grid;grid-template-columns:24px minmax(0,1fr);gap:8px;align-items:center;min-height:50px;border:1px solid #edf0f4;border-radius:10px;background:#07111f;color:#fff;padding:8px;cursor:pointer;text-align:left}.htp-aiw__features img{width:22px;height:22px;object-fit:contain;filter:brightness(0) invert(1);background:transparent;border:0;border-radius:0}.htp-aiw__features span{color:#fff;font-size:10px;font-weight:700;line-height:1.25;text-transform:uppercase}.htp-aiw__chips{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0 42px}.htp-aiw__chips button{border:1px solid #e4e7ec;border-radius:999px;background:#fff;color:#344054;padding:8px 12px;font-size:12px;font-weight:700;line-height:1;cursor:pointer;text-transform:uppercase}.htp-aiw__input{display:grid;grid-template-columns:minmax(0,1fr) 42px 42px;gap:8px;align-items:center;padding:12px;border-top:1px solid #edf0f4;background:#fff}.htp-aiw__input input{width:100%;height:44px;border:1px solid #e4e7ec;border-radius:999px;background:#f8fafc;padding:0 16px;color:#111827;font-size:14px;font-weight:500;outline:none}.htp-aiw__input input:focus{border-color:#98a2b3;background:#fff;box-shadow:0 0 0 3px rgba(152,162,179,.14)}.htp-aiw__attach,.htp-aiw__send{display:grid;place-items:center;width:42px;height:42px;border:0;border-radius:999px;cursor:pointer}.htp-aiw__attach{background:#343741}.htp-aiw__send{background:var(--htp-red,#e30613)}.htp-aiw__attach img,.htp-aiw__send img{width:22px;height:22px;object-fit:contain;filter:brightness(0) invert(1);background:transparent;border:0;border-radius:0}.htp-aiw__contact{display:grid;grid-template-columns:1.1fr .9fr .8fr;border-top:1px solid rgba(255,255,255,.1);background:#07111f}.htp-aiw__contact a{display:grid;grid-template-columns:24px minmax(0,1fr);gap:8px;align-items:center;min-width:0;padding:10px 12px;border-right:1px solid rgba(255,255,255,.1);color:#fff;text-decoration:none}.htp-aiw__contact a:last-child{border-right:0}.htp-aiw__contact img{width:20px;height:20px;object-fit:contain;filter:brightness(0) invert(1);background:transparent;border:0;border-radius:0}.htp-aiw__contact b,.htp-aiw__contact small{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.2}.htp-aiw__contact b{color:#fff;font-size:10px;font-weight:700;text-transform:uppercase}.htp-aiw__contact small{color:rgba(255,255,255,.82);font-size:10px;font-weight:500}.htp-aiw__typing{display:inline-flex;gap:4px;align-items:center}.htp-aiw__typing i{width:6px;height:6px;border-radius:999px;background:#98a2b3;animation:htpAiwTyping 1s infinite ease-in-out}.htp-aiw__typing i:nth-child(2){animation-delay:.12s}.htp-aiw__typing i:nth-child(3){animation-delay:.24s}@keyframes htpAiwTyping{0%,80%,100%{transform:translateY(0);opacity:.45}40%{transform:translateY(-4px);opacity:1}}
@media (max-width:767px){.htp-aiw{right:8px;bottom:8px}.htp-aiw__launcher{width:60px;max-width:60px;height:60px;min-height:60px;padding:5px}.htp-aiw__launcher-icon{width:50px;height:50px;flex-basis:50px}.htp-aiw__launcher-text{position:absolute;right:72px;top:8px;width:174px;border-radius:14px;background:#07111f;padding:10px 12px;box-shadow:0 12px 28px rgba(2,8,23,.2)}.htp-aiw__launcher i{left:48px;bottom:7px}.htp-aiw__panel{position:fixed;right:0;bottom:0;left:auto;top:auto;width:min(430px,100vw);max-width:100vw;height:min(760px,100svh);border-radius:18px 0 0 0}.htp-aiw__header{min-height:74px;padding:12px 14px}.htp-aiw__body{padding:14px 12px}.htp-aiw__bubble{max-width:86%;font-size:13px}.htp-aiw__product,.htp-aiw__mini-product{grid-template-columns:96px minmax(0,1fr);gap:10px;margin-left:0;padding:10px}.htp-aiw__product-image img,.htp-aiw__mini-product-image img{height:96px}.htp-aiw__product-actions,.htp-aiw__mini-product-actions{grid-template-columns:1fr}.htp-aiw__features{grid-template-columns:1fr;margin-left:0}.htp-aiw__chips{margin-left:0}.htp-aiw__input{grid-template-columns:minmax(0,1fr) 42px 42px;position:sticky;bottom:0;z-index:2;padding:10px}.htp-aiw__contact{grid-template-columns:1fr 1fr 1fr}.htp-aiw__contact a{grid-template-columns:1fr;justify-items:center;gap:4px;padding:9px 6px;text-align:center}.htp-aiw__contact small{max-width:88px}}

/* =========================================================
   v1.3.0 UX FIX: compact desktop panel + real theme icons
   - panel no longer takes half screen
   - lower bottom gap
   - icons are raw SVG/images from child-theme library, no extra background/border
========================================================= */
.htp-aiw{
	right:14px;
	bottom:10px;
	z-index:9997;
}

.htp-aiw__launcher{
	width:260px;
	min-height:62px;
	padding:8px 16px 8px 10px;
}

.htp-aiw__launcher-icon,
.htp-aiw__avatar{
	background:transparent;
	border:0;
	border-radius:0;
	box-shadow:none;
}

.htp-aiw__launcher-icon{
	flex:0 0 42px;
	width:42px;
	height:42px;
}

.htp-aiw__launcher-icon img,
.htp-aiw__avatar img{
	display:block;
	object-fit:contain;
	background:transparent;
	border:0;
	border-radius:0;
	box-shadow:none;
	filter:none;
}

.htp-aiw__launcher-icon img{
	width:32px;
	height:32px;
}

.htp-aiw__avatar{
	flex:0 0 38px;
	width:38px;
	height:38px;
}

.htp-aiw__avatar img{
	width:30px;
	height:30px;
}

.htp-aiw__panel{
	right:0;
	bottom:72px;
	width:360px;
	height:min(600px, calc(100vh - 92px));
	max-width:calc(100vw - 28px);
	border-radius:16px;
}

.htp-aiw__header{
	min-height:64px;
	padding:10px 12px;
}

.htp-aiw__brand{
	gap:9px;
}

.htp-aiw__brand strong{
	font-size:16px;
	line-height:1.12;
}

.htp-aiw__brand small{
	font-size:11px;
}

.htp-aiw__brand em{
	font-size:11px;
	margin-top:3px;
}

.htp-aiw__actions{
	gap:6px;
}

.htp-aiw__actions button{
	width:34px;
	height:34px;
	border-radius:0;
	background:transparent;
	border:0;
	box-shadow:none;
}

.htp-aiw__actions button:hover{
	background:rgba(255,255,255,.12);
	border-radius:8px;
}

.htp-aiw__actions img{
	width:20px;
	height:20px;
	filter:brightness(0) invert(1);
	background:transparent;
	border:0;
	border-radius:0;
	box-shadow:none;
}

.htp-aiw__body{
	padding:12px;
}

.htp-aiw__status{
	margin-bottom:10px;
	font-size:12px;
}

.htp-aiw__bubble{
	font-size:13px;
	padding:10px 12px;
	border-radius:14px;
}

.htp-aiw__product,
.htp-aiw__mini-product{
	grid-template-columns:94px minmax(0,1fr);
	gap:10px;
	margin:12px 0 10px 34px;
	padding:10px;
	border-radius:13px;
}

.htp-aiw__product-image img,
.htp-aiw__mini-product-image img{
	height:94px;
}

.htp-aiw__product-info h3,
.htp-aiw__mini-product-info h4{
	font-size:13px;
	line-height:1.22;
	margin-bottom:6px;
}

.htp-aiw__product-info p,
.htp-aiw__mini-product-info p{
	font-size:11px;
	line-height:1.38;
	margin-bottom:8px;
}

.htp-aiw__product-actions a,
.htp-aiw__product-actions button,
.htp-aiw__mini-product-actions a,
.htp-aiw__mini-product-actions button{
	min-height:30px;
	font-size:10px;
	padding:5px 7px 3px;
}

.htp-aiw__features{
	gap:7px;
	margin:10px 0 8px 34px;
}

.htp-aiw__features button{
	min-height:44px;
	grid-template-columns:18px minmax(0,1fr);
	gap:6px;
	padding:7px;
	border-radius:8px;
}

.htp-aiw__features img{
	width:18px;
	height:18px;
	background:transparent;
	border:0;
	border-radius:0;
	box-shadow:none;
	filter:brightness(0) invert(1);
}

.htp-aiw__features span{
	font-size:9px;
	line-height:1.18;
}

.htp-aiw__chips{
	gap:7px;
	margin:10px 0 0 34px;
}

.htp-aiw__chips button{
	padding:7px 10px;
	font-size:11px;
}

.htp-aiw__input{
	grid-template-columns:minmax(0,1fr) 38px 38px;
	gap:7px;
	padding:9px 10px;
}

.htp-aiw__input input{
	height:40px;
	font-size:13px;
}

.htp-aiw__attach,
.htp-aiw__send{
	width:38px;
	height:38px;
	border-radius:0;
	background:transparent;
	border:0;
	box-shadow:none;
}

.htp-aiw__send{
	background:#e30613;
	border-radius:999px;
}

.htp-aiw__attach{
	background:#343741;
	border-radius:999px;
}

.htp-aiw__attach img,
.htp-aiw__send img{
	width:20px;
	height:20px;
	background:transparent;
	border:0;
	border-radius:0;
	box-shadow:none;
	filter:brightness(0) invert(1);
}

.htp-aiw__contact a{
	padding:8px 10px;
	grid-template-columns:20px minmax(0,1fr);
}

.htp-aiw__contact img{
	width:18px;
	height:18px;
	background:transparent;
	border:0;
	border-radius:0;
	box-shadow:none;
	filter:brightness(0) invert(1);
}

.htp-aiw__mini-avatar{
	background:transparent;
	border:0;
	border-radius:0;
	box-shadow:none;
	width:auto;
	flex-basis:auto;
	color:#ed1c24;
	font-weight:700;
}

.htp-aiw img{
	background:transparent;
	border:0;
	border-radius:0;
	box-shadow:none;
}

/* Remove any accidental circular icon shell from previous versions */
.htp-aiw__launcher-icon:before,
.htp-aiw__avatar:before,
.htp-aiw__features button:before,
.htp-aiw__contact a:before{
	content:none;
	display:none;
}

@media (min-width:1280px){
	.htp-aiw__panel{
		width:380px;
		height:min(620px, calc(100vh - 92px));
	}
}

@media (max-width:767px){
	.htp-aiw{
		right:0;
		bottom:0;
	}

	.htp-aiw__launcher{
		right:10px;
		bottom:10px;
		width:56px;
		max-width:56px;
		height:56px;
		min-height:56px;
		padding:4px;
	}

	.htp-aiw__launcher-icon{
		width:48px;
		height:48px;
		flex-basis:48px;
	}

	.htp-aiw__launcher-icon img{
		width:34px;
		height:34px;
	}

	.htp-aiw__launcher-text{
		right:66px;
		top:7px;
		width:168px;
		padding:9px 11px;
	}

	.htp-aiw__panel{
		right:0;
		bottom:0;
		width:min(390px, 100vw);
		max-width:100vw;
		height:min(690px, 92svh);
		border-radius:16px 0 0 0;
	}

	.htp-aiw__header{
		min-height:66px;
		padding:9px 10px;
	}

	.htp-aiw__body{
		padding:11px 10px;
	}

	.htp-aiw__product,
	.htp-aiw__mini-product{
		grid-template-columns:92px minmax(0,1fr);
		margin-left:0;
		padding:9px;
	}

	.htp-aiw__product-image img,
	.htp-aiw__mini-product-image img{
		height:92px;
	}

	.htp-aiw__features{
		grid-template-columns:repeat(3,minmax(0,1fr));
		margin-left:0;
	}

	.htp-aiw__chips{
		margin-left:0;
	}

	.htp-aiw__input{
		grid-template-columns:minmax(0,1fr) 40px 40px;
		padding:9px 9px;
	}

	.htp-aiw__input input{
		height:42px;
	}

	.htp-aiw__attach,
	.htp-aiw__send{
		width:40px;
		height:40px;
	}

	.htp-aiw__contact{
		grid-template-columns:1fr 1fr 1fr;
	}

	.htp-aiw__contact a{
		padding:8px 7px;
		gap:5px;
	}

	.htp-aiw__contact b{
		font-size:9px;
	}

	.htp-aiw__contact small{
		font-size:9px;
	}
}


/* v1.3.1 ICON SOURCE FIX
   Use raw child-theme/plugin-mirror SVG files. Do not draw synthetic icon shells. */
.htp-aiw img[data-htp-aiw-icon]{
	background:transparent;
	border:0;
	border-radius:0;
	box-shadow:none;
	object-fit:contain;
}

.htp-aiw__features img[data-htp-aiw-icon]{
	filter:none;
}

.htp-aiw__contact img[data-htp-aiw-icon],
.htp-aiw__actions img[data-htp-aiw-icon],
.htp-aiw__attach img[data-htp-aiw-icon],
.htp-aiw__send img[data-htp-aiw-icon]{
	filter:brightness(0) invert(1);
}

.htp-aiw__launcher-icon,
.htp-aiw__avatar{
	background:transparent;
	border:0;
	border-radius:0;
	box-shadow:none;
}

.htp-aiw__launcher-icon img[data-htp-aiw-icon],
.htp-aiw__avatar img[data-htp-aiw-icon]{
	filter:none;
}


/* =========================================================
   v1.3.2 UPLOADED ICON PACK
   Use original colored PNG/SVG icons from plugin/assets/icons.
   No background, no circular shell, no forced white filter.
========================================================= */
.htp-aiw img[data-htp-aiw-icon],
.htp-aiw img.htp-aiw__icon,
.htp-aiw__launcher-icon img,
.htp-aiw__avatar img,
.htp-aiw__actions img,
.htp-aiw__features img,
.htp-aiw__attach img,
.htp-aiw__send img,
.htp-aiw__contact img{
	display:block;
	background:transparent;
	border:0;
	border-radius:0;
	box-shadow:none;
	outline:0;
	object-fit:contain;
	filter:none;
	mix-blend-mode:normal;
}

.htp-aiw__launcher-icon,
.htp-aiw__avatar,
.htp-aiw__mini-avatar,
.htp-aiw__features button,
.htp-aiw__contact a,
.htp-aiw__actions button,
.htp-aiw__attach,
.htp-aiw__send{
	box-shadow:none;
}

.htp-aiw__launcher-icon,
.htp-aiw__avatar{
	background:transparent;
	border:0;
	border-radius:0;
}

.htp-aiw__actions button{
	background:transparent;
	border:0;
	border-radius:8px;
}

.htp-aiw__attach{
	background:transparent;
	border:0;
	border-radius:0;
}

.htp-aiw__send{
	background:#ed1c24;
	border-radius:999px;
}

.htp-aiw__features button{
	background:#07111f;
	border-radius:9px;
}

.htp-aiw__features img{
	width:22px;
	height:22px;
}

.htp-aiw__contact img{
	width:21px;
	height:21px;
}

.htp-aiw__attach img,
.htp-aiw__send img,
.htp-aiw__actions img{
	width:22px;
	height:22px;
}

/* Keep launcher AI icon clear and larger; source is plugin/assets/icons/ai-bot.png */
.htp-aiw__launcher-icon img{
	width:42px;
	height:42px;
}

.htp-aiw__avatar img{
	width:34px;
	height:34px;
}

/* Remove any pseudo icon shell from older cache/rules */
.htp-aiw__launcher-icon::before,
.htp-aiw__launcher-icon::after,
.htp-aiw__avatar::before,
.htp-aiw__avatar::after,
.htp-aiw__mini-avatar::before,
.htp-aiw__mini-avatar::after,
.htp-aiw__features button::before,
.htp-aiw__features button::after,
.htp-aiw__contact a::before,
.htp-aiw__contact a::after,
.htp-aiw__attach::before,
.htp-aiw__attach::after,
.htp-aiw__send::before,
.htp-aiw__send::after{
	content:none;
	display:none;
}

/* Navigation/attach button: transparent, no border, no fake circle */
.htp-aiw__attach{
	width:42px;
	height:42px;
	display:grid;
	place-items:center;
}

@media (max-width:767px){
	.htp-aiw__launcher-icon img{
		width:40px;
		height:40px;
	}
	.htp-aiw__features img{
		width:20px;
		height:20px;
	}
}


/* =========================================================
   v1.4.0 FINAL ICON + RESULT LOGIC UI
   Icons come from child theme only; no icon background/border/radius.
========================================================= */
.htp-aiw,
.htp-aiw * {
	-webkit-tap-highlight-color: transparent;
}

.htp-aiw img[data-htp-aiw-icon],
.htp-aiw__launcher-icon img,
.htp-aiw__avatar img,
.htp-aiw__actions img,
.htp-aiw__features img,
.htp-aiw__attach img,
.htp-aiw__send img,
.htp-aiw__contact img {
	display: block;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	outline: 0;
	object-fit: contain;
	filter: none;
}

.htp-aiw__launcher-icon,
.htp-aiw__avatar,
.htp-aiw__mini-avatar {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.htp-aiw__actions button {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.htp-aiw__actions button:hover {
	background: transparent;
	border: 0;
}

.htp-aiw__features button {
	border: 0;
}

.htp-aiw__features img {
	width: 20px;
	height: 20px;
	filter: none;
}

.htp-aiw__contact img,
.htp-aiw__send img,
.htp-aiw__attach img,
.htp-aiw__actions img {
	filter: none;
}

.htp-aiw__attach {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.htp-aiw__send {
	background: #ed1c24;
	border: 0;
	border-radius: 999px;
	box-shadow: none;
}

.htp-aiw__attach img,
.htp-aiw__send img {
	width: 22px;
	height: 22px;
}

/* remove all old pseudo icon shells */
.htp-aiw__launcher-icon::before,
.htp-aiw__launcher-icon::after,
.htp-aiw__avatar::before,
.htp-aiw__avatar::after,
.htp-aiw__mini-avatar::before,
.htp-aiw__mini-avatar::after,
.htp-aiw__features button::before,
.htp-aiw__features button::after,
.htp-aiw__contact a::before,
.htp-aiw__contact a::after,
.htp-aiw__attach::before,
.htp-aiw__attach::after,
.htp-aiw__send::before,
.htp-aiw__send::after {
	content: none;
	display: none;
}

.htp-aiw__panel {
	width: 380px;
	height: min(620px, calc(100vh - 88px));
	bottom: 68px;
}

.htp-aiw__body {
	padding-bottom: 12px;
}

/* Article/product cards inside conversation */
.htp-aiw__product-list {
	display: grid;
	gap: 12px;
	margin: 10px 0 8px 34px;
}

.htp-aiw__result-card {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	gap: 12px;
	border: 1px solid #e4e7ec;
	border-radius: 14px;
	background: #fff;
	padding: 10px;
	box-shadow: 0 12px 26px rgba(15, 23, 42, .07);
}

.htp-aiw__result-thumb {
	display: block;
	border-radius: 10px;
	background: #f3f4f6;
	overflow: hidden;
	min-height: 112px;
}

.htp-aiw__result-thumb img {
	width: 100%;
	height: 112px;
	object-fit: cover;
	border-radius: 0;
}

.htp-aiw__result-info {
	min-width: 0;
}

.htp-aiw__result-info h4 {
	margin: 0 0 7px;
	color: #111827;
	font-family: var(--htp-font-body, 'Lato', Arial, sans-serif);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.25;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.htp-aiw__result-info p {
	margin: 0 0 8px;
	color: #344054;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.42;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.htp-aiw__result-info time {
	display: block;
	margin: 0 0 8px;
	color: #667085;
	font-size: 11px;
	font-weight: 700;
}

.htp-aiw__result-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.htp-aiw__result-actions.is-single {
	grid-template-columns: 1fr;
}

.htp-aiw__result-actions a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 32px;
	border-radius: 5px;
	font-family: var(--htp-font-heading, 'Anton', Arial, sans-serif);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: .035em;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
}

.htp-aiw__result-actions a:first-child {
	border: 1px solid #d0d5dd;
	background: #fff;
	color: #111827;
}

.htp-aiw__result-actions a:last-child {
	border: 1px solid #ed1c24;
	background: #ed1c24;
	color: #fff;
}

.htp-aiw__result-card--post {
	grid-template-columns: 124px minmax(0, 1fr);
}

.htp-aiw__result-card--post .htp-aiw__result-thumb,
.htp-aiw__result-card--post .htp-aiw__result-thumb img {
	min-height: 124px;
	height: 124px;
}

@media (max-width: 767px) {
	.htp-aiw__panel {
		width: min(390px, 100vw);
		height: min(690px, 92svh);
	}
	.htp-aiw__product-list {
		margin-left: 0;
	}
	.htp-aiw__result-card,
	.htp-aiw__result-card--post {
		grid-template-columns: 104px minmax(0, 1fr);
	}
	.htp-aiw__result-thumb,
	.htp-aiw__result-thumb img,
	.htp-aiw__result-card--post .htp-aiw__result-thumb,
	.htp-aiw__result-card--post .htp-aiw__result-thumb img {
		min-height: 104px;
		height: 104px;
	}
	.htp-aiw__result-info h4 {
		font-size: 13px;
	}
	.htp-aiw__result-info p {
		font-size: 11px;
		-webkit-line-clamp: 2;
	}
	.htp-aiw__result-actions {
		grid-template-columns: 1fr;
	}
}


/* v1.4.1 CLICK FIX
   Launcher must always be clickable and must not be stolen by quote-popup global click handlers. */
.htp-aiw{
	pointer-events:none;
	z-index:99999;
}
.htp-aiw__launcher,
.htp-aiw__panel{
	pointer-events:auto;
}
.htp-aiw__launcher{
	position:relative;
	z-index:2;
	cursor:pointer;
	user-select:none;
}
.htp-aiw__launcher *{
	pointer-events:none;
}
.htp-aiw.is-open .htp-aiw__launcher{
	pointer-events:none;
}


/* =========================================================
   v1.5.0 BLACK HEADER + CHATLOG UX
========================================================= */
.htp-aiw__header{
	background:#07111f !important;
	color:#fff;
}

.htp-aiw__brand{
	min-width:0;
}

.htp-aiw__brand .htp-aiw__avatar,
.htp-aiw__launcher-icon,
.htp-aiw__mini-avatar{
	background:transparent !important;
	border:0 !important;
	border-radius:0 !important;
	box-shadow:none !important;
}

.htp-aiw__brand .htp-aiw__avatar img,
.htp-aiw__launcher-icon img,
.htp-aiw__mini-avatar img{
	display:block;
	width:34px;
	height:34px;
	object-fit:contain;
	background:transparent !important;
	border:0 !important;
	border-radius:0 !important;
	box-shadow:none !important;
	filter:none !important;
	opacity:1 !important;
}

.htp-aiw__mini-avatar{
	width:34px;
	min-width:34px;
	display:flex;
	align-items:flex-start;
	justify-content:center;
	color:transparent;
	font-size:0;
}

.htp-aiw__mini-avatar img{
	width:28px;
	height:28px;
}

.htp-aiw__actions button,
.htp-aiw__actions button:hover{
	background:transparent !important;
	border:0 !important;
	border-radius:0 !important;
	box-shadow:none !important;
	opacity:1 !important;
}

.htp-aiw__actions img{
	width:22px;
	height:22px;
	filter:brightness(0) invert(1) !important;
	opacity:1 !important;
	background:transparent !important;
	border:0 !important;
	border-radius:0 !important;
}

.htp-aiw__actions [data-htp-aiw-minimize] span{
	background:#fff !important;
	opacity:1 !important;
}

.htp-aiw__send,
.htp-aiw__send:hover,
.htp-aiw__attach,
.htp-aiw__attach:hover{
	background:transparent !important;
	border:0 !important;
	border-radius:0 !important;
	box-shadow:none !important;
	outline:0 !important;
}

.htp-aiw__send img,
.htp-aiw__attach img{
	width:28px;
	height:28px;
	object-fit:contain;
	filter:none !important;
	background:transparent !important;
	border:0 !important;
	border-radius:0 !important;
	box-shadow:none !important;
}

.htp-aiw__input{
	grid-template-columns:minmax(0,1fr) 38px 38px;
}

.htp-aiw__features img,
.htp-aiw__contact img{
	background:transparent !important;
	border:0 !important;
	border-radius:0 !important;
	box-shadow:none !important;
	filter:none !important;
	opacity:1 !important;
}

/* Do not let old rules draw circular shells around any icon */
.htp-aiw img::before,
.htp-aiw img::after,
.htp-aiw__send::before,
.htp-aiw__send::after,
.htp-aiw__attach::before,
.htp-aiw__attach::after{
	content:none !important;
	display:none !important;
}

@media (max-width:767px){
	.htp-aiw__header{
		background:#07111f !important;
	}
	.htp-aiw__send img,
	.htp-aiw__attach img{
		width:26px;
		height:26px;
	}
}


/* =========================================================
   v1.6.0 FIX CLICK + CHILD ICONS + SMART RESULT CARDS
========================================================= */
.htp-aiw{
	pointer-events:none;
	z-index:999999;
}
.htp-aiw__launcher,
.htp-aiw__panel{
	pointer-events:auto;
}
.htp-aiw__panel *{
	pointer-events:auto;
}
.htp-aiw__launcher{
	cursor:pointer;
}
.htp-aiw__launcher *{
	pointer-events:none;
}

/* Header black, no fake icons */
.htp-aiw__header{
	background:#07111f !important;
	color:#fff !important;
}
.htp-aiw__brand .htp-aiw__avatar,
.htp-aiw__launcher-icon,
.htp-aiw__mini-avatar{
	background:transparent !important;
	border:0 !important;
	border-radius:0 !important;
	box-shadow:none !important;
}
.htp-aiw__brand .htp-aiw__avatar img,
.htp-aiw__launcher-icon img,
.htp-aiw__mini-avatar img{
	display:block;
	object-fit:contain;
	background:transparent !important;
	border:0 !important;
	border-radius:0 !important;
	box-shadow:none !important;
	opacity:1 !important;
}
.htp-aiw__mini-avatar{
	width:34px;
	min-width:34px;
	display:flex;
	align-items:flex-start;
	justify-content:center;
	color:transparent !important;
	font-size:0 !important;
}
.htp-aiw__mini-avatar img{
	width:28px;
	height:28px;
}

/* Use actual close.svg / send.svg from child theme. Remove all fake circles/backgrounds. */
.htp-aiw__actions button,
.htp-aiw__actions button:hover,
.htp-aiw__send,
.htp-aiw__send:hover,
.htp-aiw__attach,
.htp-aiw__attach:hover{
	background:transparent !important;
	border:0 !important;
	border-radius:0 !important;
	box-shadow:none !important;
	outline:0 !important;
	cursor:pointer;
}
.htp-aiw__actions img,
.htp-aiw__send img,
.htp-aiw__attach img{
	display:block;
	background:transparent !important;
	border:0 !important;
	border-radius:0 !important;
	box-shadow:none !important;
	opacity:1 !important;
}
.htp-aiw__actions img{
	width:28px;
	height:28px;
	filter:none !important;
}
.htp-aiw__actions [data-htp-aiw-minimize] span{
	background:#fff !important;
	opacity:1 !important;
}
.htp-aiw__send img,
.htp-aiw__attach img{
	width:30px;
	height:30px;
	filter:none !important;
}

/* White icon mode for dark boxes/footer only */
.htp-aiw__features img,
.htp-aiw__contact img{
	width:22px;
	height:22px;
	filter:brightness(0) invert(1) !important;
	background:transparent !important;
	border:0 !important;
	border-radius:0 !important;
	box-shadow:none !important;
	opacity:1 !important;
}
.htp-aiw__features button{
	cursor:pointer;
}
.htp-aiw__features button *{
	pointer-events:none;
}
.htp-aiw__chips button{
	cursor:pointer;
}
.htp-aiw__product,
.htp-aiw__result-card{
	cursor:pointer;
}
.htp-aiw__product a,
.htp-aiw__result-card a,
.htp-aiw__product button,
.htp-aiw__result-card button{
	cursor:pointer;
	position:relative;
	z-index:3;
}

/* Result cards show both products and posts */
.htp-aiw__result-title{
	margin:12px 0 6px 42px;
	font-family:var(--htp-font-heading,'Anton',Arial,sans-serif);
	font-size:14px;
	font-weight:400;
	line-height:1;
	letter-spacing:.04em;
	text-transform:uppercase;
	color:#07111f;
}
.htp-aiw__result-info h4 a{
	color:inherit;
	text-decoration:none;
}
.htp-aiw__result-actions button{
	display:flex;
	align-items:center;
	justify-content:center;
	min-height:32px;
	border-radius:5px;
	font-family:var(--htp-font-heading,'Anton',Arial,sans-serif);
	font-size:11px;
	font-weight:400;
	letter-spacing:.035em;
	line-height:1;
	text-transform:uppercase;
	text-decoration:none;
	border:1px solid #ed1c24;
	background:#ed1c24;
	color:#fff;
}
.htp-aiw__result-actions a,
.htp-aiw__result-actions button{
	pointer-events:auto !important;
}

/* Remove old pseudo shells completely */
.htp-aiw__launcher-icon::before,
.htp-aiw__launcher-icon::after,
.htp-aiw__avatar::before,
.htp-aiw__avatar::after,
.htp-aiw__mini-avatar::before,
.htp-aiw__mini-avatar::after,
.htp-aiw__features button::before,
.htp-aiw__features button::after,
.htp-aiw__contact a::before,
.htp-aiw__contact a::after,
.htp-aiw__attach::before,
.htp-aiw__attach::after,
.htp-aiw__send::before,
.htp-aiw__send::after{
	content:none !important;
	display:none !important;
}

@media (max-width:767px){
	.htp-aiw__result-title{
		margin-left:0;
	}
	.htp-aiw__send img,
	.htp-aiw__attach img{
		width:28px;
		height:28px;
	}
}


/* =========================================================
   v1.9.0 HUMAN EXPERT AVATAR
========================================================= */
.htp-aiw.is-human-mode .htp-aiw__header{
	background:#07111f !important;
}
.htp-aiw [data-htp-aiw-expert-avatar]{
	display:block;
	width:100%;
	height:100%;
	object-fit:cover;
	border-radius:50% !important;
	background:#fff !important;
	border:2px solid rgba(255,255,255,.95) !important;
	box-shadow:0 8px 18px rgba(0,0,0,.18) !important;
}
.htp-aiw__mini-avatar [data-htp-aiw-expert-avatar]{
	width:30px;
	height:30px;
	border:1px solid #dfe6ef !important;
	box-shadow:none !important;
}
.htp-aiw__row.is-agent .htp-aiw__bubble{
	background:#ecfff2;
	border-color:#bee8c8;
}
.htp-aiw__row.is-agent .htp-aiw__mini-avatar{
	color:transparent !important;
	font-size:0 !important;
}


/* =========================================================
   v1.9.4 UI FIX - input action padding + header buttons align
========================================================= */

/* Chừa khoảng bên phải để icon send không sát mép widget */
.htp-aiw .htp-aiw__composer,
.htp-aiw__composer{
	padding-right: 18px !important;
}

/* Giữ cụm nút menu/send có khoảng cách mép phải an toàn */
.htp-aiw .htp-aiw__composer-actions,
.htp-aiw__composer-actions{
	padding-right: 8px !important;
	margin-right: 0 !important;
}

/* Nút gửi không dính sát lề phải */
.htp-aiw .htp-aiw__send,
.htp-aiw__send{
	margin-right: 2px !important;
	flex: 0 0 auto !important;
}

/* Đồng bộ hàng nút thu nhỏ và đóng ở header */
.htp-aiw .htp-aiw__header,
.htp-aiw__header{
	display: flex !important;
	align-items: center !important;
}

/* Đẩy cụm nút về cùng một hàng và canh giữa theo chiều dọc */
.htp-aiw .htp-aiw__actions,
.htp-aiw__actions,
.htp-aiw .htp-aiw__header-actions,
.htp-aiw__header-actions{
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 14px !important;
	margin-left: auto !important;
	align-self: center !important;
}

/* Reset style 2 nút header để dấu "-" và "x" nằm chung hàng */
.htp-aiw .htp-aiw__minimize,
.htp-aiw .htp-aiw__close,
.htp-aiw__minimize,
.htp-aiw__close{
	position: relative !important;
	top: auto !important;
	right: auto !important;
	bottom: auto !important;
	left: auto !important;
	transform: none !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 52px !important;
	height: 52px !important;
	min-width: 52px !important;
	min-height: 52px !important;
	padding: 0 !important;
	margin: 0 !important;
	line-height: 1 !important;
	vertical-align: middle !important;
}

/* Fix riêng icon đóng nếu đang dùng SVG/img */
.htp-aiw .htp-aiw__close img,
.htp-aiw__close img{
	display: block !important;
	width: 28px !important;
	height: 28px !important;
	object-fit: contain !important;
	margin: 0 !important;
}

/* Mobile: tăng padding phải rõ hơn vì thanh cuộn/browser dễ sát mép */
@media (max-width: 767px){
	.htp-aiw .htp-aiw__composer,
	.htp-aiw__composer{
		padding-left: 14px !important;
		padding-right: 22px !important;
		gap: 10px !important;
	}

	.htp-aiw .htp-aiw__composer-actions,
	.htp-aiw__composer-actions{
		padding-right: 6px !important;
		gap: 10px !important;
	}

	.htp-aiw .htp-aiw__send,
	.htp-aiw__send{
		margin-right: 4px !important;
	}

	.htp-aiw .htp-aiw__actions,
	.htp-aiw__actions,
	.htp-aiw .htp-aiw__header-actions,
	.htp-aiw__header-actions{
		gap: 12px !important;
		align-items: center !important;
	}

	.htp-aiw .htp-aiw__minimize,
	.htp-aiw .htp-aiw__close,
	.htp-aiw__minimize,
	.htp-aiw__close{
		width: 48px !important;
		height: 48px !important;
		min-width: 48px !important;
		min-height: 48px !important;
	}
}


/* v1.9.7 - chuẩn hóa kích thước icon header */
.htp-ai-widget .htp-ai-head {
	align-items: center;
}

.htp-ai-widget .htp-ai-head .htp-ai-avatar,
.htp-ai-widget .htp-ai-head .htp-ai-bot-icon,
.htp-ai-widget .htp-ai-head .htp-ai-logo,
.htp-ai-widget .htp-ai-head .htp-ai-agent-avatar {
	width: 58px;
	height: 58px;
	min-width: 58px;
	flex: 0 0 58px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.htp-ai-widget .htp-ai-head .htp-ai-avatar img,
.htp-ai-widget .htp-ai-head .htp-ai-bot-icon img,
.htp-ai-widget .htp-ai-head .htp-ai-logo img,
.htp-ai-widget .htp-ai-head .htp-ai-agent-avatar img {
	width: 52px;
	height: 52px;
	max-width: 52px;
	max-height: 52px;
	object-fit: contain;
	display: block;
}

.htp-ai-widget .htp-ai-head .htp-ai-actions,
.htp-ai-widget .htp-ai-head .htp-ai-head-actions {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 14px;
	margin-left: auto;
}

.htp-ai-widget .htp-ai-head .htp-ai-minimize,
.htp-ai-widget .htp-ai-head .htp-ai-close,
.htp-ai-widget .htp-ai-head button[data-htp-ai-minimize],
.htp-ai-widget .htp-ai-head button[data-htp-ai-close] {
	width: 42px;
	height: 42px;
	min-width: 42px;
	border: 0;
	background: transparent;
	border-radius: 0;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	box-shadow: none;
}

.htp-ai-widget .htp-ai-head .htp-ai-minimize img,
.htp-ai-widget .htp-ai-head .htp-ai-close img,
.htp-ai-widget .htp-ai-head button[data-htp-ai-minimize] img,
.htp-ai-widget .htp-ai-head button[data-htp-ai-close] img {
	width: 28px;
	height: 28px;
	max-width: 28px;
	max-height: 28px;
	object-fit: contain;
	display: block;
}

.htp-ai-widget .htp-ai-head .htp-ai-minimize svg,
.htp-ai-widget .htp-ai-head .htp-ai-close svg,
.htp-ai-widget .htp-ai-head button[data-htp-ai-minimize] svg,
.htp-ai-widget .htp-ai-head button[data-htp-ai-close] svg {
	width: 28px;
	height: 28px;
	display: block;
}

.htp-ai-widget .htp-ai-head .htp-ai-minimize {
	font-size: 30px;
	font-weight: 700;
	transform: translateY(-2px);
}

.htp-ai-widget .htp-ai-head .htp-ai-close {
	font-size: 0;
}

@media (max-width: 767px) {
	.htp-ai-widget .htp-ai-head .htp-ai-avatar,
	.htp-ai-widget .htp-ai-head .htp-ai-bot-icon,
	.htp-ai-widget .htp-ai-head .htp-ai-logo,
	.htp-ai-widget .htp-ai-head .htp-ai-agent-avatar {
		width: 54px;
		height: 54px;
		min-width: 54px;
		flex-basis: 54px;
	}

	.htp-ai-widget .htp-ai-head .htp-ai-avatar img,
	.htp-ai-widget .htp-ai-head .htp-ai-bot-icon img,
	.htp-ai-widget .htp-ai-head .htp-ai-logo img,
	.htp-ai-widget .htp-ai-head .htp-ai-agent-avatar img {
		width: 48px;
		height: 48px;
		max-width: 48px;
		max-height: 48px;
	}

	.htp-ai-widget .htp-ai-head .htp-ai-minimize,
	.htp-ai-widget .htp-ai-head .htp-ai-close,
	.htp-ai-widget .htp-ai-head button[data-htp-ai-minimize],
	.htp-ai-widget .htp-ai-head button[data-htp-ai-close] {
		width: 38px;
		height: 38px;
		min-width: 38px;
	}

	.htp-ai-widget .htp-ai-head .htp-ai-minimize img,
	.htp-ai-widget .htp-ai-head .htp-ai-close img,
	.htp-ai-widget .htp-ai-head button[data-htp-ai-minimize] img,
	.htp-ai-widget .htp-ai-head button[data-htp-ai-close] img,
	.htp-ai-widget .htp-ai-head .htp-ai-minimize svg,
	.htp-ai-widget .htp-ai-head .htp-ai-close svg,
	.htp-ai-widget .htp-ai-head button[data-htp-ai-minimize] svg,
	.htp-ai-widget .htp-ai-head button[data-htp-ai-close] svg {
		width: 24px;
		height: 24px;
		max-width: 24px;
		max-height: 24px;
	}

	.htp-ai-widget .htp-ai-head .htp-ai-minimize {
		font-size: 27px;
	}
}


/* v1.9.8 - icon controls from admin settings */
.htp-aiw [data-htp-aiw-icon]{
	background:transparent !important;
	border:0 !important;
	border-radius:0 !important;
	box-shadow:none !important;
	padding:0;
	margin:0;
	object-fit:contain;
}

.htp-aiw .htp-aiw__avatar{
	flex:0 0 calc(var(--htp-aiw-header-ai-size,42px) + (var(--htp-aiw-header-ai-padding,0px) * 2));
	width:calc(var(--htp-aiw-header-ai-size,42px) + (var(--htp-aiw-header-ai-padding,0px) * 2));
	height:calc(var(--htp-aiw-header-ai-size,42px) + (var(--htp-aiw-header-ai-padding,0px) * 2));
	padding:var(--htp-aiw-header-ai-padding,0px) !important;
	margin:var(--htp-aiw-header-ai-margin,0 8px 0 0) !important;
	background:transparent !important;
	border:0 !important;
	border-radius:0 !important;
	box-shadow:none !important;
}
.htp-aiw .htp-aiw__avatar img{
	width:var(--htp-aiw-header-ai-size,42px) !important;
	height:var(--htp-aiw-header-ai-size,42px) !important;
	max-width:var(--htp-aiw-header-ai-size,42px) !important;
	max-height:var(--htp-aiw-header-ai-size,42px) !important;
}

.htp-aiw .htp-aiw__actions{
	display:flex !important;
	align-items:center !important;
	justify-content:flex-end !important;
	gap:10px;
}
.htp-aiw .htp-aiw__actions button{
	background:transparent !important;
	border:0 !important;
	border-radius:0 !important;
	box-shadow:none !important;
	display:flex !important;
	align-items:center !important;
	justify-content:center !important;
	line-height:1 !important;
	padding:0 !important;
	margin:0 !important;
}
.htp-aiw .htp-aiw__actions [data-htp-aiw-minimize]{
	width:calc(var(--htp-aiw-minimize-size,20px) + (var(--htp-aiw-minimize-padding,0px) * 2)) !important;
	height:calc(var(--htp-aiw-minimize-size,20px) + (var(--htp-aiw-minimize-padding,0px) * 2)) !important;
	padding:var(--htp-aiw-minimize-padding,0px) !important;
	margin:var(--htp-aiw-minimize-margin,0px) !important;
}
.htp-aiw .htp-aiw__actions [data-htp-aiw-minimize] span{
	width:var(--htp-aiw-minimize-size,20px) !important;
	height:3px !important;
	background:#fff !important;
	border-radius:4px !important;
}
.htp-aiw .htp-aiw__actions [data-htp-aiw-close]{
	width:calc(var(--htp-aiw-close-size,22px) + (var(--htp-aiw-close-padding,0px) * 2)) !important;
	height:calc(var(--htp-aiw-close-size,22px) + (var(--htp-aiw-close-padding,0px) * 2)) !important;
	padding:var(--htp-aiw-close-padding,0px) !important;
	margin:var(--htp-aiw-close-margin,0px) !important;
}
.htp-aiw .htp-aiw__actions [data-htp-aiw-close] img{
	width:var(--htp-aiw-close-size,22px) !important;
	height:var(--htp-aiw-close-size,22px) !important;
	max-width:var(--htp-aiw-close-size,22px) !important;
	max-height:var(--htp-aiw-close-size,22px) !important;
	filter:none !important;
}

.htp-aiw .htp-aiw__mini-avatar{
	flex:0 0 calc(var(--htp-aiw-message-ai-size,28px) + (var(--htp-aiw-message-ai-padding,0px) * 2));
	width:calc(var(--htp-aiw-message-ai-size,28px) + (var(--htp-aiw-message-ai-padding,0px) * 2));
	height:calc(var(--htp-aiw-message-ai-size,28px) + (var(--htp-aiw-message-ai-padding,0px) * 2));
	padding:var(--htp-aiw-message-ai-padding,0px) !important;
	margin:var(--htp-aiw-message-ai-margin,0px) !important;
	background:transparent !important;
	border:0 !important;
	border-radius:0 !important;
	box-shadow:none !important;
}
.htp-aiw .htp-aiw__mini-avatar img{
	width:var(--htp-aiw-message-ai-size,28px) !important;
	height:var(--htp-aiw-message-ai-size,28px) !important;
	max-width:var(--htp-aiw-message-ai-size,28px) !important;
	max-height:var(--htp-aiw-message-ai-size,28px) !important;
}

.htp-aiw .htp-aiw__features img{
	width:var(--htp-aiw-feature-size,20px) !important;
	height:var(--htp-aiw-feature-size,20px) !important;
	max-width:var(--htp-aiw-feature-size,20px) !important;
	max-height:var(--htp-aiw-feature-size,20px) !important;
	padding:var(--htp-aiw-feature-padding,0px) !important;
	margin:var(--htp-aiw-feature-margin,0px) !important;
	filter:brightness(0) invert(1) !important;
}

.htp-aiw .htp-aiw__attach,
.htp-aiw .htp-aiw__send{
	background:transparent !important;
	border:0 !important;
	border-radius:0 !important;
	box-shadow:none !important;
}
.htp-aiw .htp-aiw__attach img{
	width:var(--htp-aiw-input-menu-size,30px) !important;
	height:var(--htp-aiw-input-menu-size,30px) !important;
	max-width:var(--htp-aiw-input-menu-size,30px) !important;
	max-height:var(--htp-aiw-input-menu-size,30px) !important;
	padding:var(--htp-aiw-input-menu-padding,0px) !important;
	margin:var(--htp-aiw-input-menu-margin,0px) !important;
	filter:none !important;
}
.htp-aiw .htp-aiw__send img{
	width:var(--htp-aiw-send-size,32px) !important;
	height:var(--htp-aiw-send-size,32px) !important;
	max-width:var(--htp-aiw-send-size,32px) !important;
	max-height:var(--htp-aiw-send-size,32px) !important;
	padding:var(--htp-aiw-send-padding,0px) !important;
	margin:var(--htp-aiw-send-margin,0 10px 0 0) !important;
	filter:none !important;
}

.htp-aiw .htp-aiw__contact img{
	width:var(--htp-aiw-contact-size,20px) !important;
	height:var(--htp-aiw-contact-size,20px) !important;
	max-width:var(--htp-aiw-contact-size,20px) !important;
	max-height:var(--htp-aiw-contact-size,20px) !important;
	padding:var(--htp-aiw-contact-padding,0px) !important;
	margin:var(--htp-aiw-contact-margin,0px) !important;
	filter:brightness(0) invert(1) !important;
	background:transparent !important;
	border:0 !important;
	border-radius:0 !important;
}

@media(max-width:767px){
	.htp-aiw .htp-aiw__header{min-height:72px;}
}


/* v1.9.9 - mobile launcher icon-only + input icon alignment */
.htp-aiw .htp-aiw__input{
	grid-template-columns:minmax(0,1fr) max-content max-content !important;
	align-items:center !important;
	gap:10px !important;
	padding:12px 18px 12px 12px !important;
}

.htp-aiw .htp-aiw__attach,
.htp-aiw .htp-aiw__send{
	display:inline-flex !important;
	align-items:center !important;
	justify-content:center !important;
	width:auto !important;
	min-width:var(--htp-aiw-input-button-size,38px) !important;
	height:var(--htp-aiw-input-button-size,38px) !important;
	padding:0 !important;
	margin:0 !important;
	line-height:1 !important;
	background:transparent !important;
	border:0 !important;
	border-radius:0 !important;
	box-shadow:none !important;
}

.htp-aiw .htp-aiw__send{
	margin-right:10px !important;
}

.htp-aiw .htp-aiw__actions{
	gap:8px !important;
}

.htp-aiw .htp-aiw__actions [data-htp-aiw-minimize]{
	width:32px !important;
	height:32px !important;
	min-width:32px !important;
}

.htp-aiw .htp-aiw__actions [data-htp-aiw-minimize] span{
	width:22px !important;
	height:3px !important;
}

.htp-aiw .htp-aiw__actions [data-htp-aiw-close]{
	width:32px !important;
	height:32px !important;
	min-width:32px !important;
}

.htp-aiw .htp-aiw__actions [data-htp-aiw-close] img{
	width:var(--htp-aiw-close-size,22px) !important;
	height:var(--htp-aiw-close-size,22px) !important;
	max-width:var(--htp-aiw-close-size,22px) !important;
	max-height:var(--htp-aiw-close-size,22px) !important;
}

@media (max-width: 767px){
	.htp-aiw{
		right:14px !important;
		bottom:14px !important;
	}

	.htp-aiw:not(.is-open) .htp-aiw__launcher{
		width:66px !important;
		height:66px !important;
		min-height:66px !important;
		max-width:66px !important;
		padding:0 !important;
		justify-content:center !important;
		gap:0 !important;
		border-radius:999px !important;
	}

	.htp-aiw:not(.is-open) .htp-aiw__launcher-text,
	.htp-aiw:not(.is-open) .htp-aiw__launcher i{
		display:none !important;
	}

	.htp-aiw:not(.is-open) .htp-aiw__launcher-icon{
		width:46px !important;
		height:46px !important;
		flex:0 0 46px !important;
		margin:0 !important;
		padding:0 !important;
		background:transparent !important;
		border:0 !important;
		border-radius:0 !important;
	}

	.htp-aiw:not(.is-open) .htp-aiw__launcher-icon img{
		width:42px !important;
		height:42px !important;
		max-width:42px !important;
		max-height:42px !important;
	}

	.htp-aiw .htp-aiw__header{
		min-height:68px !important;
		padding:10px 12px !important;
	}

	.htp-aiw .htp-aiw__actions [data-htp-aiw-minimize],
	.htp-aiw .htp-aiw__actions [data-htp-aiw-close]{
		width:30px !important;
		height:30px !important;
		min-width:30px !important;
	}

	.htp-aiw .htp-aiw__actions [data-htp-aiw-minimize] span{
		width:20px !important;
		height:3px !important;
	}

	.htp-aiw .htp-aiw__actions [data-htp-aiw-close] img{
		width:22px !important;
		height:22px !important;
		max-width:22px !important;
		max-height:22px !important;
	}

	.htp-aiw .htp-aiw__input{
		grid-template-columns:minmax(0,1fr) 38px 42px !important;
		gap:9px !important;
		padding:10px 16px 10px 10px !important;
	}

	.htp-aiw .htp-aiw__input input{
		min-width:0 !important;
	}

	.htp-aiw .htp-aiw__attach,
	.htp-aiw .htp-aiw__send{
		width:38px !important;
		height:38px !important;
		min-width:38px !important;
	}

	.htp-aiw .htp-aiw__send{
		margin-right:8px !important;
	}

	.htp-aiw .htp-aiw__attach img{
		width:28px !important;
		height:28px !important;
		max-width:28px !important;
		max-height:28px !important;
	}

	.htp-aiw .htp-aiw__send img{
		width:32px !important;
		height:32px !important;
		max-width:32px !important;
		max-height:32px !important;
	}
}


/* v2.0.0 - launcher button text ngắn: Gửi tin nhắn */
.htp-aiw:not(.is-open) .htp-aiw__launcher{
	width:auto !important;
	max-width:260px !important;
	min-height:58px !important;
	padding:10px 18px 10px 12px !important;
	gap:10px !important;
}

.htp-aiw:not(.is-open) .htp-aiw__launcher-text{
	display:inline-flex !important;
	align-items:center !important;
	min-width:0 !important;
}

.htp-aiw:not(.is-open) .htp-aiw__launcher-text b{
	display:block !important;
	font-family:Lato, Arial, sans-serif !important;
	font-weight:700 !important;
	font-size:16px !important;
	line-height:1.15 !important;
	white-space:nowrap !important;
	text-transform:none !important;
}

.htp-aiw:not(.is-open) .htp-aiw__launcher-text small,
.htp-aiw:not(.is-open) .htp-aiw__launcher i{
	display:none !important;
}

@media (max-width:767px){
	.htp-aiw:not(.is-open) .htp-aiw__launcher{
		width:66px !important;
		max-width:66px !important;
		height:66px !important;
		min-height:66px !important;
		padding:0 !important;
	}
	.htp-aiw:not(.is-open) .htp-aiw__launcher-text{
		display:none !important;
	}
}


/* v2.0.1 - đồng bộ khoảng cách icon close và send với lề phải */
.htp-aiw{
	--htp-aiw-edge-right: 18px;
}

.htp-aiw .htp-aiw__header{
	padding-right: var(--htp-aiw-edge-right) !important;
}

.htp-aiw .htp-aiw__input{
	padding-right: var(--htp-aiw-edge-right) !important;
}

.htp-aiw .htp-aiw__actions{
	padding-right: 0 !important;
}

.htp-aiw .htp-aiw__actions [data-htp-aiw-close]{
	margin-right: 0 !important;
}

.htp-aiw .htp-aiw__send{
	margin-right: 0 !important;
}

.htp-aiw .htp-aiw__send img,
.htp-aiw .htp-aiw__actions [data-htp-aiw-close] img{
	display:block !important;
}

@media (max-width:767px){
	.htp-aiw{
		--htp-aiw-edge-right: 16px;
	}

	.htp-aiw .htp-aiw__header{
		padding-right: var(--htp-aiw-edge-right) !important;
	}

	.htp-aiw .htp-aiw__input{
		padding-right: var(--htp-aiw-edge-right) !important;
		grid-template-columns:minmax(0,1fr) 38px 38px !important;
		gap:10px !important;
	}

	.htp-aiw .htp-aiw__send{
		margin-right: 0 !important;
	}

	.htp-aiw .htp-aiw__actions [data-htp-aiw-close]{
		margin-right: 0 !important;
	}
}
