#whatsapp-contact {
    position: fixed;
    right: 24px;
    bottom: 24px;
    right: calc(24px + env(safe-area-inset-right, 0px));
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .24);
    text-decoration: none;
    transition: background .2s, transform .2s;
}

#whatsapp-contact:hover {
    background: #128c7e;
    transform: translateY(-2px);
}

#whatsapp-contact:focus-visible {
    outline: 3px solid #122b40;
    outline-offset: 4px;
}

#whatsapp-contact svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

/* Align all floating controls in one column with 12px gaps. */
body #prestige-call-button,
body button.scroltop {
    right: 24px;
    right: calc(24px + env(safe-area-inset-right, 0px));
    width: 56px;
    height: 56px;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body #prestige-call-button {
    bottom: 92px;
    bottom: calc(92px + env(safe-area-inset-bottom, 0px));
}

body button.scroltop {
    bottom: 160px;
    bottom: calc(160px + env(safe-area-inset-bottom, 0px));
    line-height: 56px;
}

body button.scroltop .scrolltop-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    transform: translate(-50%, -50%);
    color: #fff;
    pointer-events: none;
}

@media (max-width: 575px) {
    #whatsapp-contact,
    body #prestige-call-button,
    body button.scroltop {
        right: 16px;
        right: calc(16px + env(safe-area-inset-right, 0px));
    }

    #whatsapp-contact {
        bottom: 16px;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    }

    body #prestige-call-button {
        bottom: 84px;
        bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    }

    body button.scroltop {
        bottom: 152px;
        bottom: calc(152px + env(safe-area-inset-bottom, 0px));
    }
}

@media (prefers-reduced-motion: reduce) {
    #whatsapp-contact {
        transition: none;
    }
}
