
/* Container produk */
#restoran-menu {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

/* Item produk */
.produk-item {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  background: #fff;
  box-shadow: 0 0 5px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
}

.produk-item img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 8px;
  flex-shrink: 0;
}

/* Tombol Tambah Produk */
.add-btn {
  background-color: #28a745;
  color: white;
  padding: 6px 12px;
  font-size: 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: auto;
}

/* Keranjang */
#cart-container {
  background: #f8f8f8;
  padding: 12px;
  border-radius: 8px;
  margin-top: 20px;
}

/* Item dalam keranjang */
#cart-items {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#cart-items li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  background: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
  box-shadow: 0 0 3px rgba(0,0,0,0.05);
}

/* Wrapper tombol - nama + */
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Tombol + */
.cart-item-controls .plus-btn {
  padding: 2px 6px;
  font-size: 11px;
  min-width: 26px;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* Tombol - */
.cart-item-controls .minus-btn {
  padding: 2px 6px;
  font-size: 11px;
  min-width: 26px;
  background-color: #dc3545;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* Tombol checkout */
#checkout-btn {
  background-color: #28a745;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
  display: block;
  width: 100%;
  text-align: center;
}
