* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.row {
  margin: 0;
  padding: 0;
}
/* Start SideBar Style */
.products {
  margin-top: 60px;
}
.products .sidebar {
  padding: 60px 30px;
  /* background-color: var(--beige); */
  min-height: 100vh;
  padding-top: 20px;
}
.products .sidebar h3 {
  color: var(--green);
}
.products .sidebar label {
  font-size: 18px;
  padding: 5px 0;
  color: var(--green);
  margin-left: 5px;
}
.products .products-list {
  background-color: var(--beige);
  padding-left: 50px;
  border-radius: 30px;
}
.products .sidebar input[type="checkbox"],
.offcanvas-body input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  position: relative;
  top: 5px;
  cursor: pointer;
  border: 2px solid var(--red);
  border-radius: 4px;
  background-color: var(--beige);
  transition: background-color 0.3s, border-color 0.3s;
}
.products .sidebar input[type="checkbox"]:checked,
.offcanvas-body input[type="checkbox"]:checked {
  background-color: var(--red);
  border-color: var(--red);
}
.products .sidebar input[type="checkbox"]::after,
.offcanvas-body input[type="checkbox"]::after {
  content: "✓";
  font-weight: bold;
  color: var(--beige);
  font-size: 14px;
  position: absolute;
  top: -1px;
  left: 4px;
  display: none;
}
.products .sidebar input[type="checkbox"]:checked::after,
.offcanvas-body input[type="checkbox"]:checked::after {
  display: block;
}

/* End SideBar Style */

/* Start .offcanvas-start Style */

.offcanvas-start {
  width: 300px;
  padding-left: 10px;
}
.offcanvas-body input[type="checkbox"] {
  padding: 0;
}
.offcanvas-body label {
  font-size: 18px;
  color: var(--green);
}
.offcanvas-header {
  padding-bottom: 0;
}
.offcanvas-body {
  padding-top: 0;
}
/* End .offcanvas-start Style */

/* Start Products List */

.products-list input,
.products-list select {
  width: 300px;
  border-radius: 5px;
  outline: none;
  padding: 5px 25px;
  border: none;
  border: 2px solid #dbdbdb;
  margin: 5px 0;
}
.products-list input:focus {
  box-shadow: 0 0 10px 0 #dbdbdb;
}
.products-list select {
  width: 200px;
}
.products-list .title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 20px 0;
  position: relative;
}
.products-list .title label i {
  color: var(--gray);
  position: absolute;
  left: 10px;
  top: 17px;
}
.products-list .title button {
  display: none;
  margin-left: 10px;
  border: none;
  color: var(--beige);
  background-color: var(--red);
  padding: 5px 15px;
  border-radius: 5px;
}
.products-list .title button:hover {
  background-color: var(--green);
}
.all-products .card {
  /* background-color: var(--beige); */
  border-radius: 5px;
  border-radius: 5px;
  border: none;
  padding: 0;
  height: 400px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.all-products .card .rating {
  background-color: var(--beige);
  padding: 2px 5px;
  border-radius: 5px;
  z-index: 3;
  position: absolute;
  top: 20px;
  left: 10px;
  opacity: 0;
  transition: 0.3s;
}
.all-products .card .rating i.full {
  color: rgb(255, 225, 0);
}
.all-products .card .rating i.empty {
  color: rgb(218, 218, 218);
}
.all-products .card:hover .rating {
  opacity: 1;
}
.all-products .card .icons {
  margin: 10px;
  border-radius: 5px;
  padding: 5px 10px;
  background-color: var(--beige);
  color: var(--red);
  z-index: 3;
  position: absolute;
  right: -100%;
  transition: 0.5s;
}
.all-products .card .icons a {
  display: block;
  margin: 10px 0;
  color: var(--red);
  transition: 0.3s;
}
.all-products .card:hover .icons {
  right: 0px;
}
.all-products .card .icons a:hover {
  color: var(--green);
}
.all-products .images img:hover.back {
  opacity: 0;
}
.all-products .images img:hover.front {
  transform: scale(1.05);
}
.all-products .images {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
}
.all-products .card .images img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: 0.7s;
  position: absolute;
}
.all-products .card p {
  width: 100%;
  font-size: 20px;
  text-align: center;
  position: absolute;
}
.all-products .card p.name {
  bottom: 50px;
}
.all-products .card p.price {
  color: var(--red);
  bottom: 20px;
  font-size: 18px;
}
.all-products .card p.price span.sale {
  font-size: 17px;
  color: var(--gray);
  text-decoration: line-through;
}
.all-products .card .colors {
  width: 100%;
  display: flex;
  justify-content: center;
  position: absolute;
  bottom: 5px;
  left: 0;
  right: 0;
}
.all-products .card .colors img {
  border-radius: 50%;
  margin: 2px;
  border: 3px solid var(--green);
  width: 25px;
  height: 25px;
  object-fit: cover;
}
.all-products .card .colors img.sold-out {
  opacity: 0.7;
}
.all-products .card .colors div.sold-out {
  width: fit-content;
  position: relative;
}
.all-products .card .colors div.sold-out::after {
  content: "";
  width: 25px;
  height: 2px;
  margin-inline: auto;
  background-color: var(--red);
  transform: rotate(45deg);
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
}
.all-products .card .colors img.active {
  transform: scale(1.2);
  border-color: var(--red);
}
/* End Products List */

/* start pages style */
.pages {
  width: fit-content;
  margin-inline: auto;
  margin-bottom: 20px;
  margin-top: 20px;
}
.pages button {
  height: 35px;
  border: 1px solid var(--red);
  outline: none;
  margin-left: 5px;
  margin-bottom: 10px;
  padding: 5px 15px;
  font-size: 15px;
  font-weight: bold;
  border-radius: 5px;
  background-color: #fff;
  color: var(--red);
  transition: 0.3s;
}
.pages button:hover,
.pages button.active {
  background-color: var(--red);
  color: #fff;
}
/* end pages style */

/* Responsive Style */

@media (max-width: 992px) {
  .sidebar {
    display: none;
  }
  .products-list .title button {
    display: block;
  }
  .products-list .title {
    justify-content: center;
  }
  .products-list .title label i {
    display: none;
  }
  .products-list .all-products {
    display: flex;
    justify-content: center;
  }
}
@media (max-width: 552px) {
  .products .products-list {
    padding-left: 0;
  }
  .products-list .title label i {
    display: block;
  }
  .products-list .title {
    justify-content: flex-start;
    margin-left: 20px;
  }
  .products-list .title button,
  .products-list .title input,
  .products-list .title select {
    margin-left: 0;
  }
}
