/*
 * Approved catalog block retained from the existing production storefront.
 * All selectors are scoped so the official website template remains unchanged.
 */
.products--preserved-catalog {
  padding-top: 4rem;
  background: #f5f5f7;
}

.kept-catalog-heading {
  margin-bottom: 2rem;
}

.kept-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.kept-product-card {
  overflow: hidden;
  min-width: 0;
  background: #fff;
  border: 1px solid rgba(29, 29, 31, 0.06);
  border-radius: 28px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.045);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.kept-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.kept-product-card__media {
  display: block;
  margin: 16px 16px 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #f5f5f7;
}

.kept-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.kept-product-card:hover .kept-product-card__media img {
  transform: scale(1.015);
}

.kept-product-card__body {
  display: grid;
  justify-items: start;
  gap: 14px;
  padding: 18px 18px 20px;
  text-align: left;
}

.kept-product-card__body h2 {
  margin: 0;
  color: #1d1d1f;
  font-size: 1.22rem;
  line-height: 1.22;
  letter-spacing: -0.03em;
}

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

.kept-product-card__scene,
.kept-product-card__spec {
  margin: 0;
  color: #6e6e73;
}

.kept-product-card__scene {
  font-size: 0.94rem;
}

.kept-product-card__price {
  margin: 4px 0 0;
  color: #1d1d1f;
  font-size: 1.28rem;
  font-weight: 700;
}

.kept-product-card__spec {
  font-size: 0.78rem;
  line-height: 1.55;
}

.kept-product-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: #1d1d1f;
  text-decoration: none;
  border: 1px solid rgba(29, 29, 31, 0.1);
  border-radius: 999px;
  background: #fff;
  font-weight: 600;
}

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

@media (max-width: 760px) {
  .products--preserved-catalog {
    padding-top: 2.5rem;
  }

  .kept-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .kept-product-card {
    border-radius: 20px;
  }

  .kept-product-card__media {
    margin: 10px 10px 0;
  }

  .kept-product-card__body {
    gap: 10px;
    padding: 14px;
  }
}

@media (max-width: 480px) {
  .kept-catalog-grid {
    grid-template-columns: 1fr;
  }
}
