#wezsol-aba-root {
	--wezsol-primary: var(--wezsol-aba-color, #c98a9c);
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 999999;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.wezsol-aba-bubble {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--wezsol-primary);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 6px 20px rgba(0,0,0,0.2);
	border: none;
	font-size: 26px;
	transition: transform .2s ease;
}
.wezsol-aba-bubble:hover { transform: scale(1.06); }

.wezsol-aba-badge {
	position: absolute;
	top: -4px;
	right: -4px;
	background: #ff4757;
	color: #fff;
	border-radius: 50%;
	width: 18px;
	height: 18px;
	font-size: 11px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wezsol-aba-panel {
	position: absolute;
	bottom: 76px;
	right: 0;
	width: 360px;
	max-width: 92vw;
	max-height: 70vh;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 10px 40px rgba(0,0,0,0.25);
	display: none;
	flex-direction: column;
	overflow: hidden;
}
.wezsol-aba-panel.open { display: flex; }

.wezsol-aba-header {
	background: var(--wezsol-primary);
	color: #fff;
	padding: 14px 16px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-weight: 600;
}
.wezsol-aba-header small {
	display: block;
	font-weight: 400;
	font-size: 11px;
	opacity: .85;
}
.wezsol-aba-close {
	background: none;
	border: none;
	color: #fff;
	font-size: 20px;
	cursor: pointer;
	line-height: 1;
}

.wezsol-aba-body {
	flex: 1;
	overflow-y: auto;
	padding: 14px;
	background: #faf7f8;
}

.wezsol-aba-msg {
	background: #fff;
	border-radius: 12px;
	padding: 10px 12px;
	margin-bottom: 10px;
	font-size: 13.5px;
	line-height: 1.4;
	color: #333;
	box-shadow: 0 1px 4px rgba(0,0,0,0.06);
	max-width: 90%;
}
.wezsol-aba-msg.user {
	background: var(--wezsol-primary);
	color: #fff;
	margin-left: auto;
}

.wezsol-aba-quick-replies {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 8px 0 14px;
}
.wezsol-aba-chip {
	background: #fff;
	border: 1px solid var(--wezsol-primary);
	color: var(--wezsol-primary);
	border-radius: 20px;
	padding: 6px 12px;
	font-size: 12.5px;
	cursor: pointer;
	transition: all .15s ease;
}
.wezsol-aba-chip:hover {
	background: var(--wezsol-primary);
	color: #fff;
}

.wezsol-aba-products {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-bottom: 12px;
}
.wezsol-aba-card {
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 1px 4px rgba(0,0,0,0.08);
	display: flex;
	flex-direction: column;
}
.wezsol-aba-card img {
	width: 100%;
	height: 90px;
	object-fit: cover;
}
.wezsol-aba-card-body {
	padding: 8px;
	flex: 1;
	display: flex;
	flex-direction: column;
}
.wezsol-aba-card-title {
	font-size: 11.5px;
	font-weight: 600;
	color: #333;
	margin: 0 0 4px;
	line-height: 1.3;
	min-height: 28px;
}
.wezsol-aba-card-reason {
	font-size: 10.5px;
	color: #888;
	margin: 0 0 6px;
	line-height: 1.3;
	font-style: italic;
}
.wezsol-aba-card-variants {
	font-size: 10px;
	color: #666;
	margin: 0 0 6px;
	line-height: 1.3;
}
.wezsol-aba-card-price {
	font-size: 12px;
	color: var(--wezsol-primary);
	font-weight: 700;
	margin-bottom: 6px;
}
.wezsol-aba-card-price del {
	color: #999;
	font-weight: 400;
	margin-right: 4px;
}
.wezsol-aba-card-actions {
	display: flex;
	gap: 4px;
	margin-top: auto;
}
.wezsol-aba-btn {
	flex: 1;
	border: none;
	border-radius: 6px;
	padding: 7px 4px;
	font-size: 11px;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	display: block;
}
.wezsol-aba-btn-view {
	background: var(--wezsol-primary);
	color: #fff;
	font-weight: 600;
}

.wezsol-aba-input-row {
	display: flex;
	border-top: 1px solid #eee;
	padding: 10px;
	gap: 6px;
	background: #fff;
}
.wezsol-aba-input-row input {
	flex: 1;
	border: 1px solid #ddd;
	border-radius: 20px;
	padding: 8px 14px;
	font-size: 13px;
	outline: none;
}
.wezsol-aba-input-row button {
	background: var(--wezsol-primary);
	color: #fff;
	border: none;
	border-radius: 50%;
	width: 36px;
	height: 36px;
	cursor: pointer;
	font-size: 14px;
}

.wezsol-aba-footer-brand {
	text-align: center;
	font-size: 10px;
	color: #aaa;
	padding: 4px 0 8px;
	background: #fff;
}
.wezsol-aba-footer-brand a { color: #aaa; }

.wezsol-aba-whatsapp {
	display: inline-block;
	background: #25D366;
	color: #fff;
	padding: 6px 12px;
	border-radius: 20px;
	font-size: 12px;
	text-decoration: none;
	margin-bottom: 10px;
}

.wezsol-aba-lead-form {
	background: #fff;
	border: 1px solid var(--wezsol-primary);
	border-radius: 12px;
	padding: 12px;
	margin: 8px 0 14px;
}
.wezsol-aba-lead-title {
	font-size: 12.5px;
	font-weight: 600;
	color: #333;
	margin: 0 0 8px;
}
.wezsol-aba-lead-form input {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 8px 10px;
	font-size: 13px;
	margin-bottom: 6px;
	outline: none;
}
.wezsol-aba-lead-actions {
	display: flex;
	gap: 6px;
	margin-top: 4px;
}
.wezsol-aba-lead-submit {
	background: var(--wezsol-primary);
	color: #fff;
	border-color: var(--wezsol-primary);
}

@media (max-width: 480px) {
	.wezsol-aba-panel { width: 92vw; right: -8px; }
}
