﻿.container {
    width: 100%;
}

.header {
    width: 90%;
    margin: 0 auto;
    margin-top: 20px;
    border-radius: 40px;
    height: 50px;
    display: flex;
    justify-content: space-between;
    padding: 20px;
    padding-left: 30px;
    padding-right: 30px;
    box-shadow: rgba(149,157,165,0.2) 0px 8px 24px;
    align-items: center;
    color: #ccc;
    backdrop-filter: blur(5px);
    background: rgba(255,255,255,0.1);
}

    .header > i {
        font-size: 3em;
    }

.cart-button > button > i {
    font-size: 2em;
    color: #fafafa;
}

.cart-button > button {
    border: none;
    outline: none;
    box-shadow: rgba(149,157,165,0.2) 0px 8px 24px;
    background: linear-gradient(#C7D3DC, #5B798E);
    cursor: pointer;
    width: 60px;
    height: 60px;
    border-radius: 99px;
    -webkit-transition: all 0.3s linear;
    background-size: 1px 200px;
}

    .cart-button > button:hover {
        background-position: 100px;
    }

.cart-panel {
    cursor:auto;
    position: fixed;
    z-index: 999;
    height: 100%;
    width: 600px;
    right: -840px;
    top: 0;
    border-top-left-radius: 35px;
    border-bottom-left-radius: 35px;
    backdrop-filter: blur(5px);
    background: rgba(0,0,0,0.85);
    box-shadow: rgba(149,157,165,0.2) 0px 8px 24px;
    padding-right: 20px;
    padding-left: 20px;
    -webkit-transition: all 0.5s ease-in-out;
}

.cartShadow {
    display: none;
    position: fixed;
    z-index: 100;
    height: 100%;
    width: 100%;
    filter: blur(20px);
    background-color: rgba(0,0,0,.50);
    top: 0px;
    left: 0px;
    cursor:auto;
}

.open {
    right: 0 !important;
}

.hide {
    visibility: hidden !important;
}

.cart-header {
    width: 100%;
    height: 50px;
    color: #ccc;
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

    .cart-header > h4 {
        font-weight: normal;
    }

    .cart-header > button {
        border: none;
        outline: none;
        box-shadow: rgba(149,157,165,0.2) 0px 8px 24px;
        background: linear-gradient(#C7D3DC, #5B798E);
        cursor: pointer;
        width: 60px;
        height: 60px;
        border-radius: 99px;
        -webkit-transition: all 0.3s linear;
        background-size: 1px 200px;
    }

        .cart-header > button:hover {
            background-position: 100px;
        }

.products {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5px 15px 15px 1px;
}

.product {
    width: 100%;
    height: 160px;
    box-shadow: rgba(149,157,165,0.2) 0px 8px 24px;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: row;
    margin-top: 20px;
    justify-content: space-between;
    align-items: center;
    color: #ccc;
}

    .product > button {
        border: none;
        outline: none;
        box-shadow: rgba(149,157,165,0.2) 0px 8px 24px;
        background-color: darkgray;
        cursor: pointer;
        width: 30px;
        height: 30px;
        border-radius: 99px;
        -webkit-transition: all 1s linear;
        font-size: 1em;
        color: #fafafa;
    }

        .product > button:hover {
            background-color: #333;
        }

.cart-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 85vh;
    overflow-y: auto;
}

.checkout-button > a {
    width: 100%;
    height: 70px;
    border: none;
    outline: none;
    box-shadow: rgba(149,157,165,0.2) 0px 8px 24px;
    background: #333;
    border-radius: 20px;
    padding: 20px;
    margin-top: 20px;
    color: #ccc;
    font-size: 26px;
    font-weight: bolder;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .checkout-button > a > i {
        font-size: 2em;
    }

#close-panel {
    cursor:pointer;
    float: left;
    font-size: 36px;
    transition: all .3s ease;
}

    #close-panel:hover {
        color: #ff6400;
        transform: scale(1.2);
    }

.side_ProductName {
    line-height: 24px;
}

.side-cart-trash-icon {
    cursor:pointer;
    font-size: 24px;
    transition: color 1s ease;
}

    .side-cart-trash-icon:hover {
        /* Start the shake animation and make the animation last for 0.5 seconds */
        animation: shake 0.5s forwards;
        color: #ff6400;
    }
.shakeKeyframe {
    animation: shake 0.5s forwards;
    color: #ff6400;
}
@keyframes shake {
    0% {
        transform: translate(1px, 1px) rotate(0deg);
    }

    10% {
        transform: translate(-1px, -2px) rotate(-1deg);
    }

    20% {
        transform: translate(-3px, 0px) rotate(1deg);
    }

    30% {
        transform: translate(3px, 2px) rotate(0deg);
    }

    40% {
        transform: translate(1px, -1px) rotate(1deg);
    }

    50% {
        transform: translate(-1px, 2px) rotate(-1deg);
    }

    60% {
        transform: translate(-3px, 1px) rotate(0deg);
    }

    70% {
        transform: translate(3px, 1px) rotate(-1deg);
    }

    80% {
        transform: translate(-1px, -1px) rotate(1deg);
    }

    90% {
        transform: translate(1px, 2px) rotate(0deg);
    }

    100% {
        transform: translate(1px, 1px) rotate(0deg);
        transform: scale(1.1)
    }
}

@media only screen and (max-width: 991px) {
    .cart-panel {
        width: 100%;
    }

    .side_cart_productName {
        font-size: 24px;
    }

    .header {
        width: 75%;
    }
}
.qtyBtn{
    cursor:pointer;
    transition:.5s ease;
}
.qtyBtn:hover{
    color:#ff6400;
}
.btn_Confirmation{

    border:solid 3px
}
.btn_Confirmation:hover {
   background-color:#ff6400
}
@media only screen and (max-width: 991px) {
    .btn_Confirmation {
        border: solid 2px
    }
}
