.product-container {
  width: 100%;
  padding: 8px;
}

.categories {
  margin-bottom: 20px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
}

/* .category-btn {
  padding: 10px 15px;
  margin: 5px;
  border: none;
  cursor: pointer;
  background: var(--color-1);
  color: var(--color-2)
  border-radius: 5px;
}

.category-btn:hover {
  background: var(--color-2)
} */

.product-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 15px;
}

.product {
  background: white;

  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 200px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
a {
  all: unset;
}
.product img {
  width: 100%;
  height: 130px;
  border-radius: 10px 10px 0px 0px;
  object-fit: cover;
}

.product-title {
  font-size: 18px;
  margin: 10px 0;
}

.product-price {
  font-size: 16px;
  font-weight: bold;
}

.product-details-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px;
  gap: 4px;
}
input {
  width: 25px;
  height: 20px;
  text-align: center;
}
.button {
  width: fit-content;
}
.add-to-cart {
  background: #28a745;
  color: white;
  border: none;
  padding: 8px;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 10px;
}

.add-to-cart:hover {
  background: #218838;
}

select {
  font-size: 14px;

  border-radius: 5px;
  background-color: #fff;
  color: #333;
  appearance: none;
  cursor: pointer;
}

/* Custom arrow */

@media screen and (max-width: 768px) {
  .product-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two equal columns */

    justify-content: flex-start;
  }

  .product-img {
    width: 100%;
    height: 120px;
  }
}
