body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f5f5f5;
}

.container {
  padding: 30px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.price {
  color: #ff6600;
  font-weight: bold;
}

.btn {
  display: inline-block;
  padding: 10px;
  background: #ff6600;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
}



.table-products {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.table-products th {
  background: #f4f6f9;
  text-align: left;
  padding: 12px;
  font-size: 14px;
}

.table-products td {
  padding: 12px;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
}

.table-products tr:hover {
  background: #fafafa;
}

.thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
}

.no-img {
  color: #999;
  font-size: 12px;
}

.name {
  font-weight: 600;
}

.price {
  color: #28a745;
  font-weight: bold;
}

.actions {
  display: flex;
  gap: 8px;
}

.btn-view,
.btn-edit,
.btn-delete {
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 12px;
  text-decoration: none;
  color: #fff;
}