.wa-dock {
  position: fixed;
  z-index: 80;
  inset-inline-end: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 12px;
  font-family: Manrope, Cairo, sans-serif;
}

.wa-panel {
  width: min(320px, calc(100vw - 40px));
  background: #f4f1eb;
  color: #1c2422;
  border: 1px solid #e4ddd2;
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(18, 49, 46, 0.2);
  overflow: hidden;
}

.wa-panel[hidden] {
  display: none;
}

.wa-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 14px 16px;
  background: #12312e;
  color: #f4f1eb;
}

.wa-avatar {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #12312e;
}

.wa-id {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.wa-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.wa-status {
  font-size: 12px;
  line-height: 1.4;
  color: #e8b089;
}

.wa-close {
  margin-inline-start: auto;
  width: 32px;
  height: 32px;
  flex: none;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #f4f1eb;
  cursor: pointer;
}

.wa-close:hover {
  background: rgba(255, 255, 255, 0.08);
}

.wa-body {
  padding: 16px;
}

.wa-bubble {
  margin: 0;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #e4ddd2;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.65;
  color: #3e4a46;
}

.wa-go {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #25d366;
  color: #12312e;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.wa-go:hover {
  background: #1ebe5d;
}

.wa-phone {
  display: block;
  margin-top: 8px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: #3e4a46;
}

.wa-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 60px;
  padding: 0 16px 0 18px;
  border: 0;
  border-radius: 999px;
  background: #12312e;
  color: #f4f1eb;
  box-shadow: 0 12px 28px rgba(18, 49, 46, 0.28);
  cursor: pointer;
}

.wa-btn:hover {
  background: #1b4540;
}

.wa-glyph {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #12312e;
}

.wa-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.wa-btn:focus-visible,
.wa-close:focus-visible,
.wa-go:focus-visible {
  outline: 2px solid #c56a3a;
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .wa-label {
    display: none;
  }

  .wa-btn {
    width: 60px;
    padding: 0;
    justify-content: center;
  }
}
