/* 2026-11-08: product cards - size the title and price rows to their content so
   the price never draws over the title. Separate file so Cloudflare serves it fresh. */
.centerBoxContentsNew .margin_col,
.centerBoxContentsSpecials .margin_col,
.centerBoxContentsFeatured .margin_col,
.specialsListBoxContents .margin_col,
.centerBoxContents .margin_col {
  grid-template-rows: max-content max-content 1fr auto !important;
}

/* 2026-11-08: show the whole cover in product cards (was object-fit: cover,
   which cropped the top and bottom of tall book covers). */
.centerBoxContentsNew .margin_col .img img,
.centerBoxContentsSpecials .margin_col .img img,
.centerBoxContentsFeatured .margin_col .img img,
.specialsListBoxContents .margin_col .img img,
.centerBoxContents .margin_col .img img {
  object-fit: contain !important;
}

/* 2026-11-08: category listing pages - show the whole cover in its 206x360 box
   instead of cropping it (was object-fit: cover). */
img.listingProductImage,
.tabTable .listingProductImage,
.tabTable .productListing-data img.listingProductImage,
#productListing .listingProductImage {
  object-fit: contain !important;
}
