/* 产品详情页样式 */
.product-detail {
    padding: 30px 0;
}

.product-header {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.product-gallery {
    flex: 1;
    min-width: 300px;
}

.product-main-video,.product-main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


.product-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.product-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.product-thumbnail:hover,
.product-thumbnail.active {
    opacity: 1;
}

.product-info {
    flex: 1;
    min-width: 300px;
}

.product-title {
    font-size: 28px;
    margin-bottom: 15px;
    color: #333;
}

.product-meta {
    margin-bottom: 20px;
    color: #666;
}

.product-meta span {
    display: inline-block;
    margin-right: 15px;
}

.product-description {
    margin-bottom: 30px;
    line-height: 1.8;
}

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

.product-features h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.feature-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

.product-cta {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2E7D32, #1B5E20);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1px solid #4CAF50;
    color: #4CAF50;
}

.btn-outline:hover {
    background: rgba(76, 175, 80, 0.1);
}

.product-specs {
    margin-top: 50px;
}
.product-specs img  {
    max-width: 100%;
}
.product-specs h2 {
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

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

.specs-table th,
.specs-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.specs-table th {
    background-color: #f2f2f2;
    font-weight: 600;
}

/* 相关产品 */
.related-products {
    margin-top: 60px;
}

.related-products h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .product-header {
        flex-direction: column;
    }
    
    .product-main-image {
        height: 300px;
    }
    
    .product-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}