/* Catalogue et fiches produits */
.catalog-intro { max-width: 64ch; color: var(--color-text-muted); }
.catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.catalog-card { gap: .65rem; }
.catalog-card h2 { margin: 0; font-size: clamp(1.17rem, 1rem + .5vw, 1.42rem); line-height: 1.4; }
.catalog-card p { margin: 0 0 .35rem; }
.catalog-card .btn { align-self: flex-start; margin-block-start: auto; }
.catalog-card__tag { color: var(--color-text-muted); font-size: .82rem; font-weight: 600; }
.product-frame {
  display: grid;
  place-items: center;
  margin: 0;
  background: #f5f7fa;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.catalog-card .product-frame { aspect-ratio: 4 / 3; margin-block-end: .4rem; }
.product-frame img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}
.product-frame--ice img { padding: .75rem; }
.product-crumb { margin-block-end: clamp(1.1rem, 3vw, 2.2rem); }
.product-detail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(1.5rem, 5vw, 4rem); }
.product-detail .product-frame { aspect-ratio: 1; border: 1px solid var(--color-border); }
.product-detail h1 { font-size: clamp(1.95rem, 1.4rem + 2.4vw, 3.05rem); }
.product-detail__lead { color: var(--color-text-muted); font-size: 1.1rem; }
.product-detail__note { max-width: 60ch; margin-block: .75rem 0; color: var(--color-text-muted); font-size: .9rem; }
.product-info { border-block-start: 1px solid var(--color-border); }
.product-info h2 { font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.95rem); }
.product-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
.product-gallery figure { margin: 0; }
.product-gallery .product-frame { display: grid; aspect-ratio: 4 / 3; }
.product-gallery figcaption { margin-block-start: .45rem; color: var(--color-text-muted); font-size: .88rem; }

@media (max-width: 900px) {
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .catalog-grid, .product-detail { grid-template-columns: minmax(0, 1fr); }
  .product-detail__copy { grid-row: 1; }
}
@media (max-width: 360px) {
  .product-gallery { grid-template-columns: minmax(0, 1fr); }
}
