.product-recommend {
    width: 100%;
    height: 53.7vw; /* 1031/1920 * 100 = 53.7vw */
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

.section-title {
    font-family: "Source Han Sans CN", "Source Han Sans CN";
    font-weight: bold;
    font-size: 2.5vw; /* 48/1920 * 100 = 2.5vw */
    color: #00509F;
    line-height: 3.02vw; /* 58/1920 * 100 = 3.02vw */
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin-top: 3.33vw; /* 64/1920 * 100 = 3.33vw */
    margin-bottom: 2.92vw; /* 56/1920 * 100 = 2.92vw */
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 18.75vw); /* 360/1920 * 100 = 18.75vw */
    gap: 2.08vw; /* 40/1920 * 100 = 2.08vw */
    max-width: 62.5vw; /* 1200/1920 * 100 = 62.5vw */
    width: 100%;
    margin: 0 auto;
    margin-bottom: 4.22vw; /* 81/1920 * 100 = 4.22vw */
}

.product-item {
    width: 18.75vw; /* 360/1920 * 100 = 18.75vw */
    height: 18.75vw; /* 360/1920 * 100 = 18.75vw */
    background: #F8F8F8;
    border-radius: 1.46vw; /* 28/1920 * 100 = 1.46vw */
    border: 0.1vw solid #B2B2B2; /* 2/1920 * 100 = 0.1vw */
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 0 auto;
}

.product-item:hover {
    border-color: #0050A2;
    transform: translateY(-0.26vw); /* 5/1920 * 100 = 0.26vw */
}

.product-image-placeholder {
    width: 100%;
    height: auto;
    margin-bottom: 1.41vw; /* 27/1920 * 100 = 1.41vw */
    padding: 1.51vw 1.04vw 0 1.04vw; /* 29px 20px 0 20px -> vw */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image-placeholder img {
    width: 100%;
    height: 100%;
    max-width: 16.67vw; /* 320/1920 * 100 = 16.67vw */
    max-height: 12.4vw; /* 238/1920 * 100 = 12.4vw */
    object-fit: contain;
    object-position: center center;
    transition: transform 0.3s ease;
}

.product-item:hover .product-image-placeholder img {
    transform: scale(1.05);
}

.product-title {
    font-family: "Source Han Sans CN", sans-serif;
    font-weight: 400;
    font-size: 1.46vw; /* 28/1920 * 100 = 1.46vw */
    color: #333333;
    line-height: 2.08vw; /* 40/1920 * 100 = 2.08vw */
    text-align: center;
    font-style: normal;
    text-transform: none;
    width: auto;
    display: inline-block;
    margin-bottom: 1.61vw; /* 31/1920 * 100 = 1.61vw */
    transition: color 0.3s ease;
}

.product-title a {
    color: #333333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title a:hover,
.product-title a:focus {
    color: #0050A2;
    text-decoration: none;
}

.product-item:hover .product-title a {
    color: #0050A2;
}

/* 移动端响应式样式 (≤492px) */
@media screen and (max-width: 492px) {
    .product-recommend {
        height: auto; /* 自适应高度 */
        padding: 2vw 0; /* 添加上下内边距 */
    }

    .section-title {
        font-size: 12px; /* 与方案定制标题保持一致 */
        line-height: 14px; /* 与方案定制标题保持一致 */
        margin-top: 4vw;
        margin-bottom: 4vw;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr); /* 改为2列布局 */
        grid-template-rows: repeat(3, 35vw); /* 3行，每行35vw高 */
        gap: 3vw; /* 增大间距 */
        max-width: 90vw; /* 增大最大宽度 */
        margin-bottom: 6vw;
    }

    .product-item {
        width: 42vw; /* 适应2列布局 */
        height: 35vw; /* 调整高度比例 */
        border-radius: 3vw; /* 调整圆角 */
        border-width: 0.2vw; /* 调整边框宽度 */
    }

    .product-image-placeholder {
        margin-bottom: 2vw;
        padding: 2vw 1.5vw 0 1.5vw;
    }

    .product-image-placeholder img {
        max-width: 30vw;
        max-height: 20vw;
    }

    .product-title {
        font-size: 3vw; /* 移动端标题字号 */
        line-height: 4vw;
        margin-bottom: 2vw;
    }
}

/* 英文界面移动端样式 (≤491px) */
@media screen and (max-width: 491px) {
    html[lang="en"] .section-title {
        font-size: 12px; /* 与方案定制标题保持一致 */
        line-height: 14px; /* 与方案定制标题保持一致 */
    }

    html[lang="en"] .product-title {
        font-size: 2.5vw; /* 英文标题稍小 */
        line-height: 3.5vw;
    }
}

