#rtp-final-button {
    position: fixed !important;
    right: 20px !important;
    bottom: 20px !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;

    padding: 0 !important;
    margin: 0 !important;

    background: #C9A875 !important;
    background-color: #C9A875 !important;

    border: none !important;
    border-radius: 2px !important;
    box-shadow: none !important;

    cursor: pointer !important;
    z-index: 2147483647 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;

    transform: translateY(8px) !important;
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease !important;

    -webkit-appearance: none !important;
    appearance: none !important;
}

#rtp-final-button.rtp-visible {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

/* No hover color/change */
#rtp-final-button:hover,
#rtp-final-button:active,
#rtp-final-button:focus {
    background: #C9A875 !important;
    background-color: #C9A875 !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
}

/* Solid upward arrow matching the supplied reference image */
#rtp-final-button span {
    display: block !important;
    width: auto !important;
    height: auto !important;
    border: 0 !important;
    background: transparent !important;
    color: #FFFFFF !important;
    font-family: Arial, sans-serif !important;
    font-size: 27px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    transform: none !important;
}



/* Mobile footer overlap fix: keep Return to Top above the fixed footer buttons */

/* Mobile: lift the Return to Top arrow clear above the fixed three-button footer */
@media screen and (max-width: 767px) {
    #rtp-final-button {
        position: fixed !important;
        right: 15px !important;
        bottom: 105px !important;
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
        z-index: 2147483647 !important;
    }
}
