body {
  background: linear-gradient(to right, #f0e5d1, #e6d3bb);
  color: #333;
}

.main{
  margin-top: 90px;
  margin-bottom: 20px;

}

.products {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 30px;
  margin-top:50px;
  margin-bottom: 0px;
  justify-content: space-evenly;
  border-width: 1px 0 0;
  border-style: solid;
  border-color: gray;
  
}
.product {
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  padding: 10px;
  margin-right: 13px;
  flex-basis: 15%;
  border-radius:10px;
  transition: transform 0.3s ease;
  transform: scale(1);
}
.product:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.cart {
  /* existing styles */
  transition: all 0.2s ease;
}

.cart:hover {
  transform: translateY(-2px);
}

.product img {
  width: 320px;
  height: 300px;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius:10px;
  margin-bottom:12px;
}
.product a {
  margin-top:0px;
  font-weight: bold;
  text-decoration: none;
  margin-bottom: 0px;
  color: #444;
  font-size:20px;
}
.product a:hover {
  text-decoration: underline;
  color: #222; 
}
.product p {
  margin-top:5px;
  margin-bottom: 6px;
  font-weight:bold;
  font-size:19px;
}
.product h3 {
  margin-top: 0px;
  margin-bottom: 10px;
  color: #8c7853;
  font-size:25px;
}

.product reviews {
  margin-bottom: 6px;
}
.cart {
  margin-top: 5px;
  background-color: #48abe0;
  color: white;
  border: none;
  padding: 5px;
  font-size: 31px;
  height: 45px;
  width: 45px;
  box-shadow: 0 2px 4px darkslategray;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 70%;
}
.cart svg {
  fill: white;
}
.product mark {
  color: #555; /* Darker grey for original price */
  animation: pulse 1s infinite;
}

.product del {
  color: #777; /* Lighter grey for original price */
}
.filter{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.filter .search{
  width: 300px;
  height: 40px;
  padding: 0 15px;
  border: 1px solid #121212;
  border-radius: 5px;
  outline: none;
  font-size: 16px;
  letter-spacing: 1px;
}
.filter .search input{
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  font-size: 16px;
  letter-spacing: 1px;
  background: transparent;
}
.filter .search:focus{
  border-color: #121212;
}

.filter button{
  width: 40px;
  height: 40px;
  background: #121212;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .35s ease;
}
.filter button:hover{
  background: #ffffff;
  color: #121212;
}

.filter button i{
  font-size: 18px;
  margin-right: 2px;
}

.filter .sort{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.filter .sort select{
  width: 150px;
  height: 40px;
  padding: 0 15px;
  border: 1px solid #121212;
  border-radius: 5px;
  outline: none;
  font-size: 16px;
  letter-spacing: 1px;
}
.filter .sort select:focus{
  border-color: #121212;
}