.container-product {
  display: grid;
  grid-template-columns: auto 50%;
}
.product-img {margin: 20px;}
.product-img>img {
  width: 100%; border-radius: 30px; 
  aspect-ratio: 3/2;
  object-fit: cover;
}
.product-info {
  margin: 20px;
  display: grid;
  grid-template-rows: 10% auto 30%;
}
.container-product-info {
  margin: 20px;

}
.container-browse {
  max-width: 1300px;
  display: grid;
  margin: 0 auto;
  grid-template-columns: 25% auto;
}
.browse-thumnail-container {
  display: grid;
  gap: 15px;
  grid-template-columns: auto auto auto;
}
.product-thumnail>img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.btn-toCart {
  background-color: #e65c50;  
  color: white;
  border: none;
  padding: 10px 15px;
  margin-top: 10px;
  border-radius: 5px;
  cursor: pointer;
}
#search {
  width: 100%;
}
.products-body {
  width: 100%;
}

.body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .container-browse {
    display: flex;
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    gap: 20px;
  }
  
  .container-filters {
    width: 25%;
    min-width: 200px;
    background: #f8f8f8;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  #browse-filters fieldset {
    border: none;
  }
  
  #browse-filters legend {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  #browse-filters p {
    margin: 10px 0;
  }
  
  #browse-filters select {
    width: 100%;
    padding: 8px;
    font-size: 1em;
    border-radius: 5px;
    border: 1px solid #ccc;
    cursor: pointer;
  }
  
  .container-content {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  .browse-thumnail-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-content: center;
  }
  
  .browse-thumnail-container div {
    background: white;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .browse-thumnail-container img {
    max-width: 100%;
    border-radius: 5px;
  }
  
  @media (max-width: 900px) {
    .container-browse {
      flex-direction: column;
      align-items: center;
    }
  
    .container-filters {
      width: 100%;
      text-align: center;
    }
  
    .browse-thumnail-container {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 600px) {
    .browse-thumnail-container {
      grid-template-columns: repeat(1, 1fr);
    }
  }
  .product-card {
    width: 250px; 
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.product-card img {
    width: 100%;
    height: 150px; 
    object-fit: cover; 
    border-radius: 5px;
}

.product-card h2 {
    font-size: 1.2em;
    margin: 5px 0;
    color: #333;
}

.product-card p {
    font-size: 0.9em;
    color: #666;
    flex-grow: 1; 
}

.product-card button {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.product-card button:first-of-type {
    background-color: #007bff;
    color: white;
}

.product-card button:first-of-type:hover {
    background-color: #0056b3;
}

.product-card button:last-of-type {
    background-color: #28a745;
    color: white;
}

.product-card button:last-of-type:hover {
    background-color: #1e7e34;
}
