/* ============================================
   艾普仪器 全站公共样式表
   版本：3.0 | 蓝色主题 | 响应式 + 移动端优化
   ============================================ */

/* ===== 主题色变量（蓝色系） ===== */
:root {
    /* 主色系统 */
    --primary-dark: #1e3a5f;
    --primary: #2563eb;
    --primary-light: #eff6ff;
    --primary-lighter: #f0f9ff;
    --primary-border: #bfdbfe;
    --primary-bg-soft: #dbeafe;

    /* 页脚专用 */
    --footer-bg: #0f2744;
    --footer-accent: #60a5fa;
    --footer-text-light: #93c5fd;

    /* 文字色 */
    --text-primary: #1e2f3c;
    --text-secondary: #4a5b6e;
    --text-muted: #7f8c9a;
    --text-light: #9bb1c7;

    /* 背景 & 边框 */
    --bg-body: #f9fbfd;
    --bg-card: #ffffff;
    --bg-soft: #f3f7fc;
    --border-color: #eef2f8;
    --border-light: #e2e9f2;
    --border-lighter: #ecf3f9;
}

/* ===== 1. 全局重置 & 基础样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Roboto, "Helvetica Neue", system-ui, -apple-system, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ===== 2. 顶部导航区（Flex自适应布局） ===== */
.navbar {
    /*
       桌面端核心布局：Flex + justify-content:space-between
       三元素顺序：Logo | 主导航 | Search
       space-between算法：
         剩余空间 = 内宽 - Logo宽 - 主导航宽 - Search宽
         相邻间隙均分：Logo→主导航的间隙 = 主导航→Search的间隙 = 剩余空间/2
       → 数学上保证：导航正好位于Logo和Search正中间
       → 不脱离文档流，不变形，不溢出，navbar高度自然撑开
    */
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    padding: 16px 28px;
    margin: 24px 0 28px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e6edf7;
    box-shadow: 0 2px 12px rgba(30, 58, 95, 0.06), 0 1px 3px rgba(30, 58, 95, 0.04);
    overflow: visible;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: var(--primary-dark);
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.2s;
    text-decoration: none;
    /* Flex：space-between自动推到最左 */
    flex: 0 0 auto;
    align-self: center;
    min-width: 0;
}

.logo:hover {
    transform: translateY(-1px);
}

.logo i {
    font-size: 1.9rem;
    color: #fff;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #1e40af 100%);
    padding: 9px 11px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3), inset 0 1px 0 rgba(255,255,255,0.2);
    transition: all 0.25s ease;
    position: relative;
}

.logo i::after {
    content: '';
    position: absolute;
    top: -3px;
    right: -3px;
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #60a5fa, #93c5fd);
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(37, 99, 235, 0.3);
}

.logo:hover i {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 50%, #1e3a8a 100%);
    transform: rotate(-5deg) scale(1.06);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4), inset 0 1px 0 rgba(255,255,255,0.25);
}

.search-wrapper {
    /* Flex：space-between自动推到最右 */
    max-width: 320px;
    min-width: 240px;
    width: 320px;
    flex: 0 0 auto;
    align-self: center;
}

.search-box {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: 1.5px solid #dbe5f3;
    border-radius: 60px;
    padding: 8px 8px 8px 20px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(30, 58, 95, 0.04), inset 0 1px 0 rgba(255,255,255,0.9);
}

.search-box:focus-within {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1), 0 4px 16px rgba(37, 99, 235, 0.1);
    transform: translateY(-1px);
}

.search-box i {
    color: #7f8fa6;
    font-size: 0.95rem;
    margin-right: 10px;
    transition: color 0.2s;
}

.search-box:focus-within i {
    color: var(--primary);
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.92rem;
    background: transparent;
    font-family: inherit;
    color: var(--text-primary);
    padding: 5px 0;
}

.search-box input::placeholder {
    color: #a6b4c6;
}

.search-submit {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    border: none;
    padding: 8px 22px;
    border-radius: 60px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.28);
    position: relative;
    overflow: hidden;
}

.search-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    transition: left 0.4s ease;
}

.search-submit:hover::before {
    left: 100%;
}

.search-submit:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(37, 99, 235, 0.38);
}

.main-nav {
    /* Flex：space-between自动放到中间 */
    flex: 0 0 auto;
    align-self: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
    max-width: 100%;
    z-index: 2;
}

.nav-list {
    display: flex !important;
    flex-direction: row !important;
    list-style: none;
    gap: 6px;
    background: linear-gradient(135deg, #f5f9ff 0%, #eef4fc 100%);
    border-radius: 60px;
    padding: 6px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), inset 0 -1px 0 rgba(30, 58, 95, 0.04);
    border: 1px solid #e1eaf6;
    flex-wrap: nowrap !important;
    justify-content: center;
    align-items: center;
    width: auto;
    margin: 0 !important;
}

.nav-item {
    position: relative;
}

/* ---------- 桌面端（navbar横向布局 >992px）有效：仅.has-dropdown加底部padding桥接hover ---------- */
@media (min-width: 993px) {
    /* 桥接hover：用::after伪元素覆盖一级菜单底部到二级菜单顶部的间隙
       submenu现在紧贴 .nav-list 淡蓝色胶囊底部，桥接高度需覆盖：
       nav-link底部 → .nav-list胶囊底部(7px) + 2px视觉间距 ≈ 9px，留余量用13px */
    .nav-item.has-dropdown::after {
        content: '';
        position: absolute;
        left: -6px;
        right: -6px;
        top: 100%;
        height: 13px;
        background: transparent;
        z-index: 99;
        pointer-events: auto;
        display: block;
    }
}

/* ---------- 移动端/纵向布局（≤992px）：不需要padding和桥接伪元素，避免变形 ---------- */
@media (max-width: 992px) {
    .nav-item,
    .nav-item.has-dropdown {
        padding-bottom: 0 !important;
        padding-top: 0 !important;
    }
    .nav-item.has-dropdown::after {
        display: none !important;
        height: 0 !important;
    }
}

.nav-link {
    display: flex !important;
    align-items: center;
    gap: 7px;
    padding: 9px 22px;
    font-size: 0.92rem;
    font-weight: 500;
    color: #4a5d75;
    text-decoration: none;
    border-radius: 60px;
    transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
    background: transparent;
    letter-spacing: 0.2px;
    white-space: nowrap;
    position: relative;
}

.nav-link i {
    font-size: 0.85rem;
    color: #8c9bb0;
    transition: all 0.2s;
}

.nav-item:hover .nav-link {
    background: #ffffff;
    color: var(--primary);
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.12), 0 1px 3px rgba(0, 0, 0, 0.04);
    transform: translateY(-1.5px);
}

.nav-item:hover .nav-link i {
    color: var(--primary);
}

.nav-link.active {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.32), inset 0 1px 0 rgba(255,255,255,0.18);
    position: relative;
    overflow: hidden;
}

.nav-link.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    animation: navShine 3s ease-in-out infinite;
}

@keyframes navShine {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

.nav-link.active i {
    color: white;
}

.nav-item.has-dropdown .nav-link:after {
    content: " ▾";
    font-size: 0.6rem;
    font-weight: 600;
    margin-left: 5px;
    color: #8c9bb0;
    transition: all 0.2s;
    display: inline-block;
}

.nav-item.has-dropdown:hover .nav-link:after {
    transform: rotate(180deg);
    color: var(--primary);
}

.nav-item.has-dropdown .nav-link.active:after {
    color: rgba(255,255,255,0.85);
}

.submenu {
    position: absolute !important;
    /* 紧贴 .nav-list 淡蓝色胶囊的底部边框
       top: 100% → nav-link 底部（相对 .nav-item）
       +7px  = nav-link底部 → .nav-list胶囊底部（.nav-list padding-bottom:6px + border-bottom:1px ≈7px）
       +2px  = 视觉间距，让子菜单不贴死胶囊 */
    top: calc(100% + 9px);
    left: 50%;
    transform-origin: top center;
    transform: translateX(-50%) translateY(-6px);
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 20px 32px -12px rgba(15, 23, 42, 0.18), 0 8px 16px -8px rgba(15, 23, 42, 0.08);
    padding: 10px;
    min-width: 200px;
    max-width: 280px;
    width: max-content;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s cubic-bezier(0.2, 0.9, 0.4, 1.1),
                visibility 0.18s cubic-bezier(0.2, 0.9, 0.4, 1.1),
                transform 0.25s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    transition-delay: 0s, 0s, 0s;
    z-index: 200;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    margin: 0 !important;
}

/* 桥接hover：submenu自身向上延伸透明桥接区
   覆盖范围：nav-link底部(100%) → submenu顶部(100%+9px)，共9px+留余量 */
.submenu::before {
    content: '';
    position: absolute;
    left: -16px;
    right: -16px;
    top: -14px;
    height: 16px;
    background: transparent;
    pointer-events: auto;
    z-index: -1;
}

.nav-item:hover .submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition: opacity 0.15s ease-out,
                visibility 0.15s ease-out,
                transform 0.22s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.submenu li {
    width: 100%;
    list-style: none;
}

.submenu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
    border-radius: 16px;
}

.submenu a i {
    width: 22px;
    font-size: 0.9rem;
    color: #94a3b8;
    text-align: center;
    transition: all 0.2s;
}

.submenu a:hover {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: var(--primary);
    padding-left: 22px;
}

.submenu a:hover i {
    color: var(--primary);
    transform: translateX(1px);
}

/* ===== 3. 面包屑导航（卡片式美化） ===== */
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    padding: 12px 20px;
    margin: 0 0 24px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e6edf7;
    box-shadow: 0 2px 8px rgba(30, 58, 95, 0.04);
    font-size: 0;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.25s ease;
}

.breadcrumb a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 30px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    line-height: 1.4;
    font-size: 0.82rem;
    margin: 0 4px;
}

.breadcrumb a:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: transparent;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.12);
}

.breadcrumb a:not(:last-of-type)::after {
    content: '/';
    margin-left: 8px;
    color: #c9d3df;
    font-size: 0.7rem;
    font-weight: 400;
}

.breadcrumb a:last-of-type {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: var(--primary);
    border-color: transparent;
    font-weight: 600;
}

.breadcrumb a:last-of-type::after {
    display: none;
}

/* ===== 4. 列表页头部 ===== */
.list-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 18px;
}

.list-title {
    display: flex;
    align-items: center;
    gap: 14px;
}

.list-title i {
    font-size: 2rem;
    color: var(--primary-dark);
    background: #eef3fc;
    padding: 12px;
    border-radius: 24px;
}

.list-title h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f2e3c;
}

.list-sub {
    background: var(--bg-card);
    padding: 6px 18px;
    border-radius: 60px;
    font-size: 0.85rem;
    color: var(--primary-dark);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.list-sub i {
    color: var(--primary);
}

/* ===== 5. 通用区块标题 ===== */
.section-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: #1f2e3a;
    margin: 48px 0 28px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 5px solid var(--primary);
    padding-left: 20px;
    line-height: 1.3;
}

.section-title i {
    color: var(--primary);
    font-size: 1.5rem;
}

/* ===== 6. 产品网格 & 产品卡片 ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 56px;
}

.product-card {
    background: var(--bg-card);
    border-radius: 28px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-lighter);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-border);
}

.product-img {
    aspect-ratio: 600 / 450;
    background-size: cover;
    background-position: center;
    background-color: #f0f4fa;
    transition: transform 0.4s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: block;
}

/* 产品图片区两种写法都兼容：背景图 / <img> 标签 */
.product-img img,
.product-img a {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}
.product-img img {
    object-fit: cover;
    object-position: center;
}

.product-card:hover .product-img {
    transform: scale(1.03);
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 5px 12px;
    border-radius: 30px;
    border: 1.5px solid #fff;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.35);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.product-badge::before {
    content: '';
    width: 5px;
    height: 5px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(255,255,255,0.8);
}

.product-card:hover .product-badge {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 5px 16px rgba(37, 99, 235, 0.45);
}

.product-info {
    padding: 18px 20px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
    line-height: 1.35;
}

.product-info .desc {
    font-size: 0.88rem;
    color: #60758b;
    line-height: 1.5;
    flex: 1;
}

.product-title-link {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.25s ease, background-size 0.3s ease;
    background: linear-gradient(to right, var(--primary), var(--primary));
    background-size: 0% 2px;
    background-repeat: no-repeat;
    background-position: left bottom;
    padding-bottom: 2px;
}

.product-card:hover .product-title-link {
    color: var(--primary);
    background-size: 100% 2px;
}

/* ===== 7. 主按钮样式 ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--primary);
    color: white;
    padding: 12px 32px;
    border-radius: 56px;
    font-weight: 600;
    transition: all 0.25s ease;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    color: white;
    padding: 11px 30px;
    border-radius: 56px;
    font-weight: 500;
    transition: all 0.25s ease;
    text-decoration: none;
    font-size: 0.95rem;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    transform: translateY(-2px);
}

/* ===== 8. 侧边栏分类（通用） ===== */
.sidebar-categories,
.news-sidebar {
    background: #fff;
    border-radius: 28px;
    padding: 24px 20px;
    border: 1px solid #edf2f9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    position: sticky;
    top: 20px;
    height: fit-content;
}

.sidebar-block {
    margin-bottom: 28px;
}

.sidebar-block:last-child {
    margin-bottom: 0;
}

.sidebar-block h4,
.sidebar-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-block h4 i,
.sidebar-title i {
    color: var(--primary);
    font-size: 1.1rem;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    list-style: none;
}

.category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 16px;
    transition: all 0.25s ease;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
}

.category-item .cat-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-item .cat-left i {
    width: 24px;
    font-size: 1rem;
    color: #8c9bb0;
}

.category-item .cat-count {
    font-size: 0.7rem;
    background: #eef2f9;
    padding: 2px 8px;
    border-radius: 30px;
    color: #6b7c8f;
}

.category-item:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.category-item.active {
    background: var(--primary-light);
    border-left: 3px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
}

.category-item.active .cat-left i {
    color: var(--primary);
}

.category-item.active .cat-count {
    background: var(--primary-bg-soft);
    color: var(--primary);
}

/* 推荐阅读列表 */
.recommend-list {
    list-style: none;
}

.recommend-list li {
    margin-bottom: 4px;
}

.recommend-list a {
    display: flex;
    gap: 10px;
    align-items: center;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 10px 14px;
    border-radius: 16px;
    transition: background 0.2s;
}

.recommend-list a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.recommend-list i {
    color: var(--primary);
    font-size: 0.7rem;
    opacity: 0.7;
}

/* 标签云 */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 4px;
}

.tag-cloud a {
    background: var(--bg-soft);
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.tag-cloud a:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}

/* ===== 9. 产品标签区（通用） ===== */
.product-tags-section {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.tags-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.tags-prefix {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    padding: 8px 18px 8px 16px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
    line-height: 1.4;
}

.tags-prefix i {
    font-size: 0.9rem;
    color: var(--primary);
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    display: inline-block;
    background: var(--bg-soft);
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.82rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    line-height: 1.5;
}

.tag-item:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}

/* ===== 10. 分页 ===== */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    padding: 16px 0;
    margin: 16px 0 56px;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 10px 20px;
    border-radius: 80px;
    border: 1px solid #edf2f9;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination a,
.pagination span,
.page-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-dark);
    text-decoration: none;
    transition: all 0.2s;
    background: transparent;
    border: 1px solid transparent;
}

.pagination a:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary-border);
}

.pagination a.active-page,
.page-item.active {
    background: var(--primary-dark);
    color: #fff;
    border-color: var(--primary-dark);
    box-shadow: 0 2px 6px rgba(30, 58, 95, 0.15);
    cursor: default;
}

.page-arrow {
    font-size: 0.8rem;
}

.page-dots {
    color: #9aadc2;
    padding: 0 4px;
}

/* ===== 11. 双栏布局（通用） ===== */
.two-column-layout,
.news-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    margin: 20px 0 48px;
    align-items: flex-start;
}

.news-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* ===== 12. 标签样式（通用） ===== */
.news-tag {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 30px;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    margin-right: 6px;
    vertical-align: middle;
    line-height: 1.5;
}

/* ===== 13. 资讯卡片（通用） ===== */
.info-card {
    background: var(--bg-card);
    border-radius: 28px;
    padding: 28px 28px 24px;
    border: 1px solid var(--border-lighter);
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 310px;
    overflow: hidden;
}

.info-card:hover {
    border-color: var(--primary-border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.card-header {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 4px solid var(--primary);
    padding-left: 16px;
    color: var(--primary-dark);
    flex-shrink: 0;
    line-height: 1.35;
}

.card-header i {
    color: var(--primary);
    font-size: 1.05rem;
}

/* ===== 14. 新闻列表（通用） ===== */
.news-list {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    gap: 6px;
    min-height: 0;
}

.news-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border-bottom: 1px solid #f0f4fa;
    padding: 10px 0;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.news-item:first-child {
    padding-top: 0;
}

.news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-date {
    min-width: 56px;
    background: var(--bg-soft);
    border-radius: 24px;
    padding: 4px 10px;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-dark);
    flex-shrink: 0;
    line-height: 1.6;
    height: fit-content;
    margin-top: 3px;
}

.news-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.news-title {
    font-weight: 600;
    color: #1f2e3a;
    margin-bottom: 3px;
    font-size: 0.95rem;
    transition: color 0.2s;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-title:hover {
    color: var(--primary);
}

.news-title a {
    color: inherit;
    text-decoration: none;
}

.news-title a:hover {
    color: var(--primary);
}

.news-summary {
    font-size: 0.82rem;
    color: #7a93ac;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 2px;
}

.news-meta {
    margin-top: 4px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

/* ===== 15. 右侧文章列表（通用） ===== */
.side-article-item {
    display: flex;
    gap: 12px;
    align-items: center;
    border-bottom: 1px solid #f0f4fa;
    padding: 10px 0;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.side-article-item:first-child {
    padding-top: 0;
}

.side-article-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.side-icon {
    width: 34px;
    height: 34px;
    background: var(--bg-soft);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--primary-dark);
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.side-article-item:hover .side-icon {
    background: var(--primary-light);
    color: var(--primary);
}

.side-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.side-content h4 {
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 2px;
    color: #1f2e3a;
    transition: color 0.2s;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.side-content h4:hover {
    color: var(--primary);
}

.side-content h4 a {
    color: inherit;
    text-decoration: none;
}

.side-content h4 a:hover {
    color: var(--primary);
}

.side-meta {
    font-size: 0.75rem;
    color: #8da3b8;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 2px;
    line-height: 1.5;
}

.side-meta span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

/* ===== 16. 页脚 ===== */
.footer {
    background-color: var(--footer-bg);
    color: #e1ecf5;
    margin-top: 48px;
    padding: 48px 0 32px;
    border-top-left-radius: 32px;
    border-top-right-radius: 32px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-brand {
    flex: 1;
    min-width: 200px;
}

.footer-brand .logo-footer {
    font-size: 1.7rem;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-brand p {
    font-size: 0.88rem;
    color: #bfd3e6;
    margin-top: 10px;
    line-height: 1.6;
}

.qr-code-section {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(2px);
    border-radius: 32px;
    padding: 16px 20px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(37, 99, 235, 0.35);
    min-width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.qr-code-section:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-4px);
}

.qr-title {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--footer-text-light);
    background: rgba(30, 58, 95, 0.6);
    display: inline-block;
    padding: 4px 14px;
    border-radius: 40px;
    margin-bottom: 12px;
}

.qr-image-wrapper {
    width: 100%;
    max-width: 110px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 6px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.qr-code-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    background: #fff;
    transition: transform 0.2s ease;
}

.qr-subtext {
    font-size: 0.65rem;
    color: #c9deef;
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
}

.footer-info {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    flex: 2;
    justify-content: flex-end;
    align-items: flex-start;
}

.info-block {
    min-width: 150px;
}

.info-block h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #f3f7fc;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.4;
}

.info-block p {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 8px;
    color: #cbdbe2;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-block p i {
    width: 20px;
    font-size: 0.8rem;
    color: var(--footer-accent);
}

.copyright {
    text-align: center;
    margin-top: 44px;
    padding-top: 24px;
    border-top: 1px solid #2f3e4c;
    font-size: 0.78rem;
    color: #9bb1c7;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    line-height: 1.5;
}

.copyright-text {
    margin: 0;
}

.icp-info a {
    color: #9bb1c7;
    text-decoration: none;
    transition: color 0.2s ease;
}

.icp-info a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* ===== 17. 响应式 ===== */
@media (max-width: 1200px) {
    .navbar {
        padding: 12px 20px;
    }

    .search-wrapper {
        max-width: 260px;
        min-width: 200px;
        width: 260px;
        flex: 0 0 auto;
    }

    .search-box {
        padding: 7px 7px 7px 16px;
    }

    .search-submit {
        padding: 7px 16px;
        font-size: 0.82rem;
    }

    .nav-link {
        padding: 8px 16px;
        font-size: 0.88rem;
    }
}

@media (max-width: 992px) {
    .product-grid,
    .products-grid,
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .two-column-layout,
    .news-layout {
        grid-template-columns: 240px 1fr;
        gap: 32px;
    }

    /* 992px以下：从Grid三栏切换到Flex纵向布局 */
    .navbar {
        display: flex !important;
        grid-template-columns: none !important;
        padding: 14px 16px;
        margin: 18px 0 22px;
        border-radius: 18px;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .logo {
        font-size: 1.4rem;
        justify-content: center;
        justify-self: stretch !important;
    }

    .logo i {
        font-size: 1.5rem;
        padding: 7px 9px;
    }

    .search-wrapper {
        max-width: 100%;
        min-width: 0;
        width: 100%;
        justify-self: stretch !important;
    }

    /* 统一高度：导航胶囊 ≈ 搜索框 ≈ 46px */
    .search-box {
        padding: 7px 7px 7px 14px;
        border-width: 1px;
    }

    .search-submit {
        padding: 8px 18px;
        font-size: 0.85rem;
    }

    .search-box input {
        padding: 6px 0;
        font-size: 0.9rem;
    }

    .main-nav {
        width: 100%;
        max-width: 100%;
        align-self: stretch;
    }

    .nav-list {
        gap: 4px;
        padding: 4px;
        width: 100%;
        justify-content: center;
    }

    .nav-link {
        padding: 9px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .navbar {
        padding: 12px 14px;
        margin: 14px 0 18px;
        border-radius: 16px;
        gap: 8px;
    }

    .logo {
        font-size: 1.3rem;
    }

    .logo i {
        font-size: 1.35rem;
        padding: 6px 8px;
    }

    /* 统一高度：导航胶囊 ≈ 搜索框 ≈ 40px */
    .search-box {
        padding: 5px 5px 5px 12px;
        border-width: 1px;
    }

    .search-submit {
        padding: 7px 14px;
        font-size: 0.8rem;
    }

    .search-box input {
        padding: 5px 0;
        font-size: 0.85rem;
    }

    .nav-list {
        gap: 2px;
        padding: 3px;
    }

    .nav-link {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .nav-link i {
        display: none;
    }

    .nav-item.has-dropdown .nav-link:after {
        margin-left: 3px;
        font-size: 0.55rem;
    }

    .submenu {
        min-width: 160px;
        max-width: 250px;
        left: 50%;
        transform: translateX(-50%) translateY(-12px);
    }

    .submenu a {
        padding: 8px 18px;
        font-size: 0.82rem;
    }

    .two-column-layout,
    .news-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .sidebar-categories,
    .news-sidebar {
        position: static;
        width: 100%;
        padding: 20px;
    }

    .product-grid,
    .products-grid,
    .featured-grid {
        grid-template-columns: 1fr;
    }

    .info-card {
        min-height: auto;
    }

    .breadcrumb {
        padding: 10px 14px;
        gap: 0;
        font-size: 0;
        border-radius: 12px;
        margin: 0 0 16px;
    }

    .breadcrumb a {
        font-size: 0.76rem;
        padding: 3px 8px;
        margin: 0 3px;
    }

    .breadcrumb a:not(:last-of-type)::after {
        margin-left: 6px;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-info {
        justify-content: center;
    }

    .info-block {
        text-align: center;
    }

    .info-block p {
        justify-content: center;
    }

    .pagination {
        padding: 8px 12px;
        gap: 6px;
    }

    .pagination a,
    .pagination span,
    .page-item {
        min-width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        /* 从桌面端三列Grid切换到纵向Flex布局 */
        display: flex !important;
        grid-template-columns: none !important;
        padding: 12px 14px;
        gap: 8px;
        border-radius: 16px;
        margin: 12px 0 16px;
        justify-content: flex-start !important;
        flex-direction: column;
        align-items: stretch;
    }

    .logo {
        font-size: 1.2rem;
        padding: 0 !important;
        margin: 0 !important;
        flex: 0 0 auto !important;
        width: 100%;
        justify-content: center;
        /* 清除Grid布局属性 */
        grid-column: auto !important;
        justify-self: stretch !important;
    }

    .logo i {
        font-size: 1.2rem;
        padding: 5px 7px;
    }

    .search-wrapper {
        margin: 0 !important;
        padding: 0 !important;
        /* 纵向flex布局下：清除桌面端的margin-left:auto，避免右端错位 */
        margin-left: 0 !important;
        /* 纵向flex布局下flex-basis会变成高度，必须清除 */
        flex: 0 0 auto !important;
        flex-basis: auto !important;
        height: auto !important;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        /* 清除Grid布局属性 */
        grid-column: auto !important;
        justify-self: stretch !important;
    }

    .main-nav {
        margin: 0 !important;
        padding: 0 !important;
        /* 纵向flex布局下：恢复正常文档流，清除绝对定位 */
        position: static !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        /* 纵向flex布局下flex-grow:1会让导航栏膨胀占满多余空间 */
        flex: 0 0 auto !important;
        flex-basis: auto !important;
        height: auto !important;
        width: 100%;
        max-width: 100%;
        /* 清除Grid布局属性 */
        grid-column: auto !important;
        justify-self: stretch !important;
    }

    /* 统一高度：导航胶囊 ≈ 搜索框 ≈ 36px */
    .search-box {
        padding: 4px 4px 4px 10px;
        border-width: 1px;
    }

    .search-submit {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .search-box input {
        padding: 4px 0;
        font-size: 0.8rem;
    }

    .nav-list {
        gap: 2px;
        padding: 2px;
    }

    .nav-link {
        padding: 8px 10px;
        font-size: 0.73rem;
        border-radius: 40px;
    }

    .submenu {
        min-width: 140px;
    }

    .submenu a {
        padding: 6px 14px;
        font-size: 0.78rem;
    }

    .bc-home span {
        display: none;
    }

    .bc-home i {
        margin-right: 0;
    }

    .breadcrumb {
        gap: 0;
        padding: 8px 12px;
        font-size: 0;
        border-radius: 10px;
        margin: 0 0 14px;
    }

    .breadcrumb a {
        font-size: 0.7rem;
        padding: 3px 7px;
        margin: 0 2px;
    }

    .breadcrumb a:not(:last-of-type)::after {
        margin-left: 4px;
    }

    .bc-sep {
        font-size: 0.4rem;
    }

    .list-title h1 {
        font-size: 1.4rem;
    }

    .list-title i {
        font-size: 1.5rem;
        padding: 10px;
        border-radius: 20px;
    }

    .section-title {
        font-size: 1.4rem;
        margin: 32px 0 20px 0;
    }
}
.detail-text table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 24px 0;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(30, 58, 95, 0.08);
    font-size: 0.9rem;
}

.detail-text table tr:first-child td {
    background: linear-gradient(135deg, #e8f0fa 0%, #dce8f8 100%);
    color: #1a3352;
    font-weight: 700;
    padding: 14px 16px;
    text-align: center;
    letter-spacing: 0.5px;
    font-size: 0.92rem;
    border-bottom: 2px solid #b8cfee;
    text-transform: none;
    border-top: 2px solid #d0dcee;
    border-left: 2px solid #d0dcee;
    border-right: 2px solid #d0dcee;
}

.detail-text table tr:first-child td:first-child {
    border-top-left-radius: 18px;
}

.detail-text table tr:first-child td:last-child {
    border-top-right-radius: 18px;
}

.detail-text table tr:not(:first-child) td {
    padding: 13px 16px;
    border-bottom: 1px solid #e8edf5;
    text-align: center;
    color: #3d4f63;
    line-height: 1.6;
    vertical-align: middle;
    word-break: break-word;
    font-size: 0.9rem;
    border-left: 2px solid #d0dcee;
    border-right: 2px solid #d0dcee;
}

.detail-text table tr:not(:first-child):hover td {
    background: #eef4fc;
}

.detail-text table tr:not(:first-child) td:first-child {
    font-weight: 600;
    color: #1d56d6;
}

.detail-text table tr:nth-child(even):not(:first-child) td {
    background: #f5f8fc;
}

.detail-text table tr:nth-child(even):not(:first-child):hover td {
    background: #eef4fc;
}

.detail-text table tr:last-child td {
    border-bottom: 2px solid #d0dcee;
}

.detail-text table tr:last-child td:first-child {
    border-bottom-left-radius: 18px;
}

.detail-text table tr:last-child td:last-child {
    border-bottom-right-radius: 18px;
}

.detail-text table tr:not(:last-child) td {
    border-bottom-color: #e8edf5;
}

@media (max-width: 768px) {
    .detail-text table,
    .detail-text table tbody,
    .detail-text table tr,
    .detail-text table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .detail-text table {
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
        margin: 16px 0 !important;
        overflow: visible !important;
    }

    .detail-text table tr:first-child {
        position: absolute;
        top: -9999px;
        left: -9999px;
        visibility: hidden;
    }

    .detail-text table tr:not(:first-child) {
        margin-bottom: 18px;
        border: 1.5px solid #c5d4e8;
        border-radius: 16px;
        background: #ffffff;
        box-shadow: 0 2px 12px rgba(30, 58, 95, 0.06);
        overflow: hidden;
    }

    .detail-text table tr:not(:first-child):hover {
        transform: translateY(-2px);
        box-shadow: rgba(29, 86, 214, 0.12) 0px 8px 20px;
        border-color: #b8cfee;
    }

    .detail-text table tr:not(:first-child) td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 16px;
        border-bottom: 1px dashed #e2ebf5;
        text-align: right;
        background: transparent;
        color: #3d4f63;
        font-weight: normal;
        font-size: 0.88rem;
        min-height: 42px;
    }

    .detail-text table tr:not(:first-child) td:last-child {
        border-bottom: none;
    }

    .detail-text table tr:not(:first-child) td:first-child {
        background: #e8f0fa;
        font-weight: 700;
        color: #1a3352;
        font-size: 0.95rem;
        padding-top: 14px;
        padding-bottom: 14px;
        border-bottom: 2px solid #c5d8ef;
    }

    .detail-text table tr:not(:first-child) td[data-label]::before {
        content: attr(data-label);
        font-weight: 600;
        color: #1a3352;
        text-align: left;
        flex-shrink: 0;
        margin-right: 16px;
        white-space: nowrap;
    }

    .detail-text table tr:not(:first-child) td:first-child[data-label]::before {
        color: #1d56d6;
    }
}

@media (max-width: 480px) {
    .detail-text table tr:not(:first-child) td {
        padding: 9px 14px;
        font-size: 0.85rem;
    }

    .detail-text table tr:not(:first-child) td:first-child {
        padding-top: 12px;
        padding-bottom: 12px;
        font-size: 0.9rem;
    }
}

.product-info-panel table,
.detail-text table,
.detail-card table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    margin: 24px 0 !important;
    background: #ffffff !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 12px rgba(30, 58, 95, 0.06) !important;
    border: 1.5px solid #c5d4e8 !important;
    font-size: 0.9rem !important;
}

.product-info-panel table tr td,
.product-info-panel table tr th,
.detail-text table tr td,
.detail-text table tr th {
    border-top: none !important;
    border-right: none !important;
    padding: 11px 14px !important;
    text-align: center !important;
    color: #3d4f63 !important;
    line-height: 1.55 !important;
    vertical-align: middle !important;
    word-break: break-word !important;
    font-size: 0.88rem !important;
}

.product-info-panel table tr:first-child td,
.product-info-panel table tr:first-child th,
.detail-text table tr:first-child td,
.detail-text table tr:first-child th {
    background: linear-gradient(135deg, #e8f0fa 0%, #dce8f8 100%) !important;
    color: #1a3352 !important;
    font-weight: 700 !important;
    padding: 12px 14px !important;
    letter-spacing: 0.3px !important;
    font-size: 0.9rem !important;
    border-bottom: 1px solid #b8cfee !important;
    border-left: 1px solid #e8edf5 !important;
    line-height: 1.5 !important;
}

.product-info-panel table tr:first-child td:first-child,
.product-info-panel table tr:first-child th:first-child,
.detail-text table tr:first-child td:first-child,
.detail-text table tr:first-child th:first-child {
    border-left: none !important;
    border-top-left-radius: 14px !important;
}

.product-info-panel table tr:first-child td:last-child,
.product-info-panel table tr:first-child th:last-child,
.detail-text table tr:first-child td:last-child,
.detail-text table tr:first-child th:last-child {
    border-top-right-radius: 14px !important;
}

.product-info-panel table tr:not(:first-child) td,
.detail-text table tr:not(:first-child) td {
    border-left: 1px solid #e8edf5 !important;
    border-bottom: 1px solid #e8edf5 !important;
    background: transparent !important;
}

.product-info-panel table tr:not(:first-child) td:first-child,
.detail-text table tr:not(:first-child) td:first-child {
    border-left: none !important;
    font-weight: 600 !important;
    color: #1d56d6 !important;
}

.product-info-panel table tr:nth-child(even):not(:first-child) td,
.detail-text table tr:nth-child(even):not(:first-child) td {
    background: #f5f8fc !important;
}

.product-info-panel table tr:last-child td,
.detail-text table tr:last-child td {
    border-bottom: none !important;
}

.product-info-panel table tr:last-child td:first-child,
.detail-text table tr:last-child td:first-child {
    border-bottom-left-radius: 14px !important;
}

.product-info-panel table tr:last-child td:last-child,
.detail-text table tr:last-child td:last-child {
    border-bottom-right-radius: 14px !important;
}

/* 移动端表格卡片化：移除外层边框，只保留行卡片 */
@media (max-width: 768px) {
    .detail-text table,
    .product-info-panel table,
    .detail-card table {
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
        margin: 16px 0 !important;
        overflow: visible !important;
    }

    .detail-text table,
    .detail-text table tbody,
    .detail-text table tr,
    .detail-text table td {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .detail-text table td,
    .detail-text table th {
        border-radius: 0 !important;
        border-top-left-radius: 0 !important;
        border-top-right-radius: 0 !important;
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }

    .detail-text table tr:first-child {
        position: absolute !important;
        top: -9999px !important;
        left: -9999px !important;
        visibility: hidden !important;
    }

    .detail-text table tr:not(:first-child) {
        margin-bottom: 18px !important;
        border: 1.5px solid #c5d4e8 !important;
        border-radius: 16px !important;
        background: #ffffff !important;
        box-shadow: 0 2px 12px rgba(30, 58, 95, 0.06) !important;
        overflow: hidden !important;
    }

    .detail-text table tr:not(:first-child):hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 20px rgba(29, 86, 214, 0.12) !important;
        border-color: #b8cfee !important;
    }

    .detail-text table tr:not(:first-child) td {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 10px 16px !important;
        border-bottom: 1px dashed #e2ebf5 !important;
        border-left: none !important;
        border-radius: 0 !important;
        border-top-left-radius: 0 !important;
        border-top-right-radius: 0 !important;
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
        text-align: right !important;
        background: transparent !important;
        color: #3d4f63 !important;
        font-weight: normal !important;
        font-size: 0.88rem !important;
        min-height: 42px !important;
    }

    .detail-text table tr:not(:first-child) td:last-child {
        border-bottom: none !important;
    }

    .detail-text table tr:not(:first-child) td:first-child {
        background: #e8f0fa !important;
        font-weight: 700 !important;
        color: #1a3352 !important;
        font-size: 0.95rem !important;
        padding-top: 14px !important;
        padding-bottom: 14px !important;
        border-bottom: 2px solid #c5d8ef !important;
        border-left: none !important;
    }

    .detail-text table tr:last-child td:first-child,
    .detail-text table tr:last-child td:last-child {
        border-radius: 0 !important;
        border-top-left-radius: 0 !important;
        border-top-right-radius: 0 !important;
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }

    .detail-text table tr:nth-child(even):not(:first-child) td {
        background: transparent !important;
    }

    .detail-text table tr:not(:first-child) td[data-label]::before {
        content: attr(data-label) !important;
        font-weight: 600 !important;
        color: #1a3352 !important;
        text-align: left !important;
        flex-shrink: 0 !important;
        margin-right: 16px !important;
        white-space: nowrap !important;
    }

    .detail-text table tr:not(:first-child) td:first-child[data-label]::before {
        color: #1d56d6 !important;
    }
}

@media (max-width: 480px) {
    .detail-text table tr:not(:first-child) td {
        padding: 9px 14px !important;
        font-size: 0.85rem !important;
    }

    .detail-text table tr:not(:first-child) td:first-child {
        padding-top: 12px !important;
        padding-bottom: 12px !important;
        font-size: 0.9rem !important;
    }
}

/* Footer链接样式统一 */
.footer a {
    color: inherit !important;
    text-decoration: none !important;
    border-bottom: 1px dashed rgba(255,255,255,0.3) !important;
    transition: all 0.3s ease !important;
}
.footer a:hover {
    color: #93c5fd !important;
    border-bottom-color: #93c5fd !important;
}