/* ============ 24/7 ASSISTANT WIDGET ============
   Stacked above the WhatsApp button in the same right-hand column
   (.wa-fab sits at bottom:22px, 60px tall) - never collides with it or
   the bottom-left sound toggle. */

#assistantToggle{position:fixed;right:22px;bottom:96px;z-index:45;width:56px;height:56px;border-radius:50%;
  background:linear-gradient(160deg,var(--teal),var(--teal-deep));color:#fff;border:0;cursor:pointer;
  display:grid;place-items:center;box-shadow:0 14px 30px -10px rgba(6,116,131,.55);transition:transform .3s var(--ease-soft, ease)}
#assistantToggle:hover{transform:translateY(-2px) scale(1.05)}
#assistantToggle svg{width:26px;height:26px}
@media (max-width:680px){#assistantToggle{right:16px;bottom:86px;width:50px;height:50px}}

#assistantWindow{position:fixed;right:22px;bottom:162px;z-index:70;width:min(360px,calc(100vw - 32px));
  max-height:min(70vh,560px);background:var(--cream);border-radius:22px;box-shadow:0 30px 60px -20px rgba(4,33,47,.35);
  border:1px solid var(--line);display:flex;flex-direction:column;overflow:hidden;
  opacity:0;visibility:hidden;transform:translateY(16px) scale(.98);transition:opacity .25s ease,transform .25s ease,visibility .25s}
#assistantWindow.open{opacity:1;visibility:visible;transform:translateY(0) scale(1)}
@media (prefers-reduced-motion:reduce){#assistantWindow{transition:opacity .01s linear,visibility .01s}}
@media (max-width:680px){#assistantWindow{right:16px;bottom:146px}}

.ah-head{background:var(--navy);color:#fff;padding:16px 18px;display:flex;align-items:center;gap:10px}
.ah-head h4{font-family:'Fraunces',serif;font-weight:500;font-size:1.05rem;margin:0}
.ah-head p{font-size:.75rem;color:var(--mint);margin:0}
.ah-close{margin-left:auto;background:transparent;border:0;color:#fff;cursor:pointer;padding:4px;opacity:.8}
.ah-close:hover{opacity:1}
.ah-close svg{width:18px;height:18px}

.ah-body{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px}
.ah-msg{max-width:82%;padding:10px 14px;border-radius:14px;font-size:.88rem;line-height:1.45}
.ah-msg.bot{align-self:flex-start;background:#fff;border:1px solid var(--line);color:var(--ink)}
.ah-msg.user{align-self:flex-end;background:var(--teal-soft);color:var(--teal-deep);font-weight:600}
.ah-msg a{color:var(--teal-deep);font-weight:700}

.ah-chips{display:flex;flex-wrap:wrap;gap:8px;padding:0 16px 12px}
.ah-chip{border:1.5px solid var(--teal);background:#fff;color:var(--teal-deep);font-family:inherit;font-weight:600;
  font-size:.8rem;padding:8px 14px;border-radius:60px;cursor:pointer;transition:background .2s,color .2s}
.ah-chip:hover{background:var(--teal);color:#fff}

.ah-form{display:flex;gap:8px;padding:14px 16px;border-top:1px solid var(--line);background:#fff}
.ah-form input{flex:1;font-family:inherit;font-size:.88rem;border:1.5px solid var(--line);border-radius:60px;
  padding:10px 16px;outline:none}
.ah-form input:focus{border-color:var(--teal)}
.ah-form button{background:var(--navy);color:#fff;border:0;border-radius:50%;width:40px;height:40px;flex:none;
  display:grid;place-items:center;cursor:pointer}
.ah-form button svg{width:18px;height:18px}
