/* Estilos para la página de categorías */
.category-container {
  width: 100%;
  display: flex;
  border-bottom: 1px solid #D0D5DD;
  padding-top: 20px;
  flex-direction: row;
}

.category-info {
  margin-bottom: 10px;
  width: 40%;
}

.category-title {
  margin-bottom: 10px;
}

.category-title a {
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 32px;
  color: #F39C12;
  text-decoration: none;
}

.subcategory-item {
  margin-bottom: 20px;
}

.subcategory-item a {
  font-size: 16px;
  color: #333;
  font-weight: bold;
  text-decoration: none;
}

.category-divider {
  border-top: 1px solid #D0D5DD;
  width: 30%;
  margin-top: 10px;
}

.view-all {
  margin-block: 20px;
}

.view-all a {
  font-size: 16px;
  color: #333;
  font-weight: bold;
  text-decoration: none;
}

.products-grid {
  grid-template-columns: repeat(3, 1fr);
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.product-card {
  border-radius: 8px;
  height: 110px;
  width: 170px;
  border: 1px solid #f8f8f8;
  overflow: hidden;
}

.product-image {
  box-shadow: 0px 0px 17px 0px rgba(0,0,0,0.75);
  width: 100%;
  height: 110px;
  object-fit: contain;
  border-radius: 8px;
}

/* Media queries para responsividad */
@media screen and (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 992px) {
  .category-container {
    flex-direction: column;
  }
  
  .category-info {
    width: 100%;
    margin-bottom: 20px;
  }
  
  .products-grid {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .product-card {
    width: 100%;
  }
  
  .category-title a {
    font-size: 24px;
  }
}

@media screen and (max-width: 576px) {
  .products-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  
  .product-card {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .category-divider {
    width: 50%;
  }
}
