/* Whole original figure photos, on desktop and mobile. Scoped to figure pages only. */
.catalog .product-card>a:first-child img,
body:is(.gn-detail--shellie,.gn-detail--cow,.gn-detail--penguin) :is(.gn-product-hero__image,.gn-story__visual,.gn-order__image,.gn-cross-sell,.gn-gallery__main,.gn-gallery__thumb,.gn-cow-variant) img {
  object-fit:contain !important;
  object-position:center;
  background:#f1eeea;
}
/* Preserve the full natural photo in the large editorial panels. */
body:is(.gn-detail--shellie,.gn-detail--cow,.gn-detail--penguin) :is(.gn-product-hero__image,.gn-story__visual) img {
  height:auto;
  aspect-ratio:auto;
}
/* Hover must not enlarge the photo beyond its frame. */
body:is(.gn-detail--shellie,.gn-detail--cow,.gn-detail--penguin) .gn-gallery__main:hover img {transform:none}

/* Keep photo captions clear of the full original image. */
.gn-detail .gn-product-hero__image>img{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain!important}
.gn-detail .gn-product-hero__image>span{position:static;display:block;margin:0;padding:10px 14px;border-radius:0;text-align:center}
.gn-detail .gn-gallery__main{padding-bottom:40px}
.gn-detail .gn-gallery__main img{height:100%;object-fit:contain!important}
.gn-detail .gn-gallery__main .gn-gallery__tag,.gn-detail .gn-gallery__main .gn-gallery__zoom{bottom:10px}
.gn-detail .gn-gallery__thumb img{object-fit:contain!important}
