#gg-chatbot{
  position: fixed;
  right: 24px;
  bottom: 84px;
  z-index: 9999;
  font-family: Inter, system-ui, sans-serif;
}

#gg-chat-toggle{
  background: #4A2A1A;
  color: #fff;
  border: 0;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
}

#gg-chat-window{
  width: 340px;
  max-height: 65vh;
  background: #FAFAF8;
  border: 1px solid #E6E2DA;
  border-radius: 16px;
  padding: 10px;
  margin-bottom: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

#gg-chat-messages{
  overflow: auto;
  max-height: 42vh;
  padding: 6px;
  font-size: 14px;
  line-height: 1.35;
}

#gg-chat-input{
  width: 100%;
  margin-top: 8px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid #E6E2DA;
}

.gg-chat-quick{
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 8px 0;
}

.gg-chat-quick button{
  background: #fff;
  border: 1px solid #E6E2DA;
  border-radius: 999px;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 12px;
}

.gg-chat-footnote{
  margin-top: 6px;
  font-size: 12px;
  opacity: .75;
}

/* --- FIX: Search panel is stealing clicks in bottom-right --- */
#gg-chatbot {
  position: fixed !important;
  right: 20px !important;
  bottom: 20px !important;

  /* Nuclear z-index to beat theme + overlays */
  z-index: 2147483647 !important;

  /* Prevent weird stacking context issues */
  transform: translateZ(0);
}

/* Ensure chatbot receives clicks */
#gg-chatbot,
#gg-chatbot * {
  pointer-events: auto !important;
}

/* If a parent stacking context is messing with fixed positioning */
#gg-chatbot {
  position: fixed !important;
  right: 20px !important;
  bottom: 20px !important;
  z-index: 2147483647 !important;
  isolation: isolate; /* creates its own stacking context */
}