#tahfuz-ai-launcher{position:fixed;right:22px;bottom:22px;width:58px;height:58px;border:0;border-radius:50%;background:#176b3a;color:#fff;box-shadow:0 8px 28px rgba(0,0,0,.22);font-size:24px;cursor:pointer;z-index:99998}
#tahfuz-ai-box{position:fixed;right:22px;bottom:92px;width:min(390px,calc(100vw - 28px));height:min(620px,calc(100vh - 120px));background:#fff;border-radius:18px;box-shadow:0 18px 55px rgba(0,0,0,.25);overflow:hidden;display:none;flex-direction:column;z-index:99999;border:1px solid #e7e7e7}
#tahfuz-ai-head{background:#176b3a;color:#fff;padding:15px 16px;display:flex;align-items:center;justify-content:space-between}
#tahfuz-ai-head strong{font-size:16px}
#tahfuz-ai-close{border:0;background:transparent;color:#fff;font-size:22px;cursor:pointer}
#tahfuz-ai-messages{flex:1;padding:14px;overflow:auto;background:#f7f8f7}
.tahfuz-ai-msg{max-width:86%;padding:10px 12px;margin:8px 0;border-radius:14px;line-height:1.45;font-size:14px;white-space:pre-wrap}
.tahfuz-ai-user{margin-left:auto;background:#176b3a;color:#fff;border-bottom-right-radius:4px}
.tahfuz-ai-bot{margin-right:auto;background:#fff;color:#222;border:1px solid #e5e5e5;border-bottom-left-radius:4px}
#tahfuz-ai-products{padding:0 12px;display:flex;gap:8px;overflow:auto;background:#f7f8f7}
.tahfuz-ai-product{min-width:190px;background:#fff;border:1px solid #e3e3e3;border-radius:12px;padding:9px}
.tahfuz-ai-product img{width:100%;height:90px;object-fit:cover;border-radius:8px}
.tahfuz-ai-product a{color:#176b3a;font-weight:600;text-decoration:none}
#tahfuz-ai-form{display:flex;gap:8px;padding:10px;border-top:1px solid #e5e5e5;background:#fff}
#tahfuz-ai-input{flex:1;border:1px solid #d5d5d5;border-radius:12px;padding:10px 12px;resize:none;min-height:42px;max-height:100px}
#tahfuz-ai-send{border:0;border-radius:12px;background:#176b3a;color:#fff;padding:0 15px;cursor:pointer}
#tahfuz-ai-send:disabled{opacity:.5}
