#open-cart-sidebar{
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    cursor: pointer;
    z-index:11;
    width: 70px;
    height: 70px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border: 1px solid #e5e5e5;
}
#open-cart-sidebar img {
    width: 30px;
    filter: invert(1);
}
.cart-sidebar-item-image {
    flex-shrink: 0;
}
#open-cart-sidebar .cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #8b2b1b;
    color: #fff;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
}

.cart-sidebar-overlay{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 4;
    display: none;
}
.cart-sidebar-overlay.open{
    display: block;
}

.cart-sidebar {
    transition: all 0.3s ease;
    width: 365px;
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    background: #fff;
    z-index: 1;
    transform: translateX(100%);
    display: flex;
    flex-flow: column;
    background-color: #f8f9fa;
}
.cart-sidebar.open {
    transform: translateX(0);
    z-index:14;
}
.cart-sidebar .cart-sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #e5e5e5;
}
.cart-sidebar .cart-sidebar-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}
.cart-sidebar .cart-sidebar-header .close-cart-sidebar {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 20px;
    cursor: pointer;
}
.cart-sidebar .cart-sidebar-body {
    padding: 20px;
    overflow-y: auto;
}
.cart-sidebar .cart-sidebar-body .cart-sidebar-item {
    display: flex;
    margin-bottom: 20px;
    position: relative;
}
.cart-sidebar-item-details {
    padding-right: 30px;
}
.cart-sidebar .cart-sidebar-body .cart-sidebar-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-right: 20px;
}
.cart-sidebar-item h4 {
    margin-bottom: .2rem;
    font-size: 1rem;
    font-weight: 700;
}
.cart-sidebar .cart-sidebar-body .cart-sidebar-item p {
    font-size: 0.9rem;
}
.remove-from-cart{
    width: 30px;
    height: 30px;
    background-size: 20px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M7.616 20q-.672 0-1.144-.472T6 18.385V6H5V5h4v-.77h6V5h4v1h-1v12.385q0 .69-.462 1.153T16.384 20zM17 6H7v12.385q0 .269.173.442t.443.173h8.769q.23 0 .423-.192t.192-.424zM9.808 17h1V8h-1zm3.384 0h1V8h-1zM7 6v13z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-color: #f8f9fa;
    border: 0;
    position: absolute;
    right: 0;
    top: 0;
}
.remove-from-cart span {
    display: none;
}

.cart-sidebar-footer {
    background-color: #ffffff;
    padding: 10px 20px;
    box-shadow: 0 -1px 10px #0000001a;
    margin-top: auto;
    height: auto;   
}
.cart-sidebar-footer a,
.cart-sidebar-footer button {
    margin-top: .2rem;
    margin-bottom: 0;
    width: 100%;
}
.cart-sidebar-footer p{
    line-height: 1.2;
    font-size: .95rem;
    text-align: center;
    font-weight: 400;
}
