

/*===========================
     24.Cart Page css 
===========================*/

.cart-page{}

.shopping-cart{}

.shopping-cart-table{
    margin-top: 30px;
    
    & .table{
        margin-bottom: 0;
        
        & thead{
            & tr{
                & th{
                    padding: 8px 15px;
                    border: 1px solid $border-color;
                    font-size: 16px;
                    font-weight: 500;
                    color: $black;
                    
                    &.image{}
                    &.product{
                        min-width: 242px;
                    }
                    &.price{}
                    &.quantity{}
                    &.total{}
                    &.delete{}
                }
            }
        }
        & tbody{
            & tr{
                & td{
                    border: 1px solid $border-color;
                    vertical-align: middle;
                    
                    & .product-image{}
                    & .product-title{
                        & .title{
                            & a{
                                font-size: 16px;
                                font-weight: 500;
                                color: $black;
                                
                                @media #{$md}{
                                    font-size: 14px;
                                    line-height: 24px;;
                                }
                                @media #{$xs}{
                                    font-size: 14px;
                                    line-height: 24px;;
                                }
                            }
                        }
                    }
                    & .product-price{
                        & .price{
                            font-size: 16px;
                            color: $black;
                            
                        }
                    }
                    & .product-quantity{
                        & .quantity{
                            & input{
                                width: 60px;
                                height: 40px;
                                border: 1px solid $border-color;
                                padding: 0 10px;
                                text-align: center;
                            }
                            & button{
                                width: 40px;
                                height: 40px;
                                background-color: transparent;
                                border: 1px solid $border-color;
                            }
                        }
                    }
                    & .product-total{
                        & .total-amount{
                            font-size: 16px;
                            color: $black;
                        }
                    }
                    & .product-delete{
                        text-align: center;
                        
                        & .delete{
                            color: $black;
                            font-size: 16px;
                            padding: 0;
                            border: 0;
                            background: none;

                            &:hover{
                                color: $theme-color;
                            }
                        }
                    }
                }
            }
        }
    }
}

.cart-btn{
    border: 1px solid $border-color;
    border-top: 0;
    padding: 12px;
    
    & .main-btn{
        height: 50px;
        line-height: 50px;
        padding: 0 30px;
        font-size: 16px;
    }
}


.cart-coupon{
    border: 2px solid $border-color;
    padding: 25px 30px;
    
    @media #{$lg}{
        padding: 30px 20px;
    }
    
    & .title{
        font-size: 16px;
        font-weight: 500;
        color: #000;
        position: relative;
        padding-bottom: 15px;
        text-transform: uppercase;
        letter-spacing: 3px;
        
        &::before{
            position: absolute;
            content: '';
            background-color: $theme-color;
            width: 50px;
            height: 1px;
            bottom: 0;
            left: 0;
        }
    }
    
    & .coupon-form{
        & input{
            width: 200px;
            margin-right: 15px;
            margin-top: 15px;
        }
        & button{
            margin-top: 15px;
        }
    }
}


.cart-total{
    border: 2px solid $border-color;
    padding: 30px 30px;
    
    @media #{$lg}{
        padding: 30px 20px;
    }
    
    & .sub-total{}
    
    & .total {
        border-top: 1px solid $border-color;
        margin-top: 10px;
    }
    
    & .single-total{
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
        -webkit-box-pack: space-between;
        -ms-flex-pack: space-between;
        justify-content: space-between;
        margin-top: 10px;
        
        & .cart-value{
            color: $black;
            font-size: 16px;
            font-weight: 500;
            
            @media #{$xs}{
                font-size: 14px;
            }
            @media #{$sm}{
                font-size: 16px;
            }
        }
        & .cart-amount{
            color: $black;
            font-size: 16px;
            
            @media #{$xs}{
                font-size: 14px;
            }
            @media #{$sm}{
                font-size: 16px;
            }
        }
    }
    
    & .cart-total-btn{
        margin-top: 20px;
        
        & .main-btn{
            padding: 0 20px;
            height: 50px;
            line-height: 50px;
            letter-spacing: 0;
            
            @media #{$xs}{
                font-size: 14px;
            }
            @media #{$sm}{
                font-size: 16px;
            }
        }
    }
}




































