.fly-cart{
    position: fixed;
    top: 100px;
    z-index: 9999;
    right: -645px;
    -webkit-transition: all .4s;
    -o-transition: all .4s;
    transition: all .4s;
}
.fly-cart.visible{
    right: -600px;
}
.fly-cart.shown{
    right: 0;
}
.fly-cart-mini{
    position: absolute;
    width: 45px;
    height: 45px;
    left: -45px;
    top: 0;
    color: #ffffff;
    background-color: #0898d4;
    border-radius: 5px 0 0 5px;
    padding: 2px;
    text-align: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fly-cart-mini svg{
    fill: #fff;
    width: 32px;
}
.fly-cart-mini .cart-count{
    display: none;
    top: -22px;
    right: 0;
    left: 0;
    margin: 0 auto;
    width: 30px;
    height: 30px;
    background-color: #d70018;
    border-radius: 20px;
    text-align: center;
    line-height: 29px;
    position: absolute;
    font-weight: bold;
    color: #fff;
    z-index: 1;
}
.fly-cart-content{
    position: relative;
    width: 600px;
    max-width: 100%;
    min-height: 250px;
    overflow: hidden;
    background: #FFF;
    padding: 15px;
    overflow-y: auto;
    max-height: calc(100VH - 100px);
    transition: all 0.5s;
}
.shown .fly-cart-content{
    -webkit-box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}
.fly-cart-loading{
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0,0,0,0.1);
}
.fly-cart-loading .spinner{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.fly-cart-loading .spinner .spinner-icon{
    width: 50px;
    height: 50px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><circle fill="%230898D4" stroke="%230898D4" stroke-width="15" r="15" cx="40" cy="100"><animate attributeName="opacity" calcMode="spline" dur="2" values="1;0;1;" keySplines=".5 0 .5 1;.5 0 .5 1" repeatCount="indefinite" begin="-.4"></animate></circle><circle fill="%230898D4" stroke="%230898D4" stroke-width="15" r="15" cx="100" cy="100"><animate attributeName="opacity" calcMode="spline" dur="2" values="1;0;1;" keySplines=".5 0 .5 1;.5 0 .5 1" repeatCount="indefinite" begin="-.2"></animate></circle><circle fill="%230898D4" stroke="%230898D4" stroke-width="15" r="15" cx="160" cy="100"><animate attributeName="opacity" calcMode="spline" dur="2" values="1;0;1;" keySplines=".5 0 .5 1;.5 0 .5 1" repeatCount="indefinite" begin="0"></animate></circle></svg>');
    background-repeat: no-repeat;
}
.fly-cart-products{
    margin-bottom: 20px;
}
.fly-cart-products .fly-cart-product{
    display: flex;
    align-items: center;
    min-height: 75px;
    font-size: 14px;
}
.fly-cart-products .fly-cart-product + .fly-cart-product{
    border-top: 1px solid #eee;
}
.fly-cart-products .fly-cart-product-image{
    width: 75px;
    padding: 3px;
}
.fly-cart-products .fly-cart-product-name{
    width: calc(100% - 225px);
    padding: 0 10px;
}
.fly-cart-products .fly-cart-product-price{
    width: 150px;
    padding: 0 10px;
    text-align: center;
}
.fly-cart-product-delete svg{
    width: 18px;
    height: 18px;
    cursor: pointer;
}
.fly-cart-product-delete svg:hover{
    fill: #d70018;
}
.fly-cart-product-quantity{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 5px;
}
.fly-cart-product-q{
    width: 25px;
    text-align: center;
    display: block;
    height: 18px;
}
.fly-cart-product-quantity svg{
    width: 18px;
    cursor: pointer;
}
.fly-cart-product-quantity .fly-cart-change-count{
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fly-cart-minus svg:hover path,
.fly-cart-plus svg:hover{
    fill: #0898d4;
}
.fly-cart-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.clear-cart-wrap{
    display: none;
}
.fly-cart-header .clear-cart{
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.fly-cart-header .clear-cart:hover{
    color: #d70018;
}
.fly-cart-header .clear-cart:hover svg{
    fill: #d70018;
}
.fly-cart-header .clear-cart svg{
    width: 16px;
    margin-left: 5px;
}
.fly-cart-form{
    display: none;
    max-width: 400px;
    margin: 15px auto;
    text-align: center;
}
.fly-cart-totals{
    text-align: right;
    margin: 10px 0;
    font-weight: 700;
    font-size: 20px;
    display: none;
}
.fly-to-cart{
    position: absolute;
    z-index: 9999;
}
.fly-cart-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    color: white;
    padding: 15px;
    border-radius: 5px;
    transition: opacity 0.5s;
    z-index: 9999;
}
.fly-cart-notification.success{
    background: #4CAF50;
}
.fly-cart-notification.error{
    background: red;
}
.fade-out {
    opacity: 0;
}
.fly-cart-form .form-elements .b-form-input,
.fly-cart-form .b-btn{
    border-radius: 0;
}
@media(max-width: 767px){
    .fly-cart{
        top: 50px;
        right: calc(-1px - (100vw - 50px) + 1px);
    }
    .fly-cart-content{
        width: calc(100vw - 50px);
    }

    .fly-cart-totals{
        font-size: 16px;
    }
}