/* Preserve card geometry while displaying complete product artwork, including embedded text. */
body .list .list-img, body.mall-catalog-page .list .list-img,
body .goods-sort-list-img, body .m2-result-card img, body .m3-result-card img,
body .rank-picture>img, body .promo-photo>img,
body .list-goods-img, body .size-goods-img, body .size-goods-simg,
body .total-box .total-img, body .succeed-goods-img,
body .recommend-details-img, body .discuss-goods-img,
body .order-good img, body .history-grid img, body .cart-recommendation-card>img,
body .checkout-extra-row>img, body .order-info-img, body #product img, body .sheet-list img,
body .sort>img, body .goods-sort-img {
  object-fit:contain!important;object-position:center!important;
}
body .list .list-img, body .goods-sort-list-img, body .m2-result-card img,
body .m3-result-card img, body .rank-picture>img, body .promo-photo>img {
  display:block;max-width:100%;background:#fff;
}
.mall-product-notice {margin:0;padding:10px 14px;background:#fff8e9;color:#9a6726;
  font-size:14px;line-height:1.6;overflow-wrap:anywhere;white-space:pre-wrap;flex-shrink:0;}
@media(min-width:768px){.mall-product-notice{font-size:18px;padding:12px 20px;}}

/* Preserve the image aspect ratio rather than placing portrait artwork in a square. */
body .cart-recommendation-card>img {height:auto!important;aspect-ratio:auto!important;}
body .cart-recommendations-grid {align-items:start;}
#app.mall-template2 .goods-sort-list-img,#app.mall-template3 .goods-sort-list-img,body .m2-result-card img,body .m3-result-card img {height:auto!important;aspect-ratio:auto!important;}
