/* ── AI CHATBOT ────────────────────────────────────────── */
.ai-chat-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gold);
  color: #1a1a0f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  cursor: pointer;
  z-index: 9999;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
  border: none;
}
.ai-chat-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(245, 179, 0, 0.4);
}
.ai-chat-modal {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 320px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  z-index: 9998;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(0,0,0,0.05);
}
.ai-chat-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.ai-chat-header {
  background: #1a1a0f;
  color: #fff;
  padding: 16px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ai-chat-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}
.ai-chat-messages {
  height: 300px;
  overflow-y: auto;
  padding: 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fafafa;
}
.ai-chat-bubble {
  padding: 10px 14px;
  border-radius: 12px;
  max-width: 85%;
  line-height: 1.5;
}
.ai-chat-sys {
  background: #e0e0e0;
  color: #1a1a0f;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}
.ai-chat-user {
  background: var(--gold);
  color: #1a1a0f;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}
.ai-chat-input-area {
  display: flex;
  padding: 12px;
  border-top: 1px solid #eee;
  background: #fff;
}
.ai-chat-input {
  flex: 1;
  border: 1px solid #ddd;
  padding: 8px 12px;
  border-radius: 20px;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
}
.ai-chat-submit {
  background: none;
  border: none;
  color: var(--gold-dark);
  font-size: 1.2rem;
  padding: 0 8px;
  cursor: pointer;
}
