/**banner**/
.main_visual .owl-carousel,.main_visual .owl-stage-outer,.main_visual .owl-stage,.main_visual .owl-carousel .owl-item{width: 100%; height: auto;}
.main_visual .owl-carousel .item{width: 100%;height: auto; background-repeat: no-repeat; background-position: center center;-webkit-background-size: cover; background-size: cover;}
.main_visual .owl-carousel .item img{ width: 100%; height: auto;}
.main_visual .owl-prev,.main_visual .owl-next{text-indent: -999em; overflow: hidden;}

.main_visual .owl-dots{ width: 100%; text-align: center; height: 4px; position:absolute; left: 0; bottom: 30px;  z-index: 999;}
.main_visual .owl-dots .owl-dot{display: inline-block;  margin:0 3px;}
.main_visual .owl-dots .owl-dot span{  display: inline-block; width: 60px; height: 4px; background:#ffffff; border-radius:6px; }
.main_visual .owl-dot.active span{ background:#ea0b13; }
.main_visual .owl-controls{ height: 0;}


.home-title{  text-align: center; padding: 50px 0;}
.home-title h2{ font-size: 2rem; line-height: 30px;}
.home-title h2::before{ content: ""; margin-right: 30px; display: inline-block; width: 29px; height: 30px; background: url(../images/star.png) no-repeat;}
.home-title h2::after{ content: ""; margin-left: 30px; display: inline-block; width: 29px; height: 30px; background: url(../images/star.png) no-repeat;}
.home-title p{ color: #666; font-size: 1rem; line-height: 30px; margin-top: 25px;}


.home-products-cat{}
.home-products-cat-left{ width: 325px; height: auto; position: relative;border-radius: 20px; overflow: hidden;}
.home-products-cat-left a{ display: block;  width: 100%; height: 100%; border-radius: 20px;}
.home-products-cat-left img{ width: 100%; height: 100%; border-radius: 20px;}
.home-products-cat-left-info{ position: absolute; left: 0; bottom: 0; z-index: 666; width: 100%; height: 100px; line-height: 100px; text-align: center; color: #ffffff; font-size: 2rem; font-family: myFirstFont1;}
.home-products-cat-left a:hover img {
    transform: scale(1.06);
}

.home-products-cat-right {
    width: calc(100% - 345px);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* 单个产品分类 */
.home-products-cat-item {
    width: 100%;
    height: 360px;
    border-radius: 20px;
    overflow: hidden;
    background: #fafafa;
    position: relative;
}

/* 整个卡片可点击 */
.home-products-cat-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 25px;
    box-sizing: border-box;
    text-decoration: none;
    color: #111;
    overflow: hidden;
}

/* 红色背景，默认隐藏 */
.home-products-cat-link:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -100%;
    width: 100%;
    height: 56%;
    background: url(../images/homprobg.png) no-repeat center top;
    background-size: 100% 100%;
    z-index: 1;
    transition: all .45s ease;
}

/* 标题 */
.home-products-cat-title {
    position: absolute;
    left: 25px;
    right: 25px;
    bottom: 30px;
    z-index: 3;
    color: #111;
    font-size: 1.1rem;
    line-height: 30px;
	height: 60px; overflow: hidden;
    font-weight: 500;
    text-align: center;
    transition: all .45s ease;
}

/* 产品图 */
.home-products-cat-img {
    position: absolute;
    left: 25px;
    right: 25px;
    top: 58px;
    z-index: 2;
    height: 155px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .45s ease;
}

.home-products-cat-img img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    transition: all .45s ease;
}

/* Learn more 按钮 */
.home-products-cat-btn {
    position: absolute;
    left: 50%;
    bottom: -50px;
    z-index: 4;
    transform: translateX(-50%);
    min-width: 145px;
    height: 38px;
    padding: 0 22px;
    border-radius: 999px;
    background: #fff;
    color: #e60012;
    font-size: 15px;
    line-height: 38px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all .45s ease;
}

/* 鼠标经过效果 */
.home-products-cat-item:hover {
    background: #f8f8f8;
}

.home-products-cat-item:hover .home-products-cat-link:before {
    bottom: 0;
}

.home-products-cat-item:hover .home-products-cat-title {
    top: 34px;
    bottom: auto;
    color: #111;
}

.home-products-cat-item:hover .home-products-cat-img {
    top: 125px;
    height: 125px;
}

.home-products-cat-item:hover .home-products-cat-img img {
    transform: scale(1.08);
}

.home-products-cat-item:hover .home-products-cat-btn {
    bottom: 30px;
    opacity: 1;
    visibility: visible;
}

.home-products-cat-btn:hover {
    background: #111;
    color: #fff;
}

.home-products-cat-more{ width: 100%; text-align: center; margin-top: 50px;}
.home-products-cat-more a{ text-transform: uppercase; color: #ffffff; font-size: 1rem; height: 50px; line-height: 50px; background: #262626; border-radius: 100px; display: inline-block; padding: 0 35px;}
.home-products-cat-more a:hover{ background: #ea0b13;  transform: translateY(-5px);}



.home-best {
    width: 100%;
    height: 680px;
    position: relative;
    overflow: hidden;
}

.home-best-img {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
}

.home-best-inner {
    position: relative;
    z-index: 2;
    height: 100%;
}

.home-best-info {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.home-best-info h2 {
    margin: 0;
    color: #111;
    font-size: 3rem;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: 1px;
}

.home-best-info p {
    margin: 25px 0 0;
    color: #222;
    font-size: 1.35rem;
    line-height: 1.6;
    font-weight: 400;
}

.home-best-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    height: 58px;
    margin-top: 34px;
    padding: 0 32px;
    border-radius: 999px;
    background: #fff;
    color: #221b18;
    font-size: 1.15rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
    transition: all .3s ease;
}

.home-best-btn:hover {
    background: #e60012;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(230,0,18,0.25);
}





.home-about{ width: 100%; background: #fafafa; padding: 50px 0;}
.home-about-left{ width: 560px; height: auto;}
.home-about-left img{ width: 100%; height: auto;}

.home-about-right{ width: calc(100% - 560px); padding-left: 80px;}
.home-about-right div{ width: 100%;}
.home-about-right h2{ line-height: 72px; font-size: 2.8rem;}
.home-about-right p{ font-size: 1rem; line-height: 26px; color: #666; margin-top: 25px;}
.home-about-right a{ text-transform: uppercase; margin-top: 40px; color: #ffffff; font-size: 1rem; height: 50px; line-height: 50px; background: #262626; border-radius: 100px; display: inline-block; padding: 0 35px;}
.home-about-right a:hover{ background: #ea0b13;  transform: translateY(-5px);}

.home-blog {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-bottom: 60px;
}

/* 单个博客卡片 */
.home-blog-item {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 18px;
    overflow: hidden;
    transition: all .3s ease;
}

.home-blog-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

/* 图片 */
.home-blog-img {
    display: block;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.home-blog-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: all .45s ease;
}

.home-blog-item:hover .home-blog-img img {
    transform: scale(1.06);
}

/* 内容 */
.home-blog-info {
    padding: 22px 20px 24px;
}

.home-blog-info h3 {
    margin: 0;
    height: 56px;
    overflow: hidden;
    font-size: 1.1rem;
    line-height: 28px;
    font-weight: 600;
    color: #111;
}

.home-blog-info h3 a {
    color: #111;
    text-decoration: none;
    transition: all .25s ease;
}

.home-blog-info h3 a:hover {
    color: #e60012;
}

.home-blog-more {
    display: inline-block;
    margin-top: 30px;
    color: #e60012;
    font-size: 1rem;
    line-height: 1.4;
    text-decoration: none;
    transition: all .25s ease;
}

.home-blog-more:hover {
    color: #111;
    padding-left: 6px;
}

/* 日期 */
.home-blog-date {
    padding: 20px;
    border-top: 1px solid #e5e5e5;
    color: #999;
    font-size: 1rem;
    line-height: 1.4;
}


.home-ad-warp{ padding: 60px 0;}

.home-hot-products1 {
    position: relative;
    height: 830px;
    margin-top: 40px;
    margin-bottom: 70px;
}

/* 左上产品图 */
.hot-product-main-img {
    position: absolute;
    left: 0;
    top: 0;
    width: 63%;
    height: 600px;
    overflow: hidden;
}

.hot-product-main-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* 右上文字 */
.hot-product-top-text {
    position: absolute;
    right: 0;
    top: 195px;
    width: 34%;
    z-index: 3;
}

.hot-product-top-text h2 {
    margin: 0;
    color: #1d1d1d;
    font-size: 2rem;
    line-height: 1.5;
    font-weight: 700;
    letter-spacing: 1px;
}

.hot-product-top-text p {
    margin: 22px 0 0;
    color: #333;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* 左下文字 */
.hot-product-bottom-text {
    position: absolute;
    left: 8%;
    bottom: 30px;
    z-index: 4;
}

.hot-product-bottom-text p {
    margin: 0;
    color: #333;
    font-size: 1.05rem;
    line-height: 1.7;
}

.hot-product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 165px;
    height: 50px;
    margin-top: 42px;
    padding: 0 28px;
    border-radius: 999px;
    background: #1d1d1d;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all .3s ease;
}

.hot-product-btn:hover {
    background: #e60012;
    color: #fff;
    transform: translateY(-3px);
}

/* 右下人物图 */
.hot-product-sub-img {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 56%;
    height: 430px;
    overflow: hidden;
    z-index: 2;
}

.hot-product-sub-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* 图片经过效果 */
.hot-product-main-img img,
.hot-product-sub-img img {
    transition: all .45s ease;
}

.hot-product-main-img:hover img,
.hot-product-sub-img:hover img {
    transform: scale(1.04);
}



.home-hot-products2 {
    margin-top: 75px;
    padding: 0 180px;
}

.home-hot-products2-title {
    position: relative;
    padding: 24px 30px 22px;
    text-align: center;
    border: 1px solid #ddd;
}

.home-hot-products2-title h2 {
    margin: 0;
    font-size: 1.8rem;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.home-hot-products2-title p {
    margin: 10px 0 0;
    color: #222;
    font-size: 1.25rem;
    line-height: 1.5;
    letter-spacing: 1px;
}

/* 四个角 */
.home-hot-products2-title .corner {
    position: absolute;
    width: 14px;
    height: 14px;
    pointer-events: none;
}

/* 左上 */
.home-hot-products2-title .corner-lt {
    left: 0;
    top: 0;
    border-left: 2px solid #111;
    border-top: 2px solid #111;
}

/* 右上 */
.home-hot-products2-title .corner-rt {
    right: 0;
    top: 0;
    border-right: 2px solid #111;
    border-top: 2px solid #111;
}

/* 左下 */
.home-hot-products2-title .corner-lb {
    left: 0;
    bottom: 0;
    border-left: 2px solid #111;
    border-bottom: 2px solid #111;
}

/* 右下 */
.home-hot-products2-title .corner-rb {
    right: 0;
    bottom: 0;
    border-right: 2px solid #111;
    border-bottom: 2px solid #111;
}


.home-hot-products3 {
    margin-top: 40px;
    margin-bottom: 70px;
    display: grid;
    grid-template-columns: 2.15fr 1fr;
    gap: 20px;
    align-items: stretch;
}

/* 左侧大图 */
.home-hot-products3-left {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.home-hot-products3-left a {
    display: block;
    width: 100%;
    height: 100%;
}

.home-hot-products3-left img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: all .45s ease;
}

.home-hot-products3-left:hover img {
    transform: scale(1.04);
}

/* 右侧 */
.home-hot-products3-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* 右上文字 */
.home-hot-products3-info {
    padding: 20px 0 28px;
}

.home-hot-products3-info h2 {
    margin: 0;
    color: #1d1d1d;
	font-family: myFirstFont;
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 500;
    letter-spacing: 1px;
}

/* 按钮 */
.home-hot-products3-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 165px;
    height: 50px;
    margin-top: 20px;
    padding: 0 30px;
    border-radius: 999px;
    background: #1d1d1d;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all .3s ease;
}

.home-hot-products3-btn:hover {
    background: #e60012;
    color: #fff;
    transform: translateY(-3px);
}

/* 右下小图 */
.home-hot-products3-small {
    width: 100%;
    height: 340px;
    overflow: hidden;
}

.home-hot-products3-small a {
    display: block;
    width: 100%;
    height: 100%;
}

.home-hot-products3-small img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: all .45s ease;
}

.home-hot-products3-small:hover img {
    transform: scale(1.04);
}


@media (max-width: 768px) {


.main_visual .owl-dots{ height: 4px;  bottom: 30px;  z-index: 999;}
.main_visual .owl-dots .owl-dot span{   width: 30px; height:4px;  }

.main_visual .owl-controls{ height: 0;}	

.home-title {
        padding: 35px 15px 28px;
    }

    .home-title h2 {
        font-size: 1.4rem;
        line-height: 1.4;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }

    .home-title h2::before,
    .home-title h2::after {
        width: 22px;
        height: 23px;
        margin: 0;
        background-size: 100% auto;
        flex-shrink: 0;
    }

    .home-title p {
        margin-top: 14px;
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .home-products-cat {
        display: block;
        padding: 0 15px;
    }

    .home-products-cat-left {
        width: 100%;
        height: 300px;
        margin-bottom: 18px;
        border-radius: 16px;
        overflow: hidden;
    }
    
    .home-products-cat-left a {
        display: block;
        width: 100%;
        height: 100%;
        border-radius: 16px;
    }
    
    .home-products-cat-left img {
        width: 100%;
        height: 100%;
        max-height: 300px;
        display: block;
        border-radius: 16px;
        object-fit: cover;
        object-position: center;
    }
    
    .home-products-cat-left-info {
        height: 70px;
        line-height: 70px;
        font-size: 1.5rem;
    }

    .home-products-cat-right {
        width: 100%;
        grid-template-columns: repeat(1, 1fr);
        gap: 16px;
    }

    .home-products-cat-item {
        height: 320px;
        border-radius: 16px;
    }

    .home-products-cat-link {
        padding: 22px 18px;
        border-radius: 16px;
    }

    .home-products-cat-link:before {
        height: 54%;
    }

    .home-products-cat-title {
        left: 18px;
        right: 18px;
        bottom: 26px;
        height: auto;
        max-height: 60px;
        font-size: 1rem;
        line-height: 1.45;
    }

    .home-products-cat-img {
        left: 18px;
        right: 18px;
        top: 52px;
        height: 145px;
    }

    .home-products-cat-img img {
        max-width: 90%;
        max-height: 145px;
    }

    .home-products-cat-btn {
        min-width: 128px;
        height: 36px;
        line-height: 36px;
        padding: 0 18px;
        font-size: 14px;
    }

    .home-products-cat-item:hover .home-products-cat-title {
        top: 28px;
        bottom: auto;
        max-height: 58px;
        font-size: 1rem;
        line-height: 1.45;
    }

    .home-products-cat-item:hover .home-products-cat-img {
        top: 108px;
        height: 125px;
    }

    .home-products-cat-item:hover .home-products-cat-img img {
        max-height: 125px;
        transform: scale(1.05);
    }

    .home-products-cat-item:hover .home-products-cat-btn {
        bottom: 24px;
    }


.home-products-cat-more{margin-top: 20px;}



.home-best {
        height: 320px;
    }

    .home-best:before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        z-index: 2;
        width: 100%;
        height: 100%;
        background: rgba(255,255,255,0.45);
        pointer-events: none;
    }

    .home-best-img {
        object-position: center right;
    }

    .home-best-inner {
        z-index: 3;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .home-best-info {
        left: 20px;
        right: 20px;
        top: 50%;
        max-width: none;
    }

    .home-best-info h2 {
        font-size: 2rem;
        line-height: 1.3;
        letter-spacing: 0;
    }

    .home-best-info p {
        margin-top: 16px;
        font-size: 1rem;
        line-height: 1.6;
    }

    .home-best-btn {
        min-width: 150px;
        height: 46px;
        margin-top: 24px;
        padding: 0 24px;
        font-size: 1rem;
    }


.home-about{  padding: 30px 0;}
.home-about-left{display: none;}


.home-about-right{ width: 100%; padding-left: 0;}
.home-about-right h2{ line-height: 42px; font-size: 2rem;}
.home-about-right p{ font-size: 0.9rem; line-height: 24px;margin-top: 15px;}
.home-about-right a{  margin-top: 20px;}



  .home-blog {
        grid-template-columns: repeat(1, 1fr);
        gap: 18px;
        padding: 0 15px 45px;
    }

    .home-blog-item {
        border-radius: 15px;
    }

    .home-blog-img {
        height: 220px;
    }

    .home-blog-info {
        padding: 18px 18px 22px;
    }

    .home-blog-info h3 {
        height: auto;
        font-size: 1.rem;
        line-height: 1.5;
    }

    .home-blog-more {
        margin-top: 22px;
        font-size: 0.95rem;
    }

    .home-blog-date {
        padding: 16px 18px;
        font-size: 0.95rem;
    }

.home-hot-products1 {
        height: auto;
        margin-top: 25px;
        margin-bottom: 45px;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .hot-product-main-img,
    .hot-product-top-text,
    .hot-product-bottom-text,
    .hot-product-sub-img {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        width: 100%;
    }

    .hot-product-main-img {
        height: auto;
        margin-bottom: 26px;
    }

    .hot-product-main-img img {
        width: 100%;
        height: auto;
        object-fit: initial;
    }

    .hot-product-top-text {
        margin-bottom: 26px;
        text-align: left;
    }

    .hot-product-top-text h2 {
        font-size: 1.65rem;
        line-height: 1.45;
    }

    .hot-product-top-text p {
        margin-top: 12px;
        font-size: 1rem;
        line-height: 1.7;
    }

    .hot-product-sub-img {
        height: auto;
        margin-bottom: 26px;
    }

    .hot-product-sub-img img {
        width: 100%;
        height: auto;
        object-fit: initial;
    }

    .hot-product-bottom-text {
        padding: 0;
        text-align: left;
    }

    .hot-product-bottom-text p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .hot-product-btn {
        min-width: 145px;
        height: 44px;
        margin-top: 22px;
        padding: 0 24px;
        font-size: 0.9rem;
    }


   .home-hot-products2 {
        margin-top: 45px;
        padding: 0 15px;
    }

    .home-hot-products2-title {
        padding: 22px 18px 20px;
    }

    .home-hot-products2-title h2 {
        font-size: 1.2rem;
        line-height: 1.45;
        letter-spacing: 2px;
    }

    .home-hot-products2-title p {
        margin-top: 8px;
        font-size: 1rem;
        line-height: 1.5;
    }

    .home-hot-products2-title .corner {
        width: 12px;
        height: 12px;
    }

 .home-hot-products3 {
        margin-top: 30px;
        margin-bottom: 45px;
        padding: 0 15px;
        box-sizing: border-box;
        display: block;
    }

    .home-hot-products3-left {
        height: auto;
        margin-bottom: 24px;
    }

    .home-hot-products3-left img {
        width: 100%;
        height: auto;
        object-fit: initial;
    }

    .home-hot-products3-right {
        display: block;
    }

    .home-hot-products3-info {
        padding: 0 0 22px;
    }

    .home-hot-products3-info h2 {
        font-size: 1.25rem;
        line-height: 1.6;
    }

    .home-hot-products3-btn {
        min-width: 145px;
        height: 44px;
        margin-top: 18px;
        padding: 0 24px;
        font-size: 0.9rem;
    }

    .home-hot-products3-small {
        height: auto;
    }

    .home-hot-products3-small img {
        width: 100%;
        height: auto;
        object-fit: initial;
    }



}
