/* BEMI ჩატბოტი */
.bb-root{--bb-blue:#1f4f7a;--bb-blue-d:#173d60;--bb-mint:#2fc59c;--bb-bg:#f4f7fa;--bb-line:#e3eaf1;position:fixed;right:22px;bottom:22px;z-index:99990;font-size:14px;line-height:1.5}
.bb-root *{box-sizing:border-box}
.scrollToTop{bottom:104px!important}

.bb-launch{position:relative;width:68px!important;height:68px!important;min-height:0!important;border-radius:50%!important;border:0!important;padding:0!important;cursor:pointer;background:linear-gradient(160deg,#2b6390,#1f4f7a)!important;box-shadow:0 10px 28px rgba(31,79,122,.35);display:flex;align-items:center;justify-content:center;transition:transform .2s ease,box-shadow .2s ease;animation:bb-float 3.2s ease-in-out infinite}
.bb-launch:hover{transform:translateY(-3px) scale(1.04);box-shadow:0 14px 34px rgba(31,79,122,.45)}
.bb-launch:focus-visible{outline:3px solid var(--bb-mint);outline-offset:3px}
.bb-launch .bb-robot{width:50px;height:50px}
.bb-dot{position:absolute;top:6px;right:6px;width:13px;height:13px;border-radius:50%;background:var(--bb-mint);border:2px solid #fff}
.bb-open .bb-launch{animation:none}

.bb-robot .bb-eyes{transform-origin:32px 26px;animation:bb-blink 4.5s infinite}
.bb-robot .bb-ant{animation:bb-pulse 2s ease-in-out infinite}
.bb-robot .bb-air path{animation:bb-air 1.8s ease-in-out infinite}
.bb-robot .bb-air path:nth-child(2){animation-delay:.25s}
.bb-robot .bb-air path:nth-child(3){animation-delay:.5s}
@keyframes bb-blink{0%,92%,100%{transform:scaleY(1)}95%{transform:scaleY(.1)}}
@keyframes bb-pulse{0%,100%{opacity:1}50%{opacity:.45}}
@keyframes bb-air{0%,100%{opacity:.25;transform:translateY(0)}50%{opacity:1;transform:translateY(2px)}}
@keyframes bb-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}

.bb-tip{position:absolute;right:4px;bottom:84px;width:250px;background:#fff;color:#2a3d52;border-radius:16px 16px 4px 16px;padding:12px 30px 12px 14px;box-shadow:0 12px 30px rgba(31,79,122,.2);cursor:pointer;opacity:0;transform:translateY(8px);pointer-events:none;transition:opacity .3s,transform .3s}
.bb-tip.bb-show{opacity:1;transform:none;pointer-events:auto}
.bb-tip b{display:block;color:var(--bb-blue)}
.bb-tip-x{position:absolute;top:6px;right:6px;border:0!important;background:none!important;min-height:0!important;box-shadow:none!important;color:#8a9bb0;font-size:18px;line-height:1;cursor:pointer;padding:2px 6px}

.bb-panel{position:absolute;right:0;bottom:84px;width:380px;max-width:calc(100vw - 32px);height:560px;max-height:calc(100vh - 120px);background:#fff;border-radius:20px;box-shadow:0 22px 60px rgba(18,52,84,.28);display:flex;flex-direction:column;overflow:hidden;opacity:0;transform:translateY(14px) scale(.98);transform-origin:bottom right;pointer-events:none;transition:opacity .25s ease,transform .25s ease}
.bb-open .bb-panel{opacity:1;transform:none;pointer-events:auto}

.bb-head{display:flex;align-items:center;gap:10px;padding:14px 14px 14px 16px;background:linear-gradient(135deg,#2b6390,#1f4f7a);color:#fff}
.bb-ava{width:44px;height:44px;border-radius:14px;background:rgba(255,255,255,.14);display:flex;align-items:center;justify-content:center}
.bb-ava .bb-robot{width:38px;height:38px}
.bb-title{flex:1;min-width:0}
.bb-title b{display:block;font-size:16px;color:#fff}
.bb-title span{font-size:12px;color:#d9e6f2;display:flex;align-items:center;gap:6px}
.bb-title i{width:7px;height:7px;border-radius:50%;background:var(--bb-mint);display:inline-block}
.bb-close{border:0!important;background:rgba(255,255,255,.14)!important;color:#fff!important;width:32px!important;height:32px!important;min-height:0!important;border-radius:10px!important;font-size:20px!important;line-height:1!important;cursor:pointer;padding:0!important;box-shadow:none!important}
.bb-close:hover{background:rgba(255,255,255,.25)}

.bb-body{flex:1;overflow-y:auto;padding:16px 14px;background:var(--bb-bg);display:flex;flex-direction:column;gap:10px;scroll-behavior:smooth}
.bb-msg{display:flex;gap:8px;align-items:flex-end;max-width:100%}
.bb-me{justify-content:flex-end}
.bb-mava{flex:0 0 30px;width:30px;height:30px;border-radius:10px;background:#fff;border:1px solid var(--bb-line);display:flex;align-items:center;justify-content:center}
.bb-mava .bb-robot{width:26px;height:26px}
.bb-bubble{max-width:82%;padding:10px 13px;border-radius:16px;background:#fff;color:#2a3d52;border:1px solid var(--bb-line);word-wrap:break-word}
.bb-bot .bb-bubble{border-bottom-left-radius:4px}
.bb-me .bb-bubble{background:var(--bb-blue);color:#fff;border-color:var(--bb-blue);border-bottom-right-radius:4px}
.bb-typing .bb-bubble{display:flex;gap:4px;padding:13px 14px}
.bb-typing .bb-bubble span{width:7px;height:7px;border-radius:50%;background:#9fb2c6;animation:bb-dots 1.2s infinite}
.bb-typing .bb-bubble span:nth-child(2){animation-delay:.15s}
.bb-typing .bb-bubble span:nth-child(3){animation-delay:.3s}
@keyframes bb-dots{0%,60%,100%{transform:translateY(0);opacity:.5}30%{transform:translateY(-4px);opacity:1}}

.bb-cards{display:flex;flex-direction:column;gap:8px;margin-top:10px}
.bb-card{display:flex;gap:10px;align-items:center;padding:8px;border:1px solid var(--bb-line);border-radius:12px;background:#fff;text-decoration:none!important;color:#2a3d52!important;transition:border-color .2s,box-shadow .2s}
.bb-card:hover{border-color:var(--bb-mint);box-shadow:0 6px 16px rgba(31,79,122,.1)}
.bb-card img{width:56px;height:56px;object-fit:contain;border-radius:8px;background:var(--bb-bg);flex:0 0 56px}
.bb-card b{display:block;font-size:13px;line-height:1.35;color:var(--bb-blue)}
.bb-card small{display:block;font-size:11.5px;color:#5b6b7b;margin-top:2px}
.bb-price{display:block;font-weight:700;color:#118a6a;margin-top:3px}
.bb-price em{font-style:normal;font-weight:400;color:#a8473a;font-size:11.5px}
.bb-links{margin-top:8px;display:flex;flex-wrap:wrap;gap:8px}
.bb-links a{font-weight:600;color:#118a6a!important;text-decoration:none!important}

.bb-chips{display:flex;gap:6px;overflow-x:auto;padding:8px 12px;background:#fff;border-top:1px solid var(--bb-line);scrollbar-width:none}
.bb-chips::-webkit-scrollbar{display:none}
.bb-chips:empty{display:none}
.bb-chip{flex:0 0 auto;border:1px solid #d6e9e0!important;background:#eef6f2!important;color:#0e7a5f!important;border-radius:18px!important;padding:5px 12px!important;font-size:12.5px!important;font-weight:600;cursor:pointer;line-height:1.4!important;min-height:0!important;height:auto!important;text-transform:none!important;white-space:nowrap}
.bb-chip:hover{background:var(--bb-mint)!important;color:#fff!important;border-color:var(--bb-mint)!important}

.bb-form{display:flex;gap:8px;padding:10px 12px 12px;background:#fff}
.bb-input{flex:1;height:44px!important;border:1px solid #d6e2ee!important;border-radius:12px!important;padding:0 14px!important;font-size:14px!important;background:var(--bb-bg)!important;color:#2a3d52!important;box-shadow:none!important}
.bb-input:focus{border-color:var(--bb-mint)!important;background:#fff!important;outline:0;box-shadow:0 0 0 3px rgba(47,197,156,.15)!important}
.bb-send{width:44px!important;height:44px!important;flex:0 0 44px;border:0!important;border-radius:12px!important;background:var(--bb-mint)!important;color:#fff!important;display:flex!important;align-items:center;justify-content:center;cursor:pointer;padding:0!important;min-height:0!important;box-shadow:none!important}
.bb-send:hover{background:#25ad88!important}
.bb-send svg path{fill:#fff}
.bb-send svg{width:20px;height:20px}

@media (max-width:520px){
	.bb-root{right:14px;bottom:14px}
	.bb-launch{width:60px;height:60px}
	.bb-launch .bb-robot{width:44px;height:44px}
	.bb-panel{position:fixed;inset:0;width:100%;max-width:none;height:100%;max-height:none;border-radius:0}
	.bb-tip{bottom:74px}
}
@media (prefers-reduced-motion:reduce){.bb-launch,.bb-robot *{animation:none!important}.bb-panel,.bb-tip{transition:none}}
