/* LS Vita 2.0 v1.7.0 — Category product image presentation only.
   No CSS changes to homepage, wishlist, checkout, sidebar or cart.
   Scoped more specifically than the historic OPC040084 v90-v124 !important rules. */

body.lsvita-opc040084 #product-category #content #product-list .product-thumb .image {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 150px !important;
  width: 100% !important;
  height: 150px !important;
  min-height: 150px !important;
  max-height: 150px !important;
  padding: 8px 12px 4px !important;
  margin: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  background: #fff;
}
body.lsvita-opc040084 #product-category #content #product-list .product-thumb .image a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
}
body.lsvita-opc040084 #product-category #content #product-list .product-thumb .image img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 138px !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 auto !important;
  border: 0 !important;
}

/* Larger centered bottle/box photos on a one-column mobile card.
   Keep the entire product visible; don't crop or stretch. */
@media (max-width: 767.98px) {
  body.lsvita-opc040084 #product-category #content #product-list .product-thumb .image {
    flex-basis: 194px !important;
    height: 194px !important;
    min-height: 194px !important;
    max-height: 194px !important;
    padding: 9px 14px 5px !important;
  }
  body.lsvita-opc040084 #product-category #content #product-list .product-thumb .image img {
    max-height: 178px !important;
    max-width: min(100%, 240px) !important;
  }
}
