/* ==========================================================================
   全局变量与基础样式 (公用)
   Global Variables & Base Styles
   ========================================================================== */
:root {
    --c-primary: #0a4b9c;/* 亮科技蓝 */ 
    --text-hover: #b32400;/* 亮橙色 */ 
    
    --c-accent: #0088ff;/* 亮青蓝 */ 
    --c-text: #333333;
    --c-text-light: #666666;
    --c-bg: #ffffff;
    --c-bg-light: #f4f7fb;
    --c-border: #eaeef3;
    --c-mobile-nav: #161a23;/* 移动端导航保留深色 */ 
    --h-header: 70px;
    --h-header-mobile: 60px;
    --trans-fast: 0.2s ease;
    --trans-normal: 0.3s ease;
    --trans-slow: 0.5s ease;}
    * {margin: 0; padding: 0; box-sizing: border-box; 
}
body {font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif; color: var(--c-text); background-color: var(--c-bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a {text-decoration: none; color: inherit; transition: var(--trans-normal); }
ul,ol {list-style: none; }
img {max-width: 100%; height: auto; display: block; }
.container {max-width: 1200px; margin: 0 auto; padding: 0 15px; }
/* 减小全局 section 间距 */
.section {padding: 60px 0;}
.text-center {text-align: center; }
/* ==========================================================================
   排版与按钮样式 (公用)
   Typography & Buttons
   ========================================================================== */
.modern-title {margin-bottom: 40px;}
.modern-title .super-title {font-size: 13px; color: var(--c-accent); letter-spacing: 2px; margin-bottom: 8px; font-weight: 600; text-transform: uppercase; }
.modern-title h2 {font-size: 34px; font-weight: 700; color: #222; letter-spacing: 1px; margin-bottom: 12px; }
.modern-title h2 span {color: var(--c-primary); position: relative; }
.modern-title h2 span::after {content: ''; position: absolute; left: 0; bottom: 5px; width: 100%; height: 8px; background: rgba(0, 136, 255, 0.15); z-index: -1; }
.modern-title p {font-size: 15px; color: var(--c-text-light); max-width: 600px; }
.modern-title.text-center p {margin: 0 auto; }
.btn-tech {display: inline-flex; align-items: center; justify-content: center; padding: 12px 28px; border-radius: 30px; font-size: 15px; font-weight: 600; cursor: pointer; transition: var(--trans-normal); position: relative; overflow: hidden; }
.btn-primary-tech {background: var(--c-primary); color: #fff; box-shadow: 0 8px 20px rgba(10, 75, 156, 0.25); border: 2px solid var(--c-primary); }
.btn-primary-tech:hover {background: #0056b3; border-color: #0056b3; box-shadow: 0 10px 25px rgba(10, 75, 156, 0.35); }
.btn-primary-tech i {margin-left: 8px; transition: transform 0.3s; }
.btn-primary-tech:hover i {transform: translateX(5px); }
.btn-outline-tech {background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, 0.8); }
.btn-outline-tech:hover {background: #fff; color: var(--c-primary); }
/* 浅色背景下的小按钮 */
.small-btn {padding: 8px 20px;font-size: 14px;border-color: var(--c-primary);color: var(--c-primary);background: transparent;}
.small-btn:hover {background: var(--c-primary); color: #fff; }
.more {display: inline-block; padding: 2px 10px; margin-left: 8px; font-size: 12px; color: #0056b3; background: #f0f7ff; border: 1px solid #cce5ff; border-radius: 12px; text-decoration: none; transition: all 0.3s ease;">More <i class="fa fa-angle-right" style="margin-left: 3px;}
.more .fa {margin-left: 3px;}
/* ==========================================================================
   顶部导航栏与通用导航结构 (公用: _top.html)
   Header & Common Nav Structure
   ========================================================================== */
.header {position: fixed;top: 0;left: 0;width: 100%;height: var(--h-header);background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 90%, rgba(0, 0, 0, 0.0) 100%);background-color: #21c268; backdrop-filter: blur(10px);-webkit-backdrop-filter: blur(10px);/* 兼容 Safari */ color: #fff;z-index: 1000;transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;}
.header .logo-black {display: none; }
.header.scrolled,#scrolled {background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); color: #333; box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05); border-bottom: 1px solid var(--c-primary); }
.header.scrolled .nav-item>a,#scrolled .nav-item>a {color: #333; }
.header.scrolled .nav-item:hover>a,#scrolled .nav-item:hover>a {color: var(--c-primary); }
.header.scrolled .mobile-toggle,#scrolled .mobile-toggle {color: #333; }
.header.scrolled .logo-black,#scrolled .logo-black {display: block; }
.header.scrolled .logo-white,#scrolled .logo-white {display: none; }
.header-container {max-width: 1400px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; height: 100%; }
.logo img {height: 58px; transition: var(--trans-normal); }
/* 右侧工具栏 (搜索/语言/会员) */
.header-actions {display: flex;align-items: center;gap: 20px;height: 100%;}
.header-right {display: flex; align-items: center; gap: 15px; height: 100%; padding-top: 2px; }
.hr-item {position: relative; cursor: pointer; color: #fff; transition: color 0.3s; height: 100%; display: flex; align-items: center; }
.header.scrolled .hr-item,#scrolled .hr-item {color: #333; }
.hr-item:hover,.hr-item.active {color: var(--c-accent); }
.hr-icon {font-size: 18px; pointer-events: none; }
.hr-text {font-size: 18px; font-weight: 500; display: flex; align-items: center; gap: 4px; pointer-events: none; }
/* Dropdown */
.hr-dropdown {position: absolute;top: 100%;right: -10px;width: max-content;min-width: 130px;background: #fff;box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);opacity: 0;visibility: hidden;transform: translateY(10px);transition: var(--trans-fast);border-top: 3px solid var(--c-primary);border-radius: 0 0 6px 6px;padding: 10px 0;z-index: 1002;cursor: default;pointer-events: none;}
.hr-item.active .hr-dropdown {opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
/* Language Dropdown Scroll */
.hr-lang-dropdown {max-height: 350px;overflow-y: auto;}
.hr-lang-dropdown::-webkit-scrollbar {width: 4px; }
.hr-lang-dropdown::-webkit-scrollbar-thumb {background: #ccc; border-radius: 4px; }
.hr-dropdown a {display: block; padding: 10px 20px; color: var(--c-text); font-size: 14px; transition: all 0.3s; white-space: nowrap; text-align: left; }
.hr-dropdown a i {margin-right: 8px; width: 14px; text-align: center; color: var(--c-text-light); }
.hr-dropdown a:hover,.hr-dropdown a.active {background: var(--c-bg-light); color: var(--c-primary); }
.hr-dropdown a:hover i,.hr-dropdown a.active i {color: var(--c-primary); }
/* Search Mega Menu (Full Width) */
.hr-search-mega-container {position: fixed;top: var(--h-header);left: 0;right: 0;width: 100%;z-index: 999;pointer-events: none;}
.hr-search-mega {position: absolute; top: 0; left: 0; right: 0; width: 100%; background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: var(--trans-fast); border-top: 3px solid var(--c-primary); padding: 40px 0; pointer-events: auto; }
.hr-search-mega.active {opacity: 1; visibility: visible; transform: translateY(0); }
.search-mega-inner {max-width: 800px; margin: 0 auto; padding: 0 20px; display: flex; flex-direction: column; gap: 20px; }
.mega-search-form {display: flex; height: 50px; border: 2px solid var(--c-primary); border-radius: 25px; overflow: hidden; }
.mega-search-form input {flex: 1; border: none; padding: 0 25px; outline: none; font-size: 16px; }
.mega-search-form button {background: var(--c-primary); color: #fff; border: none; padding: 0 30px; font-size: 16px; font-weight: 500; cursor: pointer; transition: background 0.3s; }
.mega-search-form button:hover {background: #0056b3; }
.hot-search {display: flex; flex-wrap: wrap; gap: 10px 15px; align-items: center; font-size: 14px; color: var(--c-text-light); }
.hot-search span {font-weight: 500; color: #333; }
.hot-search a {color: var(--c-text-light); transition: color 0.3s; }
.hot-search a:hover {color: var(--c-primary); }
.hr-search-close {display: none; }
/* Logo 切换逻辑：使用 CSS filter 处理浅色/深色切换 *//* .header.scrolled .logo img {filter: invert(1) hue-rotate(180deg) brightness(0.5);}


*//* PC 导航布局 */
.main-nav {height: 100%;margin-left: auto;margin-right: 20px;}
.m-nav-header {display: none; }
.nav-overlay {display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0, 0, 0, 0.6); z-index: 1005; opacity: 0; transition: opacity 0.3s; }
.main-nav .nav-list {display: flex; height: 100%; }
.main-nav .nav-item {position: relative; height: 100%; }
.main-nav .nav-item>a {display: flex; align-items: center; padding: 0 20px; height: 100%; font-size: 18px; font-weight: 500; color: #fff; transition: color 0.3s; }
.main-nav .nav-item>a .m-icon {display: none; }
.main-nav .nav-item>a .pc-icon {margin-left: 5px; font-size: 12px; transition: transform 0.3s; }
.main-nav .nav-item:hover>a {color: var(--c-accent); }
.main-nav .nav-item:hover>a .pc-icon {transform: rotate(180deg); }
.main-nav .nav-item.active>a { background: var(--c-primary); color: #fff; border-top-left-radius: 4px; border-top-right-radius: 4px; font-weight: bold; }
.main-nav .nav-item.active:hover>a {  color: #fff;}

/* PC端：顶部Logo栏与导航栏分两行布局 */
@media (min-width: 920px) {
    .header {
        position: sticky !important;
        top: -80px !important;
        height: auto !important;
        background: #fff !important;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    }
    .header::after {
        content: '';
        position: absolute;
        bottom: 0; left: 0; right: 0;
        height: 50px;
        background: var(--c-primary);
        z-index: 0;
    }
    .header .logo-black { display: block !important; }
    .header .logo-white { display: none !important; }
    .header .hr-item { color: #333 !important; }
    .header .hr-item:hover { color: var(--c-primary) !important; }

    .header-container {
        flex-wrap: wrap;
        padding: 0;
        height: auto;
    }
    .logo {
        width: 50%;
        height: 80px;
        display: flex;
        align-items: center;
        padding: 0 20px;
        order: 1;
    }
    .header-actions {
        width: 50%;
        height: 80px;
        justify-content: flex-end;
        padding: 0 20px;
        order: 2;
    }
    .main-nav {
        width: 100%;
        height: 50px;
        margin: 0;
        order: 3;
        z-index: 2;
    }
    .main-nav .nav-list {
        justify-content: flex-start;
        padding: 0 20px;
    }
    .hr-search-mega-container { top: 130px !important; }

    .header .nav-item > a,
    .header.scrolled .nav-item > a,
    #scrolled .nav-item > a {
        color: #fff !important;
        height: 50px;
    }
    .header .nav-item.active > a,
    .header .nav-item:hover > a,
    .header.scrolled .nav-item.active > a,
    .header.scrolled .nav-item:hover > a {
        background: rgba(0,0,0,0.1) !important;
        border-radius: 0 !important;
        color: #fff !important;
    }
}



/* 普通下拉菜单 (PC) */
.main-nav .sub-menu {position: absolute;top: 100%;left: 0;width: 220px;background: #fff;box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);opacity: 0;visibility: hidden;transform: translateY(10px);transition: var(--trans-fast);border-top: 3px solid var(--c-primary);border-radius: 0 0 6px 6px;overflow: hidden;}
.main-nav .nav-item:hover .sub-menu {opacity: 1; visibility: visible; transform: translateY(0); }
.m-back {display: none; }
.main-nav .sub-menu-inner a {display: block; padding: 12px 20px; color: var(--c-text); border-bottom: 1px solid var(--c-bg-light); font-size: 14px; transition: all 0.3s; }
.main-nav .sub-menu-inner a:hover {background: var(--c-bg-light); color: var(--text-hover); padding-left: 25px; }
/* Mega Menu (PC) */
.main-nav .has-mega {position: static;}
.main-nav .mega-menu {position: absolute; top: 100%; left: 0; width: 100%; background: #fff; color: var(--c-text); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--trans-fast); border-top: 3px solid var(--c-primary); z-index: 1001; }
.main-nav  .nav-item.has-mega:hover .mega-menu {opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .mega-inner {max-width: 1400px; margin: 0 auto; display: flex; min-height: 450px; }
/* Mega Sidebar (PC) */
.main-nav .mega-sidebar {width: 320px;background: var(--c-bg-light);border-right: 1px solid var(--c-border);}
.main-nav .mega-tabs li {padding: 16px 20px; font-size: 15px; color: #444; cursor: pointer; border-bottom: 1px solid var(--c-border); transition: var(--trans-fast); position: relative; display: flex; justify-content: space-between; align-items: center; }
.main-nav .mega-tabs li .m-icon {display: none; }
@media (min-width: 920px) {
   .main-nav .mega-tabs li:hover,.mega-tabs li.active {background: #fff; color: var(--text-hover); font-weight: bold; padding-left: 25px; }
   .main-nav .mega-tabs li.active::before {content: ''; position: absolute; left: 0; top: 0; width: 4px; height: 100%; background: var(--c-primary); }
}

/* Mega Content (PC) */
.main-nav .mega-content {flex: 1;padding: 30px 40px;background: #fff;position: relative;overflow: hidden;}
.main-nav .mega-panel {display: none; animation: fadeIn 0.3s; }
.main-nav .mega-panel.active {display: block; }
@keyframes fadeIn {from { opacity: 0; transform: translateY(10px)} to { opacity: 1; transform: translateY(0)}}
.main-nav .panel-scroll {display: flex; flex-direction: column; gap: 30px; }
.main-nav .panel-scroll.cols-4 {display: flex; flex-direction: column; gap: 30px; }
.main-nav .panel-scroll.cols-5 {display: flex; flex-direction: column; gap: 30px; }
.main-nav .sub-group {width: 100%; margin-bottom: 0; }
.main-nav .sub-group h4 {font-size: 16px; color: var(--c-primary); border-bottom: 1px solid var(--c-border); padding-bottom: 10px; margin-bottom: 15px; }
.main-nav .sub-items {display: flex; flex-wrap: wrap; gap: 10px 20px; }
.main-nav .sub-items a {display: inline-block; font-size: 14px; color: var(--c-text-light); transition: var(--trans-fast); padding: 0 13px; }
.main-nav .sub-items a:hover {color: var(--text-hover); transform: translateX(5px); }
/* ==========================================================================
   移动端导航适配 (公用: _top.html 响应式)
   Mobile Nav (Controlled via CSS with same HTML structure)
   ========================================================================== */
.mobile-toggle {display: none;/*font-size: 24px;*/font-size: 32px;color: #fff;cursor: pointer;}

@media (max-width: 920px) {
    .header-actions {gap: 10px; }
    .header-right {gap: 18px; }
    .hr-item {color: #333; }
    .hr-text {font-size: 14px; }
    .hr-dropdown {right: -50px; }
    /* 防止手机端溢出屏幕 */

    .hr-search-mega-container {top: var(--h-header-mobile);}
    .hr-search-mega {padding: 0; background: var(--c-mobile-nav); border-top: none; box-shadow: none; position: fixed; top: var(--h-header-mobile); left: 100%; height: calc(100% - var(--h-header-mobile)); transition: left 0.3s ease; transform: none; opacity: 1; visibility: visible; }
    .hr-search-mega.active {left: 0; }
    .hr-search-close {display: flex; padding: 16px 20px; color: #fff; font-size: 15px; font-weight: bold; border-bottom: 1px solid rgba(255, 255, 255, 0.1); cursor: pointer; background: rgba(255, 255, 255, 0.02); }
    .hr-search-close i {margin-right: 10px; font-size: 16px; margin-top: 2px; }
    .search-mega-inner {padding: 20px; gap: 20px; }
    .mega-search-form {height: 44px; border-radius: 4px; border: none; }
    .mega-search-form input {padding: 0 15px; font-size: 14px; border-radius: 4px 0 0 4px; }
    .mega-search-form button {padding: 0 20px; font-size: 14px; border-radius: 0 4px 4px 0; }
    .hot-search span {color: #fff; }
    .hot-search a {color: #888; }
    .hot-search a:hover {color: #fff; }
    .header {height: var(--h-header-mobile); background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--c-border); }
    /* .header .logo img {filter: invert(1) hue-rotate(180deg) brightness(0.5);}
    */
    .logo img {height: 40px;}
    .mobile-toggle {display: block; color: #333; }
    .nav-overlay.show {display: block; opacity: 1; height: 100vh; }
    .main-nav {position: fixed; top: 0; left: -100%; width: 320px; max-width: 90vw; height: 100vh; background: var(--c-mobile-nav); z-index: 1010; transition: left 0.4s cubic-bezier(0.77, 0, 0.175, 1); display: flex; flex-direction: column; }
    .main-nav.open {left: 0; }
    .m-nav-header {display: flex; justify-content: space-between; align-items: center; height: var(--h-header-mobile); padding: 20px 20px 20px 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); flex-shrink: 0; }
    .m-nav-header img {height: 40px; }
    .nav-close-btn {font-size: 24px; color: #888; cursor: pointer; }
    .header .logo .logo-white {display: none; }
    .header .logo .logo-black {display: block; }
    .header .nav-list {flex-direction: column; height: auto; flex: 1; overflow-y: auto; overflow-x: hidden; position: static; }
    .header .nav-item {height: auto; position: static; }
    .header .nav-item>a {padding: 16px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); color: #e0e0e0; justify-content: space-between; }
    .header .nav-item>a .pc-icon {display: none; }
    .header .nav-item>a .m-icon {display: block; color: #888; font-size: 14px; }
    .header.scrolled .nav-item>a, #scrolled .nav-item>a {color: #e0e0e0; }
    .main-nav .sub-menu, .main-nav .mega-menu {position: absolute; top: var(--h-header-mobile); right: 100%; left: auto; width: 100%; height: calc(100% - var(--h-header-mobile)); background: var(--c-mobile-nav); box-shadow: none; border-top: none; border-radius: 0; opacity: 1; visibility: visible; transform: none; transition: right 0.3s ease; z-index: 2; display: flex; flex-direction: column; overflow: hidden; }
    .main-nav .sub-menu.slide-in, .main-nav .mega-menu.slide-in {right: 0; }
    .main-nav .sub-menu-inner {flex: 1; overflow-y: auto; }
    .m-back {display: flex; padding: 16px 20px; color: #fff; font-size: 15px; font-weight: bold; border-bottom: 1px solid rgba(255, 255, 255, 0.1); cursor: pointer; background: rgba(255, 255, 255, 0.02); }
    .m-back i {margin-right: 10px; font-size: 16px; margin-top: 2px; }
    .main-nav .sub-menu-inner a {color: #aaa; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
    .main-nav .sub-menu-inner a:hover {background: rgba(255, 255, 255, 0.05); color: #fff; padding-left: 20px; }
    .main-nav .mega-inner {flex: 1; display: flex; flex-direction: column; overflow: hidden; min-height: auto; }
    .main-nav .mega-sidebar {flex: 1; /* overflow-y: auto;*/ width: 100%; background: transparent; border-right: none; }
    .main-nav .mega-tabs li {color: #aaa; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
    .main-nav .mega-tabs li .m-icon {display: block; color: #888; }
    /* .main-nav .mega-tabs li:hover, .main-nav .mega-tabs li.active {background: rgba(255, 255, 255, 0.05); color: #fff; padding-left: 20px; }
    .main-nav .mega-tabs li.active::before {display: none; } */
    .main-nav .mega-content {padding: 0; background: transparent; position: static; }
    .main-nav .mega-panel {position: absolute; top: 0; right: 100%; left: auto; width: 100%; height: 100%; background: var(--c-mobile-nav); transition: right 0.3s ease; z-index: 3; display: flex; flex-direction: column; animation: none; overflow: hidden; }
    .main-nav .mega-panel.slide-in {right: 0; }
    .main-nav .panel-scroll {flex: 1; overflow-y: auto; padding: 20px; display: block; }
    .main-nav .sub-group {margin-bottom: 20px; }
    .main-nav .sub-group h4 {color: #aaa; font-weight: normal; border-bottom-color: rgba(255, 255, 255, 0.1); }
    .main-nav .sub-items {display: block; }
    .main-nav .sub-items > a {display: block; color: #888; padding: 8px 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.05); }
    .main-nav .sub-items > a:hover {color: #fff; transform: none; }
    
    /* 移动端三四级菜单滑动面板 */
    .has-m-sub3 { cursor: pointer; position: relative; }
    .has-m-sub3 .m-icon { display: block; color: #888; }
    .main-nav .mega-panel-sub3 {position: absolute; top: 0; right: 100%; left: auto; width: 100%; height: 100%; background: var(--c-mobile-nav); transition: right 0.3s ease; z-index: 4; display: flex; flex-direction: column; animation: none; overflow: hidden; }
    .main-nav .mega-panel-sub3.slide-in {right: 0; }
    .main-nav .panel-scroll-sub3 {flex: 1; overflow-y: auto; padding: 20px; display: block; }
    .main-nav .panel-scroll-sub3 a {display: block; color: #888; padding: 12px 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.05); }
    .main-nav .panel-scroll-sub3 a:hover {color: #fff; }
    /* Product Search Mobile Adjustments */
    .product-search-box {margin: 10px auto 20px;padding: 0 10px;}
    .product-search-box form {height: 44px; }
    .product-search-box input {padding: 0 15px; font-size: 14px; }
    .product-search-box button {padding: 0 20px; font-size: 14px; }
}

@media (max-width:768px){
   .mega-sidebar {overflow-y:initial;}
   .mega-tabs li {color: #fff;    border-bottom-color: rgba(255, 255, 255, 0.1);}
}

/* ==========================================================================
   首页 Banner 横幅 (页面: index.html)
   Hero Banner Section
   ========================================================================== */
.hero-section {position: relative;height: 100vh;min-height: 600px;width: 100%;display: flex;align-items: center;justify-content: center;overflow: hidden;background: #000;}
.hero-video-bg {position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; background-color: #000; }
.hero-video-bg img {width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
/* 添加 Swiper 切换时的图片缓慢放大效果 */
.swiper-slide img {transform: scale(1);transition: transform 6s linear;/* 6秒的缓慢线性放大 */}
.swiper-slide-active img {transform: scale(1.1); /* 放大到 1.1 倍 */}
.hero-overlay {position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: transparent; z-index: 1; pointer-events: none; }
.hero-content {position: relative; z-index: 2; color: #fff; text-align: center; width: 100%; padding: 0 20px; }
.hero-title-box {max-width: 900px; margin: 0 auto; }
.hero-title {font-size: 56px; font-weight: 800; margin-bottom: 20px; letter-spacing: 2px; }
.hero-title span {color: #00c3ff; }
.hero-subtitle {font-size: 20px; color: #eef2f6; margin-bottom: 40px; font-weight: 300; }
.hero-action {display: flex; justify-content: center; gap: 20px; }
/* 底部悬浮下拉箭头 */
.scroll-down-arrow {position: absolute;bottom: 30px;left: 50%;transform: translateX(-50%);color: #fff;font-size: 30px;z-index: 10;opacity: 0.8;animation: bounceDown 2s infinite;transition: color 0.3s;}
.scroll-down-arrow:hover {color: var(--c-primary); opacity: 1; }
@keyframes bounceDown {0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%)} 40% { transform: translateY(-15px) translateX(-50%)} 60% { transform: translateY(-7px) translateX(-50%)}}
/* ==========================================================================
   1. 首页关于我们区块 (页面: index.html)
   About Section
   ========================================================================== */
.about-modern {padding: 70px 0;background: var(--c-bg-light);position: relative;overflow: hidden;}
.about-flex {display: flex; gap: 50px; align-items: center; }
.about-info {flex: 1; }
.about-info .lead-text {font-size: 18px; color: var(--c-primary); font-weight: 500; margin-bottom: 15px; line-height: 1.6; }
.about-info .sub-text {font-size: 14px; color: var(--c-text-light); margin-bottom: 30px; }
.about-stats {display: flex; gap: 30px; }
.stat-item h4 {font-size: 26px; color: #222; font-weight: 800; margin-bottom: 5px; }
.stat-item p {font-size: 12px; color: #888; text-transform: uppercase; letter-spacing: 1px; }
.about-visual {flex: 1; position: relative; }
.visual-wrapper {position: relative; z-index: 2; padding-right: 30px; padding-bottom: 30px; }
.visual-wrapper .main-img {border-radius: 12px; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1); width: 100%; position: relative; z-index: 2; }
.decor-circle {position: absolute; right: 0; bottom: 0; width: 200px; height: 200px; background: linear-gradient(135deg, rgba(10, 75, 156, 0.1), rgba(0, 136, 255, 0.1)); border-radius: 50%; z-index: 1; }
.glass-effect {background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 1); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); border-radius: 12px; }
.float-box {position: absolute; left: -30px; top: 40px; z-index: 3; padding: 20px 25px; display: flex; align-items: center; gap: 15px; animation: floatY 6s ease-in-out infinite; }
@keyframes floatY {0% { transform: translateY(0)} 50% { transform: translateY(-10px)} 100% { transform: translateY(0)}}
.float-box .icon-circle {width: 45px; height: 45px; background: var(--c-bg-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.float-box i {font-size: 22px; color: var(--c-primary); }
.float-box h5 {font-size: 16px; color: #222; margin-bottom: 2px; font-weight: 600; }
.float-box span {font-size: 12px; color: #666; }
/* ==========================================================================
   2. 首页产品展示与搜索区块 (页面: index.html )
   Products Showcase
   ========================================================================== */
.product-search-box {margin: 20px auto 40px;max-width: 600px;width: 100%;position: relative;padding: 0 15px;}
.product-search-box form {display: flex; align-items: stretch; background: #fff; border: 2px solid var(--c-primary); border-radius: 30px; overflow: hidden; box-shadow: 0 4px 15px rgba(10, 75, 156, 0.1); transition: all 0.3s ease; height: 55px; }
.product-search-box form:hover {box-shadow: 0 6px 20px rgba(10, 75, 156, 0.2); }
.product-search-box input {flex: 1; border: none; padding: 0 25px; font-size: 16px; outline: none; color: var(--c-text); background: transparent; }
.product-search-box button {background: var(--c-primary); color: #fff; border: none; padding: 0 30px; font-size: 14px; font-weight: 600; cursor: pointer; transition: background 0.3s ease; display: flex; align-items: center; gap: 8px; }
.product-search-box button:hover {background: var(--c-accent); }
.products-modern {padding: 70px 0; background: #fff; }
.prod-showcase {display: flex; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06); border: 1px solid var(--c-border); min-height: 550px; }
/* 左侧主分类 */
.prod-nav {width: 280px;background: var(--c-bg-light);border-right: 1px solid var(--c-border);}
.prod-nav-list li {padding: 18px 22px; display: flex; align-items: center; cursor: pointer; border-bottom: 1px solid var(--c-border); color: #555; font-size: 15px; transition: all 0.3s ease; position: relative; }
.prod-nav-list li i:first-child {font-size: 18px; width: 30px; color: #9aa4b8; transition: color 0.3s; }
.prod-nav-list li span {flex: 1; font-weight: 500; }
.prod-nav-list li .arrow {font-size: 14px; opacity: 0; transform: translateX(-10px); transition: all 0.3s; }
.prod-nav-list li:hover {background: #fff; color: var(--c-primary); }
.prod-nav-list li.active {color: var(--c-primary); background: #fff; border-left: 4px solid var(--c-primary); }
.prod-nav-list li.active i:first-child {color: var(--c-primary); }
.prod-nav-list li.active .arrow {opacity: 1; transform: translateX(0); color: var(--c-primary); }
/* 右侧内容面板 */
.prod-content {flex: 1;position: relative;}
.prod-panel {position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; visibility: hidden; transition: opacity 0.4s ease; display: flex; flex-direction: column; }
.prod-panel.active {opacity: 1; visibility: visible; position: relative; }
.panel-header {position: relative; height: 160px; width: 100%; overflow: hidden; background: #000; }
.panel-bg {width: 100%; height: 100%; object-fit: cover; opacity: 0.5; transform: scale(1.05); transition: transform 6s ease; }
.prod-panel.active .panel-bg {transform: scale(1); }
.panel-title-overlay {position: absolute; bottom: 0; left: 0; width: 100%; padding: 30px; background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%); }
.panel-title-overlay h3 {font-size: 24px; color: #fff; margin-bottom: 8px; }
.panel-title-overlay p {color: #eef2f6; font-size: 13px; max-width: 600px; }
.panel-body {padding: 26px; flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; overflow-y: auto; }
.panel-body.cols-4 {grid-template-columns: repeat(4, 1fr); gap: 18px; }
.panel-body.cols-5 {grid-template-columns: repeat(5, 1fr); gap: 16px; padding: 22px; }
.sub-cat-title {font-size: 15px; color: var(--c-primary); margin-bottom: 12px; padding-bottom: 7px; border-bottom: 1px solid var(--c-border); font-weight: 600; }
.sub-cat-list li {margin-bottom: 8px; }
.sub-cat-list a {display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #555; padding: 7px 10px; border-radius: 4px; background: var(--c-bg-light); transition: all 0.3s; margin-bottom: 8px; }
.sub-cat-list a i {font-size: 12px; opacity: 0; transform: translateX(-10px); transition: all 0.3s; color: #fff; }
.sub-cat-list a:hover {background: var(--c-primary); color: #fff; transform: translateX(3px); box-shadow: 0 4px 10px rgba(10, 75, 156, 0.2); }
.sub-cat-list a:hover i {opacity: 1; transform: translateX(0); }

@media (max-width: 768px) {

.product-search-box input::placeholder {font-size: 12px;}
.product-search-box button {padding: 0 20px;}
.prod-nav-list li .arrow { display: none; }

}
/* ==========================================================================
   3. 首页芯片方案展示卡片 (页面: index.html 浅色卡片)
   Chip Solutions
   ========================================================================== */
.chips-section {padding: 70px 0;background: var(--c-bg-light);}
.chip-cards-wrapper {display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.chip-card {height: 395px; border-radius: 12px; overflow: hidden; position: relative; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06); background: #fff; }
.chip-card .card-bg {position: absolute; top: 0; left: 0; width: 100%; height: 180px; background-size: cover; background-position: center; transition: height 0.4s ease; }
.chip-card:hover .card-bg {height: 150px; }
.chip-card::after {display: none; }
.chip-card .card-content {position: absolute; bottom: 0; left: 0; width: 100%; padding: 26px; z-index: 2; background: #fff; height: 220px; transition: height 0.4s ease, transform 0.4s ease; display: flex; flex-direction: column; }
.chip-card:hover .card-content {height: 240px; }
.chip-card .icon-wrap {width: 48px; height: 48px; background: var(--c-bg-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--c-primary); margin-bottom: 15px; border: 1px solid var(--c-border); position: absolute; top: -24px; left: 26px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); }
.chip-card h3 {font-size: 20px; margin-top: 15px; margin-bottom: 10px; font-weight: 600; color: #222; }
.chip-card p {font-size: 13px; color: var(--c-text-light); margin-bottom: 16px; flex: 1; max-height: 90px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.chip-link {font-size: 14px; font-weight: 500; color: var(--c-primary); display: inline-flex; align-items: center; margin-top: auto; }
.chip-link i {margin-left: 5px; transition: transform 0.3s; }
.chip-card:hover .chip-link i {transform: translateX(5px); }

@media (max-width: 768px) {
  .chips-section {padding: 30px 0;}
}

/* ==========================================================================
   4. 首页加工制造与实验设备区块 (页面: index.html 浅色阴影科技风)
   Manufacturing & Lab
   ========================================================================== */
.manufacture-lab-section {padding: 70px 0;background: #fff;}
.asymmetric-layout {display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; }
.light-box {background: #fff; border: 1px solid var(--c-border); border-radius: 12px; padding: 40px; position: relative; overflow: hidden; box-shadow: 0 5px 25px rgba(0, 0, 0, 0.03); }
.light-box::before {content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--c-primary), var(--c-accent)); opacity: 0; transition: opacity 0.3s; }
.light-box:hover::before {opacity: 1; }
.hover-up {transition: transform 0.4s, box-shadow 0.4s; }
.hover-up:hover {transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08); }
.box-tag {font-size: 12px; color: #999; letter-spacing: 2px; margin-bottom: 15px; text-transform: uppercase; }
.light-box h3 {font-size: 22px; color: #222; margin-bottom: 20px; display: flex; align-items: center; }
.light-box h3 i {margin-right: 10px; color: var(--c-primary); font-size: 24px; }
.light-box p {color: var(--c-text-light); font-size: 14px; margin-bottom: 15px; line-height: 1.8; }
/* 左侧：加工制造 */
.layout-left {display: flex;flex-direction: column;justify-content: space-between;}
.check-list li {color: #555; font-size: 14px; margin-bottom: 10px; position: relative; padding-left: 22px; }
.check-list li::before {content: '\f00c'; font-family: 'FontAwesome'; position: absolute; left: 0; top: 2px; color: var(--c-accent); font-size: 13px; }
.check-list li strong {color: #333; font-weight: 600; }
.img-grid {display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 25px; }
.img-grid img {width: 100%; height: 160px; object-fit: cover; border-radius: 8px; border: 1px solid var(--c-border); transition: transform 0.3s; }
.img-grid img:hover {transform: scale(1.03); }
/* 右侧：实验设备 & 软件开发 */
.layout-right {display: flex;flex-direction: column;gap: 30px;}
.right-box {padding: 35px; }
.accent-border {border-color: rgba(10, 75, 156, 0.15); background: linear-gradient(135deg, #ffffff 0%, #f9fbfd 100%); }
.tags-cloud {display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.tags-cloud a {padding: 5px 14px; background: #fff; border: 1px solid var(--c-border); border-radius: 20px; font-size: 12px; color: #666; transition: all 0.3s; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02); }
.tags-cloud a:hover {background: var(--c-primary); color: #fff; border-color: var(--c-primary); box-shadow: 0 4px 10px rgba(10, 75, 156, 0.2); }
@media (max-width: 768px) {
   .manufacture-lab-section {padding: 30px 0;}
}





/* ==========================================================================
   5. 首页新闻与资讯列表 (页面: index.html)
   News Section
   ========================================================================== */
.news-section {padding: 70px 0;background: var(--c-bg-light);}
.news-layout {display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; }
.news-card {display: block; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05); transition: transform 0.3s, box-shadow 0.3s; }
.news-card:hover {transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1); }
.news-card .news-img {position: relative; height: 262px; overflow: hidden; }
.news-card .news-img img {width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.news-card:hover .news-img img {transform: scale(1.05); }
.news-badge {position: absolute; top: 15px; left: 15px; background: var(--c-primary); color: #fff; padding: 4px 12px; font-size: 12px; border-radius: 4px; }
.news-card .news-info {padding: 30px; }
.news-meta {font-size: 13px; color: #999; margin-bottom: 10px; }
.news-card h3 {font-size: 20px; color: #222; margin-bottom: 12px; font-weight: 600; line-height: 1.4; transition: color 0.3s; }
.news-card:hover h3 {color: var(--c-primary); }
.news-card p {font-size: 14px; color: var(--c-text-light); margin-bottom: 20px; line-height: 1.6; }
.read-more {font-size: 14px; color: var(--c-primary); font-weight: 500; }
.news-list {display: flex; flex-direction: column; gap: 15px; }
.news-list-item {display: flex; background: #fff; border-radius: 12px; padding: 19px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03); transition: all 0.3s; align-items: center; border: 1px solid transparent; }
.news-list-item:hover {transform: translateX(5px); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08); border-color: rgba(10, 75, 156, 0.1); }
.news-date-box {width: 70px; height: 70px; background: var(--c-bg-light); border-radius: 8px; display: flex; flex-direction: column; justify-content: center; align-items: center; margin-right: 20px; flex-shrink: 0; transition: background 0.3s; }
.news-list-item:hover .news-date-box {background: var(--c-primary); color: #fff; }
.news-date-box strong {font-size: 24px; font-weight: 700; color: var(--c-primary); line-height: 1; margin-bottom: 4px; }
.news-list-item:hover .news-date-box strong {color: #fff; }
.news-date-box span {font-size: 12px; color: #888; }
.news-list-item:hover .news-date-box span {color: rgba(255, 255, 255, 0.8); }
.news-list-info {flex: 1; }
.news-list-info h4 {font-size: 16px; color: #222; margin-bottom: 8px; font-weight: 600; line-height: 1.4; transition: color 0.3s; }
.news-list-item:hover h4 {color: var(--c-primary); }
.news-list-info p {font-size: 13px; color: #777; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 768px) {

   .news-section {padding: 30px 0;}

}

/* ==========================================================================
   页面底部页脚 (公用: _foot.html)
   Footer
   ========================================================================== */
.footer-tech {background: #0a0f18;color: #8892b0;padding-top: 60px;}
.footer-top {display: grid; grid-template-columns: 2fr 1fr 2fr 1.5fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid #1f2a40; }
.f-logo {height: 40px; margin-bottom: 20px; }
.f-brand p {font-size: 13px; line-height: 1.8; margin-bottom: 20px; }
.f-qr-codes {display: flex; gap: 20px; }
.qr-item {display: flex; flex-direction: column; align-items: center; }
.qr-item img {width: 120px; height: 120px; border-radius: 4px; margin-bottom: 8px; background: #fff; padding: 4px; }
.qr-item span {font-size: 12px; color: #8892b0; }
.f-links h4,.f-contact h4 {color: #fff; font-size: 15px; margin-bottom: 20px; font-weight: 600; letter-spacing: 1px; display: flex; justify-content: space-between; align-items: center; }
.f-links h4 .toggle-icon, .f-contact h4 .toggle-icon {display: none; transition: transform 0.3s; font-size: 12px;}
.f-links ul, .f-contact ul {overflow: hidden; transition: max-height 0.3s ease-out;}
.f-links ul li {margin-bottom: 12px; }
.f-links a {font-size: 13px; transition: all 0.3s; }
.f-links a:hover {color: var(--c-accent); padding-left: 5px; }
.f-contact li {display: flex; margin-bottom: 15px; font-size: 13px; line-height: 1.6; }
.f-contact i {margin-top: 4px; margin-right: 12px; color: var(--c-accent); font-size: 14px; }
.footer-bottom {text-align: center; padding: 20px 0; font-size: 12px; color: #555; }

@media (max-width: 768px) {

   .f-qr-codes {display: flex; gap: 60px; justify-content: center; }
   .qr-item {display: flex; flex-direction: column; align-items: center; }

}

/* ==========================================================================
   全局响应式媒体查询 (首页及公用模块)
   Responsive Adjustments
   ========================================================================== */@media (max-width: 1200px) {
.prod-showcase {    flex-direction: column;    min-height: auto;}

    .prod-nav {    width: 100%;    border-right: none;    border-bottom: 1px solid var(--c-border);    overflow-x: auto;}

    .prod-nav-list {    display: flex;    width: max-content;}

    .prod-nav-list li {    border-bottom: none;    border-right: 1px solid var(--c-border);    padding: 15px 20px;}

    .prod-nav-list li.active {    border-left: none;    border-bottom: 3px solid var(--c-primary);}

    .panel-body {    grid-template-columns: repeat(2, 1fr);    gap: 20px;}

    .panel-body.cols-4 {    grid-template-columns: repeat(4, 1fr);    gap: 16px;    padding: 22px;}

    .panel-body.cols-5 {    grid-template-columns: repeat(3, 1fr);    gap: 16px;    padding: 22px;}

    .chip-cards-wrapper {    grid-template-columns: repeat(2, 1fr);}

    .asymmetric-layout {    grid-template-columns: 1fr;}

    .news-layout {    grid-template-columns: 1fr;}
}
@media (max-width: 991px) {
    .about-flex {flex-direction: column; gap: 30px; }
    .float-box {position: static; margin-top: 20px; animation: none; }
    .footer-top {grid-template-columns: repeat(2, 1fr); gap: 30px; }
}
@media (max-width: 768px) {
    .section {padding: 40px 0; }
    .hero-section {min-height: 450px; height: 70vh; }
    .hero-title {font-size: 36px; }
    .hero-subtitle {font-size: 15px; }
    .hero-action {flex-direction: column; gap: 15px; }
    .modern-title h2 {font-size: 26px; }
    .panel-body {grid-template-columns: 1fr; padding: 20px; }
    .panel-header {height: 120px; }
    .panel-title-overlay {padding: 20px; }
    .chip-cards-wrapper {grid-template-columns: 1fr; }
    .img-grid {grid-template-columns: 1fr; }
    .right-box {padding: 25px; }
    .news-list-item {flex-direction: column; align-items: flex-start; }
    .news-date-box {margin-bottom: 15px; margin-right: 0; width: 100%; height: auto; padding: 10px; flex-direction: row; justify-content: flex-start; gap: 10px; }
    .footer-top {grid-template-columns: 1fr; }
    
    /* Mobile Toggle Adjustments */
    .f-links h4, .f-contact h4 {cursor: pointer; margin-bottom: 10px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1);}
    .f-links h4 .toggle-icon, .f-contact h4 .toggle-icon {display: block; color: rgba(255, 255, 255, 0.5);}
    .f-links ul, .f-contact ul {max-height: 0;}
    .f-links.active h4 .toggle-icon, .f-contact.active h4 .toggle-icon {transform: rotate(180deg);}
    .f-links.active ul, .f-contact.active ul {max-height: 500px; padding-top: 10px; padding-bottom: 10px;}
}
/* ==========================================================================
   内部页面通用样式 (列表页、详情页公用基础布局)
   Inner Pages Styles
   ========================================================================== */
.page-section {padding: 60px 0;background-color: #f8f9fa;}
.page-top-padding .page-section {padding-top: 120px;}
@media (max-width: 768px) {
.page-top-padding .page-section {padding-top: 80px;}
.page-section {padding: 20px 0;background-color: #f8f9fa;}


}


/* Inner Banner */
.inner-banner {position: relative;height: 350px;display: flex;align-items: center;justify-content: center;overflow: hidden;}
.ib-bg {position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; background-color: #1a3b5c; z-index: 1; }
.ib-bg::after {content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); }
.ib-content {position: relative; z-index: 2; text-align: center; color: #fff; width: 100%; }
.ib-content h1 {font-size: 40px; font-weight: 700; margin-bottom: 15px; letter-spacing: 2px; }
.breadcrumb {font-size: 14px; color: rgba(255, 255, 255, 0.8); }
.breadcrumb a {color: #fff; transition: color 0.3s; }
.breadcrumb a:hover {color: var(--text-hover); }
.breadcrumb span {color: #007bff; }
/* Sidebar Navigation */
.sidebar-title {background: #0056b3;color: #fff;padding: 15px 20px;font-size: 18px;font-weight: bold;border-radius: 4px 4px 0 0;}
.sidebar-title .toggle-icon {display: none; float: right; font-size: 14px; line-height: 27px; transition: transform 0.3s;}
.sidebar-nav {list-style: none; padding: 0; margin: 0; background: #fff; border: 1px solid #eee; border-top: none; border-radius: 0 0 4px 4px; }
.sidebar-nav>li {border-bottom: 1px solid #eee; }
.sidebar-nav>li:last-child {border-bottom: none; }
.sidebar-nav>li>a {display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; color: #333; font-weight: 600; transition: all 0.3s; }
.sidebar-nav>li>a:hover,.sidebar-nav>li.active>a {background: #f0f7ff; /*color: #0056b3;*/color: var(--text-hover) }
.sub-nav {list-style: none; padding: 0; margin: 0; background: #fafafa; display: none; }
.sub-nav li a {display: block; padding: 10px 20px 10px 30px; color: #666; font-size: 14px; transition: color 0.3s; }
.sub-nav li a:hover,.sub-nav li a.active {color: #0056b3; }
/* Product Layout */
.prod-layout,.single-page-layout {display: flex;gap: 30px;}
.prod-sidebar,.sp-sidebar {width: 250px; flex-shrink: 0; }
.prod-main ,.sp-content {flex: 1; min-width: 0;}
/* .sp-content {flex-grow: 1;min-width: 0;background: #fff;padding: 20px 30px;border-radius: 4px;box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);}


*//* Single Page Title */
.sp-title {font-size: 26px;color: #333;margin-bottom: 30px;padding-bottom: 15px;border-bottom: 1px solid #eee;font-weight: 600;position: relative;}
.sp-title::after {content: ''; position: absolute; left: 0; bottom: -1px; width: 60px; height: 3px; background-color: #0056b3; }
/* Table */
.table-actions {display: flex;justify-content: space-between;align-items: center;margin-bottom: 20px;}
.cat-title {font-size: 20px; font-weight: bold; color: #333; border-left: 4px solid #0056b3; padding-left: 10px; }
.table-responsive {overflow-x: auto; /* allow shift+scroll horizontal */}
.tech-table {width: 100%; border-collapse: collapse; white-space: nowrap; }
.tech-table th {background: #f4f6f8; color: #333; padding: 12px 15px; text-align: left; font-weight: 600; border-bottom: 2px solid #ddd; position: sticky; top: 0; z-index: 10; }
.th-content {display: flex; align-items: center; gap: 8px; cursor: pointer; }
.th-content i {/* color: #999;*/ /* font-size: 12px;*/}
.th-content:hover i {/* color: #0056b3;*/}
.tech-table td {padding: 12px 15px; border-bottom: 1px solid #eee; color: #555; }
.tech-table tr.stripe td {background-color: #fafafa; }
.tech-table tr:hover td {background-color: #f0f7ff; }
.btn-link {color: #0056b3; text-decoration: underline; }
.btn-link img {width: 90px; height: 90px;}
/* Product Detail */
.pd-header {display: flex;gap: 40px;background: #fff;padding: 30px;border-radius: 4px;box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);margin-bottom: 30px;}
.pd-img {width: 300px; height: 300px; flex-shrink: 0; border: 1px solid #eee; padding: 10px; border-radius: 4px; display: flex; align-items: center; justify-content: center; }
.pd-img img {max-width: 100%; max-height: 100%; object-fit: contain; }
.pd-info {flex-grow: 1; }
.pd-info h2 {font-size: 28px; color: #333; margin-bottom: 15px; }
.pd-desc {color: #666; line-height: 1.6; margin-bottom: 20px; }
.pd-params {display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 30px; background: #f8f9fa; padding: 20px; border-radius: 4px; }
.param-item {color: #333; }
.param-item span {color: #888; }
.pd-actions {display: flex; gap: 15px; }
.pd-tabs {display: flex; border-bottom: 1px solid #ddd; margin-bottom: 20px; }
.pd-tabs span {padding: 10px 20px; cursor: pointer; font-weight: 600; color: #666; border-bottom: 3px solid transparent; }
.pd-tabs span.active {color: #0056b3; border-bottom-color: #0056b3; }
.pd-tab-content {display: none; background: #fff; padding: 30px; border-radius: 4px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); }
.pd-tab-content.active {display: block; }
.pdf-viewer-mock {border: 1px solid #ddd; border-radius: 4px; overflow: hidden; }
.pdf-toolbar {background: #333; color: #fff; padding: 10px 15px; display: flex; justify-content: space-between; }
.pdf-toolbar i {margin-left: 15px; cursor: pointer; }
.pdf-body {background: #525659; padding: 20px; text-align: center; color: #fff; height: 600px; overflow-y: auto; }
.pdf-body img {max-width: 100%; margin-top: 20px; }
/* News List */
.news-grid {display: grid;grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));gap: 30px;margin-bottom: 40px;}
.news-item {background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); transition: transform 0.3s; }
.news-item:hover {transform: translateY(-5px); }
.news-item .img-box {height: 220px; overflow: hidden; }
.news-item .img-box img {width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-item:hover .img-box img {transform: scale(1.05); }
.news-item .info-box {padding: 25px; }
.news-item .date {color: #0056b3; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.news-item h3 {font-size: 18px; color: #333; margin-bottom: 15px; line-height: 1.4; }
.news-item p {color: #666; line-height: 1.6; font-size: 14px; }
/* Article Detail */
.article-detail {background: #fff;padding: 50px;border-radius: 8px;box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);}
.article-title {font-size: 28px; color: #333; text-align: center; margin-bottom: 20px; }
.article-meta {text-align: center; color: #999; font-size: 14px; margin-bottom: 40px; padding-bottom: 20px; border-bottom: 1px solid #eee; }
.article-meta span {margin: 0 15px; }
.article-nav {margin-top: 50px; padding-top: 20px; border-top: 1px solid #eee; display: flex; justify-content: space-between; }
.article-nav a {color: #0056b3; }

@media (max-width: 768px) {
   .article-detail { padding: 15px;}
   .article-meta { margin-bottom: 20px; padding-bottom: 10px;;}
}

/* Chip Solutions */
.chip-solutions-grid {display: grid;grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));gap: 30px;}
.solution-detail {background: #fff; padding: 50px; border-radius: 8px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); }
.sd-intro {text-align: center; margin-bottom: 50px; }
.sd-intro h2 {font-size: 32px; color: #333; margin-bottom: 20px; }
.sd-intro p {color: #666; line-height: 1.8; font-size: 16px; max-width: 800px; margin: 0 auto; }
.sd-features {display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 50px; }
.feature-item {text-align: center; padding: 30px; background: #f8f9fa; border-radius: 8px; }
.feature-item i {font-size: 40px; color: #0056b3; margin-bottom: 20px; }
.feature-item h4 {font-size: 20px; color: #333; margin-bottom: 15px; }
.feature-item p {color: #666; line-height: 1.6; }
.sd-application,.sd-form {margin-bottom: 50px; }
.sd-application h3,.sd-form h3 {font-size: 24px; color: #333; margin-bottom: 20px; border-left: 4px solid #0056b3; padding-left: 15px; }
.app-diagram img {max-width: 100%; border-radius: 8px; }
.fxp_show.tech-form {background: #f8f9fa; padding: 40px; border-radius: 8px; max-width: 800px; margin: 0 auto; }
.fxp_show .form-group {margin-bottom: 20px; }
.fxp_show .form-group label {display: block; margin-bottom: 8px; color: #333; font-weight: 600; }
.fxp_show .form-control {width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 4px; font-size: 16px; transition: border-color 0.3s; }
.fxp_show .form-control:focus {border-color: #0056b3; outline: none; }
/* Responsive */
@media (max-width: 991px) {
    .prod-layout,
    .single-page-layout {    flex-direction: column;}

    .prod-sidebar,
    .sp-sidebar {    width: 100%;}
    
    .sidebar-title {cursor: pointer; display: flex; justify-content: space-between; align-items: center;}
    .sidebar-title .toggle-icon {display: block;}
    .sidebar-title .pc_leftnav_t {display: none;}
    .sidebar-nav {max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out;}
    .prod-sidebar.active .sidebar-nav,
    .sp-sidebar.active .sidebar-nav {max-height: 1000px;}
    .prod-sidebar.active .sidebar-title .toggle-icon,
    .sp-sidebar.active .sidebar-title .toggle-icon {transform: rotate(180deg);}

    .pd-header {    flex-direction: column;}

    .pd-img {    width: 100%;}

    .sd-features {    grid-template-columns: 1fr;}
}
/* ==========================================================================
   开案申请表页面定制样式 (页面: channel_kaian.html)
   ========================================================================== */
.kaian-section {padding: 60px 0;background-color: #f5f7fa;}
.kaian-container {max-width: 1000px; margin: 0 auto; background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); overflow: hidden; }
.kaian-header {background-color: #0056b3; color: #fff; padding: 30px; text-align: center; }
.kaian-header h2 {margin: 0; font-size: 26px; font-weight: 600; }
.kaian-header p {margin: 10px 0 0; font-size: 15px; opacity: 0.9; }
.kaian-form-wrap {padding: 40px; }
/* 表单分组标题 */
.form-section-title {font-size: 18px;color: #333;border-left: 4px solid #0056b3;padding-left: 12px;margin: 30px 0 20px;font-weight: 600;background: #f8f9fa;padding: 10px 12px;border-radius: 0 4px 4px 0;}
.form-section-title:first-child {margin-top: 0; }
/* 表单网格布局 - PC 端 4 列 */
.kaian .form-grid {display: grid;grid-template-columns: repeat(4, 1fr);gap: 20px 24px;}
.kaian .form-group.col-span-2 {grid-column: span 2; }
.kaian .form-group.col-span-3 {grid-column: span 3; }
.kaian .form-group.full-width {grid-column: 1 / -1; }
.kaian .form-group label {display: block; margin-bottom: 8px; color: #444; font-weight: 600; font-size: 14px; }
.kaian .form-group label .required {color: #e74c3c; margin-left: 4px; }
/* 表单控件样式 */
.kaian .form-control {width: 100%;padding: 10px 14px;border: 1px solid #dce1e6;border-radius: 4px;font-size: 14px;box-sizing: border-box;background-color: #fdfdfd;transition: all 0.3s;}
.kaian .form-control:focus {border-color: #0056b3; background-color: #fff; outline: none; box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1); }
.kaian textarea.form-control {resize: vertical; min-height: 80px; line-height: 1.5; }
/* 协议/说明文本块 */
.agreement-box {background-color: #fff3cd;border: 1px solid #ffeeba;padding: 15px 20px;border-radius: 6px;margin-bottom: 20px;color: #856404;}
.agreement-box h4 {margin: 0 0 10px 0; font-size: 16px; }
.agreement-box p {margin: 0 0 8px 0; font-size: 14px; line-height: 1.6; }
.agreement-box p:last-child {margin-bottom: 0; }
/* 填表说明 */
.instructions-box {background-color: #e8f4f8;border: 1px solid #d1e9f1;padding: 20px;border-radius: 6px;margin-top: 40px;color: #0c5460;}
.instructions-box h4 {margin: 0 0 15px 0; font-size: 16px; font-weight: bold; }
.instructions-box ul {margin: 0; padding-left: 20px; }
.instructions-box li {margin-bottom: 8px; font-size: 14px; line-height: 1.6; }
/* 提交按钮区域 */
.kaian .form-actions {margin-top: 30px;text-align: center;border-top: 1px solid #eee;padding-top: 30px;}
.kaian .btn-submit {background-color: #0056b3; color: #fff; border: none; padding: 14px 45px; font-size: 16px; font-weight: 600; border-radius: 6px; cursor: pointer; transition: all 0.3s; display: inline-flex; align-items: center; justify-content: center; min-width: 200px; box-shadow: 0 4px 10px rgba(0, 86, 179, 0.3); }
.kaian .btn-submit i {margin-right: 8px; }
.kaian .btn-submit:hover {background-color: #004494; transform: translateY(-2px); box-shadow: 0 6px 15px rgba(0, 86, 179, 0.4); }
/* 响应式调整 */@media (max-width: 992px) {
.kaian .form-grid { grid-template-columns: repeat(2, 1fr);}
.kaian .form-group.col-span-3 { grid-column: span 2;}
}
@media (max-width: 768px) {
    .kaian .form-grid {grid-template-columns: 1fr; gap: 15px; }
    .kaian .form-group.col-span-2, .kaian .form-group.col-span-3 {grid-column: 1 / -1; }
    .kaian .kaian-section {padding: 20px 10px; }
    .kaian .kaian-form-wrap {padding: 20px 15px; }
}
/* ==========================================================================
   联系我们页面定制样式 (页面: channel_lianxi.html)
   ========================================================================== */
:root {
    --primary-color: #0056b3;
    --primary-light: #e6f0fa;
    --text-main: #333333;
    --text-sub: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-primary: 0 10px 25px rgba(0, 86, 179, 0.15);
}
/* 基础板块控制 */
.contact-section {padding: 80px 0;background-color: var(--bg-light);font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;}
.contact-section.white-bg {background-color: var(--white); }
/* 标题样式 */
.section-title {text-align: center;margin-bottom: 50px;}
.section-title h2 {font-size: 32px; color: var(--text-main); position: relative; display: inline-block; padding-bottom: 16px; margin: 0; font-weight: 700; letter-spacing: 1px; }
.section-title h2::after {content: ""; position: absolute; width: 60px; height: 4px; background: linear-gradient(90deg, var(--primary-color), #00a0e9); bottom: 0; left: 50%; transform: translateX(-50%); border-radius: 2px; }
/* ------------------ 总部信息板块 ------------------ */
.lianxi .hq-container {max-width: 1200px;margin: 0 auto;}
.lianxi .hq-info {display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.lianxi .info-item {display: flex; align-items: center; background: var(--white); padding: 40px 30px; border-radius: 12px; box-shadow: var(--shadow-sm); border: 1px solid rgba(0, 0, 0, 0.03); transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); position: relative; overflow: hidden; z-index: 1; }
.lianxi .info-item::before {content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--primary-color); transition: all 0.4s ease; opacity: 0; }
.lianxi .info-item:hover {transform: translateY(-5px); box-shadow: var(--shadow-md); }
.lianxi .info-item:hover::before {opacity: 1; }
.lianxi .info-item .icon {width: 64px; height: 64px; background: linear-gradient(135deg, var(--primary-light), #ffffff); color: var(--primary-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; margin-right: 24px; flex-shrink: 0; transition: all 0.4s ease; box-shadow: 0 4px 10px rgba(0, 86, 179, 0.05); }
.lianxi .info-item:hover .icon {background: var(--primary-color); color: var(--white); transform: rotateY(180deg); box-shadow: var(--shadow-primary); }
.lianxi .info-item .text {flex: 1; }
.lianxi .info-item .text h4 {margin: 0 0 8px 0; font-size: 18px; color: var(--text-main); font-weight: 700; }
.lianxi .info-item .text p {margin: 0; color: var(--text-sub); line-height: 1.6; font-size: 15px; }



/* ------------------ 全国分区板块 ------------------ */
.lianxi .branch-grid {display: grid;grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));gap: 30px;max-width: 1200px;margin: 0 auto;}
.lianxi .branch-card {background: var(--white); padding: 35px 30px; border-radius: 12px; box-shadow: var(--shadow-sm); border-top: 4px solid var(--primary-color); transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); position: relative; overflow: hidden; z-index: 1; }
.lianxi .branch-card::after {content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, rgba(0, 86, 179, 0.04) 100%); z-index: -1; opacity: 0; transition: all 0.4s ease; }
/* 原有CSS背景移出，改为HTML控制 */
.lianxi .branch-card-bg {position: absolute; right: -20px; bottom: -20px; font-size: 110px; color: #f4f6f9; z-index: 0; transition: all 0.5s ease; font-family: FontAwesome; }
.lianxi .branch-card-bg::before {content: "\f0f7"; }
.lianxi .branch-card-qrcode {position: absolute; right: 20px; top: 105px; z-index: 10; transition: all 0.4s ease; }
.lianxi .branch-card-qrcode img {width: 100px; height: 100px; object-fit: cover; border-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); border: 2px solid #fff; cursor: pointer; transition: all 0.3s ease;}
.lianxi .branch-card-qrcode:hover img {transform: translateY(-3px); box-shadow: 0 6px 15px rgba(0,0,0,0.15);}

.lianxi .branch-card:hover {transform: translateY(-8px); box-shadow: var(--shadow-md); border-top-color: #00a0e9; }
.lianxi .branch-card:hover::after {opacity: 1; }
.lianxi .branch-card:hover .branch-card-bg {color: var(--primary-light); transform: scale(1.1) rotate(-5deg); }

.lianxi .branch-card-content {position: relative; z-index: 2; /*  padding-right: 60px; */ }

/* 二维码全屏悬浮弹窗 */
.qr-modal {display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 9999; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.3s ease; backdrop-filter: blur(3px);}
.qr-modal.show {display: flex; opacity: 1;}
.qr-modal-content {background: #fff; padding: 20px; border-radius: 12px; box-shadow: 0 15px 40px rgba(0,0,0,0.3); text-align: center; position: relative; transform: scale(0.8); transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); max-width: 90vw; max-height: 90vh;}
.qr-modal.show .qr-modal-content {transform: scale(1);}
.qr-modal-content img {max-width: 100%; max-height: 70vh; display: block; margin: 0 auto; border-radius: 8px;}
.qr-modal-close {position: absolute; top: -15px; right: -15px; width: 36px; height: 36px; background: var(--primary-color); color: #fff; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 20px; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.2); transition: all 0.3s;}
.qr-modal-close:hover {background: #004494; transform: rotate(90deg);}
.qr-modal-title {margin-top: 15px; font-size: 16px; color: #333; font-weight: 600;}
.lianxi .branch-card h3 {margin-top: 0; font-size: 19px; color: var(--text-main); margin-bottom: 22px; display: flex; align-items: center; font-weight: 700; padding-bottom: 15px; border-bottom: 1px dashed #eaeaea; }
.lianxi .branch-card h3 i {color: var(--primary-color); margin-right: 12px; font-size: 20px; background: var(--primary-light); width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.lianxi .branch-card p {margin: 14px 0; color: var(--text-sub); font-size: 14.5px; display: flex; align-items: flex-start; line-height: 1.6; transition: color 0.3s ease; }
.lianxi .branch-card p i {width: 22px; color: #a0a0a0; margin-top: 3px; font-size: 16px; text-align: center; margin-right: 10px; transition: color 0.3s ease; }
.lianxi .branch-card:hover p i {color: var(--primary-color); }
/* ------------------ 在线留言板块 ------------------ */
.lianxi .msg-form-wrap {max-width: 850px;margin: 0 auto;background: var(--white);padding: 50px;border-radius: 12px;box-shadow: var(--shadow-md);}
.lianxi .form-row {display: flex; gap: 24px; flex-wrap: wrap; }
.lianxi .form-group {margin-bottom: 24px; flex: 1; min-width: 250px; }
.lianxi .form-group label {display: block; margin-bottom: 10px; color: #444; font-weight: 600; font-size: 15px; }
.lianxi .form-control {width: 100%; padding: 14px 18px; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 15px; box-sizing: border-box; transition: all 0.3s ease; background-color: #f8fafc; }
.lianxi .form-control:focus {border-color: var(--primary-color); outline: none; background-color: var(--white); box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.1); }
textarea.form-control {resize: vertical; min-height: 150px; }
.lianxi .btn-submit {background: linear-gradient(90deg, var(--primary-color), #0069d9); color: var(--white); border: none; padding: 15px 40px; font-size: 16px; font-weight: 600; border-radius: 8px; cursor: pointer; transition: all 0.3s ease; display: inline-flex; align-items: center; justify-content: center; min-width: 180px; margin-top: 15px; box-shadow: 0 4px 15px rgba(0, 86, 179, 0.2); }
.lianxi .btn-submit i {margin-right: 8px; }
.lianxi .btn-submit:hover {transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 86, 179, 0.3); background: linear-gradient(90deg, #004494, #0056b3); }
.lianxi .btn-submit:active {transform: translateY(1px); }
/* 响应式调整 */
@media (max-width: 992px) {
   .lianxi .hq-info {    grid-template-columns: 1fr;}
}
@media (max-width: 768px) {
    .lianxi .contact-section {padding: 20px 0; }
    .lianxi .section-title h2 {font-size: 26px; }
    .lianxi .branch-grid {grid-template-columns: 1fr; }
    .lianxi .info-item {padding: 20px 15px; }
    .lianxi .branch-card {padding: 15px10px; }
    .lianxi .msg-form-wrap {padding: 15px 10px; }
}
/* ==========================================================================
   芯片频道页独立样式 (页面: channel_xinpian.html)
   ========================================================================== *//* 频道页独立样式，后续可自主合并到 style.css */
.xinpian-channel-wrapper {padding: 60px 0;background: #fff;}
.xinpian-channel-title {text-align: center; margin-bottom: 50px; }
.xinpian-channel-title h2 {font-size: 32px; color: #333; font-weight: 600; position: relative; display: inline-block; padding-bottom: 15px; margin: 0; }
.xinpian-channel-title h2::after {content: ''; position: absolute; width: 60px; height: 4px; background: #0056b3; bottom: 0; left: 50%; transform: translateX(-50%); border-radius: 2px; }
.xp-row {display: flex; align-items: center; margin-bottom: 60px; background: #f8f9fa; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); transition: all 0.3s ease; }
.xp-row:hover {box-shadow: 0 15px 40px rgba(0, 86, 179, 0.1); transform: translateY(-5px); }
/* 通过添加 reverse 类实现右图左文交替 */
.xp-row.reverse {flex-direction: row-reverse;}
.xp-img {flex: 1; min-height: 390px; position: relative; overflow: hidden; }
.xp-img img {position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.xp-row:hover .xp-img img {transform: scale(1.05); }
.xp-content {flex: 1; padding: 50px; }
.xp-icon {width: 60px; height: 60px; background: #0056b3; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px; box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3); }
.xp-content h3 {font-size: 26px; color: #333; margin-top: 0; margin-bottom: 15px; font-weight: 600; }
.xp-content p {color: #666; line-height: 1.8; margin-bottom: 30px; font-size: 15px; }
.xp-btn {display: inline-flex; align-items: center; padding: 10px 25px; background: transparent; color: #0056b3; border: 2px solid #0056b3; border-radius: 30px; text-decoration: none; font-weight: 500; transition: all 0.3s ease; }
.xp-btn i {margin-left: 8px; transition: transform 0.3s ease; }
.xp-btn:hover {background: #0056b3; color: #fff; }
.xp-btn:hover i {transform: translateX(5px); }
/* 手机端自适应为上图下文 */@media (max-width: 768px) {

    .xp-row,
    .xp-row.reverse {    flex-direction: column;}

    .xp-img {    width: 100%;    min-height: 250px;}

    .xp-content {    padding: 30px 20px;}
}
/* ==========================================================================
   产品列表分类卡片样式 (页面: list_chanpin.html)
   ========================================================================== *//* 栏目信息区块样式 */
.category-info-box {background: #fff;padding: 30px;border-radius: 8px;margin-bottom: 30px;box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);}
.category-info-box h2 {font-size: 24px; color: #333; margin-top: 0; margin-bottom: 15px; font-weight: bold; padding-bottom: 15px; border-bottom: 1px solid #f0f0f0; }
.category-info-box p {font-size: 15px; color: #666; line-height: 1.8; margin: 0; }
/* 子分类列表网格布局 */
.sub-categories-grid {display: grid;grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));gap: 20px;margin-bottom: 30px;}
/* 子分类项卡片 */
.sub-cat-item {display: flex;align-items: center;background: #fff;padding: 20px;border-radius: 8px;text-decoration: none;border: 1px solid #ebeef5;transition: all 0.3s;box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);}
.sub-cat-item:hover {border-color: var(--text-hover); box-shadow: 0 5px 15px rgba(0, 86, 179, 0.1); transform: translateY(-2px); }
/* 左侧图标 */
.sub-cat-icon {width: 50px;height: 50px;background: #f0f7ff;color: #0056b3;border-radius: 50%;display: flex;align-items: center;justify-content: center;font-size: 24px;margin-right: 15px;flex-shrink: 0;transition: all 0.3s;}
.sub-cat-item:hover .sub-cat-icon {background: #0056b3; color: #fff; }
/* 中间文本 */
.sub-cat-text {flex: 1;}
.sub-cat-text h3 {font-size: 16px; color: #333; margin: 0 0 5px 0; font-weight: 500; transition: color 0.3s; }
.sub-cat-item:hover .sub-cat-text h3 {color: var(--text-hover); }
.sub-cat-desc {font-size: 13px; color: #999; }
/* 右侧箭头 */
.sub-cat-arrow {color: #ccc;font-size: 18px;transition: color 0.3s;}
.sub-cat-item:hover .sub-cat-arrow {color: var(--text-hover); }
/* ==========================================================================
   通用文章列表样式 (合并自 list_shebei 和 list_soft)
   ========================================================================== */
.article-img a {display: block;width: 100%;height: 100%;}
.article-img img {width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.article-item {transition: all 0.3s ease; }
.article-item:hover .article-img img {transform: scale(1.05); }
.article-desc {margin: 0; color: #666; font-size: 14px; line-height: 1.6; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }


/* ==========================================================================
   设备列表页特定样式 (页面: list_shebei.html)
   ========================================================================== */
.shebei-container .article-list-wrap {padding: 0;display: grid;grid-template-columns: repeat(3, 1fr);gap: 25px;}
.shebei-container .article-item {display: flex; flex-direction: column; background: #fff; border: 1px solid #eee; border-radius: 8px; overflow: hidden; }
.shebei-container .article-item:hover {transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08); border-color: transparent; }
.shebei-container .article-img {width: 100%; height: 220px; flex-shrink: 0; overflow: hidden; position: relative; }
.shebei-container .article-info {flex: 1; display: flex; flex-direction: column; justify-content: flex-start; padding: 20px; }
.shebei-container .device-title {margin: 0 0 12px 0; font-size: 16px; color: #333; transition: color 0.3s; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; text-align: center; }
.shebei-container .article-item:hover .device-title {color: #2b579a; }
.shebei-container .article-desc {-webkit-line-clamp: 3; text-align: justify; }
/* 响应式调整 */@media (max-width: 992px) {
.shebei-container .article-list-wrap {    grid-template-columns: repeat(2, 1fr);}
}
@media (max-width: 576px) {
    .shebei-container .article-list-wrap {grid-template-columns: 1fr; }
    .shebei-container .article-img {height: 200px; }
}
/* ==========================================================================
   软件列表页特定样式 (页面: list_soft.html)
   ========================================================================== */
.soft-container .article-list-wrap {padding: 0;background: #fff;border-radius: 8px;box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);padding: 30px;}
.soft-container .article-item {display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid #eee; }
.soft-container .article-item:hover {background-color: #f9fbff; border-radius: 8px; padding-left: 15px; padding-right: 15px; border-color: transparent; }
.soft-container .article-img {width: 200px; height: 130px; flex-shrink: 0; border-radius: 6px; overflow: hidden; position: relative; }
.soft-container .article-info {flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.soft-container .soft-title {margin: 0 0 10px 0; font-size: 18px; color: #333; transition: color 0.3s; text-decoration: none; }
.soft-container .article-item:hover .soft-title {color: #2b579a; }
.soft-container .article-desc {-webkit-line-clamp: 2; }
.soft-container .article-meta {color: #999; font-size: 13px; display: flex; align-items: center; gap: 15px; margin-top: 15px; }

/* 响应式调整 */
@media (max-width: 768px) {
   .soft-container .article-list-wrap { padding: 10px; }
   .soft-container .article-item { flex-direction: column; gap: 15px; padding: 15px 0; }
   .soft-container .article-item:hover { padding-left: 0; padding-right: 0; background-color: transparent; }
   .soft-container .article-img { width: 100%; height: auto; aspect-ratio: 16 / 9; }
   .soft-container .soft-title { font-size: 16px; margin-bottom: 8px; }
   .soft-container .article-meta { margin-top: 10px; font-size: 12px; flex-wrap: wrap; gap: 10px; }
}


/* ==========================================================================
   芯片列表页特定样式 (页面: list_xinpian.html)
   ========================================================================== *//* 列表页独立样式，后续可自主合并到 style.css */
.xp-list-wrap {padding: 50px 0;background: #f4f6f9;}
.xp-list-header {margin-bottom: 30px; border-bottom: 2px solid #0056b3; padding-bottom: 15px; display: flex; justify-content: space-between; align-items: flex-end; }
.xp-list-header h2 {font-size: 24px; color: #333; margin: 0; font-weight: 600; }
.xp-list-header .xp-count {color: #888; font-size: 14px; }
.xp-list-container {background: #fff; border-radius: 8px; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05); padding: 10px 20px; }
.xp-list-item {display: flex; align-items: center; padding: 20px 15px; border-bottom: 1px solid #f0f0f0; transition: all 0.3s ease; }
.xp-list-item:last-child {border-bottom: none; }
.xp-list-item:hover {background: #f8faff; transform: translateX(8px); border-radius: 6px; }
.xp-item-icon {width: 48px; height: 48px; background: #eef4fb; color: #0056b3; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-right: 20px; flex-shrink: 0; }
.xp-item-title {flex: 1; font-size: 18px; color: #333; font-weight: 500; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xp-item-meta {color: #999; font-size: 13px; margin-right: 30px; width: 150px; text-align: right; }
.xp-item-action {padding: 8px 20px; border: 1px solid #0056b3; color: #0056b3; border-radius: 20px; text-decoration: none; font-size: 14px; transition: all 0.3s ease; white-space: nowrap; }
.xp-list-item:hover .xp-item-action {background: #0056b3; color: #fff; }
/* 手机端自适应 */@media (max-width: 768px) {
    .xp-list-item {    flex-direction: column;    align-items: flex-start;    position: relative;}
    .xp-item-icon {    margin-bottom: 15px;}
    .xp-item-title {    white-space: normal;    margin-bottom: 10px;}
    .xp-item-meta {    text-align: left;    margin-right: 0;    margin-bottom: 15px;    width: auto;}
    .xp-item-action {    align-self: flex-start;}
}
/* ==========================================================================
   PDF 在线预览页样式 (页面: pdf.html)
   ========================================================================== */html.pdfpage,html.pdfpage body {margin: 0;padding: 0;width: 100%;height: 100%;overflow: hidden;background-color: #525659;}
.pdfpage iframe {width: 100%; height: 100%; border: none; display: block; }
/* 返回按钮自定义样式 */
.pdfpage .custom-back-btn {position: absolute;top: 10px;left: 10px;z-index: 10000;background: rgba(0, 0, 0, 0.5);color: #fff;padding: 8px 15px;border-radius: 4px;text-decoration: none;font-family: "Microsoft YaHei", sans-serif;font-size: 14px;transition: background 0.3s;display: flex;align-items: center;gap: 5px;}
.pdfpage .custom-back-btn:hover {background: rgba(0, 0, 0, 0.8); }
/* 当屏幕较小时（如手机），稍微调整返回按钮位置 */@media (max-width: 600px) {
.pdfpage    .custom-back-btn {    top: 5px;    left: 5px;    padding: 6px 10px;    font-size: 12px;}
}
/* ==========================================================================
   产品详情参数页样式 (页面: show_chanpin_more.html)
   ========================================================================== */
.cpmore {background-color: #f5f7fa;}

.product-detail-box {background: #fff; border-radius: 8px; padding: 40px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); margin-bottom: 30px; border-left: 4px solid #0056b3; }
/* 顶部区域布局 (去除了左侧图集) */
.pd-info {width: 100%;}
/* 右侧信息样式 */
.pd-info h1 {font-size: 24px;color: #333;margin-bottom: 15px;font-weight: bold; line-height: 1.4;}
.pd-desc {font-size: 15px; color: #666; line-height: 1.6; margin-bottom: 20px; background: #f8f9fa; padding: 15px; border-radius: 4px; }
.pd-actions {display: flex; gap: 15px; flex-wrap: wrap; }
.btn-download {display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; border-radius: 4px; text-decoration: none; font-size: 15px; transition: all 0.3s; cursor: pointer; }
.btn-download i {margin-right: 6px; font-size: 16px; }
.btn-pdf {background-color: #0056b3; color: #fff; border: 1px solid #0056b3; }
.btn-pdf:hover {background-color: #004494; color: #fff; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0, 86, 179, 0.2); }
.btn-3d {background-color: #fff; color: #0056b3; border: 1px solid #0056b3; }
.btn-3d:hover {background-color: #f0f8ff; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0, 86, 179, 0.1); }
.btn-pcb {background-color: #28a745; color: #fff; border: 1px solid #28a745; }
.btn-pcb:hover {background-color: #218838; color: #fff; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(40, 167, 69, 0.2); }
/* 底部导航 (吸顶) */
.pd-nav-wrapper {background: #fff;position: sticky;top: 80px;z-index: 999;box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);border-radius: 8px;margin-bottom: 20px;}
.pd-nav {display: flex; list-style: none; padding: 0; margin: 0; justify-content: flex-start; /* 左对齐 */}
.pd-nav li {text-align: center; }
.pd-nav .nav-link {display: block; padding: 18px 25px; color: #555; text-decoration: none; font-size: 16px; font-weight: 500; position: relative; transition: color 0.3s; }
.pd-nav .nav-link:hover {color: #0056b3; }
.pd-nav .nav-link.active {color: #0056b3; font-weight: bold; background: #f8fcfd; }
.pd-nav .nav-link.active::after {content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 40%; height: 3px; background-color: #0056b3; border-radius: 3px 3px 0 0; }
/* 详情内容区块 */
.pd-section-item {background: #fff;border-radius: 8px;padding: 30px;margin-bottom: 20px;box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);scroll-margin-top: 160px;/* 为吸顶导航和 header(80px) 留出空间 */}
.pd-section-item h3 {font-size: 22px; color: #333; margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px solid #eee; display: flex; align-items: center; }
.pd-section-item h3::before {content: ''; display: inline-block; width: 4px; height: 20px; background: #0056b3; margin-right: 10px; border-radius: 2px; }
.pd-section-content {font-size: 15px; line-height: 1.8; color: #444; }
/* 参数表格样式 */
.param-table {width: 100%;border-collapse: collapse;}
.param-table td,.param-table th {border: 1px solid #ebeef5; padding: 12px 15px; }
.param-table td:nth-child(odd) {background-color: #fafafa; width: 20%; color: #666; font-weight: 500; }
.param-table td:nth-child(even) {width: 30%; color: #333; }
/* 引脚多图网格布局 */
.pin-gallery-grid {display: grid;grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));gap: 15px;}
.pin-gallery-item {display: block; border: 1px solid #ebeef5; border-radius: 4px; overflow: hidden; cursor: pointer; transition: all 0.3s; }
.pin-gallery-item:hover {box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); border-color: #0056b3; }
.pin-gallery-item img {width: 100%; height: 200px; object-fit: cover; display: block; }
/* 响应式调整 */
@media (max-width: 768px) {

   .product-detail-box { padding: 15px; border-left: none; border-top: 4px solid #0056b3; margin-bottom: 20px; }
   .pd-info h1 { font-size: 20px; margin-bottom: 10px; line-height: 1.3;}
   .pd-desc { font-size: 14px; padding: 12px; margin-bottom: 15px; line-height: 1.5; }
   .pd-actions { flex-direction: row; gap: 10px; }
   .btn-download { width: calc(50% - 5px); font-size: 14px; padding: 10px 0; }

   .pd-nav-wrapper { top: var(--h-header-mobile, 60px); border-radius: 0; margin-left: -15px; margin-right: -15px; }
   .pd-nav { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
   .pd-nav li { flex: 0 0 auto; }
   .pd-nav .nav-link { font-size: 14px; padding: 15px 15px; }
   
   .pd-section-item { padding: 20px; margin-bottom: 15px; scroll-margin-top: 130px; }
   .pd-section-item h3 { font-size: 18px; margin-bottom: 15px; padding-bottom: 10px; }
   .pd-section-item h3::before { height: 16px; }
   
   .param-table { display: block; }
   .param-table tbody, .param-table tr { display: block; width: 100%; }
   .param-table td, .param-table th { display: block; width: 100% !important; box-sizing: border-box; }
   .param-table td:nth-child(odd) { background-color: #f5f7fa; border-bottom: none; font-weight: bold; }
   .param-table td:nth-child(even) { margin-bottom: 10px; }
   
   .pin-gallery-grid { grid-template-columns: 1fr; gap: 10px; }
   .pin-gallery-item img { height: auto; max-height: 250px; }
}
/* ==========================================================================
   软件详情页样式 (页面: show_soft.html)
   ========================================================================== */
.soft-detail-wrap {background: #fff;border-radius: 8px;box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);padding: 30px;}
.soft-header {border-bottom: 1px solid #eee; padding-bottom: 20px; margin-bottom: 25px; }
.soft-title {font-size: 24px; color: #222; margin: 0 0 15px 0; }
.soft-meta {color: #999; font-size: 13px; display: flex; align-items: center; gap: 20px; }
.soft-features-grid {display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 30px; }
.soft-feature-card {background: #f8fbff; padding: 20px; border-radius: 6px; border-left: 3px solid #2b579a; }
.soft-feature-card i {color: #2b579a; font-size: 24px; margin-bottom: 15px; display: block; }
.soft-feature-card h4 {margin: 0 0 10px 0; font-size: 16px; color: #333; }
.soft-feature-card p {margin: 0; font-size: 14px; color: #666; line-height: 1.6; }
@media (max-width: 768px) {
   .soft-detail-wrap {padding: 15px;}

}
/* ==========================================================================
   通用分页样式 (公用: ul.pagination)
   ========================================================================== */
.pagination {display: flex;justify-content: center;gap: 8px;margin-top: 40px;padding: 0;list-style: none;}
.pagination li {display: inline-block; margin: 0; padding: 0; }
.pagination li a,.pagination li span {display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 12px; border: 1px solid #ddd; background: #fff; color: #555; text-decoration: none; border-radius: 4px; font-size: 14px; transition: all 0.3s; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02); }
.pagination li a:hover {background: #f5f7fa; color: #0056b3; border-color: #0056b3; }
.pagination li.active span {background: #0056b3; color: #fff; border-color: #0056b3; cursor: default; }
.pagination li.disabled span {color: #bbb; background: #f9f9f9; border-color: #eee; cursor: not-allowed; box-shadow: none; }
/* ==========================================================================
   简易分页样式 (公用: ul.pager)
   ========================================================================== */
.pager {display: flex;justify-content: center;gap: 8px;margin-top: 40px;padding: 0;list-style: none;}
.pager li {display: inline-block; margin: 0; padding: 0; }
.pager li a,.pager li span {display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 16px; border: 1px solid #ddd; background: #fff; color: #555; text-decoration: none; border-radius: 4px; font-size: 14px; transition: all 0.3s; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02); }
.pager li a:hover {background: #f5f7fa; color: #0056b3; border-color: #0056b3; }
.pager li.disabled span {color: #bbb; background: #f9f9f9; border-color: #eee; cursor: not-allowed; box-shadow: none; }
.edit {font-size: 15px; color: #444; line-height: 1.8; }
.edit p {margin-bottom: 15px; }
.edit img {max-width: 100%; height: auto; border-radius: 6px; margin: 15px 0; }
/* 搜索页面专属样式 */ .search_page_section {padding-top: 120px;padding-bottom: 60px;background-color: #f5f7fa;min-height: calc(100vh - 300px);}
.search_header_box {background: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 2px 12px 0 rgba(0,0,0,0.05); margin-bottom: 30px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.search_header_info h2 {margin: 0 0 10px 0; font-size: 24px; color: #333; }
.search_header_info p {margin: 0; color: #666; font-size: 15px; }
.search_header_info b {color: #1d3d8a; }
.search_form_box {display: flex; width: 100%; max-width: 500px; border: 2px solid #1d3d8a; border-radius: 4px; overflow: hidden; }
.search_input {flex: 1; border: none; padding: 12px 20px; font-size: 15px; outline: none; }
.search_btn {background: #1d3d8a; color: #fff; border: none; padding: 0 25px; font-size: 15px; cursor: pointer; transition: background 0.3s; }
.search_btn:hover {background: #142a63; }
/* 卡片列表样式 */ .search_card_list {display: flex;flex-direction: column;gap: 20px;}
.search_card_item {background: #fff; border-radius: 8px; padding: 25px; box-shadow: 0 2px 12px 0 rgba(0,0,0,0.05); transition: transform 0.3s, box-shadow 0.3s; border-left: 4px solid transparent; }
.search_card_item:hover {transform: translateY(-2px); box-shadow: 0 4px 16px 0 rgba(0,0,0,0.1); border-left-color: #1d3d8a; }
.search_card_header {display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #eee; padding-bottom: 15px; margin-bottom: 15px; }
.search_card_title {font-size: 20px; font-weight: bold; color: #333; margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.search_card_model {color: #1d3d8a; }
.search_card_archives {color: #333; font-size: 16px; }
.search_card_channel {background: #f0f2f5; color: #606266; padding: 4px 10px; border-radius: 4px; font-size: 13px; font-weight: normal; }
.search_card_action .btn-link {display: inline-block; background: #1d3d8a; color: #fff; padding: 6px 15px; border-radius: 4px; text-decoration: none; font-size: 14px; transition: background 0.3s; white-space: nowrap; }
.search_card_action .btn-link:hover {background: #142a63; }
.search_card_desc {color: #666; font-size: 14px; line-height: 1.6; margin-bottom: 20px; padding: 10px 15px; background: #fcfcfc; border-radius: 4px; }
/* 参数网格 */ .search_params_grid {display: grid;grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));gap: 15px;}
.search_param_item {background: #fafafa; padding: 10px 15px; border-radius: 4px; font-size: 14px; line-height: 1.5; border: 1px solid #f0f0f0; }
.search_param_label {color: #909399; display: block; margin-bottom: 4px; font-size: 12px; }
.search_param_value {color: #303133; font-weight: 500; word-break: break-all; }
/* 关键字高亮 */ .search_highlight {color: #e60012;font-weight: bold;background: rgba(230, 0, 18, 0.1);padding: 0 2px;border-radius: 2px;}
.search_empty {text-align: center; padding: 60px 0; background: #fff; border-radius: 8px; color: #909399; }
.search_empty i {font-size: 48px; margin-bottom: 15px; color: #dcdfe6; }
@media (max-width: 768px) {
    .search_header_box {flex-direction: column; align-items: flex-start; }
    .search_card_header {flex-direction: column; align-items: flex-start; gap: 15px; }
    .search_params_grid {grid-template-columns: repeat(2, 1fr); }
}

/* 修复谷歌浏览器下侧边栏菜单错位问题 */
.multi-level-nav li.nav-item {
    display: block !important;
    width: 100%;
}
.multi-level-nav .multi-sub-menu {
    width: 100%;
    clear: both;
}

/* ==========================================================================
   面包屑导航通用样式 (Breadcrumb)
   适配 CMS 默认输出格式 <ol class="breadcrumb"><li><a href="...">...</a></li></ol>
   ========================================================================== */
.breadcrumb {
    padding: 15px 0;
    list-style: none;
    background-color: transparent;
    border-radius: 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    color: #666;
}

.breadcrumb > li {
    display: inline-flex;
    align-items: center;
}

/* 面包屑分隔符 (利用伪元素自动在li之间添加分隔符，避免改动HTML) */
.breadcrumb > li + li::before {
    content: "\f105"; /* FontAwesome angle-right 字符 */
    font-family: FontAwesome;
    padding: 0 10px;
    color: #ccc;
    font-size: 12px;
}

.breadcrumb > li > a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 16px;
}

.breadcrumb > li > a:hover {
    color: var(--text-hover);
}

/* 最后一个元素（当前页）的样式 */
.breadcrumb > li:last-child > a {
    color: #333;
    font-weight: 500;
    pointer-events: none; /* 当前页不可点击 */
}

/* 响应式调整 */
@media (max-width: 768px) {
    .breadcrumb {
        padding: 10px 15px;
        font-size: 13px;
    }
    .breadcrumb > li + li::before {
        padding: 0 6px;
    }
}


     
/*表格详细头部*/
 .product-top-box { display: flex; background: #fff; border-radius: 8px; padding: 30px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); margin-bottom: 20px; position: relative; }
.product-top-box .ptb-left { width: 360px; flex-shrink: 0; margin-right: 40px; position: relative; }
.product-top-box .ptb-right { flex: 1; display: flex; flex-direction: column; }

/* 左侧图片区域 */
.product-top-box .ptb-main-img { width: 100%; aspect-ratio: 1 / 1; border: 1px solid #eee; border-radius: 4px; position: relative; margin-bottom: 15px; overflow: hidden; background: #fafafa; }
.product-top-box .ptb-main-img .swiper-slide { display: flex; align-items: center; justify-content: center; background: #f5f5f5; }
.product-top-box .ptb-main-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
/* 无图片时的占位块样式 */
.product-top-box .ptb-empty-img { width: 100%; height: 100%; background-color: #f0f0f0; display: flex; align-items: center; justify-content: center; color: #ccc; font-size: 40px; }

.product-top-box .ptb-tag { position: absolute; top: 0; left: 0; background: linear-gradient(90deg, #ff5b5b, #ff8c69); color: #fff; padding: 4px 12px; font-size: 14px; border-radius: 4px 0 10px 0; z-index: 10; }

.product-top-box .ptb-thumb-slider { position: relative; padding: 0 30px; height: 60px; }
.product-top-box .ptb-thumb-img { width: 100%; height: 100%; overflow: hidden; }
.product-top-box .ptb-thumb-img .swiper-slide { border: 2px solid #eee; border-radius: 4px; cursor: pointer; box-sizing: border-box; display: flex; align-items: center; justify-content: center; height: 60px; background: #fafafa; transition: all 0.3s; }
.product-top-box .ptb-thumb-img .thumb-active,
.product-top-box .ptb-thumb-img .swiper-slide:hover { border-color: #3498db; }
.product-top-box .ptb-thumb-img img { max-width: 90%; max-height: 90%; object-fit: contain; }
/* 缩略图无图片时的占位块样式 */
.product-top-box .ptb-thumb-img .ptb-empty-thumb { width: 100%; height: 100%; background-color: #f0f0f0; display: flex; align-items: center; justify-content: center; color: #ddd; font-size: 20px; }

.product-top-box .ptb-thumb-prev, .product-top-box .ptb-thumb-next { position: absolute; top: 50%; transform: translateY(-50%); width: 20px; height: 60px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #ccc; font-size: 20px; z-index: 10; }
.product-top-box .ptb-thumb-prev:hover, .product-top-box .ptb-thumb-next:hover { color: #666; }
.product-top-box .ptb-thumb-prev { left: 0; }
.product-top-box .ptb-thumb-next { right: 0; }

.product-top-box .ptb-tips { font-size: 12px; color: #999; margin-top: 15px; text-align: center; }

/* 右侧内容区域 */
.product-top-box .ptb-title { display: flex; justify-content: space-between; align-items: center; font-size: 22px; font-weight: bold; color: #333; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #eee; }
.product-top-box .ptb-title .btn-return { font-size: 14px; font-weight: normal; color: #fff; background-color: #999; padding: 6px 16px; border-radius: 4px; text-decoration: none; transition: background 0.3s; }
.product-top-box .ptb-title .btn-return:hover { background-color: #3498db; }
.product-top-box .ptb-attrs { display: flex; flex-direction: column; gap: 15px; margin-bottom: 30px; }
.product-top-box .ptb-attr-item { display: flex; font-size: 14px; }
.product-top-box .ptb-attr-label { color: #666; width: 100px; flex-shrink: 0; }
.product-top-box .ptb-attr-val { color: #333; flex: 1; }

.product-top-box .ptb-actions { margin-top: auto; }
.product-top-box .ptb-btn-pdf { display: inline-flex; align-items: center; justify-content: center; padding: 8px 20px; border: 1px solid #3498db; color: #fff; border-radius: 4px; font-size: 14px; text-decoration: none; transition: all 0.3s; }
.product-top-box .ptb-btn-pdf i { margin-right: 6px; font-size: 16px; }
.product-top-box .ptb-btn-pdf:hover {  }

.product-top-box .btn-3d , .product-top-box .btn-schematic { color: #3498db;}
@media (max-width: 768px) {
      .product-top-box { flex-direction: column; padding: 15px; }
      .product-top-box .ptb-left { width: 100%; margin-right: 0; margin-bottom: 20px; }
      .product-top-box .ptb-title { font-size: 18px; }
      .ptb-zoom-lens, .ptb-zoom-window { display: none !important; } /* 移动端关闭放大镜 */
}

/* --- 放大镜相关样式 (独立防冲突) --- */
.product-top-box .ptb-main-img .swiper-slide { position: relative; }
.ptb-zoom-lens {
      display: none;
      position: absolute;
      width: 150px;
      height: 150px;
      background-color: rgba(52, 152, 219, 0.3); /* 半透明蓝色遮罩 */
      cursor: crosshair;
      z-index: 100;
      pointer-events: none; /* 让鼠标事件穿透遮罩层，防止卡顿 */
}
.ptb-zoom-window {
      display: none;
      position: absolute;
      left: 400px; /* .ptb-left 宽度(360) + margin-right(40) */
      top: 30px; /* 对齐父容器内边距 */
      width: 450px; /* 放大镜显示区宽度 */
      height: 450px; /* 放大镜显示区高度 */
      background-color: #fff;
      border: 1px solid #ddd;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      z-index: 1000;
      background-repeat: no-repeat;
      /* 根据遮罩大小和显示区比例，预设放大倍数。假设放大2.5倍左右 */
}