/* 血液科产品详情页面专用样式 */

/* 产品介绍部分 */
.product-detail {
    padding: 80px 0;
    background: #fff;
}

.product-detail .container {
    max-width: 1200px;
}

.detail-title {
    font-size: 28px;
    margin-bottom: 30px;
    color: #333;
    position: relative;
    padding-bottom: 20px;
    text-align: left;
    padding-left: 20px;
}

.detail-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    width: 60px;
    height: 2px;
    background: #5AB0B5;
}

.detail-content {
    line-height: 1.8;
    color: #666;
    font-size: 16px;
    padding: 0 20px;
}

.detail-content p {
    margin-bottom: 15px;
}

/* 产品参数部分 */
.product-params {
    padding: 80px 0;
    background: #f9f9f9;
}

.product-params .container {
    max-width: 1200px;
}

.product-params .params-title {
    font-size: 28px;
    margin-bottom: 40px;
    color: #333;
    position: relative;
    text-align: left;
    padding-left: 20px;
}

.product-params .params-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    width: 60px;
    height: 2px;
    background: #5AB0B5;
}

/* 产品参数网格 - 2x2布局 */
.product-params .params-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

/* 参数卡片 - 保持16:9比例 */
.product-params .param-card {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-params .param-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

/* 参数图片 */
.product-params .param-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s;
    cursor: pointer;
}

.product-params .param-card:hover img {
    transform: scale(1.05);
}

.zoomable-img:hover {
    opacity: 0.8;
}

/* 图片放大模态框 */
.image-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #333;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.3s;
}

.close:hover {
    color: #666;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .product-detail,
    .product-params {
        padding: 60px 0;
    }
    
    .detail-title,
    .product-params .params-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .product-params .params-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}