/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    padding: 20px;
  }
  
  .cart-container {
    max-width: 9500px;
    margin: auto;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  h1 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
  }
  
  .cart-summary {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 1rem;
  }
  
  .cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center; /* Vertikal sejajar */
  }
  
  .cart-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .cart-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
  }
  
  .item-details {
    flex: 1;
  }
  
  .item-details h3 {
    font-size: 1rem;
    margin-bottom: 5px;
  }
  
  .item-details p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 5px;
  }
  
  .item-options {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #666;
  }
  
  .item-price {
    text-align: right;
  }
  
  .item-price p {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .remove-item {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: red;
    cursor: pointer;
  }
  

  
  .btn-secondary {
    background: #f5f5f5;
    color: #333;
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    cursor: pointer;
  }
  
  .btn-primary {
    background: #333;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 0.9rem;
    cursor: pointer;
  }
  
  .btn-secondary:hover,
  .btn-primary:hover {
    opacity: 0.9;
  }


  /* Gaya untuk tombol hapus */
  .delete-item {
    background-color: #f44336;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
    position: absolute; /* Memungkinkan penempatan di kanan */
    right: 100px; /* Mengatur posisi tombol di sisi kanan */
  }
  
  .delete-item:hover {
    background-color: #d32f2f;
  }
  /* Gaya untuk tombol tambah kuantitas */
  .quantity-control {
    display: flex;
    align-items: center;
    gap: 10px; /* Memberi jarak antar tombol dan angka */
    position: relative; /* Memungkinkan penempatan tombol lebih tepat */
  }
  
  .quantity-btn {
    background-color: #4caf50;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
  }
  
  .quantity-btn:hover {
    background-color: #388e3c;
  }
  
  .quantity {
    margin: 0 10px; /* Memberi jarak antara tombol dan angka */
  }
  
  /* Gaya untuk input kuantitas */
  .quantity-input {
    width: 50px;
    text-align: center;
    margin: 0 10px;
    font-size: 16px;
  }
  
  /* Gaya untuk tombol checkout */
  #checkout-btn {
    background-color: #b16f24;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 20px;
    width: 20%;
  }
  
  #checkout-btn:hover {
    background-color: #ff9615;
  }
  


  .cart-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    font-size: 1rem;
  }
  
  .total-price p {
    font-weight: bold;
    color: #333;
  }
  
  #checkout-btn {
    background-color: #bb8135;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
  }
  
  #checkout-btn:hover {
    background-color: #9f5200;
  }
  