html, body {
    height: 100%;
}

.head-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 107px;
    z-index: 999;
    background-color: #fff;
    border-bottom: 4px solid #e00840;
}

.head, .body, .nav, .footer {
    margin: 0 auto;
    width: 1200px;
    overflow: hidden;
    position: relative;
}

.head .logo {
    float: left;
    height: auto;
    margin: 21px 0 21px 0;
    max-width: 180px;
    width: 15%;
}

.head .logo img {
    width: 100%;
    cursor: pointer;
}

.head .menu {
    color: #6c6c6c;
    font-size: 18px;
    height: 30px;
    line-height: 30px;
    text-align: right;
    position: absolute;
    top: 50%;
    left: 230px;
    margin-top: -15px;
}

.head .menu li {
    cursor: pointer;
    display: inline-block;
    height: 20px;
    line-height: 20px;
    border-right: 1px solid #6c6c6c;
}

.head .menu li .menu-item {
    position: relative;
    display: inline-block;
    margin-right: 15px;
    margin-left: 15px;
}

.head .menu li:first-child .menu-item {
    margin-left: 0 !important;
}

.head .menu li:last-child {
    border: none;
}

.head .menu li .red-color-font {
    font-weight: 500;
    font-size: 18px;
    color: #e00840;
}

.nav-wrapper {
    height: 44px;
    background-color: #e00840;
    overflow: hidden;
}

.nav-wrapper .nav li {
    display: inline-block;
}

.nav-wrapper .nav li a {
    display: block;
    height: 38px;
    margin-top: 6px;
    line-height: 34px;
    padding: 0 12px;
    color: #fff;
    font-size: 16px;
    text-align: center;
}

.nav-wrapper .nav li a.active {
    background-color: #fafafa;
    color: #e00840;
}

.content-warpper {
    background: #fafafa;
    padding-top: 35px;
    padding-bottom: 35px;
    box-sizing: border-box;
    min-height: calc(100% - 148px - 92px);
    overflow: hidden;
}

.goods-group {
    background: #fafafa;
    width: 1200px;
    margin: 0 auto 0;
    padding: 10px 0 0 10px;
    overflow: hidden;
}

.goods-group .goods {
    border-radius: 8px;
    box-shadow: 0 0 5px #7c7c7c;
    background-color: #fff;
    float: left;
    margin: 0 30px 30px 0;
    width: 276px;
    position: relative;
}

.goods-group .goods:nth-child(4n) {
    margin-right: 0;
}

.goods-group .goods .img {
    width: 220px;
    height: 220px;
    margin: 28px 28px;
}

.goods-group .goods .qrcode {
    position: absolute;
    left: 28px;
    top: 28px;
    width: 220px;
    height: 220px;
    background-color: rgba(0, 0, 0, 0.6);
}

.goods-group .goods .qrcode img {
    margin-top: 20px;
    margin-bottom: 0px;
    width: 160px;
    height: auto;
}

.goods-group .goods .qrcode .qrcode-text {
    color: #fff;
    font-size: 14px;
    text-align: center;
    margin-top: 10px;
}

.goods-group .goods .title {
    color: #686868;
    font-size: 16px;
    line-height: 22px;
    height: 44px;
    margin: 0 14px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.goods-group .goods .price .group-price {
    color: #111;
    font-size: 22px;
}

.goods-group .goods .price .market-price {
    color: #cbcbcb;
    font-size: 18px;
    text-decoration: line-through;
}

.goods-group .goods .price {
    padding: 30px 15px 20px 15px;
    line-height: 22px;
}

.goods-group .goods .goods-discount-container {
    background-color: #fff;
}

.goods-group .goods .goods-discount-container .goods-discount-container-text {
    color: #999;
    font-size: 22px;
    text-align: center;
}

.goods-group .goods .goods-discount-container .goods-discount-container-prefix {
    margin-top: 30px;
}

.goods-group .goods .goods-discount-container .goods-discount-container-suffix {
    margin-bottom: 30px;
}

.footer-warpper {
    position: relative;
    background-color: #3f3e3e;
    padding: 26px 0;
    overflow: hidden;
}

.footer-warpper .copyright {
    position: relative;
    background-color: #3f3e3e;
    font-size: 14px;
    line-height: 1;
    text-align: center;
    color: #b1b1b1;
}

.footer-warpper .copyright a {
    display: block;
    padding-top: 12px;
    background-color: #3f3e3e;
    font-size: 14px;
    line-height: 1;
    text-align: center;
    color: #b1b1b1;
}