


/*===========================
    06.ADS PRODUCT css 
===========================*/


.single-ads-product{
    background-color: $white;
    border-radius: 5px;
    overflow: hidden;
    @include box-shadow (0px 5px 30px 0px rgba($black-soft, 0.07));
    
    & .product-image{
        position: relative;
        overflow: hidden;
        position: relative;
        
        & img{
            width: 100%;
            @include transition(0.3s);
        }
        
        & .stacker{
            position: absolute;
            top: 10px;
            left: 10px;
            background-color: #f85c70;
            color: $white;
            font-size: 13px;
            padding: 0 10px;
            border-radius: 3px;
            font-weight: 600;
        }
    }
    & .product-content{
        padding: 15px 20px;
        border-top: 1px solid $border-color;
        
        & .sub-title{
            font-size: 14px;
            font-weight: 600;
            color: $theme-color-2;
        }
        & .main-title{
            & a{
                font-size: 16px;
                font-weight: 400;
								color: $black-soft;
                margin-top: 5px;
								@include transition(0.3s);
                
                &:hover{
                    color: $theme-color-2;
                }
            }
        }
        & .location{
            font-size: 14px;
            margin-top: 10px;
        }
        & .price-rating{
            & .price{
                font-size: 16px;
                color: $heading-color;
                font-family: $font-2;
                margin-top: 15px;
            }
            & .rating{
                margin-top: 15px;
                
                & li{
                    display: inline-block;
                    font-size: 14px;
                    color: #ccc;
                }
            }
        }
        & .main-btn{
            margin-top: 15px;
            width: 100%;
            border: 1px solid $border-color;
            color: $body-color;
            font-weight: 600;
            
            &:hover{
                background-color: $theme-color-2;
                border-color: $theme-color-2;
                color: $white;
            }
        }
    }
    
    &:hover{
        & .product-image{
            & img{
                @include transform(scale(1.1));
            }
        }
    }
    
    &.ads-product-2{
        & .product-content{
            & .main-title{
                & a{
                    &:hover{
                        color: $theme-color;
                    }
                }
            }
            & .main-btn{
                &:hover{
                    background-color: $theme-color;
                    border-color: $theme-color;
                }
            }
        }
    }
    
    &.ads-product-3{
        & .product-content{
            & .main-title{
                & a{
                    &:hover{
                        color: $theme-color-3;
                    }
                }
            }
            & .main-btn{
                &:hover{
                    background-color: $theme-color-3;
                    border-color: $theme-color-3;
                }
            }
        }
    }
    
    &.ads-product-4{
        & .product-content{
            & .main-title{
                & a{
                    &:hover{
                        color: $theme-color-5;
                    }
                }
            }
            & .main-btn{
                &:hover{
                    background-color: $theme-color-5;
                    border-color: $theme-color-5;
                }
            }
        }
    }
    
    &.ads-product-5{
        & .product-content{
            & .main-title{
                & a{
                    &:hover{
                        color: $theme-color-7;
                    }
                }
            }
            & .main-btn{
                &:hover{
                    background-color: $theme-color-7;
                    border-color: $theme-color-7;
                }
            }
        }
    }
}


.ads-product-list{
    & .product-image{
        width: 50%;
        
        @media #{$xs}{
            width: 100%;
        }
        @media #{$sm}{
            width: 50%;
        }
        
        & img{
            width: 100%;
            height: 100%;
        }
    }
    & .product-content{
        border-top: 0;
        border-left: 1px solid $border-color;
        width: 50%;
        
        @media #{$xs}{
            width: 100%;
            border-top: 1px solid $border-color;
            border-left: 0;
        }
        @media #{$sm}{
            width: 50%;
            border-top: 0;
            border-left: 1px solid $border-color;
        }
    }
}

















