/* 产品详情页面专用样式 */
.product-detail-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.product-main-section {
    display: flex;
    gap: 2rem;
    align-items: stretch;
}

.product-main-image {
    flex: 0 0 500px;
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    min-height: 500px;
}

.product-main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.product-params {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.param-row {
    display: flex;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}

.param-label {
    font-weight: 600;
    color: #2c3e50;
    min-width: 120px;
    margin-right: 1rem;
}

.param-value {
    color: #666;
    flex: 1;
}

.contact-button {
    align-self: center;
    margin-top: auto;
}

.product-description-section {
    margin-top: 2rem;
    display: flex;
    width: 100%;
}

.description-left-column,
.description-right-column {
    flex: 1;
    min-width: 0;
}

.description-center-column {
    flex: 0 0 700px;
    padding: 0 1rem;
}

.description-content {
    line-height: 1.8;
    color: #333;
}

.description-content p {
    margin-bottom: 1.5rem;
}

.description-image {
    width: 100%;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.description-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 响应式设计调整 */
@media (max-width: 992px) {
    .product-main-section {
        flex-direction: column;
    }
    
    .product-main-image {
        flex: none;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        min-height: auto;
    }
    
    .contact-button {
        align-self: center;
    }
    
    /* 响应式三列布局调整为单列 */
    .product-description-section {
        flex-direction: column;
    }
    
    .description-center-column {
        flex: none;
        width: 100%;
        padding: 0;
    }
}
