.account-orders_list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.account-orders_list-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 20px 24px;
    gap: 16px;
}
.account-orders_list-number {
    width: 140px;
}
.account-orders_list-date {
    width: 200px;
    max-width: 23%;
}
.account-orders_list-thumbs {
    width: 310px;
    max-width: 28%;
}
.account-orders_list-total {
    min-width: 80px;
    margin-left: auto;
    text-align: right;
}
.account-orders_list-more {
    width: 48px;
}

.account-orders_list-orders {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.account-orders_item {
    border-radius: 16px;
    background: var(--color-gray-0);
}
.account-orders_item.active {
    border: 1px solid var(--color-black);
}

.orders-item_heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 20px 24px;
    height: 88px;
    cursor: pointer;
    gap: 16px;
}
.orders-item_number {
    width: 140px;
}
.orders-item_date {
    width: 200px;
    max-width: 23%;
}

.orders-item_thumbs {
    display: flex;
    align-items: center;
    width: 310px;
    max-width: 28%;
    height: 48px;
    overflow: hidden;
    gap: 4px;
}
.account-orders_item.active .orders-item_thumbs {
    /* height: 0; */
}

.orders-item_thumbs-item {
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    background: var(--color-black-90);
    border: 1px solid var(--color-gray-70);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}
.orders-item_thumbs-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.orders-item_thumbs-item span {
    color: var(--color-gray-30);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.orders-item_total {
    min-width: 80px;
    margin-left: auto;
    text-align: right;
}
.orders-item_more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    cursor: pointer;
}
.orders-item_more svg {
    display: block;
}

.orders-item_content {
    display: none;
}

.orders-item_products {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-top: -69px;
    margin-left: 39%;
    margin-right: 8.5%;
    background: var(--color-gray-0);
    transition: all 0.3s ease;
    opacity: 0;
    z-index: 2;
    gap: 16px;
}
.account-orders_item.active .orders-item_products {
    opacity: 1;
}

.account-orders_item.active .orders-item_more {
    transform: rotate(180deg);
}

.orders-item_info {
    display: flex;
    justify-content: space-between;
    margin: 40px 35px 20px 30px;
    padding-top: 20px;
    padding: 20px 20px 0 20px;
    border-top: 1px solid var(--color-black-90);
    gap: 24px;
}

.orders-item_info-left {
    width: 50%;
}
.orders-item_info-center {
    width: 50%;
}
.orders-item_info-right {
    display: flex;
    align-items: flex-end;
    white-space: nowrap;
    padding-bottom: 40px;
}

.orders-item_info-title {
    margin-bottom: 16px;
}
.orders-item_info-data {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
    gap: 8px;
}
.orders-item_info-data div {

}

.orders-item_products .popup-cart_product-price {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}
.orders-item_products .popup-cart_product-price .body-2 {
    color: var(--color-gray-50);
}

@media (max-width: 1250px) {
    .account-orders_list-heading {
        display: none;
    }

    .popup-cart_product-img {
        max-width: 90px;
        max-height: 90px;
    }
    .popup-cart_product-data {
        width: calc(100% - 115px);
    }

    .orders-item_heading {
        display: flex;
        flex-wrap: nowrap;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 24px;
        height: auto;
        cursor: pointer;
        gap: 8px;
    }

    .orders-item_number,
    .orders-item_date,
    .orders-item_thumbs {
        width: 100%;
        max-width: 100%;
    }
    .orders-item_date {
        margin-bottom: 8px;
    }

    .orders-item_total {
        min-width: 100%;
        margin-left: 0;
        margin-right: auto;
        margin-top: 8px;
        text-align: left;
    }

    .orders-item_heading {
        position: relative;
        padding: 20px 16px;
    }

    .orders-item_more {
        position: absolute;
        top: 20px;
        right: 16px;
        padding: 12px;
    }

    .orders-item_products {
        margin-top: 0;
        margin-left: 16px;
        margin-right: 16px;
    }
    .orders-item_info-right {
        display: none;
    }
    .orders-item_info-left,
    .orders-item_info-center {
        width: 50%;
    }
}

@media (max-width: 550px) {
    .orders-item_info {
        flex-direction: column;
    }

    .orders-item_info {
        flex-direction: column;
        margin: 48px 16px 0 16px;
        padding-top: 20px;
        padding: 20px 0 20px 0;
        gap: 0;
    }

    .orders-item_info-title {
        margin-bottom: 10px;
    }
    .orders-item_info-data {
        margin-bottom: 24px;
        gap: 4px;
    }

    .popup-cart_product-data {
        width: calc(100% - 106px);
    }
}