/* Bigamart help chat widget (project 22) */
.bgrc-btn{position:fixed;right:18px;bottom:18px;z-index:9995;display:flex;gap:8px;align-items:center;background:#1d4f91;color:#fff;border:0;border-radius:999px;padding:12px 18px;font:600 15px/1 Inter,system-ui,sans-serif;box-shadow:0 8px 24px rgba(15,23,42,.25);cursor:pointer;min-height:48px}
.bgrc-btn:hover{background:#163d70}
.bgrc-panel{position:fixed;right:18px;bottom:80px;z-index:9996;width:370px;max-width:calc(100vw - 24px);height:520px;max-height:calc(100vh - 110px);background:#fff;border:1px solid #cbd5e1;border-radius:16px;box-shadow:0 20px 50px rgba(15,23,42,.25);display:flex;flex-direction:column;overflow:hidden;font:15px/1.45 Inter,system-ui,sans-serif;color:#0f172a}
.bgrc-panel[hidden]{display:none}
.bgrc-head{background:#0f2f5c;color:#fff;padding:12px 14px;display:flex;justify-content:space-between;align-items:center;gap:10px}
.bgrc-title{font-weight:800;font-size:16px}
.bgrc-sub{font-size:12px;color:#cbd5e1}
.bgrc-x{background:transparent;border:0;color:#fff;font-size:26px;line-height:1;width:44px;height:44px;cursor:pointer}
.bgrc-list{flex:1;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:8px;background:#f8fafc}
.bgrc-msg{max-width:85%;padding:9px 12px;border-radius:14px;white-space:pre-wrap;word-wrap:break-word}
.bgrc-bot{align-self:flex-start;background:#fff;border:1px solid #e2e8f0}
.bgrc-me{align-self:flex-end;background:#1d4f91;color:#fff}
.bgrc-msg a{color:#1d4f91;text-decoration:underline}
.bgrc-me a{color:#fff}
.bgrc-wait{color:#64748b}
.bgrc-chips{display:flex;flex-wrap:wrap;gap:6px;padding:8px 12px;background:#f8fafc;border-top:1px solid #e2e8f0}
.bgrc-chips[hidden]{display:none}
.bgrc-chip{background:#fff;border:1px solid #c7d6ea;border-radius:999px;padding:7px 11px;font:500 13px Inter,system-ui,sans-serif;color:#0f172a;cursor:pointer}
.bgrc-form{display:flex;gap:8px;padding:10px;border-top:1px solid #e2e8f0;background:#fff}
.bgrc-form input{flex:1;min-width:0;border:1.5px solid #cbd5e1;border-radius:10px;padding:10px 12px;font:16px Inter,system-ui,sans-serif;color:#0f172a;outline:none}
.bgrc-form input:focus{border-color:#1d4f91}
.bgrc-send{background:#1d4f91;color:#fff;border:0;border-radius:10px;padding:0 16px;font:700 15px Inter,system-ui,sans-serif;cursor:pointer;min-height:44px}
.bgrc-send:disabled{opacity:.6}
.bgrc-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
#beacon-container,.BeaconFabButtonFrame,#hs-beacon{display:none!important}
@media (max-width:640px){
  .bgrc-btn{right:12px;bottom:12px;padding:12px 14px}
  .bgrc-panel{right:0;left:0;bottom:0;width:100%;max-width:none;height:85vh;max-height:none;border-radius:16px 16px 0 0}
  body.bgr-pdp .bgrc-btn{bottom:92px}
  body.bgrc-open .bgrc-btn{display:none}
}
