/* =========================================================
                    Products Showcase Base
========================================================= */

#product-showcase {
  background: #f3f7f5;
}

.product-showcase-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 28px rgba(31, 41, 55, 0.07);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.product-showcase-card:hover {
  transform: translateY(-2px);
  border-color: rgba(41, 126, 87, 0.16);
  box-shadow: 0 16px 38px rgba(31, 41, 55, 0.11);
  text-decoration: none;
}

.product-showcase-media {
  position: relative;
  height: 205px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 18px;
  overflow: hidden;
}

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

.product-showcase-media-placeholder {
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.product-showcase-placeholder-inner {
  width: 100%;
  height: 100%;
  border: 1.5px dashed rgba(41, 126, 87, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.65);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #7b8b84;
  gap: 10px;
  text-align: center;
}

.product-showcase-placeholder-inner i {
  font-size: 26px;
  color: rgba(41, 126, 87, 0.55);
}

.product-showcase-placeholder-inner span {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.product-showcase-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.78);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.3px;
}

.product-showcase-body {
  padding: 17px 18px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-showcase-copy {
  min-height: 118px;
}

.product-showcase-title {
  margin: 0 0 8px 0;
  font-size: 22px;
  line-height: 1.18;
  font-weight: 700;
  color: #222;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.product-showcase-text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.62;
  color: #5f6b66;
}

.product-showcase-link {
  margin-top: auto;
  padding-top: 15px;
  font-size: 13px;
  font-weight: 700;
  color: #297e57;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.product-showcase-card:hover .product-showcase-link {
  color: #236a49;
}

@media (max-width: 1199.98px) {
  .product-showcase-media {
    height: 192px;
  }

  .product-showcase-copy {
    min-height: 126px;
  }

  .product-showcase-title {
    font-size: 21px;
  }
}

@media (max-width: 991.98px) {
  .product-showcase-media {
    height: 195px;
  }

  .product-showcase-copy {
    min-height: 110px;
  }

  .product-showcase-title {
    font-size: 20px;
  }
}

@media (max-width: 767.98px) {
  .product-showcase-media {
    height: 180px;
    padding: 14px;
  }

  .product-showcase-body {
    padding: 16px 16px 15px;
  }

  .product-showcase-copy {
    min-height: auto;
  }

  .product-showcase-title {
    font-size: 19px;
  }

  .product-showcase-text {
    font-size: 13px;
    line-height: 1.6;
  }

  .product-showcase-link {
    font-size: 13px;
  }
}

/* Products page: custom order and tags for showcase cards */
.products-page #product-showcase .product-showcase-body-custom {
  padding: 18px 18px 16px;
}

.products-page #product-showcase .product-showcase-title-custom {
  margin: 0 0 12px 0;
  text-align: center;
  font-size: 30px;
  line-height: 1.12;
}

.products-page #product-showcase .product-showcase-media {
  margin-bottom: 12px;
}

.products-page #product-showcase .product-tag-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.products-page #product-showcase .product-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.2;
  color: #3d4a44;
  background: #edf5f2;
  border: 1px solid rgba(41, 126, 87, 0.16);
}

@media (max-width: 767.98px) {
  .products-page #product-showcase .product-showcase-title-custom {
    font-size: 24px;
  }
}
