/* Botón flotante fijo, independiente del tema y compatible con móvil. */
.wfs-whatsapp-button,
.wfs-whatsapp-button:visited {
    position: fixed;
    right: 24px;
    bottom: 24px;
    right: max(24px, env(safe-area-inset-right));
    bottom: max(24px, env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 60px;
    height: 60px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .24);
    line-height: 1;
    text-decoration: none;
    z-index: 2147483000;
    transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.wfs-whatsapp-button svg {
    display: block;
    width: 34px;
    height: 34px;
    fill: currentColor;
    flex: 0 0 auto;
}

.wfs-whatsapp-button:hover,
.wfs-whatsapp-button:focus-visible {
    background: #1eae54;
    color: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
    transform: translateY(-2px);
    text-decoration: none;
}

.wfs-whatsapp-button:focus-visible {
    outline: 3px solid #135c2b;
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .wfs-whatsapp-button,
    .wfs-whatsapp-button:visited {
        width: 56px;
        height: 56px;
        right: 16px;
        bottom: 16px;
        right: max(16px, env(safe-area-inset-right));
        bottom: max(16px, env(safe-area-inset-bottom));
    }
    .wfs-whatsapp-button svg {
        width: 32px;
        height: 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wfs-whatsapp-button {
        transition: none;
    }
}
