/* Icono adaptado de Uiverse.io por NelsonDJCR - https://uiverse.io/NelsonDJCR/witty-turtle-52
   MIT License, Copyright (c) shah1345 (Shah Newaz), NelsonDJCR (NelsonDJCR) */

.boton-whatsapp { width: 53px; padding: 0; }
.boton-whatsapp svg { width: 32px; height: 32px; }

.whatsapp-flotante {
  position: fixed;
  z-index: 5;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  gap: 5px;
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-shadow: -1px -1px #171e23, 1px -1px #171e23, -1px 1px #171e23, 1px 1px #171e23, 0 1px 4px #171e23;
  touch-action: manipulation;
}

.whatsapp-flotante svg {
  flex: none;
  width: 51px;
  height: 51px;
  filter: drop-shadow(0 2px 3px #171e2370);
}

.whatsapp-flotante:hover span { text-decoration: underline; text-underline-offset: 3px; }
.whatsapp-flotante:focus-visible { outline: 2px solid #167245; outline-offset: 3px; }
.pie-interior { padding-right: max(0px, calc(154px - var(--margen))); }

@media (max-width: 480px) {
  .whatsapp-flotante { flex-direction: column-reverse; gap: 0; font-size: 12px; }
  .pie-interior { padding-right: max(0px, calc(96px - var(--margen))); }
}
