/* 臻逸商城 PC 门户样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    color: #333;
    background: #f5f5f7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input { font-family: inherit; outline: none; }
img { display: block; }

.container { width: 1200px; max-width: 96%; margin: 0 auto; }

/* ============ 头部 ============ */
.site-header { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.04); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo {
    width: 42px; height: 42px; border-radius: 10px;
    background: linear-gradient(135deg, #e93323, #ff7a45);
    color: #fff; font-size: 22px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.brand-name { font-size: 22px; font-weight: 700; color: #222; letter-spacing: 1px; }
.brand-logo-img { height: 42px; width: 42px; border-radius: 10px; object-fit: cover; }
.search-box {
    flex: 1; max-width: 480px; display: flex; align-items: center;
    border: 2px solid #e93323; border-radius: 22px; overflow: hidden; background: #fff;
}
.search-box input { flex: 1; height: 38px; padding: 0 18px; border: none; font-size: 14px; }
.search-box button { width: 84px; height: 38px; background: #e93323; color: #fff; font-size: 15px; }
.search-box button:hover { background: #d42616; }
.mobile-entry { margin-left: auto; flex-shrink: 0; color: #e93323; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.mobile-entry:hover { opacity: .8; }
.mobile-icon { font-size: 11px; letter-spacing: -2px; }

.site-nav { background: #e93323; }
.nav-inner { display: flex; }
.site-nav a {
    color: rgba(255,255,255,.9); font-size: 15px; padding: 0 26px; line-height: 44px;
    transition: background .2s;
}
.site-nav a:hover, .site-nav a.active { background: rgba(0,0,0,.14); color: #fff; }

/* ============ 主体 ============ */
.page-main { flex: 1; padding: 20px 0 40px; }
.page-loading { text-align: center; color: #999; padding: 80px 0; font-size: 15px; }
.empty-tip { text-align: center; color: #999; padding: 60px 0; font-size: 14px; }
.error-tip { text-align: center; color: #e93323; padding: 60px 0; }

/* ============ 首页轮播 ============ */
.home-banner { position: relative; border-radius: 12px; overflow: hidden; background: #eee; }
.banner-item { display: none; }
.banner-item.active { display: block; }
.banner-item img { width: 100%; height: 340px; object-fit: cover; }
.banner-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.banner-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; transition: all .2s; }
.banner-dots span.active { background: #fff; width: 22px; border-radius: 5px; }

/* ============ 楼层 ============ */
.floor { margin-top: 30px; }
.floor-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.floor-title { font-size: 20px; font-weight: 700; color: #222; padding-left: 12px; border-left: 4px solid #e93323; line-height: 1.1; }
.floor-more { color: #999; font-size: 13px; }
.floor-more:hover { color: #e93323; }
.goods-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }

/* 商品卡 */
.goods-card { background: #fff; border-radius: 10px; overflow: hidden; transition: transform .2s, box-shadow .2s; display: block; }
.goods-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.09); }
.goods-card .pic { position: relative; width: 100%; padding-top: 100%; background: #f7f7f7; }
.goods-card .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.goods-card .info { padding: 10px 12px 14px; }
.goods-name {
    font-size: 14px; color: #333; line-height: 20px; height: 40px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.goods-price-row { margin-top: 8px; display: flex; align-items: baseline; gap: 8px; }
.price { color: #e93323; font-size: 18px; font-weight: 700; }
.price .rmb { font-size: 12px; }
.ot-price { color: #bbb; font-size: 12px; text-decoration: line-through; }
.goods-meta { margin-top: 6px; display: flex; justify-content: space-between; color: #999; font-size: 12px; }
.goods-shop { color: #e93323; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ============ 列表页 ============ */
.list-layout { display: flex; gap: 16px; align-items: flex-start; }
.cate-side { width: 200px; flex-shrink: 0; background: #fff; border-radius: 10px; padding: 8px 0; }
.cate-side .side-title { padding: 10px 18px 6px; font-weight: 700; color: #222; font-size: 15px; }
.cate-item { display: block; padding: 9px 18px; color: #555; font-size: 14px; border-left: 3px solid transparent; }
.cate-item:hover { color: #e93323; background: #fff5f4; }
.cate-item.active { color: #e93323; border-left-color: #e93323; background: #fff5f4; font-weight: 600; }
.cate-sub { padding-left: 30px; font-size: 13px; }

.list-main { flex: 1; min-width: 0; }
.list-toolbar {
    background: #fff; border-radius: 10px; padding: 10px 16px;
    display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap;
}
.toolbar-label { color: #999; font-size: 13px; }
.zone-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.zone-tab { padding: 5px 14px; border-radius: 15px; color: #555; font-size: 13px; background: #f4f4f6; }
.zone-tab:hover { color: #e93323; }
.zone-tab.active { background: #e93323; color: #fff; }
.sort-group { margin-left: auto; display: flex; gap: 4px; }
.sort-btn { padding: 5px 14px; border-radius: 15px; color: #555; font-size: 13px; background: #f4f4f6; }
.sort-btn:hover { color: #e93323; }
.sort-btn.active { background: #fff5f4; color: #e93323; font-weight: 600; }

.list-goods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.list-count { color: #999; font-size: 13px; padding: 4px 2px 12px; }

/* 分页 */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 26px; }
.page-btn {
    min-width: 34px; height: 34px; padding: 0 10px; border-radius: 6px; background: #fff;
    color: #555; font-size: 13px; display: inline-flex; align-items: center; justify-content: center;
}
.page-btn:hover { color: #e93323; }
.page-btn.active { background: #e93323; color: #fff; font-weight: 600; }
.page-btn.disabled { color: #ccc; cursor: not-allowed; }
.page-info { color: #999; font-size: 13px; margin: 0 6px; }

/* ============ 详情页 ============ */
.crumb { color: #999; font-size: 13px; margin-bottom: 14px; }
.crumb a:hover { color: #e93323; }
.product-wrap { display: flex; gap: 24px; background: #fff; border-radius: 12px; padding: 24px; }
.product-gallery { width: 400px; flex-shrink: 0; }
.product-gallery .main-img { width: 400px; height: 400px; border-radius: 10px; object-fit: cover; background: #f7f7f7; }
.thumb-row { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumb-row img { width: 64px; height: 64px; border-radius: 6px; object-fit: cover; cursor: pointer; border: 2px solid transparent; }
.thumb-row img.active { border-color: #e93323; }

.product-info { flex: 1; min-width: 0; }
.product-name { font-size: 20px; font-weight: 700; color: #222; line-height: 1.5; }
.product-sub { color: #999; font-size: 13px; margin-top: 8px; }
.price-panel {
    margin-top: 16px; background: linear-gradient(90deg, #fff2f1, #fff);
    border-radius: 8px; padding: 14px 16px; display: flex; align-items: baseline; gap: 12px;
}
.price-panel .price { font-size: 28px; }
.product-stats { margin-top: 12px; color: #999; font-size: 13px; display: flex; gap: 24px; }

.sku-section { margin-top: 18px; }
.sku-row { display: flex; margin-bottom: 12px; }
.sku-label { width: 56px; flex-shrink: 0; color: #999; font-size: 13px; line-height: 30px; }
.sku-values { display: flex; gap: 8px; flex-wrap: wrap; }
.sku-chip {
    min-width: 30px; padding: 0 14px; height: 30px; line-height: 28px; border-radius: 15px;
    border: 1px solid #ddd; color: #555; font-size: 13px; cursor: pointer; background: #fff; text-align: center;
}
.sku-chip:hover { border-color: #e93323; color: #e93323; }
.sku-chip.active { border-color: #e93323; background: #fff5f4; color: #e93323; font-weight: 600; }
.sku-chip.disabled { color: #ccc; cursor: not-allowed; text-decoration: line-through; }

.product-actions { margin-top: 22px; display: flex; gap: 12px; }
.btn-buy {
    height: 44px; padding: 0 44px; border-radius: 22px; background: linear-gradient(90deg, #e93323, #ff6e40);
    color: #fff; font-size: 16px; font-weight: 600;
}
.btn-buy:hover { opacity: .9; }
.btn-buy:disabled { background: #ccc; cursor: not-allowed; }
.btn-cart { height: 44px; padding: 0 32px; border-radius: 22px; border: 1px solid #e93323; color: #e93323; font-size: 15px; background: #fff5f4; }
.product-server { margin-top: 18px; color: #999; font-size: 13px; display: flex; gap: 18px; }

.sku-table-wrap { background: #fff; border-radius: 12px; margin-top: 16px; padding: 20px 24px; }
.sku-table-title { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.sku-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.sku-table th, .sku-table td { border: 1px solid #eee; padding: 9px 12px; text-align: left; color: #555; }
.sku-table th { background: #fafafa; color: #333; }
.sku-table .td-price { color: #e93323; font-weight: 600; }

.h5-guide { text-align: center; padding: 10px 0 4px; }
.h5-guide p { color: #666; font-size: 14px; line-height: 1.8; }
.h5-guide a {
    display: inline-block; margin-top: 14px; height: 40px; line-height: 40px; padding: 0 34px;
    background: #e93323; color: #fff; border-radius: 20px; font-size: 15px;
}

/* ============ 弹窗 ============ */
.modal-mask {
    position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 1000;
    display: flex; align-items: center; justify-content: center;
}
.modal-mask[hidden] { display: none; }
.modal { width: 420px; max-width: 92%; background: #fff; border-radius: 12px; overflow: hidden; }
.modal-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 18px; border-bottom: 1px solid #f0f0f0;
}
.modal-head span { font-size: 16px; font-weight: 600; }
.modal-close { font-size: 22px; color: #999; line-height: 1; }
.modal-close:hover { color: #333; }
.modal-body { padding: 20px 18px; font-size: 14px; color: #555; line-height: 1.7; }

/* ============ 页脚 ============ */
.site-footer { background: #2b2b33; color: #9d9da6; padding: 26px 0; font-size: 13px; text-align: center; }
.site-footer p { line-height: 1.9; }
.footer-links a { color: #c3c3cb; margin: 0 8px; }
.footer-links a:hover { color: #fff; }

/* 简单响应式 */
@media (max-width: 991px) {
    .goods-grid { grid-template-columns: repeat(3, 1fr); }
    .list-goods { grid-template-columns: repeat(2, 1fr); }
    .product-wrap { flex-direction: column; }
    .product-gallery { width: 100%; }
    .product-gallery .main-img { width: 100%; height: auto; }
    .cate-side { display: none; }
    .header-inner { flex-wrap: wrap; height: auto; padding: 10px 0; }
    .search-box { max-width: none; width: 100%; order: 3; }
    .user-layout { flex-direction: column; }
    .uc-side { width: 100%; display: flex; overflow-x: auto; }
    .uc-side-head { display: none; }
    .uc-menu-item { flex-shrink: 0; border-left: none; border-bottom: 3px solid transparent; }
    .uc-menu-item.active { border-bottom-color: #e93323; }
    .addr-list { flex-direction: column; }
    .asset-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   商城扩展样式（登录/购物车/结算/支付/个人中心）
   ============================================================ */

/* ============ 轻提示 ============ */
.toast {
    position: fixed; top: 84px; left: 50%; transform: translateX(-50%) translateY(-16px);
    background: rgba(0,0,0,.78); color: #fff; font-size: 14px; line-height: 1;
    padding: 12px 22px; border-radius: 6px; z-index: 2000;
    opacity: 0; pointer-events: none; transition: all .25s; max-width: 80%;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============ 头部用户区 ============ */
.header-user { margin-left: auto; display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.user-entry { color: #e93323; font-size: 14px; font-weight: 500; }
.user-entry[hidden] { display: none !important; }
.user-box[hidden] { display: none !important; }
.user-entry:hover { opacity: .8; }
.user-box { display: flex; align-items: center; gap: 18px; }
.cart-entry { position: relative; color: #555; font-size: 14px; display: flex; align-items: center; gap: 4px; }
.cart-entry:hover { color: #e93323; }
.cart-badge {
    min-width: 16px; height: 16px; line-height: 16px; padding: 0 4px;
    background: #e93323; color: #fff; font-size: 11px; border-radius: 8px;
    text-align: center; margin-left: 2px; display: inline-block;
}
.cart-badge[hidden] { display: none; }
.user-drop { position: relative; cursor: pointer; }
.user-name { color: #333; font-size: 14px; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; }
.user-drop::after { content: '▾'; color: #999; font-size: 11px; margin-left: 4px; }
.user-menu {
    display: none; position: absolute; right: 0; top: calc(100% + 8px);
    background: #fff; border-radius: 8px; box-shadow: 0 6px 24px rgba(0,0,0,.12);
    min-width: 132px; padding: 6px 0; z-index: 200;
}
.user-drop:hover .user-menu { display: block; }
.user-menu a { display: block; padding: 9px 16px; color: #555; font-size: 13px; }
.user-menu a:hover { background: #fff5f4; color: #e93323; }

/* ============ 登录页 ============ */
.auth-wrap { display: flex; justify-content: center; padding: 50px 0 30px; }
.auth-panel {
    width: 400px; max-width: 100%; background: #fff; border-radius: 12px;
    padding: 34px 36px 28px; box-shadow: 0 4px 18px rgba(0,0,0,.05);
}
.auth-head h2 { font-size: 22px; color: #222; font-weight: 700; }
.auth-head p { color: #999; font-size: 13px; margin-top: 6px; }
.auth-tabs { display: flex; gap: 26px; margin: 22px 0 20px; border-bottom: 1px solid #f0f0f0; }
.auth-tab { padding: 0 2px 12px; color: #666; font-size: 15px; cursor: pointer; border-bottom: 2px solid transparent; }
.auth-tab.active { color: #e93323; font-weight: 600; border-bottom-color: #e93323; }
.field { margin-bottom: 16px; }
.field input, .field select {
    width: 100%; height: 44px; border: 1px solid #e0e0e0; border-radius: 8px;
    padding: 0 14px; font-size: 14px; background: #fff;
}
.field input:focus, .field select:focus { border-color: #e93323; }
.field-city { display: flex; gap: 8px; }
.field-city select { flex: 1; min-width: 0; padding: 0 6px; }
.field-captcha { display: flex; gap: 8px; }
.field-captcha input { flex: 1; min-width: 0; }
.btn-send {
    height: 44px; padding: 0 16px; border-radius: 8px; white-space: nowrap;
    border: 1px solid #e93323; color: #e93323; font-size: 13px; background: #fff;
}
.btn-send:hover { background: #fff5f4; }
.btn-send:disabled { border-color: #ddd; color: #bbb; }
.btn-primary {
    height: 44px; padding: 0 26px; border-radius: 22px; background: linear-gradient(90deg, #e93323, #ff6e40);
    color: #fff; font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center;
}
.btn-primary:hover { opacity: .9; }
.btn-primary:disabled { background: #ccc; cursor: not-allowed; }
.btn-outline {
    height: 40px; padding: 0 22px; border-radius: 20px; border: 1px solid #ddd;
    color: #555; font-size: 14px; background: #fff; display: inline-flex; align-items: center; justify-content: center;
}
.btn-outline:hover { border-color: #e93323; color: #e93323; }
.btn-block { width: 100%; }
.btn-lg { height: 48px; font-size: 16px; border-radius: 24px; width: 100%; }
.auth-tip { margin-top: 18px; color: #bbb; font-size: 12px; text-align: center; }

/* ============ 购物车 ============ */
.cart-wrap { background: #fff; border-radius: 12px; padding: 6px 24px 20px; }
.cart-head, .cart-row {
    display: grid; grid-template-columns: 1fr 110px 150px 110px 70px;
    align-items: center; padding: 14px 0;
}
.cart-head { color: #999; font-size: 13px; border-bottom: 1px solid #f0f0f0; padding-top: 18px; }
.cart-row { border-bottom: 1px solid #f7f7f7; }
.cart-row:last-child { border-bottom: none; }
.cart-row-invalid { opacity: .55; }
.cart-goods { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cart-goods img { width: 76px; height: 76px; border-radius: 8px; object-fit: cover; background: #f7f7f7; flex-shrink: 0; }
.cart-goods-info { min-width: 0; }
.cart-goods-name {
    font-size: 14px; color: #333; line-height: 20px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cart-goods-name:hover { color: #e93323; }
.cart-sku { color: #999; font-size: 12px; margin-top: 4px; }
.cart-price, .cart-subtotal { color: #333; font-size: 14px; }
.cart-subtotal { color: #e93323; font-weight: 600; }
.cart-num { display: flex; align-items: center; gap: 8px; }
.num-btn {
    width: 26px; height: 26px; border-radius: 4px; border: 1px solid #ddd;
    color: #666; font-size: 14px; line-height: 1; background: #fff; display: inline-flex; align-items: center; justify-content: center;
}
.num-btn:hover { border-color: #e93323; color: #e93323; }
.num-text { min-width: 32px; text-align: center; font-size: 14px; }
.num-input { width: 56px; height: 30px; text-align: center; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; }
.cart-num-row { margin-top: 18px; display: flex; align-items: center; gap: 10px; }
.cart-num-row .sku-label { width: auto; }
.cart-op a { color: #999; font-size: 13px; }
.cart-op a:hover { color: #e93323; }
.cart-footer {
    display: flex; align-items: center; justify-content: flex-end; gap: 24px;
    border-top: 1px solid #f0f0f0; padding-top: 16px; margin-top: 4px;
}
.cart-total { color: #666; font-size: 14px; }
.cart-footer-btns { display: flex; gap: 12px; }
.cart-invalid { border-top: 1px solid #f0f0f0; margin-top: 8px; }
.cart-invalid-title { color: #999; font-size: 14px; padding: 14px 0 4px; }

/* ============ 通用面板（结算/个人中心） ============ */
.panel { background: #fff; border-radius: 12px; padding: 20px 24px; margin-bottom: 14px; }
.panel-title { font-size: 16px; font-weight: 700; color: #222; margin-bottom: 16px; }

/* ============ 结算页 ============ */
.checkout-wrap { max-width: 980px; }
.addr-list { display: flex; gap: 12px; flex-wrap: wrap; }
.addr-item {
    width: 260px; border: 1px solid #e5e5e5; border-radius: 8px; padding: 12px 14px;
    font-size: 13px; color: #555; position: relative;
}
.addr-item.active, .modal-addr-item.active { border-color: #e93323; background: #fffafa; }
.addr-name { color: #222; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.addr-detail { line-height: 1.6; }
.addr-manage {
    display: flex; align-items: center; justify-content: center; min-height: 62px;
    border-style: dashed; color: #999; cursor: pointer; background: #fafafa;
}
.addr-manage:hover { border-color: #e93323; color: #e93323; }
.checkout-goods-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f7f7f7; }
.checkout-goods-row img { width: 60px; height: 60px; border-radius: 6px; object-fit: cover; background: #f7f7f7; flex-shrink: 0; }
.cg-info { flex: 1; min-width: 0; }
.cg-name { font-size: 14px; color: #333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cg-sku { color: #999; font-size: 12px; margin-top: 3px; }
.cg-num { color: #999; font-size: 13px; }
.cg-price { color: #333; font-size: 14px; width: 90px; text-align: right; }
.voucher-row {
    display: flex; align-items: center; gap: 12px; padding: 12px 14px;
    border: 1px solid #f0f0f0; border-radius: 8px; margin-bottom: 10px; cursor: pointer; font-size: 14px;
}
.voucher-row:hover { border-color: #e93323; }
.voucher-row input { accent-color: #e93323; width: 16px; height: 16px; }
.voucher-name { font-weight: 600; color: #222; width: 70px; }
.voucher-balance { color: #999; font-size: 13px; flex: 1; }
.voucher-use { color: #e93323; font-weight: 600; }
.voucher-empty { color: #999; font-size: 13px; padding: 6px 0; }
.checkout-summary { text-align: right; }
.sum-row { display: flex; justify-content: flex-end; align-items: baseline; gap: 24px; padding: 5px 0; color: #666; font-size: 14px; }
.sum-row .price { font-size: 22px; }
.discount { color: #e93323; }
.checkout-submit { margin-top: 14px; }
.checkout-submit .btn-lg { width: 220px; }

/* ============ 地址弹窗 ============ */
.modal-addr-list { max-height: 240px; overflow-y: auto; margin-bottom: 14px; }
.modal-addr-item {
    border: 1px solid #e5e5e5; border-radius: 8px; padding: 10px 14px; margin-bottom: 10px;
    cursor: pointer; position: relative; font-size: 13px;
}
.modal-addr-item:hover { border-color: #e93323; }
.tag-default {
    background: #fff5f4; color: #e93323; font-size: 11px; padding: 1px 7px;
    border-radius: 9px; margin-left: 6px; font-weight: 400;
}
.addr-del { position: absolute; right: 12px; top: 10px; color: #bbb; font-size: 12px; }
.addr-del:hover { color: #e93323; }
.chk-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #555; margin-bottom: 14px; cursor: pointer; }
.chk-row input { accent-color: #e93323; }

/* ============ 支付页 ============ */
.pay-wrap { display: flex; justify-content: center; padding: 40px 0 20px; }
.pay-panel { width: 380px; max-width: 100%; text-align: center; margin: 0; }
.pay-title { font-size: 18px; font-weight: 700; color: #222; }
.pay-order { color: #999; font-size: 13px; margin-top: 8px; }
.pay-qrcode { margin: 22px auto 0; width: 220px; height: 220px; }
.pay-qrcode img, .pay-qrcode canvas { width: 220px !important; height: 220px !important; }
.pay-tip { color: #666; font-size: 13px; margin-top: 16px; }
.pay-tip::before { content: ''; }
.pay-countdown { color: #999; font-size: 12px; margin-top: 8px; min-height: 16px; }
.pay-actions { margin-top: 20px; display: flex; gap: 12px; justify-content: center; }
.pay-done-icon {
    width: 72px; height: 72px; margin: 8px auto 0; border-radius: 50%;
    background: #52c41a; color: #fff; font-size: 40px; line-height: 72px; text-align: center;
}
.pay-done-title { font-size: 20px; font-weight: 700; color: #222; margin-top: 16px; }
.pay-done-panel .pay-order { margin-top: 10px; }

/* ============ 个人中心布局 ============ */
.user-layout { display: flex; gap: 16px; align-items: flex-start; }
.uc-side {
    width: 200px; flex-shrink: 0; background: #fff; border-radius: 12px; padding: 10px 0; overflow: hidden;
}
.uc-side-head { padding: 12px 20px 14px; font-size: 16px; font-weight: 700; color: #222; border-bottom: 1px solid #f5f5f5; }
.uc-menu-item {
    display: flex; align-items: center; gap: 10px; padding: 12px 20px;
    color: #555; font-size: 14px; border-left: 3px solid transparent;
}
.uc-menu-item:hover { color: #e93323; background: #fffafa; }
.uc-menu-item.active { color: #e93323; border-left-color: #e93323; background: #fff5f4; font-weight: 600; }
.uc-menu-icon { font-size: 15px; width: 18px; text-align: center; }
.uc-main { flex: 1; min-width: 0; }

/* 资产概览 */
.user-hero { display: flex; align-items: center; gap: 16px; }
.user-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: #f0f0f0; }
.user-nickname { font-size: 18px; font-weight: 700; color: #222; }
.user-uid { color: #999; font-size: 13px; margin-top: 5px; }
.asset-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 14px; }
.asset-card {
    background: #fff; border-radius: 12px; padding: 22px 20px; text-align: center;
    transition: transform .2s;
}
.asset-card:hover { transform: translateY(-2px); }
.asset-num { color: #e93323; font-size: 24px; font-weight: 700; }
.asset-name { color: #999; font-size: 13px; margin-top: 6px; }
.quick-links { display: flex; flex-wrap: wrap; gap: 10px; }
.quick-links a {
    padding: 9px 18px; background: #f7f7f9; border-radius: 18px; color: #555; font-size: 13px;
}
.quick-links a:hover { background: #fff5f4; color: #e93323; }

/* 内页 tabs */
.uc-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.uc-tab {
    padding: 8px 18px; border-radius: 18px; background: #fff; color: #555; font-size: 14px;
}
.uc-tab:hover { color: #e93323; }
.uc-tab.active { background: #e93323; color: #fff; font-weight: 600; }

/* ============ 订单/退款卡 ============ */
.order-list .panel { margin-bottom: 12px; }
.order-head { display: flex; align-items: center; gap: 18px; padding-bottom: 12px; border-bottom: 1px solid #f5f5f5; flex-wrap: wrap; }
.order-no { color: #333; font-size: 14px; font-weight: 600; }
.order-time { color: #999; font-size: 12px; }
.order-status { margin-left: auto; color: #e93323; font-size: 14px; font-weight: 600; }
.order-goods-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.order-goods-row img { width: 64px; height: 64px; border-radius: 6px; object-fit: cover; background: #f7f7f7; flex-shrink: 0; }
.og-info { flex: 1; min-width: 0; }
.og-name { font-size: 14px; color: #333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.og-sku { color: #999; font-size: 12px; margin-top: 3px; }
.og-right { text-align: right; }
.og-price { color: #333; font-size: 14px; }
.og-num { color: #999; font-size: 12px; margin-top: 3px; }
.order-foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #f5f5f5; padding-top: 12px; flex-wrap: wrap; gap: 10px; }
.order-total { color: #666; font-size: 13px; }
.order-total .price { font-size: 17px; }
.order-ops { display: flex; gap: 10px; }
.btn-mini {
    height: 32px; padding: 0 18px; border-radius: 16px; font-size: 13px;
    display: inline-flex; align-items: center; justify-content: center;
}
.btn-mini.btn-primary { height: 32px; padding: 0 18px; font-size: 13px; }
.btn-mini.btn-outline { height: 32px; padding: 0 18px; border: 1px solid #ddd; color: #555; background: #fff; }
.btn-mini.btn-outline:hover { border-color: #e93323; color: #e93323; }

/* ============ 资金流水 ============ */
.bill-list { padding: 4px 20px; }
.bill-row { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid #f7f7f7; }
.bill-row:last-child { border-bottom: none; }
.bill-title { font-size: 14px; color: #333; }
.bill-time { color: #999; font-size: 12px; margin-top: 4px; }
.bill-amount { font-size: 15px; font-weight: 600; }
.bill-amount.in { color: #52c41a; }
.bill-amount.out { color: #333; }

/* 详情页补充 */
.btn-collect {
    height: 44px; padding: 0 22px; border-radius: 22px; border: 1px solid #e5e5e5;
    color: #666; font-size: 14px; background: #fff;
}
.btn-collect:hover { border-color: #e93323; color: #e93323; }
