/* 全局重置 + 首页/Products 基础样式（保留所有原有样式） */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #333;
    font-size: 16px;
    line-height: 1.5;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 首页/Products 原有样式（顶部信息栏、导航、移动端导航、页脚等）全部保留，以下仅新增产品详情页专属样式 */

/* 产品详情Banner区 */
.product-detail-banner {
    position: relative;
    color: #fff;
    background-color: #00205b; /* 设计稿深蓝色背景 */
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3;
}

.banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-banner .container {
    position: relative;
    z-index: 2;
    padding: 60px 0;
}

.product-detail-banner .breadcrumb {
    font-size: 14px;
    margin-bottom: 15px;
}

.product-detail-banner .breadcrumb a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
}

.product-detail-banner .breadcrumb span {
    color: #fff;
    font-weight: 600;
}

.product-detail-banner h1 {
    font-size: 42px;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.2;
}

.product-detail-banner p {
    font-size: 16px;
    max-width: 800px;
    opacity: 0.9;
}

/* 产品主图+基础信息区 */
.product-main-info {
    padding: 60px 0;
    background-color: #fff;
}

.product-main-info .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* 产品图片轮播区 */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-img-slider {
    position: relative;
    height: 400px;
    overflow: hidden;
    border: 1px solid #eee;
}

.main-img-container {
    width: 100%;
    height: 100%;
}

.main-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.main-img.active {
    opacity: 1;
}

.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.8);
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    color: #00205b;
    font-size: 16px;
    transition: all 0.3s ease;
}

.slider-prev:hover, .slider-next:hover {
    background-color: #00205b;
    color: #fff;
}

.slider-prev {
    left: 15px;
}

.slider-next {
    right: 15px;
}

/* 缩略图导航 */
.thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.thumbnail.active {
    border-color: #0066cc; /* 设计稿蓝色 */
}

.thumbnail:hover {
    border-color: #004c99;
}

/* 产品基础信息 */
.product-info h2 {
    font-size: 28px;
    text-transform: uppercase;
    color: #00205b;
    margin-bottom: 15px;
    font-weight: bold;
}

/* 评分样式 */
.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.stars {
    color: #ffc107; /* 黄色星星 */
    font-size: 18px;
}

.rating-value {
    font-size: 14px;
    color: #666;
}

.product-desc {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* 产品属性列表 */
.product-specs-list {
    list-style: none;
    margin-bottom: 30px;
}

.product-specs-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 14px;
}

.product-specs-list li i {
    color: #0066cc;
    margin-top: 3px;
    width: 16px;
    text-align: center;
}

.spec-label {
    font-weight: 600;
    color: #00205b;
    min-width: 120px;
}

.spec-value {
    color: #666;
}

/* 操作按钮 */
.product-actions {
    display: flex;
    gap: 15px;
}

.primary-btn {
    background-color: #0066cc; /* 设计稿蓝色按钮 */
    color: #fff;
    border: none;
    padding: 12px 25px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.primary-btn:hover {
    background-color: #004c99;
}

.secondary-btn {
    background-color: #fff;
    color: #0066cc;
    border: 1px solid #0066cc;
    padding: 12px 25px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    background-color: #0066cc;
    color: #fff;
}

/* 产品标签页区 */
.product-tabs-section {
    padding: 40px 0 60px;
    background-color: #f9f9f9;
}

/* 标签导航 */
.product-tabs-nav {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 15px 25px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-btn.active {
    color: #0066cc;
    border-bottom-color: #0066cc;
}

.tab-btn:hover {
    color: #0066cc;
}

/* 标签内容区 */
.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 规格标签内容 */
.specs-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.specs-table table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid #eee;
}

.specs-table td {
    padding: 12px 10px;
    font-size: 14px;
}

.specs-table .spec-label {
    font-weight: 600;
    color: #00205b;
    width: 30%;
    vertical-align: top;
}

.specs-table .spec-value {
    color: #666;
}

/* 核心优势 */
.key-features h3 {
    font-size: 20px;
    color: #00205b;
    margin-bottom: 20px;
    font-weight: bold;
}

.key-features ul {
    list-style: none;
}

.key-features li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.key-features li i {
    font-size: 24px;
    color: #0066cc;
    margin-top: 3px;
}

.feature-content h4 {
    font-size: 16px;
    color: #00205b;
    margin-bottom: 5px;
    font-weight: 600;
}

.feature-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* 详情标签内容 */
.details-content h3 {
    font-size: 20px;
    color: #00205b;
    margin-bottom: 20px;
    font-weight: bold;
}

.details-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* 应用场景标签内容 */
.applications-content h3 {
    font-size: 20px;
    color: #00205b;
    margin-bottom: 20px;
    font-weight: bold;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.application-item {
    border: 1px solid #eee;
    padding: 15px;
    transition: box-shadow 0.3s ease;
}

.application-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.application-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    margin-bottom: 15px;
}

.application-item h4 {
    font-size: 16px;
    color: #00205b;
    margin-bottom: 10px;
    font-weight: 600;
}

.application-item p {
    font-size: 14px;
    color: #666;
}

/* 下载标签内容 */
.download-content h3 {
    font-size: 20px;
    color: #00205b;
    margin-bottom: 20px;
    font-weight: bold;
}

.download-list {
    list-style: none;
}

.download-list li {
    border: 1px solid #eee;
    margin-bottom: 10px;
}

.download-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.download-list a:hover {
    background-color: #f0f5fc;
}

.download-list i {
    font-size: 24px;
    color: #0066cc;
    margin-right: 15px;
}

.download-info {
    flex: 1;
}

.download-info h4 {
    font-size: 16px;
    color: #00205b;
    margin-bottom: 5px;
    font-weight: 600;
}

.download-info p {
    font-size: 12px;
    color: #666;
}

.download-size {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

/* FAQ标签内容 */
.faq-content h3 {
    font-size: 20px;
    color: #00205b;
    margin-bottom: 20px;
    font-weight: bold;
}

.faq-items {
    max-width: 800px;
}

.faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 15px 0;
    font-size: 16px;
    color: #00205b;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question i {
    font-size: 14px;
    color: #0066cc;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 0 0 0;
}

.faq-answer p {
    font-size: 14px;
    color: #666;
    padding-bottom: 15px;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

/* 推荐产品区 */
.related-products {
    padding: 60px 0;
    background-color: #fff;
}

.related-products h2 {
    font-size: 24px;
    text-transform: uppercase;
    color: #00205b;
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.related-slider {
    position: relative;
    overflow: hidden;
}

.related-prev, .related-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    color: #0066cc;
    font-size: 16px;
    transition: all 0.3s ease;
}

.related-prev:hover, .related-next:hover {
    background-color: #0066cc;
    color: #fff;
    border-color: #0066cc;
}

.related-prev {
    left: -20px;
}

.related-next {
    right: -20px;
}

.related-products-grid {
    display: flex;
    gap: 20px;
    /* overflow-x: auto; */
    padding: 10px 0 20px;
    scroll-behavior: smooth;
}

.related-product-card {
    min-width: 220px;
    border: 1px solid #eee;
    transition: box-shadow 0.3s ease;
}

.related-product-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.related-product-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    margin-bottom: 15px;
}

.related-product-card h4 {
    font-size: 14px;
    text-transform: uppercase;
    color: #00205b;
    margin: 0 15px 15px;
    font-weight: 600;
    text-align: center;
}




.related-product-card h4 a {

    text-decoration: none;


    font-size: 14px;
    text-transform: uppercase;
    color: #00205b;
   
    font-weight: 600;
   
}





.view-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 12px;
    color: #0066cc;
    text-decoration: none;
    margin: 0 15px 15px 15px;
    padding: 8px 15px;
    border: 1px solid #0066cc;
    width: calc(100% - 30px);
    transition: all 0.3s ease;
}

.view-more-btn:hover {
    background-color: #0066cc;
    color: #fff;
}

/* 帮助咨询栏 */
.help-section {
    padding: 40px 0;
    background-color: #00205b; /* 设计稿深蓝色背景 */
    color: #fff;
}

.help-section .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.help-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.help-left i {
    font-size: 48px;
    color: #fff;
}

.help-text h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.help-text p {
    font-size: 14px;
    opacity: 0.8;
}

.help-right .contact-btn {
    background-color: #fff;
    color: #00205b;
    text-decoration: none;
    padding: 12px 25px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.help-right .contact-btn:hover {
    background-color: #f0f0f0;
}

/* 响应式适配 */
@media (max-width: 1024px) {
    .product-detail-banner h1 {
        font-size: 36px;
    }
    .product-main-info .container {
        grid-template-columns: 1fr;
    }
    .specs-grid {
        grid-template-columns: 1fr;
    }
    .key-features {
        margin-top: 30px;
    }
    .applications-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .product-detail-banner h1 {
        font-size: 28px;
    }
    .product-detail-banner .container {
        padding: 40px 0;
    }
    .main-img-slider {
        height: 300px;
    }
    .product-actions {
        flex-direction: column;
    }
    .primary-btn, .secondary-btn {
        width: 100%;
    }
    .product-tabs-nav {
        flex-wrap: wrap;
    }
    .tab-btn {
        padding: 10px 15px;
        font-size: 14px;
    }
    .help-section .container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .help-left {
        flex-direction: column;
    }
    .related-prev {
        left: 0;
    }
    .related-next {
        right: 0;
    }
}

@media (max-width: 480px) {
    .product-detail-banner h1 {
        font-size: 22px;
    }
    .main-img-slider {
        height: 250px;
    }
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    .product-info h2 {
        font-size: 22px;
    }
    .help-left i {
        font-size: 36px;
    }
    .help-text h3 {
        font-size: 18px;
    }
}

/* 首页/Products 原有响应式样式（768px/480px 适配）全部保留 */