.uc-header{
    background:#fff;
    padding:28px 0 20px;
    border-bottom:1px solid #eadfdb;
}
.uc-user-info{
    width:100%;
    max-width:1280px;
    margin:auto;
    display:flex;
    align-items:center;
    gap:16px;
}
.uc-avatar{
    width:56px;
    height:56px;

    border:2px solid #c94f47;
    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    color:#c94f47;

    font-size:30px;
}

.uc-user-text{
    flex:1;

    display:flex;
    align-items:center;

    gap:18px;
}

.uc-user-text h1{
    font-size:38px;
    color:#c94f47;

    font-weight:300;

    margin:0;
}

.uc-user-text p{
    flex:1;

    margin:0;

    height:1px;

    background:#e6cfc9;

    text-indent:-9999px;
}
.uc-tabs{
    width:94%;
    margin:0 auto;

    display:flex;
    gap:36px;

    padding:18px 0;

    border-bottom:1px solid #eadfdb;
}
.uc-tabs a{
    position:relative;

    color:#d48a82;

    font-size:20px;

    text-decoration:none;

    transition:.25s;
}

.uc-tabs a.active{
    color:#c94f47;
    font-weight: bold;
}

.uc-tabs a.active:after{
    content:"";
    position:absolute;
    left:50%;
    bottom:-25px;
    width:16px;
    height:16px;
    background:#f7f7f7;
    border-left:1px solid #eadfdb;
    border-top:1px solid #eadfdb;

    transform:translateX(-50%) rotate(45deg);
}
.uc-container{
    padding:15px 15px 0;
}
.uc-mobile-card{
    background:#fff;

    border-radius:20px;

    padding:20px 22px;

    margin-bottom:30px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    box-shadow:0 6px 20px rgba(0,0,0,.05);
}

.uc-mobile-left{
    display:flex;
    align-items:center;

    gap:14px;
}
.uc-mobile-avatar{
    width:58px;
    height:58px;

    border-radius:50%;

    background:#c94f47;

    color:#fff;

    font-size:22px;
    font-weight:700;

    display:flex;
    align-items:center;
    justify-content:center;
}

.uc-mobile-name{
    font-size:18px;
    font-weight:600;

    color:#333;

    margin-bottom:4px;
}

.uc-mobile-desc{
    color:#999;
    font-size:13px;
}

.uc-level{
    background:linear-gradient(135deg,#d86d64,#c94f47);

    color:#fff;

    padding:7px 14px;

    border-radius:24px;

    font-size:12px;
}

/* =========================
   分类
========================= */

.uc-filter{
    display:flex;
    gap:14px;
    margin-bottom:10px;
}

.uc-filter button{
    border:none;

    background:none;

    color:#b27d77;

    font-size:16px;

    padding:8px 18px;

    cursor:pointer;

    transition:.25s;
}

.uc-filter button.active{
    background:#c94f47;

    color:#fff;

    border-radius:4px;
}

/* =========================
   書櫃
========================= */

.bookshelf-item{
    transition:.3s;
}

.bookshelf-item:hover{
    transform:translateY(-4px);
}

.bookshelf-cover{
    position:relative;

    overflow:hidden;

    background:#fff;

    padding:10px;

    box-shadow:0 4px 14px rgba(0,0,0,.06);
}

.bookshelf-cover img{
    width:100%;
    max-height: 400px;
    display:block;
}

/* hover */
.bookshelf-mask{
    position:absolute;

    inset:0;

    background:rgba(0,0,0,.35);

    display:flex;
    align-items:center;
    justify-content:center;

    opacity:0;

    transition:.25s;
}

.bookshelf-item:hover .bookshelf-mask{
    opacity:1;
}

/* info */
.bookshelf-info{
    text-align:center;

    padding-top:12px;
}

.bookshelf-info h3{
    font-size:18px;
    color:#666;

    margin-bottom:5px;

    font-weight:600;
}

.bookshelf-info p{
    color:#777;

    font-size:14px;

    margin-bottom:2px;
}

.bookshelf-info span{
    color:#999;
    font-size:13px;
}

/* =========================
   平板
========================= */

@media(max-width:768px){
    .uc-user-info{
        width: 94%;
    }
    body{
        font-size:14px;
    }

    .uc-header{
        padding:20px 0 14px;
    }

    .uc-avatar{
        width:48px;
        height:48px;

        font-size:24px;
    }

    .uc-user-text{
        gap:12px;
    }

    .uc-user-text h1{
        font-size:28px;
    }

    .uc-tabs{
        gap:22px;
        white-space:nowrap;

        padding:14px 0;
    }

    .uc-tabs a{
        font-size:15px;
    }

    .uc-mobile-card{
        border-radius:16px;

        padding:16px;
    }

    .uc-mobile-avatar{
        width:48px;
        height:48px;

        font-size:18px;
    }

    .uc-mobile-name{
        font-size:15px;
    }

    .uc-filter{
        gap:10px;
    }

    .uc-filter button{
        font-size:13px;

        padding:6px 12px;
    }

    .bookshelf-info h3{
        font-size:14px;
    }

    .bookshelf-info p{
        font-size:12px;
    }

    .bookshelf-info span{
        font-size:11px;
    }

}

/* =========================
   手机
========================= */

@media(max-width:480px){

    body{
        font-size:13px;
    }
    .uc-user-info{
        width: 94%;
    }
    .uc-user-text h1{
        font-size:22px;
    }

    .uc-mobile-card{
        flex-direction:column;
        align-items:flex-start;

        gap:14px;
    }

    .uc-level{
        align-self:flex-end;
    }

}
/* ===== 主容器 ===== */
.user-container{
    margin:auto;
}

/* ===== 左侧菜单 PC显示 ===== */
.user-menu{
    background:#fff;
    padding:15px 0;
}

.user-menu a{
    display:block;
    padding:12px 20px;
    color:#333;
}

.user-menu a.active{
    background:#ff6700;
    color:#fff;
}

/* ===== 订单区域 ===== */
.order-box{
    background:transparent;
}

/* ===== 状态tab 移动可滑动 ===== */
.order-tabs{
    display:flex;
    overflow-x:auto;
    background:#fff;
    white-space:nowrap;
    border-bottom:1px solid #eee;
}

.order-tabs a{
    flex:0 0 auto;
    padding:12px 16px;
    color:#666;
}

.order-tabs a.active{
    color:#ff6700;
    border-bottom:2px solid #ff6700;
    font-weight:bold;
}

/* ===== 订单卡片 ===== */
#orderList{
    border-radius:12px;
}
.order-content{
    min-height: 100vh;
}
.order-card{
    background:#fff;
    border-radius: 10px;
    padding:10px 10px 0;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.order-header{
    display:flex;
    justify-content:space-between;
    font-size:13px;
    margin-bottom:10px;
}

.order-status{
    color:#ff6700;
    font-weight:bold;
}

/* 商品 */
.product-item{
    display:flex;
    margin-bottom:10px;
}

.product-img{
    width:75px;
    height:75px;
    border-radius:8px;
    object-fit:cover;
}

.product-info{
    flex:1;
    margin-left:10px;
}

.product-title{
    font-size:14px;
    line-height:1.4;
    margin-bottom:6px;
}

.product-price{
    font-size:13px;
    color:#888;
}

/* 底部 */
.order-footer{
    text-align:right;
    padding: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.order-price{
    font-size:15px;
    font-weight:bold;
    color:#ff6700;
}

/* 按钮组 */
.order-actions{
    margin-top:8px;
}

.order-actions .layui-btn{
    margin-left:6px;
    margin-top:5px;
    border-radius:20px;
    padding:0 15px;
    height:30px;
    line-height:30px;
    font-size:12px;
}
/* ===== PC适配 ===== */
@media(min-width:768px){
    .layout-row{
        display:flex;
    }
    .user-menu{
        width:220px;
        margin-right:20px;
    }

    .order-content{
        flex:1;
    }
}

@media(max-width:768px){
    .user-menu{
        display:none;
    }
    .uc-tabs a.active:after{
        bottom: -21px;
    }
}