.wcm-whatsapp,
.wcm-whatsapp * {
    box-sizing: border-box;
}

.wcm-whatsapp {
    position: fixed;
    right: max(30px, env(safe-area-inset-right));
    bottom: max(30px, env(safe-area-inset-bottom));
    z-index: 999998;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 60px;
    padding: 15px 23px;
    border: 4px solid #fff;
    border-radius: 999px;
    background: #25d366;
    color: #fff !important;
    box-shadow: 0 9px 30px rgba(0, 0, 0, .32), 0 0 0 1px rgba(0, 0, 0, .06);
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
    animation: wcm-whatsapp-pulse 2.8s ease-in-out infinite;
    -webkit-tap-highlight-color: transparent;
}

.wcm-whatsapp:hover,
.wcm-whatsapp:focus-visible {
    background: #1fbd5b;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, .36), 0 0 0 1px rgba(0, 0, 0, .06);
}

.wcm-whatsapp:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.wcm-whatsapp__icon {
    display: block;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
}

@keyframes wcm-whatsapp-pulse {
    0%, 72%, 100% { box-shadow: 0 9px 30px rgba(0, 0, 0, .32), 0 0 0 0 rgba(37, 211, 102, .32); }
    84% { box-shadow: 0 9px 30px rgba(0, 0, 0, .32), 0 0 0 11px rgba(37, 211, 102, 0); }
}

@media (max-width: 600px) {
    .wcm-whatsapp {
        right: max(16px, env(safe-area-inset-right));
        bottom: max(16px, env(safe-area-inset-bottom));
        width: 64px;
        height: 64px;
        min-height: 64px;
        padding: 0;
        border-radius: 50%;
    }

    .wcm-whatsapp__label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .wcm-whatsapp__icon {
        width: 34px;
        height: 34px;
    }
}

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