/* Плавающая кнопка WhatsApp — справа снизу, иконка + подпись */
.wa-fab {
  position: fixed;
  right: max(14px, env(safe-area-inset-right, 0px));
  bottom: max(18px, env(safe-area-inset-bottom, 0px));
  z-index: 1990;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.wa-fab:hover {
  transform: scale(1.05);
}
.wa-fab:active {
  transform: scale(0.97);
}
.wa-fab__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow:
    0 4px 16px rgba(37, 211, 102, 0.5),
    0 2px 8px rgba(0, 0, 0, 0.12);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.wa-fab:hover .wa-fab__btn {
  background: #1ebe57;
  box-shadow:
    0 6px 22px rgba(37, 211, 102, 0.55),
    0 4px 12px rgba(0, 0, 0, 0.15);
}
.wa-fab__btn svg {
  display: block;
  width: 36px;
  height: 36px;
}
.wa-fab__label {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: #128c7e;
  background: rgba(255, 255, 255, 0.96);
  padding: 4px 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
}
@media (max-width: 640px) {
  .wa-fab {
    right: max(12px, env(safe-area-inset-right, 0px));
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
    gap: 5px;
  }
  .wa-fab__btn {
    width: 64px;
    height: 64px;
  }
  .wa-fab__btn svg {
    width: 34px;
    height: 34px;
  }
  .wa-fab__label {
    font-size: 12px;
    padding: 3px 8px;
  }
}
