/* Czat — fine dining */
.dish-of-day-banner {
  background: linear-gradient(135deg, var(--color-primary-soft), var(--color-accent-soft));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin: 0 auto 2rem;
  max-width: 720px;
  text-align: center;
}

.dish-of-day-banner h2 {
  color: var(--color-text);
}

.chatbot-widget {
  position: fixed;
  bottom: 5.5rem;
  right: 1rem;
  z-index: 2000;
  font-family: var(--font-body);
}

.chatbot-toggle {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--gradient-gold);
  color: #0f0f0f;
  font-size: 1.35rem;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: transform 0.2s, box-shadow 0.2s;
}

.chatbot-toggle:hover {
  transform: scale(1.05);
}

.chatbot-panel {
  position: absolute;
  bottom: calc(100% + 0.65rem);
  right: 0;
  width: min(360px, calc(100vw - 2rem));
  max-height: min(70vh, 520px);
  display: none;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.chatbot-panel.is-open {
  display: flex;
}

.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  background: var(--gradient-luxury);
  color: #f5f5f5;
}

.chatbot-title-wrap strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
}

.chatbot-status {
  font-size: 0.72rem;
  opacity: 0.85;
}

.chatbot-status.is-waiting {
  color: var(--color-accent);
}

.chatbot-close {
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #f5f5f5;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.chatbot-body {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.chatbot-msg {
  max-width: 88%;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.45;
}

.chatbot-msg--user {
  align-self: flex-end;
  background: var(--color-primary);
  color: #f5f5f5;
}

.chatbot-msg--bot,
.chatbot-msg--staff {
  align-self: flex-start;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border-subtle);
  color: var(--color-text);
}

.chatbot-footer {
  border-top: 1px solid var(--color-border-subtle);
  padding: 0.5rem 0.65rem 0.65rem;
}

.chatbot-form {
  display: flex;
  gap: 0.35rem;
}

.chatbot-form input {
  flex: 1;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--color-border-subtle);
  border-radius: 10px;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: inherit;
}

.chatbot-send {
  border: none;
  background: var(--gradient-gold);
  color: #0f0f0f;
  border-radius: 10px;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
  font-weight: 700;
}

.chatbot-quick-wrap summary,
.chatbot-contact-wrap summary {
  cursor: pointer;
  font-size: 0.78rem;
  color: var(--color-accent);
  padding: 0.25rem 0;
}

.chatbot-quick button {
  margin: 0.2rem 0.25rem 0 0;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text-muted);
  font-size: 0.75rem;
  cursor: pointer;
}

.chatbot-quick button:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.chatbot-live-btn {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.45rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-primary-soft);
  color: var(--color-accent);
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 768px) {
  .chatbot-widget {
    bottom: 4.75rem;
    right: 0.75rem;
  }
}
