.page-controls {
    position: fixed;
    z-index: 105;
    left: calc(100% - 46px);
    top: calc(100dvh - 164px);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.page-controls > .btn-to-top {
    width: 44px;
    height: 44px;
    background: transparent;
    color: var(--ui-orange-3, #CABCAD);
}
.page-controls > [hidden], .page-sections[hidden] { display: none; }
.page-controls > .btn-to-top:hover,
.page-controls > .btn-to-top:active {
    color: #fff;
    background: var(--ui-orange-1);
}
.page-controls > .btn-to-top:focus-visible,
.page-sections a:focus-visible {
    outline: 2px solid var(--ui-orange-1);
    outline-offset: 2px;
}
.page-controls .page-sections-icon {
    fill: currentColor;
    stroke: currentColor;
}
.page-sections {
    position: absolute;
    right: 52px;
    bottom: 52px;
    width: min(300px, calc(100vw - 62px));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 12px;
    border: 1px solid var(--ui-orange-3, #CABCAD);
    background: #fff;
    box-shadow: 0 4px 18px rgb(0 0 0 / 10%);
    color: var(--ui-gray-1, #494949);
}
.page-sections ul { margin: 0; padding: 0; list-style: none; }
.page-sections a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 8px;
    color: inherit;
    font-size: 15px;
    line-height: 1.35;
    text-decoration: none;
}
.page-sections a:hover { color: var(--ui-orange-1); background: #faf8f5; }
html[lang="ru"] .main__footer .btn-to-top { display: none; }
:is(#product-images, #product-code, #product-name, #product-status, .product__tabs-content > [id], #product-video, #product-assembly, #product-dimensions, #product-faq, #product-3d, #tab-group-products) {
    scroll-margin-top: calc(var(--header-height, 72px) + 16px);
}

.page-controls .page-down-icon { transform: rotate(180deg); }
