/* Cybrey 产品详情页 Key Specification 与 Specifications 表格样式
   自 product-detail-cybrey.html 模板内嵌样式抽出，独立文件管理；
   引入位置：newDetail_20250903_105010.css 之后、dark.css 之前（dark.css 在其后做深色覆盖） */

.n-specification-static-table {
        padding: 0 20px 20px;
    }
    .n-specification-scroll {
        overflow-x: auto;
        scrollbar-color: #8f8f8f #f1f3f6;
        scrollbar-width: thin;
    }
    .n-specification-image-table {
        width: 100%;
        min-width: 1080px;
        border-collapse: separate;
        border-spacing: 0;
        table-layout: fixed;
    }
    .n-specification-image-table th,
    .n-specification-image-table td {
        width: 250px;
        padding: 18px 24px!important;
        border-right: 2px solid #fff;
        border-bottom: 2px solid #fff;
        color: #343434;
        font-size: 14px;
        line-height: 1.45;
        text-align: left;
        vertical-align: middle;
        word-break: break-word;
    }
    .n-specification-image-table thead th {
        position: relative;
        height: 140px;
        padding: 15px 24px!important;
        background: #f7f8fa;
        text-align: center;
    }
    .n-specification-image-table thead th:first-child,
    .n-specification-image-table tbody th {
        width: 180px;
        font-weight: 700;
    }
    .n-specification-image-table thead img {
        display: block;
        width: 100px;
        height: 100px;
        margin: 12px auto 5px;
        cursor: pointer;
    }
    .n-specification-image-table thead strong {
        width: 100%;
        color: #252525;
        font-size: 14px;
        font-weight: 400;
        line-height: 1.25;
    }
    .n-specification-current {
        position: absolute;
        top: 12px;
        right: 8px;
        display: flex;
        align-items: center;
        width: 68px;
        height: 20px;
        color: #6f3bf2;
        background: #ede8ff;
        font-size: 12px;
        font-weight: 500;
        justify-content: center;
        border-radius: 2px;
    }
    .n-specification-current-icon {
        margin-right: 4px;
        width: 8px;
        height: 10px;
        background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAUCAYAAACEYr13AAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAOdEVYdFNvZnR3YXJlAEZpZ21hnrGWYwAAAY1JREFUeAGNVEFOwlAQnfk04lKXYkzKDXRnWdETgDfQvWI5gfUEgLAHb+ANxIUpO3oDqgmwdSmm/eOfEsjvp5C+TfvnvzeZNzMtggHvelmnEjVIQpOAbI4hQkgAYUmK5+7kLNL5qB8enUVHAnlwAAKw2wsq7Z0Erdp8SgSXUAg47gcVd50wFS+fiosZVOdq0wTKs00kfYMRqZhbKv+d9oNzJEhuEDDSCWyVtfhQmw+B4FYXK+FVd1z90QVefXYiV+XpprGpEaSeUE3IlE6AbVPM4Jik5C7DJWwI0/sgqLzBHljHcWiEbGGSuNR9CfIqE2Zz4l9r7zTune+mflb2QyEBPjJBFMO8KjgmwOroMbWdXwIoGRlcO1kdTT1n0dwIeb3NCawT4CjdxJazmJmXBRCpHammTTTHUwQohM/PNMFgcjEmkL2iYua+fJ69bhMwrHLs82dbQB8xd1uJfsO7LZHeD/QjKpFw9X8CmowDSXbEGQsbMEEQuvqCsbU8cW4F20rU/OOV5fM7e85bY8Y/LX+9VSJe//4AAAAASUVORK5CYII=") center / contain no-repeat;
    }
    .n-specification-drag-handle {
        display: block;
        position: absolute;
        top: 8px;
        left: 50%;
        height: 18px;
        width: 18px;
        transform: translateX(-50%);
        background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAOdEVYdFNvZnR3YXJlAEZpZ21hnrGWYwAAAS9JREFUeAHtlU1OAkEQhavGCRkTFxxhOIIujIMxgOgYaT2D3ABu4HiD4QZ4AlZCxERg4yReArwBiTu1p+wxUftHJXHDpr5NpyqvXldXOikAhmHWDP6UHN1mFxKhDoRL9GUqmvtPtmY4fqjlgO2/NIPBpFzaCjpEEALB9Owkul7ZwM1ddqmO5CtBsBBxVDEaHE3C3A/mhhFRvRVXZ4bXOJurG8JvL+qKuNrTNR44UNdqMSxeq6ekv9mxqz6moTG8f6wZlxfOqD3s9wZcpJTGpBCp7IgQl/AP3AbQS8wYFuenB1NTstF3y0qpHrcOd2dFrWmF6coGxNFez0NQnwv6KkxenoNtW1OYe29QocJQ6XKAhmjuOJ/Qe4XGp0aNvy2OoytgGMaCdwHvAt4FDMOsnXdW37fpOZ18OgAAAABJRU5ErkJggg==") center / contain no-repeat;
        cursor: grab;
    }
    .n-specification-drag-handle:active {
        cursor: grabbing;
    }
    body.n-specification-column-dragging,
    body.n-specification-column-dragging * {
        cursor: grabbing!important;
    }
    .n-specification-image-table thead th.n-specification-drop-target {
        box-shadow: inset 3px 0 #6f3bf2;
    }
    .n-specification-drag-preview {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9999;
        overflow: hidden;
        background: #fff;
        border: 1px solid #c6cedb;
        box-shadow: 0 2px 8px rgba(0, 0, 0, .24);
        pointer-events: none;
        transform: translate(-50%, -18px);
    }
    .n-specification-drag-preview .n-specification-image-table {
        width: 100%;
        min-width: 0;
    }
    .n-specification-drag-preview .n-specification-image-table th,
    .n-specification-drag-preview .n-specification-image-table td {
        width: auto;
    }
    .n-specification-image-table tbody tr:nth-child(even) th {
        background: #f7f8fa;
    }
    .n-specification-image-table tbody tr:nth-child(even) td {
        background: #f7f8fa;
    }
    @media screen and (min-width: 751px) {
        .n-specification-image-table thead th:first-child,
        .n-specification-image-table tbody th {
            position: sticky;
            left: 0;
            z-index: 1;
            background: #fff;
        }
        .n-specification-image-table thead th:first-child {
            z-index: 2;
            background: #f7f8fa;
        }
        .n-specification-image-table tbody tr:nth-child(even) th {
            background: #f7f8fa;
        }
    }
    .n-specification-image-table-name {
        text-decoration: underline;
        cursor: pointer;
    }
    .n-specification-image-table-name:hover {
        color: #6f3bf2;
    }
    @media screen and (max-width: 750px) {
        .n-specification-drag-handle {
            display: none;
        }
        .n-specification-static-table {
            padding: 20px 20px;
        }
        .n-specification-image-table thead tr,
        .n-specification-image-table tbody tr {
            display: grid;
            grid-template-columns: repeat(100, max-content);
        }
        .n-specification-image-table tbody tr {
            width: max-content;
            min-width: 100%;
        }
        .n-specification-image-table thead th:first-child {
            display: none;
        }
        .n-specification-image-table tbody th {
            position: sticky;
            left: 0;
            z-index: 1;
            grid-column: 1 / -1;
            background: #fff!important;
        }
        .n-specification-image-table thead th,
        .n-specification-image-table tbody td {
            background: #f7f8fa!important;
        }
    }

    /* 系列多品 Specifications 对比表（每级 level1 一张表格，表头第一列=一级分类，其余=产品型号）
       每张独立表格外套 .n-spec-level1-scroll 容器，可单独横向滚动（移动端各列至少 160px） */
    .n-spec-level1-scroll {
        margin: 10px 0 20px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-color: #8f8f8f #f1f3f6;
        scrollbar-width: thin;
    }
    .n-spec-level1-scroll .n-spec-level1-table {
        margin: 0;
    }
    .n-spec-level1-table {
        width: 100%;
        border-collapse: collapse;
        table-layout: fixed;
    }
    .n-spec-level1-table thead th {
        padding: 12px 16px;
        background: #f7f8fa;
        border: 1px solid #e5e7eb;
        color: #252525;
        font-size: 14px;
        font-weight: 600;
        text-align: left;
    }
    .n-spec-level1-table thead th:first-child {
        width: 28%;
    }
    .n-spec-level1-table tbody th,
    .n-spec-level1-table tbody td {
        padding: 12px 16px;
        border: 1px solid #e5e7eb;
        color: #343434;
        font-size: 14px;
        line-height: 1.5;
        text-align: left;
        vertical-align: middle;
        word-break: break-word;
    }
    .n-spec-level1-table tbody th {
        width: 28%;
        font-weight: 500;
        background: #fff;
        color: #6b7280;
    }
    .n-spec-level1-table tbody td {
        background: #fff;
        white-space: pre-line;
    }

    /* 系列多品 Specifications 规格大类标题（无背景，直接展示） */
    .n-spec-category-title {
        background: none;
        padding: 0;
        margin: 24px 0 12px;
    }
    .n-spec-category-title span {
        font-family: "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
        font-weight: 700;
        font-size: 16px;
        line-height: 1;
        letter-spacing: 0;
        color: #252525;
    }
    /* 移动端：Specifications 各独立表格单独左右滑动，每列宽度至少 160px */
    @media screen and (max-width: 750px) {
        .n-spec-level1-table {
            width: max-content;
            min-width: 100%;
            table-layout: auto;
        }
        .n-spec-level1-table thead th,
        .n-spec-level1-table thead th:first-child,
        .n-spec-level1-table tbody th,
        .n-spec-level1-table tbody td {
            width: auto;
            min-width: 160px;
        }
    }

@media screen and (min-width: 990px) {
    .containerCard-content--p--m {
        margin: 0 !important;
    }
}

@media screen and (max-width: 990px) {
    .spec-multi#specificationsContent {
        padding: 0 20px !important;
    }
    .spec-single#specificationsContent {
        padding: 0 !important;
    }
}

/* Specifications 内容区左右间距（全断点）：多品 0 20px、单品 0；
   分支 class 由模板输出（spec-multi / spec-single），第三分支（非SME原HTML内容）不处理 */
.spec-multi#specificationsContent {
    padding: 0 20px;
}
.spec-single#specificationsContent {
    padding: 0;
}
@media screen and (max-width: 990px) {
    .containerCard-content--p--m {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}