.cart-container {
    max-width: 1200px;
    margin: 160px auto 40px auto;
    padding: 20px;
    font-family: Arial, sans-serif;
  }
  
  h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: #333;
  }
  
  .cart-items-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .cart-item {
    display: flex;
    align-items: center; /* Vertically center the content */
    justify-content: space-between; /* Distribute items across the row */
    padding: 15px;
    margin-bottom: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center; /* Center align text content */
  }
  
  .cart-item-image {
    flex: 0 0 30%;
    margin-right: 20px;
    overflow: hidden; /* Hide the zoomed part outside the image container */
    position: relative;
  }
  
  .cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.1s ease; /* Smooth zoom transition */
    transform-origin: center center; /* Ensure zoom happens from the center */
  }
  .cart-item-image:hover img {
    transform: scale(1.5); /* Upscale the image on hover */
    cursor: zoom-in; /* Change the cursor to indicate zoom */
  }
  .cart-item-details {
    flex: 1; /* Takes up remaining space */
    margin-right: 20px;
  }
  
  .cart-item-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
  }
  
  .cart-item-category {
    font-size: 0.9rem;
    color: #777;
    margin-top: 5px;
  }
  
  .cart-item-description {
    font-size: 0.9rem;
    color: #555;
    margin-top: 5px;
  }
  
  .cart-item-quantity {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: 20px;
    width: 120px; /* Ensure consistent button width */
    flex: 0 0 120px; 
  }
  
  .quantity-btn {
    background-color: #4e4747;
    border: 1px solid #ccc;
    padding: 5px 10px;
    font-size: 1.2rem;
    cursor: pointer;
    margin: 0 5px;
    border-radius: 5px;
    transition: background-color 0.3s;
  }
  
  .quantity-btn:hover {
    background-color: #000000;
  }
  
  .cart-item-price {
    flex: 0 0 20%; /* Optionally, set the price column width, or leave it to grow/shrink */
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-right: 20px;
  }
  
  .remove-btn {
    background-color: transparent;
    border: none;
    color: #000000;
    font-size: 1.2rem;
    cursor: pointer;
    width: 50px;
  }
  
  .remove-btn:hover {
    color: #c40000;
    background-color: transparent;
  }
  
  
  .cart-footer {
    display: flex;
    justify-content: center;
    margin-top: 30px;
  }
  