/* Shared, accessible floating WhatsApp button for niinii public pages. */
.niinii-floating-actions {
    position: fixed;
    right: calc(22px + env(safe-area-inset-right, 0px));
    bottom: calc(100px + env(safe-area-inset-bottom, 0px));
    z-index: 900;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.niinii-wa-float,
.niinii-donation-float {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 8px 24px rgba(11, 99, 50, .28);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.niinii-donation-float {
    background: #cf0544;
    box-shadow: 0 8px 24px rgba(130, 0, 46, .25);
}
.niinii-donation-float svg {
    display: block;
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linejoin: round;
}
.niinii-donation-float:hover {
    background: #ae0439;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(130, 0, 46, .32);
}
.niinii-wa-float svg {
    display: block;
    width: 32px;
    height: 32px;
    fill: currentColor;
}
.niinii-wa-float:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(11, 99, 50, .34);
}
.niinii-donation-float:focus-visible,
.niinii-wa-float:focus-visible {
    outline: 3px solid #143e2b;
    outline-offset: 4px;
}
@media (max-width: 600px) {
    .niinii-floating-actions {
        right: calc(16px + env(safe-area-inset-right, 0px));
        bottom: calc(80px + env(safe-area-inset-bottom, 0px));
        gap: 10px;
    }
    .niinii-wa-float,
    .niinii-donation-float {
        width: 54px;
        height: 54px;
    }
    .niinii-donation-float svg {
        width: 28px;
        height: 28px;
    }
    .niinii-wa-float svg {
        width: 30px;
        height: 30px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .niinii-wa-float,
    .niinii-donation-float {
        transition: none;
    }
}

/* Donation circle with an overlapping white pill label; WhatsApp stays unchanged. */
.niinii-floating-actions {
    width: 54px;
}
.niinii-floating-actions > .niinii-donation-float {
    position: relative;
    display: flex;
    flex: 0 0 54px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 54px;
    height: 54px;
    max-width: 54px;
    max-height: 54px;
    padding: 0;
    border-radius: 50%;
    overflow: visible;
}
.niinii-floating-actions > .niinii-donation-float > .niinii-donation-chip {
    position: absolute;
    z-index: 1;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: max-content;
    min-height: 26px;
    margin: 0;
    padding: 5px 8px;
    border: 1px solid rgba(207, 5, 68, .07);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(54, 24, 37, .13);
    font-family: inherit;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .1px;
    text-transform: none;
    white-space: nowrap;
    color: #cf0544;
}
.niinii-floating-actions > .niinii-donation-float > svg {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    max-width: 22px;
    max-height: 22px;
    margin-top: 8px;
    fill: none;
    stroke: #fff;
}
@media (min-width: 601px) {
    .niinii-floating-actions {
        width: 58px;
    }
    .niinii-floating-actions > .niinii-donation-float {
        flex-basis: 58px;
        width: 58px;
        height: 58px;
        max-width: 58px;
        max-height: 58px;
    }
    .niinii-floating-actions > .niinii-donation-float > .niinii-donation-chip {
        top: -16px;
        min-height: 28px;
        padding: 6px 9px;
        font-size: 11px;
    }
    .niinii-floating-actions > .niinii-donation-float > svg {
        width: 24px;
        height: 24px;
        max-width: 24px;
        max-height: 24px;
        margin-top: 9px;
    }
}
