.page {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
}
.page__content {
    position: relative;
    z-index: 2;
    flex: 1 0 auto;
}
.page__content._grow {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
}
.page__bg {
    position: absolute;
    display: none;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    font-size: 0;
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}
.page__bg._visible {
    display: block;
}
.page__bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-repeat: repeat;
}
.pagealt {
    position: relative;
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
}
.pagealt .container {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}
.pagealt__sidebar {
    position: absolute;
    display: flex;
    top: 40px;
    left: 40px;
    bottom: 40px;
    z-index: 9;
    flex-direction: column;
    width: 320px;
    border-radius: 30px;
}
.pagealt__content {
    display: flex;
    flex-direction: column;
    min-width: 1px;
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
}
.pagealt__content-top {
    flex: 0 0 auto;
    padding: 40px 60px 0 420px;
    background: rgba(var(--color-font-rgb), 0.02);
}
.pagealt__content-body {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
    padding: 0 60px 40px 420px;
}
@media only screen and (max-width: 1440px) {
    .pagealt__content-top {
        flex: 0 0 auto;
        padding: 30px 40px 0 330px;
    }
    .pagealt__content-body {
        flex: 1 0 auto;
        padding: 0 40px 30px 330px;
    }
    .pagealt__sidebar {
        top: 30px;
        left: 30px;
        bottom: 30px;
        width: 260px;
    }
}
@media only screen and (max-width: 1200px) {
    .pagealt__content-top {
        flex: 0 0 auto;
        padding: 30px 40px 0 270px;
    }
    .pagealt__content-body {
        flex: 1 0 auto;
        padding: 0 40px 10px 270px;
    }
    .pagealt__sidebar {
        left: 20px;
        width: 225px;
    }
}
@media only screen and (max-width: 992px) {
    .pagealt__sidebar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 9;
        width: 100%;
        border-radius: 0;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease-in-out;
    }
    .pagealt._sidebar-active .pagealt__sidebar {
        opacity: 1;
        pointer-events: all;
    }
    .pagealt._sidebar-active .header-alt {
        opacity: 0;
        pointer-events: none;
    }
    .pagealt__content-top {
        display: flex;
        flex-direction: column;
        padding: 25px 25px 0;
        background: transparent;
    }
    .pagealt__content-body {
        padding: 0 25px 100px;
    }
}
.orders {
    position: relative;
    z-index: 9;
    width: 100%;
    min-width: 1px;
}
.orders__wrapper {
    position: relative;
    overflow: hidden;
    padding: 40px 0 20px;
}
.orders__grid {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}
.orders__grid:not(.container) {
    height: 70px;
}
.orders._local {
    display: none;
}
.orders._local._visible {
    display: block;
}
.orders._local:after {
    position: absolute;
    content: " ";
    display: inline-block;
    right: 0;
    bottom: 10px;
    z-index: 2;
    width: 120px;
    height: 120px;
    background: linear-gradient(90deg, rgba(var(--color-background-rgb), 0) 0, var(--color-background) 100%);
    pointer-events: none;
}
.orders._local .orders__wrapper {
    padding: 20px 0;
    overflow-x: auto;
}
.orders._local .orders__wrapper::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
.orders._local .orders__wrapper::-webkit-scrollbar-track {
    background: #333;
}
.orders._local .orders__wrapper::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 6px;
}
.orders._local .orders__wrapper::-webkit-scrollbar-thumb:hover {
    background: #777;
}
.orders._local .orders__grid {
    justify-content: flex-start;
    margin-top: 16px;
}
@media only screen and (max-width: 1440px) {
    .orders__wrapper {
        padding-top: 30px;
        padding-bottom: 10px;
    }
    .orders__grid:not(.container) {
        height: 60px;
    }
    .orders._local:after {
        bottom: 15px;
        width: 100px;
        height: 100px;
    }
}
@media only screen and (max-width: 768px) {
    .orders__wrapper {
        overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    }
    .orders__wrapper::-webkit-scrollbar {
        width: 6px;
        height: 6px;
        display: none; /* Chrome, Safari, Opera */
    }
    .orders__wrapper::-webkit-scrollbar-track {
        background: #333;
    }
    .orders__wrapper::-webkit-scrollbar-thumb {
        background: #555;
        border-radius: 6px;
    }
    .orders__wrapper::-webkit-scrollbar-thumb:hover {
        background: #777;
    }
    .orders__grid {
        justify-content: flex-start;
    }
    .orders._local:after {
        bottom: 10px;
        width: 25px;
        height: 120px;
    }
    .orders._local .orders__grid {
        margin-top: 10px;
    }
}
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}
.order-card {
    position: absolute;
    overflow: hidden;
    display: flex;
    top: 0;
    left: 0;
    flex: 0 0 auto;
    align-items: center;
    width: 200px;
    min-width: 1px;
    margin-right: 20px;
    padding: 14px 20px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    transform: translateX(calc((100% + 20px) * var(--position) + 20px));
    transition: width 0.15s ease, transform 0.35s ease-in-out;
    white-space: nowrap;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}
.order-card._enter {
    transform: translateX(-200px);
}
.order-card._enterActive {
    transform: translateX(calc((100% + 20px) * var(--position) + 20px));
}
.order-card__icon {
    flex: 0 0 auto;
    margin-right: 15px;
    font-size: 0;
}
.order-card__icon .svg-icon {
    font-size: 20px;
}
.order-card__icon img {
    width: 20px;
}
.order-card__icon img._product {
    margin-top: 3px;
}
.order-card__contents {
    display: flex;
    flex: 0 1 auto;
    flex-direction: column;
    min-width: 1px;
}
.order-card__desc {
    width: 100%;
    margin-top: 4px;
    overflow: hidden;
    min-width: 1px;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.order-skeleton {
    flex-direction: column;
    align-items: flex-start;
    min-width: 167px;
}
.order-skeleton__title {
    width: 70%;
    height: 20px;
}
.order-skeleton__desc {
    width: 100%;
    height: 15px;
    margin-top: 4px;
}
@media only screen and (max-width: 1440px) {
    .order-card {
        width: 180px;
        margin-right: 10px;
        padding: 9px 15px;
        border-radius: var(--border-radius-hd);
        transform: translateX(calc((100% + 10px) * var(--position) + 10px));
    }
    .order-card._enter {
        transform: translateX(-180px);
    }
    .order-card._enterActive {
        transform: translateX(calc((100% + 10px) * var(--position) + 10px));
    }
    .order-card__icon {
        margin-right: 10px;
    }
    .order-card__icon .svg-icon {
        font-size: 15px;
    }
    .order-card__icon img {
        width: 15px;
    }
    .order-card__icon img._product {
        width: 20px;
    }
    .order-skeleton {
        min-width: 147px;
    }
}
@media only screen and (max-width: 768px) {
    .order-skeleton__title {
        height: 15px;
    }
    .order-skeleton__desc {
        height: 10px;
    }
    .order-card {
        border-radius: var(--border-radius);
    }
}
.order-local {
    position: relative;
    display: flex;
    flex: 0 0 auto;
    align-items: flex-start;
    min-width: 200px;
    margin-right: 10px;
    padding: 18px 30px 14px;
    background: var(--color-block-background);
    border-radius: var(--border-radius);
    transition: background 0.25s ease-in-out;
}
.order-local:hover {
    background: var(--color-block-background-hover);
}
.order-local:hover .order-local__remove {
    opacity: 0.3;
}
.order-local:hover .order-local__remove:hover {
    opacity: 1;
}
.order-local._pending {
    background: rgba(var(--color-primary-rgb), 20%);
}
.order-local._pending:hover {
    background: rgba(var(--color-primary-rgb), 30%);
}
.order-local._pending .order-local__icon {
    background: rgba(var(--color-primary-rgb));
    border-radius: 50%;
}
.order-local._pending .order-local__icon .svg-icon {
    font-size: 12px;
}
.order-local._failed {
    background: rgba(var(--color-red), 20%);
}
.order-local._failed:hover {
    background: rgba(var(--color-red), 30%);
}
.order-local._failed .order-local__icon {
    background: rgba(var(--color-red));
    border-radius: 50%;
}
.order-local._failed .order-local__icon .svg-icon {
    font-size: 10px;
}
.order-local._compleate {
    background: rgba(var(--color-green), 20%);
}
.order-local._compleate:hover {
    background: rgba(var(--color-green), 30%);
}
.order-local._compleate .order-local__icon {
    background: rgba(var(--color-green));
    border-radius: 50%;
}
.order-local._compleate .order-local__icon .svg-icon {
    font-size: 10px;
}
.order-local__content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding-right: 10px;
}
.order-local__login {
    margin-top: 2px;
}
.order-local__sum {
    margin-top: 6px;
    font-variation-settings: "wght" 700;
    font-size: 18px;
    line-height: 1.3888888889;
}
@supports not (font-variation-settings: normal) {
    .order-local__sum {
        font-weight: 700;
    }
}
.order-local__icon {
    display: inline-flex;
    flex: 0 0 auto;
    justify-content: center;
    align-items: center;
    min-width: 20px;
    min-height: 20px;
    margin-left: auto;
    font-size: 0;
}
.order-local__icon .svg-icon {
    font-size: 20px;
}
.order-local__remove {
    position: absolute;
    right: 25px;
    bottom: 10px;
    padding: 5px;
    font-size: 0;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.25s ease-in-out;
}
.order-local__remove .svg-icon {
    font-size: 16px;
}
@media only screen and (max-width: 1440px) {
    .order-local {
        min-width: 180px;
        padding: 12px 20px 10px;
    }
    .order-local__remove {
        right: 17px;
        bottom: 10px;
    }
    .order-local__remove .svg-icon {
        font-size: 14px;
    }
}
@media only screen and (max-width: 768px) {
    .order-local {
        min-width: 160px;
        margin-right: 5px;
        padding: 18px 25px 14px;
    }
    .order-local__remove {
        right: 23px;
        bottom: 12px;
    }
}
