.order-card{
    background:#fff;
    border-radius:16px;
    padding:24px;
    margin-bottom:25px;
    box-shadow:0 8px 25px rgba(0,0,0,.06);
}

.order-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.order-id{
    font-size:20px;
    font-weight:700;
    margin-bottom:5px;
}

.order-date{
    color:#777;
}

.order-body{
    display:grid;
    grid-template-columns:110px 1fr 180px;
    align-items:center;
    gap:30px;
}

.order-image img{
    width:90px;
    height:90px;
    object-fit:contain;
}

.order-info{
    flex:1;
}

.order-info h3{
    margin-bottom:10px;
}

.order-price{
    font-size:24px;
    font-weight:700;
}

.order-footer{
    margin-top:25px;
    text-align:right;
}
.status{
    padding:7px 16px;
    border-radius:999px;
    color:#fff;
    font-size:14px;
    font-weight:600;
}

.status.pending{
    background:#f59e0b;
}

.status.shipped{
    background:#2563eb;
}

.status.delivered{
    background:#16a34a;
}

.status.cancelled{
    background:#dc2626;
}
.order-image{
    width:120px;
    height:120px;
    border:1px solid #eee;
    border-radius:14px;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#fafafa;
}

.order-image img{
    width:100px;
    height:100px;
    object-fit:contain;
}
.order-actions{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:15px;
}

.order-total-label{
    color:#777;
    font-size:14px;
}

.order-price{
    font-size:34px;
    font-weight:700;
}
/* ===========================
   ORDER DETAILS
=========================== */

.order-details-card{
    background:#fff;
    border-radius:18px;
    padding:35px;
    box-shadow:0 8px 25px rgba(0,0,0,.06);
}

.details-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:35px;
}

.details-date{
    color:#777;
    margin-top:8px;
}

.details-section{
    margin-top:35px;
}

.info-box{
    margin-bottom:20px;
}

.address-box{
    background:#fafafa;
    padding:20px;
    border-radius:12px;
    border:1px solid #eee;
    line-height:1.8;
}

.ordered-product{
    display:grid;
    grid-template-columns:120px 1fr auto;
    gap:30px;
    align-items:center;
    padding:20px 0;
    border-bottom:1px solid #eee;
}

.ordered-product:last-child{
    border-bottom:none;
}

.ordered-product-image{
    width:110px;
    height:110px;
    border:1px solid #eee;
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fafafa;
}

.ordered-product-image img{
    width:90px;
    height:90px;
    object-fit:contain;
}

.ordered-product-total{
    text-align:right;
    font-size:22px;
    font-weight:700;
}

.summary-box{
    width:380px;
    margin-left:auto;
    background:#fafafa;
    padding:25px;
    border-radius:14px;
    border:1px solid #eee;
}

.summary-row,
.summary-total{
    display:flex;
    justify-content:space-between;
    margin:15px 0;
}

.summary-total{
    font-size:24px;
    font-weight:700;
}
.payment-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
    margin-bottom:30px;
}

.info-box{
    background:#fafafa;
    border:1px solid #eee;
    border-radius:12px;
    padding:20px;
}
.address-box{
    line-height:2;
}
.address-box{
    padding:25px;
}
.ordered-product-total{
    text-align:right;
}

.ordered-product-total small{
    color:#888;
    display:block;
    margin-bottom:6px;
}
.status{

    padding:10px 22px;

    font-size:15px;

}