* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}

ul, li {
    list-style: none;
}

input,
button,
select {
    border: none;
    outline: none;
}

a {
    text-decoration: none;
    color: #333;
}

.clearfloat:after {
    display: block;
    clear: both;
    content: "";
    visibility: hidden;
    height: 0;
}

.clearfloat {
    zoom: 1;
}

@font-face {
    font-family: "iconfont"; /* Project id 4518198 */
    src: url('../fonts/iconfont.woff2?t=1713759968862') format('woff2'),
            url('../fonts/iconfont.woff?t=1713759968862') format('woff'),
            url('../fonts/iconfont.ttf?t=1713759968862') format('truetype');
}

.iconfont {
    font-family: "iconfont" !important;
    font-size: 30px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #666;
}

.icon-twiter:before {
    content: "\e605";
}
  
.icon-pinterest2:before {
    content: "\e7ff";
}
  
.icon-instagram:before {
    content: "\e6fc";
}
  
.icon-youtube:before {
    content: "\e73b";
}
  
.icon-fackbook:before {
    content: "\e70f";
}

.hide {
    display: none;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--header-bg-color);
    padding: 0 20px;
    z-index: 2;
}

header nav {  
    flex: 1; 
    max-width: 100%;
}

header .menu-icon-wrap {
    display: none;
}

header .logo-wrap img {
max-width: 150px;
height: auto;
}

header nav ul {
    float: right;
    padding: 20px 0 20px 20px;
}

header nav ul li {
    display: inline-block;
    padding: 10px;
}

header nav ul li a {
    color: var(--header-font-color);
    font-weight: bold;
}

header .menu-wrap {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

main {
    padding: 0 0 40px 0;
    margin-top: 80px;
    background: var(--main-bg-color);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 100% 100%;
    /* background-size: auto;
    background-repeat: repeat; */
    color: var(--main-font-color);
}

main .container {
    max-width: 1200px;
    margin: 0 auto;
}

main .banner-block {
    text-align: center;
    position: relative;
    margin-bottom: 5px;
    display: block;
}

main .banner-block .image-wrap img {
    width: 100%;
}

main .banner-block .image-wrap .pc-image {
    display: block;
}

main .banner-block .image-wrap .app-image {
    display: none;
}

main .banner-block.bottom {
    display: block;
    background: var(--banner2-bg-image);
    margin: 0 -2px 2px -2px;
}

main .banner-block .text-content {
    position: absolute;
    top: 50%;
    left: 50%;
    bottom: 0;
    right: 0;
    transform: translateX(-50%) translateY(-50%);
    z-index: 1;
}

main .banner-block .title {
    font-size: 50px;
    padding: 20px;
    color: var(--banner-font-color);
    text-shadow: 1px 1px 3px black;
    text-transform: uppercase;
}

main .banner-block .desc {
    font-size: 40px;
    padding: 20px;
    color: var(--banner-font-color);
    text-shadow: 1px 1px 3px black;
}

main .banner-block .btn {
    background: var(--banner-btn-bg-color);
    color: var(--banner-btn-font-color);
    border: 2px solid var(--banner-btn-font-color);
    text-shadow: 1px 1px 3px black;
    display: inline-block;
    margin-top: 30px;
    padding: 10px 20px;
}

main .container.content {
    line-height: 1.5;
    padding: 0 20px;
}

main .container .block1,
main .container .block2 {
    margin: 0 -10px;
}

main .container .category-item {
    float: left;
    width: 50%;
    padding: 10px;
    position: relative;
}

main .container .category-item img {
    width: 100%;
    min-height: 100px;
}

main .container .category-item .text-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 10px;
    text-decoration: underline;
}

main .container .category-item .text-content .text {
    position: absolute;
    top: 89%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    text-align: center;
    color: white;
    font-size: 45px;
    text-shadow: 1px 1px 3px black;
    border-bottom: 3px solid #fff;
}

main .block2 .category-item {
    width: 33.33%;
}

main .container .product-block-wrap {
    width: 1100px;
    margin: 0 auto;
    margin-bottom: 50px;
}

main .container .product-block-wrap .title {
    font-size: 22px;
    padding: 10px 20px;
    text-align: center;
    font-weight: bold;
}

main .container .product-block-wrap .desc {
    font-size: 18px;
    padding: 10px 20px;
    text-align: center;
}

main .container .product-item {
    float: left;
    width: 25%;
    padding: 10px;
    position: relative;
    text-align: left;
}

main .container .product-item img {
    width: 100%;
}

main .container .product-item .name {
    line-height: 1.5;
    padding-top: 10px;
    height: 55px;
    overflow: hidden;
    display: block;
    font-size: 14px;
    color: var(--main-font-color);
}

main .container .product-item .jg-wrap {
    padding: 10px 0;
}

main .container .product-item .jg-wrap .jp1 {
    color: #ea5455;
    font-weight: bold;
    margin-right: 5px;
    display: inline-block;
}

main .container .product-item .jg-wrap .jp2 {
    color: #999;
    display: inline-block;
    text-decoration: line-through;
    font-size: 12px;
}

footer {
    background: var(--footer-bg-color);
    color: var(--footer-font-color);
    padding: 50px;
}

footer .container {
    max-width: 1200px;
    margin: 20px auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: space-between;
    -ms-flex-pack: space-between;
    justify-content: space-between;
}

footer .container .item .title {
    font-weight: bold;
    font-size: 22px;
    padding-bottom: 10px;
}

footer .container .item ul {
    padding-left: 20px;
 }

footer .container .item ul li {
    line-height: 2;
    list-style: disc;
}

footer .container .item .social-wrap {
    margin-bottom: 25px;
    margin-top: 10px;
}

footer .container .item .social-wrap i {
    margin-right: 20px;
}

footer .container .item img {
    width: 300px;
    margin: 0 -10px;
}

footer .copyright {
    text-align: center;
    padding-top: 40px;
}

@media (max-width: 990px) {
    header {
        position: relative;
        max-width: 100%;
        padding: 15px 10px;
    }
    
    header .menu-wrap {
        max-width: 100%;
    }

    header .menu-icon-wrap {
        display: inline-block;
        position: fixed;
        top: 10px;
        left: 15px;
        cursor: pointer;
        height: 40px;        
        width: 40px;
        background: var(--header-bg-color);
        z-index: 99;
        text-align: left;
    }

    header .menu-icon-wrap .menu-icon {
        border-radius: 20px;
        bottom: 11px;
        left: 10px;
        display: block;
        height: 2px;
        margin-top: -2px;
        opacity: 1;
        position: absolute;
        top: auto;
        transition: opacity .3s;
        transition-timing-function: ease-in-out;
        width: 20px;
        background: var(--header-font-color);
    }

    header .menu-icon-wrap.close {
        background: white;
    }

    header .menu-icon-wrap.close .menu-icon {
        bottom: 19px;
    }

    header .menu-icon-wrap .menu-icon::before {
        background: inherit;
        border-radius: inherit;
        content: "";
        height: inherit;
        position: absolute;
        width: inherit;
        top: -7px;
    }

    header .menu-icon-wrap .menu-icon::after {
        background: inherit;
        border-radius: inherit;
        content: "";
        height: inherit;
        position: absolute;
        width: inherit;
        top: -14px;
    }

    header .menu-icon-wrap.close .menu-icon {
        transform: rotate(45deg);
    }

    header .menu-icon-wrap.close .menu-icon::before {
        display: none;
    }

    header .menu-icon-wrap.close .menu-icon::after {
        top: 0;
        transform: rotate(90deg);
    }

    header nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: white;
        z-index: 3;
        padding-top: 40px;
        box-shadow: 0 8px 8px rgba(0, 0, 0, 0.05);
    }

    header nav ul {
        float: left;
        width: 100%;
        text-align: center;
    }

    header nav ul li {
        text-align: left;
        display: block;
        border-bottom: 1px solid #eee;
    }

    header nav ul li a {
        font-weight: normal;
    }

    main {
        margin-top: 0;
        padding-bottom: 0;
    }

    main .container {
        max-width: 100%;
        margin: 0 6px 20px 6px;
    }

    main .banner-block .image-wrap {
        margin: 0 -2px;
    }

    main .banner-block .image-wrap .pc-image {
        display: none;
    }
    
    main .banner-block .image-wrap .app-image {
        display: block;
    }
    
    main .banner-block .title {
        font-size: 25px;
    }
    
    main .banner-block .desc {
        font-size: 20px;
    }

    main .container .block1,
    main .container .block2 {
        margin: 0 -5px;
    }

    main .container .block1 .category-item {
        width: 50%;
        padding: 3px;
    }

    main .container .block2 .category-item {
        width: 100%;
        padding: 3px;
    }
    
    main .container .category-item .text-content .text {
        font-size: 25px;
    }

    main .container .product-block-wrap {
        width: 100%;        
    }

    main .container .product-block-wrap .product-wrap {
        margin: 0 -5px;
    }

    main .container .product-item {
        width: 50%;
        padding: 3px;
    }
    
    footer {
        padding: 20px;
    }

    footer .container {
        display: block;
    }

    footer .container .item:not(:first-child) {
        margin-top: 20px;
    }

    footer .container .item img {
        width: unset;
        max-width: 100%;
        margin: 0 -10px;
    }

    footer .copyright {
        font-size: 12px;
    }
}