body {
  margin: 0;
  font-family: "Quicksand", sans-serif;
}

.cart-container {
  display: grid;
  grid-template-columns: 5fr 2fr;
}

.main {
  display: flex;
}

.main-right {
  /* background-color: rgb(238, 238, 238); */
  width: 100%;
}

.main-right-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 2% 40px;
  box-sizing: border-box;
}

.main-title {
  font-size: 38px;
  font-weight: 600;
  padding-left: 20px;
}

.title-row {
  font-size: 24px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  padding-left: 20px;
  align-items: center;
  padding: 0 6.25%;
}

/*chatgpt css*/
/* General Styling */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
}

.main-right {
  background-color: #ffffff;
  border-radius: 8px;
}

.title-row {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333333;
  text-align: center;
}

.product-section {
  /* width: 85%; */
  /* background-color: #f5f5f5;  */
  /* padding: 2%; */
  padding-bottom: 50px;
}

.product-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 20px;
  grid-auto-flow: row;
  box-sizing: border-box;
}

.adv-search-section {
  min-width: 17%;
  padding: 20px 0px;
  font-family: "Quicksand", sans-serif;
  /* border-right: 1.5px solid rgb(210, 210, 210); */
  margin-right: 20px;
  position: sticky;
  top: 70px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  /* background-color: #858585; */
}

.right-bottom {
  display: flex;
  justify-content: center;
  box-sizing: border-box;
}

.product-cards a {
  text-decoration: none;
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*PRODUCT CARD STARTS*/
.original-price {
  text-decoration: line-through;
  color: rgb(88, 88, 88);
  font-size: 14px;
}

.product-card {
  font-family: "Quicksand", sans-serif;
  max-width: 300px;
  border: 1px solid lightgray;
  border-radius: 5px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  box-sizing: border-box;
  height: 100%;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  box-sizing: border-box;
  position: relative;
  height: 100%;
}

.product-card:hover {
  transform: scale(1.01);
  /* box-shadow: 0 0 4px 0px rgb(129, 129, 129); */
  transition: all 200ms;
}

.product-image {
  background-color: rgb(233, 231, 231);
  height: 280px;
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  margin-bottom: 5px;
}

.product-image img {
  height: 280px;
}

.product-pricing {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
}

.product-rating {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.product-title {
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  -webkit-line-clamp: 2;
  overflow: hidden;
  /* white-space: nowrap; */
  font-size: 20px;
  font-weight: 600;
}

.review-count {
  color: #a7a7a7;
}

.total-stock {
  color: #ff5555;
  font-weight: 600;
}

/*PRODUCT CARD ENDS*/

.search-bar {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 5px;
}

input#search {
  flex: 1;
  padding: 5px 40px 5px 10px;
  border: none;
  outline: none;
}

.search-bar .search-button,
.search-bar .clear-button {
  position: absolute;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.search-bar .search-button {
  right: 5px;
}

.search-bar .clear-button {
  right: 35px;
  display: none;
}

.search-bar .clear-button span,
.search-bar .search-button span {
  font-size: 20px;
  color: #555;
}

#sort {
  width: 180px;
  height: 35px;
  border-radius: 5px;
}

.sort-section {
  padding-bottom: 20px;
  border-bottom: 1.5px solid rgb(210, 210, 210);
}

.sort-section select {
  width: 100%;
  border: 1px solid lightgray;
}

.sort-button,
.filter-button {
  height: 35px;
  border-radius: 5px;
  border: 0;
  color: white;
  width: 50px;
  background-color: rgb(57, 122, 233);
}

.sort-button:hover,
.filter-button:hover {
  background-color: rgb(52, 112, 217);
}

.sort-button:active,
.filter-button:active {
  background-color: rgb(48, 104, 200);
}

.sort-title,
.filter-title {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 20px;
}

hr {
  margin: 20px 10px 20px 0px;
}

.filter-section {
  padding-top: 20px;
}

.filter-section ul {
  margin-top: 0;
  list-style: none;
  padding: 0;
  font-size: 18px;
}

.filter-section li {
  padding-bottom: 5px;
  text-transform: capitalize;
}

.filter-subtitle {
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 18px;
  color: rgb(86, 86, 86);
}

.view-details-button {
  width: 100%;
  border: 1px solid;
  padding: 10px;
  border-radius: 2px;
  background-color: white;
  color: black;
  font-family: "Quicksand", sans-serif;
  cursor: pointer;
}

.view-details-button:hover {
  background-color: rgb(41, 41, 41);
  color: white;
  font-weight: 800;
}