/* Floating Call + Zalo */
.cm-float {
  position: fixed;
  right: 18px;
  bottom: 100px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.cm-float__btn {
  position: relative;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.cm-float__btn:hover {
  transform: translateY(-2px) scale(1.04);
}

.cm-float__halo {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  opacity: 0.55;
  pointer-events: none;
  animation: cm-float-pulse 2.4s ease-out infinite;
}

.cm-float__core {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
}

.cm-float__btn--call .cm-float__core {
  background: linear-gradient(180deg, #ff9a3c 0%, #ff6a00 100%);
}

.cm-float__btn--call .cm-float__halo {
  background: radial-gradient(circle, rgba(255, 154, 60, 0.55) 0%, rgba(255, 154, 60, 0) 70%);
}

.cm-float__btn--zalo .cm-float__core {
  background: #fff;
  border: 0;
  overflow: hidden;
  padding: 6px;
}

.cm-float__btn--zalo .cm-float__core img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 0;
}

.cm-float__btn--zalo .cm-float__halo {
  background: radial-gradient(circle, rgba(0, 104, 255, 0.35) 0%, rgba(0, 104, 255, 0) 70%);
}

@keyframes cm-float-pulse {
  0% {
    transform: scale(0.92);
    opacity: 0.65;
  }
  70% {
    transform: scale(1.18);
    opacity: 0;
  }
  100% {
    transform: scale(1.18);
    opacity: 0;
  }
}

@media (max-width: 575px) {
  .cm-float {
    right: 12px;
    bottom: 92px;
    gap: 12px;
  }

  .cm-float__btn {
    width: 50px;
    height: 50px;
  }

  .cm-float__core {
    width: 46px;
    height: 46px;
  }

  .cm-float__halo {
    inset: -6px;
  }
}
