/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {


  .chatbox {
    right: 8px !important;
    left: 8px !important;
    bottom: 84px !important;

    width: auto;
    height: calc(100vh - 96px);
    max-height: none;

    border-radius: 26px;
  }

  .chat-hero {
    min-height: 150px;
    padding: 18px 16px 30px;
  }

  .chat-logo {
    width: 54px;
    height: 54px;
  }

  .chat-title {
    font-size: 20px;
    line-height: 1.1;
  }

  .chat-subtitle {
    font-size: 12px;
  }

  .chat-status {
    font-size: 12px;
    margin-top: 9px;
  }

  #close-chat {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    font-size: 25px;
  }

  .chat-messages {
    padding: 18px 16px;
  }

  .assistant-avatar-mini {
    width: 42px;
    height: 42px;
  }

  .welcome-message {
    max-width: calc(100% - 50px);
  }

  .bot-message,
  .user-message {
    max-width: 92%;
    font-size: 13px;
    padding: 13px 14px;
  }

  .suggestion-title {
    margin-left: 0;
  }

  .suggestion-cards {
    margin-left: 0;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .suggestion-cards button {
    min-height: 76px;
    grid-template-columns: 44px 1fr 18px;
  }

  .suggestion-icon {
    width: 44px;
    height: 44px;
  }

  .quick-buttons {
    padding: 12px 14px;
  }

  .chat-input {
    padding: 12px;
  }

  .chat-input input {
    height: 48px;
    font-size: 14px;
  }

  #send-btn {
    width: 50px;
    height: 50px;
  }
}

/* =========================================================
   ACCESSIBILITY: REDUCE MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
