/* Floating support chat on the store pages. */
.hc-chat{position:fixed;inset-inline-end:20px;bottom:20px;z-index:95;font-family:Cairo,Tahoma,Arial,sans-serif}
.hc-fab{position:relative;width:58px;height:58px;border-radius:50%;border:0;background:#0b1630;color:#dfff00;box-shadow:0 10px 26px #0b163040;display:grid;place-items:center;cursor:pointer;transition:transform .18s}
.hc-fab:hover{transform:translateY(-2px)}
.hc-badge{position:absolute;top:-3px;inset-inline-end:-3px;min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:#d93a3a;color:#fff;font-size:12px;font-weight:800;line-height:22px;text-align:center}
.hc-panel{position:absolute;bottom:72px;inset-inline-end:0;width:min(370px,calc(100vw - 32px));height:min(560px,calc(100dvh - 120px));background:#fff;border:1px solid #e5e9ee;border-radius:20px;box-shadow:0 24px 60px #0b163033;display:flex;flex-direction:column;overflow:hidden}
.hc-panel[hidden]{display:none}
.hc-head{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#0b1630;color:#fff;padding:14px 16px}
.hc-head b{display:block;font-size:15px}.hc-head small{display:block;color:#b8c4d8;font-size:11.5px}
.hc-close{background:transparent;border:0;color:#fff;font-size:26px;line-height:1;cursor:pointer;min-width:40px;min-height:40px}
.hc-contact{padding:16px;overflow:auto}.hc-contact p{font-size:13px;color:#17223b}.hc-contact label{font-size:12px;margin-bottom:10px}
.hc-error{color:#b4473c!important;font-size:12px!important}
.hc-body{flex:1;overflow:auto;padding:12px;background:#f5f7fa;display:flex;flex-direction:column}
.hc-topics p{font-size:13px;font-weight:700;color:#17223b;margin:0 0 8px}.hc-topics>div{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
.hc-topics button{border:1px solid #dce2e9;background:#fff;color:#0b1630;border-radius:20px;padding:5px 12px;font-size:12.5px;font-weight:700;cursor:pointer}
.hc-topics button[aria-pressed=true]{background:#0b1630;color:#fff;border-color:#0b1630}
.hc-msgs{display:flex;flex-direction:column;gap:8px}
.hc-m{max-width:82%;padding:8px 12px;border-radius:16px;font-size:13.5px;line-height:1.7;white-space:pre-line;overflow-wrap:anywhere}
.hc-m small{display:block;font-size:10.5px;opacity:.75;margin-top:2px}
.hc-m.customer{align-self:flex-end;background:#0b1630;color:#fff;border-end-end-radius:4px}
.hc-m.staff{align-self:flex-start;background:#fff;border:1px solid #e5e9ee;color:#17223b;border-end-start-radius:4px}
.hc-m.bot{align-self:flex-start;background:#f3f9cf;color:#17223b}
.hc-m img{display:block;max-width:100%;max-height:220px;border-radius:10px;margin-bottom:4px}
.hc-compose{display:flex;align-items:flex-end;gap:6px;padding:10px;border-top:1px solid #e5e9ee;background:#fff}
.hc-compose[hidden]{display:none}
.hc-compose textarea{flex:1;margin:0;min-height:42px;max-height:120px;resize:none;border-radius:12px;padding:9px 12px}
.hc-send{width:42px;height:42px;border-radius:50%;border:0;background:#dfff00;color:#0b1630;font-size:18px;cursor:pointer;transform:scaleX(-1)}
[dir=ltr] .hc-send{transform:none}
.hc-attach{margin:0;width:38px;height:42px;display:grid;place-items:center;color:#748094;cursor:pointer}
.hc-file{margin:0;padding:0 14px 8px;font-size:12px;color:#436118!important}
@media(max-width:767px){.hc-chat{bottom:calc(80px + env(safe-area-inset-bottom,0px));inset-inline-end:14px}.hc-fab{width:52px;height:52px}}
@media(prefers-reduced-motion:reduce){.hc-fab{transition:none}}
/* The store's general input style shows every input; the photo picker must stay hidden behind its icon. */
.hc-chat .hc-attach input[type=file]{display:none!important}
.hc-chat .hc-compose textarea{margin-top:0}
.hc-topics button:focus-visible,.hc-fab:focus-visible,.hc-send:focus-visible{outline:3px solid #8b9d2d;outline-offset:2px}
