*{margin:0;padding:0;box-sizing:border-box;}
@font-face{font-family:'Cambay-Regular';src:url('../fonts/Cambay-Regular.ttf')format('truetype');font-weight:normal;font-style:normal;}
@font-face{font-family:'VarelaRound-Regular';src:url('../fonts/VarelaRound-Regular.ttf')format('truetype');font-weight:normal;font-style:normal;}

body{font-size:16px; padding-top: 3.71vw; font-family: 'VarelaRound-Regular',Arial,sans-serif}
ul,ol{list-style-type:none;}
a{text-decoration: none;}
img{
    max-width: 100%;
}

.top_wrap{
    width: 100%;
    background: url("../images/top_line.jpg") repeat-x left top;
    height: 3.71vw;
    background-size: auto 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    z-index: 201;
    top: 0;
}

.nav_menu{
    margin-left: auto;
}

.nav_menu a{
    text-decoration: none;
    color: #fff;
    font-family: Cambay-Regular, serif;
    font-size: 0.72vw;
    transition: color 0.3s ease;
    font-weight: 600;
    margin-left: 3vw;
}

.nav_menu a.focus,.nav_menu a:hover{
    color: #a41d09;
}

.page_warp{
    display: flex;
    width: 100%;
    justify-content: center;
    height: 3.75vw;
    align-items: center;
}

.flex_box{
    display: flex;
}

.flex_row{
    display: flex;
    flex-direction: row;
}

.flex_col{
    display: flex;
    flex-direction: column;
}

.page_warp a{
    border-radius: 7px;
    font-size: 2vw;
    padding: 0.4vw 1vw;
    margin: 2px 3px;
    color: #ffffff;
}

.page_warp a.current{
    background: #a41d09;
}

.page_warp a.page-num{
    background: rgba(21,28,28,1);
    transition: background 0.3s ease;
}

.page_warp a.page-num:hover{
    background: #a41d09;
}

.hua_bg{
    background: white url("../images/bg_repeat.png") repeat-y left top;
    background-size: 100% auto;
}

.logo{
    margin-left: 4.13vw;
    width: 7.796vw;
    height: 2.062vw;
}

.right_btn{
    display: flex;
    align-items: center;
}

.menu_btn{
    margin-left: 4.27vw;
    margin-right: 2.7vw;
    width: 1.1vw;
}

.buy_btn{
    width: 6.37vw;
    height: 1.58vw;
    background-color: #a41d09;
}

.buy_btn a{
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 1.58vw;
}

.buy_btn a .img_box{
    width: 0.98vw;
    margin-left: 0.42vw;
    margin-right: 0.41vw;
}

.cart_text{
    color: white;
    font-family: Cambay-Regular, serif;
    font-size: 0.69vw;
}

.buy_btn a .img_box img{
    object-fit: cover;
}

footer{
    width: 100%;
    display: flex;
    justify-content: space-between;
    background-color: #151c1c;
    padding-bottom: 4.2vw;
    align-items: start;
    color: white;
    position: relative;
    z-index: 200;
}

.f_left{
    margin-left: 7.95vw;
    display: flex;
    flex-direction: column;
    align-items: start;
    margin-top: 4.873vw;
}

.f_right{
    display: flex;
    flex-direction: column;
    align-items: end;
    margin-right: 7.082vw;
    margin-top: 7.84vw;
}
.f_left_first{
    display: flex;
    justify-content: start;
    align-items: end;
    height: 2.099vw;
}
.f_left_first h3{
    font-size: 0.833vw;
    font-weight: 500;
    letter-spacing: 1px;
    margin-right: 0.9vw;
}
.f_left_first p{
    font-size: 0.73vw;
}
.f_left_second{
    margin-top: 0.675vw;
    margin-bottom: 4.39vw;
    width: 19.753vw;
    height: 2.774vw;
    border: 1px solid #fff;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}
.f_left_third a,.f_left_second a{
    color: #ffffff;
    font-size: 0.73vw;
    transition: color 0.3s ease;
}

.f_left_second a:hover,.f_left_third a:hover{
    color: #a41d09;
}

.f_left_third{
    line-height: 1.84vw;
    font-size: 0.75vw;
}

.f_right_first{
    display: flex;
    width: 28.11vw;
    background-color: white;
    justify-content: center;
    align-items: center;
    color: black;
    font-size: 0.833vw;
    height: 2.84vw;
    transition: color 0.3s ease;
}

a.f_right_first:hover{
    color: #a41d09;
}

.f_right_sencond{
    display: flex;
    width: 28.11vw;
    justify-content: start;
    align-items: center;
    height: 2.84vw;
    margin-top: 0.94vw;
    line-height: 1.29vw;
}

.f_right_sencond a{
    color: white;
    font-size: 0.833vw;
    transition: color 0.3s ease;
}

.f_right_sencond a:hover{
    color: #a41d09;
}

.f_right_third{
    margin-top: 109px;
    display: flex;
    justify-content: end;
    padding-right: 0.937vw;
  }

.f_right_third a{
    width: 2.774vw;
    height: 2.774vw;
    margin-left: 1.69vw;
}


@media screen and (max-width:768px){
    body{font-size:16px; padding-top: 60px; font-family: 'VarelaRound-Regular',Arial,sans-serif}
    /*当屏幕宽度小于或等于768px时应用的样式*/
    .top_wrap{
        width: 100%;
        background: url("../images/top_line.jpg") repeat-x left top;
        height: 60px;
        background-size: auto 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 201;
    }

    .logo{
        display: flex;
        margin-left: 15px;
        width: auto;
        height: 30px;
    }

    .logo img{
        max-width: none;
        object-fit: cover;
    }

    .menu_btn{
        display: flex;
        height: 26px;
        width: auto;
    }

    .menu_btn img{
        max-width: none;
        object-fit: cover;
    }

    .buy_btn{
        display: flex;
        width: auto;
        height: auto;
        padding-left: 8px;
        background-color: transparent;
    }

    .buy_btn a{
        display: flex;
        height: 26px;
        padding-left: 25px;
        margin-right: 15px;
    }

    .right_btn{
        margin-left: auto;
        align-items: center;
    }

    .cart_text{
        display: none;
    }

    .buy_btn a .img_box{
        display: flex;
        flex: 1;
        justify-content: center;
        align-items: center;
        width: 26px;
        height: 26px;
        margin-left: 0;
        margin-right: 0;
    }

    footer{
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        background-color: #151c1c;
        padding-bottom: 62px;
        align-items: start;
        color: white;
        position: relative;
        z-index: 200;
    }

    .f_left{
        margin-left: 15px;
        margin-right: 15px;
        display: flex;
        flex-direction: column;
        align-items: start;
        margin-top: 48px;
    }

    .f_right{
        display: flex;
        flex-direction: column;
        align-items: end;
        margin-left: 15px;
        margin-right: 15px;
        width: calc(100% - 30px);
        margin-top: 7.84vw;
    }

    .f_left_first{
        display: flex;
        justify-content: start;
        align-items: start;
        height: 34px;
    }
    .f_left_first h3{
        font-size: 16px;
        font-weight: 500;
        letter-spacing: 1px;
        margin-right: 6px;
    }
    .f_left_first p{
        font-size: 14px;
    }
    .f_left_second{
        margin-top: 12px;
        margin-bottom: 30px;
        width: auto;
        height: 34px;
        padding: 0 15px;
        border: 1px solid #fff;
        display: flex;
        align-items: center;
        justify-content: space-evenly;
    }

    .f_left_second span{
        margin: 0 15px;
    }

    .f_left_third a,.f_left_second a{
        color: #ffffff;
        font-size: 14px;
        transition: color 0.3s ease;
    }

    .f_left_second a:hover,.f_left_third a:hover{
        color: #a41d09;
    }

    .f_left_third{
        line-height: 28px;
        font-size: 14px;
    }

    .f_right_first{
        display: flex;
        width: 100%;
        padding: 0 15px;
        background-color: white;
        justify-content: center;
        align-items: center;
        color: black;
        font-size: 16px;
        height: 38px;
        transition: color 0.3s ease;
    }

    a.f_right_first:hover{
        color: #a41d09;
    }

    .f_right_sencond{
        display: flex;
        width: 100%;
        justify-content: start;
        align-items: center;
        height: 34px;
        margin-top: 10px;
        line-height: 34px;
    }

    .f_right_sencond a{
        color: white;
        font-size: 16px;
        transition: color 0.3s ease;
    }

    .f_right_sencond a:hover{
        color: #a41d09;
    }

    .f_right_third{
        width: 100%;
        margin-top: 15px;
        display: flex;
        justify-content: start;
        padding-right: 0;
    }

    .f_right_third a{
        width: 32px;
        height: 32px;
        margin-right: 15px;
    }

    .nav_menu{
        position: fixed;
        top: 60px;
        overflow: hidden;
        width: 100vw;
        height: 100vh;
        z-index: 200;
        padding-top: 60px;
        right: -100%;
        background-color: #fff;
        transition: right 0.75s cubic-bezier(0.6, 0, 0.175, 1);
        -webkit-transition: right 0.75s cubic-bezier(0.6, 0, 0.175, 1);
    }

    .nav_menu a{
        display: flex;
        width: calc(100% - 30px);
        margin: 0 15px;
        line-height: 55px;
        height: 55px;
        justify-content: start;
        align-items: center;
        font-size: 15px;
        color: #151c1c;
        border-bottom:1px solid rgba(235,235,235,1);
    }

    .mobileNavstyle .nav_menu{
        right: 0;
    }
}