 /* ========== 配色方案 ========== */
        :root {
            --accent-color: #f47421; /* GitBook主橙色 */
            --accent-color-hover: #e06715; /* GitBook橙色hover（稍深） */
            --bg-light-gray: #f9f9f9;
            --bg-white: #ffffff;
            --border-gray: #eef2f5;
            --text-dark: #333333;
            --text-normal: #555555;
            --code-bg-gray: #f5f7fa;
            --touch-highlight: rgba(244, 116, 33, 0.1); /* GitBook橙色触摸高亮 */
        }

        /* ========== 全局基础样式 ========== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            /* 去除移动端点击高亮 */
            -webkit-tap-highlight-color: transparent;
            tap-highlight-color: transparent;
        }

        body {
            font-family: "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
            background-color: var(--bg-light-gray);
            color: var(--text-normal);
            line-height: 1.8;
            /* 优化移动端滚动体验 */
            -webkit-overflow-scrolling: touch;
            overflow-scrolling: touch;
        }

        .book-container {
            display: flex;
            flex-direction: row;
            min-height: 100vh;
            max-width: 1600px;
            margin: 0 auto;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.02);
        }

        /* ========== 左侧导航（移动端优化核心） ========== */
        .book-nav {
            width: 280px;
            background-color: var(--bg-white);
            border-right: 1px solid var(--border-gray);
            overflow-y: auto;
            padding: 35px 0;
            /* 隐藏移动端滚动条 */
            -ms-overflow-style: none;
            scrollbar-width: none;
        }
        /* 隐藏滚动条（webkit内核） */
        .book-nav::-webkit-scrollbar {
            display: none;
        }

        .nav-logo {
            text-align: center;
            font-size: 22px;
            font-weight: 700;
            color: var(--text-dark);
            padding: 0 20px 20px;
            border-bottom: 1px solid var(--border-gray);
            margin-bottom: 35px;
            /* 移动端logo添加点击交互（展开/收起导航） */
            cursor: pointer;
            position: relative;
        }
        /* 导航logo右侧添加展开/收起图标（仅移动端显示） */
        @media screen and (max-width: 768px) {
            .nav-logo {
                position: relative;
            }
            
            .nav-logo::after {
                content: "≡";
                font-size: 18px;
                color: var(--accent-color);
                position: absolute;
                right: 20px;
                top: 50%;
                transform: translateY(-50%);
                display: block;
            }
            
            /* 导航展开时显示上箭头 */
            .book-nav.expanded .nav-logo::after {
                content: "▲";
            }
        }

        .nav-group-title {
            font-size: 13px;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--text-normal);
            padding-left: 30px;
            margin-bottom: 15px;
        }

        .nav-menu {
            list-style: none;
            margin-bottom: 30px;
        }

        .nav-menu li {
            margin: 0;
        }

        .nav-menu a {
            display: block;
            text-decoration: none;
            color: var(--text-normal);
            font-size: 15px;
            padding: 9px 30px;
            transition: all 0.2s ease-in-out;
            /* 放大移动端点击区域 */
            min-height: 44px;
            line-height: 26px;
            /* 修改1：添加固定边框占位，避免hover时抖动 */
           border-left: 3px solid transparent;
       }

       .nav-menu a:hover,
       .nav-menu a.active,
       .nav-menu a:active { /* 新增移动端触摸反馈 */
            color: var(--accent-color); /* 应用GitBook橙色 */
            background-color: var(--touch-highlight); /* 应用GitBook橙色高亮 */
            /* 修改2：hover时替换透明边框为彩色边框，不会改变元素尺寸 */
            border-left: 3px solid var(--accent-color); /* 应用GitBook橙色 */
            padding-left: 27px; /* 修改3：调整padding-left保持文本位置一致 */
        }

        /* ========== 右侧阅读区 ========== */
        .book-content {
            flex: 1;
            background-color: var(--bg-white);
            padding: 45px 65px;
            overflow-y: auto;
            max-width: calc(1600px - 280px);
            /* 隐藏滚动条+优化滚动 */
            -ms-overflow-style: none;
            scrollbar-width: none;
            -webkit-overflow-scrolling: touch;
        }
        .book-content::-webkit-scrollbar {
            display: none;
        }

        /* ========== 搜索框（背景铺满+移动端优化） ========== */
        .search-box {
            margin: 0 0 30px;
            padding: 15px 20px;
            background-color: var(--bg-light-gray);
            border: 1px solid var(--border-gray);
            border-radius: 4px;
            display: flex;
            gap: 10px;
            align-items: center;
            width: 100%;
            justify-content: center;
        }

        .search-inner {
            display: flex;
            gap: 10px;
            align-items: center;
            width: 100%;
            max-width: 500px;
        }

        .search-input {
            flex: 1;
            padding: 12px 15px; /* 增大输入框内边距，提升触摸体验 */
            border: 1px solid var(--border-gray);
            border-radius: 4px;
            outline: none;
            font-size: 14px;
            color: var(--text-dark);
            background-color: var(--bg-white);
            transition: all 0.2s ease-in-out;
            /* 移动端输入框最小高度 */
            min-height: 44px;
        }

        .search-input:focus {
            border-color: var(--accent-color); /* 应用GitBook橙色 */
            box-shadow: 0 0 5px rgba(244, 116, 33, 0.15); /* GitBook橙色阴影 */
        }

        .search-btn {
            padding: 12px 25px; /* 增大按钮内边距 */
            border: none;
            border-radius: 4px;
            background-color: var(--accent-color); /* 应用GitBook橙色 */
            color: var(--bg-white);
            font-size: 14px;
            cursor: pointer;
            transition: all 0.2s ease-in-out;
            /* 移动端按钮最小点击区域 */
            min-height: 44px;
            min-width: 80px;
        }

        .search-btn:hover,
        .search-btn:active { /* 新增移动端触摸反馈 */
            background-color: var(--accent-color-hover); /* 应用GitBook橙色hover */
            box-shadow: 0 2px 5px rgba(244, 116, 33, 0.2); /* GitBook橙色阴影 */
        }

        /* ========== 面包屑（移动端换行优化） ========== */
        .breadcrumb {
            font-size: 13px;
            padding-bottom: 18px;
            border-bottom: 1px solid var(--border-gray);
            margin-bottom: 35px;
            /* 移动端允许面包屑换行 */
            white-space: nowrap;
            overflow-x: auto;
            -ms-overflow-style: none;
            scrollbar-width: none;
        }
        .breadcrumb::-webkit-scrollbar {
            display: none;
        }

        .breadcrumb-list {
            display: flex;
            list-style: none;
            gap: 8px;
            align-items: center;
        }

        .breadcrumb-item:not(:last-child)::after {
            content: "/";
            color: var(--border-gray);
            margin-left: 8px;
        }

        .breadcrumb a {
            color: var(--accent-color); /* 应用GitBook橙色 */
            text-decoration: none;
            /* 放大点击区域 */
            padding: 2px 4px;
        }

        .breadcrumb a:hover,
        .breadcrumb a:active { /* 移动端触摸反馈 */
            color: var(--accent-color-hover); /* 应用GitBook橙色hover */
            text-decoration: underline;
            text-underline-offset: 2px;
        }

        .breadcrumb-item:last-child {
            color: var(--text-dark);
            font-weight: 500;
        }

        /* ========== 标题/正文/代码块/引用块（移动端排版优化） ========== */
        .content-title {
            font-size: 28px;
            color: var(--text-dark);
            font-weight: 600;
            line-height: 1.3;
            margin-bottom: 35px;
        }

        .content-subtitle {
            font-size: 20px;
            color: var(--text-dark);
            font-weight: 600;
            margin: 40px 0 25px;
        }

        .content-paragraph {
            font-size: 16px;
            margin-bottom: 25px;
            line-height: 1.9;
            /* 移动端文字换行优化 */
            word-break: break-word;
            hyphens: auto;
        }

        .content-code {
            background-color: var(--code-bg-gray);
            border: 1px solid var(--border-gray);
            border-radius: 4px;
            padding: 20px 25px;
            margin-bottom: 30px;
            font-family: Consolas, Monaco, monospace;
            font-size: 14px;
            color: var(--text-dark);
            overflow-x: auto;
            /* 优化移动端代码块滚动 */
            -webkit-overflow-scrolling: touch;
        }
        /* 购买按钮样式 */
        .buy-button {
            display: inline-block;
            padding: 10px 24px;
            font-size: 14px;
            font-weight: 500;
            color: #fff;
            background-color: var(--accent-color);
            border: none;
            border-radius: 4px;
            cursor: pointer;
            text-decoration: none;
            transition: all 0.2s ease-in-out;
            /* 移动端最小点击区域 */
            min-height: 44px;
            line-height: 24px;
            text-align: center;
        }

        .buy-button:hover,
        .buy-button:active {
            background-color: var(--accent-color-hover);
            box-shadow: 0 2px 5px rgba(244, 116, 33, 0.2);
        }

        /* 移动端购买按钮宽度自适应 */
        @media screen and (max-width: 768px) {
            .buy-button {
                width: 100%;
                font-size: 15px;
            }
        }
        

        .content-quote {
            background-color: var(--code-bg-gray);
            border-left: 4px solid var(--accent-color); /* 应用GitBook橙色 */
            padding: 18px 22px;
            margin-bottom: 30px;
            font-size: 15px;
            color: var(--text-normal);
            /* 移动端引用块内边距优化 */
            word-break: break-word;
        }
    

        /* ========== 产品图片（移动端适配） ========== */
        .product-image {
            max-width: 520px;
            margin: 0 auto 35px;
            border: 1px solid var(--border-gray);
            padding: 20px;
            background-color: var(--bg-white);
            text-align: center;
        }

        .product-image img {
            max-width: 100%;
            display: block;
            margin: 0 auto;
            /* 移动端图片懒加载（原生属性） */
            loading: lazy;
        }

 

        /* ========== 相关推荐产品（单行最多5个+移动端优化） ========== */
        .related-products {
            margin-top: 50px;
            padding-top: 30px;
            border-top: 1px solid var(--border-gray);
            margin-bottom: 40px;
        }

        .related-products-title {
            font-size: 20px;
            color: var(--text-dark);
            font-weight: 600;
            margin-bottom: 25px;
        }

        .product-list {
            display: flex;
            gap: 20px;
            list-style: none;
            flex-wrap: wrap;
            justify-content: flex-start;
            width: 100%;
        }

        .product-item {
            flex: 1 0 calc((100% / 5) - 20px);
            min-width: 130px;
            max-width: calc((100% / 5) - 20px);
            background-color: var(--bg-white);
            border: 1px solid var(--border-gray);
            padding: 15px;
            text-align: center;
            transition: all 0.2s ease-in-out;
            /* 移动端卡片圆角+阴影优化 */
            border-radius: 6px;
        }

        .product-item:hover,
        .product-item:active { /* 移动端卡片触摸反馈 */
            border-color: var(--accent-color); /* 应用GitBook橙色 */
            background-color: var(--touch-highlight); /* 应用GitBook橙色高亮 */
            transform: translateY(-2px); /* 轻微上浮，增强交互感 */
        }

        .product-item img {
            width: 100%;
            height: auto;
            max-height: 180px;
            border: 1px solid var(--border-gray);
            margin: 0 auto 12px;
            display: block;
            /* 图片圆角+懒加载 */
            border-radius: 4px;
            loading: lazy;
        }

        .product-item-name {
            font-size: 14px;
            color: var(--text-dark);
            font-weight: 500;
            word-wrap: break-word;
            /* 移动端文字行数限制，避免溢出 */
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .product-item a {
            /* 让A标签铺满整个卡片，点击区域最大化 */
            display: block;
            width: 100%;
            height: 100%;
            /* 去除默认下划线 */
            text-decoration: none;
            /* 继承父元素颜色，避免链接默认蓝色 */
            color: inherit;
            /* 重置内边距/外边距，避免布局偏移 */
            padding: 0;
            margin: 0;
            /* 优化点击反馈（移动端） */
            -webkit-tap-highlight-color: var(--touch-highlight);
            tap-highlight-color: var(--touch-highlight);
            /* 确保子元素垂直分布 */
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        /* 产品图片容器优化（可选，确保A标签内布局整齐） */
        .product-item a img {
            /* 图片自适应A标签宽度 */
            flex-shrink: 0;
            margin-bottom: 12px !important; /* 覆盖原有margin，统一间距 */
        }

        /* 产品名称适配A标签布局 */
        .product-item a .product-item-name {
            /* 文字区域自动填充剩余空间 */
            flex-grow: 1;
            /* 确保文字垂直居中（可选） */
            display: flex;
            align-items: center;
            justify-content: center;
            /* 优化文字换行和行高 */
            line-height: 1.5;
            padding: 0 4px; /* 避免文字贴边 */
        }

        /* 卡片hover/active时，A标签文字颜色同步变化（增强交互） */
        .product-item:hover a .product-item-name,
        .product-item:active a .product-item-name {
            color: var(--accent-color); /* 同步GitBook橙色，突出选中态 */
        }


        /* ========== 自适应布局（移动端核心优化） ========== */
        /* 大屏（≥1200px）：单行5个 */
        @media screen and (max-width: 1200px) {
            .product-item {
                flex: 1 0 calc((100% / 4) - 20px);
                max-width: calc((100% / 4) - 20px);
            }
        }

        /* 中屏（≥992px）：单行3个 */
        @media screen and (max-width: 992px) {
            .product-item {
                flex: 1 0 calc((100% / 3) - 20px);
                max-width: calc((100% / 3) - 20px);
            }
        }

        /* 平板/手机（≤768px）：核心移动端优化 */
        @media screen and (max-width: 768px) {
            .book-container {
                flex-direction: column;
                max-width: 100%;
                box-shadow: none;
            }

            /* 移动端导航优化：默认收起，点击logo展开 */
            .book-nav {
                width: 100%;
                border-right: none;
                border-bottom: 1px solid var(--border-gray);
                padding: 15px 0;
                max-height: 60px; /* 默认仅显示logo */
                transition: max-height 0.3s ease;
            }
            /* 点击logo展开导航 */
            .book-nav.expanded {
                max-height: 500px;
            }


            .nav-logo {
                font-size: 18px;
                margin-bottom: 15px;
                padding-bottom: 15px;
                line-height: 30px;
            }

            .nav-group-title {
                font-size: 12px;
                padding-left: 15px;
                margin-bottom: 10px;
            }

            .nav-menu {
                margin-bottom: 15px;
            }

            .nav-menu a {
                padding: 8px 15px;
                font-size: 14px;
                min-height: 40px;
            }

            .nav-menu a:hover,
            .nav-menu a.active,
            .nav-menu a:active {
                padding-left: 12px;
            }

            /* 阅读区内边距大幅优化，适配手机屏幕 */

            .book-content {
                max-width: 100%;
                padding: 20px 15px;                
            }

            /* 移动端隐藏搜索框 */
            .search-box {
                display: none;
            }

            .search-inner {
                max-width: 100%;
                width: 100%;
            }

            .search-input, .search-btn {
                width: 100%;
                min-height: 48px; /* 更大的触摸区域 */
            }

            /* 移动端文字排版优化 */
            .content-title {
                font-size: 22px;
                margin-bottom: 20px;
                line-height: 1.4;
            }

            .content-subtitle, .related-products-title {
                font-size: 18px;
                margin: 25px 0 15px;
            }

            .content-paragraph {
                font-size: 15px;
                margin-bottom: 20px;
                line-height: 1.8;
            }

            /* 移动端产品图片优化 */
            .product-image {
                max-width: 100%;
                padding: 10px;
                margin-bottom: 20px;
            }

            /* 移动端产品卡片优化 */
            .product-list {
                gap: 15px; /* 减小间距，适配窄屏 */
                justify-content: center;
            }

            .product-item {
                flex: 1 0 calc((100% / 2) - 15px);
                max-width: calc((100% / 2) - 15px);
                min-width: 110px;
                padding: 12px;
                border-radius: 8px; /* 更大的圆角，更符合移动端审美 */
            }

            .product-item img {
                max-height: 100px;
                margin-bottom: 10px;
            }

            .product-item-name {
                font-size: 13px;
                -webkit-line-clamp: 2;
            }

            /* 移动端代码块字体缩小 */
            .content-code {
                font-size: 13px;
                padding: 15px 20px;
            }

            /* 移动端引用块内边距优化 */
            .content-quote {
                padding: 15px 18px;
                font-size: 14px;
            }
            .product-item a {
                /* 移动端增大点击区域的视觉反馈 */
                border-radius: 8px; /* 与卡片圆角一致 */
            }
            .product-item a .product-item-name {
                font-size: 13px;
                -webkit-line-clamp: 2; /* 保持2行文字截断 */
                line-height: 1.4; /* 移动端行高优化 */
            }
        }

        /* 超小屏手机（≤480px）：极致适配 */
        @media screen and (max-width: 480px) {
            .product-item {
                flex: 1 0 100%;
                max-width: 100%;
                min-width: unset;
                margin-bottom: 15px; /* 增加垂直间距 */
            }

            .product-item img {
                max-height: 150px; /* 单行列时放大图片 */
            }

            /* 超小屏面包屑字体缩小 */
            .breadcrumb {
                font-size: 12px;
                margin-bottom: 20px;
            }

            /* 超小屏标题进一步缩小 */
            .content-title {
                font-size: 20px;
            }
            .product-item a .product-item-name {
                font-size: 14px; /* 单行列时放大文字，提升可读性 */
                padding: 0 8px;
            }
        }
 /* ========== 上一页/下一页导航 ========== */
.prev-next {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0;
    padding: 20px 0;
    border-top: 1px solid var(--border-gray);
    border-bottom: 1px solid var(--border-gray);
    /* 核心：强制一行显示，禁止换行 */
    flex-wrap: nowrap; 
    gap: 15px;
    width: 100%;
}

.prev-btn, .next-btn {
    /* 核心：分配宽度，各自占比，确保一行 */
    flex: 1;
    min-width: 0; /* 关键：解除最小宽度限制，让文字截断生效 */
    max-width: calc(50% - 7.5px); /* 平分宽度，减去gap的一半 */
}
.next-btn{text-align: right;}
.page-nav-link {
    display: block; /* 改为block，方便截断 */
    text-decoration: none;
    color: var(--text-normal);
    font-size: 15px;
    padding: 10px 15px;
    border-radius: 4px;
    transition: all 0.2s ease-in-out;
    /* 移动端放大点击区域 */
    min-height: 44px;
    line-height: 24px;
    /* 核心：文字截断样式 */
    white-space: nowrap; /* 强制文字一行 */
    overflow: hidden; /* 隐藏溢出内容 */
    text-overflow: ellipsis; /* 溢出显示... */
    width: 100%; /* 宽度继承父元素 */
}

.page-nav-link:hover, .page-nav-link:active {
    color: var(--accent-color);
    background-color: var(--touch-highlight);
    box-shadow: 0 1px 3px rgba(244, 116, 33, 0.15);
}

/* 移动端适配（保留垂直排列，但仍保留文字截断） */
@media screen and (max-width: 768px) {
    .prev-next {
        margin: 25px 0;
        padding: 15px 0;
        flex-direction: column; /* 移动端还是垂直排列，更友好 */
        align-items: stretch;
        gap: 10px;
    }

    .prev-btn, .next-btn {
        max-width: 100%; /* 移动端占满宽度 */
        min-width: unset;
    }

    .page-nav-link {
        width: 100%;
        text-align: center;
        font-size: 14px;
        padding: 12px 10px;
        /* 移动端仍保留文字截断 */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* 超小屏适配 */
@media screen and (max-width: 480px) {
    .page-nav-link {
        font-size: 13px;
    }
}

/*END1*/
/* ========== 表格样式（与整体配色协调） ========== */

/* 基础表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 15px;
    color: var(--text-normal);
    background-color: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    /* 最小宽度保证内容不挤压，配合父容器滚动 */
    min-width: 700px;
}

/* 表头样式 */
thead tr {
    background-color: var(--bg-light-gray);
    border-bottom: 2px solid var(--border-gray);
}

th {
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
    padding: 16px 12px;
    white-space: nowrap;
    font-size: 14px;
    letter-spacing: 0.3px;
}

/* 单元格通用样式 */
td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--border-gray);
    vertical-align: middle;
}

/* 行悬停效果（桌面端） */
tbody tr:hover {
    background-color: var(--touch-highlight);
    transition: background-color 0.2s ease;
}

/* 表格内图片样式 */
td img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--border-gray);
    background-color: var(--bg-white);
    display: block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

/* 购买按钮样式（与 .buy-button 协调） */
.pur-btn {
    display: inline-block;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background-color: var(--accent-color);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    min-height: 38px;
    line-height: 22px;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(244, 116, 33, 0.1);
}

.pur-btn:hover,
.pur-btn:active {
    background-color: var(--accent-color-hover);
    box-shadow: 0 4px 8px rgba(244, 116, 33, 0.2);
    transform: translateY(-1px);
}

/* 平台标签公共样式 */
.tm-tag,
.tb-tag,
.jd-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    margin-left: 6px;
    vertical-align: middle;
    white-space: nowrap;
}

/* 天猫标签（柔和红） */
.tm-tag {
    background-color: #fef0f0;
    color: #e4393c;
    border: 1px solid rgba(228, 57, 60, 0.15);
}

/* 淘宝标签（柔和橙） */
.tb-tag {
    background-color: #fef7e8;
    color: #f40;
    border: 1px solid rgba(255, 68, 0, 0.15);
}

/* 京东标签（柔和红/蓝可根据偏好，这里采用京东红） */
.jd-tag {
    background-color: #fce9e9;
    color: #c81623;
    border: 1px solid rgba(200, 22, 35, 0.15);
}

/* 价格单元格字体加粗 */
td:nth-child(4) {
    font-weight: 500;
    color: var(--accent-color);
}

/* 购买链接单元格居中对齐 */
td:last-child {
    text-align: center;
}

/* 表头文字默认居左，但“购买链接”可居中对齐（可选） */
th:last-child {
    text-align: center;
}

/* 商品标题和商家名称单元格保留换行 */
td:nth-child(2),
td:nth-child(3) {
    word-break: break-word;
    max-width: 220px;
}

/* ========== 移动端适配 ========== */
@media screen and (max-width: 768px) {
    /* 保持表格横向滚动，但适当缩小单元格内边距和字号 */
    table {
        min-width: 620px; /* 稍小于桌面版，适应移动 */
        font-size: 14px;
    }

    th,
    td {
        padding: 10px 8px;
    }

    td img {
        width: 60px;
        height: 60px;
    }

    .pur-btn {
        padding: 6px 12px;
        font-size: 13px;
        min-height: 34px;
        line-height: 20px;
    }

    .tm-tag,
    .tb-tag,
    .jd-tag {
        padding: 2px 6px;
        font-size: 11px;
        margin-left: 4px;
    }

    /* 限制商品标题和商家名称最大宽度，避免拉伸 */
    td:nth-child(2),
    td:nth-child(3) {
        max-width: 160px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap; /* 移动端一行显示，节省空间 */
    }
}

@media screen and (max-width: 480px) {
    table {
        min-width: 560px; /* 更小屏幕仍保持可读 */
    }

    td img {
        width: 48px;
        height: 48px;
    }

    .pur-btn {
        padding: 5px 8px;
        font-size: 12px;
    }

    .tm-tag,
    .tb-tag,
    .jd-tag {
        padding: 1px 4px;
        font-size: 10px;
    }
}

/* ========== 新规格卡片样式（基于 div 结构） ========== */
/* 外层容器：恢复为普通段落样式，移除 flex 相关 */
/* 外层容器：使用段落作为容器，恢复普通块级样式 */
p.content-paragraph:has(.spec-item) {
    display: block;           /* 常规段落显示 */
    margin: 1.2em 0;          /* 与正文上下间距一致 */
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    line-height: 1.8;         /* 保持与正文相同的行高 */
}

/* 每个属性项：内联显示，无边框背景，无悬停效果 */
.spec-item {
    display: inline;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    box-shadow: none;
    transition: none;
}

/* 移除悬停效果（如果需要可保留，这里完全去除） */
.spec-item:hover {
    transform: none;
    border-color: transparent;
    box-shadow: none;
}

/* 属性标签：半粗体，使用深色 */
.spec-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: inherit;       /* 继承段落字体大小（通常16px） */
    margin-right: 0.2em;      /* 与值之间留一点空隙（冒号后自然间隔） */
}

/* 属性值：正常字重，使用标准文本色 */
.spec-value {
    font-weight: normal;
    color: var(--text-normal);
    font-size: inherit;
}

/* 在属性项后添加分隔符（竖线），最后一项无分隔符 */
.spec-item:not(:last-child)::after {
    content: " | ";           /* 使用竖线分隔，可根据喜好改为逗号 ", " */
    color: var(--border-gray); /* 使用边框灰色，柔和 */
    font-weight: normal;
    margin: 0 0.4em;          /* 分隔符左右留白 */
    white-space: pre;         /* 保留空格，确保分隔符前后有空格 */
}

/* 如果希望分隔符更紧凑，可以调整 margin 值或改用其他符号 */

/* 标签末尾已有冒号，无需额外处理；若需冒号后可加空格，已通过 .spec-label 的右边距实现 */

/* ========== 移动端优化 ========== */
@media screen and (max-width: 768px) {
    p.content-paragraph:has(.spec-item) {
        margin: 1em 0;
        line-height: 1.7;
    }

    .spec-item:not(:last-child)::after {
        margin: 0 0.3em;      /* 缩小间距，适应小屏 */
    }

    .spec-label,
    .spec-value {
        font-size: 15px;      /* 移动端可略缩小，保持可读 */
    }
}

@media screen and (max-width: 480px) {
    .spec-label,
    .spec-value {
        font-size: 14px;
    }

    .spec-item:not(:last-child)::after {
        content: " | ";       /* 仍使用竖线，或可改为逗号 */
        margin: 0 0.2em;
    }
}




/* 页脚整体美化 - 贴合工业品/施耐德品牌色系 */
.content-footer {
    /* 基础布局：居中+内边距+背景色（浅灰底色，贴合整体简约风格） */
    text-align: center;
    padding: 20px 15px;
    margin-top: 40px;
    
    border-top: 1px solid #f0e8e0; /* 浅分割线，增加层次感 */
    
    /* 文字样式：深灰主色，字号适中，行高舒适 */
    font-size: 14px;
    color: #4a5568; /* 深灰蓝，替代纯黑更柔和 */
    line-height: 1.8;
    
    /* 适配移动端 */
    width: 100%;
    box-sizing: border-box;
}

/* 备案号链接美化 */
.content-footer a {
    color: #4a5568; /* 施耐德品牌蓝/工业蓝，突出备案号且贴合色系 */
    text-decoration: none; /* 去掉默认下划线 */
    padding: 2px 6px;
    border-radius: 3px;
    transition: all 0.3s ease; /* 过渡动画，交互更丝滑 */
}

/* 链接hover效果 */
.content-footer a:hover {
    color: #ffffff; /* hover时文字变白 */
    color: #ff6600; /* 背景变品牌蓝 */
    text-decoration: none;
}

.price-card {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 14px 18px;
  gap: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
  margin-bottom: 20px;
}
.price-info {
  flex: 1;
}
.tag {
  display: inline-block;
  background: #fff2e8;
  color: #ff6700;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 6px;
}
.shop {
  margin: 8px 0;
  color: #666;
  font-size: 14px;
}
.price {
  display: flex;
  align-items: baseline;
}
.num {
  color: #ff6700;
  font-size: 22px;
  font-weight: 700;
}
.desc {
  margin-left: 6px;
  color: #999;
  font-size: 13px;
}
.buy-btn {
  background: #ff6700;
  color: #fff;
  border-radius: 6px;
  padding: 10px 18px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, transform .1s;
}
.buy-btn:hover {
  background: #ff7a29;
}
.buy-btn:active {
  transform: translateY(1px);
}

/* 响应式适配：移动端字号缩小 */
@media (max-width: 768px) {
    .content-footer {
        font-size: 12px;
        padding: 15px 10px;
    }
}