/* CHAT WIDGET (visual only) */
.bbchat{position:fixed;z-index:90;right:clamp(14px,2vw,28px);bottom:clamp(14px,2vw,28px);font-family:'Inter Tight',sans-serif}
.bbchat__fab{width:62px;height:62px;border-radius:50%;border:1px solid rgba(207,159,69,.55);background:#151311;color:#F4F2EE;display:grid;place-items:center;cursor:pointer;box-shadow:0 12px 34px rgba(0,0,0,.28);transition:transform .3s ease;position:relative}
.bbchat__fab:hover{transform:scale(1.06)}
.bbchat__fab svg{width:26px;height:26px;grid-area:1/1;transition:opacity .25s,transform .35s}
.bbchat__fab .x{opacity:0;transform:rotate(-60deg)}
.bbchat.is-open .bbchat__fab .c{opacity:0;transform:rotate(60deg)}
.bbchat.is-open .bbchat__fab .x{opacity:1;transform:none}
.bbchat__dot{position:absolute;top:3px;right:3px;width:13px;height:13px;border-radius:50%;background:#CF9F45;border:2px solid #151311}
.bbchat.is-open .bbchat__dot{display:none}
.bbchat__panel{position:absolute;right:0;bottom:78px;width:min(370px,calc(100vw - 28px));height:min(540px,calc(100svh - 120px));background:#F4F2EE;color:#151311;border-radius:24px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 30px 80px rgba(0,0,0,.32);transform-origin:100% 100%;opacity:0;transform:translateY(16px) scale(.96);pointer-events:none;visibility:hidden;transition:opacity .3s ease,transform .4s cubic-bezier(.2,.8,.2,1),visibility 0s .4s}
.bbchat.is-open .bbchat__panel{opacity:1;transform:none;pointer-events:auto;visibility:visible;transition-delay:0s}
.bbchat__head{background:#151311;color:#F4F2EE;padding:18px 20px;display:flex;align-items:center;gap:12px}
.bbchat__av{width:42px;height:42px;border-radius:50%;background:#1f1c19;border:1px solid rgba(207,159,69,.5);display:grid;place-items:center;font-weight:500;color:#CF9F45;font-size:17px}
.bbchat__head strong{display:block;font-weight:500;font-size:16px}
.bbchat__head small{display:flex;align-items:center;gap:6px;font-size:12px;color:#ACA89F}
.bbchat__head small:before{content:"";width:7px;height:7px;border-radius:50%;background:#6fcf8a}
.bbchat__msgs{flex:1;overflow-y:auto;padding:18px;display:flex;flex-direction:column;gap:10px;overscroll-behavior:contain}
.bbchat__m{max-width:82%;padding:11px 14px;border-radius:18px;font-size:14.5px;line-height:1.45;animation:bbIn .35s ease both}
.bbchat__m--bot{background:#fff;border:1px solid rgba(21,19,17,.07);border-bottom-left-radius:6px;align-self:flex-start}
.bbchat__m--me{background:#151311;color:#F4F2EE;border-bottom-right-radius:6px;align-self:flex-end}
.bbchat__typing{display:flex;gap:4px;padding:14px}
.bbchat__typing i{width:6px;height:6px;border-radius:50%;background:#ACA89F;animation:bbDot 1s infinite}
.bbchat__typing i:nth-child(2){animation-delay:.15s}.bbchat__typing i:nth-child(3){animation-delay:.3s}
.bbchat__chips{display:flex;flex-wrap:wrap;gap:8px;padding:0 18px 12px}
.bbchat__chips[hidden]{display:none}
.bbchat__chips button{border:1px solid rgba(21,19,17,.18);background:transparent;border-radius:999px;padding:8px 14px;font:inherit;font-size:13px;cursor:pointer;color:inherit;transition:background .2s,color .2s}
.bbchat__chips button:hover{background:#151311;color:#F4F2EE}
.bbchat__form{display:flex;gap:8px;padding:12px;border-top:1px solid rgba(21,19,17,.08);background:#fff}
.bbchat__form input{flex:1;min-width:0;border:0;background:#F4F2EE;border-radius:999px;padding:12px 16px;font:inherit;font-size:14.5px;color:inherit;outline:none}
.bbchat__form input:focus-visible{box-shadow:0 0 0 2px #CF9F45}
.bbchat__form button{width:44px;height:44px;border-radius:50%;border:0;background:#CF9F45;color:#151311;display:grid;place-items:center;cursor:pointer}
.bbchat__form button svg{width:18px;height:18px}
@keyframes bbIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes bbDot{0%,60%,100%{transform:translateY(0);opacity:.5}30%{transform:translateY(-4px);opacity:1}}
@media (prefers-reduced-motion:reduce){.bbchat__panel,.bbchat__m{transition:none;animation:none}}
