/* asst: чат-консультант shop.ip-cam.club */
.asst-root{position:fixed;right:16px;bottom:16px;z-index:2147483000;
 font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
.asst-btn{width:56px;height:56px;border-radius:50%;border:0;cursor:pointer;background:#0b6bcb;color:#fff;
 box-shadow:0 6px 20px rgba(0,0,0,.25);display:flex;align-items:center;justify-content:center;font-size:23px;
 transition:transform .15s ease}
.asst-btn:hover{transform:scale(1.06)}
.asst-btn:focus-visible{outline:3px solid #7fb6f0;outline-offset:2px}
.asst-panel{position:absolute;right:0;bottom:70px;width:360px;max-width:calc(100vw - 32px);height:520px;
 max-height:calc(100vh - 110px);background:#fff;border-radius:14px;box-shadow:0 12px 40px rgba(0,0,0,.28);
 display:none;flex-direction:column;overflow:hidden}
.asst-panel.is-open{display:flex}
.asst-head{background:#0b6bcb;color:#fff;padding:11px 14px;display:flex;align-items:center;justify-content:space-between;gap:8px}
.asst-title{font-size:15px;font-weight:600;line-height:1.2}
.asst-sub{font-size:11px;opacity:.85}
.asst-close{background:transparent;border:0;color:#fff;font-size:22px;cursor:pointer;line-height:1;padding:2px 4px}
.asst-body{flex:1;overflow-y:auto;padding:12px;background:#f6f8fb;display:flex;flex-direction:column;gap:8px;
 -webkit-overflow-scrolling:touch}
.asst-msg{max-width:86%;padding:9px 12px;border-radius:12px;font-size:14px;line-height:1.45;word-wrap:break-word;overflow-wrap:anywhere}
.asst-msg.bot{background:#fff;border:1px solid #e3e8ef;align-self:flex-start;border-bottom-left-radius:4px}
.asst-msg.user{background:#0b6bcb;color:#fff;align-self:flex-end;border-bottom-right-radius:4px}
.asst-msg a{color:#0b6bcb;text-decoration:underline}
.asst-msg code{background:#eef2f7;padding:1px 4px;border-radius:4px;font-size:13px}
.asst-dots span{display:inline-block;width:6px;height:6px;margin:0 1px;background:#9aa7b8;border-radius:50%;animation:asst-b 1s infinite}
.asst-dots span:nth-child(2){animation-delay:.15s}
.asst-dots span:nth-child(3){animation-delay:.3s}
@keyframes asst-b{0%,80%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
.asst-hint{font-size:10px;color:#8a97a8;padding:0 10px 5px;background:#fff}
.asst-foot{border-top:1px solid #e3e8ef;padding:8px;display:flex;gap:8px;align-items:flex-end;background:#fff;
 padding-bottom:calc(8px + env(safe-area-inset-bottom))}
.asst-in{flex:1;resize:none;border:1px solid #cfd8e3;border-radius:10px;padding:9px 10px;font-size:14px;
 line-height:1.35;max-height:96px;font-family:inherit;color:#1d2733;background:#fff}
.asst-in:focus{outline:2px solid #7fb6f0;outline-offset:1px;border-color:#7fb6f0}
.asst-send{width:40px;height:40px;border-radius:10px;border:0;background:#0b6bcb;color:#fff;cursor:pointer;font-size:15px}
.asst-send[disabled]{opacity:.45;cursor:default}
@media (max-width:480px){
 .asst-root{right:12px;bottom:12px}
 .asst-panel{position:fixed;left:8px;right:8px;width:auto;height:auto;max-height:82vh;bottom:80px}
}
@media (prefers-reduced-motion:reduce){.asst-btn,.asst-dots span{animation:none!important;transition:none!important}}

/* ASST_POS_OVERRIDE_START */
.asst-root{right:92px; bottom:calc(24px + env(safe-area-inset-bottom))}
.asst-panel{right:0; bottom:74px; max-height:calc(100vh - 130px)}
@media (max-width:480px){
 .asst-root{right:76px; bottom:calc(16px + env(safe-area-inset-bottom))}
 .asst-panel{position:fixed; left:8px; right:8px; width:auto; height:auto;
   bottom:calc(84px + env(safe-area-inset-bottom)); max-height:calc(100vh - 170px)}
}
/* ASST_POS_OVERRIDE_END */
