/* ALUH — concierge chat widget (chat.js). All classes namespaced .aluh-chat-*
   so nothing collides with styles.css. Palette matches the site:
   bg #faf3eb · cream #f5e6d3 · dark #3a2e26 · mocha #6b4e3d · gold #c2a26b. */

/* ---- Launcher (bottom-left; the WhatsApp float stays bottom-right) ---- */
.aluh-chat-launcher{
  position:fixed;left:20px;bottom:20px;z-index:95;
  display:inline-flex;align-items:center;gap:9px;
  background:#6b4e3d;color:#f5e6d3;border:1px solid #6b4e3d;
  border-radius:999px;padding:0 20px 0 16px;height:56px;cursor:pointer;
  font-family:-apple-system,BlinkMacSystemFont,'SF Pro Text','SF Pro Display','Helvetica Neue','Segoe UI',Roboto,Arial,sans-serif;
  font-size:.95rem;letter-spacing:.04em;
  box-shadow:0 8px 24px rgba(58,46,38,.28);
  transition:transform .18s ease,background .18s ease;
}
.aluh-chat-launcher:hover{transform:translateY(-2px);background:#54402f}
.aluh-chat-launcher svg{width:26px;height:26px;fill:#f5e6d3;flex:none}
.aluh-chat-launcher .aluh-chat-launcher-dot{
  position:absolute;top:-3px;right:-3px;width:13px;height:13px;border-radius:50%;
  background:#c2a26b;border:2px solid #fefcfa;
}
body.has-bar .aluh-chat-launcher{bottom:112px}

/* ---- Panel ---- */
.aluh-chat-panel{
  position:fixed;left:20px;bottom:88px;z-index:150;
  width:min(380px,calc(100vw - 24px));
  height:min(580px,calc(100dvh - 120px));
  display:flex;flex-direction:column;
  background:#faf3eb;border:1px solid #e7dccf;border-radius:20px;
  box-shadow:0 24px 60px rgba(58,46,38,.30);
  font-family:-apple-system,BlinkMacSystemFont,'SF Pro Text','SF Pro Display','Helvetica Neue','Segoe UI',Roboto,Arial,sans-serif;
  color:#3a2e26;font-size:15px;line-height:1.55;
  opacity:0;transform:translateY(14px) scale(.98);pointer-events:none;
  transition:opacity .22s ease,transform .22s ease;
  overflow:hidden;
}
body.has-bar .aluh-chat-panel{bottom:180px}
.aluh-chat-panel.aluh-chat-open{opacity:1;transform:none;pointer-events:auto}
@media(max-width:480px){
  .aluh-chat-panel{left:12px;bottom:84px}
  .aluh-chat-launcher{left:12px;bottom:16px}
  body.has-bar .aluh-chat-launcher{bottom:108px}
  body.has-bar .aluh-chat-panel{bottom:176px}
}

/* ---- Header ---- */
.aluh-chat-head{
  flex:none;display:flex;align-items:center;gap:12px;
  background:#54402f;color:#f5e6d3;padding:14px 16px;
}
.aluh-chat-logo{height:22px;width:auto;display:block}
.aluh-chat-avatar{
  width:40px;height:40px;border-radius:50%;flex:none;
  background:#c2a26b;color:#3a2e26;
  display:flex;align-items:center;justify-content:center;
  font-family:'Julius Sans One',-apple-system,BlinkMacSystemFont,sans-serif;
  font-size:1.05rem;letter-spacing:.05em;
}
.aluh-chat-head-txt{flex:1;min-width:0}
.aluh-chat-name{
  font-family:'Julius Sans One',-apple-system,BlinkMacSystemFont,sans-serif;
  letter-spacing:.14em;font-size:1.02rem;line-height:1.15;color:#f5e6d3;
}
.aluh-chat-sub{font-size:.78rem;color:#e8dcc8;letter-spacing:.03em;margin-top:3px}
.aluh-chat-close{
  flex:none;background:transparent;border:none;color:#f5e6d3;cursor:pointer;
  font-size:1.5rem;line-height:1;padding:6px 8px;border-radius:8px;
}
.aluh-chat-close:hover{color:#c2a26b}

/* ---- Messages ---- */
.aluh-chat-msgs{
  flex:1;overflow-y:auto;padding:16px 14px 8px;
  display:flex;flex-direction:column;gap:10px;
  -webkit-overflow-scrolling:touch;
}
.aluh-chat-msg{max-width:88%;padding:11px 14px;border-radius:16px;white-space:pre-wrap;word-wrap:break-word}
.aluh-chat-msg p{margin:0 0 6px}
.aluh-chat-msg p:last-child{margin-bottom:0}
.aluh-chat-bot{
  align-self:flex-start;background:#f5e6d3;color:#3a2e26;
  border:1px solid #e7dccf;border-bottom-left-radius:6px;
}
.aluh-chat-user{
  align-self:flex-end;background:#6b4e3d;color:#fff;
  border-bottom-right-radius:6px;
}
.aluh-chat-cat{
  font-family:'Julius Sans One',-apple-system,BlinkMacSystemFont,sans-serif;
  letter-spacing:.14em;font-size:.8rem;color:#6b4e3d;
  margin:8px 0 4px;text-transform:uppercase;
}
.aluh-chat-cat:first-child{margin-top:0}
.aluh-chat-svc{display:flex;justify-content:space-between;gap:14px;padding:3px 0;border-bottom:1px dashed #e7dccf}
.aluh-chat-svc:last-of-type{border-bottom:none}
.aluh-chat-svc b{color:#a5813f;font-weight:600;white-space:nowrap}
.aluh-chat-note{font-size:.86rem;color:#7a6a5e;margin-top:8px}
.aluh-chat-typing{align-self:flex-start;color:#7a6a5e;font-size:1.1rem;letter-spacing:.2em;padding:4px 8px}

/* ---- CTA buttons inside bot messages ---- */
.aluh-chat-ctas{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.aluh-chat-cta{
  display:inline-block;padding:10px 18px;border-radius:999px;
  font-size:.88rem;letter-spacing:.03em;text-decoration:none;cursor:pointer;
  background:#6b4e3d;color:#fff;border:1px solid #6b4e3d;
}
.aluh-chat-cta:hover{background:#54402f;text-decoration:none}
.aluh-chat-cta.aluh-chat-cta-wa{background:#fff;color:#6b4e3d;border-color:#c2a26b}
.aluh-chat-cta.aluh-chat-cta-wa:hover{background:#c2a26b;color:#fff}

/* ---- Quick replies ---- */
.aluh-chat-quick{
  flex:none;display:flex;flex-wrap:wrap;gap:8px;
  padding:10px 14px 4px;border-top:1px solid #e7dccf;background:#faf3eb;
}
.aluh-chat-quick:empty{display:none}
.aluh-chat-qbtn{
  background:#fff;border:1px solid #c4b5a6;color:#3a2e26;border-radius:999px;
  padding:9px 15px;min-height:40px;font-family:inherit;font-size:.86rem;cursor:pointer;
}
.aluh-chat-qbtn:hover{border-color:#6b4e3d;background:#f5e6d3}

/* ---- Input ---- */
.aluh-chat-form{
  flex:none;display:flex;gap:8px;padding:10px 12px 12px;background:#faf3eb;
}
.aluh-chat-input{
  flex:1;min-width:0;padding:12px 14px;border:1px solid #c4b5a6;border-radius:999px;
  font-family:inherit;font-size:1rem;background:#fff;color:#3a2e26;
}
.aluh-chat-input:focus{outline:2px solid #c2a26b;outline-offset:0;border-color:#c2a26b}
.aluh-chat-send{
  flex:none;width:46px;height:46px;border-radius:50%;border:1px solid #6b4e3d;
  background:#6b4e3d;color:#f5e6d3;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
}
.aluh-chat-send:hover{background:#54402f}
.aluh-chat-send svg{width:20px;height:20px;fill:#f5e6d3}
