@charset "utf-8";

.index-banner {
    position: relative;
    margin: 0 auto;
    width: 100%;
    border-top: 2px solid #f6f6f5;
    height: 600px;
    overflow: hidden;
    z-index: 1;
}

.index-banner.hero {
    border-top: none;
}

.index-banner .f_btn {
    position: absolute;
    left: 50%;
    top: 70%;
    padding: 2px;
    width: 240px;
    height: 60px;
    border: 1px solid #aebc9f;
    transform: translateX(-50%);
    box-sizing: border-box
}

.index-banner .f_btn a {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 55px;
    background: #aebc9f;
    font-size: 18px;
    color: #fff;
    text-align: center
}

/* Hero 轮播样式（参照 index.html） */
.index-banner .hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.index-banner .hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: none;
    -webkit-filter: none;
}

.index-banner .hero-slide.active {
    opacity: 1;
}


.index-banner .hero-nav {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 3;
}

.index-banner .hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.index-banner .hero-dot.active {
    background: #ffffff;
    width: 30px;
    border-radius: 6px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 保留原有的 bxslider 样式（向后兼容） */
.index-banner .bxSlide-outter {
    overflow: unset !important
}

.index-banner .bx-wrapper .bx-controls-direction a {
    width: 22px;
    height: 42px;
    background: url(../images/turn_prev.png) no-repeat center center
}

.index-banner .bx-wrapper .bx-controls-direction a.bx-next {
    background: url(../images/turn_next.png) no-repeat center center
}

.bxSlide-outter .bx-wrapper .bx-pager.bx-default-pager a:hover,
.bxSlide-outter .bx-wrapper .bx-pager.bx-default-pager a.active {
    background: #006967
}

.index-banner .bx-wrapper .bx-prev {
    left: 65px
}

.index-banner .bx-wrapper .bx-next {
    right: 65px
}

.i_txt {
    margin: 0 auto;
    padding: 35px 0 30px;
    width: 100%;
    text-align: center
}

.i_txt .title {
    line-height: 50px;
    font-size: 38px;
    color: #333333;
    font-family: Poppins-Regular;
    font-weight: bold
}

.i_txt .brief {
    margin: 30px auto 0;
    max-width: 1200px;
    line-height: 34px;
    font-size: 16px;
    color: #666666;
    font-family: 'Poppins-Regular';
}

.i_txt .brief img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin: 20px 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.i_txt .brief img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.i_txt a.read_more {
    display: inline-block;
    margin: 40px auto 0;
    padding: 0 30px;
    min-width: 200px;
    height: 50px;
    line-height: 50px;
    background: #3b82f6;
    border: 2px solid #3b82f6;
    border-radius: 25px;
    font-size: 14px;
    color: #ffffff;
    font-family: 'Poppins-Regular';
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.i_txt a.read_more:hover {
    background: #2563eb;
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    color: #ffffff;
}

.i_pro {
    padding: 63px 0 55px 0;
}

.i_pro .title {
    font-size: 36px;
    color: #333333;
    font-family: Poppins-Regular;
    font-weight: bold;
    text-align: center;
    letter-spacing: 2px
}

.i_pro .pro_list {
    width: 1680px;
    margin: 70px auto 0
}

.i_pro .pro_list .item {
    margin-left: 37px;
    margin-bottom: 53px;
    width: 392px;
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    padding-bottom: 20px;
}

.i_pro .pro_list .item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.i_pro .pro_list .item:hover img {
    transform: scale(1.06);
}

.i_pro .pro_list .item:first-child {
    margin-left: 0
}

.i_pro .pro_list .item:nth-child(5) {
    margin-left: 0
}

.i_pro .pro_list .item .img {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
    text-align: center;
    border-radius: 8px 8px 0 0;
    background: #f9fafb;
}

.i_pro .pro_list .item .img a {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)
}

.i_pro .pro_list .item .img a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.i_pro .pro_list .item .info {
    margin-top: 20px;
    padding: 0 15px;
    text-align: center;
    overflow: hidden;
}

.i_pro .pro_list .item .info a {
    display: block;
    min-height: 42px;
    font-size: 16px;
    color: #1f2937;
    font-family: 'Poppins-Regular';
    font-weight: 500;
    overflow: hidden;
    transition: color 0.3s ease;
    line-height: 1.5;
}

.i_pro .pro_list .item .info .index_price {
    font-size: 16px;
    margin-top: 10px
}

.i_pro .pro_list .item .price {
    margin-top: 10px;
    text-align: center
}

.i_pro .pro_list .item:hover .info a {
    color: #3b82f6;
    text-decoration: none;
}

.i_pro .pro_list .all_pro {
    margin: 40px auto 0;
    width: 200px;
    height: 50px;
    line-height: 50px;
    border: 2px solid #3b82f6;
    border-radius: 25px;
    text-align: center;
    background: transparent;
    transition: all 0.3s ease;
    overflow: hidden;
}

.i_pro .pro_list .all_pro:hover {
    background: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.i_pro .pro_list .all_pro a {
    color: #3b82f6;
    font-size: 14px;
    font-family: 'Opensans-Regular';
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    display: block;
    width: 100%;
    height: 100%;
}

.i_pro .pro_list .all_pro:hover a {
    color: #ffffff;
}

.i_collect {
    margin: 0 auto;
    width: 1680px
}

.i_collect a {
    display: block;
    width: 33.333%;
    max-height: 396px;
    overflow: hidden
}

.i_collect a:hover img {
    transform: scale(1.06)
}

.i_info {
    padding-top: 60px;
    padding-bottom: 112px
}

.i_info .title {
    text-align: center;
    font-size: 36px;
    color: #333333;
    font-family: Poppins-Regular;
    font-weight: bold;
    text-align: center
}

.i_info .info_list {
    margin: 70px auto 0;
    width: 1680px
}

.i_info .info_list .item {
    margin-left: 37px;
    width: 392px;
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    padding-bottom: 20px;
}

.i_info .info_list .item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.i_info .info_list .item:nth-child(5) {
    margin-left: 0;
}
.i_info .info_list .item .img {
    width: 100%;
    height: 0;
    padding-bottom: 60%;
    position: relative;
    overflow: hidden;
    text-align: center;
    border-radius: 8px 8px 0 0;
    background: #f9fafb;
}
.i_info .info_list .item .img a {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.i_info .info_list .item .img a img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.i_info .info_list .item:hover .img a img {
    transform: scale(1.05);
}
.i_info .info_list .item:first-child {
    margin-left: 0
}

.i_info .info_list .item .info {
    margin-top: 20px;
    padding: 0 20px;
}

.i_info .info_list .item .info .date {
    font-size: 13px;
    color: #6b7280;
    font-family: Opensans-Regular;
    margin-bottom: 8px;
    font-weight: 400;
}

.i_info .info_list .item .info .s_title {
    margin-top: 10px;
    min-height: 48px;
    overflow: hidden;
    line-height: 1.5;
}

.i_info .info_list .item .info .s_title a {
    font-size: 16px;
    color: #1f2937;
    font-family: Poppins-Regular;
    font-weight: 600;
    transition: color 0.3s ease;
    text-decoration: none;
    display: block;
    line-height: 1.5;
}

.i_info .info_list .item .info .read_more {
    margin-top: 15px;
    padding-left: 45px;
    position: relative;
    display: inline-block;
}

.i_info .info_list .item .info .read_more:after {
    content: '';
    position: absolute;
    width: 35px;
    height: 2px;
    background: #1f2937;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    transition: all 0.3s ease;
}

.i_info .info_list .item .info .read_more a {
    font-size: 14px;
    color: #1f2937;
    font-family: 'Opensans-Regular';
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    text-decoration: none;
}

.i_info .info_list .item:hover .info .s_title a {
    color: #3b82f6;
}

.i_info .info_list .item:hover .info .read_more:after {
    background: #3b82f6;
    width: 40px;
}

.i_info .info_list .item:hover .info .read_more a {
    color: #3b82f6;
}

@media screen and (max-width:1810px) {
    .index-banner {
        width: 1440px
    }
}

@media screen and (max-width:1680px) {
    .i_pro .pro_list {
        width: 1440px
    }

    .i_pro .pro_list .item {
        width: 332px
    }
    .i_info .info_list {
        width: 1440px
    }
    .i_info .info_list .item {
        width: 332px
    }

    .i_collect {
        width: 1440px
    }
}

@media screen and (max-width:1570px) {
    .index-banner .bx-wrapper .bx-prev {
        left: 0
    }

    .index-banner .bx-wrapper .bx-next {
        right: 0
    }
}

@media screen and (max-width:1440px) {
    .i_pro .pro_list {
        width: 1200px
    }

    .i_pro .pro_list .item {
        width: 272px
    }
    .i_info .info_list {
        width: 1200px
    }
    .i_info .info_list .item {
        width: 272px
    }

    .i_collect {
        width: 100%
    }
}

@media screen and (max-width:1200px) {
    .index-banner {
        width: 100%
    }

    .i_txt {
        width: 96%
    }

    .i_txt .brief {
        width: 100%
    }

    .i_pro .pro_list {
        width: 1000px
    }

    .i_pro .pro_list .item {
        width: 222px
    }
    
    .i_info .info_list {
        width: 1000px
    }

    .i_info .info_list .item {
        width: 222px
    }
    .wrap {
        width: 100%;
    }
}

@media screen and (max-width:1000px) {
    .i_pro .pro_list {
        width: 96%
    }

    .i_pro .pro_list .item {
        margin-left: 0;
        float: left;
        width: 49%;
        text-align: center
    }

    .i_pro .pro_list .item:nth-child(2n) {
        float: right
    }

    .i_pro .pro_list .item .img img {
        vertical-align: middle
    }

    .i_pro .pro_list .item .img span {
        display: inline-block;
        height: 100%;
        vertical-align: middle
    }

    .i_info .info_list {
        width: 768px
    }
    
    .i_info .info_list .item {
        margin-left: 0;
        float: left;
        width: 49%;
        text-align: center
    }
    
    .i_info .info_list .item:nth-child(2n) {
        float: right
    }

    .i_info .info_list .item .info .read_more {
        margin-top: 20px;
        display: inline-block
    }

    .i_txt .brief {
        font-size: 18px
    }
    .wrap {
        width: 100%;
    }
}

@media screen and (max-width:991px) {
    .responsive_pc_header {
        display: none
    }
    .wrap {
        width: 100%;
    }
}

@media screen and (max-width:768px) {
    .index-banner {
        border-top: 0;
        height: 500px;
    }
    
    .index-banner .hero-content h1 {
        font-size: 2rem;
    }

    .index-banner .hero-content p {
        font-size: 1rem;
    }
    
    .index-banner .hero-nav {
        bottom: 1rem;
    }

    .index-banner .bx-wrapper .bx-controls-direction a {
        width: 15px;
        height: 35px;
        background-size: 100%
    }

    .index-banner .bx-wrapper .bx-prev {
        left: 10px
    }

    .index-banner .bx-wrapper .bx-controls-direction a.bx-next {
        background-size: 100%;
        right: 10px
    }

    .i_txt {
        padding: 30px 0
    }

    .i_txt .title {
        line-height: 40px;
        font-size: 24px
    }

    .i_txt .brief {
        font-size: 14px
    }

    .i_pro {
        padding: 20px 0 30px
    }

    .i_pro .pro_list {
        margin-top: 30px
    }

    .i_pro .pro_list .item {
        margin-bottom: 25px
    }

    .i_pro .pro_list .item .info {
        margin-top: 15px
    }

    .i_info {
        padding: 30px 0
    }

    .i_info .info_list {
        margin: 30px auto 0;
        width: 96%
    }

    .i_pro .title {
        font-size: 30px
    }

    .i_info .title {
        font-size: 30px
    }
    .wrap {
        width: 100%;
    }
}

@media screen and (max-width:750px) {
    .i_collect a {
        width: 100%;
        text-align: center;
        max-height: unset
    }
    .wrap {
        width: 100%;
    }
}

/* ============================================
   移动端 H5 完整支持样式
   ============================================ */

/* 小屏幕手机 (480px 以下) */
@media screen and (max-width: 480px) {
    .index-banner {
        height: 300px;
    }
    
    .index-banner .hero-nav {
        bottom: 0.5rem;
        gap: 0.3rem;
    }
    
    .index-banner .hero-dot {
        width: 8px;
        height: 8px;
    }
    
    .index-banner .hero-dot.active {
        width: 20px;
    }
    
    .i_txt {
        padding: 20px 10px;
    }
    
    .i_txt .title {
        line-height: 32px;
        font-size: 20px;
        padding: 0 10px;
    }
    
    .i_txt .brief {
        font-size: 14px;
        line-height: 24px;
        padding: 0 15px;
        margin-top: 20px;
    }
    
    .i_txt .brief img {
        margin: 15px auto;
        max-width: 100%;
        border-radius: 6px;
    }
    
    .i_txt a.read_more {
        min-width: 160px;
        height: 44px;
        line-height: 44px;
        font-size: 13px;
        padding: 0 24px;
        margin-top: 30px;
    }
    
    .i_pro {
        padding: 30px 10px 20px;
    }
    
    .i_pro .title {
        font-size: 24px;
        padding: 0 10px;
    }
    
    .i_pro .pro_list {
        width: 100%;
        margin-top: 20px;
        padding: 0 10px;
        box-sizing: border-box;
    }
    
    .i_pro .pro_list .item {
        width: 100% !important;
        margin-left: 0 !important;
        margin-bottom: 20px;
        float: none !important;
        display: block;
    }
    
    .i_pro .pro_list .item .img {
        border-radius: 6px 6px 0 0;
    }
    
    .i_pro .pro_list .item .info {
        margin-top: 15px;
        padding: 0 15px 15px;
    }
    
    .i_pro .pro_list .item .info a {
        font-size: 15px;
        min-height: 40px;
    }
    
    .i_pro .pro_list .all_pro {
        width: 100%;
        max-width: 200px;
        margin: 30px auto 0;
        height: 44px;
        line-height: 44px;
    }
    
    .i_pro .pro_list .all_pro a {
        font-size: 13px;
    }
    
    .i_info {
        padding: 30px 10px 40px;
    }
    
    .i_info .title {
        font-size: 24px;
        padding: 0 10px;
    }
    
    .i_info .info_list {
        width: 100%;
        margin-top: 20px;
        padding: 0 10px;
        box-sizing: border-box;
    }
    
    .i_info .info_list .item {
        width: 100% !important;
        margin-left: 0 !important;
        margin-bottom: 20px;
        float: none !important;
        display: block;
    }
    
    .i_info .info_list .item .img {
        border-radius: 6px 6px 0 0;
    }
    
    .i_info .info_list .item .info {
        margin-top: 15px;
        padding: 0 15px 15px;
    }
    
    .i_info .info_list .item .info .date {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    .i_info .info_list .item .info .s_title {
        min-height: auto;
        margin-top: 8px;
    }
    
    .i_info .info_list .item .info .s_title a {
        font-size: 15px;
        line-height: 1.4;
    }
    
    .i_info .info_list .item .info .read_more {
        margin-top: 12px;
        padding-left: 35px;
    }
    
    .i_info .info_list .item .info .read_more:after {
        width: 28px;
    }
    
    .i_info .info_list .item .info .read_more a {
        font-size: 12px;
    }
}

/* 中等屏幕手机 (600px 以下) */
@media screen and (max-width: 600px) {
    .index-banner {
        height: 350px;
    }
    
    .i_txt .title {
        font-size: 22px;
    }
    
    .i_pro .title,
    .i_info .title {
        font-size: 26px;
    }
    
    .i_pro .pro_list .item,
    .i_info .info_list .item {
        width: 100% !important;
        margin-left: 0 !important;
        float: none !important;
    }
}

/* 确保所有图片在移动端自适应 */
@media screen and (max-width: 768px) {
    .i_txt .brief img,
    .i_pro .pro_list .item .img img,
    .i_info .info_list .item .img img {
        max-width: 100%;
        height: auto;
        display: block;
    }
    
    /* 确保产品列表和信息列表在移动端单列显示 */
    .i_pro .pro_list .item:nth-child(2n),
    .i_info .info_list .item:nth-child(2n) {
        float: none !important;
        margin-left: 0 !important;
    }
    
    /* 清除浮动，确保移动端布局正常 */
    .i_pro .pro_list .clear,
    .i_info .info_list .clear {
        clear: both;
        height: 0;
        line-height: 0;
    }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    .i_pro .pro_list .item,
    .i_info .info_list .item {
        transition: transform 0.2s ease;
    }
    
    .i_pro .pro_list .item:active,
    .i_info .info_list .item:active {
        transform: scale(0.98);
    }
    
    .i_txt a.read_more:active,
    .i_pro .pro_list .all_pro:active {
        transform: scale(0.95);
    }
}

/* 横屏模式优化 */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .index-banner {
        height: 400px;
    }
    
    .i_pro .pro_list .item,
    .i_info .info_list .item {
        width: 48% !important;
        float: left !important;
        margin-left: 2% !important;
    }
    
    .i_pro .pro_list .item:nth-child(2n),
    .i_info .info_list .item:nth-child(2n) {
        margin-left: 0 !important;
        float: right !important;
    }
}

/* 确保文本不会溢出 */
@media screen and (max-width: 768px) {
    .i_txt .brief,
    .i_pro .pro_list .item .info a,
    .i_info .info_list .item .info .s_title a {
        word-wrap: break-word;
        word-break: break-word;
        overflow-wrap: break-word;
    }
}

/* 确保按钮在移动端易于点击 */
@media screen and (max-width: 768px) {
    .i_txt a.read_more,
    .i_pro .pro_list .all_pro {
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
    }
}

