.aeurea-back-to-top {
    position: fixed;
    right: 28px;
    bottom: 32px;
    z-index: 9980;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(128, 128, 0, .34);
    border-radius: 50%;
    background: rgba(250, 249, 246, .86);
    color: #74784d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .22s ease, visibility .22s ease, transform .22s ease, border-color .22s ease, background-color .22s ease, color .22s ease;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.aeurea-back-to-top.is-visible {
    opacity: .88;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.aeurea-back-to-top svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.aeurea-back-to-top:hover,
.aeurea-back-to-top:focus-visible {
    opacity: 1;
    background: rgba(250, 249, 246, .96);
    border-color: rgba(128, 128, 0, .58);
    color: #22201d;
}

.aeurea-back-to-top:focus-visible {
    outline: 1px solid rgba(128, 128, 0, .72);
    outline-offset: 4px;
}

@media (max-width: 1024px) {
    .aeurea-back-to-top {
        right: 22px;
        bottom: 28px;
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 767px) {
    .aeurea-back-to-top {
        right: 18px;
        bottom: calc(76px + env(safe-area-inset-bottom));
        width: 40px;
        height: 40px;
        background: rgba(250, 249, 246, .9);
    }

    .aeurea-back-to-top svg {
        width: 17px;
        height: 17px;
    }

    body.woocommerce-cart .aeurea-back-to-top,
    body.woocommerce-checkout .aeurea-back-to-top {
        bottom: calc(104px + env(safe-area-inset-bottom));
    }
}

@media (prefers-reduced-motion: reduce) {
    .aeurea-back-to-top {
        transition: opacity .01ms linear, visibility .01ms linear;
        transform: none;
    }
}
