.kpo-fcb {
    --kpo-fcb-side: 22px;
    position: fixed !important;
    right: calc(var(--kpo-fcb-side) + env(safe-area-inset-right, 0px));
    bottom: calc(var(--kpo-fcb-desktop-bottom, 24px) + env(safe-area-inset-bottom, 0px));
    z-index: 2147483000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--kpo-fcb-gap, 12px);
    font-family: inherit;
    pointer-events: none;
    opacity: 1;
    visibility: visible;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.kpo-fcb.is-interaction-hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    pointer-events: none;
}

.kpo-fcb--left {
    right: auto;
    left: calc(var(--kpo-fcb-side) + env(safe-area-inset-left, 0px));
    align-items: flex-start;
}

.kpo-fcb__stack {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--kpo-fcb-gap, 12px);
    transform: translateY(12px) scale(.96);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}

.kpo-fcb--left .kpo-fcb__stack {
    align-items: flex-start;
}

.kpo-fcb.is-open .kpo-fcb__stack {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.kpo-fcb__item,
.kpo-fcb__launcher {
    inline-size: var(--kpo-fcb-size, 58px);
    block-size: var(--kpo-fcb-size, 58px);
    min-inline-size: var(--kpo-fcb-size, 58px);
    min-block-size: var(--kpo-fcb-size, 58px);
    border-radius: 999px;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    color: var(--kpo-fcb-icon, #fff) !important;
    cursor: pointer;
    position: relative;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
    appearance: none;
    padding: 0;
    margin: 0;
}

.kpo-fcb__launcher {
    background: linear-gradient(135deg, var(--kpo-fcb-launcher, #ff4fb8), var(--kpo-fcb-launcher-2, #6d5dfc));
}

.kpo-fcb__item--whatsapp {
    background: var(--kpo-fcb-whatsapp, #25d366);
}

.kpo-fcb__item--email {
    background: var(--kpo-fcb-email, #3157ff);
}

.kpo-fcb--shadow-soft .kpo-fcb__item,
.kpo-fcb--shadow-soft .kpo-fcb__launcher {
    box-shadow: 0 8px 18px rgba(17, 24, 39, .18);
}

.kpo-fcb--shadow-medium .kpo-fcb__item,
.kpo-fcb--shadow-medium .kpo-fcb__launcher {
    box-shadow: 0 12px 26px rgba(17, 24, 39, .24);
}

.kpo-fcb--shadow-strong .kpo-fcb__item,
.kpo-fcb--shadow-strong .kpo-fcb__launcher {
    box-shadow: 0 18px 36px rgba(17, 24, 39, .34);
}

.kpo-fcb__item:hover,
.kpo-fcb__launcher:hover,
.kpo-fcb__item:focus-visible,
.kpo-fcb__launcher:focus-visible {
    transform: translateY(-2px);
    outline: 3px solid rgba(255, 255, 255, .75);
    outline-offset: 3px;
}

.kpo-fcb__icon,
.kpo-fcb__launcher-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    inline-size: 58%;
    block-size: 58%;
    color: currentColor;
}

.kpo-fcb__icon svg,
.kpo-fcb__launcher-icon svg {
    inline-size: 100%;
    block-size: 100%;
    display: block;
}

.kpo-fcb__launcher-icon--close {
    font-size: calc(var(--kpo-fcb-size, 58px) * .54);
    font-weight: 700;
    line-height: 1;
    display: none;
}

.kpo-fcb.is-open .kpo-fcb__launcher-icon--open {
    display: none;
}

.kpo-fcb.is-open .kpo-fcb__launcher-icon--close {
    display: inline-flex;
}

.kpo-fcb__label {
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--kpo-fcb-label-bg, #fff);
    color: var(--kpo-fcb-label-text, #172033);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(17, 24, 39, .16);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.kpo-fcb--left .kpo-fcb__label {
    right: auto;
    left: calc(100% + 10px);
}

.kpo-fcb__item:hover .kpo-fcb__label,
.kpo-fcb__item:focus-visible .kpo-fcb__label {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-2px);
}

.kpo-fcb--left .kpo-fcb__item:hover .kpo-fcb__label,
.kpo-fcb--left .kpo-fcb__item:focus-visible .kpo-fcb__label {
    transform: translateY(-50%) translateX(2px);
}

@media (max-width: 782px) {
    .kpo-fcb {
        --kpo-fcb-side: 8px;
        right: calc(var(--kpo-fcb-side) + env(safe-area-inset-right, 0px));
        bottom: calc(var(--kpo-fcb-mobile-bottom, 8px) + env(safe-area-inset-bottom, 0px));
    }

    .kpo-fcb--left {
        right: auto;
        left: calc(var(--kpo-fcb-side) + env(safe-area-inset-left, 0px));
    }

    .kpo-fcb__label {
        display: none;
    }

    .kpo-fcb--hide-mobile {
        display: none !important;
    }
}

@media (min-width: 783px) {
    .kpo-fcb--hide-desktop {
        display: none !important;
    }
}

@media print {
    .kpo-fcb--hide-print {
        display: none !important;
    }
}
