/* FB Bazar chat assistant — website widget (v2.35.0) */
#fbb-chat{--c:#1D4ED8;--c2:#1E3A8A;position:fixed;right:20px;bottom:20px;z-index:9990;font-family:inherit}
.fbb-chat-fab{position:relative;display:grid;place-items:center;width:58px;height:58px;padding:0 !important;border:0 !important;border-radius:50% !important;background:linear-gradient(135deg,var(--c),var(--c2)) !important;color:#fff !important;box-shadow:0 10px 26px rgba(29,78,216,.38);cursor:pointer;transition:transform .2s}
.fbb-chat-fab:hover{transform:translateY(-2px) scale(1.03)}
.fbb-chat-dot{position:absolute;top:4px;right:4px;width:12px;height:12px;border-radius:50%;background:#22C55E;box-shadow:0 0 0 2px #fff}
#fbb-chat.is-open .fbb-chat-fab{display:none}
#fbb-chat.is-open{z-index:10002}
.fbb-chat-box{position:absolute;right:0;bottom:0;display:flex;flex-direction:column;width:370px;height:min(560px,calc(100vh - 110px));border-radius:18px;background:#fff;box-shadow:0 20px 50px rgba(15,23,42,.25);overflow:hidden;animation:fbbChatIn .18s ease-out}
.fbb-chat-box[hidden]{display:none}
@keyframes fbbChatIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.fbb-chat-head{display:flex;align-items:center;gap:10px;padding:12px 12px 12px 14px;background:linear-gradient(135deg,var(--c),var(--c2));color:#fff}
.fbb-chat-av{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.18)}
.fbb-chat-av svg{width:20px;height:20px}
.fbb-chat-head div{flex:1;min-width:0;line-height:1.3}
.fbb-chat-head strong{display:block;font-size:15px;font-weight:600}
.fbb-chat-head small{display:flex;align-items:center;gap:5px;font-size:11.5px;opacity:.85}
.fbb-chat-head small i{width:7px;height:7px;border-radius:50%;background:#4ADE80}
.fbb-chat-x{display:grid;place-items:center;width:32px;height:32px;padding:0 !important;border:0 !important;border-radius:50% !important;background:rgba(255,255,255,.15) !important;color:#fff !important;font-size:14px !important;cursor:pointer}
.fbb-chat-list{flex:1;overflow-y:auto;padding:14px 12px;background:#F8FAFC;display:flex;flex-direction:column;gap:8px}
.fbb-chat-msg{max-width:86%;padding:9px 12px;border-radius:14px;font-size:14px;line-height:1.55;word-wrap:break-word;overflow-wrap:anywhere}
.fbb-chat-msg.is-bot{align-self:flex-start;background:#fff;color:#0F172A;border:1px solid #E2E8F0;border-bottom-left-radius:4px}
.fbb-chat-msg.is-user{align-self:flex-end;background:var(--c);color:#fff;border-bottom-right-radius:4px}
.fbb-chat-msg a{color:var(--c) !important;font-weight:600;text-decoration:underline !important}
.fbb-chat-msg.is-typing{display:flex;gap:4px;padding:12px 14px}
.fbb-chat-msg.is-typing span{width:7px;height:7px;border-radius:50%;background:#94A3B8;animation:fbbDot 1s infinite}
.fbb-chat-msg.is-typing span:nth-child(2){animation-delay:.15s}.fbb-chat-msg.is-typing span:nth-child(3){animation-delay:.3s}
@keyframes fbbDot{0%,80%,100%{opacity:.3;transform:none}40%{opacity:1;transform:translateY(-3px)}}
.fbb-chat-chips{display:flex;flex-wrap:wrap;gap:6px;padding:0 12px;background:#F8FAFC}
.fbb-chat-chips:not(:empty){padding-bottom:10px}
.fbb-chat-chips button{padding:6px 11px !important;border:1px solid #BFDBFE !important;border-radius:999px !important;background:#fff !important;color:var(--c) !important;font-size:12.5px !important;font-weight:500 !important;line-height:1.3 !important;cursor:pointer}
.fbb-chat-chips button:hover{background:#EFF6FF !important}
.fbb-chat-form{display:flex;align-items:flex-end;gap:8px;padding:10px;border-top:1px solid #E2E8F0;background:#fff}
.fbb-chat-form textarea{flex:1;min-height:40px;max-height:110px;padding:9px 12px !important;border:1px solid #CBD5E1 !important;border-radius:12px !important;font:inherit;font-size:14px !important;line-height:1.4 !important;resize:none;outline:0;box-shadow:none !important}
.fbb-chat-form textarea:focus{border-color:var(--c) !important}
.fbb-chat-form button{display:grid;place-items:center;flex:none;width:40px;height:40px;padding:0 !important;border:0 !important;border-radius:12px !important;background:var(--c) !important;color:#fff !important;cursor:pointer}
.fbb-chat-foot{padding:6px 12px 8px;background:#fff;color:#94A3B8;font-size:11px;text-align:center;line-height:1.4}
.fbb-chat-foot a{color:#16A34A !important;font-weight:600}
/* keep Astra's scroll-to-top clear of the chat button */
#ast-scroll-top{bottom:90px !important}
@media (max-width:767px){
	#fbb-chat{right:14px;bottom:calc(78px + env(safe-area-inset-bottom))}
	.fbb-chat-fab{width:52px;height:52px}
	#ast-scroll-top{bottom:144px !important}
	#fbb-chat.is-open{right:0;left:0;bottom:0;top:0}
	.fbb-chat-box{position:fixed;inset:0;width:auto;height:auto;border-radius:0;z-index:10001}
	.fbb-chat-msg{font-size:13.5px}
}
