.latest-products {
  position: relative;
  overflow: hidden;
  max-width: min(100%, var(--site-max-width, 1400px));
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border: 1px solid var(--line-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--panel-shadow-soft), var(--panel-shadow-inset);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--secondary-color) 94%, transparent), color-mix(in srgb, var(--primary-color) 94%, transparent)),
    radial-gradient(circle at top right, var(--accent-soft-color), transparent 40%);
}

.latest-products .description,
.category,
.annual-fee,
.read-more,
.product-card p {
  color: var(--muted-text-color);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.product-card {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-color);
  background: color-mix(in srgb, var(--primary-color) 22%, transparent);
  box-shadow: var(--panel-shadow-soft);
}

.product-card img,
.product-card .logo {
  width: 100%;
  height: 13rem;
  border-radius: var(--radius-md);
  object-fit: cover;
  margin-bottom: 1rem;
}

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

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