body {
  font-family: Arial, sans-serif;
  background-color: #f8f8f8;
  margin: 0;
  padding: 0;
}

.title {
  text-align: center;
  padding: 20px;
  color: #333;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

.product {
  background: white;
  border-radius: 8px;
  text-align: center;
  padding: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.img-container {
  height: 200px; /* Fixed height for all images */
  display: flex;
  align-items: center; /* Center vertically */
  justify-content: center; /* Center horizontally */
  overflow: hidden;
}

.img-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product p {
  margin-top: 10px;
  font-weight: bold;
  color: #555;
  min-height: 40px; /* Keeps text area same height */
}

.product:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.home-btn {
  display: inline-block;
  background: linear-gradient(135deg, #ff4d4d, #cc0000);
  color: white;
  padding: 10px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  margin: 20px auto;
  text-align: center;
  transition: all 0.3s ease;
}

.home-btn:hover {
  background: linear-gradient(135deg, #cc0000, #990000);
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Center the Home button above the title */
.home-btn {
  display: block;
  width: fit-content;
}
