/* FOLLO global back-to-top control — v3.1.19 */

/*
 * Fixed side-tab treatment: the same size on desktop and mobile, attached to
 * the right edge of the viewport and kept low near the footer without covering it.
 */
#follo-back-to-top.follo-back-to-top {
    position: fixed !important;
    top: auto !important;
    right: 0 !important;
    bottom: 64px !important;
    left: auto !important;
    z-index: 2147483000 !important;

    box-sizing: border-box !important;
    width: 132px !important;
    min-width: 132px !important;
    max-width: 132px !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 13px 0 12px !important;

    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-right: 0 !important;
    border-radius: 22px 0 0 22px !important;
    background: rgba(24, 24, 24, 0.95) !important;
    color: #ffffff !important;
    box-shadow: -4px 4px 16px rgba(0, 0, 0, 0.24) !important;

    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-decoration: none !important;
    white-space: nowrap !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;

    cursor: pointer !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translate3d(100%, 0, 0) !important;
    transition: opacity 180ms ease, transform 220ms ease, visibility 180ms ease, background-color 180ms ease !important;
    -webkit-tap-highlight-color: transparent;
}

#follo-back-to-top.follo-back-to-top.is-visible {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translate3d(0, 0, 0) !important;
}

#follo-back-to-top.follo-back-to-top:hover,
#follo-back-to-top.follo-back-to-top:focus-visible {
    background: rgba(42, 42, 42, 0.98) !important;
    color: #ffffff !important;
}

#follo-back-to-top.follo-back-to-top:focus-visible {
    outline: 2px solid #ffffff !important;
    outline-offset: 3px !important;
}

#follo-back-to-top .follo-back-to-top__arrow {
    display: inline-block !important;
    flex: 0 0 auto !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    transform: translateY(-1px) !important;
}

#follo-back-to-top .follo-back-to-top__label {
    display: inline-block !important;
    line-height: 1 !important;
}

@media (prefers-reduced-motion: reduce) {
    #follo-back-to-top.follo-back-to-top {
        transition: none !important;
    }
}
