@font-face {
  font-family: "Roboto";
  src: url("vendor/fonts/roboto-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("vendor/fonts/roboto-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

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

header {
  line-height: 32px;
  background-color: #000000;
  color: #fff;
  font-size: 20px;
  margin-bottom: 8px;
  text-align: center;
}

.subtitle {
  padding: 0 8px;
  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;
  gap: 24px;
}

.product {
  width: 352px;
  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-header {
  position: relative;
  display: block;
}

.product-img,
.product-img-filter-sold,
.product-img-filter-notavailable,
.product-img-filter-reserved {
  display: block;
  width: 352px;
  object-fit: scale-down;
}

.product-line {
  height: 1px;
  border-bottom: 1px solid #d6d6d6;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}


.product-img-filter-sold,
.product-img-filter-notavailable {
  filter: grayscale(1) opacity(40%);
}

.product-img-filter-reserved {
  filter: opacity(40%);
}

.product h3 {
  font-size: 20px;
  margin: 16px 16px 24px;
}

.product-details {
  padding: 8px;
  color: #373737;
}

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

.discount {
  height: 60px;
  width: 72px;
  position: absolute;
  top: 0;
  right: 0;
  border-bottom-left-radius: 50%;
  flex-direction: column;
  align-items: center;
  display: flex;
  justify-content: center;
  z-index: 2;
}

.discount div {
  color: #fff;
  font-size: 24px;
}

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

.payment {
  background-color: #00b652;
  width: 100%;
  color: #fff;
  text-align: right;
  font-size: 24px;
  border: 0;
  bottom: 0;
  height: 64px;
  line-height: 64px;
}

.available,
.sold,
.notavailable,
.reserved {
  width: 100%;
  color: #fff;
  line-height: 48px;
  text-align: center;
  font-size: 24px;
}

.available {
  background-color: #00b652;
}

.sold {
  background-color: #ff0000;
}

.notavailable {
  background-color: gray;
}

.reserved {
  background-color: #0092d6;
}

.product-footer {
  display: flex;
  font-size: 16px;
}

.price {
  bottom: 0;
  min-height: 64px;
  color: #fff;
  text-align: left;
  padding-left: 16px;
  font-size: 24px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.original-price {
  font-size: 14px;
  line-height: 16px;
  opacity: 0.9;
}

.price-label {
  text-decoration: none;
}

.original-price-value {
  text-decoration: line-through;
}

.current-price {
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
}

.current-price-value {
  font-weight: 700;
}

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