html,
body {
    font-size: 16px;
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
}

.main-wrap {
    width: 100%;
    max-width: 768px;
    margin: 0 auto;
}

@media only screen and (min-width: 320px) {
    html {
        font-size: 17.06px !important;
    }
}

@media only screen and (min-width: 360px) {
    html {
        font-size: 19.2px !important;
    }
}

@media only screen and (min-width: 375px) {
    html {
        font-size: 20px !important;
    }
}

@media only screen and (min-width: 400px) {
    html {
        font-size: 21.33px !important;
    }
}

@media only screen and (min-width: 414px) {
    html {
        font-size: 22.08px !important;
    }
}

@media only screen and (min-width: 480px) {
    html {
        font-size: 25.6px !important;
    }
}

@media only screen and (min-width: 750px) {
    html {
        font-size: 25px !important;
    }
}

.main-wrap .top-msg {
    text-align: center;
    font-size: 0.7rem;
    background: #111;
    padding: 0.5rem;
    color: white;
}

.main-wrap .logo-wrap {
    padding: 0.5rem;
    background: white;
    text-align: center;
    position: relative;
}

.main-wrap .logo-wrap .logo {
    max-height: 2.5rem;
}

.main-wrap .logo-wrap .menu {
    position: absolute;
    max-height: 1.5rem;
    right: 0.7rem;
    top: 1.1rem;
}

.main-wrap .bannar {
    text-align: center;
    background: #111;
    padding: 2rem 0.5rem;
    font-size: 0.8rem;
}

.main-wrap .bannar .title {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: bold;
}

.main-wrap .bannar .sub-title {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: bold;
}

.main-wrap .bannar .content {
    line-height: 1.2rem;
}

.main-wrap .bannar .button {
    background: white;
    color: #333;
    padding: 0.5rem 2rem;
    display: inline-block;
    margin-top: 2rem;
    text-transform: uppercase;
    text-decoration:none;
}

.main-wrap .category-wrap {
    padding: 1rem 0.5rem;
    color: #333;
    text-align: center;
}

.main-wrap .category-wrap .title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    font-weight: bold;
}

.main-wrap .category-wrap .sub-title {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.main-wrap .category-wrap .category .category-item {
    width: 49%;
    display: inline-block;
    padding: 0.5rem 0;
}

.main-wrap .category-wrap .category .category-item a {
    color: #333;
}

.main-wrap .category-wrap .category .category-item a img {
    width: 100%;
    margin-bottom: 0.25rem;
}

.main-wrap .product-wrap {
    padding: 1rem 0.5rem;
    color: #333;
    text-align: center;
}

.main-wrap .product-wrap .title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    font-weight: bold;
}

.main-wrap .product-wrap .product .product-item {
    width: 49%;
    display: inline-block;
    padding: 0.5rem 0;
    color: #333;
    font-size: 0.7rem;
    text-align: left;
}

.main-wrap .product-wrap .product .product-item a img {
    width: 100%;
    margin-bottom: 0.25rem;
}

.main-wrap .product-wrap .product .product-item .name {
    text-overflow: -o-ellipsis-lastline;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 2rem;
}

.main-wrap .product-wrap .product .product-item .price {
    margin-top: 0.5rem;
}

.main-wrap .product-wrap .product .product-item .price .cur-price {
    color: #cb2027;
    margin-right: 0.5rem;
}

.main-wrap .product-wrap .product .product-item .price .org-price {
    text-decoration: line-through;
}

.main-wrap .policy-wrap {
    padding: 1rem 0.5rem;
    color: #333;
    text-align: left;
}

.main-wrap .policy-wrap .title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.main-wrap .policy-wrap .content {
    font-size: 0.7rem;
    line-height: 1rem;
    margin-bottom: 2.5rem;
}

.main-wrap .policy-wrap .policy-item {
    display: inline-block;
    width: 32%;
    vertical-align: top;
    text-align: center;
    font-size: 0.7rem;
}

.main-wrap .policy-wrap .policy-item .title {
    font-weight: bold;
    margin: 0.5rem 0;
    font-size: 0.8rem;
}

.main-wrap .footer-wrap {
    background: #f5f5f5;
    padding: 1rem 0.5rem;
    color: #333;
    text-align: center;
}

.main-wrap .footer-wrap table td {
    vertical-align: top;
}

.main-wrap .footer-wrap .item-wrap {
    margin-bottom: 0.5rem;
    text-align: left;
    padding: 0 1rem;
}

.main-wrap .footer-wrap .item-wrap .item {
    display: block;
    color: #333;
    margin-bottom: 0.5rem;
}

.main-wrap .footer-wrap .copyright {
    font-size: 0.7rem;
}

.main-wrap .footer-wrap .logo {
    margin: 1rem 0;
}

.main-wrap .footer-wrap .logo img {
    max-height: 2.5rem;
}

.main-wrap .menu-wrap {
    background: white;
    position: absolute;
    top: 0;
    left: 0;
}

.main-wrap .menu-wrap .item-wrap ul,
.main-wrap .menu-wrap .item-wrap li {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-wrap .menu-wrap .item-wrap .item {
    display: block;
    height: 2rem;
    line-height: 2rem;
    border-bottom: 1px solid #ddd;
    text-decoration: none;
    padding: 0 0.5rem;
    color: #333;
}

.main-wrap .menu-wrap .item-wrap .item a,
.main-wrap .menu-wrap .item-wrap .sub-item a {
    color: #333;
    text-decoration: none;
}

.main-wrap .menu-wrap .item-wrap .item .expand-icon,
.main-wrap .menu-wrap .item-wrap .sub-item .expand-icon {
    float: right;
    height: 1rem;
    padding: 0.5rem;
    padding-right: 0;
}

.main-wrap .menu-wrap .item-wrap .sub-item {
    display: block;
    height: 2rem;
    line-height: 2rem;
    border-bottom: 1px solid #ddd;
    text-decoration: none;
    padding: 0 0.5rem;
    color: #333;
    padding-left: 1rem;
}

.main-wrap .menu-wrap .item-wrap .sub-sub-item {
    display: block;
    height: 2rem;
    line-height: 2rem;
    border-bottom: 1px solid #ddd;
    text-decoration: none;
    padding: 0 0.5rem;
    color: #333;
    padding-left: 2rem;
}

.main-wrap .menu-wrap .item-wrap .hide {
    display: none;
}

.main-wrap .menu-wrap .logo-wrap {
    border-bottom: 1px solid #ddd;
}

@media (max-width: 750px) {
    .main-wrap .category-wrap .category .category-item {
        display: block;
        width: 100%;
    }

    .main-wrap .product-wrap .product .product-item {
        display: block;
        width: 100%;
    }

    .main-wrap .product-wrap .product .product-item .name {
        height: auto;
    }

    .main-wrap .policy-wrap .policy-item {
        display: block;
        width: 100%;
        margin-top: 1rem;
    }
}
