/* Product Grid Layout */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 40px 20px;
  background-color: #f8f9fa;
}

/* Individual Product Card */
.product-card {
  background-color: #ffffff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.product-img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  /* background-color: #f0f0f0; light background to fill empty space */
  /* padding: 10px; */
  border-bottom: 1px solid #eee;
}


/* Product Info Section */
.product-info {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.product-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
  margin: 0;
}

.product-description {
  font-size: 0.9rem;
  color: #666;
  flex-grow: 1;
}

/* View Button */
.view-btn {
  display: inline-block;
  text-align: center;
  margin-top: auto;
  padding: 10px 14px;
  background-color: #00c88c;
  color: white;
  border-radius: 0;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.view-btn:hover {
  background-color: #00b37a;
}

/* No Products Styling */
.no-products-container {
  text-align: center;
  padding: 40px;
  background: #fff;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.no-products-text {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 15px;
}

.add-product-btn {
  background-color: #007bff;
  color: white;
  padding: 10px 16px;
  border-radius: 0;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.add-product-btn:hover {
  background-color: #0056b3;
}

.load-more-container .view-btn {
    padding: 12px 20px;
    font-weight: bold;
    background-color: transparent;
    color: #10b981;
    border: none;
    border-radius: 0;
    cursor: pointer;
    margin-bottom: 20px;
}

.load-more-container .view-btn:hover {
    color: #029967;
}
