#spro-root{font-family:var(--spro-font,inherit)}

#spro-btn{
	position:fixed;bottom:24px;width:60px;height:60px;border:0;border-radius:50%;
	background:linear-gradient(135deg,var(--spro-primary),var(--spro-secondary));
	color:#fff;font-size:26px;cursor:pointer;z-index:99998;
	box-shadow:0 10px 28px rgba(0,0,0,.2);transition:transform .2s ease;
	display:flex;align-items:center;justify-content:center;
}
#spro-btn:hover{transform:scale(1.06)}
#spro-btn:active{transform:scale(.96)}
@media(max-width:768px){#spro-btn{bottom:80px}}

#spro-badge{
	position:absolute;top:-4px;left:-4px;background:#ef4444;color:#fff;
	border-radius:50%;min-width:20px;height:20px;font-size:11px;font-weight:bold;
	display:none;align-items:center;justify-content:center;padding:0 4px;
	border:2px solid #fff;line-height:1;animation:spro-pop .25s ease;
}
#spro-badge.show{display:flex}
@keyframes spro-pop{0%{transform:scale(0)}70%{transform:scale(1.2)}100%{transform:scale(1)}}

#spro-btn.spro-shake{animation:spro-shake .5s ease}
@keyframes spro-shake{0%,100%{transform:rotate(0)}20%{transform:rotate(-10deg)}40%{transform:rotate(9deg)}60%{transform:rotate(-6deg)}80%{transform:rotate(4deg)}}

#spro-box{
	position:fixed;bottom:96px;width:378px;max-width:calc(100vw - 32px);
	height:560px;max-height:calc(100vh - 140px);background:#fff;border-radius:20px;
	box-shadow:0 24px 60px rgba(0,0,0,.25);display:none;flex-direction:column;
	overflow:hidden;z-index:99999;direction:rtl;text-align:right;
	border:1px solid rgba(0,0,0,.06);
}
#spro-box.open{display:flex;animation:spro-rise .22s ease}
@keyframes spro-rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}

.spro-h{
	background:linear-gradient(135deg,var(--spro-primary),var(--spro-secondary));
	color:#fff;padding:16px 18px;display:flex;justify-content:space-between;align-items:center;flex:none;
}
.spro-h .title-wrap{flex:1;display:flex;align-items:center;gap:10px}
.spro-h .logo{width:34px;height:34px;border-radius:50%;object-fit:cover;background:rgba(255,255,255,.25)}
.spro-h b{display:block;font-size:14.5px}
.spro-h small{opacity:.85;font-size:11px}
.spro-h .close-btn{background:rgba(255,255,255,.2);border:none;color:#fff;font-size:18px;width:32px;height:32px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s;line-height:1;flex:none}
.spro-h .close-btn:hover{background:rgba(255,255,255,.35)}

.spro-subbar{display:none;align-items:center;justify-content:space-between;gap:8px;padding:9px 14px;background:#fff;border-bottom:1px solid #e2e8f0;flex:none}
.spro-subbar .who{display:flex;align-items:center;gap:8px;min-width:0}
.spro-subbar .ava{width:28px;height:28px;border-radius:50%;object-fit:cover;background:#e2e8f0;flex:none;position:relative}
.spro-subbar .txt{min-width:0}
.spro-subbar .txt b{display:block;font-size:11.5px;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:150px}
.spro-subbar .txt span{font-size:10px;color:#94a3b8;display:flex;align-items:center;gap:3px}
.spro-subbar button{background:#f1f5f9;border:1px solid #e2e8f0;color:#334155;border-radius:8px;padding:6px 10px;font-size:11px;cursor:pointer;font-family:inherit;white-space:nowrap;flex:none;transition:.15s}
.spro-subbar button:hover{background:var(--spro-primary);color:#fff;border-color:var(--spro-primary)}

.spro-body{flex:1;overflow:auto;padding:16px;background:#f8fafc}
.spro-body::-webkit-scrollbar{width:6px}
.spro-body::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:6px}

.spro-lbl{font-size:11px;color:#94a3b8;margin:2px 0 10px;font-weight:bold}
.spro-welcome{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:12px 14px;margin-bottom:14px;font-size:12.5px;color:#334155;line-height:1.9}

.spro-cat-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px}
.spro-cat{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:16px 10px;text-align:center;cursor:pointer;transition:.15s;font-size:12px;color:#334155;font-family:inherit}
.spro-cat:hover{border-color:var(--spro-primary);background:#f0fdf4;transform:translateY(-2px)}
.spro-cat .ic{font-size:24px;display:block;margin-bottom:6px}

.spro-faq{display:flex;justify-content:space-between;align-items:center;width:100%;text-align:right;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:12px 14px;margin-bottom:8px;font-size:12.5px;cursor:pointer;color:#334155;font-family:inherit;line-height:1.9;transition:.15s}
.spro-faq:hover{border-color:var(--spro-primary);background:#f0fdf4}
.spro-faq .arrow{opacity:.4}

.spro-product{display:flex;align-items:center;gap:10px;width:100%;text-align:right;background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:10px 12px;margin-bottom:8px;cursor:pointer;font-family:inherit;transition:.15s}
.spro-product:hover{border-color:var(--spro-primary);background:#f0fdf4}
.spro-product .ava{width:38px;height:38px;border-radius:50%;object-fit:cover;background:#e2e8f0;flex:none;position:relative}
.spro-product .info{flex:1;text-align:right}
.spro-product .info b{display:block;font-size:12.5px;color:#0f172a}
.spro-product .info span{font-size:11px;color:#94a3b8}

.spro-dot{width:9px;height:9px;border-radius:50%;display:inline-block;margin-inline-start:4px;border:2px solid #fff}
.spro-dot.on{background:#22c55e}
.spro-dot.off{background:#94a3b8}
.spro-ava-wrap{position:relative;flex:none}
.spro-ava-wrap .spro-dot{position:absolute;bottom:-1px;left:-1px}

.spro-expert-card{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:12px;margin-bottom:14px}
.spro-expert-card .ava{width:44px;height:44px;border-radius:50%;object-fit:cover;background:#e2e8f0}
.spro-expert-card .meta b{display:block;font-size:13px;color:#0f172a}
.spro-expert-card .meta span{font-size:11px;color:#64748b;display:flex;align-items:center}

.spro-cta{width:100%;background:linear-gradient(135deg,var(--spro-primary),var(--spro-secondary));color:#fff;border:0;border-radius:12px;padding:13px;font-size:12.5px;font-weight:bold;cursor:pointer;font-family:inherit;box-shadow:0 6px 16px rgba(0,0,0,.12)}
.spro-cta:disabled{opacity:.6;cursor:default}

.spro-in{width:100%;box-sizing:border-box;border:1px solid #e2e8f0;border-radius:10px;padding:11px 13px;font-size:12.5px;margin-bottom:9px;font-family:inherit;outline:none;transition:border-color .15s}
.spro-in:focus{border-color:var(--spro-primary)}

.spro-row{display:flex;margin-bottom:10px}
.spro-row .bb{max-width:78%;padding:10px 14px;border-radius:16px;font-size:12.5px;line-height:1.9;white-space:pre-wrap}
.spro-me{justify-content:flex-start}
.spro-me .bb{background:#fff;color:#0f172a;border:1px solid #e2e8f0;border-bottom-right-radius:4px}
.spro-op{justify-content:flex-end}
.spro-op .bb{background:linear-gradient(135deg,var(--spro-primary),var(--spro-secondary));color:#fff;border-bottom-left-radius:4px}

.spro-dots span{display:inline-block;width:6px;height:6px;margin:0 2px;border-radius:50%;background:#94a3b8;animation:sprob 1s infinite}
.spro-dots span:nth-child(2){animation-delay:.15s}
.spro-dots span:nth-child(3){animation-delay:.3s}
@keyframes sprob{0%,60%,100%{transform:translateY(0);opacity:.4}30%{transform:translateY(-4px);opacity:1}}

.spro-links{display:flex;gap:6px;flex-wrap:wrap}
.spro-links a{display:inline-block;padding:8px 12px;border-radius:10px;font-size:11.5px;text-decoration:none;font-weight:bold}
.spro-wa{background:#dcfce7;color:#166534}
.spro-tg{background:#dbeafe;color:#1e40af}
.spro-em{background:#e2e8f0;color:#334155}

.spro-back{background:none;border:0;color:#94a3b8;font-size:11px;cursor:pointer;margin-bottom:10px;font-family:inherit;padding:0}
.spro-back:hover{color:var(--spro-primary)}

.spro-foot{border-top:1px solid #e2e8f0;padding:10px;display:flex;gap:8px;background:#fff;flex:none}
.spro-foot input{flex:1;border:1px solid #e2e8f0;border-radius:10px;padding:10px 13px;font-size:12.5px;font-family:inherit;outline:none}
.spro-foot input:focus{border-color:var(--spro-primary)}
.spro-foot button{background:linear-gradient(135deg,var(--spro-primary),var(--spro-secondary));color:#fff;border:0;border-radius:10px;width:42px;cursor:pointer;font-size:15px;flex:none}

.spro-menu-foot{padding:10px;text-align:center;border-top:1px solid #e2e8f0;background:#fff;display:flex;gap:8px;flex:none}

.spro-inline-note{font-size:13px}
.spro-empty{font-size:12px;color:#94a3b8;text-align:center;padding:20px 0}

.spro-row{animation:spro-msg-in .18s ease}
@keyframes spro-msg-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}

.spro-sys-row{display:flex;justify-content:center;margin:12px 0}
.spro-sys-row .bb{background:#fef3c7;color:#92400e;font-size:11.5px;padding:9px 14px;border-radius:10px;text-align:center;max-width:90%;line-height:1.9}

.spro-foot-closed{padding:12px 14px !important;flex-direction:column;align-items:center;gap:8px !important}
.spro-closed-note{font-size:11.5px;color:#94a3b8;text-align:center;width:100%}
.spro-foot-closed .spro-cta{width:auto !important;margin:0 !important}
.spro-foot input:disabled,.spro-foot button:disabled{opacity:.5;cursor:not-allowed}

.spro-faq-topbtn{background:none;border:1px dashed #cbd5e1;color:#64748b;border-radius:10px;padding:9px 12px;font-size:11.5px;width:100%;cursor:pointer;font-family:inherit;margin-bottom:12px;transition:.15s}
.spro-faq-topbtn:hover{border-color:var(--spro-primary);color:var(--spro-primary)}
