@layer utilities {
    /* 基础工具类 */
    .content-auto { content-visibility: auto; }
    .text-shadow { text-shadow: 0 2px 4px rgba(0,0,0,0.1); }
    .scrollbar-hide::-webkit-scrollbar { display: none; }
    .scrollbar-hide {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    /* 导航下划线样式（统一定义，删除重复） */
    .nav-underline {
        position: relative;
        display: inline-flex; /* 强制垂直居中 */
        align-items: center;
        height: 50px; /* 与header高度匹配，解决对齐 */
        padding: 0 2px 4px; /* 仅保留底部小内边距，不影响居中 */
        line-height: 1; /* 消除字体加粗偏移 */
    }
    .nav-underline::after {
        content: '';
        position: absolute;
        bottom: 0; /* 基于padding-bottom定位，无错位 */
        left: 0; /* 取消50%+translate，避免错位 */
        width: 0;
        height: 3px;
        background-color: #ce010b;
        transition: width 0.3s ease-in-out;
        border-radius: 3px;
    }
    .nav-underline:hover::after,
    .nav-underline.active::after {
        width: 100%; /* 改为100%，视觉更统一 */
    }
    /* 其他工具类保留，删除重复 */
    .text-gradient {
        background-clip:text;
        -webkit-background-clip:text;
        -webkit-text-fill-color:transparent;
    }
    .hover-scale {
        transition:transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
    }
    .hover-scale:hover {
        transform:scale(1.03);
    }
    .product-card-hover {
        transition:all 0.4s ease;
    }
    .product-card-hover:hover {
        transform:translateY(-6px);
        box-shadow:0 12px 20px rgba(0,0,0,0.08);
    }
    .btn-primary {
        background-color:#ce010b;
        color:#fff;
        transition:all 0.3s ease;
        position:relative;
        overflow:hidden;
    }
    .btn-primary::before {
        content:'';
        position:absolute;
        top:0;
        left:-100%;
        width:100%;
        height:100%;
        background:linear-gradient(90deg,transparent,rgba(255,255,255,0.2),transparent);
        transition:all 0.6s ease;
    }
    .btn-primary:hover {
        background-color:#b30009;
        box-shadow:0 4px 12px rgba(206,1,11,0.3);
        transform:translateY(-2px);
    }
    .btn-primary:hover::before {
        left:100%;
    }
    .btn-outline {
        border:1px solid #ce010b;
        color:#ce010b;
        background-color:transparent;
        transition:all 0.3s ease;
    }
    .btn-outline:hover {
        background-color:#fef0f0;
        box-shadow:0 4px 8px rgba(206,1,11,0.1);
    }
    .section-title {
        position:relative;
        padding-bottom:12px;
    }
    .section-title::after {
        content:'';
        position:absolute;
        left:0;
        bottom:0;
        width:60px;
        height:3px;
        background-color:#ce010b;
        border-radius:3px;
    }
    .scene-card {
        position:relative;
        overflow:hidden;
        border-radius:8px;
        transition:all 0.4s ease;
    }
    .scene-card::before {
        content:'';
        position:absolute;
        top:0;
        left:0;
        width:4px;
        height:100%;
        background-color:#ce010b;
        transition:all 0.3s ease;
    }
    .scene-card:hover {
        transform:translateY(-5px);
        box-shadow:0 8px 16px rgba(0,0,0,0.08);
    }
    .scene-card:hover::before {
        width:8px;
    }
    .animate-fadeIn {
        animation:fadeIn 0.3s ease-in-out;
    }
    @keyframes fadeIn {
        from {
            opacity:0;
            transform:translateY(-10px);
        }
        to {
            opacity:1;
            transform:translateY(0);
        }
    }
}

/* 全局样式（统一，删除冲突） */
body {
    color:#333333;
    font-family:'PingFang SC',sans-serif;
    line-height:1.6;
}

/* 规格表格样式 */
.spec-table {
    width:100%;
    border-collapse:collapse;
    background-color:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 1px 3px rgba(0,0,0,0.05);
}
.spec-table thead th {
    background-color:#F5F5F5;
    color:#1E1E1E;
    font-weight:600;
    font-size:15px;
    padding:14px 12px;
    text-align:left;
    border:none;
    border-bottom:2px solid #eee;
}
.spec-table tbody td {
    padding:14px 12px;
    color:#666;
    font-size:14px;
    border:none;
    border-bottom:1px solid #f0f0f0;
    line-height:1.6;
}
.spec-table tbody tr:nth-child(odd) {
    background-color:#fafafa;
}
.spec-table tbody tr:hover {
    background-color:#f5f0e8;
    transition:background-color 0.2s ease;
}
.spec-table tbody td:first-child {
    color:#1E1E1E;
    font-weight:500;
    width:35%;
    min-width:100px;
}
.spec-table tbody td:last-child {
    width:65%;
}
@media (max-width:767px) {
    .spec-table {
        display:block;
        overflow-x:auto;
        white-space:nowrap;
    }
    .spec-table thead th,.spec-table tbody td {
        padding:12px 10px;
        font-size:13px;
    }
    .spec-table tbody td:first-child {
        width:120px;
    }
}
.spec-table.cke_show_border {
    border:none !important;
}
.spec-table p {
    margin:0 !important;
}

/* 图片占位符 */
.img-placeholder {
    background:linear-gradient(45deg,#fafafa 25%,#f5f5f5 25%,#f5f5f5 50%,#fafafa 50%,#fafafa 75%,#f5f5f5 75%,#f5f5f5);
    background-size:200% 200%;
    animation:placeholder-loading 1.2s infinite;
}
@keyframes placeholder-loading {
    0% {
        background-position:0% 0%;
    }
    100% {
        background-position:100% 100%;
    }
}

/* 文章内容样式（修复line-height错误） */
.prose-custom {
    max-width:100%;
}
.prose-custom h2 {
    font-size:1.5rem;
    font-weight:700;
    color:#333333;
    margin:2.5rem 0 1.5rem;
    padding-bottom:0.8rem;
    border-bottom:2px solid #f5f5f5;
}
.prose-custom h3 {
    font-size:1.25rem;
    font-weight:600;
    color:#333333;
    margin:2rem 0 1rem;
    padding-left:1rem;
    position:relative;
}
.prose-custom h3::before {
    content:'';
    position:absolute;
    left:0;
    top:50%;
    transform:translateY(-50%);
    width:4px;
    height:20px;
    background-color:#ce010b;
    border-radius:2px;
}
.prose-custom p {
    margin-bottom:1.2rem;
    line-height:1.9;
    color:#666666;
    font-size:15px;
}
.prose-custom ul,.prose-custom ol {
    margin:0 0 1.5rem 1.8rem;
    line-height:1.9;
    color:#666666;
    font-size:15px;
}
.prose-custom ul {
    list-style-type:disc;
}
.prose-custom ol {
    list-style-type:decimal;
}
.prose-custom img {
    max-width:100%;
    height:auto;
    margin:1.5rem auto;
    border-radius:8px;
    box-shadow:0 4px 12px rgba(0,0,0,0.05);
}
.prose-custom strong {
    color:#333333;
    font-weight:600;
}

/* 面包屑样式（修复z-index和margin） */
.breadcrumb-item a:hover {
    color: #ce010b;
    transition: color 0.3s ease;
}
.breadcrumb-container {
    /* 适配fixed header，z-index高于导航栏 */
    margin-top: 80px !important; 
    position: relative;
    z-index: 60; /* 高于header的z-50，避免被覆盖 */
}

/* 文章内容容器样式（修复line-height:1的错误） */
.article-content {
    color: #333333;
    margin: 0 auto;
    padding: 0 15px;
    line-height: 1.6; /* 恢复全局行高，避免文字挤在一起 */
}
.article-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #333333;
    margin: 0 0 1.5rem 0;
    letter-spacing: 0.5px;
}
.article-content h2 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}
.article-content ul {
    margin: 0 0 1.5rem 2rem;
    padding-left: 0.5rem;
}
.article-content li {
    font-size: 16px;
    line-height: 1.8;
    color: #666666;
    margin-bottom: 0.8rem;
}
.article-content li p {
    margin: 0;
    color: #666666;
}
.article-content strong {
    font-weight: 600;
}
/* 移动端适配 */
@media (max-width: 768px) {
    .article-content {
        padding: 0 10px;
    }
    .article-content p {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 1.2rem;
    }
    .article-content h2 {
        font-size: 18px;
        margin: 1.5rem 0 0.8rem 0;
    }
    .article-content ul {
        margin: 0 0 1.2rem 1.5rem;
    }
    .article-content li {
        font-size: 14px;
        margin-bottom: 0.6rem;
    }
}
/* 清除空行/br标签多余间距 */
.article-content p:empty,
.article-content br {
    display: none;
}


.order-1 table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  margin: 1rem 0;
}

/* 表格单元格基础样式 */
.order-1 table th,
.order-1 table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #eeeeee;
  box-sizing: border-box; /* 确保padding不撑大宽度 */
}

.order-1 table th {
  background-color: #f8f9fa;
  font-weight: 600;
}

/* 核心：给表格外层添加横向滚动（所有屏幕尺寸生效） */
.order-1 {
  width: 100%;
  overflow-x: auto;
  /* 优化滚动体验：添加滚动条样式提示，可选 */
  -webkit-overflow-scrolling: touch; /* 移动端顺滑滚动 */
  scrollbar-width: thin; /* 火狐细滚动条 */
}

/* 可选：自定义滚动条样式（适配Chrome/Safari） */
.order-1::-webkit-scrollbar {
  height: 6px;
}
.order-1::-webkit-scrollbar-thumb {
  background-color: #ddd;
  border-radius: 3px;
}
.order-1::-webkit-scrollbar-track {
  background-color: #f8f9fa;
}

/* 移除原来手机端修改表格结构的逻辑，所有屏幕都保持原生表格+横向滚动 */
/* 无需再区分768px/1024px的媒体查询，统一用外层滚动适配 */