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

a:link {
  text-decoration: none;
  cursor: pointer;
}

header {
  line-height: 30px;
  background-color: #000000;
  color: #fff;
  font-size: 20px;
  margin-bottom: 10px;
  text-align: center;
  text-transform: uppercase;
}

.subtitle {
  padding: 0 0.5rem 0;
  text-align: center;
}

.subtitle h4 {
  font-weight: lighter;
  font-style: italic;
  font-size: smaller;
  color: orangered;
}

.container {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  align-items: flex-start;
}

.product {
  width: 350px;
  border-radius: 8px;
  margin-bottom: 40px;
  overflow: hidden;
  align-self: flex-start;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.12), 0 2px 4px 0 rgba(0, 0, 0, 0.08);
}

.product-img {
  width: 350px;
  object-fit: scale-down;
  border-bottom: 1px solid #d6d6d6;
}

.product-img-filter-sold {
  width: 350px;
  object-fit: scale-down;
  filter: grayscale(1);
  opacity: 0.4;
  border-bottom: 1px solid #d6d6d6;
}

.product-img-filter-notavailable {
  width: 350px;
  object-fit: scale-down;
  filter: grayscale(1);
  opacity: 0.4;
  border-bottom: 1px solid #d6d6d6;
}

.product-img-filter-reserved {
  width: 350px;
  object-fit: scale-down;
  opacity: 0.4;
  border-bottom: 1px solid #d6d6d6;
  position: relative;
  z-index: 1;
}

.product h3 {
  font-size: 20px;
  text-transform: uppercase;
  margin: 18px 18px 25px 18px;
}

.product-details {
  padding: 10px;
  position: relative;
  color: #373737;
}

.product-details li {
  margin-bottom: 5px;
}

.discount {
  height: 64px;
  width: 64px;
  line-height: 64px;
  background-color: #7f1bf8;
  border-radius: 50%;
  display: inline-block;
  color: #fff;
  font-size: 24px;
  text-align: center;
  position: absolute;
  top: -48px;
  right: 10px;
}

.price {
  bottom: 0;
  height: 60px;
  line-height: 60px;
  color: #fff;
  background-color: #ffcc00;
  text-align: left;
  padding-left: 18px;
  font-size: 24px;
  width: 100%;
  cursor: pointer;
}

.available {
  position: relative;
  /* top: 200px; */
  background-color: #00b652;
  /* height: 50px; */
  width: 100%;
  color: #fff;
  line-height: 50px;
  text-align: center;
  font-size: 27px;
  /* transform: rotate(-30deg); */
}

.icon {
  width: 26px;
  height: 26px;
}

.payment {
  position: relative;
  /* top: 200px; */
  background-color: #00b652;
  /* height: 50px; */
  width: 100%;
  color: #fff;
  text-align: right;
  font-size: 24px;
  cursor: pointer;
  border: 0;
  bottom: 0;
  height: 60px;
  line-height: 60px;
  /* transform: rotate(-30deg); */
}

.sold {
  /* top: 200px; */
  background-color: #ff0000;
  /* height: 50px; */
  width: 100%;
  color: #fff;
  line-height: 50px;
  text-align: center;
  font-size: 27px;
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%, -200%);
  z-index: 2;
}

.notavailable {
  /* top: 200px; */
  background-color: gray;
  /* height: 50px; */
  width: 100%;
  color: #fff;
  line-height: 50px;
  text-align: center;
  font-size: 27px;
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%, -200%);
  z-index: 2;
}

.reserved {
  /* top: 200px; */
  background-color: #0092d6;
  /* height: 50px; */
  width: 100%;
  color: #fff;
  line-height: 50px;
  text-align: center;
  font-size: 27px;
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%, -200%);
  z-index: 2;
}

.box-price {
  display: flex;
  font-size: 18px;
}

.box {
  display: flex;
  width: 50%;
  font-size: 18px;
  background-color: #00b652;
  align-items: center;
  padding: 0 16px;
}

.product-span {
  position: relative;
}
