/* Boton flotante "Escribinos por WhatsApp" de las paginas de venta. */
.whatsapp-contact {
  position: fixed;
  z-index: 40;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 14px;
  color: #fff;
  border-radius: 999px;
  background: #1fa855;
  box-shadow: 0 10px 28px rgba(18, 140, 70, .32), 0 2px 6px rgba(0, 0, 0, .12);
  font: 600 15px/1 var(--font, system-ui, sans-serif);
  text-decoration: none;
  transition: transform .2s cubic-bezier(.34, 1.56, .64, 1), box-shadow .2s ease, background .2s ease;
  animation: whatsapp-contact-in .45s cubic-bezier(.34, 1.4, .64, 1) .8s both;
}
.whatsapp-contact svg { width: 24px; height: 24px; flex: none; fill: currentColor; }
.whatsapp-contact:hover { background: #179a4b; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(18, 140, 70, .38), 0 2px 6px rgba(0, 0, 0, .12); }
.whatsapp-contact:active { transform: scale(.96); }
.whatsapp-contact:focus-visible { outline: 3px solid rgba(31, 168, 85, .45); outline-offset: 3px; }
@keyframes whatsapp-contact-in { from { opacity: 0; transform: translateY(16px) scale(.9); } to { opacity: 1; transform: none; } }

/* En el celular, solo el circulo con el icono */
@media (max-width: 640px) {
  .whatsapp-contact { width: 56px; height: 56px; padding: 0; justify-content: center; }
  .whatsapp-contact span { display: none; }
  .whatsapp-contact svg { width: 28px; height: 28px; }
}
body.menu-open .whatsapp-contact { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .whatsapp-contact { animation: none; transition: none; } }
