.title {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 8px;
}
.title h1 {
  color: #343434;
  font-family: "poppins", sans-serif;
  width: fit-content;
  font-size: 23px;
}

.title div {
  width: 12px;
  height: 50px;
  background-color: #c3262d;
  margin-left: 40px;
  border-top-left-radius: 1000px;
  border-bottom-right-radius: 1000px;
}

.categories {
  display: flex;
  gap: 20px;
}
.category:first-child {
  margin-left: 30px;
}
.category {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px 20px;
  border: 1px solid #ddd;
  border-radius: 20px;
  background-color: #f5f5f5;
  color: #555;
  font-size: 13px;
  font-weight: 550;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.category.active {
  background-color: #f8e2e2;
  color: #d33;
  border: 1px solid #d33;
  font-weight: 800;
}

.category:hover {
  background-color: #e9e9e9;
}

#products {
  margin: 20px 100px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* Latest Card Styles */

.latestCard {
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
  background-color: white;
  border-radius: 20px;
  box-sizing: border-box;
  min-width: 300px;
  max-width: 300px;
  min-height: 500px;
  max-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #2c2c2c;
  transition: all 0.5s;
  padding: 10px;
  position: relative;
}

.latestCard:hover {
  scale: 1.03;
}

.latestCard_Thumb {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.latestCard_Top {
  display: flex;
  font-size: 18px;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  font-weight: 520;
}

.latestCard span {
  max-height: 30px;
  overflow: hidden;
}

.latestCard_OverView {
  overflow: hidden;
  font-size: 14px;
}

.latestCard_BrandCategoryStock {
  overflow: hidden;
  height: 20px;
  font-size: 14px;
  gap: 5px;
  width: 100%;
  display: flex;
  justify-content: left;
  align-items: center;
  font-weight: 500;
}

.latestCard_AddToCart {
  color: white;
  padding: 10px 30px;
  font-weight: 550;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 20px;
  border: none;
  transition: all 0.5s;
  background-color: #c3262d;
  width: 100%;
}

.latestCard_AddToCart:hover {
  background-color: #7f1116;
}

/* Sale Badge */
.saleBadge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #f8e2e2;
  color: #d33;
  font-size: 12px;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 50px;
}
