.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 390px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line, #e4e7ec);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 3px 14px #1015260a;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.product-card:hover { border-color: #d4d9e2; box-shadow: 0 10px 28px #10152614; transform: translateY(-2px); }

.product-card .product-image {
  display: grid;
  flex: 0 0 205px;
  height: 205px;
  place-items: center;
  padding: 14px;
  text-decoration: none;
}

.product-card .product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card .image-fallback {
  display: grid;
  width: 85%;
  height: 85%;
  place-items: center;
  border-radius: 24px;
  background: linear-gradient(145deg, #fafafa, #eceef1);
  color: #89909c;
  text-align: center;
  font-size: .65rem;
}

.product-card .image-fallback > span,
.product-card .brand {
  display: none;
}

.product-card .product-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0 14px 12px;
  background: #fff;
}

.product-card h2 {
  display: -webkit-box;
  min-height: 2.6em;
  margin: 0 0 6px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: .89rem;
  line-height: 1.25;
}

.product-card h2 a {
  color: inherit;
  text-decoration: none;
}

.product-card .features {
  min-height: 35px;
  margin: 0;
  color: #5d687c;
  font-size: .7rem;
}

.product-card .price-block {
  margin-top: auto;
}

.product-card .price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 7px;
  margin: 8px 0 7px;
}

.product-card .price span {
  flex-basis: 100%;
  color: #657086;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.product-card .price strong { color: var(--ink, #101526); font-size: 1.55rem; font-weight: 900; letter-spacing: -.035em; }

.product-card .price small {
  margin-left: 8px;
  font-size: .63rem;
  font-weight: 500;
}

.product-card .unavailable {
  font-size: .76rem;
  font-weight: 700;
}

.product-card .compare {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-radius: 20px;
  background: linear-gradient(110deg, var(--orange2, #ff6400), var(--orange, #ff4b00));
  color: #fff;
  padding: 9px;
  text-decoration: none;
  font-size: .72rem;
  font-weight: 750;
}

@media (max-width: 1280px) {
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .product-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    min-height: 162px;
    border-radius: 9px;
  }

  .product-card .product-image {
    grid-row: 1;
    height: 125px;
    padding: 9px;
  }

  .product-card .product-copy {
    grid-column: 2;
    grid-row: 1;
    padding: 11px 9px 8px;
  }

  .product-card h2 {
    padding-right: 24px;
    font-size: .78rem;
  }

  .product-card .features {
    min-height: 0;
    margin-bottom: 2px;
    overflow: hidden;
    font-size: .65rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .product-card .price-block {
    margin-top: 2px;
  }

  .product-card .price {
    margin: 2px 0;
    font-size: 1rem;
  }

  .product-card .price strong { font-size: 1.2rem; }

  .product-card .compare {
    padding: 7px;
    font-size: .67rem;
  }

}
