.upButton {
    position: fixed;
    right: 22px;
    bottom: 118px;
    z-index: 99999;
    display: none;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 999px;
    background: linear-gradient(135deg, var(--erson-primary-color) 0%, var(--erson-primary-color) 100%);
    box-shadow: 0 16px 34px var(--erson-primary-28), inset 0 1px 0 rgba(255, 255, 255, .28);
    color: #fff;
    cursor: pointer;
    opacity: .94;
    overflow: visible;
    text-align: center;
    transform: translateZ(0);
    transition: opacity .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}

.upButton:before {
    content: "";
    position: absolute;
    inset: -7px;
    z-index: -1;
    border-radius: inherit;
    background: var(--erson-primary-14);
    opacity: 0;
    transform: scale(.82);
    transition: opacity .18s ease, transform .18s ease;
}

.upButton:after {
    content: "Subir";
    position: absolute;
    top: 50%;
    right: 64px;
    padding: 7px 10px;
    border: 1px solid #dbe5f4;
    border-radius: 8px;
    background: #fff;
    color: #0f172a;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .12);
    transform: translate(8px, -50%);
    transition: opacity .18s ease, transform .18s ease;
    white-space: nowrap;
}

.upButton:hover,
.upButton:focus-within {
    opacity: 1;
    background: linear-gradient(135deg, var(--erson-primary-color) 0%, var(--erson-primary-color) 55%, var(--erson-primary-color) 100%);
    box-shadow: 0 22px 44px var(--erson-primary-36), inset 0 1px 0 rgba(255, 255, 255, .32);
    transform: translateY(-4px);
}

.upButton:hover:before,
.upButton:focus-within:before {
    opacity: 1;
    transform: scale(1);
}

.upButton:hover:after,
.upButton:focus-within:after {
    opacity: 1;
    transform: translate(0, -50%);
}

.upButton:active {
    box-shadow: 0 12px 28px var(--erson-primary-26), inset 0 2px 6px rgba(0, 0, 0, .16);
    transform: translateY(-1px) scale(.98);
}

.upButton .arrow-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
    outline: none;
}

.upButton .arrow-wrap:focus-visible {
    border-radius: inherit;
    box-shadow: 0 0 0 4px var(--erson-primary-18);
}

.upButton .arrow-wrap > i {
    display: block;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    animation: erUpButtonFloat 1.65s ease-in-out infinite;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .16);
}

@keyframes erUpButtonFloat {
    0%, 100% {
        transform: translateY(2px);
    }
    50% {
        transform: translateY(-2px);
    }
}

body.iframe .upButton {
    display: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .upButton,
    .upButton:before,
    .upButton:after,
    .upButton .arrow-wrap > i {
        animation: none !important;
        transition: none !important;
    }
}
