
.orders__wrap {
    position: relative;
    width: auto;
    flex: 1 1 auto;
    padding: 15px 11px;
    border-radius: 20px;
    background: #FFF;
    counter-reset: order;
    transition: 0.2s ease-in-out;
}
.orders__wrap.open-order {
    transform: none;
}

.orders-header {
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 9px;
    padding-right: 9px;
    display: flex;
    align-items: center;
}

.orders-header .btn-back {
    background-color: transparent;
    border: 0;
    outline: none;
    display: flex;
    align-items: center;
    column-gap: 8px;
    color: #000;
    cursor: pointer;
    transition: 0.2s;
}

.orders-header .btn-back svg {
    margin-top: 3px;
}
.orders-header .btn-back span {
    font-family: Neris;
    font-size: 14px;
    font-weight: 600;
    line-height: 18px;
}
.orders-header .btn-back:hover {
    color: #2B4EA1;
}
.orders-header .page-title {
    margin: 0;
    padding: 0;
    text-align: center;
    font-size: clamp(18px, 3vw, 24px);
    font-weight: 900;
    flex: auto;
    width: auto;
}

.orders-header .orders-time {
    white-space: nowrap;
    color: #000;
    font-family: Neris;
    font-size: 14px;
    font-weight: 600;
    line-height: normal; 
}

.orders-table-header {
    padding: 14px 20px 14px 9px;
    display: flex;
    align-items: center;
    border-radius: 10px;
    background: #E2E2E2;
}
.orders-table-header .col-title {
    flex: 1;
    color: #000;
    font-family: Neris;
    font-size: 16px;
    font-weight: 600;
    line-height: normal; 
}
.orders-table-header .col-title:nth-child(1) {
    flex: 0.4;
}
.orders-table-header .col-title:nth-child(2) {
    flex: 4;
}
.orders-table-header .col-title:nth-child(3) {
    flex: 1.05;
}
.orders-table-header .col-title:nth-child(4) {
    flex: 1;
}
.orders-table-header .col-title:nth-child(5) {
    flex: 1;
}

.order-item {
    padding-left: 9px;
    padding-right: 9px;
    padding-top: 18px;
    padding-bottom: 18px;
    display: flex;
    align-items: center;
    border-radius: 5px;
    border: 1px solid transparent;
    transition: 0.2s;
}
.order-item:hover {
    background: #FFFFFF;
    border: 1px solid #D9D9D9;
}
.order-item:nth-child(2n) {
    border-radius: 5px;
    background: #F7F7F9;
}
.order-item::before {
    flex: 0.4;
    counter-increment: order;
    content: counter(order);
    color: #000;
    font-family: Neris;
    font-size: 14px;
    font-weight: 600;
    line-height: normal; 
}

.order-item .order-product {
    flex: 4.1;
    display: flex;
    align-items: center;
    column-gap: 25px;
    border-radius: 5px;
    border: 1px solid transparent;
}
.order-item .order-product .image {
    width: 40px;
    height: 40px;
}
.order-item .order-product .image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.order-item .order-product .name a {
    color: #000;
    font-family: Neris;
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
    text-decoration-line: underline;
    transition: 0.2s;
}
.order-item .order-product .name a:hover {
    color: #2B4EA1;
}
.order-item .article {
    flex: 1.1;
    color: #000;
    font-family: Neris;
    font-size: 14px;
    font-weight: 300;
    line-height: normal; 
}

.order-item .count {
    flex: 1;
    color: #000;
    font-family: Neris;
    font-size: 14px;
    font-weight: 300;
    line-height: normal;
}
.order-item .price,
.order-item .summa {
    flex: 1.1;
    color: #000;
    font-family: Neris;
    font-size: 14px;
    font-weight: 600;
    line-height: normal; 
}

.orders-result {
    padding-top: 17px;
    padding-bottom: 17px;
    padding-left: 9px;
    padding-right: 55px;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.orders-result .status {
    color: #000;
    font-family: Neris;
    font-size: 16px;
    font-weight: 300;
    line-height: normal; 
}
.orders-result .status::before {
    content: 'Статус заказа: ';
    color: #000;
    font-family: Neris;
    font-size: 16px;
    font-weight: 600;
    line-height: normal; 
}
.orders-result .count {
    color: #000;
    font-family: Neris;
    font-size: 16px;
    font-weight: 600;
    line-height: normal; 
}
.orders-result .count::before {
    content: 'Итого: ';
    color: #000;
    font-family: Neris;
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
}
.orders-bottom {
    padding-top: 17px;
    padding-bottom: 17px;
    padding-left: 9px;
    padding-right: 55px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}


@media screen and (max-width: 991px) {
    .orders-header .page-title {
        order: 0;
    }
}

@media screen and (max-width: 768px) {
    .orders-table-header {
        display: none;
    }
    .orders__wrap .order-item {
        padding-top: 8px;
        padding-bottom: 8px;
        gap: 13px;
        flex-wrap: wrap;
    }
    .orders__wrap .order-item>div {
        flex: auto;
        display: flex;
        flex-direction: column;
    }
    .orders__wrap .order-item>div:before {
        content: attr(data-label) ':';
        text-transform: uppercase;
        text-align: center;
        color: #000;
        font-family: Neris;
        font-size: 14px;
        font-weight: 600;
        line-height: normal;
        white-space: nowrap; 
    }
    .orders__wrap .order-product {
        flex: 1 0 90% !important;
        position: relative;
        flex-direction: row !important;
        column-gap: 8px;
    }
    .orders__wrap .order-product::before {
        display: none;
    }
    .orders__wrap .article,
    .orders__wrap .count {
        text-align: center;
    }
    .orders__wrap .price,
    .orders__wrap .summa {
        margin-top: 10px;
        position: relative;
        display: flex;
        flex-direction: row !important;
        align-items: center;
        column-gap: 4px;
    }
    .orders__wrap .price::before,
    .orders__wrap .summa::before {
        position: absolute;
        top: -15px;
    }
    .orders-result,
    .orders-bottom {
        padding-right: 9px;
    }
    .orders-result .count {
        white-space: nowrap;
    }
}
@media screen and (max-width: 414px) {
    .orders-bottom {
        flex-direction: column;
        align-items: center;
    }
}