.home {
    width: 100%;
    background: #F6F6F6;
}
.home .banner {
    width: 100%;
    position: relative;
    margin-top: 90px;
}
.home .banner img {
    width: 100%;
    display: block;
    object-fit: cover;
    min-height: 240px;
}
.home .banner .text {
    position: absolute;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 90%;
    text-align: center;
}
.home .banner .text .p1 {
    color: #081842;
    font-size: 34px;
}
.home .banner .text .des {
    color: #38393B;
    font-size: 18px;
    line-height: 1.8;
    margin: 10px 0;
}
.home .banner .text a {
    width: 107px;
    background: #1583E1;
    border-radius: 3px;
    text-align: center;
    line-height: 40px;
    color: white;
    display: inline-block;
}
.home .main {
    width: 80%;
    margin: 30px auto;
}
.home .main .most .pt {
    color: #333333;
    font-size: 24px;
}
.home .main .most .allPros {
    margin: 30px auto;
    position: relative;
}
.home .main .most .allPros .prev {
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    outline: none;
}
.home .main .most .allPros .next {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    outline: none;
}
.home .main .most .allPros .swiper-container {
    width: 100%;
}
.home .main .most .allPros .swiper-container .swiper-wrapper .swiper-slide a {
    display: block;
    border: 1px solid #E0E0E0;
    background: white;
    border-radius: 10px;
    padding: 0 10px;
}
.home .main .most .allPros .swiper-container .swiper-wrapper .swiper-slide a .pic {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.home .main .most .allPros .swiper-container .swiper-wrapper .swiper-slide a .pic img {
    max-width: 100%;
    max-height: 250px;
    vertical-align: middle;
    object-fit: contain;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.home .main .most .allPros .swiper-container .swiper-wrapper .swiper-slide a .t {
    color: #333333;
    font-size: 15px;
    margin: 10px 0;
    line-height: 1.6;
    word-break: break-all;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.home .main .most .allPros .swiper-container .swiper-wrapper .swiper-slide a .price {
    display: flex;
    align-items: center;
}
.home .main .most .allPros .swiper-container .swiper-wrapper .swiper-slide a .price p:nth-child(1) {
    color: #333333;
    font-size: 18px;
}
.home .main .most .allPros .swiper-container .swiper-wrapper .swiper-slide a .price p:nth-child(2) {
    color: #7B7B7B;
    text-decoration: line-through;
    margin: 0 8px;
    font-size: 12px;
}
.home .main .most .allPros .swiper-container .swiper-wrapper .swiper-slide a .ly {
    color: #999999;
    font-size: 12px;
    margin: 20px 0;
}
.home .main .new {
    background: #1583E1;
    padding: 30px;
    display: flex;
    justify-content: space-between;
}
.home .main .new .l {
    width: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.home .main .new .l .pt {
    color: #FFFFFF;
    font-size: 24px;
}
.home .main .new .l a {
    width: 120px;
    height: 41px;
    border: 1px solid #F5F6FA;
    border-radius: 10px;
    font-size: 14px;
    display: block;
    text-align: center;
    line-height: 41px;
    color: white;
}
.home .main .new .r {
    width: calc(100% - 200px);
}
.home .main .new .r .sw1, .home .main .new .r .sw2 {
    width: 100%;
}
.home .main .new .r .sw1 .swiper-container, .home .main .new .r .sw2 .swiper-container {
    width: 100%;
}
.home .main .new .r .sw1 .swiper-container .swiper-wrapper .swiper-slide .item, .home .main .new .r .sw2 .swiper-container .swiper-wrapper .swiper-slide .item {
    display: flex;
    justify-content: space-between;
    background: white;
    border-radius: 10px;
    width: calc(100% - 20px);
    padding: 10px;
}
.home .main .new .r .sw1 .swiper-container .swiper-wrapper .swiper-slide .item .pic, .home .main .new .r .sw2 .swiper-container .swiper-wrapper .swiper-slide .item .pic {
    width: 55px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.home .main .new .r .sw1 .swiper-container .swiper-wrapper .swiper-slide .item .pic img, .home .main .new .r .sw2 .swiper-container .swiper-wrapper .swiper-slide .item .pic img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}
.home .main .new .r .sw1 .swiper-container .swiper-wrapper .swiper-slide .item .text, .home .main .new .r .sw2 .swiper-container .swiper-wrapper .swiper-slide .item .text {
    width: calc(98% - 55px);
}
.home .main .new .r .sw1 .swiper-container .swiper-wrapper .swiper-slide .item .text .t, .home .main .new .r .sw2 .swiper-container .swiper-wrapper .swiper-slide .item .text .t {
    color: #333333;
    font-size: 14px;
    margin: 10px 0;
    line-height: 1.6;
    word-break: break-all;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.home .main .new .r .sw1 .swiper-container .swiper-wrapper .swiper-slide .item .text .price, .home .main .new .r .sw2 .swiper-container .swiper-wrapper .swiper-slide .item .text .price {
    display: flex;
    align-items: center;
}
.home .main .new .r .sw1 .swiper-container .swiper-wrapper .swiper-slide .item .text .price p:nth-child(1), .home .main .new .r .sw2 .swiper-container .swiper-wrapper .swiper-slide .item .text .price p:nth-child(1) {
    color: #333333;
    font-size: 18px;
}
.home .main .new .r .sw1 .swiper-container .swiper-wrapper .swiper-slide .item .text .price p:nth-child(2), .home .main .new .r .sw2 .swiper-container .swiper-wrapper .swiper-slide .item .text .price p:nth-child(2) {
    color: #7B7B7B;
    text-decoration: line-through;
    margin: 0 8px;
    font-size: 12px;
}
.home .main .new .r .sw1 .swiper-container .swiper-wrapper .swiper-slide .item .text .ly, .home .main .new .r .sw2 .swiper-container .swiper-wrapper .swiper-slide .item .text .ly {
    color: #999999;
    font-size: 12px;
    margin: 10px 0;
}
.home .main .new .r .sw2 {
    margin-top: 10px;
}
.home .main .category {
    padding: 20px 10px;
    display: flex;
    justify-content: space-between;
    background: white;
    align-items: center;
    margin: 20px 0;
}
.home .main .category .t {
    width: 160px;
}
.home .main .category .types {
    width: calc(100% - 160px);
}
.home .main .category .types .scroll {
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
}
.home .main .category .types .scroll a {
    display: inline-block;
    color: #666666;
    font-size: 14px;
    margin-right: 20px;
}
.home .main .category .types .scroll .active {
    color: #1583E1;
}
.home .main .section {
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.home .main .section .l {
    width: calc(100% - 316px);
}
.home .main .section .l .s1 {
    display: flex;
    flex-wrap: wrap;
}
.home .main .section .l .s1 a {
    display: block;
    border: 1px solid #E0E0E0;
    background: white;
    border-radius: 10px;
    width: calc(18.8% - 16px);
    padding: 0 8px;
    margin-right: 1%;
    margin-bottom: 10px;
}
.home .main .section .l .s1 a .pic {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.home .main .section .l .s1 a .pic img {
    max-width: 100%;
    max-height:180px;
    vertical-align: middle;
    object-fit: contain;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.home .main .section .l .s1 a .t {
    color: #333333;
    font-size: 15px;
    margin: 10px 0;
    line-height: 1.6;
    word-break: break-all;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.home .main .section .l .s1 a .price {
    display: flex;
    align-items: center;
}
.home .main .section .l .s1 a .price p:nth-child(1) {
    color: #333333;
    font-size: 18px;
}
.home .main .section .l .s1 a .price p:nth-child(2) {
    color: #7B7B7B;
    text-decoration: line-through;
    margin: 0 8px;
    font-size: 12px;
}
.home .main .section .l .s1 a .ly {
    color: #999999;
    font-size: 12px;
    margin: 20px 0;
}
.home .main .section .l .bg1, .home .main .section .l .bg2 {
    width: 99%;
    margin: 20px 0;
    position: relative;
}
.home .main .section .l .bg1 .swiper-container, .home .main .section .l .bg2 .swiper-container {
    width: 100%;
}
.home .main .section .l .bg1 .swiper-container .swiper-wrapper .swiper-slide .item, .home .main .section .l .bg2 .swiper-container .swiper-wrapper .swiper-slide .item {
    display: block;
}
.home .main .section .l .bg1 .swiper-container .swiper-wrapper .swiper-slide .item img, .home .main .section .l .bg2 .swiper-container .swiper-wrapper .swiper-slide .item img {
    width: 100%;
    display: block;
    object-fit: cover;
}
.home .main .section .l .bg1 .close, .home .main .section .l .bg2 .close {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 10;
    cursor: pointer;
}
.home .main .section .l .bg1 .close img, .home .main .section .l .bg2 .close img {
    width: 20px;
}
.home .main .section .l .bg1 .swiper-pagination, .home .main .section .l .bg2 .swiper-pagination {
    position: absolute;
    right: 10px;
    bottom: 5px;
}
.home .main .section .l .bg1 .swiper-pagination .swiper-pagination-bullet, .home .main .section .l .bg2 .swiper-pagination .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    background: white;
    opacity: 1;
    margin-left: 5px;
}
.home .main .section .l .bg1 .swiper-pagination .swiper-pagination-bullet-active, .home .main .section .l .bg2 .swiper-pagination .swiper-pagination-bullet-active {
    width: 20px;
    border-radius: 20px;
}
.home .main .section .r {
    width: 316px;
}
.home .main .section .r .item {
    margin-bottom: 10px;
    display: block;
    position: relative;
}
.home .main .section .r .item .close {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 10;
    cursor: pointer;
}
.home .main .section .r .item .close img {
    width: 20px;
}
.home .main .section .r .item a {
    display: block;
}
.home .main .section .r .item a img {
    width: 100%;
    display: block;
    object-fit: cover;
}
@media screen and (max-width: 1440px) {
    .home .main {
        width: 90%;
    }
    .home .main .section .l .s1 a {
        margin-right: 0.8%;
    }
    .home .main .section .l .s1 a .pic {
        height: 150px;
    }
}
@media screen and (max-width: 1200px) {
    .home .banner {
        margin-top: 60px;
    }
    .home .banner .text .p1 {
        font-size: 20px;
    }
    .home .banner .text .des {
        font-size: 16px;
        line-height: 1.6;
    }
    .home .main .most .allPros {
        margin: 15px auto;
    }
    .home .main .most .allPros .swiper-container .swiper-wrapper .swiper-slide a .pic {
        max-height: 150px;
    }
    .home .main .new {
        padding: 15px;
        flex-direction: column;
    }
    .home .main .new .l {
        width: 100%;
    }
    .home .main .new .l a {
        margin-top: 15px;
    }
    .home .main .new .r {
        width: 100%;
        margin-top: 15px;
    }
    .home .main .category {
        margin: 10px 0;
    }
    .home .main .section .l {
        width: 100%;
    }
    .home .main .section .l .s1 {
        justify-content: space-between;
    }
    .home .main .section .l .s1 a {
        width: calc(49% - 16px);
        margin-right: 0;
        margin-bottom: 5px;
    }
    .home .main .section .l .bg1, .home .main .section .l .bg2 {
        margin: 10px auto;
    }
    .home .main .section .r {
        display: none;
    }
}

