/* ============================================
   前端用户端网站 - 全局样式（华为风格）
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color .3s; }
a:hover { color: #c7000b; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

/* ---------- 品牌色 ---------- */
:root {
    --primary: #c7000b;       /* 华为红 */
    --primary-dark: #a00008;
    --primary-light: #e8303a;
    --text-dark: #1a1a1a;
    --text-body: #333;
    --text-light: #666;
    --text-muted: #999;
    --bg-white: #fff;
    --bg-light: #f5f5f5;
    --bg-gray: #e8e8e8;
    --border: #ddd;
    --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,.16);
    --radius: 4px;
    --radius-lg: 8px;
    --transition: .3s ease;
    --header-height: 90px;
    --container-width: 1200px;
}

/* ---------- Container ---------- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   HEADER - 固定顶部导航栏
   ============================================ */
.front-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 1000;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.front-header.scrolled {
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.front-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo */
.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.header-logo img {
    width: 270px;
    height: 105px;
    object-fit: contain;
}
.header-logo .logo-text {
    font-size: 33px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 1px;
}
.header-logo .logo-text span {
    color: var(--primary);
}

/* Nav */
.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}
.header-nav a {
    font-size: 15px;
    color: var(--text-body);
    font-weight: 500;
    position: relative;
    padding: 4px 0;
    transition: color var(--transition);
}
.header-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition), left var(--transition);
}
.header-nav a:hover,
.header-nav a.active {
    color: var(--primary);
}
.header-nav a:hover::after,
.header-nav a.active::after {
    width: 100%;
    left: 0;
}

/* Auth buttons */
.header-auth {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.btn-login {
    font-size: 14px;
    color: var(--text-body);
    padding: 6px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
}
.btn-login:hover {
    color: var(--primary);
    border-color: var(--primary);
}
.btn-register {
    font-size: 14px;
    color: #fff;
    background: var(--primary);
    padding: 6px 20px;
    border-radius: var(--radius);
    transition: background var(--transition);
}
.btn-register:hover {
    background: var(--primary-dark);
}
.btn-user {
    font-size: 14px;
    color: var(--primary);
    padding: 6px 16px;
    font-weight: 500;
    transition: color var(--transition);
}
.btn-user:hover {
    color: var(--primary-dark);
}
.member-no-badge {
    display: inline-block;
    font-size: 11px;
    background: var(--primary);
    color: #fff;
    padding: 1px 8px;
    border-radius: 10px;
    margin-right: 6px;
    vertical-align: middle;
    font-weight: 600;
}
.btn-logout {
    font-size: 14px;
    color: var(--text-light);
    padding: 6px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
}
.btn-logout:hover {
    color: var(--primary);
    border-color: var(--primary);
}

/* Mobile menu toggle */
.header-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}
.header-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-dark);
    transition: transform var(--transition), opacity var(--transition);
}

/* ============================================
   BANNER / 轮播图
   ============================================ */
.banner-section {
    margin-top: var(--header-height);
    position: relative;
    overflow: hidden;
    height: 520px;
}
.banner-slider {
    position: relative;
    height: 100%;
}
.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity .8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.banner-slide.active {
    opacity: 1;
    z-index: 1;
}
.banner-slide .slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: #222;
}
.banner-slide .slide-bg::after {
    content: '';
    position: absolute;
    inset: 0;
}
.banner-slide .slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 700px;
    padding: 0 40px;
}
.banner-slide .slide-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: 2px;
}
.banner-slide .slide-desc {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 32px;
    opacity: .9;
}
.banner-slide .slide-btn {
    display: inline-block;
    padding: 12px 36px;
    background: var(--primary);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    border-radius: var(--radius);
    transition: background var(--transition), transform var(--transition);
}
.banner-slide .slide-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Banner indicators */
.banner-indicators {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 10px;
}
.banner-indicators .dot {
    width: 32px;
    height: 3px;
    background: rgba(255,255,255,.5);
    border-radius: 2px;
    cursor: pointer;
    transition: background var(--transition), width var(--transition);
}
.banner-indicators .dot.active {
    background: #fff;
    width: 48px;
}

/* Banner arrows */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition);
    color: #fff;
    font-size: 20px;
}
.banner-arrow:hover {
    background: rgba(255,255,255,.3);
}
.banner-arrow.prev { left: 24px; }
.banner-arrow.next { right: 24px; }

/* ============================================
   SECTION 通用
   ============================================ */
.front-section {
    padding: 80px 0;
}
.front-section:nth-child(even) {
    background: var(--bg-light);
}
.section-header {
    text-align: center;
    margin-bottom: 48px;
}
.section-header .section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    letter-spacing: 1px;
}
.section-header .section-subtitle {
    font-size: 16px;
    color: var(--text-light);
}
.section-header .section-divider {
    width: 48px;
    height: 3px;
    background: var(--primary);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ============================================
   服务项目 - 5列网格
   ============================================ */
.service-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}
.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px 20px;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
    cursor: pointer;
    border: 1px solid var(--border);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.service-card .service-image {
    width: 170px;
    height: 120px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F7FAFC;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #E2E8F0;
}
.service-card .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.service-card .service-image svg {
    width: 36px;
    height: 36px;
    opacity: .6;
}
.service-card .service-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.service-card .service-desc {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
}

/* ============================================
   新闻资讯
   ============================================ */
.news-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.news-featured {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #222;
    min-height: 360px;
    cursor: pointer;
    transition: transform var(--transition);
}
.news-featured:hover {
    transform: scale(1.02);
}
.news-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-featured .news-featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0,0,0,.7));
    color: #fff;
}
.news-featured .news-featured-overlay h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}
.news-featured .news-featured-overlay p {
    font-size: 14px;
    opacity: .8;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.news-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition);
    cursor: pointer;
}
.news-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: transparent;
}
.news-item .news-thumb {
    width: 120px;
    height: 80px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
}
.news-item .news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-item .news-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.news-item .news-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-item .news-info .news-date {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.news-item .news-info .news-summary {
    font-size: 13px;
    color: var(--text-light);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   FOOTER - 页尾
   ============================================ */
.front-footer {
    background: #1a1a1a;
    color: #ccc;
}
.footer-links-section {
    padding: 48px 0 32px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}
.footer-about .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.footer-about .footer-logo img {
    height: 32px;
}
.footer-about .footer-logo-text {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}
.footer-about .footer-logo-text span {
    color: var(--primary);
}
.footer-about p {
    font-size: 14px;
    line-height: 1.7;
    color: #999;
}
.footer-col h5 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a {
    font-size: 14px;
    color: #999;
    transition: color var(--transition);
}
.footer-col ul li a:hover {
    color: var(--primary-light);
}

/* 友情链接 */
.friend-links-section {
    padding: 24px 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.friend-links-title {
    font-size: 14px;
    color: #999;
    margin-bottom: 12px;
}
.friend-links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.friend-links-list a {
    font-size: 14px;
    color: #999;
    transition: color var(--transition);
}
.friend-links-list a:hover {
    color: var(--primary-light);
}

/* 版权信息 */
.footer-copyright {
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: #666;
    line-height: 1.8;
}
.footer-copyright a {
    color: #999;
    transition: color var(--transition);
}
.footer-copyright a:hover {
    color: var(--primary-light);
}

/* ============================================
   LIST PAGE - 文章列表页
   ============================================ */
.list-page {
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height));
}
.list-hero {
    padding: 60px 0;
    text-align: center;
    color: var(--text-dark);
}
.list-hero h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}
.list-hero p {
    font-size: 16px;
    opacity: .8;
}
.list-content {
    padding: 48px 0;
}
.list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.list-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition);
    cursor: pointer;
}
.list-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.list-card .card-thumb {
    height: 200px;
    overflow: hidden;
    background: var(--bg-gray);
}
.list-card .card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}
.list-card:hover .card-thumb img {
    transform: scale(1.05);
}
.list-card .card-body {
    padding: 20px;
}
.list-card .card-body h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.list-card .card-body .card-date {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.list-card .card-body .card-summary {
    font-size: 14px;
    color: var(--text-light);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}
.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--text-body);
    transition: all var(--transition);
}
.pagination a:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.pagination .active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ============================================
   ARTICLE PAGE - 文章详情页
   ============================================ */
.article-page {
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height));
}
.article-hero {
    background: none;
    padding: 20px 0 10px;
    text-align: left;
    color: var(--text-dark);
}
.article-hero h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}
.article-hero .article-meta {
    font-size: 14px;
    opacity: .7;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
}
.article-content {
    padding: 48px 0;
}
.article-detail-inner {
    max-width: 800px;
    margin: 0 auto;
}
.article-body {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-body);
}
.article-body h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 32px 0 16px;
}
.article-body h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 24px 0 12px;
}
.article-body p {
    margin-bottom: 16px;
}
.article-body img {
    border-radius: var(--radius-lg);
    margin: 24px auto;
}
.article-body ul, .article-body ol {
    margin: 16px 0;
    padding-left: 24px;
}
.article-body li {
    margin-bottom: 8px;
}

/* Breadcrumb */
.breadcrumb {
    padding: 16px 0;
    font-size: 14px;
    color: var(--text-muted);
}
.breadcrumb a {
    color: var(--text-light);
}
.breadcrumb a:hover {
    color: var(--primary);
}
.breadcrumb .sep {
    margin: 0 8px;
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 999;
    padding: 24px;
    overflow-y: auto;
}
.mobile-menu.open {
    display: block;
}
.mobile-menu .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.mobile-menu .mobile-nav a {
    display: block;
    padding: 16px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-body);
    border-bottom: 1px solid var(--border);
}
.mobile-menu .mobile-nav a:hover,
.mobile-menu .mobile-nav a.active {
    color: var(--primary);
}
.mobile-menu .mobile-auth {
    margin-top: 24px;
    display: flex;
    gap: 12px;
}
.mobile-menu .mobile-auth .btn-login {
    flex: 1;
    text-align: center;
    padding: 12px;
}
.mobile-menu .mobile-auth .btn-register {
    flex: 1;
    text-align: center;
    padding: 12px;
}

/* ============================================
   RESPONSIVE - 响应式
   ============================================ */
@media (max-width: 1200px) {
    .sl-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .service-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sl-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sd-header-inner {
        flex-direction: column;
        gap: 24px;
    }
    .sd-header-image {
        width: 100%;
        max-width: 340px;
        height: 240px;
    }
    .sd-body-layout {
        flex-direction: column;
    }
    .sd-sidebar {
        width: 100%;
        position: static;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }
    .header-nav,
    .header-auth {
        display: none;
    }
    .header-toggle {
        display: flex;
    }
    .banner-section {
        height: 320px;
    }
    .banner-slide .slide-title {
        font-size: 26px;
    }
    .banner-slide .slide-desc {
        font-size: 14px;
    }
    .banner-arrow {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    .front-section {
        padding: 48px 0;
    }
    .section-header .section-title {
        font-size: 24px;
    }
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .service-card {
        padding: 24px 16px;
    }
    .service-card .service-image {
        width: 100%;
        height: 100px;
    }
    .news-layout {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .list-grid {
        grid-template-columns: 1fr;
    }
    .list-hero h1 {
        font-size: 28px;
    }
    .article-hero h1 {
        font-size: 24px;
    }

    /* Service list page */
    .sl-hero {
        padding: 48px 0 40px;
    }
    .sl-hero-title {
        font-size: 28px;
    }
    .sl-hero-subtitle {
        font-size: 15px;
    }
    .sl-content {
        padding: 32px 0 48px;
    }
    .sl-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .sl-card {
        padding: 24px 16px 20px;
    }
    .sl-card-image {
        width: 100%;
        height: 100px;
        margin-bottom: 14px;
    }
    .sl-card-image svg {
        width: 26px;
        height: 26px;
    }
    .sl-card-title {
        font-size: 15px;
    }

    /* Service detail page */
    .sd-header {
        padding: 24px 0;
    }
    .sd-header-image {
        height: 200px;
        max-width: 100%;
    }
    .sd-title {
        font-size: 22px;
    }
    .sd-body {
        padding: 24px 0 48px;
    }
    .sd-section {
        padding: 20px;
    }
    .sd-section-title {
        font-size: 16px;
    }
    .sd-process {
        padding-left: 24px;
    }
    .sd-process-step {
        padding-left: 32px;
    }
    .sd-step-num {
        left: -24px;
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    .banner-section {
        height: 260px;
    }
    .banner-slide .slide-title {
        font-size: 22px;
    }
    .banner-slide .slide-btn {
        padding: 10px 24px;
        font-size: 14px;
    }
    .news-item .news-thumb {
        width: 80px;
        height: 60px;
    }
}

/* ============================================
   UTILITY
   ============================================ */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.btn-primary {
    display: inline-block;
    padding: 10px 28px;
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius);
    transition: background var(--transition);
}
.btn-primary:hover {
    background: var(--primary-dark);
}
.btn-outline {
    display: inline-block;
    padding: 10px 28px;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius);
    transition: all var(--transition);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

/* ============================================
   SERVICE LIST PAGE - 服务项目列表页
   ============================================ */
.service-list-page {
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height));
}

/* Hero */
.sl-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 72px 0 64px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.sl-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(199,0,11,.12) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(15,52,96,.4) 0%, transparent 50%);
    pointer-events: none;
}
.sl-hero-title {
    font-size: 38px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
    position: relative;
}
.sl-hero-subtitle {
    font-size: 17px;
    opacity: .85;
    margin-bottom: 20px;
    position: relative;
}
.sl-hero-divider {
    width: 48px;
    height: 3px;
    background: var(--primary-light);
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
}

/* Grid */
.sl-content {
    padding: 56px 0 72px;
    background: var(--bg-light);
}
.sl-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Card */
.sl-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 24px 28px;
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.sl-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary));
    opacity: 0;
    transition: opacity var(--transition);
}
.sl-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.sl-card:hover::before {
    opacity: 1;
}

.sl-card-image {
    width: 170px;
    height: 120px;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F7FAFC;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #E2E8F0;
    flex-shrink: 0;
}
.sl-card:hover .sl-card-image {
    box-shadow: 0 8px 24px rgba(199,0,11,.12);
}
.sl-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sl-card-image svg {
    width: 36px;
    height: 36px;
    opacity: .6;
}

.sl-card-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}
.sl-card-desc {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.sl-card-link {
    font-size: 14px;
    color: var(--primary);
    font-weight: 500;
    transition: letter-spacing var(--transition);
}
.sl-card:hover .sl-card-link {
    letter-spacing: 1px;
}

/* Empty state */
.sl-empty {
    text-align: center;
    padding: 80px 24px;
    color: var(--text-muted);
}
.sl-empty p {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 6px;
}
.sl-empty span {
    font-size: 14px;
}

/* ============================================
   SERVICE DETAIL PAGE - 服务项目详情页
   ============================================ */
.service-detail-page {
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height));
    background: var(--bg-light);
}

/* Breadcrumb */
.sd-breadcrumb {
    padding: 16px 0;
    font-size: 14px;
    color: var(--text-muted);
    background: #fff;
    border-bottom: 1px solid var(--border);
}
.sd-breadcrumb a {
    color: var(--text-light);
    transition: color var(--transition);
}
.sd-breadcrumb a:hover {
    color: var(--primary);
}
.sd-breadcrumb .sep {
    margin: 0 8px;
    color: var(--border);
}
.sd-breadcrumb .current {
    color: var(--text-dark);
    font-weight: 500;
}

/* Header */
.sd-header {
    background: #fff;
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}
.sd-header-inner {
    display: flex;
    gap: 40px;
    align-items: center;
}
.sd-header-image {
    width: 340px;
    height: 240px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-light);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sd-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sd-header-icon-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff5f5, #ffe0e0);
    color: var(--primary);
}
.sd-header-icon-placeholder svg {
    width: 72px;
    height: 72px;
}
.sd-header-info {
    flex: 1;
    min-width: 0;
}
.sd-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}
.sd-desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}
.sd-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.sd-tag {
    display: inline-block;
    padding: 4px 14px;
    font-size: 12px;
    color: var(--primary);
    background: #fff5f5;
    border: 1px solid rgba(199,0,11,.15);
    border-radius: 20px;
    font-weight: 500;
}
.sd-btn-booking {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 36px;
    background: var(--primary);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius);
    transition: background var(--transition), transform var(--transition);
    gap: 8px;
}
.sd-btn-booking:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    color: #fff;
}

/* Body layout */
.sd-body {
    padding: 40px 0 64px;
}
.sd-body-layout {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}
.sd-main {
    flex: 1;
    min-width: 0;
}

/* Section */
.sd-section {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 24px;
    border: 1px solid var(--border);
}
.sd-section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--bg-light);
    display: flex;
    align-items: center;
    gap: 8px;
}
.sd-section-title svg {
    color: var(--primary);
    flex-shrink: 0;
}

/* UEditor content */
.sd-ueditor-content {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-body);
}
.sd-ueditor-content h2,
.sd-ueditor-content h3,
.sd-ueditor-content h4 {
    color: var(--text-dark);
    margin: 24px 0 12px;
    font-weight: 600;
}
.sd-ueditor-content h2 { font-size: 22px; }
.sd-ueditor-content h3 { font-size: 18px; }
.sd-ueditor-content p {
    margin-bottom: 14px;
}
.sd-ueditor-content img {
    max-width: 100%;
    border-radius: var(--radius);
    margin: 16px auto;
    display: block;
}
.sd-ueditor-content ul,
.sd-ueditor-content ol {
    padding-left: 20px;
    margin: 12px 0;
}
.sd-ueditor-content li {
    margin-bottom: 6px;
}
.sd-ueditor-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}
.sd-ueditor-content table th,
.sd-ueditor-content table td {
    border: 1px solid var(--border);
    padding: 8px 12px;
    text-align: left;
}
.sd-ueditor-content table th {
    background: var(--bg-light);
    font-weight: 600;
}

/* Features */
.sd-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.sd-feature-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 20px;
    background: var(--bg-light);
    border-radius: var(--radius);
    border-left: 3px solid var(--primary);
    transition: transform var(--transition), box-shadow var(--transition);
}
.sd-feature-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}
.sd-feature-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.sd-feature-text {
    flex: 1;
    min-width: 0;
}
.sd-feature-text strong {
    display: block;
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 2px;
}
.sd-feature-text span {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

/* Process */
.sd-process {
    position: relative;
    padding-left: 32px;
}
.sd-process::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-light), var(--border));
    border-radius: 1px;
}
.sd-process-step {
    position: relative;
    padding-bottom: 28px;
    padding-left: 40px;
}
.sd-process-step:last-child {
    padding-bottom: 0;
}
.sd-step-num {
    position: absolute;
    left: -32px;
    top: 2px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(199,0,11,.25);
}
.sd-step-content {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 16px 20px;
    border: 1px solid var(--border);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.sd-step-content:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}
.sd-step-content h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}
.sd-step-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Sidebar */
.sd-sidebar {
    width: 320px;
    flex-shrink: 0;
    position: sticky;
    top: calc(var(--header-height) + 40px);
}
.sd-widget {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border);
    margin-bottom: 24px;
}
.sd-widget h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bg-light);
}

/* Booking widget */
.sd-widget-booking p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 18px;
}
.sd-btn-primary {
    display: block;
    text-align: center;
    padding: 12px 0;
    background: var(--primary);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius);
    transition: background var(--transition);
}
.sd-btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
}

/* Related goods */
.sd-related-goods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.sd-related-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px;
    background: var(--bg-light);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all var(--transition);
    cursor: pointer;
}
.sd-related-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}
.sd-related-cover {
    width: 64px;
    height: 64px;
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sd-related-cover img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.sd-related-info {
    flex: 1;
    min-width: 0;
}
.sd-related-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}
.sd-related-price {
    display: flex;
    align-items: center;
    gap: 8px;
}
.sd-related-price .price-now {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
}
.sd-related-price .price-old {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* ============================================
   PROFILE PAGE - 个人中心（侧边栏 + 选项卡）
   ============================================ */
.profile-page {
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height));
    background: var(--bg-light);
    padding: 40px 24px;
}
.profile-layout {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 24px;
    align-items: flex-start;
}

/* ---- 侧边栏 ---- */
.profile-sidebar {
    width: 220px;
    flex-shrink: 0;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: calc(var(--header-height) + 40px);
    overflow: hidden;
}
.sidebar-user {
    padding: 24px 20px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}
.sidebar-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--bg-light);
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.sidebar-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sidebar-avatar svg {
    width: 32px;
    height: 32px;
    opacity: .6;
}
.sidebar-user-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}
.sidebar-user-no {
    font-size: 12px;
    color: var(--text-muted);
}
.sidebar-nav {
    padding: 8px 0;
}
.sidebar-nav-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    font-size: 14px;
    color: var(--text-body);
    cursor: pointer;
    transition: all var(--transition);
    border-left: 3px solid transparent;
    user-select: none;
}
.sidebar-nav-item:hover {
    background: var(--bg-light);
    color: var(--primary);
}
.sidebar-nav-item.active {
    background: #fff5f5;
    color: var(--primary);
    border-left-color: var(--primary);
    font-weight: 500;
}
.sidebar-nav-item svg {
    margin-right: 8px;
    flex-shrink: 0;
}

/* ---- 右侧内容区 ---- */
.profile-content {
    flex: 1;
    min-width: 0;
}
.profile-tab {
    display: none;
}
.profile-tab.active {
    display: block;
}

/* ---- 头部信息卡 ---- */
.profile-container {
    max-width: 800px;
    margin: 0 auto;
}
.profile-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    border-radius: var(--radius-lg);
    padding: 32px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}
.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    flex-shrink: 0;
}
.profile-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.profile-avatar svg {
    width: 40px;
    height: 40px;
    opacity: .9;
}
.profile-info h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}
.profile-info .member-no {
    font-size: 14px;
    opacity: .85;
    background: rgba(255,255,255,.15);
    display: inline-block;
    padding: 2px 12px;
    border-radius: 12px;
}
.profile-info .member-since {
    font-size: 13px;
    opacity: .7;
    margin-top: 6px;
}

/* ---- 通用卡片 ---- */
.profile-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    overflow: hidden;
}
.profile-card-header {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.profile-card-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}
.profile-card-body {
    padding: 24px;
}
.profile-form-group {
    display: grid;
    grid-template-columns: 100px 1fr;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
.profile-form-group label {
    font-size: 14px;
    color: var(--text-light);
    text-align: right;
}
.profile-form-group .readonly-value {
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 500;
}
.profile-form-group .readonly-value.tag {
    background: var(--bg-light);
    padding: 4px 12px;
    border-radius: var(--radius);
    display: inline-block;
    font-size: 13px;
    color: var(--text-muted);
}
.profile-form-group input,
.profile-form-group select {
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--text-dark);
    outline: none;
    transition: border-color var(--transition);
    width: 100%;
    max-width: 320px;
}
.profile-form-group input:focus,
.profile-form-group select:focus {
    border-color: var(--primary);
}
.profile-form-group input[readonly] {
    background: var(--bg-light);
    color: var(--text-muted);
    cursor: not-allowed;
}
.profile-actions {
    padding-top: 8px;
    display: flex;
    gap: 12px;
}
.btn-save {
    padding: 8px 28px;
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background var(--transition);
}
.btn-save:hover { background: var(--primary-dark); }
.btn-save:disabled { background: var(--bg-gray); cursor: not-allowed; }
.btn-cancel {
    padding: 8px 28px;
    background: #fff;
    color: var(--text-body);
    font-size: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
}
.btn-cancel:hover { border-color: var(--primary); color: var(--primary); }

/* ---- 修改密码表单 ---- */
.pwd-form-group {
    display: grid;
    grid-template-columns: 100px 1fr;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
.pwd-form-group label {
    font-size: 14px;
    color: var(--text-light);
    text-align: right;
}
.pwd-form-group input {
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--text-dark);
    outline: none;
    transition: border-color var(--transition);
    width: 100%;
    max-width: 320px;
}
.pwd-form-group input:focus {
    border-color: var(--primary);
}

/* ---- 消息提示 ---- */
.profile-msg {
    padding: 10px 14px;
    border-radius: var(--radius);
    font-size: 14px;
    margin-bottom: 16px;
    display: none;
}
.profile-msg.success {
    background: #f1f8e9;
    border: 1px solid #c8e6c9;
    color: #2e7d32;
}
.profile-msg.error {
    background: #fff5f5;
    border: 1px solid #ffcdd2;
    color: #c62828;
}

/* ---- 我的车辆 ---- */
.vehicle-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.vehicle-item {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 16px 20px;
    background: var(--bg-light);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: border-color var(--transition);
}
.vehicle-item:hover {
    border-color: var(--primary);
}
.vehicle-info {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 6px 16px;
}
.vehicle-info .v-field {
    font-size: 13px;
    color: var(--text-light);
}
.vehicle-info .v-field strong {
    color: var(--text-dark);
    font-weight: 500;
}
.vehicle-info .v-field .plate {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
}
.vehicle-actions {
    display: flex;
    gap: 8px;
}
.vehicle-actions button {
    padding: 4px 12px;
    font-size: 13px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    background: #fff;
    color: var(--text-light);
    transition: all var(--transition);
}
.vehicle-actions .btn-ve-edit:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.vehicle-actions .btn-ve-del:hover {
    border-color: #c62828;
    color: #c62828;
}
.vehicle-empty {
    text-align: center;
    padding: 32px;
    color: var(--text-muted);
    font-size: 14px;
}
.btn-add-vehicle {
    padding: 6px 16px;
    font-size: 13px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background var(--transition);
}
.btn-add-vehicle:hover { background: var(--primary-dark); }

/* ---- 车辆表单 ---- */
.vehicle-form-wrap {
    display: none;
    padding: 20px;
    background: #fffbe6;
    border: 1px solid #ffe58f;
    border-radius: var(--radius);
    margin-top: 12px;
}
.vehicle-form-wrap.open { display: block; }
.vehicle-form-grid {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 12px;
}
.vehicle-form-grid label {
    font-size: 14px;
    color: var(--text-light);
    text-align: right;
}
.vehicle-form-grid input {
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--text-dark);
    outline: none;
    width: 100%;
    max-width: 300px;
    transition: border-color var(--transition);
}
.vehicle-form-grid input:focus {
    border-color: var(--primary);
}
.vehicle-form-grid .required-mark {
    color: var(--primary);
    font-size: 12px;
}
.vehicle-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    padding-left: 112px;
}

/* ---- 我的订单 ---- */
.order-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--border);
    padding: 0 24px;
}
.order-tab {
    padding: 10px 18px;
    font-size: 14px;
    color: var(--text-light);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all var(--transition);
    user-select: none;
}
.order-tab:hover { color: var(--primary); }
.order-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 500;
}
.order-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.order-item {
    padding: 16px 20px;
    background: var(--bg-light);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: border-color var(--transition);
}
.order-item:hover { border-color: var(--primary); }
.order-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.order-item-no {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}
.order-status-tag {
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 10px;
    font-weight: 500;
}
.order-status-tag.pending { background: #fff3e0; color: #e65100; }
.order-status-tag.paid { background: #e3f2fd; color: #1565c0; }
.order-status-tag.verified { background: #e8f5e9; color: #2e7d32; }
.order-status-tag.refunded { background: #fce4ec; color: #c62828; }
.order-status-tag.cancelled { background: #f5f5f5; color: #757575; }
.order-item-body {
    display: flex;
    align-items: center;
    gap: 14px;
}
.order-item-cover {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    object-fit: cover;
    flex-shrink: 0;
    background: #eee;
}
.order-item-info {
    flex: 1;
    min-width: 0;
}
.order-item-title {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.order-item-meta {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.order-item-price {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
}
.order-item-coupon-hint {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
}
.order-item-vehicle {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
}
.order-item-spec {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}
.order-empty {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    font-size: 14px;
}
.order-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-light);
}
.order-pagination button {
    padding: 4px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    color: var(--text-body);
    cursor: pointer;
    font-size: 13px;
    transition: all var(--transition);
}
.order-pagination button:hover:not(:disabled) {
    border-color: var(--primary);
    color: var(--primary);
}
.order-pagination button:disabled {
    opacity: .4;
    cursor: not-allowed;
}

/* ---- 订单详情弹窗 ---- */
.order-detail-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.45);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
.order-detail-overlay.open { display: flex; }
.order-detail-modal {
    background: #fff;
    border-radius: var(--radius-lg);
    width: 92%;
    max-width: 520px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0,0,0,.18);
}
.order-detail-header {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.order-detail-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}
.order-detail-close {
    width: 28px; height: 28px;
    border: none; background: none;
    font-size: 20px; color: var(--text-light);
    cursor: pointer;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: background var(--transition);
}
.order-detail-close:hover { background: var(--bg-light); }
.order-detail-body {
    padding: 24px;
}
.od-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
}
.od-row .od-label { color: var(--text-light); }
.od-row .od-value { color: var(--text-dark); font-weight: 500; }
.od-section-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 20px;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 6px;
}
.coupon-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg-light);
    border-radius: var(--radius);
    margin-bottom: 8px;
    border: 1px solid var(--border);
}
.coupon-card-no {
    font-size: 14px;
    font-family: 'Courier New', monospace;
    color: var(--text-dark);
    letter-spacing: .5px;
}
/* 订单详情 - 商品头部 */
.od-goods-header {
    display: flex;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 12px;
}
.od-goods-cover {
    width: 72px;
    height: 72px;
    border-radius: var(--radius);
    object-fit: cover;
    flex-shrink: 0;
    background: var(--bg-light);
}
.od-goods-cover-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}
.od-goods-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}
.od-goods-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}
.od-goods-spec {
    font-size: 13px;
    color: var(--text-light);
}
.od-goods-price {
    font-size: 14px;
    color: var(--text-body);
}
/* 订单详情 - 金额汇总行 */
.od-summary-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 4px;
}
.od-total-label {
    font-size: 14px;
    color: var(--text-light);
}
.od-total-amount {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-right: auto;
}
.coupon-card-status {

    font-size: 12px;
    padding: 2px 10px;
    border-radius: 10px;
    font-weight: 500;
}
.coupon-card-status.unused { background: #e3f2fd; color: #1565c0; }
.coupon-card-status.used { background: #e8f5e9; color: #2e7d32; }
.coupon-card-status.refunded { background: #fce4ec; color: #c62828; }
.coupon-card-status.expired { background: #f5f5f5; color: #757575; }
.coupon-card-time {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ---- 积分展示 ---- */
.points-banner {
    background: linear-gradient(135deg, #fff8f0 0%, #ffe0b2 100%);
    border: 1px solid #ffe0b2;
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.points-banner-left {
    display: flex;
    align-items: center;
    gap: 16px;
}
.points-icon-wrap {
    width: 48px;
    height: 48px;
    background: #c7000b;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.points-banner-info h4 {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 2px;
}
.points-banner-info .points-num {
    font-size: 28px;
    font-weight: 700;
    color: #c7000b;
}
.points-banner-info .points-total {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}
.points-banner-right {
    font-size: 13px;
    color: var(--text-light);
    text-align: right;
    max-width: 240px;
}
.points-banner-right .points-rule {
    margin-bottom: 4px;
}
.points-log-mini {
    margin-top: 12px;
}
.points-log-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed var(--border);
    font-size: 13px;
}
.points-log-item:last-child { border-bottom: none; }
.points-log-item .pl-type {
    color: var(--text-body);
    font-weight: 500;
}
.points-log-item .pl-amount {
    font-weight: 600;
}
.points-log-item .pl-amount.positive { color: #2e7d32; }
.points-log-item .pl-amount.negative { color: #c62828; }
.points-log-item .pl-time {
    color: var(--text-muted);
    font-size: 12px;
}

/* ---- 响应式 ---- */
@media (max-width: 768px) {
    .profile-layout {
        flex-direction: column;
    }
    .profile-sidebar {
        width: 100%;
        position: static;
    }
    .sidebar-nav {
        display: flex;
        flex-wrap: wrap;
        padding: 4px;
        gap: 0;
    }
    .sidebar-nav-item {
        flex: 1;
        min-width: 80px;
        justify-content: center;
        padding: 10px 8px;
        border-left: none;
        border-bottom: 2px solid transparent;
        font-size: 13px;
    }
    .sidebar-nav-item.active {
        border-left-color: transparent;
        border-bottom-color: var(--primary);
    }
    .profile-header {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }
    .profile-form-group,
    .pwd-form-group {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .profile-form-group label,
    .pwd-form-group label {
        text-align: left;
    }
    .profile-form-group input,
    .profile-form-group select,
    .pwd-form-group input {
        max-width: 100%;
    }
    .points-banner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .points-banner-left {
        flex-direction: column;
        gap: 8px;
    }
    .points-banner-right {
        text-align: center;
        max-width: 100%;
    }
    .vehicle-info {
        grid-template-columns: 1fr;
    }
    .vehicle-item {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .vehicle-actions {
        justify-content: flex-end;
    }
    .vehicle-form-actions {
        padding-left: 0;
    }
    .order-tabs {
        padding: 0 12px;
        overflow-x: auto;
    }
}

/* ============================================
   HEADER CART ICON - 购物车图标
   ============================================ */
.btn-cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--text-body);
    transition: all var(--transition);
}
.btn-cart-icon:hover {
    background: var(--bg-light);
    color: var(--primary);
}
.cart-badge {
    position: absolute;
    top: -2px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 4px rgba(199,0,11,.3);
}
