.category-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.category-product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.category-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 68px rgba(15, 23, 42, 0.12);
}
.category-product-media {
  width: 100%;
  overflow: hidden;
}
.category-product-media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform .35s ease;
}
.category-product-card:hover .category-product-media img {
  transform: scale(1.04);
}
.category-product-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem;
}
.category-product-body h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.3;
}
.category-product-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.97rem;
  min-height: 72px;
}
.category-product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.category-product-footer strong {
  font-size: 1.15rem;
  color: var(--secondary);
}
.category-product-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.category-product-actions .btn {
  min-width: 110px;
}
.category-section .section-header {
  margin-bottom: 2rem;
}

@media (max-width: 1024px) {
  .category-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .category-products-grid {
    grid-template-columns: 1fr;
  }
  .category-product-media img {
    height: 220px;
  }
  .category-product-body {
    padding: 1.2rem;
  }
}
@media (max-width: 560px) {
  .category-product-card {
    border-radius: 22px;
  }
  .category-product-media img {
    height: 180px;
  }
  .category-product-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .category-product-actions {
    width: 100%;
  }
  .category-product-actions .btn {
    width: 100%;
  }
}
