body{
    font-family: YekanBakh;
}

.reyhoon-orders-h1 {
    font-size: 16px;
    font-weight: 700;
    color: var(--reyhoon-black);
    margin: 16px;
}

.woocommerce-orders-table__row {
    background-color: var(--reyhoon-gray-light);
    border-radius: 24px;
    margin: 16px;
    padding: 4px;
}

.reyhoon-order-status {
    background-color: #fff;
    border-radius: 24px;
    padding: 16px;
    display: flex;
}

.order-status-nice-name span{
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: var(--reyhoon-gray-dark);
    line-height: 19px;
}

.order-status-nice-name p {
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    margin: 0;
}

.order-status svg{
    margin-bottom: 18px;
}

.order-status-container {
    border-left: 1px solid var(--reyhoon-gray-light);
    width: 35%;
    margin-left: 24px;
}

.order-status-details {
    width: calc(65% - 24px);
}

.order-status-details-address span {
    color: var(--reyhoon-gray-dark);
}

.order-status-details-address p {
    font-weight: 400;
    font-size: 13px;
    line-height: 20px;
    text-align: right;
    color: var(--reyhoon-black);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.order-operation {
    display: flex;
    margin: 16px auto;
}

.order-delivery-time,.order-again,.order-show-id {
    border-left: 1px solid var(--reyhoon-stroke);
    padding-top: 1px;
}

.order-delivery-time,
.order-show-details,
.order-again{
    font-size: 15px;
    font-weight: 400;
    line-height: 23px;
    color: var(--reyhoon-black);
    width: 100%;
    text-align: center;
}

.order-delivery-time{
    font-weight: 600;
}

.order-show-details a,
.order-delivery-time a,
.order-again a{
    color: var(--reyhoon-black);
    padding-right: 8px;
}

.order-show-details button{
    color: var(--reyhoon-black);
    background-color: transparent;
    border: none;
    padding: 0;
    margin: 0;
}


.order.pending .order-status-nice-name p,
.order.on-hold .order-status-nice-name p {
    color: #737373;
}

.order.processing .order-status-nice-name p,
.order.on-way .order-status-nice-name p {
    color: #002FA3;
}

.order.completed .order-status-nice-name p {
    color: #00A37C;
}

.order.canceled .order-status-nice-name p {
    color: #EA2051;
}

.woocommerce-table.woocommerce-table--order-details.shop_table.order_details {
    margin: 16px 4px;
    background-color: #fff;
    border-radius: 24px;
}

.woocommerce-table.woocommerce-table--order-details.shop_table.order_details .woocommerce-table__line-item{
    width: 100%;
    border-bottom: 1px solid var(--reyhoon-stroke);
    margin: 16px 0;
}

.woocommerce-table__product-name.product-name {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    font-weight: bold;
}

.woocommerce-table__product-name.product-name .woocommerce-table__product-total.product-total {
    font-weight: 400;
}

.shop_table .order-details-product-name {
    display: block;
    padding: 16px 12px;
    border-bottom: unset;
}

.order-details-product-name ul {
    list-style: none;
    font-size: 12px;
    padding: 8px 12px;
}

.order-details-product-name ul.wc-item-meta p {
    display: inline-block;
    margin: 0;
}

.order-details-product-name strong.product-quantity{
    display: block;
    text-align: center;
    font-weight: 400;
    font-size: 16px;
    color: var(--reyhoon-gray-dark);
}

.reyhoon-checkout__order-review.woocommerce-checkout-review-order-table .reyhoon-checkout__cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-item.cart-item--first .product-total {
    margin-top: -16px;
    color: var(--reyhoon-gray-dark);
}

.shop_table .order-details-product-name {
    display: block;
    padding: 16px 12px;
    padding-bottom: 0;
}

.woocommerce-table.woocommerce-table--order-details.shop_table.order_details .order-details-table-rows {
    display: block;
    padding: 0 12px;
}

.woocommerce-table.woocommerce-table--order-details.shop_table.order_details .order-details-table-rows > div:last-child {
    font-weight: bold;
}

.woocommerce-table.woocommerce-table--order-details.shop_table.order_details .order-details-table-rows>div {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--reyhoon-stroke);
    padding: 8px 12px;
}



span.product-quantity {
    display: block;
    text-align: center;
}

.reyhoon-checkout__footer > div {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--reyhoon-stroke);
}

.reyhoon-checkout__footer > div:last-child {
    border-bottom: none;
}

.reyhoon-checkout__cart-subtotal .product-quantity {
    display: inline-block;
    color: var(--reyhoon-gray-dark);
}

.woocommerce-Price-currencySymbol {
    font-size: 15px;
}

.acc-content {
    display: none;
    overflow: hidden;
    width: 100% !important;
}

.order-show-details svg{
    transition-duration: .3s;
}

.woocommerce-orders-table__row.open .order-show-details svg{
    transform: rotateX(180deg);
}

.order-items-image {
    margin-top: 16px;
}

.order-items-image img {
    width: 60px;
    height: 60px;
    margin-left: 16px;
    border-radius: 16px;
}

.order-items-image-container {
    position: relative;
    display: inline-block;
}

.order-items-image-count {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #000;
    color: #fff;
    text-align: center;
    font-weight: 500;
    font-size: 13px;
    line-height: 22px;
    border-radius: 100%;
    bottom: 12px;
    right: 0;
}

.order.pending .order-again,
.order.on-hold .order-again,
.order.processing .order-again,
.order.on-way .order-again{
    display: none;
}

.order.completed .order-delivery-time,
.order.cancelled .order-delivery-time{
    display: none;
}

@media screen and (min-width: 768px){
    .reyhoon-header-top-nav {
        width: 100%;
        max-width: 375px;
        position: fixed;
        top: 0;
        max-height: 100vh;
        overflow-y: auto;
    }
    .woocommerce-orders-table.woocommerce-MyAccount-orders {
        width: calc(100% - 375px);
        margin-right: 375px;
    }
    .woocommerce-orders-table.woocommerce-MyAccount-orders .woocommerce-orders-table__row {
        width: 100%;
    }
}

@media screen and (min-width: 992px){
    .reyhoon-header-top-nav {
        width: 100%;
        max-width: 375px;
        position: fixed;
        top: 0;
        max-height: 100vh;
        overflow-y: auto;
    }
    .woocommerce-orders-table.woocommerce-MyAccount-orders {
        width: calc(100% - 375px);
        margin-right: 375px;
    }
    .woocommerce-orders-table.woocommerce-MyAccount-orders .woocommerce-orders-table__row {
        width: 100%;
    }
}

@media screen and (min-width: 1200px){
    .reyhoon-header-top-nav {
        width: 100%;
        max-width: 375px;
        position: fixed;
        top: 0;
        max-height: calc(100vh - 260px);
        overflow-y: auto;
    }
    .woocommerce-orders-table.woocommerce-MyAccount-orders {
        width: calc(100% - 375px);
        margin-right: 375px;
    }
    .woocommerce-orders-table.woocommerce-MyAccount-orders .woocommerce-orders-table__row {
        width: calc(50% - 34px);
        display: inline-block;
        vertical-align: top;
    }
}


/* reyhoon empty cart */

.woocommerce-orders-table.woocommerce-MyAccount-orders p.reyhoon-mini-cart__empty-message {
    margin: 68px 48px;
    text-align: center;
    background-color: var(--reyhoon-gray-light);
    padding: 8px;
    border-radius: 8px;
    position: relative;
    color: var(--reyhoon-gray-dark);
    font-size: 12px;
    font-weight: 500;
}

.woocommerce-orders-table.woocommerce-MyAccount-orders p.reyhoon-mini-cart__empty-message svg {
    position: absolute;
    right: 4px;
    bottom: 5px;
}

.woocommerce-orders-table.woocommerce-MyAccount-orders .cart-empty-background{
    text-align: center;
}

.woocommerce-orders-table.woocommerce-MyAccount-orders a.empty-cart-btn {
    margin: 26px auto;
    display: block;
    text-align: center;
    background-color: var(--reyhoon-main);
    width: 80%;
    padding: 18px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
}
