#ih-chat{position:fixed;right:20px;bottom:20px;z-index:99990;display:inline-flex;align-items:center;gap:10px;height:54px;padding:0 20px 0 8px;border:0;border-radius:30px;background:#0B1F3A;color:#fff;font-family:inherit;font-size:15px;font-weight:700;line-height:1;cursor:pointer;box-shadow:0 12px 30px rgba(0,0,0,.28);transition:transform .25s ease,box-shadow .25s ease,opacity .25s ease}
#ih-chat:hover{transform:translateY(-3px);box-shadow:0 16px 36px rgba(0,0,0,.34)}
#ih-chat .ih-chat-ico{width:40px;height:40px;border-radius:50%;background:#FFD700;color:#0B1F3A;display:inline-flex;align-items:center;justify-content:center;font-size:17px;position:relative}
#ih-chat .ih-chat-ico:after{content:'';position:absolute;right:-1px;top:-1px;width:11px;height:11px;border-radius:50%;background:#fff;box-shadow:0 0 0 2px #0B1F3A}
#ih-chat .ih-chat-txt{text-align:left}
#ih-chat .ih-chat-txt small{display:block;font-size:11px;font-weight:600;color:rgba(255,255,255,.65);margin-top:3px}
#ih-chat .ih-chat-badge{position:absolute;top:-6px;left:34px;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:#FFD700;color:#0B1F3A;font-size:11px;font-weight:800;display:none;align-items:center;justify-content:center;box-shadow:0 0 0 2px #0B1F3A}
#ih-chat.has-unread .ih-chat-badge{display:inline-flex}
#ih-chat.is-open{opacity:0;pointer-events:none;transform:translateY(10px)}
.ihai{position:fixed;right:20px;bottom:20px;z-index:99995;width:380px;height:min(620px,calc(100vh - 110px));display:flex;flex-direction:column;background:#fff;border-radius:22px;overflow:hidden;box-shadow:0 24px 70px rgba(11,31,58,.28);font-family:inherit;animation:ihaiIn .25s ease}
.ihai[hidden]{display:none}
@keyframes ihaiIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.ihai-head{display:flex;align-items:center;gap:12px;padding:16px 16px 16px 18px;background:#0B1F3A;color:#fff}
.ihai-av{width:42px;height:42px;border-radius:50%;background:#FFD700;color:#0B1F3A;display:flex;align-items:center;justify-content:center;font-size:19px;flex-shrink:0}
.ihai-who{flex:1;min-width:0}
.ihai-who b{display:block;font-size:16px;color:#fff}
.ihai-who small{display:flex;align-items:center;gap:6px;font-size:12px;color:rgba(255,255,255,.7);margin-top:2px}
.ihai-who small:before{content:'';width:8px;height:8px;border-radius:50%;background:#fff}
.ihai-x{width:36px;height:36px;border:0;border-radius:50%;background:rgba(255,255,255,.1);color:#fff;font-size:16px;cursor:pointer;display:flex;align-items:center;justify-content:center}
.ihai-x:hover{background:rgba(255,255,255,.2)}
.ihai-log{flex:1;overflow-y:auto;padding:18px 16px 8px;background:#f6f7f9;scrollbar-width:none}
.ihai-log::-webkit-scrollbar{display:none}
.ihai-m{max-width:84%;margin:0 0 10px;padding:11px 14px;border-radius:16px;font-size:14.5px;line-height:1.5;color:#0B1F3A;background:#fff;box-shadow:0 1px 2px rgba(11,31,58,.06);word-wrap:break-word;white-space:pre-wrap}
.ihai-m.me{margin-left:auto;background:#0B1F3A;color:#fff;border-bottom-right-radius:5px}
.ihai-m.them{border-bottom-left-radius:5px}
.ihai-m.sys{max-width:100%;background:transparent;box-shadow:none;text-align:center;font-size:12.5px;color:#6b7280;padding:4px 10px}
.ihai-m a{color:inherit;font-weight:700;text-decoration:underline;text-decoration-color:#FFD700;text-decoration-thickness:2px;word-break:break-all}
.ihai-m.me a{text-decoration-color:#FFD700}
.ihai-from{display:block;font-size:11px;font-weight:700;color:#6b7280;margin:0 0 3px 4px}
.ihai-typing{display:inline-flex;gap:4px;padding:14px 16px}
.ihai-typing i{width:7px;height:7px;border-radius:50%;background:#9aa3b2;animation:ihaiDot 1.2s infinite}
.ihai-typing i:nth-child(2){animation-delay:.15s}
.ihai-typing i:nth-child(3){animation-delay:.3s}
@keyframes ihaiDot{0%,60%,100%{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}
.ihai-chips{display:flex;flex-wrap:wrap;gap:7px;padding:4px 16px 10px;background:#f6f7f9}
.ihai-chips:empty{display:none}
.ihai-chips button{border:0;border-radius:20px;padding:8px 13px;background:#fff;color:#0B1F3A;font-family:inherit;font-size:13px;font-weight:700;cursor:pointer;box-shadow:inset 0 0 0 1px #e3e6eb}
.ihai-chips button:hover{background:#FFD700;box-shadow:none}
.ihai-details{padding:12px 16px;background:#fff8d1;border-top:1px solid #f1e6a8}
.ihai-details[hidden]{display:none}
.ihai-details p{margin:0 0 8px;font-size:13px;color:#0B1F3A}
.ihai-details input{display:block;width:100%;box-sizing:border-box;margin:0 0 7px;padding:10px 12px;border:1px solid #e3d78f;border-radius:10px;font-family:inherit;font-size:14px;background:#fff;color:#0B1F3A}
.ihai-drow{display:flex;gap:8px}
.ihai-drow button{flex:1;border:0;border-radius:10px;padding:10px;font-family:inherit;font-weight:800;cursor:pointer;background:#0B1F3A;color:#fff}
.ihai-drow .ihai-skip{background:transparent;color:#0B1F3A}
.ihai-form{display:flex;align-items:flex-end;gap:8px;padding:12px;border-top:1px solid #eef0f3;background:#fff;margin:0}
.ihai-form textarea{flex:1;resize:none;max-height:110px;min-height:44px;box-sizing:border-box;padding:11px 14px;border:1px solid #e3e6eb;border-radius:14px;font-family:inherit;font-size:15px;line-height:1.4;color:#0B1F3A;background:#f6f7f9;outline:none}
.ihai-form textarea:focus{border-color:#0B1F3A;background:#fff}
.ihai-form button{width:44px;height:44px;flex-shrink:0;border:0;border-radius:50%;background:#FFD700;color:#0B1F3A;font-size:16px;cursor:pointer}
.ihai-form button:disabled{opacity:.5;cursor:default}
@media (max-width:768px){
#ih-chat{right:20px;bottom:14px;padding:0 7px;height:56px;width:56px;justify-content:center}
#ih-chat .ih-chat-txt{display:none}
#ih-chat .ih-chat-ico{width:42px;height:42px}
.ihai{right:0;bottom:0;left:0;top:0;width:auto;height:100%;height:100dvh;border-radius:0}
body.ihai-open{overflow:hidden}

}
body.ihai-open .xoo-wsc-basket{display:none!important}
