   /* 订单状态筛选样式 */
   .order-tabs {
    background: #fff;

    position: sticky;
    top: 0;
    z-index: 100;
}
.order-tabs .nav-tabs {
    border: none;
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding: 10px;
}
.order-tabs .nav-tabs::-webkit-scrollbar {
    display: none;
}
.order-tabs .nav-link {
    color: #666;
    border: none;
    padding: 12px;
    font-size: 14px;
    position: relative;
    min-width: max-content;
}
.order-tabs .nav-link:hover {
    color: #fff;
    border-radius: 5px;;
}

.order-tabs .nav-link.active {
    color: var(--theme-color);
    font-weight: 500;
}
.order-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--theme-color);
}

/* 订单列表样式 */
.order-list {
    margin-top: 10px;
}
.order-item {
    background: #fff;
    margin-bottom: 10px;
}
.order-header {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    border-bottom: 1px solid #f5f5f5;
}
.order-no {
    color: #666;
    font-size: 22px;
}
.order-status {
    color: #ff4d4f;
    font-size: 22px;
}
@media (max-width: 768px) {
    .order-no {
        color: #666;
        font-size: 16px;
    } 
    .order-status {
        color: #ff4d4f;
        font-size: 16px;
    }
}

.order-content {
    padding: 15px;
}
.product-info {
    display: flex;
    align-items: center;
    padding: 10px;
}
.product-img {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    margin-right: 10px;
}
.product-detail {
    flex: 1;
}
.product-name {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-price {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.price {
    color: #ff4d4f;
    font-size: 15px;
    font-weight: 500;
}
.quantity {
    color: #999;
    font-size: 13px;
}
.order-footer {
    padding: 10px 15px;
    border-top: 1px solid #f5f5f5;
}
.order-total {
    text-align: right;
    color: #666;
    font-size: 13px;
    margin-bottom: 10px;
}
.total-price {
    color: #ff4d4f;
    font-size: 30px;
    font-weight: 500;
}
.order-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}
.order-actions .btn {
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 4px;
}

/* 空订单样式 */
.empty-order {
    text-align: center;
    padding: 40px 0;
    background: #fff;
    margin-top: 10px;
}
.empty-order i {
    font-size: 40px;
    color: #ccc;
    margin-bottom: 10px;
}
.empty-order p {
    color: #999;
    font-size: 14px;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .main-content {
        padding: 0 !important;
    }
    h2 {
        padding: 15px;
        margin: 0;
        background: #fff;
        font-size: 16px;
    }
    .order-item {
        margin-bottom: 8px;
    }
    .product-img {
        width: 70px;
        height: 70px;
    }
    .order-actions .btn {
        padding: 3px 10px;
    }
}