.se-back-to-top {
    position: fixed;
    bottom: 16px;
    right: 24px;
    z-index: 500052;
    width: 50px;
    height: 50px;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 50%;
    background: var(--color-brand, #3a8aff);
    color: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(58, 138, 255, 0.45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease, box-shadow 0.2s ease, filter 0.2s ease;
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
}
.se-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
.se-back-to-top:hover {
    filter: brightness(1.06);
    box-shadow: 0 6px 26px rgba(58, 138, 255, 0.55);
}
.se-back-to-top:focus {
    outline: none;
}
.se-back-to-top:focus-visible {
    outline: 2px solid var(--color-brand, #3a8aff);
    outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
    .se-back-to-top {
        transition: opacity 0.15s ease, visibility 0.15s ease;
    }
}
@media (max-width: 1024px) {
    .se-back-to-top {
        bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    }
}
@media (max-width: 768px) {
    .se-back-to-top {
        right: 16px;
    }
}
body.mobile-menu-open .se-back-to-top {
    display: none !important;
}
