/* 产品中心页面样式 */

/* 内容区 */
.products-content {
    padding: 60px 0 80px;
    background: #f8f9fa;
}

/* 分类区块 */
.category-section {
    margin-bottom: 80px;
}

.category-section:last-child {
    margin-bottom: 0;
}

/* 分类标题栏 */
.category-header {
    margin-bottom: 50px;
    padding-left: 20px;
    border-left: 4px solid var(--primary);
}

.category-title {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 32px;
    font-weight: 700;
    color: #1a3a6c;
    margin: 0;
    line-height: 1.3;
}

.category-title .title-en {
    font-size: 16px;
    font-weight: 400;
    color: #888;
    letter-spacing: 1px;
}

/* 产品对展示 - 左右双栏 */
.products-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* 单个产品项 - 左右布局 */
.product-item {
    display: flex;
    align-items: stretch;
    gap: 20px;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    min-height: 400px;
}

/* 产品信息区 */
.product-info {
    flex: 1;
    padding: 10px;
    min-width: 0;
}

.product-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.product-header .bullet {
    color: #f5a623;
    font-size: 14px;
    flex-shrink: 0;
}

.product-name {
    font-size: 18px;
    font-weight: 700;
    color: #1a3a6c;
    margin: 0;
    line-height: 1.4;
}

.product-model {
    font-size: 13px;
    color: #555;
    margin-bottom: 15px;
    padding-left: 24px;
    font-weight: 500;
}

.product-params {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-left: 24px;
}

.product-params li {
    font-size: 12px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 3px;
}

/* 产品视觉区（图片+序号） */
.product-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 220px;
    flex-shrink: 0;
    padding: 20px 40px 20px 20px;
    background: transparent;
}

/* 大号序号 - 描边空心效果，右上角 */
.product-num {
    font-size: 72px;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 2px #c9a86c;
    text-stroke: 2px #c9a86c;
    line-height: 1;
    font-family: 'Arial', sans-serif;
    position: absolute;
    right: -10px;
    top: 0;
    z-index: 0;
    pointer-events: none;
    user-select: none;
    opacity: 0.5;
}

/* 产品图片容器 - 透明背景 */
.product-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 4px;
}

/* 产品图片 */
.product-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    background: transparent;
}

/* 响应式 */



/* Desktop product image sizing */
@media (min-width: 769px) {
    .product-visual {
        width: 300px;
        padding: 20px;
    }

    .product-image {
        height: 280px;
    }

    /* Upscale small source files to the available desktop display area. */
    .product-image img {
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        object-fit: contain;
    }

    /* These source files contain wider transparent margins, so their
       visible equipment needs a small extra scale correction. */
    .product-image img[src$="product-01.png"] {
        transform: scale(1.28);
    }

    .product-image img[src$="product-03.png"],
    .product-image img[src$="product-04.jpg"] {
        transform: scale(1.25);
    }

    .product-image img[src$="product-08.png"] {
        transform: scale(1.08);
    }

    .product-image img[src$="product-14.png"] {
        transform: scale(1.15);
    }

    .product-image img[src$="product-18.png"] {
        transform: scale(1.10);
    }
}

@media (max-width: 1400px) {
    .products-pair {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-item {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .category-title {
        font-size: 24px;
    }
    
    .product-item {
        flex-direction: column;
    }
    
    .product-visual {
        width: 100%;
        height: 200px;
        padding: 20px 50px 20px 20px;
    }
    
    .product-image {
        height: 160px;
    }
    
    .product-name {
        font-size: 16px;
    }
    
    .product-num {
        font-size: 60px;
        right: 0;
        top: -5px;
    }
    
    .product-params li {
        font-size: 11px;
    }
}
