/* GENERAL SIGN – chat assistant */
.hs-chat{--c-ink:#1A1917;--c-deep:#1A1917;--c-orange:#B8945A;--c-line:#ECE7DE;--c-soft:#F7F5F0;position:fixed;right:22px;bottom:92px;z-index:61;font-family:"Manrope",system-ui,sans-serif;color:var(--c-ink)}
html[dir=rtl] .hs-chat{font-family:"IBM Plex Sans Arabic","Inter",sans-serif}
.hs-chat *{box-sizing:border-box}
.hs-chat-btn,.hs-chat-btn:focus{display:flex;align-items:center;gap:9px;margin-left:auto;padding:12px 18px 12px 14px;border:0!important;border-radius:999px!important;background:var(--c-deep)!important;color:#fff!important;font:inherit;font-size:15px;font-weight:600;cursor:pointer;box-shadow:0 12px 30px rgba(0,0,0,.28);transition:transform .25s cubic-bezier(.2,.7,.2,1),background .25s}
.hs-chat-btn:hover{transform:translateY(-2px);background:#24221F!important}
.hs-chat-btn svg{width:22px;height:22px;fill:none;stroke:#fff;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.hs-chat.is-open .hs-chat-btn{display:none}
.hs-chat-panel{width:370px;max-width:calc(100vw - 24px);height:540px;max-height:calc(100vh - 120px);display:flex;flex-direction:column;background:#fff;border:1px solid var(--c-line);border-radius:18px;overflow:hidden;box-shadow:0 24px 60px rgba(16,40,58,.22);animation:hsChatIn .28s cubic-bezier(.2,.7,.2,1)}
.hs-chat-panel[hidden]{display:none}
@keyframes hsChatIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.hs-chat-panel header{display:flex;align-items:center;gap:11px;padding:14px 14px 14px 16px;background:var(--c-deep);color:#fff}
.hs-chat-panel header b{display:block;font-size:15px;font-weight:600;line-height:1.25}
.hs-chat-panel header small{display:block;font-size:12.5px;opacity:.75}
.hs-chat-av{flex:0 0 36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--c-orange);font-family:"Bodoni Moda",Didot,serif;font-weight:600;font-size:18px}
.hs-chat-x,.hs-chat-x:focus{margin-left:auto;width:34px;height:34px;border:0!important;border-radius:50%!important;background:rgba(255,255,255,.1)!important;color:#fff!important;font-size:22px;line-height:1;cursor:pointer;padding:0}
html[dir=rtl] .hs-chat-x{margin-left:0;margin-right:auto}
.hs-chat-log{flex:1;overflow-y:auto;padding:16px 14px;background:var(--c-soft);display:flex;flex-direction:column;gap:9px;overscroll-behavior:contain}
.hs-chat-m{max-width:86%;padding:10px 13px;border-radius:16px;font-size:14.5px;line-height:1.5;word-wrap:break-word}
.hs-chat-bot{align-self:flex-start;background:#fff;border:1px solid var(--c-line);border-bottom-left-radius:5px}
.hs-chat-me{align-self:flex-end;background:var(--c-deep);color:#fff;border-bottom-right-radius:5px}
html[dir=rtl] .hs-chat-bot{border-bottom-left-radius:16px;border-bottom-right-radius:5px}
html[dir=rtl] .hs-chat-me{border-bottom-right-radius:16px;border-bottom-left-radius:5px}
.hs-chat-m a{color:#8a6a35;text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere;font-weight:600}
.hs-chat-me a{color:#fff}
.hs-chat-wa{display:inline-block;margin-top:6px;padding:6px 12px;border-radius:999px;background:#1f7a4d;color:#fff!important;text-decoration:none!important;font-weight:600}
.hs-chat-m.is-typing{display:flex;gap:4px;padding:13px 14px}
.hs-chat-m.is-typing i{width:7px;height:7px;border-radius:50%;background:#9fb3bf;animation:hsDot 1.1s infinite}
.hs-chat-m.is-typing i:nth-child(2){animation-delay:.15s}.hs-chat-m.is-typing i:nth-child(3){animation-delay:.3s}
@keyframes hsDot{0%,60%,100%{opacity:.35;transform:none}30%{opacity:1;transform:translateY(-3px)}}
.hs-chat-form{display:flex;align-items:flex-end;gap:8px;padding:10px;border-top:1px solid var(--c-line);background:#fff;margin:0}
.hs-chat-form textarea{flex:1;resize:none;min-height:42px;max-height:110px;padding:10px 13px;border:1px solid var(--c-line)!important;border-radius:14px!important;font:inherit;font-size:15px;line-height:1.4;color:var(--c-ink);background:#fff;outline:none;box-shadow:none!important}
.hs-chat-form textarea:focus{border-color:#B8945A!important}
.hs-chat-form button,.hs-chat-form button:focus{flex:0 0 42px;height:42px;border:0!important;border-radius:50%!important;background:var(--c-orange)!important;cursor:pointer;display:grid;place-items:center;padding:0}
.hs-chat-form button svg{width:19px;height:19px;fill:#fff}
html[dir=rtl] .hs-chat-form button svg{transform:scaleX(-1)}
@media(max-width:600px){
  .hs-chat{right:22px;bottom:90px}
  .hs-chat-btn,.hs-chat-btn:focus{padding:14px}
  .hs-chat-btn span{display:none}
  .hs-chat.is-open{left:0;right:0;bottom:0!important;top:0}
  .hs-chat-panel{width:100%;max-width:none;height:100%;max-height:none;border-radius:0;border:0}
}
@media print{.hs-chat{display:none}}
.hs-chat.is-open ~ .wa-float,body:has(.hs-chat.is-open) .wa-float{display:none}
.hs-chat-human{display:flex;align-items:center;gap:10px;margin:0;padding:9px 14px;border-top:1px solid var(--c-line);background:#fff;color:var(--c-ink)!important;text-decoration:none!important;transition:background .2s}
.hs-chat-human:hover{background:#f1f8f4}
.hs-chat-human svg{flex:0 0 30px;width:30px;height:30px;padding:6px;border-radius:50%;background:#1f9d55;fill:none;stroke:#fff;stroke-width:1.6;stroke-linejoin:round}
.hs-chat-human span{flex:1;min-width:0;line-height:1.25}
.hs-chat-human b{display:block;font-size:13.5px;font-weight:700}
.hs-chat-human small{display:block;font-size:12px;opacity:.65}
.hs-chat-dot{width:8px;height:8px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 0 rgba(34,197,94,.6);animation:hsPulse 2s infinite}
@keyframes hsPulse{0%{box-shadow:0 0 0 0 rgba(34,197,94,.55)}70%{box-shadow:0 0 0 7px rgba(34,197,94,0)}100%{box-shadow:0 0 0 0 rgba(34,197,94,0)}}
.hs-chat-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:2px}
.hs-chat-chips button,.hs-chat-chips button:focus{padding:7px 12px;border:1px solid var(--c-line)!important;border-radius:999px!important;background:#fff!important;color:var(--c-ink)!important;font:inherit;font-size:13.5px;cursor:pointer;line-height:1.2}
.hs-chat-chips button:hover{border-color:var(--c-orange)!important}
