.nv-float {
  position: fixed;
  right: 20px;
  left: auto;
  bottom: 22px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  pointer-events: none;
}

.nv-float > * {
  pointer-events: auto;
}

.nv-float .floating-wpp {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  font-size: 14px;
}

.nv-float .floating-wpp:hover {
  bottom: auto !important;
}

.nv-float .floating-wpp-popup {
  left: auto;
  right: 0;
}

.nv-float .floating-wpp-popup .floating-wpp-head {
  background: #128C7E !important;
  font-family: Poppins, sans-serif;
  font-weight: 600;
  font-size: 14px;
}

.nv-float .floating-wpp-popup .floating-wpp-message {
  font-family: Poppins, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: #1c2331;
}

.nv-float .floating-wpp-input-message textarea {
  min-height: 72px;
  font-size: 13px;
  line-height: 1.4;
  border-color: #d7dee3;
}

.nv-float .floating-wpp-btn-send {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #20b1aa;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nv-float .floating-wpp-btn-send svg path {
  fill: #fff;
}

.nv-float .floating-wpp-button {
  animation: nv-wa-pulse 2.6s ease-out infinite;
}

@keyframes nv-wa-pulse {
  0% {
    box-shadow: 0 6px 16px rgba(18, 140, 126, 0.28), 0 0 0 0 rgba(37, 211, 102, 0.45);
  }
  70% {
    box-shadow: 0 6px 16px rgba(18, 140, 126, 0.28), 0 0 0 14px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 6px 16px rgba(18, 140, 126, 0.28), 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.nv-backtop {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: #1c2331;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.86);
  box-shadow: 0 10px 22px rgba(20, 24, 31, 0.22);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.35s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nv-backtop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.nv-backtop:hover,
.nv-backtop:focus {
  background: #20b1aa;
  outline: none;
  box-shadow: 0 12px 26px rgba(32, 177, 170, 0.35);
  transform: translateY(-3px) scale(1);
}

.nv-backtop:hover svg,
.nv-backtop:focus svg {
  animation: nv-arrow-nudge 0.7s ease infinite;
}

.nv-backtop svg {
  width: 18px;
  height: 18px;
  display: block;
}

@keyframes nv-arrow-nudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@media (max-width: 576px) {
  .nv-float {
    right: 14px;
    left: auto;
    bottom: 16px;
    gap: 10px;
  }

  .nv-backtop {
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nv-float .floating-wpp-button,
  .nv-backtop,
  .nv-backtop svg {
    animation: none !important;
    transition: none !important;
  }
}
