.allProductList{
    margin: auto;
    border-radius: 10px;
    overflow: hidden;
    background: white;
    padding: 1rem;
    .title1{
        font-size: 1.5rem;
        font-weight: 700;
        color: $text1;
    }
    .swiper{
        margin-top: 1rem;
        a{
            display: grid;
            border: 2px solid $border1;
            border-radius: 10px;
            padding: 1rem;
            .timer{
                margin-bottom: 1rem;
                border-radius: 5px;
                position: relative;
                overflow: hidden;
                height: 5px;
                &:before{
                    height: 5px;
                    background: #f5f5f5;
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    right: 0;
                    content: "";
                    box-sizing: inherit;
                }
                &:after{
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    width: 0;
                    height: 5px;
                    background: linear-gradient(90deg, #f5f5f5, $green);
                    content: "";
                    transition: all 11s ease-in-out;
                    box-shadow: 0 0 5px rgba(255,0,0,.1);
                }
            }
            .momentPic{
                transition: all .5s ease-in-out;
                img{
                    width: 100%;
                    height: 14rem;
                    object-fit: contain;
                }
            }
            .title2{
                font-size: .9rem;
                font-weight: 500;
                color: $text1;
                margin: 1rem 0;
                overflow: hidden;
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                text-overflow: ellipsis;
                height: 3rem;
            }
            .price1{
                display: flex;
                justify-content: left;
                align-items: center;
                grid-gap: .2rem;
                font-size: 1.2rem;
                font-weight: 700;
                color: $text1;
                transition: all .3s ease-in-out;
                &:after{
                    content: "\F06C\00FE0E";
                    display: -webkit-box;
                    display: -ms-flexbox;
                    display: flex;
                    -webkit-box-align: center;
                    -ms-flex-align: center;
                    align-items: center;
                    -webkit-box-pack: center;
                    -ms-flex-pack: center;
                    justify-content: center;
                    font-weight: 400;
                    letter-spacing: normal;
                    font-family: digikala;
                    font-size: 1.1rem;
                    -webkit-font-smoothing: antialiased;
                    -moz-osx-font-smoothing: grayscale;
                    font-style: normal;
                    font-variant: normal;
                    font-weight: 400;
                    text-decoration: none;
                    text-transform: none;
                    line-height: 1;
                    box-sizing: inherit;
                }
            }
            .addCart{
                display: grid;
                grid-template-columns: auto 1fr;
                align-items: center;
                grid-gap: .5rem;
                font-size: .9rem;
                font-weight: 700;
                color: $text1;
                background: #f5f5f5;
                border-radius: 5px;
                margin-top: 1rem;
                i{
                    padding: .8rem;
                    border-radius: 5px;
                    background: $green;
                    display: grid;
                    align-items: center;
                    justify-content: center;
                    svg{
                        width: 1rem;
                        height: 1rem;
                        fill: white;
                    }
                }
            }
            &:hover{
                border: 2px solid $green;
                .price1{
                    color: $green;
                }
            }
        }
        .swiper-button-next,.swiper-button-prev{
            padding: .5rem;
            background: white;
            width: 2.5rem;
            height: 2.5rem;
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(0,0,0,.3);
            &:before,&:after{
                font-size: 1.2rem;
                color: $green;
            }
        }
    }
}
@media screen and (max-width: 800px) {
    .allProductList{
        .title1{
            font-size: 1rem;
        }
        .swiper{
            margin-top: .5rem;
            a{
                padding: .5rem;
                .timer{
                    margin-bottom: .5rem;
                }
                .momentPic{
                    img{
                        height: 10rem;
                    }
                }
                .title2{
                    font-size: .8rem;
                    margin: .5rem 0;
                    height: 2.5rem;
                }
                .price1{
                    font-size: 1rem;
                }
                .addCart{
                    font-size: .75rem;
                    margin-top: .5rem;
                    i{
                        padding: .5rem;
                    }
                }
            }
            .swiper-button-next,.swiper-button-prev{
                padding: .5rem;
                background: white;
                width: 2.5rem;
                height: 2.5rem;
                border-radius: 10px;
                box-shadow: 0 0 10px rgba(0,0,0,.3);
                &:before,&:after{
                    font-size: 1.2rem;
                    color: $green;
                }
            }
        }
    }
}
