/* ─── CHATBOT ────────────────────────────────────────── */
.chatbot-toggle {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 998;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--wa-green);
  color: white;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s;
}

.chatbot-toggle:hover { transform: scale(1.1); }
.chatbot-toggle.hidden { display: none; }

.chatbot-container {
  position: fixed;
  bottom: 100px;
  right: 28px;
  z-index: 999;
  width: 380px;
  height: 500px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 40px rgba(0, 0, 0, 0.16);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chatbot-container.open { display: flex; }

.chatbot-header {
  background: linear-gradient(135deg, var(--black) 0%, #2a2318 100%);
  color: white;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-header h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.chatbot-close {
  background: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f9f9f9;
}

.chatbot-message {
  display: flex;
  gap: 10px;
}

.chatbot-message.user { justify-content: flex-end; }
.chatbot-message.bot { justify-content: flex-start; }

.chatbot-bubble {
  max-width: 70%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.4;
  word-wrap: break-word;
}

.chatbot-message.user .chatbot-bubble {
  background: var(--black);
  color: white;
}

.chatbot-message.bot .chatbot-bubble {
  background: #e8e8e8;
  color: var(--dark);
}

.chatbot-input-area {
  display: flex;
  gap: 8px;
  padding: 12px;
  background: white;
  border-top: 1px solid var(--border);
}

.chatbot-input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 0.85rem;
  outline: none;
}

.chatbot-input:focus { border-color: var(--gold); }

.chatbot-send {
  width: 40px;
  height: 40px;
  background: var(--black);
  color: white;
  border-radius: 8px;
  display: grid;
  place-items: center;
  transition: background 0.2s;
}

.chatbot-send:hover { background: var(--gold); }
