/* ── ANORAA Free Chatbot ── */

#anoraa-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #D9A33A;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(217,163,58,.55);
  z-index: 9999;
  transition: transform .2s;
}
#anoraa-fab:hover { transform: scale(1.1); }
#anoraa-fab svg   { width: 26px; height: 26px; fill: #fff; }

/* on mobile, sit above the sticky bar */
@media(max-width:900px){
  #anoraa-fab { bottom: 82px; }
}
@media(max-width:480px){
  #anoraa-fab { bottom: 82px; right: 16px; }
}

/* ── Chat Window ── */
#anoraa-win {
  position: fixed;
  bottom: 92px;
  right: 24px;
  width: 358px;
  max-height: 570px;
  background: #fffdf7;
  border-radius: 20px;
  box-shadow: 0 8px 36px rgba(67,37,15,.22);
  z-index: 9998;
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e8d5a0;
  font-family: 'Nunito Sans', sans-serif, Arial;
}
#anoraa-win.open { display: flex; }

@media(max-width:900px){
  #anoraa-win { bottom: 148px; }
}
@media(max-width:480px){
  #anoraa-win { width: calc(100vw - 20px); right: 10px; bottom: 148px; }
}

/* ── Header ── */
#aw-head {
  background: linear-gradient(120deg, #D9A33A, #C9742A);
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
#aw-head .av {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
#aw-head .hi       { flex: 1; }
#aw-head .hi b     { color: #fff; font-size: 14px; font-weight: 800; display: block; }
#aw-head .hi span  { color: rgba(255,255,255,.8); font-size: 11px; }
#aw-head .xbtn     { background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; line-height: 1; padding: 0; }

/* ── Messages ── */
#aw-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 340px;
  -webkit-overflow-scrolling: touch;
}
.aw-bm {
  max-width: 84%;
  padding: 10px 13px;
  border-radius: 4px 14px 14px 14px;
  background: #fff;
  border: 1px solid #e8d5a0;
  color: #43250F;
  font-size: 13.5px;
  line-height: 1.6;
  align-self: flex-start;
}
.aw-bm a { color: #C9742A; font-weight: 800; text-decoration: none; }
.aw-um {
  max-width: 84%;
  padding: 10px 13px;
  border-radius: 14px 4px 14px 14px;
  background: #D9A33A;
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  align-self: flex-end;
}

/* ── Quick chips ── */
#aw-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px 12px 10px;
  flex-shrink: 0;
}
.aw-chip {
  background: #fff;
  border: 1.5px solid #D9A33A;
  color: #8a5c0a;
  border-radius: 50px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: .15s;
  font-family: inherit;
}
.aw-chip:hover { background: #D9A33A; color: #fff; }

/* ── Input row ── */
#aw-inp-row {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid #e8d5a0;
  background: #fffdf7;
  flex-shrink: 0;
}
#aw-inp {
  flex: 1;
  border: 1.5px solid #e8d5a0;
  border-radius: 50px;
  padding: 9px 14px;
  font-size: 16px;
  outline: none;
  background: #fff;
  color: #43250F;
  font-family: inherit;
}
#aw-inp:focus { border-color: #D9A33A; }
#aw-send {
  background: #D9A33A;
  border: none;
  border-radius: 50%;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
}
#aw-send svg { width: 16px; height: 16px; fill: #fff; }
