/* ========== 产品规格页 V2 样式 ========== */

/* --- 面包屑 --- */
.gv2-bread{padding:10px 0 20px;font-size:14px;color:#666;border-bottom:1px solid #eee;margin-bottom:30px;}
.gv2-bread a{color:#333;}
.gv2-bread a:hover{color:#d00;}
.gv2-bread span{margin:0 8px;color:#ccc;}
.gv2-back{float:right;color:#d00;}

/* --- 概览区 --- */
.gv2-overview{padding:30px 0 50px;background:#f8f8f8;}
.gv2-main{display:flex;justify-content:center;}
.gv2-img{flex:0 0 560px;max-width:560px;margin-right:80px;}
/* 大图 */
.gv2-img-main{width:560px;height:420px;background:#fff;border:1px solid #eee;margin-bottom:10px;user-select:none;}
.gv2-img-main img{width:100%;height:100%;object-fit:contain;pointer-events:none;}
/* 缩略图列表 */
.gv2-img-thumbs-wrap{display:flex;align-items:center;gap:6px;user-select:none;}
.gv2-img-thumbs{display:flex;gap:8px;overflow:hidden;flex:1;}
.gv2-thumb{width:72px;height:72px;border:2px solid transparent;cursor:pointer;overflow:hidden;flex-shrink:0;}
.gv2-thumb img{width:100%;height:100%;object-fit:cover;pointer-events:none;}
.gv2-thumb.active{border-color:#d00;}
.gv2-thumb:hover{border-color:#999;}
.gv2-thumb-arrow{flex-shrink:0;width:28px;height:72px;display:flex;align-items:center;justify-content:center;background:#eee;cursor:pointer;font-size:16px;color:#666;border-radius:2px;}
.gv2-thumb-arrow:hover{background:#d00;color:#fff;}
/* 单图（无缩略图时） */
.gv2-img > img{width:100%;max-width:560px;max-height:420px;object-fit:contain;border:1px solid #eee;}
.gv2-info{max-width:520px;}

.gv2-title{font-size:32px;color:#1a1a1a;margin-bottom:20px;margin-left:-15px;font-weight:bold;line-height:1.4;}
.gv2-desc{font-size:14px;color:#666;line-height:1.8;margin-bottom:25px;max-height:151px;overflow-y:auto;}

/* 产品特点 / 典型应用 */
.gv2-section{margin-bottom:25px;}
.gv2-label{font-size:17px;font-weight:bold;color:#333;margin-bottom:14px;margin-left:-15px;padding-left:10px;border-left:3px solid #d00;}
.gv2-tags{display:flex;flex-wrap:wrap;gap:8px;}
.gv2-tag{display:inline-block;padding:8px 22px;background:#f0f4ff;color:#3a6bdb;border-radius:4px;font-size:17px;}
.gv2-apps{display:flex;flex-wrap:wrap;gap:8px 24px;}
.gv2-app-item{display:flex;align-items:center;gap:10px;}
.gv2-app-item span{display:inline-block;width:8px;height:8px;background:#d00;border-radius:50%;flex-shrink:0;}
.gv2-app-item p{font-size:18px;color:#555;}


/* --- 规格参数 --- */
.gv2-specs{padding:50px 0;background:#fff;}
.gv2-section-title{font-size:22px;color:#1a1a1a;text-align:center;margin-bottom:30px;font-weight:bold;}
.gv2-table-wrap{border:1px solid #e0e0e0;border-radius:6px;box-shadow:0 2px 12px rgba(0,0,0,0.06);overflow-x:auto;}
.gv2-table{width:100%;border-collapse:collapse;font-size:13px;}
.gv2-table thead th{background:#1e2d3d;color:#e8eaed;padding:0 14px;height:46px;line-height:46px;text-align:center;font-weight:500;white-space:nowrap;border:1px solid #2a3a4e;}
.gv2-table td{padding:0 14px;height:46px;line-height:46px;text-align:center;border:1px solid #eee;white-space:nowrap;color:#444;font-size:13px;}
.gv2-table td:first-child{font-weight:600;color:#1a1a1a;background:#fafbfc;}
.gv2-table tbody tr:nth-child(even){background:#f9fafb;}
.gv2-table tbody tr:hover{background:#eef2f7;}
.gv2-table tbody tr:hover td:first-child{background:#e2e8f0;}
/* 固定表头克隆 */
.gv2-head-clone{position:fixed;top:0;left:0;z-index:99;opacity:0;pointer-events:none;transition:opacity 0.2s;box-shadow:0 2px 8px rgba(0,0,0,0.15);overflow-x:hidden;overflow-y:hidden;}
.gv2-head-clone.show{opacity:1;}
.gv2-head-clone table{border-collapse:collapse;font-size:13px;margin:0;}
.gv2-head-clone th{background:#1e2d3d;color:#e8eaed;padding:0 14px;height:46px;line-height:46px;text-align:center;font-weight:500;white-space:nowrap;border:1px solid #2a3a4e;}

/* --- 产品详情 --- */
.gv2-detail{padding:50px 0;background:#f8f8f8;}
.gv2-contents{line-height:1.9;font-size:15px;color:#444;}
.gv2-contents img{max-width:100%;}

/* --- 资料下载 --- */
.gv2-download{padding:50px 0;background:#fff;}
.gv2-file-box{padding:10px 0;}
.gv2-file-link{display:inline-flex;align-items:center;gap:10px;padding:8px 20px;border:1px solid #ddd;border-radius:4px;transition:all 0.3s;}
.gv2-file-link:hover{border-color:#d00;box-shadow:0 2px 8px rgba(0,0,0,0.1);}
.gv2-file-link img{width:30px;height:30px;}
.gv2-file-link span{font-size:14px;color:#333;}

/* --- 规格书文件图标 --- */
.gv2-spec-files{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 8px;padding:2px 0;}
.gv2-spec-file{display:inline-flex;align-items:center;text-decoration:none;padding:1px;}
.gv2-spec-file:hover{text-decoration:none;}
.gv2-spec-file .gv2-file-icon{position:relative;width:22px;height:28px;border-radius:2px;background:#7f8c8d;color:#fff;font-size:7px;font-weight:bold;display:flex;align-items:flex-end;justify-content:center;padding-bottom:3px;line-height:1;box-shadow:0 1px 2px rgba(0,0,0,0.15);}
/* 折角效果 */
.gv2-spec-file .gv2-file-icon:before{content:'';position:absolute;top:0;right:0;border-style:solid;border-width:0 0 6px 6px;border-color:transparent transparent #fafbfc transparent;}
/* 按扩展名配色 */
.gv2-spec-file.pdf .gv2-file-icon{background:#e74c3c;}
.gv2-spec-file.doc .gv2-file-icon, .gv2-spec-file.docx .gv2-file-icon{background:#2980b9;}
.gv2-spec-file.xls .gv2-file-icon, .gv2-spec-file.xlsx .gv2-file-icon{background:#27ae60;}
.gv2-spec-file.zip .gv2-file-icon, .gv2-spec-file.rar .gv2-file-icon, .gv2-spec-file.7z .gv2-file-icon{background:#8e44ad;}
.gv2-spec-file:hover .gv2-file-icon{filter:brightness(1.12);transform:translateY(-2px);}

/* --- 相关产品 --- */
.gv2-related{padding:50px 0;background:#fff;}
.gv2-related-list{display:flex;flex-wrap:wrap;gap:20px;justify-content:center;}
.gv2-related-item{width:calc(25% - 15px);max-width:220px;text-align:center;}
.gv2-related-item a{display:block;}
.gv2-related-item .img{position:relative;overflow:hidden;}
.gv2-related-item .img em{display:block;padding-bottom:75%;background-size:cover;background-position:center;border:1px solid #eee;transition:transform 0.4s;}
.gv2-related-item:hover .img em{transform:scale(1.05);}
.gv2-related-item .txt{margin-top:10px;font-size:14px;color:#333;}

/* --- 响应式 --- */
@media screen and (max-width:1024px){
    .gv2-main{flex-direction:column;}
    .gv2-img{flex:0 0 auto;max-width:400px;margin:0 auto;}
    .gv2-img-main{width:400px;height:300px;}
    .gv2-related-item{width:calc(33.33% - 14px);}
}
@media screen and (max-width:768px){
    .gv2-title{font-size:20px;}
    .gv2-related-item{width:calc(50% - 10px);}
    .gv2-overview{padding:20px 0;}
    .gv2-specs, .gv2-detail, .gv2-download, .gv2-related{padding:30px 0;}
}
