/* ── Terrace Gardening Products Slider ───────────────────────── */
.terrace-section {
  padding: 56px 20px;
  background: #f5f7f5;
}

.terrace-section .heading {
  margin-bottom: 28px;
  text-align: center;
}

.product-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* Navigation Buttons */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  padding: 10px 16px;
  background: #1b5436;
  color: #fff;
  border: none;
  border-radius: 2px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}
.nav-btn:hover { background: #2e7d52; }

.prev-btn { left: -20px; }
.next-btn { right: -20px; }

@media (max-width: 1240px) {
  .prev-btn { left: 5px; }
  .next-btn { right: 5px; }
}

.product-slider {
  display: flex;
  gap: 18px;
  overflow: hidden;
  padding: 10px 5px;
  justify-content: center;
}

/* ── Product Card — matches subcategory prod-card ────────────── */
.product-card1 {
  flex-shrink: 0;
  width: 210px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e4ebe6;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.product-card1:hover {
  transform: translateY(-4px);
  border-color: #a8cdb5;
  box-shadow: 0 8px 24px rgba(27, 84, 54, 0.1);
}

/* Image wrap */
.product-card1__img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #eaf3ec;
}

.product-card1__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.product-card1:hover .product-card1__img-wrap img { transform: scale(1.05); }

/* Discount badge */
.product-card1__discount {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #c0392b;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 2px;
  letter-spacing: 0.05em;
  z-index: 5;
}

/* Card body */
.product-card1__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.product-card1__name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1b3a26;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s;
}
.product-card1:hover .product-card1__name { color: #2e7d52; }

.product-card1__pricing {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.product-card1__price {
  font-size: 1rem;
  font-weight: 500;
  color: #1b5436;
}

.product-card1__mrp {
  font-size: 0.76rem;
  color: #aab5ae;
  text-decoration: line-through;
}