.products {
  padding: 0 1em;
  max-width: 1024px;
}
@media screen and (max-width: 767px) {
  .products {
    max-width: 100%;
  }
}

.products {
  padding: 0 1em;
  margin: 0 auto;
}

#module-description, .product-card-list {
  display: grid;
  gap: 1em;
}

@media screen and (min-width: 1025px) {
  .product-card-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .product-card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media screen and (max-width: 767px) {
  .product-card-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: 1rem;
  background-color: #fefefe;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.3);
}

.product-card {
  transition: all 0.3s;
}
.product-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 13.5rem;
  background-image: linear-gradient(to top right, transparent 0%, transparent 25%, white 75%, white 80%, rgba(255, 255, 255, 0.5) 100%);
  -webkit-mask-image: linear-gradient(to top, transparent 0%, white 100%);
          mask-image: linear-gradient(to top, transparent 0%, white 100%);
  pointer-events: none;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  mix-blend-mode: overlay;
  opacity: 0;
  transition: all 0.3s;
}
.product-card:hover {
  transform: scale(1.025) translateY(-0.5rem);
  box-shadow: 0 0 0.5rem 0.25rem var(--card-color);
}
.product-card:hover::after {
  opacity: 1;
}

.product-card-header {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  height: 13.5rem;
  display: grid;
  grid-template: 1fr/1fr;
  justify-content: stretch;
  align-items: stretch;
  background-color: var(--card-color);
  background-image: linear-gradient(to bottom, hsl(var(--card-color-h), var(--card-color-s), var(--card-color-l)) 0%, hsl(var(--card-color-h), var(--card-color-s), calc(var(--card-color-l) * 0.75)) 100%);
}

.product-card-icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-card-icon {
  overflow: hidden;
  background-color: #fefefe;
  background-image: var(--icon-url);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 9rem;
  aspect-ratio: 1;
  border-radius: 50%;
  flex: none;
}

.product-card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
}
.product-card-body h3 {
  text-transform: none;
  color: #222222;
  margin-bottom: 0;
  padding-left: 1rem;
  padding-right: 1rem;
}
.product-card-body h3 a {
  color: inherit;
}

.product-card-text {
  padding: 10px 1rem;
  color: #7d7d7d;
  font-size: 0.8em;
}
@media speech {
  .product-card-text {
    color: #ddd;
  }
}
.product-card-text p:first-of-type {
  margin-top: 0;
}

.product-card-actions {
  width: 100%;
  margin-bottom: 20px;
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.product-card-actions a {
  cursor: pointer;
  border: none;
  padding: 15px;
  background-color: #eeeeee;
  color: #222222;
  font-size: 60%;
  font-weight: bold;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, border-left-color 0.3s ease-in-out;
  border-left: 1px solid #fefefe;
}
@media speech {
  .product-card-actions a {
    border-left: 1px solid #222222;
  }
}
.product-card-actions a:hover {
  background-color: #4a4a4a;
  color: #ffd939;
  border-left: 1px solid #4a4a4a;
}
.product-card-actions a:first-child {
  border-top-left-radius: 0.3rem;
  border-bottom-left-radius: 0.3rem;
}
.product-card-actions a:last-child {
  border-top-right-radius: 0.3rem;
  border-bottom-right-radius: 0.3rem;
}

.product-card-list {
  background: #f5f5f5;
  padding: 50px;
  gap: 1.5rem;
}
@media screen and (max-width: 767px) {
  .product-card-list {
    padding: 10px;
    border-radius: 10px;
  }
}

.product-card-free-ribbon {
  position: absolute;
  right: -5px;
  top: -5px;
  z-index: 1;
  overflow: hidden;
  width: 75px;
  height: 75px;
  text-align: right;
}
.product-card-free-ribbon span {
  font-size: 10px;
  font-weight: bold;
  color: #fefefe;
  text-transform: uppercase;
  text-align: center;
  line-height: 20px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  width: 100px;
  display: block;
  background: #318185;
  background: linear-gradient(#48b8bd 0%, #318185 100%);
  box-shadow: 0 3px 10px -5px rgb(0, 0, 0);
  position: absolute;
  top: 19px;
  right: -21px;
}
.product-card-free-ribbon span::before, .product-card-free-ribbon span::after {
  content: "";
  position: absolute;
  left: 0px;
  top: 100%;
  z-index: -1;
  border-left: 3px solid #318185;
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #318185;
}
.product-card-free-ribbon span::before {
  left: 0px;
}
.product-card-free-ribbon span::after {
  right: 0px;
}

.products-bzmodules-heading {
  margin-top: 5rem;
}

.bz-modules-product-card-list .product-card-header {
  --card-color-s: 0%;
  --card-color-l: 50%;
  --card-color-h: 0;
}
.bz-modules-product-card-list .product-card-icon {
  background-size: contain;
}

#module-description {
  grid-template-columns: 0.5fr 1fr;
  gap: 10vw;
}
@media screen and (max-width: 767px) {
  #module-description {
    grid-template-columns: 1fr;
  }
}
#module-description img {
  width: 100%;
}
#module-description p {
  margin: 1rem 0;
  font-size: 0.9rem;
}
