html,
body {
    width: 100%;
    height: 100%;
}

@media screen and (min-width: 768px) {
    html, body {
        min-width: 1200px;
    }
}

body {
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    color: #000;
    margin: 0;
    padding: 0;
}

.main-container {
    margin: 0 auto;
}

.header {
    height: 1.15rem;
    line-height: 1.15rem;
    width: 100%;
    background-color: black;
    vertical-align: middle;
    position: fixed;
    z-index: 999;
}

.header .logo {
    font-size: 0.3rem;
    color: #ffffff;
    display: inline-block;
    padding-left: 2.80rem;
}

.header .nav {
    display: inline-block;
    float: right;
    color: #ffffff;
    padding-right: 1rem;
}

.header .nav .nav-item {
    float: left;
    margin: 0 0.15rem;
    font-size: 0.2rem;
    cursor: pointer;
}

.header .nav .nav-item.active {
    text-decoration: underline;
}

.swiper-container {
    width: 70%;
    margin: 0 auto;
    padding-top: 1.15rem;
}

.swiper-container .swiper-page {
    text-align: center;
}

.swiper-container .swiper-slide > img {
    width: 100%;
}

.about-us-container {
    width: 80%;
    border: 0.04rem solid gray;
    padding: 1.5rem 0;
    margin: 0.45rem auto 0;
}

.about-us-container .title {
    font-size: 0.5rem;
    font-weight: 800;
    text-align: center;
}

.about-us-container .content {
    width: 60%;
    font-weight: 500;
    font-size: 0.25rem;
    margin: 0.3rem auto 0;
    line-height: 1.5;
    text-indent: 0.5rem;
}

.product-container {
    margin: 0 auto;
    text-align: center;
}

.product-container > .title {
    font-size: 0.5rem;
    font-weight: 800;
    margin-top: 0.45rem;
}

.product-container .product-items {
    margin-top: 0.30rem;
    margin-bottom: 1.20rem;
}

.product-container .product-items .product-item {
    width: 3rem;
    height: 3rem;
    background-repeat: no-repeat;
    background-size: cover;
    display: inline-block;
    background-color: rgba(0, 0, 0, .9);
    margin: 0.15rem;
}

.product-container .product-items .product-item .image {
    width: 2.15rem;
    height: 2.15rem;
    margin-top: 0.33rem;
    display: inline-block;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.product-container .product-items .product-item:nth-child(1) > .image {
    background-image: url("../images/chanpin0.png");
}

.product-container .product-items .product-item:nth-child(2) > .image {
    background-image: url("../images/chanpin1.png");
}

.product-container .product-items .product-item:nth-child(3) > .image {
    background-image: url("../images/chanpin2.png");
}

.product-container .product-items .product-item:nth-child(4) > .image {
    background-image: url("../images/chanpin3.jpg");
}

.product-container .product-items .product-item:nth-child(5) > .image {
    background-image: url("../images/chanpin4.jpg");
}

.product-container .product-item .title {
    color: #fff;
    font-size: 0.2rem;
    font-weight: 600;
    line-height: 0.38rem;
}

.footer-container {
    clear: both;
    background-color: black;
    text-align: center;
    color: #ffffff;
    font-size: 0.14rem;
    padding: 0.3rem 0;
}

.footer-container > * {
    width: 100%;
    display: inline-block;
    line-height: 0.25rem;
    color: #ffffff;
}

.footer-container .ab > img {
    vertical-align: middle;
    display: inline-block;
}

.buy-container {
    margin: 0.45rem auto;
}

@media screen and (min-width: 768px) {
    .buy-container {
        width: 13rem;
    }
}

.buy-container .title {
    font-size: 0.5rem;
    color: black;
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.3rem;
}
