
.header_style3{
    &.header{
        .header-cart{
            margin: 0 15px 0 0;
            .header-cart-title{
                background-image: ~"url(../images/iconcart-hover.png)";
                color: #fff;
                .header-cart-text{ 
                    .badge,
                    .items-txt{
                        color: #fff;
                    }
                }
            }
        }
    }
}

.header{
    .header-cart{
        float: right;
        margin-left: 55px;
        .header-cart-title{
            width: auto;
            height: 35px;
            padding-left: 32px;
            color: #222;
            font-size: 85.71%;
            line-height: 13px;
            position: relative;
            background-image: ~"url(../images/iconcart.png)";
            background-position: 0 center;
            background-repeat: no-repeat;             
            &:before{
                width: 100px;
                position: absolute;
                content: "";
                right: 0;
                bottom: -25px;
                height: 30px;
                background: transparent;
            }
            .header-cart-text{ 
                .title{
                    text-transform: uppercase;
                    line-height: 100%;
                    display: block;
                    padding: 4px 0;
                    font-weight: bold;
                }
                .badge{
                    background: transparent;
                    color: #666;
                    border-radius: 0;
                    position: relative;
                    top: auto;
                    right: auto;
                    float: left;
                    font-size: 100%;
                    width: auto;
                    height: auto;
                    padding: 1px 0;
                }
                .items-txt{
                    float: left;
                    display: block;
                    color: #666;
                } 
                .total_price{
                    float: left;
                    display: block;
                    color: @theme-color;
                }                   
            }                
        }
        &:hover{
            cursor: pointer;
            .header-cart-content{
                display: block;
            }            
        }

        .header-cart-content{
            display: none;
            padding: 0;
            background: #fff;
            color: #666;
            width: 330px;
            float: right;
            position: absolute;
            top: 60px;
            right: 0;
            z-index: 9;
            box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.15);
            border-top: 2px solid @theme-color;
            &:hover{
                display: block;
            }
            .mini-products-list{
                list-style: none;
                max-height: 340px;
                overflow-y: auto;
                padding: 20px 20px 0;
                li{
                    display: inline-block;
                    width: 100%;
                    margin-bottom: 10px;
                    &:last-child{
                        margin-bottom: 0;
                    }
                    .product-image{
                        float: left;
                        margin: 0 10px 10px 0;
                    }
                    .product-details{
                        
                        .btn-remove,
                        .btn-edit{
                            float: right;
                            margin-left: 5px;
                        }
                        .product-name{
                            line-height: 100%;
                            display: inline-block;
                            margin-bottom: 8px;
                            text-transform: none;
                        }
                        .product-qty{
                            float: left;
                            margin-right: 5px;
                            margin-top: 5px;
                        }
                        .ratings{
                            .amount{
                                display: none;
                            }
                        }
                        .price{
                            float: left;                            
                            color: @theme-color;
                            margin-top: 5px;
                            font-weight: bold;
                        }
                        .truncated{
                            display: inline-block;
                            width: 100%;
                            margin-top: 10px;
                            .item-options{
                                margin:0;
                            }
                        }
                    }
                }
            }
            .summary{
                padding: 10px 20px 0;
                .summary-inner{;
                    padding: 15px 0;
                    display: inline-block;
                    width: 100%;
                    line-height: 100%;
                    font-weight:bold;
                    border-top: 1px solid @border-color;
                    p{
                        margin: 0;
                        &.subtotal{
                            span{
                                font-size: 114.29%;
                                padding: 0;
                                color: #333;
                                &.price{
                                    color: @theme-color;
                                    float: right;
                                    font-size: 114.29%;
                                }
                            }
                        }
                    }
                }                
            }
            .actions{
                float: right;
                width: 100%;
                padding: 0 20px 20px;
                border-top: none;
                .button{
                    float: right;
                    margin: 0 5px;
                    width: 135px;
                }
            }
            .empty{
                padding: 20px;
                text-align: center;
                border: none;                
                border-top: 0;
                margin: 0;
            }
        }
    } 
}

// Checkout Types
.cart {
    ul{
        list-style: none;
        padding: 0;
        margin: 0;
    }
    form{
        clear: both;
    }
    .cart-table{
        float: left;
        width: 100%;
        margin-bottom: 10px;
        .btn-update, .btn-empty{
            float: right;
            margin-left: 10px;
        }
        input{
            text-align: center;
        }
    }
    .cart-collaterals{
        .crosssell{
            border: 1px solid @border-color;
            padding: 15px;
            width: 100%;
            margin-top: 20px;
            float: left;            
            h2{
                font-size: 100%;
                margin: 0;
                font-weight: bold;
                line-height: 1.6;
                margin-bottom: 20px;
            }
            .item{
                    border-bottom: 1px dotted @border-color;
                    margin-bottom: 20px;
                    padding-bottom: 15px;
                &.last {
                    margin: 0;
                    padding: 0;
                    border: none;
                }
                .product-image{
                    float: left;
                }
                .product-name{
                    margin-bottom: 10px;
                }
                .product-details{
                    margin-left: 90px;
                    .btn-cart{
                        margin-bottom: 5px;
                        display: inherit;
                        margin-top: 10px;
                        display: inline;
                    }
                }
                .add-to-links {
                    .separator{
                        display: none;
                    }                    
                }
            }
            
        }
        .totals, 
        #discount-coupon-form, 
        .shipping{
            border: 1px solid #E9E9E9;
            padding: 15px;
            width: 100%;
            margin-top: 20px;
            float: left;
            .buttons-set{
                margin: 10px 0 0;
                padding: 0;
            }
            p{
                margin: 0 0 10px 0;
            }
            h2{
                font-size: 108%;
                text-transform: uppercase;
                margin: 0;
                margin-bottom: 5px;
                font-weight: bold;
            }
            select, input{
                width: 100%;
            }
            input.radio{
                width: auto;
                margin-top: 3px;
            }
        }
        .totals{
            table {
                float: right;
                text-align: right;
                width: 100%;
                td{
                    padding-left: 15px;
                }
            }
            .checkout-types{
                text-align: right;
                float: right;
                .button{
                    margin: 10px 0;
                } 
            }
        }
    }
}

