/* WhatsApp floating CTA — public pages only */
.wa-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #ffffff;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 20px 12px 14px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.875rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 220px;
}

.wa-float-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  color: #ffffff;
  text-decoration: none;
}

.wa-float-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .wa-float-btn {
    padding: 14px;
    border-radius: 50%;
    max-width: unset;
    bottom: 16px;
    right: 16px;
  }

  .wa-float-label {
    display: none;
  }
}

/* Push float above sticky bottom bars (e.g. blog CTA) */
@media (max-width: 768px) {
  .wa-float-btn {
    bottom: 72px;
  }

  body.has-bottom-bar .wa-float-btn,
  body:has(.blog-sticky-cta) .wa-float-btn {
    bottom: 72px;
  }
}

/* Hide on dashboard / logged-in shells with bottom nav */
body.dashboard-page .wa-float-btn,
body.dashboard-site .wa-float-btn,
body.admin-site .wa-float-btn,
body.auth-site .wa-float-btn {
  display: none;
}

/* Blog sidebar WhatsApp CTA */
.btn-wa-sidebar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: #25D366;
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  margin-top: 10px;
  transition: background 0.2s;
}

.btn-wa-sidebar:hover {
  background: #1ebe5d;
  color: #fff;
  text-decoration: none;
}

.btn-wa-sidebar svg {
  flex-shrink: 0;
}
