/* INKSUB cart-only slider: two cards on desktop, one on small screens. */
body.woocommerce-cart .wc-block-cart-item__product > .inksub-cart-gallery {
  display: block !important;
  width: min(100%, 520px);
  max-width: 520px;
  margin: 10px 0 12px;
  clear: both;
}
body.woocommerce-cart .inksub-cart-gallery .inksub-gallery {
  --inksub-desktop: 2 !important;
  --inksub-tablet: 2 !important;
  --inksub-mobile: 1 !important;
  --inksub-gap: 12px !important;
  width: 100%;
}
body.woocommerce-cart .inksub-cart-gallery .inksub-gallery-slide img {
  max-width: 100%;
  max-height: 185px;
  object-fit: contain;
}
body.woocommerce-cart .inksub-cart-gallery .inksub-gallery-viewport {
  min-width: 0;
}
/* Keep Woo Cart quantity, item name, price and thumbnail untouched. */
@media (max-width: 600px) {
  body.woocommerce-cart .wc-block-cart-item__product > .inksub-cart-gallery {
    width: 100%;
    margin: 8px 0;
  }
  body.woocommerce-cart .inksub-cart-gallery .inksub-gallery-slide img { max-height: 170px; }
}
