.cart-sidebar {
    position: fixed;
    top: 0;
    right: -125%;
    width: 350px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    z-index: 9999;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.cart-sidebar.active {
    right: 0;
}

.cart-sidebar .close-btn{
    color:#000;
    font-size: 1.2rem;
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    gap: 10px;
    padding: 20px 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.105);
}

.cart-header h4 {
    margin-bottom: 0px;
    font-size: 130%;
    flex: 1 1 auto;
    font-size: 18px;
    font-weight: bolder;
}

.cart-header button {
    background: transparent;
    border: 0;
    text-transform: capitalize;
    font-size: 15px;
}

.cart-body{
    height: 65%;
    overflow-y: scroll;
}

.cart-body .cart-item {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 5px;
    padding: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.105);
    transition: 0.67s;
    text-align: left;

    &:hover {
        background: #f7f7f7;
    }
}

.cart-body .cart-item img {
    width: 65px;
    object-fit: cover;
    object-position: center;
}

.cart-body .cart-item .cart-info h6 {
    font-size: 14px;
    color: #417394;
    font-weight: 550;
    line-height: 1.4;
    font-family: sans-serif;
}

.cart-body .cart-item .remove-item {
    font-size: 13px;
    background: transparent;
    border: 0;
    outline: none;
    color: #cecece;
}

.cart-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.cart-footer .subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 22px;
    color: #000;
    padding: 20px 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.105);
    border-bottom: 1px solid rgba(0, 0, 0, 0.105);
}

.cart-footer .subtotal .amount {
    color: #417394 !important;
}

.cart-footer .free-shipping {
    padding: 0px 12px 12px;
}

.cart-footer .view-cart-btn {
    display: inline-block;
    width: 90%;
    background: #f7f7f7;
    color: #417394;
    text-transform: uppercase;
    text-align: center;
    padding: 12px;
    border-radius: 45px;
    font-weight: 600;
    font-family: sans-serif;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.105);
    transition: 0.67s;
    margin: 0 12px 20px !important;

    &:hover {
        background: #417394;
        color: #fff;
    }
}
