/* 产品详情页专用样式 */

.product-detail-content {
    padding: 80px 0;
}

.product-main-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

/* 产品图片库 */
.product-gallery {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.main-image {
    position: relative;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-image:hover img {
    transform: scale(1.05);
}

.thumbnail-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
}

.thumbnail-list img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.thumbnail-list img:hover,
.thumbnail-list img.active {
    border-color: #667eea;
    transform: scale(1.1);
}

/* 产品信息面板 */
.product-info-panel {
    padding: 20px;
}

.product-info-panel h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.product-specs {
    margin-bottom: 30px;
}

.product-specs h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.product-specs ul {
    list-style: none;
}

.product-specs li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.product-specs li strong {
    color: #2c3e50;
    min-width: 120px;
}

.product-features {
    margin-bottom: 40px;
}

.product-features h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.product-features ul {
    list-style: none;
}

.product-features li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

.product-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.product-actions .btn-large {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

/* 产品标签页 */
.product-tabs {
    margin-top: 60px;
}

.tab-nav {
    display: flex;
    border-bottom: 2px solid #eee;
    margin-bottom: 40px;
    overflow-x: auto;
}

.tab-btn {
    padding: 15px 30px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn:hover,
.tab-btn.active {
    color: #667eea;
    border-bottom-color: #667eea;
}

.tab-content {
    min-height: 400px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

.tab-pane h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.tab-pane p {
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

.tab-pane ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.tab-pane li {
    line-height: 1.8;
    color: #666;
    margin-bottom: 8px;
}

/* 规格参数表格 */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.specs-table tr {
    border-bottom: 1px solid #eee;
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table td {
    padding: 15px 20px;
    vertical-align: middle;
}

.specs-table tr:nth-child(even) {
    background: #f8f9fa;
}

.specs-table td:first-child {
    font-weight: bold;
    color: #2c3e50;
    width: 150px;
}

.specs-table td:nth-child(2) {
    color: #667eea;
    font-weight: bold;
}

/* 认证资质网格 */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.cert-item {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.cert-item:hover {
    transform: translateY(-5px);
}

.cert-item img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    margin-bottom: 15px;
}

.cert-item p {
    font-weight: bold;
    color: #2c3e50;
    margin: 0;
}

/* 引用块样式 */
.highlight-quote {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
    position: relative;
}

.highlight-quote::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -10px;
    left: 20px;
    opacity: 0.3;
}

.highlight-quote cite {
    display: block;
    margin-top: 15px;
    font-style: normal;
    opacity: 0.9;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .product-main-info {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 60px;
    }
    
    .product-gallery {
        position: static;
    }
    
    .main-image img {
        height: 250px;
    }
    
    .product-info-panel h2 {
        font-size: 2rem;
    }
    
    .product-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .tab-nav {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1;
        min-width: 120px;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-actions .btn-large {
        flex: none;
        min-width: auto;
    }
    
    .specs-table td {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .specs-table td:first-child {
        width: 100px;
    }
    
    .cert-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }
}