.vivid-whatsapp-link,
.vivid-whatsapp-link[hidden] {
    display: none;
}

@media (max-width: 767.98px) {
    .vivid-whatsapp-link:not([hidden]) {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.65rem;
        min-height: 54px;
        max-width: calc(100vw - 24px);
        padding: 0.65rem 0.9rem;
        border: 1px solid #c9dfd3;
        border-radius: 16px;
        background: #fff;
        color: #183e2e;
        font-size: 0.875rem;
        font-weight: 700;
        line-height: 1.3;
        text-decoration: none;
        box-shadow: 0 3px 16px rgba(20, 55, 38, 0.16);
    }

    .vivid-whatsapp-link--floating {
        position: fixed;
        right: max(12px, env(safe-area-inset-right));
        bottom: max(var(--whatsapp-bottom, 12px), calc(12px + env(safe-area-inset-bottom)));
        z-index: 1034;
    }

    .vivid-whatsapp-link--inline {
        margin: 0 0 1.25rem;
    }

    .vivid-whatsapp-link:hover {
        color: #183e2e;
        background: #f4fbf7;
    }

    .vivid-whatsapp-link:focus-visible {
        outline: 3px solid #2638ee;
        outline-offset: 3px;
    }

    .vivid-whatsapp-link .bi {
        font-size: 1.65rem;
        line-height: 1;
        color: #087c4a;
    }

    .vivid-whatsapp-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
    .vivid-whatsapp-title { font-size: 0.875rem; font-weight: 750; }
    .vivid-whatsapp-status { display: flex; align-items: center; gap: 5px; color: #51675c; font-size: 0.6875rem; font-weight: 500; line-height: 1.35; }
    .vivid-whatsapp-dot { display: none; width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: #13844b; }
    .vivid-whatsapp-link[data-available="true"] .vivid-whatsapp-dot { display: inline-block; }
    .vivid-whatsapp-link[data-available="true"] .vivid-whatsapp-status { color: #12603d; }

    body.modal-open .vivid-whatsapp-link--floating,
    body.vivid-bespoke-keyboard .vivid-whatsapp-link--floating {
        display: none;
    }
}
