html,
.page_sw,
main,
body {
    height: 100%;
}

.page_sw {
    overflow: hidden;
    visibility: visible;
    opacity: 1;
    transition: visibility 2s, opacity 2s;
}

.page_sw_panel {
    visibility: visible;
    opacity: 1;
    transition: visibility 2s, opacity 2s;
}

.inn_page_sw_panel {
    padding: 0 32px 32px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: relative;
    z-index: 2;
}

.page_to_top {
    pointer-events: auto;
    position: absolute;
    bottom: calc(56px + 44px + 16px);
    right: calc((56 - 44) / 2 * 1px + 32px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    background-color: #D7D7D7;
    height: 44px;
    width: 44px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
}

 .page_to_top {
    bottom: calc(56px + 44px + 32px);
    opacity: 1;
    visibility: visible;
}

/*@media (min-width: 1025px) {*/
    .page_to_top.hide {
        opacity: 0;
        visibility: hidden;
        bottom: calc(56px + 44px + 16px);
    }
/*}*/

@media (min-width: 721px) {
    .page_to_top:hover {
        --corner-c: #BC955E;
        background-color: #C69F68;
    }
}

.panel_polic {
    margin-left: 8px;
    font-size: 14px;
    line-height: calc(100% * 22 / 14);
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
    transition: .3s;
}

.panel_polic.hide {
    opacity: 0;
    transform: translateY(12px);
    visibility: hidden;
}


@media (min-width: 721px) {
    .panel_polic {
        position: relative;
        /* transition: color .3s; */
    }

    .panel_polic:after {
        position: absolute;
        content: "";
        bottom: -3px;
        left: 50%;
        right: 50%;
        height: 1px;
        transition: .3s;
        background-color: #878787;
    }

    .panel_polic:hover {
        color: #C69F68;
    }

    .panel_polic:hover:after {
        left: 0;
        right: 0;
        background-color: #C69F68;
    }
}

.page_sw_panel {
    pointer-events: none;
    position: fixed;
    height: 120px;
    z-index: 100;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: flex-end;
}

.page_sw_pag {
    transition: .3s;
    transform: translateY(8px);
    opacity: 0;
    font-weight: 300;
    display: flex;
    gap: 8px;
    align-items: center;
    color: #878787;
}

body.loaded .page_sw_pag {
    transform: translateY(0);
    opacity: 1;
}

.page_sw_panel_btn {
    pointer-events: auto;
    padding: 0;
    width: 56px;
    min-width: 56px;
    height: 56px;
}

@media (min-width: 721px) {
    .page_sw_panel_btn:hover {
        --fill: #C69F68;
    }
}

.page_sw_pag_info {
    gap: 4px;
    display: flex;
}

.page_sw_pi_current {
    color: #B9B9B9;
    width: 12px;
    text-align: center;
}

.page_sw_pag_info,
.page_sw_pi_separator {
    font-size: 10px;
    line-height: calc(16 / 10);
}

.page_sw_pag_block {
    font-size: 14px;
    line-height: calc(100% * 22 / 14);
}

.page_sw_panel:after {
    bottom: 0;
    content: "";
    position: absolute;
    height: 96px;
    right: 0;
    left: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(21, 21, 21, 0) 0%, rgba(21, 21, 21, 0.8) 43.76%, var(--c-primary) 100%);
}

body.slider-disabled .page_sw > .swiper-wrapper {
    flex-direction: column;
}

body.slider-disabled .page_sw {
    overflow: unset;
}

@media (max-width: 1024px) {
    .panel_polic {
        display: none !important;
    }

    .page_to_top {
        right: calc((56 - 44) / 2 * 1px + 16px);
        bottom: calc(56px + 44px);
    }

    .showBlur .page_to_top {
        bottom: calc(16px + 56px + 44px);
    }

    .page_sw > .swiper-wrapper > .swiper-slide {
        /*touch-action: pan-y;*/
        touch-action: pan-x;
        /*will-change: transform;*/
        padding: 96px 0;
        overflow-y: auto;

        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE and Edge */
    }

    .page_sw > .swiper-wrapper > .swiper-slide:last-child {
        padding: 0;
        height: 100%;
    }

    .page_sw > .swiper-wrapper > .swiper-slide:last-child > :first-child {
        height: 100%;
    }

    .page_sw > .swiper-wrapper > .swiper-slide ~ .swiper-slide > :first-child {
        min-height: 100%;
        height: min-content;
        display: flex;
        align-items: center;
    }
}

@media (max-width: 1024px) and (orientation: landscape) {
    .page_sw > .swiper-wrapper > :first-child {
        height: 100dvmin;
    }
}

@media (max-width: 1024px) and (orientation: portrait) {
    .page_sw > .swiper-wrapper > :first-child {
        height: 100dvmax;
    }
}

@media (max-width: 720px) {
    .page_to_top {
        width: 56px;
        height: 56px;
        right:16px;
    }
    .inn_page_sw_panel {
        padding: 0 16px 16px;
    }

    .page_sw_panel_btn {
        justify-content: center;
        width: 56px;
        min-width: 56px;
        height: 56px;
    }
}