/* === Gallery Layout === */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

/* === Filter Buttons === */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: white;
  border: 2px solid #3498db;
  color: #3498db;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
  background: #3498db;
  color: white;
}

/* === Product Cards === */
.product-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 1px solid #ddd;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  cursor: pointer;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: #27ae60;
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}

/* === Product Image === */
.product-image {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

/* === Product Info Block === */
.product-info {
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  width: 100%;
}

/* === Product Title & Description === */
.product-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #2c3e50;
}

.product-description {
  color: #666;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

/* === Product Details === */
.product-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.product-price {
  font-size: 1.4rem;
  font-weight: bold;
  color: #27ae60;
}

.product-category {
  background: #ecf0f1;
  color: #7f8c8d;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* === Buttons === */
.add-to-cart,
.contact-us-btn {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 15px;
  cursor: pointer;
  transition: background 0.3s ease;
  box-sizing: border-box;
  border: none;
  color: white;
}

.add-to-cart {
  background: #3498db;
}

.add-to-cart:hover {
  background: #2980b9;
}

.contact-us-btn {
  background: #0077cc;
}

.contact-us-btn:hover {
  background: #2980b9;
}
