/* ── WhatsApp Floating Widget ── */

.wa-widget {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 9999;
  font-family: 'Inter', sans-serif;
}

.wa-fab {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  font-size: 1.75rem;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wa-fab:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.55);
}

.wa-fab.open {
  background: linear-gradient(135deg, #128c7e 0%, #075e54 100%);
}

.wa-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.85rem);
  width: min(340px, calc(100vw - 2rem));
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.96);
  transform-origin: bottom right;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.wa-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.wa-panel-header {
  background: linear-gradient(135deg, #075e54 0%, #128c7e 100%);
  color: #fff;
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.wa-panel-header i {
  font-size: 1.5rem;
}

.wa-panel-header h4 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
}

.wa-panel-header p {
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
  opacity: 0.85;
}

.wa-options {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  max-height: 320px;
  overflow-y: auto;
}

.wa-option {
  display: block;
  padding: 0.85rem 1.1rem;
  color: #1a1a2e;
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.4;
  border-bottom: 1px solid #f0f0f5;
  transition: background 0.15s ease;
}

.wa-option:last-child {
  border-bottom: none;
}

.wa-option:hover {
  background: #f0fdf4;
  color: #075e54;
}

.wa-option i {
  color: #25d366;
  margin-right: 0.5rem;
  font-size: 0.8rem;
}

@media (max-width: 480px) {
  .wa-widget {
    right: 1rem;
    bottom: 1rem;
  }

  .wa-fab {
    width: 54px;
    height: 54px;
    font-size: 1.6rem;
  }
}
