/* 产品Banner + 面包屑样式 */
.product-banner {
    position: relative;
    height: 150px;
    background-color: #222;
    color: #fff;
    display: flex;
    align-items: center;
}

.product-banner .banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.4);
    z-index: 1;
}

.product-banner .container {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.product-banner .breadcrumb {
    font-size: 14px;
    color: #ddd;
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.product-banner .breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-banner .breadcrumb a:hover {
    color: #4CAF50;
}

.product-banner .breadcrumb span {
    color: #ddd;
}

.product-banner .breadcrumb .active {
    color: #4CAF50;
    font-weight: 500;
}

.product-banner h1 {
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
}

/* 产品详情主区域 */
.product-detail-section {
    padding: 60px 0;
    background-color: #fff;
}

.product-detail-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* 产品图片画廊 */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image {
    position: relative;
    border: 1px solid #eee;
    padding: 5px;
    background-color: #fff;
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.zoom-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(76, 175, 80, 0.8);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.zoom-btn:hover {
    background-color: #4CAF50;
}

.thumbnails {
    display: flex;
    align-items: center;
    gap: 10px;
}

.thumb-nav {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background-color: #fff;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.thumb-nav:hover {
    background-color: #4CAF50;
    color: #fff;
    border-color: #4CAF50;
}

.thumb-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px 0;
    scrollbar-width: thin;
}

.thumb-list::-webkit-scrollbar {
    height: 4px;
}

.thumb-list::-webkit-scrollbar-thumb {
    background-color: #ddd;
    border-radius: 2px;
}

.thumb-item {
    width: 100px;
    height: 80px;
    border: 2px solid transparent;
    cursor: pointer;
    overflow: hidden;
    flex-shrink: 0;
}

.thumb-item.active {
    border-color: #4CAF50;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thumb-item:hover img {
    transform: scale(1.05);
}

/* 产品信息区 */
.product-info h2 {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
}

.product-desc-short {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.product-features {
    list-style: none;
    margin-bottom: 30px;
}

.product-features li {
    color: #333;
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-features li i {
    color: #4CAF50;
    font-size: 16px;
}

/* 产品参数表 */
.product-specs {
    margin-bottom: 30px;
}

.product-specs table {
    width: 100%;
    border-collapse: collapse;
}

.product-specs tr {
    border-bottom: 1px solid #eee;
}

.product-specs td {
    padding: 12px 0;
    font-size: 14px;
}

.spec-label {
    color: #666;
    font-weight: 500;
    width: 35%;
}

/* 颜色选项 */
.color-options {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 5px;
}

.color-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    border: 1px solid #ddd;
}

.color-dot.black {
    background-color: #000;
}

.color-dot.green {
    background-color: #4CAF50;
}

.color-dot.gray {
    background-color: #999;
}

.color-dot.blue {
    background-color: #0066cc;
}

.color-dot.white {
    background-color: #fff;
}

.custom-color {
    font-size: 13px;
    color: #666;
    font-style: italic;
}

/* 产品操作按钮 */
.product-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.product-actions .quote-btn.primary {
    background-color: #4CAF50;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.product-actions .quote-btn.primary:hover {
    background-color: #3d8b40;
}

.download-catalog-btn {
    background-color: #fff;
    color: #333;
    border: 1px solid #ddd;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.download-catalog-btn:hover {
    background-color: #f5f5f5;
    border-color: #ccc;
}

/* 产品标签页样式 */
.product-tabs-section {
    margin-bottom: 60px;
}

.product-tabs-nav {
    display: flex;
    border-bottom: 2px solid #eee;
    margin-bottom: 30px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.tab-btn.active {
    color: #4CAF50;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #4CAF50;
}

.tab-btn:hover:not(.active) {
    color: #4CAF50;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content-inner {
    display: grid;
    grid-template-columns:1fr;
    gap: 30px;
}

/* 描述标签页样式 */
.desc-text {
    color: #666;
    line-height: 1.8;
    font-size: 14px;
}

.desc-text p {
    margin-bottom: 20px;
}

.desc-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.desc-features li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.desc-features li i {
    color: #4CAF50;
    font-size: 14px;
}

.desc-image img {
    width: 100%;
    height: auto;
    border: 1px solid #eee;
}

/* 规格标签页样式 */
.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table th,
.spec-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.spec-table th {
    background-color: #f9f9f9;
    color: #222;
    font-weight: 600;
}

.spec-table tr:hover {
    background-color: #f5f5f5;
}

/* 应用标签页样式 */
.application-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.application-item {
    text-align: center;
    padding: 15px;
    border: 1px solid #eee;
    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;
    font-weight: 600;
    margin-bottom: 10px;
    color: #222;
}

.application-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* FAQ标签页样式 */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    border: 1px solid #eee;
}

.faq-question {
    width: 100%;
    padding: 15px 20px;
    background-color: #f9f9f9;
    color: #222;
    font-weight: 600;
    text-align: left;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
}

.faq-question::after {
    content: '+';
    font-size: 20px;
    color: #4CAF50;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    padding: 15px 0;
    font-size: 14px;
}

/* 相关产品区域 */
.related-products-section {
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.related-products-section h3 {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.related-products-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #4CAF50;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
}

.related-product-item {
    border: 1px solid #eee;
    transition: box-shadow 0.3s ease;
}

.related-product-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.related-product-item .product-img {
    height: 180px;
    overflow: hidden;
}

.related-product-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-product-item:hover img {
    transform: scale(1.05);
}

.related-product-item h4 {
    padding: 5px 15px;
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin: 0;
}



.related-product-item p {
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 300;
    color: #222;
    margin: 0;
}





.view-details-btn {
    display: block;
    text-align: center;
    padding: 10px;
    margin: 0 15px 15px;
    border: 1px solid #4CAF50;
    color: #4CAF50;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-details-btn:hover {
    background-color: #4CAF50;
    color: #fff;
}

/* 响应式适配 */
@media (max-width: 1200px) {
    .product-detail-row {
        grid-template-columns: 1fr;
    }
    
    .tab-content-inner {
        grid-template-columns: 1fr;
    }
    
    .application-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .product-banner {
        height: 120px;
    }
    
    .product-banner h1 {
        font-size: 24px;
    }
    
    .product-detail-section {
        padding: 40px 0;
    }
    
    .product-tabs-nav {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    .tab-btn {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .desc-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .product-banner {
        height: 100px;
    }
    
    .product-banner h1 {
        font-size: 20px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-actions a {
        width: 100%;
        text-align: center;
    }
    
    .related-products-grid {
        grid-template-columns: 1fr;
    }
    
    .thumb-item {
        width: 80px;
        height: 60px;
    }
}