:root {
    --primary-color: #1a56db;
    --secondary-color: #0e2b5c;
    --accent-color: #ff6b35;
    --light-color: #e5e7eb;
    --dark-color: #1f2937;
    --text-color: #374151;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #f9fafb;
    padding-top: 80px; /* 为固定的header留出空间 */
}


/* 通用容器样式 */

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

        /* 导航栏样式 */
        .header {
            background: white !important;
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1) !important;
            position: fixed !important;
            padding: 15px 0;
            top: 0 !important;
            left: 0 !important;
            right: 0 !important;
            width: 100% !important;
            z-index: 1001 !important;
        }
        
		  .nav-container{
			display: grid;
			grid-template-columns: auto 1fr auto;
			align-items: center;
			max-width: 1200px;
			margin: 0 auto;
			padding: 0 20px;
		  }
        
        .logo {
            display: flex;
            align-items: center;
            color: black;
            font-size: 1.5rem;
            font-weight: bold;
            text-decoration: none;
        }
        
        .logo i {
            margin-right: 10px;
            font-size: 1.8rem;
        }
        
		  .nav-menu{
			justify-self: center;
			display: flex;
			gap: 30px;
			margin: 0;
			padding: 0;
			list-style: none;
		  }

		@media (min-width: 993px){
		  .nav-menu{
			display: flex;
			position: static;
			transform: none;
			height: auto;
			width: auto;
		  }
		}
        .nav-item {
            position: relative;
            margin-left: 5px;
        }
        
        .nav-link {
            display: block;
            color: black;
            text-decoration: none;
            padding: 10px 20px;
            border-radius: 5px;
            transition: all 0.3s ease;
            font-weight: 500;
        }
        
        .nav-link:hover {
            background-color: rgba(255, 255, 255, 0.1);
        }
        
        /* 二级导航样式 */
        .sub-menu {
            position: absolute;
            top: 100%;
            left: 0;
            width: 200px;
            background: white;
            border-radius: 5px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            list-style: none;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.3s ease;
            z-index: 1000;
        }
        
        .nav-item:hover .sub-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        
        .sub-item {
            border-bottom: 1px solid #f1f1f1;
        }
        
        .sub-item:last-child {
            border-bottom: none;
        }
        
        .sub-link {
            display: block;
            padding: 12px 20px;
            color: #333;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .sub-link:hover {
            background-color: #f8f9fa;
            color: #4a6baf;
            padding-left: 25px;
        }
        
        /* 移动端菜单切换按钮 */
        .mobile-toggle {
            display: none;
            background: none;
            border: none;
            color: black;
            font-size: 1.5rem;
            cursor: pointer;
        }

/* Hero区域样式 */

.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    min-height: calc(100vh - 80px); /* 占满整个视口高度，减去header高度 */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.stats-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem 0;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    min-width: 200px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 1.1rem;
}


/* 服务区域样式 */

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.services {
    padding: 4rem 0;
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-content {
    padding: 1.5rem;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.service-desc {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.service-link i {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}


/* 案例区域样式 */

.cases {
    padding: 4rem 0;
    background-color: var(--light-color);
}

.cases-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.case-tab {
    padding: 0.8rem 1.8rem;
    background: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.case-tab:hover {
    background: #e5e7eb;
}

.case-tab.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(26, 86, 219, 0.3);
}

.cases-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.cases-content.active {
    display: block;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.case-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    background: white;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.case-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.case-content {
    padding: 1.5rem;
}

.case-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.case-desc {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.case-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.case-link:hover {
    color: var(--accent-color);
}

.case-link i {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.case-link:hover i {
    transform: translateX(5px);
}


/* 新闻资讯区域 */

.news {
    padding: 4rem 0;
    background-color: white;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-column {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.news-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.news-title {
    font-size: 1.5rem;
    margin: 0;
}

.news-content {
    padding: 1.5rem;
}

.news-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.news-item {
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item a {
    display: flex;
    justify-content: space-between;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.news-item a:hover {
    color: var(--primary-color);
}

.news-item-title {
    flex: 1;
    margin-right: 1rem;
}

.news-item-date {
    color: #6b7280;
    font-size: 0.9rem;
    white-space: nowrap;
}

.news-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.news-more:hover {
    color: var(--accent-color);
}

.news-more i {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.news-more:hover i {
    transform: translateX(5px);
}


/* 认证区域 */

.certificates {
    padding: 4rem 0;
    background-color: var(--light-color);
}

.certificates-slider {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    padding: 1rem 0;
    scrollbar-width: thin;
    -ms-overflow-style: none;
}

.certificates-slider::-webkit-scrollbar {
    height: 6px;
}

.certificates-slider::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.certificate-item {
    flex: 0 0 auto;
    width: 200px;
    text-align: center;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.certificate-img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 1rem;
}


/* 客户区域 */

.clients {
    padding: 4rem 0;
    background-color: white;
}

.clients-slider {
    overflow: hidden;
    position: relative;
    background: var(--light-color);
    border-radius: 12px;
    padding: 1.5rem 1rem;
}

/* 外层wrapper做滚动动画 */
.clients-wrapper {
    display: flex;
    animation: scroll 40s linear infinite;
    width: max-content;
}

.clients-wrapper:hover {
    animation-play-state: paused;
}

/* 每个track保持独立的2行grid布局 */
.clients-track {
    display: grid;
    grid-template-rows: repeat(2, 140px);
    grid-auto-flow: column;
    grid-auto-columns: 140px;
    gap: 1.5rem;
    flex-shrink: 0;
    padding-right: 1.5rem; /* 用padding代替gap，确保两个track之间有间距 */
}

.clients-track a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 140px;
    height: 140px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 6px;
}

.client-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.8;
    transition: var(--transition);
}

.clients-track a:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.clients-track a:hover .client-logo {
    opacity: 1;
    transform: scale(1.05);
}


/* CTA区域 */

.cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    margin-top: 1.5rem;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.4);
}


/* 页脚样式 */

.footer {
    background: #f8f9fa;
    color: #333;
    padding: 60px 0 30px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-menus {
    display: flex;
    flex: 1;
    gap: 50px;
}

.footer-menu-column {
    min-width: 120px;
}

.footer-menu-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 0;
}

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

.footer-menu-list li {
    margin-bottom: 12px;
}

.footer-menu-list a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-menu-list a:hover {
    color: #1890ff;
}

/* 右侧联系我们区域 */
.footer-contact {
    min-width: 220px;
    padding-left: 40px;
    border-left: 1px solid #e8e8e8;
}

.contact-details {
    margin-bottom: 20px;
}

.contact-item {
    margin-bottom: 15px;
}

.contact-label {
    display: block;
    font-size: 13px;
    color: #999;
    margin-bottom: 5px;
}

.contact-value {
    font-size: 14px;
    color: #333;
}

.contact-value.phone {
    font-size: 24px;
    font-weight: bold;
    color: #1890ff;
}

.contact-value.email {
    color: #1890ff;
    text-decoration: none;
}

.contact-value.email:hover {
    text-decoration: underline;
}

.qr-section {
    margin-top: 20px;
}

.qr-label {
    display: block;
    font-size: 13px;
    color: #999;
    margin-bottom: 10px;
}

.qr-codes {
    display: flex;
    gap: 20px;
}

.qr-item {
    text-align: center;
}

.qr-item .qr-code {
    width: 100px;
    height: 100px;
    background: white;
    padding: 5px;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
}

.qr-item p {
    margin-top: 8px;
    font-size: 12px;
    color: #666;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e8e8e8;
    color: #999;
    font-size: 13px;
}

.footer-bottom a {
    color: #666;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #1890ff;
}

/* 页脚响应式 */
@media (max-width: 1200px) {
    .footer-menus {
        flex-wrap: wrap;
        gap: 30px 40px;
    }
    
    .footer-menu-column {
        min-width: 100px;
    }
}

@media (max-width: 992px) {
    .footer-main {
        flex-direction: column;
    }
    
    .footer-contact {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid #e8e8e8;
        padding-top: 30px;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .footer-menus {
        flex-wrap: wrap;
        gap: 25px 30px;
    }
    
    .footer-menu-column {
        min-width: 45%;
    }
}


/* 动画 */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: calc(100vh - 70px);
        padding: 1.5rem 0;
    }
    .hero-title {
        font-size: 2rem;
    }
    .stat-item {
        min-width: 140px;
    }
    .stat-number {
        font-size: 2rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .cta-title {
        font-size: 2rem;
    }
    .cases-tabs {
        flex-direction: column;
        align-items: center;
    }
    .case-tab {
        width: 200px;
    }
    .news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero {
        min-height: calc(100vh - 70px);
        padding: 1rem 0;
    }
    .stats-container {
        gap: 1rem;
    }
    .stat-item {
        min-width: calc(50% - 1rem);
        padding: 1rem;
    }
    .stat-number {
        font-size: 1.5rem;
    }
    .stat-text {
        font-size: 0.9rem;
    }
}

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


/* 页面标题样式 */

.enc-page-title {
    text-align: center;
    font-size: 2.5rem;
    margin: 1rem 0 2rem;
    color: var(--enc-secondary);
    position: relative;
    padding-bottom: 1rem;
}

.enc-page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--enc-accent);
    border-radius: 2px;
}


/* 主要内容区域 */

.enc-main-content {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}


/* 侧边栏样式 */

.enc-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.enc-solutions-sidebar {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.enc-sidebar-title {
    background: var(--enc-secondary);
    color: white;
    padding: 1.2rem 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.enc-solutions-list {
    list-style: none;
}

.enc-solutions-list li {
    border-bottom: 1px solid var(--enc-light);
}

.enc-solutions-list li:last-child {
    border-bottom: none;
}

.enc-solutions-list a {
    display: block;
    padding: 1.2rem 1.5rem;
    color: var(--enc-text);
    text-decoration: none;
    transition: var(--enc-transition);
    position: relative;
}

.enc-solutions-list a:hover {
    background: var(--enc-light);
    color: var(--enc-primary);
}

.enc-solutions-list a.enc-active {
    background: var(--enc-primary);
    color: white;
}

.enc-solutions-list a.enc-active::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 5px 0 5px 5px;
    border-style: solid;
    border-color: transparent transparent transparent #f9fafb;
}


/* 内容区域样式 */

.enc-content-area {
    flex: 1;
}

/* 编辑器内容通用样式 - 图片居中显示 */
.enc-pain-points img,
.enc-content-area img,
.job-detail-content img {
    display: block !important;
    max-width: 90% !important;
    width: auto !important;
    height: auto !important;
    margin: 1.5rem auto !important;
    border-radius: 8px;
    float: none !important;
    object-fit: contain;
}

.enc-pain-points p img,
.enc-content-area p img,
.job-detail-content p img {
    display: block !important;
    margin: 1.5rem auto !important;
    float: none !important;
}

.enc-pain-points p,
.enc-content-area p,
.job-detail-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    clear: both;
}

.enc-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    margin-bottom: 2.5rem;
}

.enc-section-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--enc-secondary);
    position: relative;
    padding-bottom: 0.8rem;
}

.enc-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--enc-accent);
    border-radius: 2px;
}


/* 痛点展示样式 */

.enc-pain-points {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.enc-pain-point {
    background: var(--enc-light);
    border-radius: 10px;
    padding: 1.5rem;
    position: relative;
    transition: var(--enc-transition);
}

.enc-pain-point:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.enc-pain-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    color: var(--enc-accent);
    font-size: 1.5rem;
}

.enc-pain-title {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--enc-secondary);
}

.enc-pain-desc {
    color: var(--enc-text);
}


/* 解决方案样式 */

.enc-solution-content {
    margin-top: 1.5rem;
}

.enc-solution-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.enc-feature-item {
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--enc-light);
    transition: var(--enc-transition);
}

.enc-feature-item:hover {
    border-color: var(--enc-primary);
    background: rgba(26, 86, 219, 0.03);
}

.enc-feature-icon {
    color: var(--enc-primary);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.enc-feature-title {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--enc-secondary);
}


/* 商业实践成果样式 */

.enc-results-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.enc-result-item {
    flex: 1;
    min-width: 200px;
    background: linear-gradient(135deg, var(--enc-primary), var(--enc-secondary));
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(26, 86, 219, 0.2);
}

.enc-result-value {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.enc-result-label {
    font-size: 1.1rem;
    opacity: 0.9;
}


/* 客户案例卡片样式 */

.enc-cases-section {
    margin-top: 1rem;
}

.enc-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.enc-case-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--enc-transition);
    background: white;
    text-decoration: none;
    display: block;
}

.enc-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.enc-case-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.enc-case-content {
    padding: 1.5rem;
}

.enc-case-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--enc-secondary);
}

.enc-case-desc {
    margin-bottom: 1rem;
    color: var(--enc-text);
}

.enc-case-link {
    display: inline-flex;
    align-items: center;
    color: var(--enc-primary);
    font-weight: 500;
}

.enc-case-link i {
    margin-left: 0.5rem;
    transition: var(--enc-transition);
}

.enc-case-card:hover .enc-case-link i {
    transform: translateX(5px);
}


/* CTA区域样式 */

.enc-footer-cta {
    background: linear-gradient(135deg, var(--enc-primary), var(--enc-secondary));
    color: white;
    padding: 3rem 0;
    margin-top: 3rem;
}

.enc-cta-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.enc-cta-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.enc-cta-desc {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}


/* 悬浮显示二维码按钮样式 */

.enc-cta-button-container {
    position: relative;
    display: inline-block;
}

.enc-cta-button {
    display: inline-block;
    background: var(--enc-accent);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--enc-transition);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.enc-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.4);
}

.enc-wechat-qr {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-15px);
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 10;
    width: 200px;
}

.enc-wechat-qr::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px 8px 0 8px;
    border-style: solid;
    border-color: white transparent transparent transparent;
}

.enc-cta-button-container:hover .enc-wechat-qr {
    display: block;
    animation: fadeIn 0.3s ease;
}

.enc-qr-image {
    width: 100%;
    height: auto;
    display: block;
}

.enc-qr-text {
    text-align: center;
    color: var(--enc-dark);
    margin-top: 0.5rem;
    font-size: 0.9rem;
}


/* 动画 */

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


/* 响应式设计 */

@media (max-width: 992px) {
    .enc-main-content {
        flex-direction: column;
    }
    .enc-sidebar {
        width: 100%;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .enc-page-title {
        font-size: 2rem;
        margin: 1rem 0;
    }
    .enc-section-title {
        font-size: 1.5rem;
    }
    .enc-result-item {
        padding: 1.5rem;
    }
    .enc-result-value {
        font-size: 2.5rem;
    }
    .enc-cta-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .enc-solution-features,
    .enc-pain-points,
    .enc-cases-grid {
        grid-template-columns: 1fr;
    }
    .enc-results-container {
        flex-direction: column;
    }
    .enc-result-item {
        min-width: 100%;
    }
    .enc-cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

.a1b2 {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}


/* 页面标题区域 */

.c3d4 {
    background: var(--primary-color);
    color: white;
    padding: 2rem;
    text-align: center;
}

.e5f6 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.g7h8 {
    font-size: 1.1rem;
    opacity: 0.9;
}


/* 内容区域 */

.i9j0 {
    padding: 2rem;
}


/* 分类按钮区域 */

.k1l2 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2rem;
    justify-content: center;
}

.m3n4 {
    padding: 0.6rem 1.2rem;
    background: var(--x4);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--x7);
}

.m3n4:hover {
    background: #e5e7eb;
}

.m3n4.active {
    background: #1a56db;
    color: white;
}


/* 案例卡片区域 */

.o5p6 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.q7r8 {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: var(--x7);
    border: 1px solid #e5e7eb;
}

.q7r8:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.s9t0 {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.u1v2 {
    padding: 1.2rem;
}

.w3x4 {
    display: inline-block;
    background: var(--x4);
    color: var(--x1);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.y5z6 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--x2);
}

.a7b8 {
    margin-bottom: 1rem;
    color: var(--x6);
    font-size: 0.95rem;
}

.c9d0 {
    background: #f9fafb;
    border-left: 3px solid var(--x3);
    padding: 0.8rem;
    margin-bottom: 1rem;
    border-radius: 0 4px 4px 0;
    font-size: 0.9rem;
}

.e1f2 {
    display: inline-flex;
    align-items: center;
    background: var(--x1);
    padding: 0.6rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--x7);
    font-size: 0.9rem;
}

.e1f2:hover {
    background: var(--x2);
}

.e1f2 i {
    margin-left: 0.4rem;
    transition: var(--x7);
}

.e1f2:hover i {
    transform: translateX(3px);
}


/* 响应式设计 */

@media (max-width: 768px) {
    .e5f6 {
        font-size: 1.8rem;
    }
    .o5p6 {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.2rem;
    }
}

@media (max-width: 576px) {
    body {
        padding: 10px;
    }
    .c3d4 {
        padding: 1.5rem;
    }
    .i9j0 {
        padding: 1.5rem;
    }
    .o5p6 {
        grid-template-columns: 1fr;
    }
    .k1l2 {
        flex-direction: column;
        align-items: center;
    }
    .m3n4 {
        width: 100%;
        text-align: center;
    }
}


/* ----- 分页数字条效果 开始 ----- */

.pagebar .pagination {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

.pagination a {
    background: #fff;
    border: 1px solid #ccc;
    color: #333;
    font-size: 14px;
    padding: 8px 12px;
    margin: 0 5px;
    border-radius: 3px;
    text-decoration: none;
}

.pagination span {
    color: #333;
    font-size: 14px;
    padding: 8px 2px;
    margin: 0 5px;
    border-radius: 3px;
}

.pagination a:hover {
    color: #1a2980;
    border: 1px solid #1a2980;
}

.pagination a.page-num-current {
    color: #fff;
    background: #1a2980;
    border: 1px solid #1a2980;
}

.tac.text-secondary {
    margin: auto;
    text-align: center;
    margin-bottom: 10px;
}


/* ----- 分页数字条效果 结束 ----- */

/* 解决方案 & 产品中心 - Tab切换样式 */

.solution-panels,
.product-panels {
    position: relative;
}

.solution-panel,
.product-panel {
    display: none;
}

.solution-panel.active,
.product-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 产品中心 - 卡片样式 */
.product-grid:not(.h-scroll){
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.itembox {
    position: relative;
    width: 100%;
    height: 320px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    cursor: pointer;
    background: #fff;
}

/* imgbox - 上半部分，显示图片，填满整个区域 */
.imgbox {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.imgbox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.itembox:hover .imgbox img {
    transform: scale(1.05);
}

/* textbox - 下半部分，初始显示标题，hover时向上展开 */
.textbox {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100px;
    padding: 25px 30px;
    background: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    transition: height 1s ease, padding 1s ease;
}

.title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0;
    color: #1f2937;
    transition: margin 1s ease;
}

.desc {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 1s ease, max-height 1s ease, margin 1s ease;
    color: #6b7280;
    margin: 0;
}

.moreBtn {
    padding: 8px 24px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #fff;
    border-radius: 20px;
    font-size: 0.85rem;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 1s ease, max-height 1s ease, margin 1s ease;
    display: inline-block;
    margin-top: 0;
}

/* Hover Effects - textbox向上展开覆盖imgbox */
.itembox:hover .textbox {
    height: 100%;
    padding: 40px 30px;
}

.itembox:hover .title {
    margin-bottom: 15px;
}

.itembox:hover .desc {
    opacity: 1;
    max-height: 150px;
    margin-bottom: 20px;
}

.itembox:hover .moreBtn {
    opacity: 1;
    max-height: 50px;
    margin-top: 10px;
}
.products {
    padding: 4rem 0;
    background-color: var(--light-color);
}

/* ===== 产品中心：高级横滑（整段替换版）===== */

/* 背景色变量（渐隐用），与 products 底色一致 */
.products{
  --hscroll-bg: var(--light-color);
}

/* 每个子栏目一条横滑走廊容器 */
.products .hscroll-wrap{
  position: relative;
  border-radius: 12px;        /* 可选：更像组件 */
}

/* 两侧渐隐提示 */
.products .hscroll-wrap::before,
.products .hscroll-wrap::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  width:56px;
  pointer-events:none;
  z-index:2;
}
.products .hscroll-wrap::before{
  left:0;
  background: linear-gradient(to right, var(--hscroll-bg) 35%, rgba(255,255,255,0));
}
.products .hscroll-wrap::after{
  right:0;
  background: linear-gradient(to left, var(--hscroll-bg) 35%, rgba(255,255,255,0));
}

/* ===== 高级横滑：通用版（产品中心/解决方案共用）===== */

/* 横滑走廊容器 */
.hscroll-wrap{
  position: relative;
  border-radius: 12px;
}

/* 两侧渐隐（背景色通过 --hscroll-bg 控制） */
.hscroll-wrap::before,
.hscroll-wrap::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  width:56px;
  pointer-events:none;
  z-index:2;
}
.hscroll-wrap::before{
  left:0;
  background: linear-gradient(to right, var(--hscroll-bg, #f3f4f6) 35%, rgba(255,255,255,0));
}
.hscroll-wrap::after{
  right:0;
  background: linear-gradient(to left, var(--hscroll-bg, #f3f4f6) 35%, rgba(255,255,255,0));
}

/* 横滑轨道（只要你给 product-grid 加了 h-scroll 就生效） */
.product-grid.h-scroll{
  display: flex !important;
  flex-wrap: nowrap !important;
  white-space: nowrap;
  overflow-x: auto !important;
  overflow-y: hidden !important;

  gap: 2rem !important;
  padding: 0.75rem 64px 1rem !important;

  scroll-padding-left: 80px;
  scroll-padding-right: 80px;

  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;

  justify-content:flex-start !important; /* 默认左对齐 */

  scrollbar-width: none;
}
.product-grid.h-scroll::-webkit-scrollbar{ display:none; }


/* 卡片宽度：少卡片时可变宽；多卡片时仍保持横滑 */
.product-grid.h-scroll .itembox{
  flex: 0 0 clamp(260px, 30vw, 360px) !important; /* 固定“基准宽度” */
  scroll-snap-align: start;
}

/* 只有 1 张：直接变成大卡片 */
.product-grid.h-scroll .itembox:only-child{
  flex-basis: min(720px, 100%) !important;
}

/* 只有 2 张：两张更大、更饱满 */
.product-grid.h-scroll .itembox:nth-child(1):nth-last-child(2),
.product-grid.h-scroll .itembox:nth-child(2):nth-last-child(1){
  flex-basis: min(520px, 100%) !important;
}

/* 只有 3 张：三张更大一点 */
.product-grid.h-scroll .itembox:nth-child(1):nth-last-child(3),
.product-grid.h-scroll .itembox:nth-child(2):nth-last-child(2),
.product-grid.h-scroll .itembox:nth-child(3):nth-last-child(1){
  flex-basis: min(420px, 100%) !important;
}

/* 拖拽手势反馈 */
.product-grid.h-scroll{ cursor: grab; }
.product-grid.h-scroll.dragging{ cursor: grabbing; }

/* 左右按钮 */
.hscroll-btn{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  z-index:3;

  width:44px;
  height:44px;
  border:none;
  border-radius:999px;

  background: rgba(255,255,255,0.95);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);

  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}
.hscroll-btn.prev{ left:10px; }
.hscroll-btn.next{ right:10px; }
.hscroll-btn:hover{ transform: translateY(-50%) scale(1.06); }
.hscroll-btn:disabled{ opacity:0.35; cursor:not-allowed; box-shadow:none; }

/* 给不同区域设定渐隐背景色（按你页面底色来） */
.products{ --hscroll-bg: var(--light-color); }
.solutions{ --hscroll-bg: #f9fafb; }

.solution-panel { display: none; }
.solution-panel.active { display: block; }

/* 修复：横滑容器不影响卡片简介换行 */
.product-grid.h-scroll{ white-space: normal; }
.product-grid.h-scroll .desc{
  white-space: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4; /* 想显示几行就改几 */
  overflow: hidden;
}

/* ===== 二级栏目按钮条：客户案例 / 产品 / 解决方案（统一风格，互不干扰）===== */

/* 1) 容器：永远居中，可换行 */
.k1l2,
.product-tabs,
.solution-tabs{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 2rem;
  border-bottom: none; /* 彻底不要“下划线Tab那条底线” */
}

/* 2) 默认样式：黑字无下划线、透明底 */
.k1l2 .m3n4,
.product-tab,
.solution-tab{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 16px;
  font-weight: 500;

  color: #000 !important;
  text-decoration: none !important;

  background: transparent !important;
  border: none;

  padding: 10px 22px;
  border-radius: 999px;     /* 让 active 时更像按钮条 */
  cursor: pointer;

  margin: 0;                /* 防止你之前的 margin-bottom:-2px 残留影响 */
  transition: all .25s ease;
}

/* 3) hover：轻微底色提示，不要下划线（你不想要下划线） */
.k1l2 .m3n4:not(.active):hover,
.product-tab:not(.active):hover,
.solution-tab:not(.active):hover{
  background: rgba(0,0,0,0.06) !important;
  color: #000 !important;
  text-decoration: none !important;
}

/* 4) active：蓝底白字（你要的选中效果） */
.k1l2 .m3n4.active,
.product-tab.active,
.solution-tab.active{
  background: #1a56db !important;
  color: #fff !important;
  font-weight: 600;
  text-decoration: none !important;
}

/* ===== 移动端抽屉菜单（唯一版本，避免闪现） ===== */

/* 遮罩默认隐藏（不依赖 JS） */
.nav-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 1000;
}
.nav-overlay.active{
  opacity: 1;
  visibility: visible;
}


  /* 右侧按钮组：你现在放在 header 内，会挤占空间；先简单处理 */
  .header-actions{
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 260px;
    justify-self: end;
  }
}

/* =========================
   NAV (single source of truth)
   Desktop: mega-menu hover
   Mobile: drawer + overlay
   ========================= */

/* header fixed */
.header{
  background:#fff !important;
  position:fixed !important;
  top:0; left:0; right:0;
  width:100% !important;
  z-index:1001 !important;
  box-shadow:0 2px 15px rgba(0,0,0,.08) !important;
  padding:15px 0;
}

/* 顶部占位（你 body 里已有 padding-top:80px，不动即可） */

/* header 内布局：左logo / 中菜单 / 右按钮组 */
.header .nav-container{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:16px;
  max-width:1200px;
  margin:0 auto;
  padding:0 20px;
}

/* logo */
.header .logo img{
  display:block;
  height:40px;
  width:auto;
  object-fit:contain;
}

/* 右侧按钮组（桌面默认） */
.header .header-actions{
  display:flex;
  align-items:center;
  gap:12px;
  justify-self:end;
  white-space:nowrap;
}

/* 右侧两个按钮（保持你原来的视觉风格） */
.header .taobao-btn,
.header .consult-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:8px 18px;
  border-radius:999px;
  text-decoration:none;
  font-weight:500;
  font-size:14px;
  white-space:nowrap;
}

.header .taobao-btn{
  background:linear-gradient(135deg,#ff4400,#ff6600);
  color:#fff !important;
}
.header .taobao-btn:hover{
  background:linear-gradient(135deg,#ff6600,#ff8800);
  transform:translateY(-2px);
  box-shadow:0 4px 12px rgba(255,68,0,.25);
}

.header .consult-btn{
  background:linear-gradient(135deg,#1a56db,#0e2b5c);
  color:#fff !important;
}
.header .consult-btn:hover{
  background:linear-gradient(135deg,#0e2b5c,#1a56db);
  transform:translateY(-2px);
  box-shadow:0 4px 12px rgba(26,86,219,.25);
}

/* ===== Desktop nav ===== */
.nav-menu{
  justify-self:center;
  display:flex;
  align-items:center;
  gap:30px;
  margin:0;
  padding:0;
  list-style:none;
}

/* 单个菜单项 */
.nav-item{
  position:relative;
  margin:0;
}

/* 一级链接 */
.nav-link{
  display:inline-block;
  padding:10px 0;
  color:#111;
  text-decoration:none;
  font-weight:500;
  font-size:16px;
}
.nav-link:hover{ color:#1a56db; }

/* ===== Mega menu (desktop) ===== */
.has-mega-menu{ position:static; }

/* 默认隐藏（桌面端） */
.has-mega-menu .mega-menu{
  position:absolute;
  top:100%;
  left:0; right:0;
  width:100vw;
  background:#fff;
  padding:34px 0;
  box-shadow:0 10px 24px rgba(0,0,0,.10);
  display:none;
  opacity:0;
  visibility:hidden;
  transform:translateY(10px);
  transition:opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index:1000;
}

/* 通过 JS 给 .show 显示（你原来就是这么做的） */
.has-mega-menu .mega-menu.show{
  display:block;
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

/* mega 内容容器 */
.mega-container{
  max-width:1200px;
  margin:0 auto;
  padding:0 20px;
  display:flex;
  gap:20px;
}

.mega-column{
  flex:1;
  padding:0 10px;
  min-width:0;
}

/* 兼容你既有的 a.mega-column-title 或 h4.mega-column-title */
.mega-column-title{
  display:block;
  margin:0 0 14px;
  padding-bottom:8px;
  border-bottom:2px solid #f0f0f0;
  color:#1a56db;
  font-size:18px;
  font-weight:600;
  text-decoration:none;
}
a.mega-column-title:hover{ color:#0e2b5c; text-decoration:underline; }

.mega-links{
  list-style:none;
  margin:0;
  padding:0;
}
.mega-links li{ margin:0 0 10px; }

.mega-link{
  display:block;
  padding:4px 0;
  color:#333;
  text-decoration:none;
  transition:transform .15s ease, color .15s ease;
  word-break:break-word;
}
.mega-link:hover{
  color:#1a56db;
  transform:translateX(4px);
}

/* ===== Mobile toggle button ===== */
.mobile-toggle{
  display:none;
  background:none;
  border:none;
  font-size:24px;
  cursor:pointer;
  color:#333;
  z-index:1002;
}

/* ===== Overlay (always exists, default hidden) ===== */
.nav-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.35);
  opacity:0;
  visibility:hidden;
  transition:opacity .25s ease, visibility .25s ease;
  z-index:1000;
}
.nav-overlay.active{
  opacity:1;
  visibility:visible;
}

/* ===== Mobile drawer (<= 992px) ===== */
@media (max-width: 992px){

  /* 显示汉堡按钮，隐藏桌面菜单布局干扰项 */
  .mobile-toggle{ display:block; }

  /* 抽屉：默认永远在屏幕外（防闪现的核心） */
  .nav-menu{
    position:fixed;
    top:0;
    left:0;
    height:100vh;
    width:min(86vw, 320px);
    background:#fff;

    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:14px;

    padding:90px 20px 20px;
    box-shadow:10px 0 30px rgba(0,0,0,.15);

    transform:translateX(-110%);
    transition:transform .28s ease;
    will-change:transform;

    z-index:1001;

    margin:0 !important;
  }

  .nav-menu.active{
    transform:translateX(0);
  }

  /* 移动端：一级链接的点击区域更大 */
  .nav-link{
    width:100%;
    padding:12px 6px;
    font-size:16px;
  }

  /* 移动端：彻底禁用 mega-menu（你当前移动端不做二级展开） */
  .has-mega-menu .mega-menu{
    display:none !important;
  }

  /* 右侧按钮组：保持在 header 右上角，不挤抽屉 */
  .header .header-actions{
    position:absolute;
    top:18px;
    right:60px;
    gap:8px;
    z-index:1002;
  }

  /* logo 与 toggle 的层级，避免被遮挡 */
  .header .logo{ z-index:1002; }
}

/* ===== Desktop only refinements ===== */
@media (min-width: 993px){
  /* 桌面端确保 nav-menu 回归正常 */
  .nav-menu{
    position:static;
    height:auto;
    width:auto;
    transform:none;
    box-shadow:none;
    padding:0;
  }
}
/* ===== Header/Nav Final Override (put at very end) ===== */

/* Desktop: 居中，不受左右宽度影响 */
@media (min-width: 993px){
  .header .nav-container{
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    gap: 16px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
  }

  .header .logo{
    grid-column: 1 !important;
    justify-self: start !important;
  }

  .header .nav-menu{
    grid-column: 2 !important;
    justify-self: center !important;
  }

  .header .header-actions{
    grid-column: 3 !important;
    justify-self: end !important;
  }

  .header .mobile-toggle{
    display: none !important;
  }
}

/* =========================
   Mobile actions in drawer
   Desktop unchanged
   ========================= */

/* 桌面端：抽屉内按钮区隐藏 */
@media (min-width: 993px){
  .nav-menu .mobile-actions{ display:none !important; }
}

/* 移动端：header 右侧按钮隐藏（但不影响桌面） */
@media (max-width: 992px){
  .header .header-actions{ display:none !important; }

  /* 抽屉里按钮区显示，并排版成两行按钮 */
  .nav-menu .mobile-actions{
    display:flex !important;
    flex-direction:column;
    gap:12px;
    width:100%;
    margin-top:12px;
    padding-top:14px;
    border-top:1px solid #e5e7eb;
    list-style:none;
  }

  .nav-menu .mobile-actions a{
    width:100%;
    justify-content:center;
    padding:12px 14px;
    border-radius:999px;
    font-size:15px;
  }

  /* 移动端抽屉里不要 hover 位移，避免点按抖动 */
  .nav-menu .mobile-actions .taobao-btn:hover,
  .nav-menu .mobile-actions .consult-btn:hover{
    transform:none !important;
    box-shadow:none !important;
  }
}

/* ===== 横滑对齐策略：多卡左对齐；少卡（1~3）居中 ===== */

/* 默认：多卡左对齐（保证第一张永远可见，不被“居中起点”吃掉） */
.product-grid.h-scroll{
  justify-content: flex-start !important;
  /* 不要改 overflow-x / padding，保持你原来的横滑体验 */
}

/* 只有 1 张：居中 + 去掉渐隐遮罩/按钮（不改 overflow 不改 padding） */
.product-grid.h-scroll .itembox:only-child{
  margin-left: auto !important;
  margin-right: auto !important;
}
.hscroll-wrap:has(.itembox:only-child)::before,
.hscroll-wrap:has(.itembox:only-child)::after{
  display: none !important;
}
.hscroll-wrap:has(.itembox:only-child) .hscroll-btn{
  display: none !important;
}

/* 只有 2 张：整体居中 */
.product-grid.h-scroll .itembox:nth-child(1):nth-last-child(2){
  margin-left: auto !important;
}
.product-grid.h-scroll .itembox:nth-child(2):nth-last-child(1){
  margin-right: auto !important;
}

/* 只有 3 张：整体居中 */
.product-grid.h-scroll .itembox:nth-child(1):nth-last-child(3){
  margin-left: auto !important;
}
.product-grid.h-scroll .itembox:nth-child(3):nth-last-child(1){
  margin-right: auto !important;
}
