
/* ─── WhatsApp floating button ─────────────────────────────────── */
.ce-wa {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 2147483646;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(160deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow:
    0 14px 32px rgba(18, 140, 126, 0.45),
    0 6px 14px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 240ms cubic-bezier(.2,.8,.2,1.4), box-shadow 240ms ease;
  animation: ce-wa-enter 0.9s cubic-bezier(.2,.8,.25,1.3) 0.6s both;
}
@keyframes ce-wa-enter {
  0%   { opacity: 0; transform: translateY(40px) scale(0.4) rotate(-45deg); }
  60%  { opacity: 1; transform: translateY(-6px) scale(1.12) rotate(8deg); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
}
.ce-wa:hover {
  transform: scale(1.08) rotate(-5deg);
  box-shadow:
    0 22px 44px rgba(18, 140, 126, 0.55),
    0 10px 20px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.30);
}
.ce-wa:active {
  transform: scale(0.94) rotate(0);
}

/* Pulse rings */
.ce-wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.55);
  animation: ce-wa-pulse 2.4s cubic-bezier(.4,0,.6,1) infinite;
  pointer-events: none;
}
.ce-wa-pulse-2 { animation-delay: 1.2s; }
@keyframes ce-wa-pulse {
  0%   { transform: scale(1);    opacity: 0.55; }
  70%  { transform: scale(2.0);  opacity: 0; }
  100% { transform: scale(2.0);  opacity: 0; }
}

/* Notification badge */
.ce-wa-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: #FF4D4F;
  color: #FFFFFF;
  border-radius: 999px;
  font-family: "Raleway", sans-serif;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(255, 77, 79, 0.45);
  animation: ce-wa-badge-bounce 1.8s cubic-bezier(.5,0,.5,1) 2s infinite;
}
@keyframes ce-wa-badge-bounce {
  0%, 80%, 100% { transform: translateY(0)   scale(1); }
  90%           { transform: translateY(-3px) scale(1.12); }
}

/* Icon · subtle float */
.ce-wa-icon {
  position: relative;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: ce-wa-icon-float 3.4s ease-in-out infinite;
}
.ce-wa-icon svg { width: 100%; height: 100%; display: block; }
@keyframes ce-wa-icon-float {
  0%, 100% { transform: translateY(0)   rotate(0); }
  50%      { transform: translateY(-2px) rotate(-3deg); }
}

/* Tooltip */
.ce-wa-tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: #0E0905;
  color: #FFFFFF;
  font-family: "Raleway", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 7px 12px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease, transform 240ms cubic-bezier(.2,.8,.2,1.2);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}
.ce-wa-tip::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #0E0905;
}
.ce-wa:hover .ce-wa-tip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 760px) {
  .ce-wa { width: 54px; height: 54px; bottom: 16px; right: 16px; }
  .ce-wa-icon { width: 28px; height: 28px; }
  .ce-wa-tip { display: none; }
}
