#cart {
    display: flex;
    width: 250px;
    height: 100%;
    top: 0;
    position: fixed;
    right: -250px;
    transition: all 0.2s linear;
    background: white;
    border-left: 1px solid #e8e8e8;
    flex-direction: column;
}

#cart.is-open {
    right: 0;
}

#toggleCart {
    position: absolute;
    right: 250px;
    top: 33%;
}

#cart-items {
    flex: 1;
    overflow-y: scroll;
    padding-bottom: 35px;
}

#cart-items.is-loading {
    display: flex;
    justify-content: center;
    align-items: center;
}

#cart-header {
    border-bottom: 1px solid #e8e8e8;
    align-items: flex-end;
    padding: 10px;
    display: flex;
    height: 180px;
}

#card-footer {
    flex: 1;
}

.cart-item {
    background-color: #f9f9f9;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.cart-item p {
    margin: 0;
}

.glyphicon {
    height: fit-content;
    width: fit-content;
}

.glyphicon-refresh-animate {
    -animation: spin 0.7s infinite linear;
    -webkit-animation: spin2 0.7s infinite linear;
}

@-webkit-keyframes spin2 {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        transform: scale(1) rotate(0deg);
    }
    to {
        transform: scale(1) rotate(360deg);
    }
}
