.jedi-scroll-to-top {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: #111;
    color: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease,
        background-color 0.25s ease;
}

.jedi-scroll-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.jedi-scroll-to-top:hover,
.jedi-scroll-to-top:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
    filter: brightness(1.05);
}

.jedi-scroll-to-top svg {
    display: block;
}

@media (max-width: 767px) {
    .jedi-scroll-to-top {
        right: 15px;
        bottom: 18px;
        width: 44px;
        height: 44px;
        border-radius: 9px;
    }
}