.pride-back-to-top {
    position: fixed;
    right: calc(24px + env(safe-area-inset-right, 0px));
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    z-index: 30;
    display: grid;
    place-items: center;
    box-sizing: border-box;
    width: 48px;
    height: 48px;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    background: #fb9a43;
    color: #293438;
    box-shadow: 0 3px 14px rgba(0, 0, 0, .25);
    font: inherit;
    line-height: 1;
    appearance: none;
    cursor: pointer;
    touch-action: manipulation;
    transition: background-color .15s ease, transform .15s ease;
}

.pride-back-to-top[hidden],
body.ov-h .pride-back-to-top,
body:has(.popup__id, .price-popup.show, .pop-up.act, .mobile.menu.act, .bx-core-adm-dialog, dialog[open]) .pride-back-to-top {
    display: none !important;
}

.pride-back-to-top svg {
    display: block;
    width: 24px;
    height: 24px;
    pointer-events: none;
}

@media (hover: hover) {
    .pride-back-to-top:hover {
        background: #ffb36d;
        transform: translateY(-2px);
    }
}

.pride-back-to-top:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
    box-shadow: 0 0 0 7px #293438;
}

@media (max-width: 767px) {
    .pride-back-to-top {
        right: calc(16px + env(safe-area-inset-right, 0px));
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        width: 44px;
        height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pride-back-to-top {
        transition: none;
    }
}
