/* Bagel Boy chatbot widget — styles. Palette matches the site (cream, deep red, gold). */
#bb-chat-btn {
  position: fixed; right: 18px; bottom: 18px; z-index: 9998;
  background: #7a1f1f; color: #f5edd8; border: 2px solid #b08d2f; border-radius: 999px;
  padding: 12px 20px; font-family: "Crimson Text", Georgia, serif; font-size: 17px;
  cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.35);
}
#bb-chat-btn:hover { background: #8f2626; }
#bb-chat-panel {
  position: fixed; right: 18px; bottom: 76px; z-index: 9999;
  width: 360px; max-width: calc(100vw - 24px); height: 520px; max-height: calc(100vh - 110px);
  background: #fffdf7; border: 2px solid #7a1f1f; border-radius: 12px;
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 10px 34px rgba(0,0,0,.4); font-family: "Crimson Text", Georgia, serif;
}
#bb-chat-head {
  background: #7a1f1f; color: #f5edd8; padding: 10px 14px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: Cinzel, Georgia, serif; font-size: 16px; letter-spacing: .04em;
}
#bb-chat-close { background: none; border: none; color: #f5edd8; font-size: 20px; cursor: pointer; line-height: 1; }
#bb-chat-msgs { flex: 1; min-height: 0; overflow-y: auto; padding: 12px; background: #faf6ec; }
.bb-msg { margin: 0 0 10px; padding: 8px 11px; border-radius: 10px; font-size: 16px; line-height: 1.35; white-space: pre-wrap; }
.bb-bot { background: #f5edd8; border: 1px solid #d8cfb4; margin-right: 34px; }
.bb-user { background: #7a1f1f; color: #fff; margin-left: 34px; text-align: left; }
#bb-chat-chips { padding: 6px 10px 2px; background: #faf6ec; }
.bb-chip {
  display: inline-block; margin: 0 6px 6px 0; padding: 4px 11px; border-radius: 999px;
  border: 1px solid #7a1f1f; background: #fffdf7; color: #7a1f1f; font-size: 14px; cursor: pointer;
  font-family: "Crimson Text", Georgia, serif;
}
.bb-chip:hover { background: #f5edd8; }
#bb-chat-form { display: flex; border-top: 1px solid #d8cfb4; background: #fffdf7; }
#bb-chat-input { flex: 1; border: none; padding: 11px; font-size: 16px; font-family: inherit; background: transparent; }
#bb-chat-input:focus { outline: none; }
#bb-chat-send { background: #7a1f1f; color: #f5edd8; border: none; padding: 0 16px; font-size: 16px; cursor: pointer; font-family: inherit; }
#bb-chat-handoff-link { display: block; width: 100%; text-align: center; background: #fffdf7; border: none; border-top: 1px solid #eee; color: #7a1f1f; font-size: 14px; padding: 7px; cursor: pointer; font-family: inherit; text-decoration: underline; }
#bb-chat-handoff { padding: 12px; background: #f5edd8; border-top: 2px solid #b08d2f; }
#bb-chat-handoff p { margin: 0 0 8px; font-size: 15px; }
#bb-chat-handoff input, #bb-chat-handoff textarea {
  width: 100%; box-sizing: border-box; margin: 0 0 8px; padding: 8px; font-size: 15px;
  border: 1px solid #98917f; border-radius: 6px; font-family: inherit; background: #fffdf7;
}
#bb-chat-handoff textarea { min-height: 64px; }
#bb-chat-handoff .bb-hsend {
  background: #7a1f1f; color: #f5edd8; border: none; border-radius: 6px;
  padding: 9px 14px; font-size: 15px; cursor: pointer; font-family: inherit; width: 100%;
}
#bb-chat-handoff .bb-hsend:disabled { opacity: .55; cursor: default; }
#bb-chat-handoff .bb-hnote { margin: 0 0 8px; font-size: 14px; color: #7a1f1f; }
#bb-chat-handoff .bb-hcancel {
  display: block; width: 100%; margin: 0 0 10px; background: none; border: none;
  color: #7a1f1f; font-size: 14px; cursor: pointer; font-family: inherit;
  text-decoration: underline; padding: 4px; text-align: left;
}
@media (max-width: 480px) {
  #bb-chat-panel { right: 12px; left: 12px; width: auto; bottom: 70px; }
  #bb-chat-btn { right: 12px; bottom: 12px; }
}
