/* ASAYESH live chat: intentionally opposite the floating order shortcut. */
#asayesh-chat-launch{
 position:fixed!important;right:14px!important;left:auto!important;bottom:16px!important;z-index:2147483000!important;
 display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;min-height:48px!important;
 min-width:142px;border:1px solid #f5dfad!important;border-radius:28px!important;padding:11px 18px!important;
 background:linear-gradient(130deg,#f3dfb0 0%,#d9b66f 48%,#b58a48 100%)!important;color:#142438!important;
 font-family:inherit;font-size:14px!important;font-weight:800!important;line-height:1.35;white-space:nowrap;
 box-shadow:0 5px 20px #0007,0 0 0 1px #fff2 inset;cursor:pointer;direction:rtl;
 visibility:visible!important;opacity:1!important;pointer-events:auto!important;text-decoration:none!important;
}
#asayesh-chat-launch:before{content:none!important;display:none!important}
#asayesh-chat-launch .asayesh-chat-icon{width:21px;height:21px;flex:0 0 21px;fill:none;stroke:#142438;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

#asayesh-chat-launch:hover{filter:brightness(1.12);transform:translateY(-1px)}
#asayesh-chat-launch:focus-visible,#asayesh-chat-panel button:focus-visible{outline:3px solid #d5b66e;outline-offset:3px}
#asayesh-chat-panel{
 position:fixed;right:14px;left:auto;bottom:72px;z-index:2147483001;
 width:min(360px,calc(100vw - 28px));height:min(520px,calc(100dvh - 100px));
 background:#fff;border:1px solid #c8a55e;border-radius:15px;box-shadow:0 14px 42px #0004;
 display:none;overflow:hidden;direction:rtl;color:#17283b;font-family:inherit;
}
#asayesh-chat-panel.open{display:flex;flex-direction:column}
#asayesh-chat-panel *{box-sizing:border-box}
#asayesh-chat-head{background:linear-gradient(120deg,#061827,#193653);color:#f4e5c4;padding:15px 16px;display:flex;justify-content:space-between;align-items:center;gap:12px}
#asayesh-chat-head strong{font-size:15px}#asayesh-chat-head small{display:block;color:#d9c69e;margin-top:4px;font-size:11px}
#asayesh-chat-close{background:none;border:0;color:#fff;font-size:24px;cursor:pointer;line-height:1}
#asayesh-chat-body{padding:13px;overflow:auto;flex:1;background:#f8f6f1}
#asayesh-chat-form{padding:12px;border-top:1px solid #e8dfce;background:#fff;display:grid;gap:8px}
#asayesh-chat-panel input,#asayesh-chat-panel textarea{width:100%;border:1px solid #d8d0c1;border-radius:8px;padding:10px;font-family:inherit;font-size:13px;resize:vertical}
#asayesh-chat-panel textarea{min-height:70px;max-height:120px}
#asayesh-chat-panel button.send{border:0;border-radius:8px;padding:11px;background:#102942;color:#f5e6c6;font-family:inherit;font-size:13px;font-weight:700;cursor:pointer}
#asayesh-chat-panel button:disabled{opacity:.6;cursor:wait}
#asayesh-chat-panel .chat-msg{max-width:90%;padding:9px 11px;margin:8px 0;border-radius:11px;background:#fff;border:1px solid #e9e2d5;font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}
#asayesh-chat-panel .chat-msg.customer{margin-right:auto;background:#efe5cf}
#asayesh-chat-panel .chat-msg.operator{margin-left:auto;background:#e6edf2}
#asayesh-chat-panel .chat-note{font-size:12px;color:#667384;line-height:1.8}
#asayesh-chat-panel .chat-error{color:#9a342c;font-size:12px}
@media(max-width:480px){#asayesh-chat-launch{right:10px!important;bottom:12px!important;padding:10px 14px!important;font-size:12px!important;min-height:44px!important;min-width:132px}#asayesh-chat-panel{right:10px;bottom:64px;width:calc(100vw - 20px);height:min(500px,calc(100dvh - 86px))}}
