.orders-page,
.order-detail-page{
    height:100%;
    min-height:0;
    display:grid;
    grid-template-rows:auto minmax(0,1fr);
    overflow:hidden;
    background:#f5f5f5;
}

.orders-page{
    grid-template-rows:auto auto minmax(0,1fr);
}

.orders-header{
    min-height:58px;
    display:grid;
    grid-template-columns:40px minmax(0,1fr) auto;
    align-items:center;
    gap:8px;
    padding:8px 16px;
    background:#fff;
    border-bottom:1px solid rgba(0,0,0,.07);
}

.orders-back{
    width:36px;
    height:36px;
    display:grid;
    place-items:center;
    color:#111;
    font-size:32px;
    text-decoration:none;
}

.orders-header > div{
    min-width:0;
}

.orders-header h1{
    margin:0;
    font-size:18px;
    font-weight:800;
}

.orders-header p{
    margin:4px 0 0;
    overflow:hidden;
    color:#8b8b8b;
    font-size:11px;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.orders-brand{
    padding:6px 8px;
    border-radius:4px;
    background:#111;
    color:#ffd900;
    font-size:10px;
    font-weight:900;
}

.orders-tabs{
    min-height:48px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    padding:0 14px;
    background:#fff;
    border-bottom:1px solid rgba(0,0,0,.06);
}

.orders-tabs a{
    position:relative;
    display:grid;
    place-items:center;
    color:#888;
    font-size:13px;
    font-weight:700;
    text-decoration:none;
}

.orders-tabs a.active{
    color:#111;
}

.orders-tabs a.active::after{
    content:"";
    position:absolute;
    left:24%;
    right:24%;
    bottom:0;
    height:3px;
    background:#ffd900;
}

.orders-scroll,
.order-detail-scroll{
    min-height:0;
    overflow-y:auto;
    overflow-x:hidden;
    -webkit-overflow-scrolling:touch;
}

.orders-list{
    display:grid;
    gap:10px;
    padding:12px 12px 26px;
}

.order-card{
    display:block;
    overflow:hidden;
    border:1px solid rgba(0,0,0,.06);
    border-radius:12px;
    background:#fff;
    color:#111;
    text-decoration:none;
}

.order-card-head{
    min-height:40px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 12px;
    border-bottom:1px solid rgba(0,0,0,.055);
}

.order-card-head > span{
    color:#929292;
    font-size:11px;
}

.order-status{
    padding:4px 8px;
    border-radius:999px;
    background:#ededed;
    font-size:11px;
    font-weight:800;
}

.order-status-pending_payment{
    background:#ffd900;
    color:#111;
}

.order-status-paid{
    background:#111;
    color:#fff;
}

.order-card-main{
    display:grid;
    grid-template-columns:82px minmax(0,1fr);
    gap:12px;
    padding:12px;
}

.order-card-image{
    width:82px;
    height:98px;
    display:grid;
    place-items:center;
    overflow:hidden;
    border-radius:8px;
    background:#f1f1f1;
    color:#aaa;
    font-size:10px;
}

.order-card-image img,
.order-detail-image img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
}

.order-card-copy{
    min-width:0;
    align-self:center;
}

.order-card-copy small{
    display:block;
    margin-bottom:5px;
    color:#999;
    font-size:10px;
}

.order-card-copy > strong{
    display:-webkit-box;
    overflow:hidden;
    font-size:13px;
    line-height:1.35;
    font-weight:800;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
}

.order-card-copy p{
    margin:7px 0 0;
    overflow:hidden;
    color:#777;
    font-size:11px;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.order-card-copy em{
    display:block;
    margin-top:7px;
    color:#999;
    font-size:10px;
    font-style:normal;
}

.order-card-foot{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:10px 12px 12px;
    border-top:1px solid rgba(0,0,0,.055);
}

.order-card-foot > span{
    min-width:0;
    overflow:hidden;
    color:#aaa;
    font-size:9px;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.order-card-foot > div{
    display:flex;
    align-items:baseline;
    gap:7px;
}

.order-card-foot small{
    color:#888;
    font-size:10px;
}

.order-card-foot strong{
    font-size:15px;
    font-weight:900;
}

.orders-loading,
.orders-empty{
    min-height:240px;
    display:grid;
    place-items:center;
    align-content:center;
    gap:8px;
    padding:28px;
    text-align:center;
}

.orders-loading{
    color:#999;
    font-size:12px;
}

.orders-empty strong{
    font-size:16px;
    font-weight:900;
}

.orders-empty p{
    max-width:260px;
    margin:0;
    color:#888;
    font-size:12px;
    line-height:1.6;
}

.orders-primary-action{
    min-width:120px;
    margin-top:8px;
    padding:11px 16px;
    border-radius:8px;
    background:#111;
    color:#fff;
    font-size:12px;
    font-weight:800;
    text-decoration:none;
}

.order-detail-scroll{
    padding:12px 12px 28px;
}

.order-detail-scroll > section{
    display:grid;
    gap:10px;
}

.order-detail-status-card{
    padding:18px;
    border-radius:12px;
    background:#111;
    color:#fff;
}

.order-detail-status-card small{
    color:#aaa;
    font-size:10px;
}

.order-detail-status-card strong{
    display:block;
    margin-top:7px;
    color:#ffd900;
    font-size:24px;
    font-weight:900;
}

.order-detail-status-card p{
    margin:7px 0 0;
    color:#ccc;
    font-size:11px;
}

.order-detail-section{
    overflow:hidden;
    border:1px solid rgba(0,0,0,.055);
    border-radius:12px;
    background:#fff;
}

.order-detail-section-head{
    min-height:44px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 14px;
    border-bottom:1px solid rgba(0,0,0,.055);
    font-size:13px;
    font-weight:900;
}

.order-detail-section-head span{
    color:#999;
    font-size:11px;
    font-weight:500;
}

.order-detail-item{
    display:grid;
    grid-template-columns:76px minmax(0,1fr);
    gap:12px;
    padding:12px;
    border-bottom:1px solid rgba(0,0,0,.055);
}

.order-detail-item:last-child{
    border-bottom:0;
}

.order-detail-image{
    width:76px;
    height:92px;
    display:grid;
    place-items:center;
    overflow:hidden;
    border-radius:8px;
    background:#f2f2f2;
    color:#aaa;
    font-size:9px;
}

.order-detail-copy{
    min-width:0;
    align-self:center;
}

.order-detail-copy > small{
    display:block;
    margin-bottom:5px;
    color:#999;
    font-size:10px;
}

.order-detail-copy > strong{
    display:-webkit-box;
    overflow:hidden;
    font-size:12px;
    line-height:1.35;
    font-weight:800;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
}

.order-detail-copy > p{
    margin:6px 0 8px;
    color:#777;
    font-size:10px;
}

.order-detail-copy > div,
.order-detail-summary > div{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
}

.order-detail-copy > div span{
    color:#888;
    font-size:11px;
}

.order-detail-copy > div b{
    font-size:12px;
}

.order-detail-summary{
    padding:4px 14px;
}

.order-detail-summary > div{
    min-height:42px;
    border-bottom:1px solid rgba(0,0,0,.05);
}

.order-detail-summary > div:last-child{
    border-bottom:0;
}

.order-detail-summary span{
    color:#777;
    font-size:11px;
}

.order-detail-summary strong{
    min-width:0;
    overflow:hidden;
    font-size:11px;
    text-align:right;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.order-detail-summary .order-detail-total{
    min-height:54px;
}

.order-detail-summary .order-detail-total strong{
    font-size:18px;
    font-weight:900;
}

/* ORDER_HEADER_LOGIN_ALIGN_V1 */

.orders-header{
    width:100%;
    height:66px;
    min-height:66px;
    padding:0 22px;
    box-sizing:border-box;
}

.orders-back{
    width:38px;
    height:38px;
    margin-left:-8px;
    font-size:30px;
    font-weight:300;
    line-height:1;
}

.orders-brand{
    padding:0;
    border-radius:0;
    background:transparent;
    color:#111;
    font-size:17px;
    font-weight:950;
    letter-spacing:-.4px;
}

.orders-brand b{
    color:#ffd900;
}

/* 我的订单不显示无价值的“0个订单”等数量副标题 */
.orders-page .orders-header p{
    display:none;
}


/* ORDER_FIXED_SCROLL_LAYER_V1 */

.app.orders-page,

.app.order-detail-page{

    min-height:0;

    overflow:hidden !important;

}

.orders-header,

.orders-tabs{

    position:relative;

    z-index:5;

    flex-shrink:0;

}

.orders-scroll,

.order-detail-scroll{

    min-height:0;

    overflow-x:hidden;

    overflow-y:auto !important;

    overscroll-behavior:contain;

    -webkit-overflow-scrolling:touch;

}

