.floating-zalo {
  position: fixed;
  right: clamp(12px, 2.4vw, 24px);
  bottom: max(18px, calc(env(safe-area-inset-bottom, 0px) + 18px));
  z-index: 1040;
}

.floating-zalo__button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(19, 78, 142, 0.14);
  box-shadow: 0 16px 32px rgba(8, 26, 51, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-zalo__button::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  border: 1px solid rgba(0, 104, 255, 0.18);
  animation: zaloPulse 2.4s ease-out infinite;
}

.floating-zalo__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(8, 26, 51, 0.2);
}

.floating-zalo__icon {
  width: 34px;
  height: 34px;
  display: block;
}

@keyframes zaloPulse {
  0% {
    opacity: 0.9;
    transform: scale(0.94);
  }

  70% {
    opacity: 0;
    transform: scale(1.14);
  }

  100% {
    opacity: 0;
    transform: scale(1.14);
  }
}

@media screen and (max-width: 991px) {
  .floating-zalo__button { width: 58px; height: 58px; }
  .floating-zalo__icon { width: 31px; height: 31px; }
}
