.floating-actions {
    position: fixed;
    right: clamp(16px, 2vw, 30px);
    bottom: clamp(16px, 2vw, 30px);
    z-index: 950;

    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 11px;

    pointer-events: none;
}

.floating-actions__button {
    pointer-events: auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 54px;
    padding: 0 19px;

    color: #fff;
    border: 1px solid transparent;
    border-radius: 999px;

    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.01em;
    text-decoration: none;

    box-shadow:
        0 12px 30px rgb(18 18 18 / 16%),
        0 3px 8px rgb(18 18 18 / 8%);

    transform: translateZ(0);

    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease;
}

.floating-actions__button svg {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
}

.floating-actions__button--whatsapp {
    background: #20b859;
}

.floating-actions__button--whatsapp svg {
    width: 24px;
    height: 24px;
}

.floating-actions__button--purchase {
    min-width: 138px;
    background: #ed7624;
}

.floating-actions__button--purchase svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (hover: hover) {
    .floating-actions__button:hover {
        color: #fff;

        box-shadow:
            0 16px 35px rgb(18 18 18 / 20%),
            0 4px 10px rgb(18 18 18 / 10%);

        transform: translateY(-3px);
    }

    .floating-actions__button--whatsapp:hover {
        background: #179d49;
    }

    .floating-actions__button--purchase:hover {
        background: #d96317;
    }
}

.floating-actions__button:focus-visible {
    outline: 3px solid rgb(255 255 255 / 90%);
    outline-offset: 3px;
}

@media (max-width: 640px) {
    .floating-actions {
        right: 13px;
        bottom: calc(13px + env(safe-area-inset-bottom));
        gap: 9px;
    }

    .floating-actions__button {
        width: 50px;
        min-width: 50px;
        height: 50px;
        min-height: 50px;
        padding: 0;
    }

    .floating-actions__button span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .floating-actions__button svg {
        width: 21px;
        height: 21px;
    }

    .floating-actions__button--whatsapp svg {
        width: 24px;
        height: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .floating-actions__button {
        transition: none;
    }
}