.nb_dokan_seller_listing{
    .dokan-seller-listing{
        align-items: center;
        > h2{
            margin-bottom: 30px;
          padding: 0 15px;
        }
        .dokan-seller-search-form{
            &.no-query{
                margin-top: 0;
            }
        }
    }
    #dokan-seller-listing-wrap{
        margin-left: 0;
        margin-right: 0;
        margin-top: 15px;
        .dokan-seller-wrap{
            @include make-row();
        }
        .pagination{
            margin-top: 15px;
            margin-bottom: 30px;
        }
    }
}
.store-ratings,
.avatar-top .store-data{
    margin-left: -10px;
    margin-right: -10px;
}
.store-data, .store-ratings{
    
    margin-bottom: 5px;
    > span{
        display: inline-block;
        padding-left: 10px;
        padding-right: 10px;
    }
    .star-rating{
        color: #ffcc35;
        font-family: "fontello";
        font-size: 14px;
        line-height: 1;
        display: inline-block;
        overflow: hidden;
        position: relative;
        height: 1em;
        
        &:before{
            content: '\e80a\e80a\e80a\e80a\e80a';
            float: left;       
            
        }
        > span{
            overflow: hidden;            
            position: absolute;
            top: 0;
            left: 0;            
            &:before{
                content: "\e809\e809\e809\e809\e809";
                
            }
        }
    }
}
.dokan-seller-listing{
    margin-bottom:90px;
    form{
        margin-top:0;
        .nb-input-group{
            position:relative;
            .search-button{
                position: absolute;
                right:0;
                button{
                    border-top-left-radius: 0;
                    border-bottom-left-radius: 0;
                }
            }
        }
    }
}
#dokan-seller-listing-wrap{
    margin-left:0;
    margin-right:0;
    .seller-listing-content{
        margin-left: -15px;
        margin-right: -15px;
    }
    .dokan-seller-wrap{
        display: flex;
        flex-wrap: wrap;
    }

    &.grid-view {
        .store-content {
            position: static;
            background: inherit;
            color: inherit;
        }
    }
}
.dokan-single-seller{
    position: relative;
    .store-wrapper{
        margin-bottom: 30px !important;
    }
    .store-wrapper{
        .store-content{
            .seller-avatar{
                text-align: center;
                .seller-avatar-i{
                    display: inline-block;
                    padding: 7px;
                    border-radius: 50%;
                    background-color: #fff;
                    box-shadow: -1px 0px 9px 1px rgba(0, 0, 0, 0.15);
                    img  {
                        border-radius: 50%;
                        display: block;
                    }
                }
            }
            .store-name{
                font-weight: bold;
                margin-bottom: 7px;
                a{
                    text-transform: capitalize;
                }
            }
            .store-data{
                h2{
                    a{
                        text-transform: capitalize;
                    }
                }
            }
            .store-lnk{
                padding-top: 7px;
                margin-bottom: 15px !important;
            }
            i.fa{
                font-size: 16px; position: absolute; left: 0; top:1px;
            }
            .store-address,
            .store-phone{
                position: relative;
                padding-left: 24px;
                margin-bottom: 7px;
                [class^="icon-"],
                [class*=" icon-"]{
                    position: absolute;
                    left: 0;
                    &:before{
                        margin-left: 0;
                        margin-right: .4em;
                    }
                }
            }
        }
    }

    .featured-label {
        position: absolute;
        top: -7px;
        right: -8px;
        background: url(../../images/featured-icon.png) no-repeat;
        height: 72px;
        width: 72px;

        span {
            display: block;
            color: #fff;
            transform: rotate(46deg);
            position: absolute;
            top: 19px;
            right: 0;
        }
    }

    &.store_default{
        .store-content {
            .store-info{
                background-size: 100% 100%;
                background-repeat: no-repeat;
                background-position: 0 50%;
                height: 220px;
                position: relative;
                .store-data-container{
                    height: 100%;
                    background-color: rgba(0, 0, 0, 0.45);
                }
                .featured-favourite{
                    padding: 20px 20px 10px;
                    overflow: hidden;
                }
                .store-data{
                    padding: 0px 20px;
                    h2{
                        a{
                            color: #FFF;
                            text-shadow: rgba(0, 0, 0, 0.8) 0 1px 0;
                        }
                    }
                    p{
                        margin-bottom: 2px;
                        color: #FFF;
                        text-shadow: rgba(0, 0, 0, 0.8) 0 1px 0;
                        &.store-address{
                            line-height:23px;
                        }
                    }
                    i.fa{
                        top:3px;
                    }
                }
            }
        }
        .store-footer{
            background: #f7fbfc;
            position: relative;
            padding: 15px 20px;
            border-top: 1px solid #eee;
            .seller-avatar{
                padding: 6px;
                background: #fff;
                position: absolute;
                width: 80px;
                height: 80px;
                top: -40px;
                right: 20px;
                border-radius: 40px;
                box-shadow: 0px 0px 30px -6px #afafaf;
                img{
                    width: 100%;
                    height: 100%;
                    border-radius: 40px;
                }
            }
        }
    }
    
    &.store_style-1{
        .store-wrapper{
            background-color: #fff;
            border-width: 1px;
            border-style: solid;
            border-radius: 5px;
            .store-content{
                padding: 15px;
                .store-info{
                    display: flex;
                    padding-top: 15px;
                    .seller-avatar{
                        flex: 0 1 auto;
                        padding-right: 15px;
                    }
                    .store-data{
                        flex: 1;  
                        i.fa{
                            top:3px;
                        }                      
                    }
                }
            }
        }
    }
    &.store_style-2{
        .store-wrapper{
            background-color: #f5f5f5;
            border-radius: 5px;
            margin-top: 45px;
            .store-content{
                padding: 15px;
                .store-info{
                    .seller-avatar{
                        margin-top: -60px;
                        margin-bottom: 15px;
                    }
                    .store-data{                        
                        .store-name{
                            text-align: center;
                        }
                        .store-ratings{
                            text-align: center;
                        }
                        .store-lnk{
                            text-align: center;
                        }
                    }
                }
            }
        }
    }
    &.store_style-3{
        .store-wrapper{
            background-color: #f5f5f5;
            border-radius: 5px;
            .store-content{
                padding: 15px;
                .store-info{
                    display: flex;
                    flex-wrap: wrap;
                    padding-top: 15px;
                    .seller-avatar{
                        flex: 0 1 auto;
                        padding-right: 15px;
                    }
                    .store-header{
                        flex: 1;                        
                    }
                    .store-data{
                        flex: 0 1 100%; 
                        margin-top: 15px;
                        .store-data-i{
                            // @include make-row();
                            display: flex;
                            flex-wrap: wrap;
                            > div{
                                @include make-col-ready();
                                @include make-col(12);
                                &.store-phone,
                                &.store-lnk{
                                    @include make-col(6);
                                }
                                &.store-address,
                                &.store-phone{
                                    padding-left: 20px;
                                    [class^="icon-"],
                                    [class*=" icon-"]{
                                        left: 15px;
                                    }
                                }
                            }
                            i.fa{
                                top: 3px;
                            }
                        }
                    }
                    .store-lnk{
                        font-weight: bold;
                        text-align: right;
                        padding-top: 0;
                        margin-left: auto;
                    }
                }
            }
        }
    }
}
@media (max-width:991px){
    #dokan-seller-listing-wrap {
        ul.dokan-seller-wrap {
            li.coloum-3{
                width:50%;
            }
        }
        .pagination-container {
            .pagination-wrap{
                margin-bottom:0;
            }
        }
    }
}