.wa-widget {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 35;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.7rem;
  width: max-content;
  max-width: calc(100vw - 2.5rem);
  pointer-events: none;
}

.wa-bubble,
.wa-launcher {
  pointer-events: auto;
}

.wa-bubble {
  position: relative;
  width: min(16.5rem, calc(100vw - 6.5rem));
  padding: 0.95rem 2rem 0.95rem 1rem;
  border-radius: 0.9rem;
  background: #ffffff;
  color: #132538;
  box-shadow: 0 12px 32px rgba(11, 31, 51, 0.14);
}

.wa-bubble::after {
  content: "";
  position: absolute;
  right: 1.35rem;
  bottom: -0.4rem;
  width: 0.8rem;
  height: 0.8rem;
  background: #ffffff;
  transform: rotate(45deg);
}

.wa-bubble p {
  margin: 0;
  font-family: Inter, sans-serif;
  font-size: 0.86rem;
  line-height: 1.45;
}

.wa-bubble-title {
  margin-bottom: 0.2rem;
  color: #0b1f33;
  font-family: Manrope, Inter, sans-serif;
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.wa-close {
  position: absolute;
  top: -0.65rem;
  right: -0.65rem;
  z-index: 1;
  display: inline-flex;
  width: 1.7rem;
  height: 1.7rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(19, 37, 56, 0.14);
  border-radius: 999px;
  background: #ffffff;
  color: #0b1f33;
  box-shadow: 0 4px 14px rgba(11, 31, 51, 0.16);
  font-family: Manrope, Inter, sans-serif;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
}

.wa-close:hover {
  background: #f4f7f5;
}

.wa-launcher {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: none;
}

.wa-launcher img {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  box-shadow: none;
  filter: none;
}

.wa-widget.is-collapsed .wa-bubble {
  display: none;
}

@media (max-width: 720px) {
  .wa-widget {
    right: 0.85rem;
    bottom: 0.85rem;
    gap: 0.55rem;
  }

  .wa-bubble {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-widget {
    scroll-behavior: auto;
  }
}
