/* Styles for new category cards on homepage */
.catalog-categories {
  justify-content: center;
  margin-top: 50px;
  margin-bottom: 50px;
}

.category-card-new {
  background: #ffffff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease-in-out;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.category-card-new:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.category-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-card-new:hover .category-image img {
  transform: scale(1.05);
}

.category-content-new {
  padding: 1.5rem 2rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.category-title-new {
  font-size: 1.6rem;
  font-weight: 600;
  color: #34495e;
  margin-bottom: 0.75rem;
}

.category-description-new {
  color: #7f8c8d;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.category-btn-new {
  background-color: #6f4e37;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.category-btn-new:hover {
  background-color: #5a3f2d;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(111, 78, 55, 0.3);
  transform: translateY(-2px);
}
