* {
  box-sizing: border-box;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande',
    'Lucida Sans', Arial, sans-serif;
}

body {
  margin: 0;
  overflow-x: hidden;
}
.main {
  position: relative;
  left: 0;
  transition: all ease-in 0.3s;
}
.main.open {
  left: 275px;
  transition: all ease-in 0.3s;
}
.container {
  margin: 0 auto;
  width: 95%;
  position: relative;
}
.header {
  position: relative;
  text-align: center;
}

.header h1 {
  font-size: 60px;
}

.heart {
  background-color: red;
  height: 10px;
  transform: rotate(-45deg);
  width: 10px;
}

.heart:before,
.heart:after {
  content: '';
  background-color: red;
  border-radius: 50%;
  height: 10px;
  position: absolute;
  width: 10px;
}

.heart:before {
  top: -5px;
  left: 0;
}
.search-bar {
  display: flex;
  justify-content: center;
}

#searchForm {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

#searchForm input {
  width: 650px;
  height: 40px;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #888;
  border-right: none;
}
#searchForm button {
  width: 40px;
  height: 40px;
  padding: 10px;
  border: 1px solid #888;
  border-left: none;
  position: absolute;
  background: none;
  cursor: pointer;
  right: 0;
  top: 0;
}

#searchForm button::before {
  content: '';
  position: absolute;
  left: 1px;
  top: 5px;
  right: 0;
  width: 20px;
  height: 20px;
  border-radius: 20px;
  border: 2px solid #333;
}

#searchForm button::after {
  content: '';
  position: absolute;
  top: 25px;
  width: 7px;
  height: 2px;
  background-color: #333;
  transform: rotate(45deg);
}

#searchForm:focus input {
  border-color: #ec7a5c;
}

.favourite {
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  cursor: pointer;
}
.favourite-holder {
  position: relative;
  top: -5px;
  padding-left: 10px;
}
.product-section {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: auto;
  grid-gap: 1rem;
}

.filter-section {
  display: flex;
  justify-content: space-between;
  margin: 2rem 0;
}
.filter {
  position: relative;
}
.filter-trigger {
  display: inline-block;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: bold;
}
.filter span {
  position: relative;
  top: -5px;
  width: 10px;
  height: 1px;
  background-color: #000;
  display: inline-block;
}
.filter span::before {
  content: '';
  position: absolute;
  top: -3px;
  width: 8px;
  height: 1px;
  background-color: #000;
}
.filter span::after {
  content: '';
  position: absolute;
  bottom: -3px;
  width: 10px;
  height: 1px;
  background-color: #000;
}

.sortby label {
  font-weight: bold;
  text-transform: uppercase;
  font-weight: 12px;
}

.overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transition: all ease-in 0.3s;
}
.overlay.open {
  opacity: 1;
  visibility: visible;
  transition: all ease-in 0.3s;
}
.filter-content {
  position: fixed;
  left: -275px;
  top: 0;
  width: 275px;
  height: 100%;
  padding: 30px;
  z-index: 2;
  background-color: #fff;
  transition: all ease-in 0.3s;
}
.filter-content.open {
  left: 0;
  transition: all ease-in 0.3s;
}
.filter-content h2 {
  font-size: 16px;
  text-transform: uppercase;
}
.categories_list label {
  text-transform: capitalize;
}

.categories_list .category {
  padding: 5px 0;
}

.product-img {
  height: 250px;
}

.product img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  padding: 10px;
  background-color: #f3f3f3;
  border: 1px solid #eee;
}

.product h2 {
  font-size: 14px;
  font-weight: normal;
  min-height: 32px;
  margin-bottom: 2px;
}

.product h3 {
  font-size: 16px;
  margin-top: 10px;
}

.product button {
  border: none;
  cursor: pointer;
  background: none;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: bold;
  color: #ec7a5c;
}

.product button:hover {
  opacity: 0.6;
}

.product h5 {
  margin: 0;
  font-size: 12px;
  color: #999;
}

.product h6 {
  display: inline-block;
  margin: 0;
  text-transform: capitalize;
  background-color: #ec7a5c;
  color: #fff;
  padding: 2px 10px;
}
