.wai-popup-button {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  border: 0;
  background: #111827;
  color: #ffffff;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.wai-popup {
  position: fixed;
  right: 24px;
  bottom: 100px;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 600px;
  max-height: calc(100vh - 130px);
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 999999;
  font-family: Arial, sans-serif;
}

.wai-popup[hidden] {
  display: none !important;
}

.wai-popup__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #111827;
  color: #ffffff;
}

.wai-popup__header h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  color:#fff!important;
}
.chatH2{
    color:#ffffff!important;
}

.wai-popup__close {
  background: transparent;
  border: 0;
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.wai-chat__log {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  background: #f9fafb;
}

.wai-chat__form {
  display: flex;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid #e5e7eb;
  background: #ffffff;
}

.wai-chat__input {
  flex: 1;
  min-width: 0;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 12px;
  font-size: 14px;
}

.wai-chat__button {
  border: 0;
  border-radius: 12px;
  background: #111827;
  color: #ffffff;
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 700;
}

.wai-chat__msg {
  margin-bottom: 14px;
}

.wai-chat__msg p {
  margin: 0 0 8px;
}

.wai-chat__msg--user {
  text-align: right;
}

.wai-chat__msg--user > p {
  display: inline-block;
  background: #111827;
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 14px;
  max-width: 85%;
  text-align: left;
}

.wai-chat__msg--bot > p {
  display: inline-block;
  background: #ffffff;
  color: #111827;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  max-width: 90%;
}

.wai-product {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  margin-top: 12px;
  background: #ffffff;
  border-radius: 14px;
  padding: 12px;
  border: 1px solid #e5e7eb;
}

.wai-product img,
.wai-product__image-placeholder {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  background: #f3f4f6;
}

.wai-product__title {
  font-weight: 700;
  margin: 0 0 4px;
  color: #111827;
}

.wai-product__meta {
  color: #6b7280;
  margin: 0 0 8px;
}

.wai-product a {
  color: #111827;
  font-weight: 700;
  text-decoration: underline;
}

.wai-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 480px) {
  .wai-popup-button {
    right: 16px;
    bottom: 16px;
  }

  .wai-popup {
    right: 16px;
    bottom: 88px;
    width: calc(100vw - 32px);
    height: 560px;
  }

  .wai-chat__form {
    flex-direction: column;
  }

  .wai-chat__button {
    width: 100%;
  }
}