.home-product-showcase {
  padding: 8px 0 38px;
}

.home-product-showcase-head {
  max-width: 820px;
  margin: 0 auto 18px;
  text-align: center;
}

.home-product-showcase-head h2 {
  margin-bottom: 7px;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.home-product-showcase-head p:last-child {
  margin: 0;
  color: var(--muted);
}

.home-product-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(100%, 1040px);
  margin-inline: auto;
}

.home-product-photo {
  display: grid;
  grid-template-rows: 210px auto;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(69, 220, 255, .25);
  border-radius: 20px;
  color: inherit;
  background: linear-gradient(180deg, rgba(14, 36, 57, .95), rgba(8, 24, 39, .98));
  box-shadow: var(--shadow);
  transition: transform .18s ease, border-color .18s ease;
}

.home-product-photo:hover {
  transform: translateY(-4px);
  border-color: rgba(69, 220, 255, .7);
}

.home-product-photo-media {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 12px 14px 3px;
  background:
    radial-gradient(circle at 50% 58%, rgba(69, 220, 255, .11), transparent 56%),
    linear-gradient(180deg, rgba(5, 16, 27, .45), transparent);
}

.home-product-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .36));
}

.home-product-photo-copy {
  display: grid;
  gap: 4px;
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(69, 220, 255, .12);
  text-align: center;
}

.home-product-photo-copy strong {
  color: #edf9ff;
  font-size: 1.02rem;
}

.home-product-photo-copy small {
  color: var(--cyan);
  font-size: .9rem;
  font-weight: 800;
}

@media (max-width: 820px) {
  .home-product-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-product-photo:last-child {
    grid-column: 1 / -1;
    width: min(100%, 510px);
    justify-self: center;
  }
}

@media (max-width: 580px) {
  .home-product-showcase {
    padding-top: 2px;
  }

  .home-product-showcase-grid {
    grid-template-columns: 1fr;
  }

  .home-product-photo,
  .home-product-photo:last-child {
    grid-column: auto;
    width: 100%;
  }

  .home-product-photo {
    grid-template-rows: 190px auto;
  }
}
