.header {
    position: fixed;
    top: 0%;
    width: 600px;
    flex-basis: 100%;
    padding: 5px 20px;
    font-size: 14px;
    font-style: oblique;
    background: #eee;
    z-index: 99;
}
    .header .search {
        display: flex;
        justify-content: space-between;
        height: 30px;
        border: 2px solid red;
        border-radius: 30px;
    }
        .header .search .btn-category {
            border: 0px solid red;
            border-bottom-left-radius: 15px;
            border-top-left-radius: 15px;
            background: red;
            width: 180px;
            color: white;
        }
        .header .search .input-item {
            width: 100%;
            border: 0px solid red;
            padding: 5px;
            outline:none;
        }
        .header .search .input-item:hover {
            border: 0px solid red;
        }
        .header .search .btn-search {
            border: 1px solid red;
            border-bottom-right-radius: 15px;
            border-top-right-radius: 15px;
            background: red;
            width: 120px;
            color: white;
        }
.b-category {
    /* 菜单主体，默认宽度为10px,定位于屏幕左侧中间，不随页面滚动变化位置 */
    width: 560px;
    position: fixed;
    top: 0%;
    background: red;
    padding: 10px;
    border-radius: 10px;
    font-style:normal;
}
.category-nav {
    display: flex;
    position: relative;
    flex-wrap: wrap;
    width: 600px;
}

li {
    color: rgb(255, 255, 255);
    list-style: none;
    padding-left: 5px;
    cursor: pointer;
    margin: 10px;
    font-size: 12px;
}
.top{
    width:600px;
    height:80px;
}

@media only screen and (max-width: 599px) {
    .header, .top {
        width: 100%;
    }
    .b-category, .category-nav{
        width: 100%;
    }
}
img {
    width: 100%;
    border: 0;
    vertical-align: middle;
}

.good {
    margin: 5px 20px 30px 10px;
    width: 160px;
    height: auto;
}
.good .item{
    width:100%;
}
.good .item:hover {
    color: #f02b2b;
    cursor: pointer;
}

    .good .item .item-cover {
        width: 150px;
        height: 150px;
        position: relative;
        box-sizing: content-box;
        margin-bottom: 10px;
        overflow: hidden;
    }

.good .item .item-info .item-title {
    padding-left: 2px;
    font-size: 14px;
    line-height: 1.3;
}

.good .item .item-info .area {
    padding: 5px 0px 0px 2px;
    font-size: 10px;
    color: cadetblue;
    line-height: 1.3;
}

.good .item .item-info .item-price {
    font-family: 'JDZH-Regular', sans-serif;
    display: inline-block;
    color: #f02b2b;
    margin-top: 5px;
    margin-right: 5px;
    font-size: 16px;
}

.good .operate {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
}

    .good .operate .add-cart{
        position:relative;
        display:flex;
    }

    .good .operate .show-qty {
        color: green;
        line-height: 50px;
    }
    .cartqty {
        background: red;
        border: 1px solid red;
        border-radius: 50%;
        width: 20px;
        height: 20px;
        padding-top: 3px;
        font-size: 9px;
        line-height: 10px;
        text-align: center;
        color: white;
    }

    .add-cart .iconfont {
        font-size: 30px;
        margin: 10px auto;
        color: #000;
    }

.add-cart .iconfont:hover {
    color: #f02b2b;
    cursor: pointer;
}

.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hidden {
    display:none;
}