:root {
    --fw-fab-size: 50px;
    --fw-fab-size-mobile: 44px;
    --fw-fab-offset: 24px;
    --fw-fab-offset-mobile: 16px;
    --fw-fab-radius: 999px;
    --fw-fab-z-index: 1100;
    --fw-fab-shadow: 0 10px 26px rgba(2, 8, 23, 0.28);
    --fw-fab-shadow-hover: 0 14px 34px rgba(2, 8, 23, 0.34);
    --fw-fab-transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.3s ease,
        box-shadow 0.36s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

#whatsappBtn[data-fw-floating="true"],
#scrollToTop[data-fw-floating="true"] {
    position: fixed !important;
    width: var(--fw-fab-size) !important;
    height: var(--fw-fab-size) !important;
    border-radius: var(--fw-fab-radius) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    color: #f8fafc !important;
    box-shadow: var(--fw-fab-shadow) !important;
    line-height: 1 !important;
    cursor: pointer !important;
    z-index: var(--fw-fab-z-index) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: var(--fw-fab-transition) !important;
}

#whatsappBtn[data-fw-floating="true"] {
    left: var(--fw-fab-offset) !important;
    bottom: var(--fw-fab-offset) !important;
    background: linear-gradient(145deg, #25d366 0%, #17b857 100%) !important;
}

#whatsappBtn[data-fw-floating="true"] svg {
    width: 22px;
    height: 22px;
}

#scrollToTop[data-fw-floating="true"] {
    right: var(--fw-fab-offset) !important;
    bottom: var(--fw-fab-offset) !important;
    background: linear-gradient(145deg, #22d3ee 0%, #0ea5e9 100%) !important;
    color: #082f49 !important;
    opacity: 0 !important;
    transform: translateY(10px) scale(0.92) !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

#scrollToTop[data-fw-floating="true"].is-visible {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    pointer-events: auto !important;
    visibility: visible !important;
}

#scrollToTop[data-fw-floating="true"] svg {
    width: 20px;
    height: 20px;
}

#whatsappBtn[data-fw-floating="true"]:focus-visible,
#scrollToTop[data-fw-floating="true"]:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.95);
    outline-offset: 2px;
}

@media (hover: hover) {
    #whatsappBtn[data-fw-floating="true"]:hover,
    #scrollToTop[data-fw-floating="true"]:hover {
        transform: translateY(-3px) scale(1.06) !important;
        box-shadow: var(--fw-fab-shadow-hover) !important;
    }

    #scrollToTop[data-fw-floating="true"].is-visible:hover {
        transform: translateY(-3px) scale(1.06) !important;
    }
}

@media (max-width: 768px) {
    #whatsappBtn[data-fw-floating="true"],
    #scrollToTop[data-fw-floating="true"] {
        width: var(--fw-fab-size-mobile) !important;
        height: var(--fw-fab-size-mobile) !important;
    }

    #whatsappBtn[data-fw-floating="true"] {
        left: var(--fw-fab-offset-mobile) !important;
        bottom: var(--fw-fab-offset-mobile) !important;
    }

    #scrollToTop[data-fw-floating="true"] {
        right: var(--fw-fab-offset-mobile) !important;
        bottom: var(--fw-fab-offset-mobile) !important;
    }

    #whatsappBtn[data-fw-floating="true"] svg,
    #scrollToTop[data-fw-floating="true"] svg {
        width: 18px;
        height: 18px;
    }
}
