/* ============================================
   XC权益数卡白色模板专属样式
   复刻 https://api.xcsup.com/index 设计风格
   主色调: #1285FF
   背景色: #fff
   ============================================ */

/* ========== 全局样式 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft Yahei", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 14px;
    color: #333;
    background-color: #fff;
    line-height: 1.6;
}

.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #1285FF;
}

/* ========== Element UI 风格栅格系统 ========== */
.el-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -10px;
    margin-left: -10px;
}

.el-col {
    padding-right: 10px;
    padding-left: 10px;
}

.el-col-5 {
    width: 20.83333%;
}

.el-col-14 {
    width: 58.33333%;
}

.el-col-19 {
    width: 79.16667%;
}

.el-col-24 {
    width: 100%;
}

/* ========== 顶部信息栏 ========== */
.top-head {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.top-bar-box {
    width: 100%;
}

.top-bar-group {
    width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 36px;
}

.user-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-box .item {
    font-size: 13px;
    color: #666;
}

.user-box .login {
    display: flex;
    align-items: center;
}

.user-box .login a {
    font-size: 13px;
    color: #666;
}

.user-box .login a:hover {
    color: #1285FF;
}

.top-bar .nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar .nav-item {
    font-size: 13px;
    color: #666;
}

.top-bar .nav-item:hover {
    color: #1285FF;
}

/* ========== 主导航栏 ========== */
.glmall-new-header-group {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 200;
    transition: all 0.3s;
}

.glmall-new-header-group.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.glmall-new-header-wrapper {
    width: 100%;
}

.glmall-new-header {
    width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.glmall-header-logo {
    display: flex;
    align-items: center;
    height: 60px;
}

.glmall-header-logo a {
    display: flex;
    align-items: center;
}

.glmall-header-logo img {
    height: 40px;
    width: auto;
    max-width: 200px;
    display: block;
    object-fit: contain;
}

.glmall-new-header-menu {
    flex: 1;
    margin-left: 40px;
}

.glmall-new-header-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.glmall-new-header-menu li a {
    font-size: 15px;
    color: #333;
    font-weight: 500;
    padding: 10px 0;
    position: relative;
}

.glmall-new-header-menu li a:hover {
    color: #1285FF;
}

.glmall-new-header-menu li.glmall-curr a {
    color: #1285FF;
}

.glmall-new-header-menu li.glmall-curr a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #1285FF;
    border-radius: 1px;
}

.glmall-new-header-menu .text-yellow {
    color: #ff9500;
}

.glmall-new-header-menu .text-red {
    color: #ff4d4f;
}

.glmall-new-header-menu .text-green {
    color: #52c41a;
}

.glmall-new-header-menu .text-blue {
    color: #1285FF;
}

/* ========== 搜索框 ========== */
.new-search-wrap {
    margin-left: auto;
}

.search {
    display: flex;
    align-items: center;
    background: #f5f7fa;
    border-radius: 20px;
    padding: 0 15px;
    height: 36px;
}

.search input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 13px;
    width: 180px;
    color: #333;
}

.search input::placeholder {
    color: #999;
}

.search-btn {
    color: #1285FF;
    font-size: 13px;
    cursor: pointer;
    font-weight: 500;
    padding-left: 10px;
}

.search-btn:hover {
    color: #0e6cd6;
}

/* ========== 热门搜索 ========== */
.hot-search {
    margin-top: 8px;
    font-size: 12px;
}

.hot-label {
    color: #999;
}

.hot-search a {
    color: #666;
    margin-left: 8px;
    transition: color 0.2s;
}

.hot-search a:hover {
    color: #1285FF;
}

/* ========== 主内容区域 ========== */
.full-wrapper {
    width: 100%;
    background: #f5f7fa;
}

.full-container2 {
    width: 1200px;
    margin: 0 auto;
    padding: 15px;
}

.diy-container {
    width: 100%;
}

.page-comp-box {
    width: 100%;
}

.comp-box {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.wrap {
    padding: 15px;
}

/* ========== 分类导航 ========== */
.category-box {
    height: auto;
}

.category-wrap {
    padding: 0;
    height: 100%;
}

.recommend-category {
    height: 100%;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    padding: 12px 15px;
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
}

.category-item:hover {
    background: #f0f5ff;
}

.category-item:hover .item-children {
    display: block;
}

.item-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.item-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-svg {
    width: 28px;
    height: 28px;
}

.item-name {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.category-item:hover .item-name {
    color: #1285FF;
}

.item-children {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background: #fff;
    border: 1px solid #e4e7ed;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    padding: 10px;
    z-index: 100;
}

.item-children a {
    display: block;
    padding: 8px 12px;
    font-size: 13px;
    color: #666;
    border-radius: 4px;
}

.item-children a:hover {
    color: #1285FF;
    background: #f0f5ff;
}

.show-all {
    padding: 15px;
    border-top: 1px solid #f0f0f0;
}

.show-all .btn-item {
    display: block;
    text-align: center;
    padding: 10px;
    background: #f0f5ff;
    color: #1285FF;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
}

.show-all .btn-item:hover {
    background: #e6f0ff;
}

/* ========== 轮播图 ========== */
.swiper-wrap {
    padding: 0;
}

.swpier {
    width: 100%;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
}

.carousel-items {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.carousel-item {
    flex: 0 0 100%;
    height: 100%;
    display: none;
}

.carousel-item.active {
    display: block;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 10;
}

.carousel-arrow:hover {
    background: rgba(0, 0, 0, 0.5);
}

.carousel-arrow-left {
    left: 15px;
}

.carousel-arrow-right {
    right: 15px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.carousel-indicators li {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-indicators li.active {
    background: #fff;
    width: 24px;
    border-radius: 5px;
}

/* ========== 用户卡片 ========== */
.user-box-wrap {
    height: 400px;
}

.user-wrap {
    padding: 0;
    height: 100%;
}

.userinfo {
    padding: 20px;
    height: 100%;
}

.user {
    text-align: center;
}

.avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #f0f0f0;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
}

.user p {
    font-size: 13px;
    color: #999;
    margin-bottom: 20px;
}

.user-actions {
    display: flex;
    gap: 10px;
}

.user-actions a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: #f0f5ff;
    color: #1285FF;
    border-radius: 6px;
    font-size: 13px;
}

.user-actions a:hover {
    background: #e6f0ff;
}

.user-stats {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.user-stats .stat-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 13px;
}

.user-stats .stat-item .label {
    color: #666;
}

.user-stats .stat-item .value {
    color: #333;
    font-weight: 500;
}

/* ========== 爆款推荐区域 ========== */
.hot-section {
    display: flex;
    background: #fff;
    border: 1px solid #f5f5f5;
    border-radius: 6px;
    overflow: hidden;
    margin-top: 15px;
}

.hot-left {
    width: 140px;
    background: linear-gradient(180deg, #fff2f5 0%, #ffe8ed 100%);
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    border-right: 1px solid #ffe8ed;
}

.hot-left-title {
    font-size: 22px;
    color: #ff3d5c;
    font-weight: 700;
    margin-bottom: 8px;
}

.hot-left-sub {
    font-size: 13px;
    color: #ff6b8a;
    letter-spacing: 4px;
    margin-bottom: 15px;
}

.hot-left-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    padding: 5px 16px;
    background: #ff5a7a;
    border-radius: 20px;
    transition: background 0.2s;
}

.hot-left-more:hover {
    background: #ff3d5c;
}

.hot-right {
    flex: 1;
    padding: 12px;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hot-arrow-btn {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: #f0f0f0;
    color: #999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    transition: all 0.2s;
    padding: 0;
}

.hot-arrow-btn:hover {
    background: #ff5a7a;
    color: #fff;
}

.hot-scroll-viewport {
    flex: 1;
    overflow: hidden;
}

.hot-scroll-track {
    display: flex;
    gap: 10px;
    min-width: min-content;
    transition: transform 0.3s ease;
}

.hot-goods-item {
    flex-shrink: 0;
    width: 220px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.2s, border-color 0.2s;
    display: flex;
    align-items: stretch;
}

.hot-goods-item:hover {
    border-color: #ff5a7a;
    box-shadow: 0 2px 8px rgba(255, 90, 122, 0.1);
}

.hot-goods-img {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    overflow: hidden;
    background: #f8f8f8;
    margin: 10px;
    border-radius: 4px;
}

.hot-goods-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.hot-goods-item:hover .hot-goods-img img {
    transform: scale(1.05);
}

.hot-goods-info {
    flex: 1;
    padding: 10px 10px 10px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.hot-goods-name {
    font-size: 13px;
    color: #333;
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    height: 39px;
}

.hot-goods-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hot-goods-price {
    font-size: 15px;
    color: #ff4d4f;
    font-weight: 600;
}

.hot-goods-buy {
    padding: 3px 12px;
    background: #ff6b6b;
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    transition: background 0.2s;
}

.hot-goods-item:hover .hot-goods-buy {
    background: #ff4d4f;
}

.hot-goods-empty {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    color: #999;
    font-size: 14px;
}

/* ========== 爆款推荐响应式 ========== */
@media screen and (max-width: 768px) {
    .hot-left {
        width: 100px;
        padding: 15px 10px;
    }
    .hot-left-title {
        font-size: 18px;
    }
    .hot-left-sub {
        font-size: 11px;
        letter-spacing: 2px;
    }
    .hot-goods-item {
        width: 180px;
    }
    .hot-goods-img {
        width: 60px;
        height: 60px;
        margin: 8px;
    }
    .hot-goods-info {
        padding: 8px 8px 8px 0;
    }
    .hot-goods-name {
        font-size: 12px;
        height: 36px;
    }
}

/* ========== 商品列表 ========== */
.product-section {
    margin-top: 15px;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 2px solid #1285FF;
    margin-bottom: 15px;
}

.section-title h3 {
    font-size: 18px;
    color: #333;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title h3::before {
    content: '';
    width: 4px;
    height: 18px;
    background: #1285FF;
    border-radius: 2px;
}

.section-title a {
    font-size: 13px;
    color: #999;
}

.section-title a:hover {
    color: #1285FF;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    transition: opacity 0.25s ease;
}

.product-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s;
}

.product-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.product-item .product-image {
    width: 100%;
    height: 120px;
    overflow: hidden;
}

.product-item .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-item:hover .product-image img {
    transform: scale(1.05);
}

.product-item .product-info {
    padding: 10px;
}

.product-item .product-name {
    font-size: 13px;
    color: #333;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 8px;
    height: 18px;
}

.product-item .product-price {
    font-size: 15px;
    color: #ff4d4f;
    font-weight: 600;
}

.product-item .product-price .original-price {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
    margin-left: 5px;
}

.product-item .product-sales {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

/* ========== 购买按钮 ========== */
.buy-btn {
    width: 100%;
    padding: 8px 0;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff4d4f 100%);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.buy-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 77, 79, 0.3);
}

.buy-btn-small {
    padding: 4px 12px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff4d4f 100%);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.buy-btn-small:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 77, 79, 0.3);
}

/* ========== 选择分类区域 ========== */
.select-category-wrap {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 15px;
}

.category-goods .hd {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    padding: 0;
    margin: 0 0 12px;
    height: 28px;
    line-height: 28px;
}

.category-goods .category-box {
    display: block;
}

.cate-one {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cate-item {
    display: flex;
    align-items: center;
    padding: 0 22px;
    margin: 0;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 24px;
    font-size: 14px;
    color: #333;
    height: 38px;
    line-height: 36px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.cate-item:hover {
    border-color: #1285FF;
    color: #1285FF;
}

.cate-item.active {
    background: #1285FF;
    color: #fff;
    border-color: #1285FF;
}

.cate-item .cate-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    margin-right: 6px;
    object-fit: cover;
    border: none;
}

.cate-item .txt {
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
}

.cate-item.active .txt {
    color: #fff;
}

/* 二级分类 */
.cate-two {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #e0e0e0;
}

.sub-cate-item {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    font-size: 13px;
    color: #666;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.sub-cate-item:hover {
    border-color: #1285FF;
    color: #1285FF;
    background: #f0f5ff;
}

.sub-cate-item.active {
    background: #1285FF;
    color: #fff;
    border-color: #1285FF;
}

.cate-loading {
    text-align: center;
    color: #999;
    font-size: 13px;
    padding: 10px;
}

/* ========== 分类页面 ========== */

/* ========== 分类页面 ========== */
.category-page {
    display: flex;
    gap: 20px;
    padding: 20px 0;
}

.category-sidebar {
    width: 220px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    overflow: hidden;
}

.sidebar-title {
    padding: 15px 20px;
    background: linear-gradient(135deg, #1285FF 0%, #4f9aff 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.sidebar-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-categories li {
    border-bottom: 1px solid #f5f5f5;
}

.sidebar-categories li:last-child {
    border-bottom: none;
}

.sidebar-categories li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    font-size: 14px;
    color: #666;
    transition: all 0.2s;
}

.sidebar-categories li a:hover {
    background: #f0f5ff;
    color: #1285FF;
}

.sidebar-categories li.active a {
    background: #1285FF;
    color: #fff;
}

.category-main {
    flex: 1;
    min-width: 0;
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    margin-bottom: 15px;
}

.list-header h3 {
    font-size: 18px;
    color: #333;
    font-weight: 600;
    margin: 0;
}

.list-count {
    font-size: 13px;
    color: #999;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: #1285FF;
}

.product-card .product-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-card .product-info {
    padding: 12px;
}

.product-card .product-name {
    font-size: 13px;
    color: #333;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 8px;
    height: 18px;
}

.product-card .product-price {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.product-card .price-symbol {
    color: #ff4d4f;
    font-size: 14px;
    font-weight: 600;
}

.product-card .price-value {
    color: #ff4d4f;
    font-size: 18px;
    font-weight: 600;
}

.product-card .original-price {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
}

.product-card .product-sales {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.product-card .product-action {
    padding: 0 12px 12px;
}

.pagination-area {
    margin-top: 20px;
    text-align: center;
}

.pagination {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    overflow: hidden;
}

.pagination li {
    margin: 0;
}

.pagination li a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    font-size: 14px;
    color: #666;
    transition: all 0.2s;
    min-width: 44px;
}

.pagination li a:hover {
    background: #f0f5ff;
    color: #1285FF;
}

.pagination li.active a {
    background: #1285FF;
    color: #fff;
}

/* ========== 商品详情页面 ========== */
.product-detail-page {
    display: flex;
    gap: 30px;
    padding: 20px 0;
}

.product-detail-left {
    width: 400px;
    flex-shrink: 0;
}

.product-image-main {
    width: 400px;
    height: 400px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-image-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.thumb-image {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    object-fit: cover;
    transition: border-color 0.2s;
}

.thumb-image:hover {
    border-color: #1285FF;
}

.product-detail-right {
    flex: 1;
    min-width: 0;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    padding: 25px;
}

.product-title {
    font-size: 22px;
    color: #333;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 20px;
}

.product-price-area {
    padding: 15px;
    background: #fafbfc;
    border-radius: 8px;
    margin-bottom: 20px;
}

.product-price-area .current-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.product-price-area .price-symbol {
    color: #ff4d4f;
    font-size: 20px;
    font-weight: 600;
}

.product-price-area .price-value {
    color: #ff4d4f;
    font-size: 36px;
    font-weight: 600;
}

.product-price-area .original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    margin-left: 15px;
}

.product-price-area .lowest-price {
    font-size: 13px;
    color: #fa8c16;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-info-table {
    width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
}

.product-info-table td {
    padding: 10px 15px;
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid #f5f5f5;
}

.product-info-table td:first-child,
.product-info-table td:nth-child(3) {
    color: #999;
}

.product-attrs {
    margin-bottom: 20px;
}

.product-attrs label {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    display: block;
    margin-bottom: 10px;
}

.attrs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.attr-option {
    padding: 8px 16px;
    background: #fafbfc;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    color: #666;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.attr-option:hover {
    border-color: #1285FF;
    color: #1285FF;
}

.attr-option input[type="radio"]:checked + span,
.attr-option input[type="radio"]:checked + span + .attr-price {
    color: #1285FF;
}

.attr-option input[type="radio"]:checked {
    border-color: #1285FF;
    background: #f0f5ff;
}

.attr-price {
    color: #ff4d4f;
    font-weight: 500;
}

.product-quantity {
    margin-bottom: 20px;
}

.product-quantity label {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    margin-right: 15px;
}

.quantity-selector {
    display: inline-flex;
    align-items: center;
    background: #fafbfc;
    border-radius: 6px;
    overflow: hidden;
}

.quantity-selector button {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.quantity-selector button:hover {
    background: #e0e0e0;
}

.quantity-selector input {
    width: 60px;
    height: 36px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 14px;
    color: #333;
    outline: none;
}

.quantity-tip {
    font-size: 12px;
    color: #999;
    margin-left: 10px;
}

.product-services {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
}

.service-item i {
    color: #1285FF;
    font-size: 16px;
}

.product-action {
    display: flex;
    gap: 15px;
}

.buy-now-btn {
    flex: 1;
    padding: 15px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff4d4f 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.buy-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 77, 79, 0.4);
}

.product-detail-desc {
    margin-top: 20px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    overflow: hidden;
}

.desc-header {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    background: #fafbfc;
}

.desc-header h3 {
    font-size: 16px;
    color: #333;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.desc-body {
    padding: 20px;
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

.desc-image {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
    border-radius: 4px;
}

.empty-desc {
    text-align: center;
    padding: 40px;
    color: #999;
}

.empty-desc i {
    font-size: 48px;
    margin-bottom: 15px;
}

.empty-desc p {
    font-size: 14px;
}

/* ========== 服务保障区域 ========== */
.service-guarantee {
    background: #1a1a1a;
    padding: 30px 0;
}

.guarantee-grid {
    display: flex;
    justify-content: space-around;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 20px;
}

.guarantee-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guarantee-icon i {
    font-size: 24px;
    color: #fff;
}

.guarantee-content h4 {
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 5px;
}

.guarantee-content p {
    font-size: 13px;
    color: #999;
}

/* ========== 服务优势区域 ========== */
.advantage-section {
    background: #fff;
    border-radius: 8px;
    padding: 30px 20px;
}

.advantage-title {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.advantage-title span {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    letter-spacing: 4px;
    position: relative;
    display: inline-block;
    padding: 0 40px;
}

.advantage-title span::before,
.advantage-title span::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #1285FF);
}

.advantage-title span::before {
    right: 100%;
}

.advantage-title span::after {
    left: 100%;
    background: linear-gradient(90deg, #1285FF, transparent);
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.advantage-card {
    text-align: center;
    padding: 25px 20px;
    background: #fff;
    border: 1px solid #f0f5ff;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(18, 133, 255, 0.12);
    border-color: #1285FF;
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e8f4ff 0%, #d4e8ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: all 0.3s ease;
}

.advantage-icon i {
    font-size: 30px;
    color: #1285FF;
}

.advantage-card:hover .advantage-icon {
    background: linear-gradient(135deg, #1285FF 0%, #4f9aff 100%);
}

.advantage-card:hover .advantage-icon i {
    color: #fff;
}

.advantage-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.advantage-card p {
    font-size: 13px;
    color: #888;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .advantage-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .advantage-title span {
        font-size: 18px;
        letter-spacing: 2px;
    }
    .advantage-card {
        padding: 20px 15px;
    }
}

/* ========== 页脚 ========== */
.main-footer {
    background: #0a0a0a;
    padding: 25px 0;
}

.footer-simple {
    text-align: center;
}

.footer-simple-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 12px;
}

.footer-simple-links a {
    font-size: 13px;
    color: #999;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-simple-links a:hover {
    color: #1285FF;
}

.footer-simple-copyright p {
    font-size: 12px;
    color: #666;
    margin: 0;
}

/* ========== 浮动客服按钮 ========== */
.xc-cs-root {
    position: fixed;
    z-index: 1000;
}

.xc-cs-ball {
    position: relative;
}

.xc-cs-entry {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f7cff 0%, #1285FF 100%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(18, 133, 255, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.xc-cs-entry:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(18, 133, 255, 0.5);
}

.xc-cs-entry-icon {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}

.xc-cs-entry-copy {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.xc-cs-entry:hover .xc-cs-entry-copy {
    opacity: 1;
    visibility: visible;
}

.xc-cs-entry-copy b {
    display: block;
    font-size: 14px;
    color: #333;
}

.xc-cs-entry-copy small {
    font-size: 12px;
    color: #999;
}

/* ========== Toast 提示 ========== */
.toast-notification {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ========== 面包屑导航 ========== */
.breadcrumb-area {
    padding: 15px 0;
    background: #fff;
    border-bottom: 1px solid #f5f5f5;
}

.breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    background: transparent;
    font-size: 13px;
}

.breadcrumb > li {
    display: flex;
    align-items: center;
    color: #666;
}

.breadcrumb > li + li:before {
    content: "/";
    padding: 0 8px;
    color: #ccc;
}

.breadcrumb > li a {
    color: #666;
    display: flex;
    align-items: center;
    gap: 4px;
}

.breadcrumb > li a:hover {
    color: #1285FF;
}

.breadcrumb > li.active {
    color: #1285FF;
}

/* ========== 结算中心页面 ========== */
.checkout-page {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.checkout-left {
    flex: 1;
    min-width: 0;
}

.checkout-right {
    width: 300px;
    flex-shrink: 0;
}

.checkout-section {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.checkout-section .section-header {
    padding: 14px 20px;
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
}

.checkout-section .section-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkout-section .section-header h3 i {
    color: #1285FF;
    font-size: 18px;
}

.checkout-section .section-body {
    padding: 20px;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.cart-table thead th {
    text-align: left;
    padding: 10px 12px;
    color: #999;
    font-weight: 400;
    font-size: 13px;
    border-bottom: 1px solid #f0f0f0;
    white-space: nowrap;
}

.cart-table tbody td {
    padding: 14px 12px;
    border-bottom: 1px solid #f5f5f5;
    color: #333;
    vertical-align: middle;
}

.cart-table tbody tr:last-child td {
    border-bottom: none;
}

.cart-table .product-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-table .product-thumb {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.cart-table .product-name {
    color: #333;
    font-size: 14px;
    line-height: 1.4;
}

.checkout-section .form-group {
    margin-bottom: 0;
}

.checkout-section .form-group label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

.checkout-section .form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    outline: none;
    font-family: inherit;
}

.checkout-section .form-control:focus {
    border-color: #1285FF;
    box-shadow: 0 0 0 3px rgba(18, 133, 255, 0.1);
}

.checkout-section textarea.form-control {
    resize: vertical;
    min-height: 80px;
    line-height: 1.6;
}

/* 结算信息侧栏 */
.checkout-summary {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.checkout-summary .summary-header {
    padding: 14px 20px;
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
}

.checkout-summary .summary-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.checkout-summary .summary-body {
    padding: 16px 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
}

.summary-row .label {
    color: #666;
}

.summary-row .value {
    color: #333;
    font-weight: 500;
}

.summary-row.total {
    border-top: 1px solid #f0f0f0;
    margin-top: 8px;
    padding-top: 14px;
}

.summary-row.total .label {
    color: #333;
    font-weight: 600;
    font-size: 15px;
}

.summary-row.total .value {
    color: #ff5a7a;
    font-size: 20px;
    font-weight: 700;
}

.summary-action {
    padding: 0 20px 18px;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: #1285FF;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.submit-btn:hover {
    background: #0073e6;
}

.submit-btn:active {
    transform: scale(0.98);
}

/* 服务保障 */
.service-guarantee-box {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    margin-top: 15px;
    border: 1px solid #f0f0f0;
}

.guarantee-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #666;
}

.guarantee-item i {
    font-size: 22px;
    color: #1285FF;
}

/* ========== 支付页面 ========== */
.pay-page {
    max-width: 600px;
    margin: 0 auto;
    padding-bottom: 20px;
}

.pay-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pay-header {
    padding: 18px 24px;
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
}

.pay-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pay-header h3 i {
    color: #1285FF;
    font-size: 18px;
}

.pay-body {
    padding: 24px;
}

.order-info {
    margin-bottom: 24px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row .label {
    color: #999;
    flex-shrink: 0;
}

.info-row .value {
    color: #333;
    font-weight: 500;
    text-align: right;
    word-break: break-all;
}

.info-row.total {
    border-top: 2px solid #f0f0f0;
    margin-top: 8px;
    padding-top: 14px;
}

.info-row.total .label {
    color: #333;
    font-weight: 600;
    font-size: 15px;
}

.info-row.total .value {
    color: #ff5a7a;
    font-size: 22px;
    font-weight: 700;
}

.pay-methods h4 {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.methods-list {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.method-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 2px solid #f0f0f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    color: #333;
    user-select: none;
}

.method-item:hover {
    border-color: #c8e0ff;
    background: #f5faff;
}

.method-item input[type="radio"] {
    accent-color: #1285FF;
    margin: 0;
    cursor: pointer;
}

.method-item i {
    font-size: 18px;
}

.method-item:has(input:checked) {
    border-color: #1285FF;
    background: #f0f5ff;
    color: #1285FF;
    font-weight: 600;
}

.method-item:has(input:checked) i {
    color: #1285FF;
}

.pay-footer {
    padding: 0 24px 24px;
}

.pay-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #1285FF 0%, #4f9aff 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.1s, box-shadow 0.2s;
}

.pay-btn:hover {
    box-shadow: 0 4px 16px rgba(18, 133, 255, 0.3);
}

.pay-btn:active {
    transform: scale(0.98);
}

/* 响应式适配 */
@media (max-width: 768px) {
    .checkout-page {
        flex-direction: column;
    }
    .checkout-right {
        width: 100%;
    }
    .cart-table thead {
        display: none;
    }
    .cart-table tbody td {
        display: flex;
        justify-content: space-between;
        padding: 8px 0;
        border-bottom: none;
    }
    .cart-table tbody td:before {
        content: attr(data-label);
        color: #999;
        font-size: 13px;
    }
    .cart-table .product-cell {
        display: flex;
    }
    .cart-table .product-cell:before {
        display: none;
    }
    .pay-page {
        padding: 0 10px;
    }
    .methods-list {
        flex-direction: column;
    }
    .method-item {
        width: 100%;
        justify-content: flex-start;
    }
}

/* ========== 通用页面头部 ========== */
.page-header {
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 20px;
}

.page-header h3 {
    font-size: 20px;
    color: #333;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-header h3 i {
    color: #1285FF;
}

/* ========== 用户中心页面 ========== */
.user-page {
    display: flex;
    gap: 20px;
    padding: 20px 0;
}

.user-sidebar {
    width: 240px;
    flex-shrink: 0;
}

.user-info {
    background: #fff;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    margin-bottom: 15px;
}

.user-info .avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1285FF 0%, #4f9aff 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 15px;
}

.user-info h3 {
    font-size: 18px;
    color: #333;
    font-weight: 600;
    margin-bottom: 5px;
}

.user-info p {
    font-size: 13px;
    color: #999;
}

.user-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
}

.user-menu li {
    border-bottom: 1px solid #f5f5f5;
}

.user-menu li:last-child {
    border-bottom: none;
}

.user-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    font-size: 14px;
    color: #666;
    transition: all 0.2s;
}

.user-menu li a:hover {
    background: #f0f5ff;
    color: #1285FF;
}

.user-menu li.active a {
    background: #1285FF;
    color: #fff;
}

.user-main {
    flex: 1;
    min-width: 0;
}

.user-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}

.card-header {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fafbfc;
}

.card-header h3 {
    font-size: 16px;
    color: #333;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-header h3 i {
    color: #1285FF;
}

.more-link {
    font-size: 13px;
    color: #1285FF;
}

.card-body {
    padding: 20px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-item .label {
    font-size: 13px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 6px;
}

.info-item .value {
    font-size: 15px;
    color: #333;
    font-weight: 500;
}

.user-orders-table {
    width: 100%;
    border-collapse: collapse;
}

.user-orders-table th {
    background: #fafbfc;
    padding: 12px 15px;
    text-align: left;
    font-size: 13px;
    color: #666;
    font-weight: 600;
    border-bottom: 1px solid #f0f0f0;
}

.user-orders-table td {
    padding: 12px 15px;
    font-size: 13px;
    color: #333;
    border-bottom: 1px solid #f5f5f5;
}

.user-orders-table tr:last-child td {
    border-bottom: none;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
}

.empty-state i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 15px;
}

.empty-state p {
    color: #999;
    margin-bottom: 20px;
    font-size: 14px;
}

.btn-back {
    display: inline-block;
    padding: 8px 24px;
    background: #1285FF;
    color: #fff;
    border-radius: 4px;
    font-size: 13px;
}

.btn-back:hover {
    background: #0e6cd6;
    color: #fff;
}

/* ========== 订单系统（新版） ========== */
.order-list-page {
    padding: 20px 0;
}

.order-filter-bar {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-label {
    font-size: 13px;
    color: #666;
    white-space: nowrap;
}

.filter-select {
    height: 34px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    padding: 0 10px;
    font-size: 13px;
    color: #333;
    background: #fff;
}

.filter-input {
    height: 34px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    padding: 0 10px;
    font-size: 13px;
    color: #333;
    width: 200px;
    outline: none;
    transition: border-color 0.2s;
}

.filter-input:focus {
    border-color: #1285FF;
    box-shadow: 0 0 0 2px rgba(18, 133, 255, 0.1);
}

.filter-input.date-input {
    width: 160px;
}

.date-sep {
    color: #999;
    font-size: 13px;
}

.filter-btn {
    height: 34px;
    padding: 0 14px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background: #fff;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
}

.filter-btn:hover {
    border-color: #1285FF;
    color: #1285FF;
}

.btn-search {
    background: #1285FF;
    border-color: #1285FF;
    color: #fff;
}

.btn-search:hover {
    background: #0e6cd6;
    border-color: #0e6cd6;
    color: #fff;
}

.btn-reset:hover {
    background: #f5f5f5;
}

/* 状态标签页 */
.order-tabs {
    display: flex;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 15px;
}

.order-tab {
    padding: 10px 20px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    text-decoration: none;
}

.order-tab:hover {
    color: #1285FF;
}

.order-tab.active {
    color: #1285FF;
    border-bottom-color: #1285FF;
    font-weight: 500;
}

/* 订单卡片 */
.order-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.order-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.order-card:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: #fafbfc;
    border-bottom: 1px solid #f0f0f0;
}

.order-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
}

.order-no {
    color: #333;
    font-weight: 500;
}

.order-no i {
    color: #999;
    margin-right: 4px;
}

.order-time {
    color: #999;
}

.order-time i {
    margin-right: 4px;
}

.order-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.order-status-badge i {
    font-size: 12px;
}

.status-pending {
    background: #fff7e6;
    color: #fa8c16;
    border: 1px solid #ffd591;
}

.status-processing {
    background: #e6f4ff;
    color: #1677ff;
    border: 1px solid #91caff;
}

.status-processing-active {
    background: #f9f0ff;
    color: #722ed1;
    border: 1px solid #d3adf7;
}

.status-success {
    background: #f6ffed;
    color: #52c41a;
    border: 1px solid #b7eb8f;
}

.status-cancelled {
    background: #f5f5f5;
    color: #8c8c8c;
    border: 1px solid #d9d9d9;
}

.status-refunded {
    background: #fff1f0;
    color: #ff4d4f;
    border: 1px solid #ffa39e;
}

/* 卡片主体 */
.order-card-body {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.order-product {
    display: flex;
    gap: 15px;
    flex: 1;
}

.product-image {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f5f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-placeholder {
    color: #ccc;
    font-size: 32px;
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-name {
    font-size: 15px;
    color: #333;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
}

.product-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #666;
}

.order-total {
    color: #ff4d4f;
    font-weight: 600;
}

.product-extra {
    font-size: 12px;
    color: #999;
}

/* 操作按钮 */
.order-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
    flex-shrink: 0;
}

.btn-action {
    height: 32px;
    padding: 0 16px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background: #fff;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    transition: all 0.2s;
    color: #333;
}

.btn-action:hover {
    border-color: #1285FF;
    color: #1285FF;
}

.btn-pay {
    background: #1285FF;
    border-color: #1285FF;
    color: #fff;
}

.btn-pay:hover {
    background: #0e6cd6;
    border-color: #0e6cd6;
    color: #fff;
}

.btn-cancel-sm:hover {
    border-color: #ff4d4f;
    color: #ff4d4f;
}

.btn-issue:hover {
    border-color: #fa8c16;
    color: #fa8c16;
}

.btn-copy-cards {
    background: #52c41a;
    border-color: #52c41a;
    color: #fff;
}

.btn-copy-cards:hover {
    background: #389e0d;
    border-color: #389e0d;
    color: #fff;
}

/* 状态提示文字 */
.order-status-tip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    font-size: 13px;
    color: #fa8c16;
    background: #fff7e6;
    border: 1px solid #ffd591;
    border-radius: 4px;
    font-weight: 500;
}
.order-status-tip.processing {
    color: #722ed1;
    background: #f9f0ff;
    border-color: #d3adf7;
}

.btn-delete {
    border: none;
    color: #ccc;
    padding: 4px 8px;
    height: 28px;
}

.btn-delete:hover {
    color: #ff4d4f;
    background: #fff1f0;
}

/* 卡密摘要 */
.order-card-footer {
    padding: 12px 20px;
    background: #f9f9f9;
    border-top: 1px solid #f0f0f0;
}

.card-keys-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #333;
}

.card-keys-summary i {
    color: #fa8c16;
}

.btn-mini {
    height: 24px;
    padding: 0 10px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background: #fff;
    font-size: 12px;
    cursor: pointer;
    margin-left: auto;
}

.btn-mini:hover {
    border-color: #1285FF;
    color: #1285FF;
}

/* 空状态 */
.order-empty {
    background: #fff;
    text-align: center;
    padding: 80px 20px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
}

.order-empty i {
    font-size: 64px;
    color: #ddd;
    margin-bottom: 16px;
}

.order-empty p {
    color: #666;
    font-size: 15px;
    margin-bottom: 6px;
}

.empty-hint {
    color: #999;
    font-size: 13px !important;
    margin-bottom: 24px !important;
}

.btn-back-shop {
    display: inline-block;
    padding: 8px 24px;
    background: #1285FF;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-back-shop:hover {
    background: #0e6cd6;
    color: #fff;
}

/* 分页 */
.order-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
    padding: 20px 0;
}

.page-info {
    font-size: 13px;
    color: #666;
    margin-right: 10px;
}

.page-btn, .page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background: #fff;
    color: #333;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.page-btn:hover:not([disabled]),
.page-num:hover:not(.active) {
    border-color: #1285FF;
    color: #1285FF;
}

.page-btn[disabled] {
    cursor: not-allowed;
    color: #ccc;
    background: #f5f5f5;
}

.page-num.active {
    background: #1285FF;
    border-color: #1285FF;
    color: #fff;
}

.page-ellipsis {
    color: #999;
    padding: 0 4px;
}

.page-jump {
    font-size: 13px;
    color: #666;
    margin: 0 4px;
}

.page-input {
    width: 50px;
    height: 32px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    text-align: center;
    font-size: 13px;
}

/* 订单详情弹窗 */
.order-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}

.order-detail-modal.active {
    display: block;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.modal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 720px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid #f0f0f0;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.modal-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #999;
    cursor: pointer;
    padding: 4px;
}

.modal-close:hover {
    color: #333;
}

.modal-tabs {
    display: flex;
    border-bottom: 1px solid #f0f0f0;
    padding: 0 24px;
}

.modal-tab {
    padding: 12px 0;
    margin-right: 24px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.modal-tab.active {
    color: #1285FF;
    border-bottom-color: #1285FF;
    font-weight: 500;
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
}

.detail-section {
    margin-bottom: 24px;
}

.detail-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.detail-section-title i {
    color: #1285FF;
}

.detail-status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.detail-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.btn-refresh {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background: #fff;
    font-size: 12px;
    color: #666;
    cursor: pointer;
}

.btn-refresh:hover {
    border-color: #1285FF;
    color: #1285FF;
}

.detail-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
}

.detail-info-item {
    display: flex;
    gap: 8px;
    font-size: 13px;
}

.detail-info-item label {
    color: #999;
    min-width: 70px;
}

.detail-info-item span {
    color: #333;
    word-break: break-all;
}

.detail-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.detail-table th {
    background: #f5f7fa;
    padding: 10px 12px;
    text-align: left;
    color: #666;
    font-weight: 500;
    border: 1px solid #f0f0f0;
}

.detail-table td {
    padding: 10px 12px;
    border: 1px solid #f0f0f0;
    color: #333;
}

.btn-copy-all {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border: 1px solid #1285FF;
    border-radius: 4px;
    background: #fff;
    color: #1285FF;
    font-size: 12px;
    cursor: pointer;
}

.btn-copy-all:hover {
    background: #1285FF;
    color: #fff;
}

.detail-remark {
    background: #f5f7fa;
    padding: 12px;
    border-radius: 4px;
    font-size: 13px;
    color: #666;
    min-height: 40px;
}

.detail-actions {
    display: flex;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.btn-primary, .btn-secondary, .btn-outline {
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.btn-primary {
    background: #1285FF;
    color: #fff;
    border-color: #1285FF;
}

.btn-primary:hover {
    background: #0e6cd6;
}

.btn-secondary {
    background: #fff;
    color: #1285FF;
    border-color: #1285FF;
}

.btn-secondary:hover {
    background: #e6f4ff;
}

.btn-outline {
    background: #fff;
    color: #666;
    border-color: #d9d9d9;
}

.btn-outline:hover {
    border-color: #1285FF;
    color: #1285FF;
}

/* 响应式 */
@media (max-width: 768px) {
    .order-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .filter-group {
        justify-content: flex-start;
    }
    .filter-input, .filter-input.date-input {
        width: 100%;
    }
    .order-tabs {
        overflow-x: auto;
        white-space: nowrap;
    }
    .order-card-header,
    .order-card-body {
        flex-direction: column;
        gap: 12px;
    }
    .order-actions {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .detail-info-grid {
        grid-template-columns: 1fr;
    }
    .modal-container {
        width: 95%;
        max-height: 92vh;
    }
    .card-block {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (min-width: 769px) and (max-width: 1199px) {
    .container { width: 96%; }
    .order-card-body { flex-wrap: wrap; }
    .order-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* ========== 订单标签徽章 ========== */
.order-tab-count {
    display: inline-block;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    margin-left: 4px;
    line-height: 18px;
    text-align: center;
    background: #f0f2f5;
    color: #666;
    border-radius: 9px;
    font-size: 11px;
}
.order-tab.active .order-tab-count {
    background: #1285FF;
    color: #fff;
}

.order-pay-method {
    color: #1285FF;
    font-size: 12px;
}

.order-card-status-0 { border-left: 3px solid #fa8c16; }
.order-card-status-1 { border-left: 3px solid #1677ff; }
.order-card-status-2 { border-left: 3px solid #722ed1; }
.order-card-status-3 { border-left: 3px solid #52c41a; }
.order-card-status-4 { border-left: 3px solid #8c8c8c; }
.order-card-status-5 { border-left: 3px solid #ff4d4f; }

.order-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.product-spec {
    font-size: 12px;
    color: #999;
    background: #f5f7fa;
    padding: 2px 8px;
    border-radius: 3px;
    display: inline-block;
}

.product-meta .order-amount { color: #666; }
.product-meta .order-qty { color: #999; }
.product-meta .order-total { color: #ff4d4f; font-weight: 600; }

.btn-view {
    background: #fff;
    border-color: #d9d9d9;
}
.btn-view:hover {
    border-color: #1285FF;
    color: #1285FF;
    background: #e6f4ff;
}

.btn-cancel-sm {
    border-color: #ffccc7;
    color: #ff4d4f;
    background: #fff;
}
.btn-cancel-sm:hover {
    background: #fff1f0;
    border-color: #ff4d4f;
    color: #ff4d4f;
}

.btn-issue {
    background: #fa8c16;
    border-color: #fa8c16;
    color: #fff;
}
.btn-issue:hover {
    background: #d46b00;
    border-color: #d46b00;
    color: #fff;
}

.btn-aftersale {
    border-color: #52c41a;
    color: #52c41a;
}
.btn-aftersale:hover {
    background: #f6ffed;
    border-color: #52c41a;
    color: #52c41a;
}

/* 卡片底部扩展 */
.order-card-footer-refunded {
    background: #fff1f0;
    border-top: 1px solid #ffa39e;
    color: #ff4d4f;
}
.order-card-footer-cancelled {
    background: #f5f5f5;
    border-top: 1px solid #d9d9d9;
    color: #8c8c8c;
}

.card-keys-summary i { color: #fa8c16; margin-right: 6px; }
.order-card-footer-refunded .card-keys-summary i { color: #ff4d4f; }
.order-card-footer-cancelled .card-keys-summary i { color: #8c8c8c; }

/* 分页 */
.page-go {
    margin-left: 4px;
}

/* ========== 订单详情弹窗增强 ========== */
.modal-container {
    width: 900px;
    max-width: 92vw;
    max-height: 88vh;
}

.modal-header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.modal-btn-refresh {
    background: none;
    border: 1px solid transparent;
    color: #999;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s;
}
.modal-btn-refresh:hover {
    color: #1285FF;
    background: #e6f4ff;
}

.modal-loading {
    text-align: center;
    padding: 60px 0;
    color: #999;
    font-size: 14px;
}
.modal-loading i { font-size: 32px; margin-bottom: 12px; display: block; color: #1285FF; }

.modal-error {
    text-align: center;
    padding: 40px 0;
    color: #ff4d4f;
    font-size: 14px;
}
.modal-error i { font-size: 32px; margin-bottom: 12px; display: block; }

/* 状态横幅 */
.detail-status-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-left: 4px solid #1285FF;
    background: #f0f7ff;
    border-radius: 6px;
    margin-bottom: 20px;
}

.detail-status-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.detail-status-info { flex: 1; }

.detail-status-text {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}

.detail-status-desc {
    font-size: 13px;
    color: #666;
}
.detail-status-desc b { color: #ff4d4f; }

/* 数量徽章 */
.order-tab-count {
    background: #f0f2f5;
    color: #666;
}
.order-tab.active .order-tab-count {
    background: #1285FF;
    color: #fff;
}

/* 商品表格中的类型标签 */
.type-tag {
    display: inline-block;
    padding: 1px 6px;
    font-size: 11px;
    border-radius: 3px;
    margin-right: 4px;
    font-weight: 500;
}
.type-tag.virtual {
    background: #e6f4ff;
    color: #1285FF;
}
.type-tag.direct {
    background: #fff7e6;
    color: #fa8c16;
}

.detail-table td.amount {
    color: #ff4d4f;
    font-weight: 600;
}

/* 卡密列表 */
.card-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card-item {
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    padding: 14px 16px;
    background: #fafbfc;
}
.card-item.direct-charge {
    border-left: 4px solid #fa8c16;
    background: #fffaf0;
}

.card-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e8e8e8;
}

.card-item-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.card-item-type {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
}
.card-item-type.virtual {
    background: #e6f4ff;
    color: #1285FF;
}
.card-item-type.direct {
    background: #fff7e6;
    color: #fa8c16;
}

.card-block {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    padding: 10px 14px;
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-block:last-child { margin-bottom: 0; }

.card-line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.card-line-label {
    color: #999;
    min-width: 50px;
}

.card-line-value {
    color: #333;
    font-family: 'Courier New', monospace;
    font-weight: 500;
    letter-spacing: 0.5px;
    word-break: break-all;
}

.card-extra {
    margin-top: 6px;
    font-size: 12px;
    color: #8c8c8c;
}
.card-extra i { margin-right: 4px; color: #fa8c16; }

.card-charge-status {
    background: #fff;
    border: 1px solid #ffd591;
    border-radius: 4px;
    padding: 10px 14px;
    font-size: 13px;
    color: #389e0d;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}
.card-charge-status i { font-size: 16px; }

.card-time {
    color: #999;
    font-weight: normal;
    font-size: 12px;
}

.card-empty {
    text-align: center;
    padding: 12px;
    color: #999;
    font-size: 13px;
    background: #fff7e6;
    border-radius: 4px;
}

.card-pending-hint {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 13px;
    background: #f5f7fa;
    border-radius: 4px;
}
.card-pending-hint i { color: #1285FF; margin-right: 6px; }

/* 卡密安全提示与脱敏 */
.card-security-tip {
    background: #fffbe6;
    border: 1px dashed #ffd591;
    color: #614700;
    font-size: 12px;
    padding: 8px 12px;
    border-radius: 4px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.card-security-tip i { color: #fa8c16; }

.card-line-value.masked-value {
    font-family: 'Courier New', monospace;
    color: #fa8c16;
    letter-spacing: 1px;
}
.card-line-value.full-value {
    font-family: 'Courier New', monospace;
    color: #333;
    font-weight: 500;
    letter-spacing: 0.5px;
    word-break: break-all;
}

.btn-toggle-cards {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    margin-top: 8px;
    margin-bottom: 4px;
    font-size: 12px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background: #fff;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-toggle-cards:hover {
    border-color: #1285FF;
    color: #1285FF;
    background: #e6f4ff;
}

/* 操作时间线 */
.timeline {
    position: relative;
    padding-left: 4px;
}

.timeline-item {
    position: relative;
    padding: 8px 0 14px 24px;
    border-left: 2px solid #f0f0f0;
    margin-left: 8px;
}

.timeline-item:last-child {
    border-left: 2px solid transparent;
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -7px;
    top: 12px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #d9d9d9;
}
.timeline-dot.dot-create { background: #1285FF; }
.timeline-dot.dot-pay { background: #fa8c16; }
.timeline-dot.dot-process { background: #722ed1; }
.timeline-dot.dot-success { background: #52c41a; }
.timeline-dot.dot-cancel { background: #8c8c8c; }
.timeline-dot.dot-refund { background: #ff4d4f; }

.timeline-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 2px;
}

.timeline-time {
    font-size: 12px;
    color: #999;
}

/* ============================================================
   工单系统样式 (Ticket System)
   ============================================================ */

/* 卡片容器 */
.tk-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
}
.tk-card-header {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
}
.tk-card-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}
.tk-card-header h4 i {
    color: #1285FF;
}
.tk-card-body {
    padding: 20px;
}

/* 提示框 */
.tk-alert {
    padding: 12px 16px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}
.tk-alert-info {
    background: #e6f4ff;
    color: #1677ff;
    border: 1px solid #91caff;
}

/* 状态徽章 */
.tk-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}
.tk-status-badge i {
    font-size: 8px;
}
.tk-status-pending {
    background: #fff7e6;
    color: #fa8c16;
    border: 1px solid #ffd591;
}
.tk-status-pending i { color: #fa8c16; }
.tk-status-processing {
    background: #e6f4ff;
    color: #1677ff;
    border: 1px solid #91caff;
}
.tk-status-processing i { color: #1677ff; }
.tk-status-resolved {
    background: #f6ffed;
    color: #52c41a;
    border: 1px solid #b7eb8f;
}
.tk-status-resolved i { color: #52c41a; }
.tk-status-closed {
    background: #f5f5f5;
    color: #8c8c8c;
    border: 1px solid #d9d9d9;
}
.tk-status-closed i { color: #8c8c8c; }

/* 通用徽章 */
.tk-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
}
.tk-badge-primary {
    background: #e6f4ff;
    color: #1677ff;
}

/* 按钮 */
.tk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s;
    text-decoration: none;
}
.tk-btn-sm {
    padding: 5px 14px;
    font-size: 12px;
}
.tk-btn-lg {
    padding: 12px 28px;
    font-size: 15px;
}
.tk-btn-primary {
    background: #1285FF;
    color: #fff;
    border-color: #1285FF;
}
.tk-btn-primary:hover {
    background: #0e6fd9;
    border-color: #0e6fd9;
    color: #fff;
}
.tk-btn-ghost {
    background: #fff;
    color: #666;
    border-color: #d9d9d9;
}
.tk-btn-ghost:hover {
    border-color: #1285FF;
    color: #1285FF;
}

/* 表单操作区 */
.tk-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

/* 关联订单选择 */
.tk-order-select {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 12px;
    max-height: 360px;
    overflow-y: auto;
    background: #fafafa;
}
.tk-order-hint {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #eee;
    display: flex;
    align-items: center;
    gap: 6px;
}
.tk-order-item {
    display: block;
    cursor: pointer;
    padding: 10px 12px;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    margin-bottom: 8px;
    background: #fff;
    transition: all 0.2s;
    position: relative;
}
.tk-order-item:last-child { margin-bottom: 0; }
.tk-order-item:hover {
    border-color: #1285FF;
    background: #f0f7ff;
}
.tk-order-item.tk-order-active {
    border-color: #1285FF;
    background: #e6f4ff;
    box-shadow: 0 2px 8px rgba(18,133,255,0.15);
}
.tk-order-item input[type="radio"] {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
}
.tk-order-info { padding-right: 30px; }
.tk-order-no {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.tk-order-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}
.tk-order-meta {
    font-size: 12px;
    color: #999;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.tk-order-meta span {
    display: flex;
    align-items: center;
    gap: 3px;
}

/* 分类选择 */
.tk-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}
.tk-category-item {
    cursor: pointer;
    position: relative;
}
.tk-category-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.tk-category-content {
    padding: 16px 12px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    text-align: center;
    background: #fff;
    transition: all 0.2s;
    height: 100%;
}
.tk-category-item:hover .tk-category-content {
    border-color: #91caff;
    background: #f0f7ff;
}
.tk-category-item.tk-cat-active .tk-category-content {
    border-color: #1285FF;
    background: #e6f4ff;
    box-shadow: 0 2px 8px rgba(18,133,255,0.15);
}
.tk-category-content i {
    font-size: 28px;
    color: #1285FF;
    margin-bottom: 8px;
}
.tk-category-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}
.tk-category-desc {
    font-size: 11px;
    color: #999;
    line-height: 1.4;
}

/* 工单详情 - 信息区 */
.tk-info-box {
    background: linear-gradient(135deg, #e6f4ff 0%, #f0f7ff 100%);
    border: 1px solid #91caff;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.tk-info-label {
    font-size: 13px;
    color: #666;
}
.tk-info-value {
    font-size: 18px;
    font-weight: 700;
    color: #1285FF;
}

.tk-info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
.tk-info-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    vertical-align: top;
}
.tk-info-table tr:last-child td {
    border-bottom: none;
}
.tk-info-key {
    width: 100px;
    color: #888;
    white-space: nowrap;
}
.tk-info-table code {
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: #1285FF;
}

/* 工单列表 */
.tk-ticket-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.tk-ticket-item {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 16px 20px;
    transition: all 0.2s;
    background: #fff;
}
.tk-ticket-item:hover {
    border-color: #91caff;
    box-shadow: 0 2px 12px rgba(18,133,255,0.08);
}
.tk-ticket-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.tk-ticket-title a {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}
.tk-ticket-title a:hover {
    color: #1285FF;
}
.tk-ticket-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}
.tk-ticket-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}
.tk-ticket-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}
.tk-ticket-action {
    text-align: right;
}

/* 时间线 */
.tk-timeline-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}
.tk-timeline-section h5 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.tk-timeline-section h5 i { color: #1285FF; }

.tk-timeline {
    position: relative;
    padding-left: 20px;
}
.tk-timeline-item {
    position: relative;
    padding-bottom: 20px;
}
.tk-timeline-item:last-child { padding-bottom: 0; }
.tk-timeline-dot {
    position: absolute;
    left: -20px;
    top: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d9d9d9;
    z-index: 1;
}
.tk-timeline-dot.tk-dot-last {
    background: #52c41a;
    box-shadow: 0 0 0 3px rgba(82,196,26,0.2);
}
.tk-timeline-line {
    position: absolute;
    left: -16px;
    top: 14px;
    width: 2px;
    height: calc(100% - 10px);
    background: #f0f0f0;
}
.tk-timeline-content {
    padding-left: 8px;
}
.tk-timeline-time {
    font-size: 12px;
    color: #999;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.tk-timeline-action {
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
}
.tk-timeline-remark {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

/* 回复区 */
.tk-reply-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}
.tk-reply-section h5 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.tk-reply-section h5 i { color: #1285FF; }

/* 空状态 */
.tk-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}
.tk-empty i {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.5;
}
.tk-empty p {
    margin: 0 0 16px 0;
    font-size: 14px;
}

/* 分页 */
.tk-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 24px;
    flex-wrap: wrap;
}
.tk-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 10px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 13px;
    color: #666;
    text-decoration: none;
    transition: all 0.2s;
    background: #fff;
}
.tk-page-btn:hover {
    border-color: #1285FF;
    color: #1285FF;
}
.tk-page-btn.tk-page-active {
    background: #1285FF;
    border-color: #1285FF;
    color: #fff;
}
.tk-page-ellipsis {
    padding: 0 4px;
    color: #999;
}

/* 响应式 */
@media (max-width: 768px) {
    .tk-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tk-card-body {
        padding: 12px;
    }
    .tk-info-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .tk-ticket-meta {
        gap: 10px;
    }
    .tk-form-actions {
        flex-direction: column;
    }
    .tk-btn {
        width: 100%;
    }
}

/* 备注 */
.detail-remark.operator-remark {
    background: #fffbe6;
    border-left: 3px solid #faad14;
    color: #614700;
}

.breadcrumb-area {
    margin-bottom: 15px;
}
.breadcrumb-area .breadcrumb {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    color: #999;
}
.breadcrumb-area .breadcrumb li {
    margin-right: 8px;
}
.breadcrumb-area .breadcrumb li + li::before {
    content: '/';
    margin-right: 8px;
    color: #ccc;
}
.breadcrumb-area .breadcrumb a {
    color: #666;
}
.breadcrumb-area .breadcrumb a:hover {
    color: #1285FF;
}
.breadcrumb-area .breadcrumb .active {
    color: #333;
    font-weight: 500;
}


/* ========== 文字颜色 ========== */
.text-warning { color: #ff9800; }
.text-success { color: #4caf50; }
.text-info { color: #1285FF; }
.text-muted { color: #999; }
.text-danger { color: #f44336; }

/* ========== 登录注册页面 ========== */
.auth-page {
    padding: 40px 0;
    min-height: 500px;
    background: #fff;
}

.auth-container {
    max-width: 420px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.auth-header {
    padding: 30px 30px 20px;
    text-align: center;
    border-bottom: 1px solid #f5f5f5;
    background: linear-gradient(135deg, #f0f7ff 0%, #fff 100%);
}

.auth-header h2 {
    font-size: 24px;
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
}

.auth-header p {
    font-size: 13px;
    color: #999;
}

.auth-body {
    padding: 30px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.form-group .required {
    color: #f44336;
}

.form-group.has-icon {
    position: relative;
}

.form-icon {
    position: absolute;
    left: 12px;
    bottom: 12px;
    color: #bbb;
    font-size: 16px;
    pointer-events: none;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group textarea {
    width: 100%;
    padding: 10px 12px 10px 38px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}

.form-group input:not([class*="form-icon"]) {
    padding-left: 12px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1285FF;
    box-shadow: 0 0 0 3px rgba(18, 133, 255, 0.1);
}

.form-group textarea {
    padding: 10px 12px;
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    cursor: pointer;
}

.forgot-password {
    color: #1285FF;
}

.auth-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #1285FF 0%, #4f9aff 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 5px;
}

.auth-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(18, 133, 255, 0.3);
}

.auth-btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
}

.auth-link {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f5f5f5;
}

.auth-link p {
    font-size: 13px;
    color: #999;
}

.auth-link a {
    color: #1285FF;
    font-weight: 500;
}

/* ========== 售后工单页面 ========== */
.ticket-page,
.aftersale-page {
    padding: 20px 0;
}

.aftersale-form {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 25px 30px;
}

.aftersale-section {
    margin-bottom: 25px;
}

.aftersale-section h4 {
    font-size: 16px;
    color: #333;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 18px;
}

.aftersale-section h4 i {
    color: #1285FF;
}

.aftersale-btn {
    display: inline-block;
    padding: 10px 30px;
    background: #1285FF;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
    text-align: center;
}

.aftersale-btn:hover {
    background: #0e6cd6;
    color: #fff;
}

.aftersale-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.ticket-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ticket-item {
    background: #fafbfc;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 18px 20px;
    transition: all 0.2s;
}

.ticket-item:hover {
    border-color: #1285FF;
    box-shadow: 0 4px 12px rgba(18, 133, 255, 0.08);
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.ticket-title a {
    font-size: 15px;
    color: #333;
    font-weight: 500;
}

.ticket-title a:hover {
    color: #1285FF;
}

.ticket-status {
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 500;
}

.ticket-status.open {
    background: #fff7e6;
    color: #fa8c16;
}

.ticket-status.processing {
    background: #e6f7ff;
    color: #1285FF;
}

.ticket-status.closed {
    background: #f6ffed;
    color: #52c41a;
}

.ticket-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.ticket-content {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ticket-action {
    text-align: right;
}

.ticket-btn {
    display: inline-block;
    padding: 6px 18px;
    background: #fff;
    color: #1285FF;
    border: 1px solid #1285FF;
    border-radius: 4px;
    font-size: 13px;
    transition: all 0.2s;
}

.ticket-btn:hover {
    background: #1285FF;
    color: #fff;
}

/* ========== 支付信息通用样式 ========== */
.pay-info {
    background: #fafbfc;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 20px;
}

.pay-info-row {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.pay-info-row:last-child {
    border-bottom: none;
}

.row-label {
    width: 120px;
    font-size: 13px;
    color: #999;
    flex-shrink: 0;
}

.row-value {
    flex: 1;
    font-size: 14px;
    color: #333;
}

.order-btn {
    display: inline-block;
    padding: 8px 20px;
    background: #fff;
    color: #1285FF;
    border: 1px solid #1285FF;
    border-radius: 4px;
    font-size: 13px;
    margin-top: 15px;
    transition: all 0.2s;
}

.order-btn:hover {
    background: #1285FF;
    color: #fff;
}

/* ========== 售后申请页面 ========== */
.aftersale-product {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #fafbfc;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    margin-bottom: 10px;
}

.aftersale-product-image {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.aftersale-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aftersale-product-info {
    flex: 1;
}

.aftersale-product-info h5 {
    font-size: 14px;
    color: #333;
    margin-bottom: 6px;
    font-weight: 500;
}

.aftersale-product-info p {
    font-size: 13px;
    color: #ff6b6b;
}

.aftersale-type-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.aftersale-type-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #fafbfc;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    color: #666;
}

.aftersale-type-item:hover {
    border-color: #1285FF;
    color: #1285FF;
}

.aftersale-type-item.selected {
    background: #f0f5ff;
    border-color: #1285FF;
    color: #1285FF;
}

.aftersale-type-item input[type="radio"] {
    cursor: pointer;
}

.aftersale-reason {
    min-height: 120px;
}

.price-symbol {
    color: #ff6b6b;
    font-weight: bold;
}

/* ========== 响应式设计 ========== */
@media (max-width: 1200px) {
    .container,
    .top-bar-group,
    .glmall-new-header,
    .full-container2 {
        width: 100%;
        padding: 0 15px;
    }
    
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .el-col-5 {
        width: 25%;
    }
    
    .el-col-14 {
        width: 50%;
    }
}

@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .guarantee-grid {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .guarantee-item {
        width: 48%;
        justify-content: center;
    }
    
    .footer-content {
        flex-wrap: wrap;
    }
    
    .footer-section {
        width: 48%;
        margin-bottom: 20px;
    }
    
    .el-col-5,
    .el-col-14 {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .carousel-container {
        height: 280px;
    }
    
    .category-box {
        height: auto;
    }
    
    .user-box-wrap {
        height: auto;
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .glmall-new-header {
        flex-direction: column;
        height: auto;
        padding: 15px;
        gap: 15px;
    }
    
    .glmall-new-header-menu {
        margin-left: 0;
    }
    
    .glmall-new-header-menu ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .new-search-wrap {
        margin-left: 0;
        width: 100%;
    }
    
    .search input {
        width: 100%;
    }
    
    .top-bar {
        flex-direction: column;
        height: auto;
        padding: 10px 0;
        gap: 10px;
    }
    
    .guarantee-item {
        width: 100%;
    }
    
    .footer-section {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .carousel-container {
        height: 200px;
    }
}