.chatLauncherBtn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1500;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.chatLauncherBtn:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 32px rgba(6, 182, 212, 0.4);
}

.chatLauncherBtnHidden {
  transform: scale(0.9);
  opacity: 0;
  pointer-events: none;
}

.chatLauncherIcon {
  width: 26px;
  height: 26px;
}

.chatWindowPanel {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  z-index: 1500;
  width: 380px;
  max-width: calc(100vw - 2rem);
  height: 520px;
  max-height: calc(100vh - 7rem);
  background: #0f172a;
  border: 1px solid rgba(124, 58, 237, 0.35);
  border-radius: 16px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.96);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.chatWindowPanelOpen {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chatWindowHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.125rem;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(6, 182, 212, 0.12));
  border-bottom: 1px solid rgba(124, 58, 237, 0.25);
}

.chatWindowHeader h2 {
  font-family: "Orbitron", sans-serif;
  font-size: 0.9375rem;
  color: #e2e8f0;
  margin: 0;
}

.chatCloseBtn {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.chatCloseBtn:hover {
  background: rgba(124, 58, 237, 0.3);
  color: #e2e8f0;
}

.chatMessagesArea {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chatMessageBubble {
  max-width: 85%;
  padding: 0.625rem 0.875rem;
  border-radius: 12px;
  font-size: 0.875rem;
  line-height: 1.5;
  animation: chatMessageIn 0.25s ease;
}

@keyframes chatMessageIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chatMessageUser {
  align-self: flex-end;
  background: linear-gradient(135deg, #7c3aed, #9333ea);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chatMessageBot {
  align-self: flex-start;
  background: rgba(30, 41, 59, 0.9);
  color: #cbd5e1;
  border: 1px solid rgba(51, 65, 85, 0.5);
  border-bottom-left-radius: 4px;
}

.chatMessageBot a {
  color: #06b6d4;
  text-decoration: underline;
}

.chatMessageBot ul {
  margin: 0.5rem 0 0 1rem;
  padding: 0;
}

.chatTypingIndicator {
  align-self: flex-start;
  display: flex;
  gap: 4px;
  padding: 0.75rem 1rem;
  background: rgba(30, 41, 59, 0.9);
  border-radius: 12px;
  border: 1px solid rgba(51, 65, 85, 0.5);
}

.chatTypingDot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a855f7;
  animation: chatTypingBounce 1.2s infinite ease-in-out;
}

.chatTypingDot:nth-child(2) {
  animation-delay: 0.15s;
}

.chatTypingDot:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes chatTypingBounce {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  30% {
    transform: translateY(-5px);
    opacity: 1;
  }
}

.chatInputArea {
  display: flex;
  gap: 0.5rem;
  padding: 0.875rem;
  border-top: 1px solid rgba(51, 65, 85, 0.5);
  background: rgba(6, 8, 24, 0.6);
}

.chatInputField {
  flex: 1;
  padding: 0.625rem 0.875rem;
  border: 1px solid rgba(51, 65, 85, 0.6);
  border-radius: 10px;
  background: rgba(10, 14, 39, 0.8);
  color: #e2e8f0;
  font-family: inherit;
  font-size: 0.875rem;
}

.chatSendBtn {
  padding: 0.625rem 1rem;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  color: #fff;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.2s;
}

.chatSendBtn:hover {
  filter: brightness(1.1);
}

.heroSearchWrap {
  position: relative;
  flex: 1;
  min-width: 200px;
}

.searchInputField::-webkit-search-cancel-button,
.searchInputField::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.searchSuggestionsDropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  background: #0f172a;
  border: 1px solid rgba(124, 58, 237, 0.35);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  z-index: 200;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.searchSuggestionsDropdown:not([hidden]) {
  opacity: 1;
  transform: translateY(0);
}

.searchSuggestionItem {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 0.75rem 1rem;
  border: none;
  border-bottom: 1px solid rgba(51, 65, 85, 0.35);
  background: transparent;
  color: #e2e8f0;
  font-family: inherit;
  font-size: 0.875rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
}

.searchSuggestionItem:last-child {
  border-bottom: none;
}

.searchSuggestionItem:hover,
.searchSuggestionItem:focus {
  background: rgba(124, 58, 237, 0.15);
  outline: none;
}

.searchSuggestionTitle {
  font-weight: 600;
}

.searchSuggestionMeta {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.125rem;
}

.searchFallbackBox {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  background: #0f172a;
  border: 1px solid rgba(124, 58, 237, 0.35);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  z-index: 200;
  animation: chatMessageIn 0.25s ease;
}

.searchFallbackTitle {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-bottom: 0.625rem;
}

.searchFallbackList {
  list-style: none;
  margin: 0;
  padding: 0;
}

.searchFallbackList li {
  margin-bottom: 0.375rem;
}

.searchFallbackList a {
  color: #06b6d4;
  font-size: 0.9375rem;
}

.footerPaymentRow {
  grid-column: 1 / -1;
  padding-top: 1.5rem;
}

.footerPaymentIconsWrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.footerPaymentIconsWrap img {
  height: 28px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.footerPaymentIconsWrap img:hover {
  opacity: 1;
}

@media (max-width: 640px) {
  .chatWindowPanel {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: calc(100vh - 4.5rem);
    max-height: calc(100vh - 4.5rem);
    border-radius: 16px 16px 0 0;
  }

  .chatLauncherBtn {
    bottom: 1rem;
    right: 1rem;
  }
}
