.my-orders-main{
    direction:rtl;
    min-height:70vh;
    background:#f7f3ec;
    padding:55px 20px 80px;
}

.my-orders-hero{
    max-width:1180px;
    margin:0 auto 32px;
    text-align:center;
}

.my-orders-kicker{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    color:#9b7b45;
    font-size:12px;
    font-weight:800;
    letter-spacing:2px;
}

.my-orders-kicker span{
    width:35px;
    height:1px;
    background:#b99a65;
}

.my-orders-hero h1{
    margin:12px 0 8px;
    color:#2d2118;
    font-size:42px;
    font-weight:900;
}

.my-orders-hero p{
    max-width:650px;
    margin:auto;
    color:#76695e;
    line-height:1.9;
    font-size:15px;
}

.my-orders-section{
    max-width:1180px;
    margin:auto;
}

.my-orders-summary{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:18px 22px;
    margin-bottom:22px;
    background:#fff;
    border:1px solid #e9dfd2;
    border-radius:14px;
    box-shadow:0 8px 30px rgba(55,39,25,.06);
}

.my-orders-summary > div{
    display:flex;
    align-items:center;
    gap:10px;
}

.my-orders-summary-label{
    color:#74675c;
    font-weight:700;
}

#myOrdersCount{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:38px;
    height:38px;
    padding:0 10px;
    border-radius:20px;
    background:#2d2118;
    color:#fff;
}

.my-orders-shop-btn,
.my-orders-state a,
.my-orders-state button{
    border:0;
    border-radius:8px;
    background:#9f1d20;
    color:#fff;
    padding:11px 18px;
    font-weight:800;
    text-decoration:none;
    cursor:pointer;
    transition:.25s ease;
}

.my-orders-shop-btn:hover,
.my-orders-state a:hover,
.my-orders-state button:hover{
    transform:translateY(-2px);
    filter:brightness(1.08);
}

.my-orders-state{
    min-height:260px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:10px;
    text-align:center;
    padding:35px;
    background:#fff;
    border:1px solid #e9dfd2;
    border-radius:16px;
    color:#75685d;
}

.my-orders-state[hidden]{
    display:none !important;
}

.my-orders-state strong{
    color:#2d2118;
    font-size:20px;
}

.my-orders-empty-icon{
    font-size:40px;
}

.my-orders-loader{
    width:38px;
    height:38px;
    border:3px solid #eadfd3;
    border-top-color:#9f1d20;
    border-radius:50%;
    animation:ordersSpin .8s linear infinite;
}

@keyframes ordersSpin{
    to{transform:rotate(360deg)}
}

.my-orders-list{
    display:grid;
    gap:18px;
}

.my-order-card{
    background:#fff;
    border:1px solid #e7ddd1;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 10px 32px rgba(52,37,24,.07);
}

.my-order-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    padding:18px 22px;
    border-bottom:1px solid #eee5dc;
}

.my-order-number{
    color:#2d2118;
    font-weight:900;
    font-size:17px;
}

.my-order-date{
    display:block;
    margin-top:5px;
    color:#8b7e72;
    font-size:12px;
}

.my-order-status{
    padding:7px 12px;
    border-radius:20px;
    background:#f5e8e8;
    color:#9f1d20;
    font-size:12px;
    font-weight:900;
}

.my-order-body{
    padding:20px 22px;
}

.my-order-items{
    display:grid;
    gap:9px;
    margin-bottom:18px;
}

.my-order-item{
    display:flex;
    justify-content:space-between;
    gap:15px;
    padding:9px 0;
    border-bottom:1px dashed #e9e0d7;
    color:#62564d;
}

.my-order-footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    padding-top:4px;
}

.my-order-total span{
    display:block;
    color:#8a7d72;
    font-size:12px;
}

.my-order-total strong{
    color:#2d2118;
    font-size:19px;
}

.my-order-track{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:#9f1d20;
    color:#fff;
    padding:11px 18px;
    border-radius:8px;
    font-weight:800;
    text-decoration:none;
    transition:.25s ease;
}

.my-order-track:hover{
    transform:translateY(-2px);
    box-shadow:0 7px 18px rgba(159,29,32,.25);
}

@media(max-width:700px){
    .my-orders-main{
        padding:35px 12px 60px;
    }

    .my-orders-hero h1{
        font-size:34px;
    }

    .my-orders-summary,
    .my-order-head,
    .my-order-footer{
        align-items:stretch;
        flex-direction:column;
    }

    .my-orders-shop-btn,
    .my-order-track{
        text-align:center;
    }
}
