.scroll-wrapper {
  min-height: 100vh;
  overflow-y: auto;
  padding: 60px 20px;
  background: #f7f8fa; /* clean background */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  color: #000;
  text-align: center;
}

.page-title {
  margin-bottom: 40px;
  color: #000;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 2rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  justify-content: center;
}
.product-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

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

.product-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 120px; /* ensures all content area is same height */
  margin-bottom: 20px;
}

.product-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.product-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #000;
}
.product-desc {
  font-size: 0.95rem;
  color: #444;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  flex-grow: 0;
}

.product-btn {
  position: relative;
  overflow: hidden;
  margin-top: auto;
  padding: 10px 18px;
  border: 2px solid #000;
  background: transparent;
  color: #000;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  border-radius: 6px;
  text-align: center;
  z-index: 1;
  transition: color 0.3s ease;
}

.product-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: #000;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: -1;
}

.product-btn:hover::before {
  transform: scaleX(1);
}

.product-btn:hover {
  color: #fff;
}
