/* Index page - recommend products section */
.jh-products-section {
    padding: 16px 0;
    background: #fff;
    overflow-x: hidden;
}

/* 移动端样式 - 只在手机端生效 */
@media (max-width: 768px) {
    /* Override ALL .text styles for mobile - 最强选择器 */
    #c_static_001-1759038485224 .banner .text,
    #c_static_001-1759038485224 .banner .text.banner-text-new,
    #c_static_001-1759038485224 .banner .text.first-slide-center,
    #c_static_001-1759038485224 .banner .model1 .text {
        top: 10% !important;
        bottom: auto !important;
        left: 50% !important;
        right: auto !important;
        max-width: 100% !important;
        -webkit-transform: translate(-50%, 0) !important;
        -ms-transform: translate(-50%, 0) !important;
        transform: translate(-50%, 0) !important;
        width: 100% !important;
        padding: 0 20px !important;
        background: none !important;
        text-align: center !important;
    }

    /* Override first slide PC styling for mobile */
    #c_static_001-1759038485224 .banner .swiper-slide:first-child .first-slide-center,
    #c_static_001-1759038485224 .banner .model1 .swiper-slide:first-child .first-slide-center {
        left: 50% !important;
        top: 10% !important;
        bottom: auto !important;
        right: auto !important;
        max-width: 100% !important;
        -webkit-transform: translate(-50%, 0) !important;
        -ms-transform: translate(-50%, 0) !important;
        transform: translate(-50%, 0) !important;
        width: 100% !important;
        padding: 0 20px !important;
        background: none !important;
        text-align: center !important;
    }

    #c_static_001-1759038485224 .banner .swiper-slide:first-child .first-slide-center .con,
    #c_static_001-1759038485224 .banner .model1 .swiper-slide:first-child .first-slide-center .con {
        text-align: center !important;
        width: 100% !important;
    }

    #c_static_001-1759038485224 .banner .swiper-slide:first-child .first-slide-center .banner-product-name,
    #c_static_001-1759038485224 .banner .model1 .swiper-slide:first-child .first-slide-center .banner-product-name {
        text-align: center !important;
        color: #fff !important;
        font-size: 20px !important;
        line-height: 1.3 !important;
        margin: 0 !important;
    }

    /* Hide other elements on first slide mobile */
    #c_static_001-1759038485224 .banner .swiper-slide:first-child .first-slide-center .banner-accent-line,
    #c_static_001-1759038485224 .banner .swiper-slide:first-child .first-slide-center .banner-desc,
    #c_static_001-1759038485224 .banner .swiper-slide:first-child .first-slide-center .banner-features {
        display: none !important;
    }

    /* All slides mobile special styling - only title, centered at top */
    #c_static_001-1759038485224 .banner .model1 .swiper-slide .banner-text-new,
    #c_static_001-1759038485224 .banner .swiper-slide .banner-text-new {
        top: 10% !important;
        bottom: auto !important;
        left: 50% !important;
        right: auto !important;
        max-width: 100% !important;
        -webkit-transform: translate(-50%, 0) !important;
        -ms-transform: translate(-50%, 0) !important;
        transform: translate(-50%, 0) !important;
        width: 100% !important;
        padding: 0 20px !important;
        background: none !important;
    }

    #c_static_001-1759038485224 .banner .swiper-slide .banner-text-new .con {
        text-align: center !important;
        width: 100% !important;
    }

    /* Hide accent line, description, features and title on mobile */
    #c_static_001-1759038485224 .banner .swiper-slide .banner-text-new .banner-accent-line,
    #c_static_001-1759038485224 .banner .swiper-slide .banner-text-new .banner-desc,
    #c_static_001-1759038485224 .banner .swiper-slide .banner-text-new .banner-features,
    #c_static_001-1759038485224 .banner .swiper-slide .banner-text-new .banner-product-name {
        display: none !important;
    }
}

/* Banner first slide special styling - PC端第一张轮播图文字居中偏右 */
.banner .swiper-slide:first-child .first-slide-center {
    text-align: left;
    left: 58% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
}

.banner .swiper-slide:first-child .first-slide-center .con {
    text-align: left;
}

.banner .swiper-slide:first-child .first-slide-center .banner-product-name,
.banner .swiper-slide:first-child .first-slide-center .banner-desc,
.banner .swiper-slide:first-child .first-slide-center .banner-features {
    text-align: left;
}

.banner .swiper-slide:first-child .first-slide-center .banner-accent-line {
    margin-left: 0;
}

.jh-products-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.jh-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    width: 100%;
}

.jh-product-card {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    transition: all 0.4s ease;
    width: calc(50vw - 28px);
    height: 696px;
    margin: 0;
}

.jh-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.jh-product-card a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.product-image-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f0f0f0;
    transition: transform 0.4s ease;
}

.jh-product-card:hover .product-image-wrapper {
    transform: scale(1.05);
}

.product-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 50px 40px 40px;
    background: transparent;
    color: #333;
    box-sizing: border-box;
    text-align: center;
}

.product-desc {
    font-size: 14px;
    color: #666;
    margin: 0 0 8px;
    line-height: 1.5;
    font-weight: 400;
}

.product-name {
    font-size: 32px;
    font-weight: 600;
    color: #000;
    margin: 0 0 16px;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.product-price-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 12px;
}

.buy-link {
    font-size: 14px;
    color: #000;
    transition: all 0.2s ease;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
}

.buy-link:hover {
    color: #0066ff;
    transform: translateX(3px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* All slides mobile special styling - only title, centered at top */
    .banner .model1 .swiper-slide .banner-text-new,
    .banner .swiper-slide .banner-text-new {
        top: 10% !important;
        bottom: auto !important;
        left: 50% !important;
        right: 0 !important;
        max-width: none !important;
        -webkit-transform: translate(-50%, 0) !important;
        -ms-transform: translate(-50%, 0) !important;
        transform: translate(-50%, 0) !important;
        width: 100% !important;
        padding: 0 20px !important;
        background: none !important;
    }

    .banner .swiper-slide .banner-text-new .con {
        text-align: center !important;
        width: 100% !important;
    }

    /* Hide accent line, description, features and title on mobile - All slides */
    .banner .swiper-slide .banner-text-new .banner-accent-line,
    .banner .swiper-slide .banner-text-new .banner-desc,
    .banner .swiper-slide .banner-text-new .banner-features,
    .banner .swiper-slide .banner-text-new .banner-product-name {
        display: none !important;
    }

    /* Also hide for model1 class */
    .banner.model1 .swiper-slide .banner-text-new .banner-accent-line,
    .banner.model1 .swiper-slide .banner-text-new .banner-desc,
    .banner.model1 .swiper-slide .banner-text-new .banner-features,
    .banner.model1 .swiper-slide .banner-text-new .banner-product-name {
        display: none !important;
    }

    /* Override main CSS .banner .text styles for all slides */
    .banner .text.banner-text-new,
    .banner .model1 .text.banner-text-new {
        top: 10% !important;
        bottom: auto !important;
        right: auto !important;
        left: 50% !important;
        max-width: none !important;
        -webkit-transform: translate(-50%, 0) !important;
        -ms-transform: translate(-50%, 0) !important;
        transform: translate(-50%, 0) !important;
        background: none !important;
        padding: 0 20px !important;
    }

    .jh-products-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .jh-product-card {
        width: calc(100vw - 24px);
        height: 350px;
    }

    .jh-products-section {
        padding: 40px 0;
    }

    .product-content-overlay {
        padding: 30px 20px 20px;
    }

    .product-name {
        font-size: 22px;
    }

    .product-desc {
        font-size: 12px;
    }
}
