/* WhatsApp lead float + compact mini-modal (shared) */
button.wa-float { border: 0; cursor: pointer; font: inherit; }
.wa-float, button.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 1200;
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: #fff !important;
  padding: 12px 16px 12px 14px; border-radius: 999px;
  font-weight: 700; font-size: 14px;
  letter-spacing: .02em; box-shadow: 0 10px 28px rgba(0,0,0,.22);
  text-decoration: none !important;
}
.wa-float:hover { background: #1ebe57; color: #fff !important; }
.wa-float svg { width: 22px; height: 22px; flex: 0 0 auto; }
@media (max-width: 560px) {
  .wa-float span { display: none; }
  .wa-float, button.wa-float { padding: 14px; border-radius: 50%; }
}

.wa-modal[hidden] { display: none !important; }
.wa-modal {
  position: fixed; inset: 0; z-index: 2000;
  display: grid; place-items: end; justify-items: end;
  padding: 18px 18px 86px;
}
.wa-modal-backdrop { position: absolute; inset: 0; background: rgba(12, 18, 14, .35); }
.wa-modal-panel {
  position: relative; z-index: 1;
  width: min(320px, calc(100vw - 36px));
  background: #fff; color: #1c1d1f;
  border-radius: 16px;
  border: 1px solid rgba(37, 211, 102, .35);
  padding: 16px 14px 14px;
  box-shadow: 0 16px 40px rgba(37, 211, 102, .18), 0 10px 28px rgba(0,0,0,.18);
}
.wa-modal-panel h2 {
  margin: 0 0 4px; font-size: 1.05rem; color: #128C7E;
  display: flex; align-items: center; gap: 8px;
}
.wa-modal-panel h2::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: #25D366; box-shadow: 0 0 0 3px rgba(37,211,102,.25);
}
.wa-modal-lead { margin: 0 0 10px; color: #5f6165; font-size: 13px; line-height: 1.4; }
.wa-modal-hint {
  margin: 2px 0 10px; padding: 8px 10px;
  background: rgba(37, 211, 102, .1); border-radius: 8px;
  color: #0f5132; font-size: 12.5px; line-height: 1.35;
}
.wa-modal-x {
  position: absolute; top: 6px; right: 8px; border: 0; background: transparent;
  font-size: 24px; line-height: 1; cursor: pointer; color: #8a8c90;
}
.wa-modal-panel label {
  display: block; font-size: 12px; font-weight: 600; margin: 0 0 8px; color: #333;
}
.wa-modal-panel input,
.wa-modal-panel select {
  display: block; width: 100%; margin-top: 3px; box-sizing: border-box;
  border: 1px solid #d7e7dc; border-radius: 8px; padding: 8px 10px;
  background: #f7fbf8; font: inherit; font-size: 14px;
}
.wa-modal-panel input:focus,
.wa-modal-panel select:focus {
  outline: 2px solid rgba(37,211,102,.4); border-color: #25D366; background: #fff;
}
.wa-phone-row {
  display: grid; grid-template-columns: 108px 1fr; gap: 6px; margin-top: 3px;
}
.wa-phone-row select { margin-top: 0; padding-left: 6px; padding-right: 4px; }
.wa-phone-row input { margin-top: 0; }
.wa-modal-err { color: #b00020; font-size: 12px; margin: 0 0 8px; }
.wa-modal-actions {
  display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; margin-top: 4px;
}
.wa-modal-actions .btn,
.wa-modal-actions button {
  cursor: pointer; font-size: 13px; min-height: 36px; padding: 0 12px; border-radius: 8px;
  font: inherit;
}
.wa-modal-actions .btn-line,
.wa-modal-actions button[data-wa-close] {
  background: #fff; border: 1px solid #cfd8d2; color: #333;
}
.btn.wa-go, button.wa-go {
  background: #25D366 !important; color: #fff !important; border: 0 !important;
  font-weight: 700;
}
.btn.wa-go:hover, button.wa-go:hover { background: #1ebe57 !important; }
button.btn.wa-open, button.btn-ghost.wa-open, button.wa-open {
  cursor: pointer; font: inherit;
}
@media (max-width: 560px) {
  .wa-modal { place-items: end center; padding: 12px 12px 78px; }
  .wa-modal-panel { width: min(100%, 340px); }
  .wa-phone-row { grid-template-columns: 96px 1fr; }
}
