.cart {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 400px;
    background-color: #ffffff;
    transform: translateX(100%); /* Hide off-screen */
    transition: transform 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
  }
  
  .cart-padding{
    padding: 0 20px; 
    height: 100%;
    display: flex;
    flex-direction: column;
  }


  /* Cart open state */
  .cart.open {
    transform: translateX(0); /* Slide in */
  }
  
  #cartProducts {
    flex-grow: 1;
    overflow-y: auto;
  }
  
  #closeCartButton {
    align-self: flex-end;
    cursor: pointer;
  }
  
  #showCartButton {
    cursor: pointer;
  }

  .cart-title-area{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
  }

  .cart-title{
    font-size: 24px;
    font-weight: bold;
  }

  .cart-line{
    display: flex;
    width: 100%;
    flex-direction: row;
    align-self: center;
    background-color: black;
    height: 1px;
  }

  .cart-product-title-column{
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .cart-bottom-area{
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
    gap: 8px;
    padding-top: 20px;
  }

  .cart-total{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-size: 20px;
  }

  .cart-item-subtotal{
    display: flex;
    flex-direction: column;
    justify-content: end;
  }

  .checkout-btn{
    height: 42px;
    width: 100%;
    font-size: 16px;
    padding: 8px;
    border: unset;
  }

  .delete-btn{
    text-align: end;
    cursor: pointer;
  }


  @media only screen and (max-width : 768px ) {

    .cart {
      width: 100%;
      padding: 0;
    }
    }