
.wrapper {
  margin-top: 20px;
  display: flex;

  border: 1px solid #801e1e;
  border-radius: 10px;
}

.catego-filter {
  padding: 20px;
  width: 100%;
  max-width: 230px;
  background-color: #f3f3f3;
}

.catego-filter ul {
  list-style: none;
  padding: 0;
}

.catego-filter li {
  margin: 10px 0;
}

.catego-filter a {
  text-decoration: none;
  color: black;
  cursor: pointer;
}

.catego-filter a:hover {
  text-decoration: underline;
}

.filters ul {
  padding-left: 0;
}

.filters li {
  margin: 10px 0;
}

.filters label {
  display: flex;
  align-items: center;
  font-size: 14px;
}

.filters input[type="checkbox"] {
  margin-right: 8px;
  accent-color: #4caf50; /* Change checkbox color */
}

.catego-product {
  flex-grow: 1;
  border: 1px solid #801e1e;
  text-align: center;
  background-color: #dbccb1;
  border-radius: 0px 10px 10px 0px;
}
.catego-filter li a {
  text-decoration: none;
  list-style: none;
  color: black;
  margin: 10px;
}
.catego-filter ul {
  list-style: none;
  padding: 0;
}
.catego-filter li {
  margin: 10px 0;
}
.product-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #e9e6e6;
  border-radius: 0px 10px 10px 0px;
  width: 100%;
  padding: 20px;
}
.product-filter p {
  font-size: 1rem;
}
.product-filter button,
.product-filter select {
  background-color: white;
  padding: 7px;
  outline: none;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}
.product-list {
  padding: 0;
  margin: 0;
}
/* Product*/
.products {
  margin: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.products a {
  text-decoration: none;
  color: black;
}
.product-card {
  background: white;
  padding: 15px;
  width: 220px;
  cursor: pointer;
  text-align: center;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.product-card:hover {
  transform: scale(1.05);
}
.product-card img {
  width: 100%;
  height: 200px;
  object-fit: fill;
  border-radius: 5px;
  margin-bottom: 3px;
}
.product-name {
  font-weight: bold;
  font-size: 16px;
  min-height: 30px;
  display: flex;
  align-items: left;
  justify-content: left;
  text-align: left;
  margin-top: 10px;
}
.price {
  align-items: left;
  justify-content: left;
  text-align: left;
  color: #a85a00;
  font-weight: bold;
  margin-bottom: 2px;
}
.rating {
  align-items: left;
  justify-content: left;
  text-align: left;
  color: #c64d0c;
  font-size: 13px;
}
.rating i {
  margin-right: 2px;
}
.catego-filter-select {
  display: none;
  justify-content: space-around;
  align-items: center;
  font-size: 1.4rem;
  padding: 16px;
  border-radius: 5px;
  background-color: #f0f0f0;
  color: #333;
}
.catego-filter-select select {
  width: 10rem;
  height: 2rem;
}
.catego-filter-select select {
  margin-top: 10px;
}
/* Same for filters */

@media (max-width: 768px) {
  .catego-filter-select {
    display: flex;
  }
  .container {
    margin: 0;
  }
  .catego-filter {
    display: none;
  }
  .wrapper {
    display: block;
  }
  .wrapper,
  .catego-product,
  .product-filter {
    border-radius: 0;
  }
}
@media (max-width: 768px) {
  .category-container {
    grid-template-columns: repeat(2, 1fr);
  }
  h2 {
    color: #000;
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: bold;
  }
  .products {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    justify-content: center;
  }
  .product-card {
    width: 48%;
  }
  .product-card img {
    object-fit: fill;
  }
}
