.allSellerIndex{
    background: white;
    padding: 3rem 0;
    border-right: 2px solid $border1;
    border-left: 2px solid $border1;
    .width{
        margin: auto;
        .title{
            display: flex;
            justify-content: space-between;
            align-items: center;
            grid-gap: 1rem;
            margin-bottom: 1rem;
            .name{
                display: flex;
                align-items: center;
                gap: .5rem;
                font-size: 1.5rem;
                font-weight: 900;
                color: black;
                i{
                    display: grid;
                    align-items: center;
                    svg{
                        width: 1.5rem;
                        height: 1.5rem;
                        fill: black;
                    }
                }
            }
            a{
                display: flex;
                align-items: center;
                gap: .5rem;
                font-size: 1rem;
                font-weight: 700;
                border: 1px solid $green;
                color: $green;
                padding: .5rem;
                border-radius: 5px;
                transition: all .3s ease-in-out;
                i{
                    display: grid;
                    align-items: center;
                    svg{
                        transition: all .3s ease-in-out;
                        width: 1.2rem;
                        height: 1.2rem;
                        fill: $green;
                    }
                }
                &:hover{
                    color: white;
                    background: $green;
                    i{
                        svg{
                            fill: white;
                        }
                    }
                }
            }
        }
        .sellerSwiper1{
            .sellerItem{
                border: 2px solid $border1;
                border-radius: 10px;
                background: #eee;
                padding: 1rem;
                .title2{
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    border-bottom: 2px solid $border1;
                    margin-bottom: 1rem;
                    .profile{
                        display: flex;
                        align-items: center;
                        gap: .5rem;
                        .pic{
                            img{
                                height: 4rem;
                                max-width: 5rem;
                                object-fit: contain;
                            }
                        }
                        .detail{
                            .name{
                                font-size: 1.3rem;
                                font-weight: 900;
                                color: $text2;
                            }
                        }
                    }
                    .more{
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        gap: .5rem;
                        font-size: 1rem;
                        font-weight: 500;
                        background: white;
                        color: $text2;
                        padding: .5rem;
                        border-radius: 5px;
                        border: 1px solid #bbb;
                        i{
                            display: grid;
                            align-items: center;
                            svg{
                                width: 1.2rem;
                                height: 1.2rem;
                                fill: $text2;
                            }
                        }
                    }
                }
                .sellerSwiper2{
                    a{
                        display: grid;
                        padding: .5rem;
                        background: white;
                        border: 2px solid $border1;
                        border-radius: 10px;
                        .pic{
                            display: grid;
                            justify-content: center;
                            padding: 1rem;
                            height: 14rem;
                            overflow: hidden;
                            position: relative;
                            z-index: 1;
                            img{
                                height: 12rem;
                                transition: all .3s ease-in-out;
                                object-fit: contain;
                                position: relative;
                                z-index: 2;
                            }
                            &:before{
                                opacity: 0;
                                position: absolute;
                                bottom: 0;
                                right: 0;
                                left: 0;
                                z-index: 3;
                                padding: .2rem 0;
                                text-align: center;
                                content: "خرید محصول";
                                background: $green;
                                color: white;
                                border-radius: 5px;
                                transition: all .3s ease-in-out;
                            }
                        }
                        .title3{
                            text-align: center;
                            font-size: 1rem;
                            font-weight: 500;
                            color: $text2;
                            margin: .5rem 0;
                            white-space: pre-line;
                            display: -webkit-box;
                            -webkit-box-orient: vertical;
                            box-orient: vertical;
                            -webkit-box-orient: vertical;
                            line-clamp: 1;
                            -webkit-line-clamp: 1;
                            overflow: hidden;
                            text-overflow: ellipsis;
                        }
                        .price{
                            text-align: center;
                            font-size: 1rem;
                            font-weight: 700;
                            color: black;
                        }
                        &:hover{
                            .pic{
                                img{
                                    transform: scale(1.2);
                                }
                                &:before{
                                    opacity: 1;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
