a.at-whatsapp {
    position: fixed;
    right: max(24px, env(safe-area-inset-right));
    bottom: calc(90px + env(safe-area-inset-bottom));
    z-index: 9990;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #28B43E;
    color: #fff;
    box-shadow: 0 4px 18px rgb(0 0 0 / 20%);
    text-decoration: none;
}
a.at-whatsapp:hover,
a.at-whatsapp:focus-visible {
    background: #28B43E;
    color: #fff;
}
a.at-whatsapp:focus-visible {
    outline: 3px solid #163c28;
    outline-offset: 4px;
}
a.at-whatsapp svg { width: 32px; height: 32px; flex-shrink: 0; }
.at-whatsapp-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    width: max-content;
    max-width: min(280px, calc(100vw - 112px));
    padding: 12px 16px;
    border-radius: 12px;
    background: #fff;
    color: #302923;
    box-shadow: 0 4px 20px rgb(0 0 0 / 15%);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
    visibility: hidden;
    opacity: 0;
}
.at-whatsapp-tooltip::after {
    content: "";
    position: absolute;
    left: 100%;
    top: 0;
    width: 12px;
    height: 100%;
}
a.at-whatsapp:hover .at-whatsapp-tooltip,
a.at-whatsapp:focus-visible .at-whatsapp-tooltip {
    visibility: visible;
    opacity: 1;
}
@media (max-width: 689px) {
    a.at-whatsapp {
        right: max(16px, env(safe-area-inset-right));
        bottom: calc(86px + env(safe-area-inset-bottom));
        width: 56px;
        height: 56px;
    }
}
@media print { a.at-whatsapp { display: none; } }
