/* ============== CATEGORY PRODUCTS PAGE ============== */
.cat-products-sec {
  padding: 30px 0 56px;
}

/* products: 4 in a row grid (not a slider), reusing .product-card design */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-grid .product-card {
  flex: none;   /* cancel the slider flex-basis */
  width: auto;
}

.cat-empty {
  text-align: center;
  font-size: 15px;
  color: #8a988e;
  padding: 30px 0;
}

@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 440px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* ---- details about (collapsible) ---- */
.cat-details-body {
  position: relative;
  max-height: 260px;
  overflow: hidden;
  transition: max-height 0.35s ease;
  color: #4a5a50;
  font-size: 15px;
  line-height: 1.75;
}
.cat-details-body.is-open {
  max-height: 6000px;
}
.cat-details-body::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff);
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.cat-details-body.is-open::after {
  opacity: 0;
}
.cat-details-body img { max-width: 100%; height: auto; }
.cat-details-body h1,
.cat-details-body h2,
.cat-details-body h3 { color: #15241b; }
.cat-details-body a { color: var(--green); }

.cat-readmore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--green);
  background: #fff;
  border: 1.5px solid var(--green);
  border-radius: 10px;
  padding: 11px 24px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cat-readmore:hover {
  background: var(--green);
  color: #fff;
}
