

.whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45),
              0 2px 6px rgba(15, 23, 42, 0.12);
  z-index: 150;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform .22s cubic-bezier(.22,.9,.22,1),
              box-shadow .22s cubic-bezier(.22,.9,.22,1),
              background .22s cubic-bezier(.22,.9,.22,1);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.whatsapp-fab svg {
  width: 28px;
  height: 28px;
  display: block;
  color: #fff;
  fill: currentColor;
}

.whatsapp-fab:hover,
.whatsapp-fab:focus-visible {
  transform: scale(1.08);
  background: #1ebe5a;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55),
              0 4px 10px rgba(15, 23, 42, 0.16);
  text-decoration: none;
  outline: none;
}

.whatsapp-fab:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.45);
  outline-offset: 3px;
}

.whatsapp-fab:active {
  transform: scale(0.96);
}


@media (min-width: 1024px) {
  .whatsapp-fab {
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
  }
  .whatsapp-fab svg {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 640px) {
  .whatsapp-fab { width: 48px; height: 48px; bottom: 1rem; right: 1rem; }
  .whatsapp-fab svg { width: 24px; height: 24px; }



  body:has(.co-actions) .whatsapp-fab,
  body:has(.cart-mobile-cta) .whatsapp-fab {
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }
}


@media print {
  .whatsapp-fab { display: none !important; }
}


@media (prefers-reduced-motion: reduce) {
  .whatsapp-fab {
    transition: background .15s linear !important;
  }
  .whatsapp-fab:hover,
  .whatsapp-fab:focus-visible,
  .whatsapp-fab:active {
    transform: none;
  }
}

.wa-fab {
  display: none !important;
}
