@import url('https://fonts.googleapis.com/css2?family=Bangers&display=swap');

#main_index{
    padding-bottom:0rem!important;
    overflow:hidden;
}

#main_index h1,
#main_index h2,
#main_index h5{
    cursor:default;
}

:root{
    --sec-padding-y: 5rem;
    --t-font: "Bangers", system-ui;
    --primary-color: #ed2024;
}

/*Text*/
.n_small span{
    color: #666;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 400;
    font-size: clamp(.85rem, 1.15vw, 1.15vw);
    letter-spacing: .1rem;
    text-transform:uppercase;
    margin-bottom:15px;
}

.n_small span:after{
    display: inline-flex;
    content:"";
    width:25px;
    height:1.5px;
    background:#666;
}


.n_title{
    font-size: clamp(1.25rem, 1.7vw, 1.7vw);
    line-height:1.35;
    font-weight:400;
    margin-bottom:20px;
    text-transform:uppercase;
    letter-spacing: 1.5px;    
    margin-bottom: 0;
    color: #ed2024;
    
    span{
        font-family: var(--t-font);
        font-size: 200%;
    }
}

.n_subtitle{
    font-size:20px;
    line-height:1.4;
    font-weight:600;
    margin-bottom:15px;
}

.n_content{
    font-size: clamp(.85rem, 1vw, 1vw);
    line-height:1.8;
    color:#000;
    font-weight: 300;       
}

.c_color1{
    color:#fff;
}

.c_color2{
    color:#000;
}

.c_color3{
    color:#f52222;
}

/*btn*/
a:hover{
    text-decoration: unset;
}
.main-btn{
    display: flex;
    align-items: center;
    padding: 10px 25px;
    gap: 1rem;
    border-radius: 50px;
    border-style:none;
    font-size: clamp(.85rem, 1vw, 1vw);
    letter-spacing: .25px;
    color: #fff;        
    background: #3e55a4;  
    
    &:hover{
        color: #fff;
        background: var(--primary-color);
    }
    
    &.white-btn{
        color: #3e55a4;
        background: #fff;                
    }                
}
.main-btn.white-btn .btn-icon{
    filter: invert(1) brightness(.35);       
}
.btn-icon{
    width: 15px;     
    filter: brightness(0) invert(1);
}

.main-btn:hover .btn-icon{                   
    animation: swing .8s linear;            
}

.hp_bestseller .main-btn{
    margin-left: auto;
    margin-bottom: 3rem;
}

@media(max-width:991px){
    .hp_bestseller .main-btn{
        margin-left: 0;
    }
}

/* Nav */
.navbar_type8{
    height: 130px;
    background: #fff;
    padding: 0;
}
#main_index .navbar_type8{
    background: transparent;   
}
.navbar_type8 .logo{
    margin-left: 8rem;  
    flex: unset;
    min-width: 9%;
    background: #fff;
    border-bottom-left-radius: 80px;
    border-bottom-right-radius: 80px;    
}
.navbar_type8 .logo img{    
    width: 100%;
    padding: .8rem;
}

.navbar_type8 .nav_tab{
    flex: unset;
    width: 100%;
    padding-right: 8rem;
    gap: 2vw;  
}
.navbar_type8 .nav_tab .nav_item:before{
    border-color: var(--primary-color);
    border-width: 2px;
    width: 0;
    transition: all .3s linear;
}
.navbar_type8 .nav_tab .nav_item a{
    color: #000;
    padding: .2rem .75rem;
    font-size: clamp(.9rem, 1.05vw, 1.05rem);
    font-weight: 300; 
    letter-spacing: 1px;
    border-radius: .3rem;
}
#main_index .navbar_type8 .nav_tab .nav_item a{
    color: #fff;
}
.navbar_type8 .nav_tab .nav_item a:hover{
    color: #fff;
    background: var(--primary-color);
}
.navbar_type8 .nav_tab .nav_item:hover:before{
    display: none;
}

.dark_nav{
    background: rgba(255, 255, 255, 0.9) !important;
    height: 100px;
    
    .logo{
        border-radius: 0;
        background: none;
    }
    
    .nav_tab .nav_item a{
        color: #000;
    }
}

#main_index .dark_nav .nav_tab .nav_item a{
    color: #000;
    
    &:hover{
        color: #fff;
    }
}

.navbar_mobile{
    background: #fff;
}

@media(max-width:1200px){
    .navbar_type8 .nav_tab{
        padding-right: 3rem;   
    }
    .navbar_type8 .logo{
        margin-left: 3rem;
    }
}

/*Banner*/
/*.hp_banner{*/
/*    position:relative;*/
/*    overflow:hidden;*/
/*    padding:180px 9% 140px;    */
/*    height: 100%;*/
/*}*/

.hp_banner{
    position: relative;
    overflow: hidden;
    padding: 180px 7% 120px;
    height: 100%;
}

.hp_banner .hp_banner_bg{
    position:absolute;
    inset:0;
}

.hp_banner .hp_banner_bg img{
    width:100%;
    height:100%;
    object-fit:cover;
    opacity:0.3;
}

.hp_banner .container-fluid{
    position:relative;
    z-index:2;
}

.hp_banner .n_small span{
    position:relative;
    margin-left:55px;
}

.hp_banner .n_small span:before{
    position:absolute;
    content:"";
    width:45px;
    height:1px;
    background:#fff;
    left:-55px;
    top:0;
    bottom:0;
    margin:auto 0;
}

/*.hp_banner_wrapper{*/
/*    margin-right: 0%;*/
/*    gap: 4rem;*/
/*}*/

.hp_banner_wrapper{
    display: flex;
    align-items: top;
    gap: 3rem;
    position: relative;
    z-index: 2;
}
/*.hp_banner_textbox{    */
/*    min-width: 65%;*/
/*}*/
.hp_banner_textbox{
    width: 100%;
    max-width: 650px;
}
.hp_banner_textbox .n_small{
    color: #fff;
    font-size: clamp(1rem, 1.8vw, 1.8vw);
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 1rem;
    white-space: nowrap;
    
    &:after{
        display: inline-flex;
        content: "";
        width: 100%;
        height: 1px;
        background: #fff;
    }
}
.hp_banner_textbox .n_title{
    font-size: clamp(1.5rem, 4vw, 4vw);
    font-family: var(--t-font);
    font-weight: 400;
    letter-spacing: 2px;
}
.hp_banner_textbox .n_subtitle{
    font-weight: 400;
    text-transform: uppercase;
    font-size: clamp(1rem, 1.9vw, 1.9vw);
    letter-spacing: 1px;
}

.hp_banner .hp_banner_food{
    position:absolute;
    width:48vw !important;
    height:auto !important;
    right:-2vw;
    top:7vw;
    z-index:1;
}

.hp_banner .row{
    align-items:center;
}

/*.hp_banner_product {*/
/*  position: absolute;*/
/*  bottom: 7%;*/
/*  left: 13%;*/
/*  width: 42%;*/
/*  height: 50%;*/
/*}*/

.hp_banner_product{
    position: absolute;
    bottom: 10%;
    left: 13%;
    width: 42%;
    z-index: 1;
    height: 42%;
}

/*.hp_banner_product img{*/
/*    width: 100%;*/
/*}*/

/*.hp_banner_imgbox img{*/
/*    animation: rotate 30s linear infinite;*/
/*}*/

.hp_banner_imgbox{
    width: 150px;
    flex-shrink: 0;
}

.hp_banner_imgbox img{
    width: 100%;
    animation: rotate 30s linear infinite;
}
@keyframes rotate{
    to{
        transform: rotateZ(360deg);
    }
}

@media(min-width:991px){
    .slider_banner{
        margin-top: -130px;
    }
}

@media(max-width:1300px){
    .hp_banner_product{
        left: 54%;
        bottom: 34%;
        transform: translate(0%, 30%);
        width: 40%;
    }
    .hp_banner_imgbox{
        width: 120px;
        flex-shrink: 0;
    }
    .hp_banner_textbox .n_small{
        font-size: 16px;
    }
    .hp_banner_textbox .n_title{
        font-size: 36px;
        margin-bottom: 1rem;
    }
    .hp_banner_textbox .n_subtitle{
        font-size: 18px;
    }
}

@media screen and (max-width:991.5px){

    .hp_banner{
        padding: 140px 8% 80px;
    }
    
    .slider_banner .item > img{
        min-height: 80vw;
        object-fit: cover;
    }   
    .hp_banner_textbox .n_title br{
        display: none;
    }
    .hp_banner_textbox .n_small:after{
        width: 10%;
    }

    .hp_banner_wrapper{
        gap: 2rem;
    }

    .hp_banner_textbox .n_title{
        font-size: clamp(2.5rem, 6vw, 5rem);
    }

    .hp_banner_textbox .n_subtitle{
        font-size: 18px;
    }

    .hp_banner_product{
        width: 55%;
        left: 44%;
        transform: translateX(-50%);
        bottom: 5%;
        opacity: 0.9;
    }

    .hp_banner_imgbox{
        width: 140px;
    }
}

@media screen and (max-width:767.5px){
    .slider_banner .item > img{
        min-height: 130vw;
        object-fit: cover;
    }   
    .hp_banner{
        padding: 100px 5% 420px;
    }    

    .hp_banner_textbox{
        max-width: 100%;
    }    

    .hp_banner_textbox .n_small:after{
        display: none;
    }    

    .hp_banner_imgbox{
        width: 100px;
    }

    .hp_banner_product{
        width: 60%;
        left: 0%;
        transform: translateX(-50%);
        bottom: 15%;
    }
}

@media(max-width:576px){
    .slider_banner .item > img{
        min-height: 200vw;
    }
    .hp_banner{
      padding-top: 3rem;
    }
    .hp_banner_wrapper{
        flex-direction: column;        
    }
    .hp_banner_imgbox{
        width: 80px;
    }
    .hp_banner_product{
        bottom: 5%;
        left: 0%;
        width: 75%;
        transform: unset;
    }
}

/*Why*/
.hp_why{
    position:relative;
    padding:0rem 9% var(--sec-padding-y);    
}

.hp_why_grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.hp_why .hp_why_item{
    padding:30px;
    min-height: 100%;
    aspect-ratio: 1/1;
    border-radius:50%;
    display: grid;
    place-content: center;
    transition: all .1s linear;
}

.hp_why .hp_why_item:hover{
    background:#f52222;    
    
    .hp_why_iconbox{
        animation: swing .8s linear;
    }
}

.hp_why .hp_why_item:hover .n_subtitle,
.hp_why .hp_why_item:hover .n_content{
    color:#fff;
}
.hp_why .hp_why_item:hover .hp_why_iconbox .back-layer{
    opacity: 1;
}

.hp_why .hp_why_iconbox{
    width: fit-content;
    margin: auto;
    margin-bottom:20px;
    position: relative;
}
.hp_why .hp_why_iconbox .back-layer{
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.hp_why .hp_why_iconbox img{
    width:70px !important;
    height:70px !important;
    border-radius:50%;
}

.hp_why .n_subtitle{
    color: var(--primary-color);
    font-size: clamp(.95rem, 1.15vw, 1.15vw);
    font-weight: 500;
}

.hp_why .n_content{
    color: #666;
    font-size:14px;
    font-weight: 300;
}

@media(max-width:1400px){
    .hp_why_grid{
        width: 75%;
        grid-template-columns: repeat(2,1fr);
    }   
}

@media(max-width:767.5px){
    .hp_why_grid{
        width: 100%;
    }
}

@media(max-width:576px){
    .hp_why_grid{
        width: 90%;
        grid-template-columns: repeat(1, 1fr);
        gap: 0;
    }
}

/*Product*/
.index_wrapper_4{
    background: url(https://cdn1.npcdn.net/images/C_Background_2ts5pb_1780381721.png?md5id=b4049a148eacf5ac3b5eac7c67e85758&new_width=1765&new_height=539&type=4);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
    padding: 0 9% var(--sec-padding-y);
}
.hp_product{
    position:relative;    
    margin-bottom: 3rem;
}

.hp_product .row{
    align-items:center;
}

.hp_product .n_small{
    text-align:left;
}

.hp_product .n_content{
    width: 75%;
    margin-left: auto;
    margin-bottom: 0;
}

.index_wrapper_4 .productSlider-1 .slick-track .slick-slide{
    box-shadow: none;
    border-radius: .5rem;
    background: transparent;   
}
.index_wrapper_4 .productSlider-1 .product_img .product_box{    
    background:rgba(255, 255, 255, .1);
    padding:25px;
    box-shadow:0 0 15px rgba(0,0,0,0.06);    
    border: none;
    border-radius: .5rem;
    
    &:hover{
        background: #fff;
        box-shadow: 0 0 15px rgba(0, 0, 0, .2)
    }
}

.index_wrapper_4 .productSlider-1 .product_img .product_box .product_img_frame img{
    object-fit: contain;
}
.index_wrapper_4 .productSlider-1 .product_img .product_box .content{
    text-align: center !important;    
    margin-top: 1.5rem !important;
}
.index_wrapper_4 .productSlider-1 .product_img .product_box .content p:not(.cut_price){
    display: none;
}
.index_wrapper_4 .productSlider-1 .product_img .product_box h6{
    color: #000;
    font-weight: 500 !important;
    
    &:not(.align-top){
        padding-bottom: 1rem;
        line-height: 1.5;
    }
}
.index_wrapper_4 .productSlider-1 .product_img .product_box .content a{
    color: #3e55a4;
    
    &:hover{
        text-decoration: none;
    }
}

.index_wrapper_4 .productSlider-1 .slick-arrow{
    display: none !important;
}

@media screen and (max-width:991.5px){    
    .hp_product .n_content{
        width: 100%;
        margin-top: 2rem;
    }
    .productSlider-1 .slick-list{
        padding: 0 !important;
    }
}

@media screen and (max-width:767.5px){
    
    .index_wrapper_4{
        padding: 0 1rem var(--sec-padding-y);
        background-size: 150%;
        background-position: left bottom;
    }
    .hp_product_textbox br{
        display: none;        
    }
    .hp_product_textbox .n_title{
        line-height: 1.5;
        
        span{
            display: block;
        }
    }
}

/*Service*/
.hp_service{
    padding: calc(var(--sec-padding-y) * 1.25) 8%;
}

.hp_service .n_small span{
    text-align:center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.hp_service .n_small span:before{
    display: inline-flex;
    content:"";
    width:25px;
    height:1.5px;
    background:#666;
}

.hp_service .hp_service_row{
    margin-top:60px;
}

.hp_service .hp_service_item.active .hp_service_iconbox{
    background:#f52222;
}

.hp_service .hp_service_iconbox{
    position: relative;
    width:160px;
    height:160px;
    border-radius:50%;
    background:#ededed;
    display:flex;
    justify-content:center;
    align-items:center;
    margin:0 auto 20px;
}

.hp_service_iconbox .back-layer{
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.hp_service_item:hover .hp_service_iconbox .back-layer{
    opacity: 1;
}

.hp_service .n_subtitle{
    font-size:17px;
    font-weight: 500;
    margin-bottom:0;
    line-height: 1.25;
}

.hp_service .hp_service_item.active .n_subtitle{
    color:#f52222;
}

@media(max-width:1200px){
    .hp_service .hp_service_iconbox{
        width: 100px;
        height: 100px;
    }
    .hp_service .n_subtitle{
        font-size: 15px;
    }
}

@media screen and (max-width:991.5px){
    .hp_service{
        padding: var(--sec-padding-y) 5%;
    }    
    .hp_service_item{
         padding: 1rem;
    }
    .hp_service .hp_service_iconbox{
        width: 150px;
        height: 150px;
    }
}

@media screen and (max-width:767.5px){
    .hp_service{
        padding:60px 0%;
    }

    .hp_service .hp_service_iconbox{
        width:110px;
        height:110px;
    }
    
    .hp_service .n_title br{
        display: none;        
    }
    .hp_service .n_title span{
        display: block;
    }
}

@media(max-width:576px){
    .hp_service .hp_service_row{
        width: 100%;
        margin: auto;
        margin-top: 2rem;
    }
    .hp_service_item{
        padding: 1rem 0;
    }
    .hp_service .hp_service_iconbox{
        width: 140px;
        height: 140px;
    }
}

/*Best Seller*/
.index_wrapper_6{
    position:relative;
    padding: var(--sec-padding-y) 9%;
    overflow:hidden;
    
    &:before{
        position: absolute;
        content: "";
        top: 0;
        left: 0;
        width: 100%;
        height: 60%;
        background: url(https://cdn1.npcdn.net/images/E_Background_c71lok_1780385961.jpg?md5id=b4049a148eacf5ac3b5eac7c67e85758&new_width=1884&new_height=545&type=4);
        background-size: cover;
        background-repeat: no-repeat;    
        border-radius: 2rem;
    }    
}

.hp_bestseller_textbox{
    margin-bottom: 3rem;
}

.hp_bestseller_textbox .n_small span{
    color: #fff;
    
    &:after{
        background: #Fff;
    }
}

.hp_bestseller .container-fluid{
    position:relative;
    z-index:2;
}

.index_wrapper_6 .productSlider-1 .slick-arrow{
    display: none !important;
}
.index_wrapper_6 .productSlider-1 .slick-track .slick-slide{
    border-radius :.95rem;
    overflow: hidden;
}
.index_wrapper_6 .productSlider-1 .product_img .product_box{
    position: relative;    
    border: none;
    margin: 0;
    border-radius: 1rem;
    overflow: hidden;
}

.index_wrapper_6 .productSlider-1 .product_img .product_box .product_img_frame img{
    transition: all .3s linear;
    padding: 2rem;
}
.index_wrapper_6 .productSlider-1 .product_img .product_box:hover .product_img_frame img{
    height: 80%;    
    object-fit: contain !important;
    top: 0;
    transform: translateY(0) translateX(-50%);
    padding: 1rem;
}

.index_wrapper_6 .productSlider-1 .product_img .product_box .content{
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--primary-color);
    z-index: 1;
    width: 100%;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    height: 20%;
    opacity: 0;    
    margin: 0 !important;
    transform: translateY(100%);
    transition: all .3s linear;
    
    a:first-child{
        display: none;
    }
    
    &:after{
        display: inline-flex;
        content: "";
        width: 30px;
        height: 30px;
        aspect-ratio: 1/1;
        border-radius: 5px;
        background: url(https://cdn1.npcdn.net/images/E_Button1_4ey3mu_1780387659.jpg?md5id=b4049a148eacf5ac3b5eac7c67e85758&new_width=180&new_height=180&type=4);
        background-size: contain;
        background-position: center;
    }
}

.index_wrapper_6 .productSlider-1 .product_img .product_box:hover .content{
    opacity: 1;
    transform: translateY(0%);
}

.index_wrapper_6 .productSlider-1 .product_img .product_box .content p,
.index_wrapper_6 .productSlider-1 .product_img .product_box .content h6.align-top{
    display: none;
}
.index_wrapper_6 .productSlider-1 .product_img .product_box h6{
    margin: 0;
    display: grid;
    place-content: center left;
    color: #fff;
    font-weight: 400 !important;
    text-align: left;
    font-size: clamp(.85rem, .95vw, .95vw);
    line-height: 1.45;    
}

@media(max-width:991px){
    .hp_bestseller_textbox{
        margin-bottom: 2rem;
    }
    .index_wrapper_6 {
        padding: var(--sec-padding-y) 5%;
        
        &::before{
            height: 70%;
        }
    }
}

@media(max-width:576px){
    .hp_bestseller .n_title{
        line-height: 1.5;
        text-align: center;
        letter-spacing: 0.5;
    }
    .hp_bestseller .n_small span{
        justify-content: center;
        
        &:before{
            display: inline-flex;
            content: "";
            width: 25px;
            height: 1.5px;
            background: #fff;
        }
    }
    .hp_bestseller .main-btn{
        margin: auto;
        margin-bottom: 3rem;
    }
    .hp_bestseller .n_title br{
        display: none;
    }
    .hp_bestseller .n_title span{
        display: block;
    }
}
    

/*Brand*/
.hp_brand{
    padding: 0 0 var(--sec-padding-y);
    background:#fff;
}

.hp_brand .hp_brand_titlebox{
    margin-bottom: 1.85rem;
}

.hp_brand .n_small span{
    text-align:center;
    justify-content: center;
    margin-bottom: 0rem;
}

.hp_brand .n_small span:before{
    display: inline-flex;
    content:"";
    width:25px;
    height:1.5px;
    background:#666;
}

.hp_brand_item{
    padding: 0 2rem;    
}

.hp_brand_slider .slick-list{
    padding: 0 8rem;
}

@media(max-width:768px){
    .hp_brand_slider .slick-list{
        padding: 0;
        width: 80%;
        margin: auto;
    }
}

/*About*/
.hp_about{
    position:relative;
    padding:0 9% calc(var(--sec-padding-y) * 1.5);
    overflow:hidden;    
}

.hp_about .container-fluid{
    position:relative;
    z-index:2;
}

.hp_about .n_small{
    text-align:center;
}

.hp_about .n_small span{
    text-align:center;
    justify-content: center;
    margin-bottom: 0rem;
}

.hp_about .n_small span:before{
    display: inline-flex;
    content:"";
    width:25px;
    height:1.5px;
    background:#666;
}
.hp_about .hp_about_textbox .n_content{
    margin-bottom:20px;
}
.hp_about .n_title{
    margin-bottom: .85rem;
    color: #212529;
}
.hp_about_textbox .main-btn{    
    width: fit-content;
    margin: auto;
}

.hp_about .blue_btn{
    background:#4255a4;
}

.hp_about .blue_btn:hover{
    background:#f52222;
}

.hp_about .hp_about_shape1{
    position:absolute;
    width:100vw !important;
    height:auto !important;
    left:0;
    bottom:-3vw;
    opacity:0.6;
}

@media screen and (max-width:991.5px){
    .hp_about{
        padding:70px 5%;
    }
}

@media screen and (max-width:767.5px){
    .hp_about{
        padding: 0 5% var(--sec-padding-y);
    }
}

/* Footer */
.footer_type10{
    background: none;
    position: relative;
    color: #3e55a4;
    overflow: visible;
    overflow-x: clip;
    
    &:before{
        position: absolute;
        content: "";
        width: 100%;
        height: 145%;
        background: url(https://cdn1.npcdn.net/images/G_Background_0vbu8y_1780390883.png?md5id=b4049a148eacf5ac3b5eac7c67e85758&new_width=1879&new_height=1043&type=4);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: top;
        bottom: 0;
        z-index: -1;
    }
}
.footer_type10 a,
.footer_type10 .text{
    color: #3e55a4 !important;
    font-size: clamp(.85rem, .92vw, .92vw);
}
.footer_type10 a:hover{
    color: var(--primary-color) !important;
}
.footer_type10 .icon i,
.footer_type10 .social_media a .icon_s i,
.footer_type10 .text-light{
    color: #3e55a4 !important;
}
.footer_type10 .line_top{
    border-color: #3e55a4;
}
.footer_type10 .sub_title{
    color: var(--primary-color);
    border-bottom: 1px solid #3e55a4;
}

@media(max-width:576px){
    .footer_type10{
        overflow-x: hidden;
    }
}

/* Chinese Page */
html:lang(zh-Hans){
    .hp_banner_textbox .n_title{
        font-weight: 700;
    }
    .n_title span{
        font-weight: 600;
    }
}