/* Remote Media Image Size Classes - Generated from view.xml */
/* Scoped to category list pages and product detail gallery only */

/* Category list page: .products-grid .product-img > img */
/* Product detail gallery: .product.media img */

/* Width classes */
.products-grid .product-img img.w52,
.product.media img.w52 { width: 52px; height: auto; }

.products-grid .product-img img.w65,
.product.media img.w65 { width: 65px; height: auto; }

.products-grid .product-img img.w75,
.product.media img.w75 { width: 75px; height: auto; }

.products-grid .product-img img.w76,
.product.media img.w76 { width: 76px; height: auto; }

.products-grid .product-img img.w78,
.product.media img.w78 { width: 78px; height: auto; }

.products-grid .product-img img.w90,
.product.media img.w90 { width: 90px; height: auto; }

.products-grid .product-img img.w100,
.product.media img.w100 { width: 100px; height: auto; }

.products-grid .product-img img.w113,
.product.media img.w113 { width: 113px; height: auto; }

.products-grid .product-img img.w120,
.product.media img.w120 { width: 120px; height: auto; }

.products-grid .product-img img.w145,
.product.media img.w145 { width: 145px; height: auto; }

.products-grid .product-img img.w152,
.product.media img.w152 { width: 152px; height: auto; }

.products-grid .product-img img.w160,
.product.media img.w160 { width: 160px; height: auto; }

.products-grid .product-img img.w240,
.product.media img.w240 { width: 240px; height: auto; }

.products-grid .product-img img.w270,
.product.media img.w270 { width: 270px; height: auto; }

.products-grid .product-img img.w285,
.product.media img.w285 { width: 285px; height: auto; }

.products-grid .product-img img.w290,
.product.media img.w290 { width: 290px; height: auto; }

.products-grid .product-img img.w300,
.product.media img.w300 { width: 300px; height: auto; }

/* Height classes */
.products-grid .product-img img.h52,
.product.media img.h52 { max-height: 52px; width: auto; }

.products-grid .product-img img.h65,
.product.media img.h65 { max-height: 65px; width: auto; }

.products-grid .product-img img.h75,
.product.media img.h75 { max-height: 75px; width: auto; }

.products-grid .product-img img.h76,
.product.media img.h76 { max-height: 76px; width: auto; }

.products-grid .product-img img.h78,
.product.media img.h78 { max-height: 78px; width: auto; }

.products-grid .product-img img.h90,
.product.media img.h90 { max-height: 90px; width: auto; }

.products-grid .product-img img.h100,
.product.media img.h100 { max-height: 100px; width: auto; }

.products-grid .product-img img.h113,
.product.media img.h113 { max-height: 113px; width: auto; }

.products-grid .product-img img.h120,
.product.media img.h120 { max-height: 120px; width: auto; }

.products-grid .product-img img.h133,
.product.media img.h133 { max-height: 133px; width: auto; }

.products-grid .product-img img.h145,
.product.media img.h145 { max-height: 145px; width: auto; }

.products-grid .product-img img.h152,
.product.media img.h152 { max-height: 152px; width: auto; }

.products-grid .product-img img.h160,
.product.media img.h160 { max-height: 160px; width: auto; }

.products-grid .product-img img.h188,
.product.media img.h188 { max-height: 188px; width: auto; }

.products-grid .product-img img.h207,
.product.media img.h207 { max-height: 207px; width: auto; }

.products-grid .product-img img.h270,
.product.media img.h270 { max-height: 270px; width: auto; }

.products-grid .product-img img.h285,
.product.media img.h285 { max-height: 285px; width: auto; }

.products-grid .product-img img.h290,
.product.media img.h290 { max-height: 290px; width: auto; }

.products-grid .product-img img.h300,
.product.media img.h300 { max-height: 300px; width: auto; }

.products-grid .product-img img.h400,
.product.media img.h400 { max-height: 400px; width: auto; }

/* When both w and h classes are present, height takes priority */
.products-grid .product-img img[class*="w"][class*="h"],
.product.media img[class*="w"][class*="h"] { width: auto; margin: 0 auto; }
