/* ویجت پشتیبانی سایت */
.support{position:fixed;right:16px;bottom:16px;z-index:9500;display:flex;flex-direction:column;align-items:flex-start;gap:12px}
button.support__bubble{width:64px;height:64px;padding:0;border-radius:50%;background:#c8673f;color:#0f0f0f!important;box-shadow:0 8px 24px rgba(0,0,0,.35)!important;display:grid;place-items:center;transition:transform .2s ease,background .2s ease}
button.support__bubble:hover{background:#ece9e2;transform:scale(1.06)}
.support__bubble .icon:before{font-size:1.7rem;line-height:1}
.support.is-open .support__bubble .icon:before{content:"\f00d"}
.support__panel{width:min(370px,calc(100vw - 32px));max-height:calc(100dvh - 110px);display:flex;flex-direction:column;background:#fff;box-shadow:0 18px 50px rgba(0,0,0,.35);overflow:hidden;animation:supportIn .25s ease}
.support__panel[hidden]{display:none}
@keyframes supportIn{from{opacity:0;transform:translateY(12px)}}
.support__head{display:flex;align-items:center;gap:12px;padding:12px 14px;background:#0f0f0f;color:#fff;flex:none}
.support__avatar{width:46px;height:46px;border-radius:50%;background:#fff;padding:5px;object-fit:contain;flex:none}
.support__head div{flex:1;min-width:0;line-height:1.6}
.support__head strong{display:block;color:#fff;font-size:1rem}
.support__head span{font-size:.82rem;color:rgba(255,255,255,.75)}
button.support__close{width:32px;height:32px;padding:0;border-radius:50%;background:rgba(255,255,255,.14);box-shadow:none!important;color:#fff!important;display:grid;place-items:center;flex:none}
button.support__close:hover{background:rgba(255,255,255,.28)}
.support__close .icon:before{font-size:.9rem;line-height:1}
.support__log{flex:1 1 auto;min-height:72px;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:8px;background:#f5f5f5}
p.support__msg{margin:0;padding:8px 12px;max-width:88%;align-self:flex-start;background:#fff;color:#182413;font-size:.9rem;line-height:1.75;text-align:start;box-shadow:0 1px 3px rgba(0,0,0,.08);overflow-wrap:anywhere}
p.support__msg{white-space:pre-line}
p.support__msg--me{align-self:flex-end;background:#c8673f;color:#fff}
.support__who{display:block;font-size:.72rem;font-weight:700;color:#a9532f;line-height:1.6}
.support__two[hidden]{display:none}
.support__bubble{position:relative}
.support__bubble.has-new::after{content:"";position:absolute;top:3px;right:3px;width:14px;height:14px;border-radius:50%;background:#e8590c;border:2px solid #fff}
.support__form{display:grid;gap:8px;padding:12px 14px;margin:0;flex:none}
.support__two{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.support__form input:not([name=website]),.support__form textarea{-webkit-appearance:none;appearance:none;width:100%;margin:0;padding:0 .75rem;height:2.5rem;background:transparent;border:solid 2px #E0E2DD;border-radius:0;color:#182413;font-size:.9rem;outline:0}
.support__form textarea{height:auto;min-height:3.6rem;padding:.4rem .75rem;line-height:1.7;resize:none}
.support__form input:focus,.support__form textarea:focus{border-color:#c8673f}
.support__form [aria-invalid=true]{border-color:#c0392b}
.support__form .form__hp{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
button.support__send{width:100%;height:2.6rem;background:#0f0f0f;box-shadow:none!important;color:#fff!important}
button.support__send:hover{background:#c8673f}
button.support__send:disabled{opacity:.6}
p.support__note{margin:0;font-size:.76rem;line-height:1.6;color:#616759;text-align:start}
p.support__status{margin:0;min-height:0;font-size:.84rem;font-weight:700;line-height:1.6;color:#a9532f;text-align:start}
p.support__status.err{color:#c0392b}
p.support__status:empty{display:none}
body.is-navPanel-visible .support{visibility:hidden}
@media screen and (max-width:736px){
  button.support__bubble{width:56px;height:56px}
  .support__bubble .icon:before{font-size:1.5rem}
}
@media (prefers-reduced-motion:reduce){.support__panel{animation:none}button.support__bubble{transition:none}}
