html {
    font-size: 3.6vw;
    letter-spacing: .1em;
}

body {
    font-family: 'Helvetica Neue', Helvetica, 'Microsoft YaHei', sans-serif;
    background-color: #f7f7f7;
    padding-top: 10.83vw;
    padding-bottom: 13.4vw;
    min-height: 100vh;
    box-sizing: border-box;
}

body,
p {
    margin: 0;
}

a {
    text-decoration: none;
}


.flex {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
}

.col {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    flex-direction: column;
}

img {
    width: 100%;
    height: 100%;
    display: block;
}

header {
    width: 100%;
    height: 10.83vw;
    position: fixed;
    top: 0;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    background-color: #f2f1f0;
}

.header_wrap {
    height: 8vw;
    padding: 0 3.8vw;
    -webkit-box-flex: 1;
    -webkit-flex: auto;
    flex: auto;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}

.search {
    height: 100%;
    background-color: #e6e6e6;
    -webkit-flex-basis: 80%;
    flex-basis: 80%;
    border-radius: 4vw;
    box-shadow: inset 0 0 6vw rgba(0, 0, 0, .1)
}

.search form {
    height: 100%;
}

.header_wrap img {
    width: 8vw;
}

.search input {
    border: none;
    background-color: transparent;
    -webkit-box-flex: 1;
    -webkit-flex: auto;
    flex: auto;
    font-size: .8rem;
}

.login {
    -webkit-box-flex: 0;
    -webkit-flex: none;
    flex: none;
    padding: 0 2vw;
    line-height: 8vw;
    color: red;
}



.navi {
    width: 23.33vw;
    position: fixed;
    top: 13.4vw;
    -webkit-box-flex: 0;
    -webkit-flex: none;
    flex: none;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
}

.item_navi {
    color: #272727;
    width: 100%;
    height: 11vw;
    line-height: 11vw;
    text-align: center;
    font-weight: bold;
    border-left: 2px solid #f7f7f7;
    border-bottom: 1px solid #e5e5e5;
    box-sizing: border-box;
}

.item_navi.current {
    color: #d30f13;
    border-left-color: #d30f13;
}

.products {
    background-color: white;
    text-align: center;
    padding: 0 1.48vw;
    border-left: 1px solid #e5e5e5;
    margin-left: 23.33vw;
}

.top_pic_item {
    display: block;
    margin-top: 1.57vw;
    height: 19.44vw;
    border-radius: 1vw;
    overflow: hidden;
}

.sub_title {
    margin: 1vw 8vw 0;
    text-align: center;
    letter-spacing: .2em;
}

.sub_title::before,
.sub_title::after {
    display: block;
    content: "";
    -webkit-box-flex: 1;
    -webkit-flex: auto;
    flex: auto;
    height: 4.7vw;
    border-bottom: 1px solid #5b5b5b;
}

.sub_title h4 {
    margin: 0;
    padding: 0 1.5vw;
    line-height: 10vw;
}

.goods_list {
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
}

.goods_item {
    width: 33.33%;
    -webkit-box-flex: 0;
    -webkit-flex: none;
    flex: none;
    color: #2f2f2f;
}

.goods_pic {
    width: 100%;
    height: 14.8vw;
    object-fit: contain;
}

.goods_info {
    font-size: .8rem;
    line-height: 1.6rem;
    height: 3.2rem;
    overflow: hidden;
    text-align: center;
    margin: 1vw 0 4vw;
}

.name {
    width: 70%;
    margin: 0 auto;
    height: auto;
    word-wrap: break-word;
    word-break: break-all;
}

.desc {
    font-size: .7rem;
}

.bottom_bar {
    width: 100%;
    height: 13.4vw;
    position: fixed;
    bottom: 0;
    background-color: white;
    z-index: 1;
    letter-spacing: normal;
}

.btm_btn {
    width: 25%;
    text-align: center;
    color: #737373;
}

.cart {
    position: relative;
}

.btm_btn span {
    display: inline-block;
    width: 7vw;
    height: 7vw;
    margin-top: 1vw;
    background: url(../icon/bottom_icons.png) no-repeat;
    background-size: 28vw 14vw;
}

.cart_num {
    position: absolute;
    top: 0;
    left: 56%;
    display: block;
    width: 5vw;
    padding: 2.5vw 0;
    font-size: 4vw;
    font-style: normal;
    background-color: red;
    border-radius: 5vw;
    line-height: 0;
    color: white;
}

.btm_btn p {
    line-height: .8em;
}

.btm_btn.current p {
    color: red;
}

.btm_btn.current .index_icon {
    background-position: 0 -7vw;
}

.btm_btn .index_icon {
    background-position: 0 0;
}

.btm_btn.current .cat_icon {
    background-position: -7vw -7vw;
}

.btm_btn .cat_icon {
    background-position: -7vw 0;
}

.btm_btn.current .cart_icon {
    background-position: -14vw -7vw;
}

.btm_btn .cart_icon {
    background-position: -14vw 0;
}

.btm_btn.current .user_icon {
    background-position: -21vw -7vw;
}

.btm_btn .user_icon {
    background-position: -21vw 0;
}
