@use '../../utils' as *;

/*----------------------------------------*/
/*  8.16 Shop CSS
/*----------------------------------------*/


.#{$theme-prifix}-shop-top{
    position: relative;
    &-select{
        & .nice-select{
            background-color: #F9F9F9;
            border: 1px solid rgba($color: $black, $alpha: .1);
            border-radius: 0;
            font-size: 14px;
            color: var(--tp-common-black);
            height: 40px;
            line-height: 38px;
            padding: 0 25px;
            min-width: 204px;
            display: inline-block;
            float: none;

            @media #{$xs}{
                max-width: 280px;
            }
            &::after{
                right: 20px;
                color: #767A7D;
            }

            &.open{
                & .list{
                    @include transform(scale(1) translateY(0px));
                }
            }

            & .list{
                margin-top: 0;
                border-radius: 0;
                transform-origin: center center;
                @include transform(scale(.9) translateY(0px));
                width: 100%;
                padding: 10px 0;
                & .option{
                    line-height: 1.2;
                    min-height: inherit;
                    padding-top: 5px;
                    padding-bottom: 5px;
                }
            }
        }
    }
    &-filter{
        margin-left: 16px;
        @media #{$xs}{
            margin-left: 0;
            margin-top: 15px;
        }
    }
    &-result{
        & p{
            font-weight: 400;
            font-size: 16px;
            color: #818487;
            margin-bottom: 0;
        }
    }
    &-tab{
        margin-right: 22px;
        @media #{$xs}{
            margin-right: 10px;
        }
        & .nav-tabs{
            & .nav-item{
                & .nav-link{
                    display: inline-block;
                    width: 40px;
                    height: 40px;
                    line-height: 38px;
                    text-align: center;
                    font-size: 18px;
                    color: #818487;
                    border: 1px solid rgba($color: $black, $alpha: .1);
                    border-radius: 0;
                    margin-right: 6px;
                    & svg{
                        @extend %tp-svg-y-2;
                    }
                    &.active{
                        color: var(--tp-common-black);
                        border-color: var(--tp-common-black);
                    }
                }
            }
        }
    }
    &-right{
        @media #{$sm, $xs}{
            margin-top: 30px;
        }
        &:not(.tp-shop-top-right-2){
            @media #{$lg, $md, $sm, $xs}{
                margin-top: 30px;
            }
        }
    }
}

.#{$theme-prifix}-shop{
    &-masonary{

    }
    &-main-wrapper{
        position: relative;
    }
    &-full-width-padding{
        padding-left: 80px;
        padding-right: 80px;

        @media #{$lg}{
            padding-left: 40px;
            padding-right: 40px;
        }
        @media #{$md, $sm, $xs}{
            padding-left: 0;
            padding-right: 0;
        }
    }
}

.#{$theme-prifix}-shop-item-primary{
    .tp-product-tag-2 a:hover,
    .tp-product-title-2 a:hover {
        color: var(--tp-theme-primary);
    }
    .tp-product-tag-2 a::after {
        background-color: var(--tp-theme-primary);
    }
}




@media (min-width: 1400px){
    .container-shop{
        max-width: 1630px;
    }
}


.btn-loadmore-text{
    display: none;
    font-size: 16px;
    text-align: center;
}