.banner {
    margin-top: 1.4rem;
    height: 4.6rem;
    position: relative;
}

.banner img {
    display: block;
    width: 100%;
    height: 100%;
}

.products-search-wrap {
    display: flex;
    align-items: center;
    padding: .6rem 0;
}

.left {
    width: 2.8rem;
    font-size: .34rem;
    font-family: SourceHanSansCN;
    font-weight: 400;
    color: #333333;
    line-height: .4rem;
    margin-right: .1rem;
}

.products-search-wrap select {
    display: block;
    width: 3rem;
    height: .5rem;
    padding: 0 .2rem;
    border: 1px solid #333333;
}

.products-search-wrap .icon-sousuo {
    left: 0;
}

.search-input,
.filters {
    position: relative;
    display: flex;
    align-items: center;
    width: 3rem;
    height: .5rem;
    padding: 0 0.2rem;
    border: 1px solid #333333;

}

.search-input input,
.filters input {
    display: block;
    width: 100%;
    height: 100%;
}

.filters {
    width: 2.2rem;
    cursor: pointer;
    justify-content: space-between;
    margin-right: .2rem;
}

.filters-name,
.sort-name {
    font-size: .18rem;
    font-family: SourceHanSansCN;
    font-weight: 500;
    color: #333333;
}

.filters .iconfont {
    font-size: .25rem;
}

.icon-yanjing-kai {
    display: none;
}

.eye {
    display: block;
    width: .33rem;
    height: .28rem;
    position: absolute;
    top: 50%;
    right: .2rem;
    transform: translateY(-50%);
}

.box-con {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
}

input::placeholder {
    color: #333333 !important;
}

.sort {
    position: relative;
    width: 2.5rem;
    height: .5rem;
    line-height: .5rem;
    padding: 0 0.2rem;
    margin-right: .2rem;
    border: 1px solid #333333;
}

.sort-name {
    cursor: pointer;
}

.sort-ul {
    display: none;
    position: absolute;
    top: .5rem;
    left: 0;
    width: 100%;
    border: 1px solid #333333;
    z-index: 99;

    background: #ffffff;
}

.sort-ul li {
    display: block;
    width: 100%;
    padding: 0 0.2rem;
    font-size: .16rem;
    font-family: SourceHanSansCN;
    font-weight: 500;
    color: #333333;
    cursor: pointer;
}

.sort-ul li:hover {
    color: #ffffff;
    background: #e60808;
}

.sort-box {
    padding: 0 .2rem .8rem 0;
    border-top: 1px solid #BBBBBB;
}

.sort-box select {
    display: block;
    width: 100%;
    height: .85rem;
    border: none;
    border-bottom: 1px solid #BBBBBB;
}

.sort-box .sort-item {
    display: block;
    width: 100%;
    border-bottom: 1px solid #BBBBBB;
}

.sort-item-name {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: .85rem;
    font-size: .2rem;
    line-height: .85rem;
    cursor: pointer;
}

.li-color-item .sort-item-name {
    height: .65rem;
    padding-left: .2rem;
    box-sizing: border-box;
}

.li-color-item .sort-item-ul {
    padding-left: .2rem;
}

.icon-xiangshang1 {
    display: none;
}

.sort-item-ul {
    display: none;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    padding-bottom: .2rem;
}


.li-color-item {
    /* width: 0.8rem; */
    padding: .03rem;
    font-size: 0.18rem;
    font-family: SourceHanSansCN;
    font-weight: 500;
    color: #666666;
    text-align: center;
    line-height: 0.3rem;
    cursor: pointer;
}

.li-color-item.top {
    width: 100%;
}

.sort-item-ul.theme {
    display: none;
    align-items: center;
    justify-content: flex-start;
}

.theme li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: .6rem;
    padding: 0 .2rem;
    font-size: .18rem;
}

.theme li input {
    display: block;
    width: .2rem;
    height: .2rem;
    margin-right: .05rem;
}

.li-color-item.active .color-box {
    border-radius: 50%;
    border: 1px solid #121212;
}

.top .sort-item-name.active {
    color: #ffffff;
    background: #e60808;
}

.category-item.active {
    color: #ffffff;
    background: #e60808;
}

.color-box {
    width: 0.49rem;
    height: 0.49rem;
    padding: .03rem;
    border: 1px solid transparent;
}

.color {
    display: block;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
}

.clear-btn {
    font-size: 0.18rem;
    height: 0.4rem;
    font-size: 0.18rem;
    font-family: SourceHanSansCN;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    line-height: 0.4rem;
    /* padding: .15rem; */
    margin: .3rem auto;
    /* opacity: 0; */
    cursor: pointer;
    background: #e60808;
    border-radius: 4px;
}

.products-list-con {
    display: flex;
    padding-bottom: 1rem;
}

.products-list {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
}

.one-product {
    position: relative;
    width: 3.5rem;
    height: 5.8rem;
    margin: 0 .2rem .2rem 0;
    box-shadow: 0px 6px 12px 0px rgba(63, 63, 63, 0.06);
}

.one-product img {
    display: block;
    width: 100%;
    height: 3.95rem;
}

.products-list.active .one-product:nth-child(3n) {
    margin: 0 .2rem .2rem 0;
}

.products-list.active .one-product:nth-child(4n) {
    margin-right: 0;
}

.products-list.active .one-product {
    width: 3.3rem;
}

.one-product:nth-child(3n) {
    margin-right: 0;
}

.one-product-msg {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    /* height: 2.5rem; */
    padding: 0.3rem 0.5rem;
    text-align: center;
    background: #ffffff;
}

.one-product-title {
    font-size: 0.26rem;
    font-family: SourceHanSansCN;
    font-weight: bold;
    color: #333333;
    line-height: 0.36rem;
}

.title-line {
    width: 0.9rem;
    height: 2px;
    margin: 0.15rem auto;
    background: #e60808;
}

.one-product-desc {
    font-size: 0.18rem;
    font-family: SourceHanSansCN;
    font-weight: 500;
    color: #666666;
    line-height: 0.3rem;
}

.product-view-btn {
    display: none;
    font-size: 0.18rem;
    width: 1.7rem;
    height: 0.4rem;
    font-size: 0.18rem;
    font-family: SourceHanSansCN;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    line-height: 0.4rem;
    /* padding: .15rem; */
    margin: .3rem auto;
    /* opacity: 0; */
    cursor: pointer;
    background: #e60808;
    border-radius: 4px;
}

.product-view-btn:hover {
    color: #ffffff;
}

.one-product:hover .product-view-btn {
    display: block;
}


.one-product:hover .one-product-msg {
    animation-direction: alternate;
    animation: watchProduct 1s linear;
    animation-fill-mode: forwards;
}
.b-flex-box{
    flex: 1;
}
.read-more {
    display: block;
    font-size: .22rem;
    font-family: SourceHanSansCN;
    font-weight: 500;
    color: #333333;
    text-align: center;
    width: 100%;
    line-height: .36rem;
    margin: .5rem auto 0;
    cursor: pointer;
    background-color: #fff;
    color: #333333;
    fill: #333333;;
    border: 2px solid #333333;
}
.read-more:hover {
    background-color: #333333;
    color: #fff;
    fill: #fff;
    border: 2px solid #333333;
    box-shadow: -4px 4px #12121240;
}

@keyframes watchProduct {
    from {
        height: 1.7rem;
    }

    to {
        height: 2.5rem;
    }
}

/* .product-view-btn:hover {
    display: none;
} */



.one-product:hover .product-view-btn {
    animation-direction: alternate;
    animation: elBlock 2.5s ease;
    animation-fill-mode: forwards;
}

@keyframes elBlock {
    0% {
        opacity: 0;
    }

    15% {
        opacity: 0;
    }

    35% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.5;
    }

    65% {
        opacity: 0.6;
    }

    85% {
        opacity: 0.8;
    }

    100% {
        opacity: 1;
    }
}

@media screen and (max-width: 769px) {
    .products-con {
        padding: 0.25rem;
    }

    .box-con,
    .products-search-wrap {
        display: block !important;
    }


    .filters,
    .sort,
    .search-input {
        margin-bottom: .2rem;
    }
    .sort-item-name{
        line-height: .3rem;
    }
}