
/* TEMSAH V27 - Unified square card media (1:1), including editorial cards. */
/* Product cards appear in home sliders, catalogs, searches and related sections. */
.product-card .card-image .cover {
  box-sizing: border-box;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  min-height: 0;
}
.product-card .card-image .cover-window {
  max-width: 100%;
  max-height: 100%;
}
/* Editorial cards: the image frame is square at every breakpoint. */
.article-card .article-image {
  box-sizing: border-box;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.article-card .article-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Mini product thumbnails in cart and similar row-based listings. */
.cart-thumb {
  aspect-ratio: 1 / 1;
  height: auto;
  overflow: hidden;
}
.cart-thumb .cover {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
}
/* Product/media images added later inside cards inherit the square crop. */
.product-card .card-image > img,
.article-card .article-image > img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
}
