/* Keep portrait packshots inside the card's square instead of growing the row. */
.product-card .card-image {
    position: relative;
    flex-shrink: 0;
    min-height: 0;
    overflow: hidden;
}

.product-card .card-image > img {
    position: absolute;
    inset: 0;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: inherit;
    object-fit: contain;
    object-position: center;
}
