/* ── Terrace Gardening Product Categories ────────────────────── */
.terrace-categories {
  padding: 64px 0;
  background: #ffffff;
  overflow: hidden;
}

.terrace-categories .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Infinite scroll track */
.carousel-wrapper {
  overflow: hidden;
  padding: 6px 0 12px;
}

.carousel-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: infiniteScroll 40s linear infinite;
}

.carousel-track:hover { 
  animation-play-state: paused; 
}

@keyframes infiniteScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Category cards */
.product-card {
  flex-shrink: 0;
  width: 250px;
}

.product-card .card-link {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  border: 1px solid #e1ebe4;
  background: #ffffff;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(18, 64, 34, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.product-card .card-link:hover {
  transform: translateY(-5px);
  border-color: #a7d5b6;
  box-shadow: 0 18px 42px rgba(18, 64, 34, 0.13);
}

/* Image wrapper - Clean and clear */
.product-card .image-wrapper {
  overflow: hidden;
  flex-shrink: 0;
  background: #eef8f2;
}

/* Full-width image at top */
.product-card .product-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  border: none;
  transition: transform 0.35s ease;
}

.product-card .card-link:hover .product-image {
  transform: scale(1.05);
}

/* Text area */
.product-card .card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-card .product-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #173421;
  line-height: 1.35;
  margin: 0;
}

.product-card .product-desc {
  font-size: 0.78rem;
  color: #6b6b6b;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: justify;
  text-justify: inter-word;
}
