/* v31: preserve photographic geometry and use the same visual scale by device type.
   No source photograph is stretched, rotated or destructively cropped. */
img{image-orientation:from-image}
.corp-card-media img,
.equipment-stage .equipment-object>img,
.legacy-document .equipment-stage .equipment-object>img,
.corp-compare-table .equipment-stage .equipment-object>img,
.corp-hero-visual.object.equipment-stage .equipment-object>img{
  aspect-ratio:auto;
}

/* The square card reset used to override intrinsic image proportions inside
   measured object frames. Keep the frame ratio and the photo ratio separate. */
.equipment-stage .equipment-object>img{height:auto;object-fit:contain;transform:none}
.equipment-stage .equipment-object{isolation:isolate}

/* Small plate scales and compact packing scales must not appear as tall as
   full-height self-service or suspended models. Keep the shared card canvas. */
.equipment-stage.equipment-size-plate{--equipment-card-height:140px;--equipment-hero-height:235px;--equipment-gallery-height:180px}
.equipment-stage.equipment-size-portion{--equipment-card-height:160px;--equipment-hero-height:265px;--equipment-gallery-height:200px}
.equipment-stage.equipment-size-packing{--equipment-card-height:190px;--equipment-hero-height:330px;--equipment-gallery-height:220px}
.equipment-stage.equipment-size-counter{--equipment-card-height:250px;--equipment-hero-height:430px;--equipment-gallery-height:270px}
.equipment-stage.equipment-size-floor{--equipment-card-height:230px;--equipment-hero-height:420px;--equipment-gallery-height:265px}
.equipment-stage.equipment-size-wrapper{--equipment-card-height:255px;--equipment-hero-height:450px;--equipment-gallery-height:280px}

/* Product explanation blocks used an old 140/180px width regardless of device. */
.media-v31-device-stage{
  width:100%;height:420px;min-height:0;flex:none;padding:14px;
  display:flex;align-items:center;justify-content:center;
  background:transparent;border:0;border-radius:0;
}
.media-v31-device-stage>.equipment-object{width:min(96%,calc(var(--equipment-hero-height) * var(--equipment-ratio)))}
.equipment-visual>.media-v31-device-stage{height:440px}
.equipment-visual>.media-v31-device-stage.equipment-kind-self-checkout{--equipment-hero-height:405px}
.equipment-visual>.media-v31-device-stage.equipment-kind-scales:not(.equipment-size-plate):not(.equipment-size-portion){--equipment-hero-height:385px}
.equipment-visual>.media-v31-device-stage.equipment-kind-displays{--equipment-hero-height:395px}
.equipment-visual>.media-v31-device-stage.equipment-kind-robots{--equipment-hero-height:350px}
.w-device{height:auto;min-height:0;padding:24px}
.w-device>.media-v31-device-stage{height:500px;min-height:0}
.w-device>.media-v31-device-stage.equipment-kind-scales:not(.equipment-size-plate){--equipment-hero-height:460px}
.w-device:has(.equipment-size-plate)>.media-v31-device-stage{height:320px}
.product-object>.media-v31-device-stage,.solution-object>.media-v31-device-stage{height:350px;padding:10px;--equipment-hero-height:320px}
.product-object,.solution-object{min-width:0}

/* Photos stay level while hover still gives a clear link cue. The store's
   deliberate CSS 3D diagram is not a photograph and keeps its perspective. */
html.ex-motion .ex-home .card[data-tilt-active]{transform:none!important}
.ex-home .card{--ex-rx:0deg!important;--ex-ry:0deg!important}

/* Editorial images and screenshots preserve their full content. Fixed card
   crops are restricted to actual editorial photo thumbnails. */
.legacy-document .legacy-src-photo-gallery__grid{align-items:start}
.legacy-document .legacy-src-photo-gallery__item{min-width:0;margin:0}
.legacy-document .legacy-src-photo-gallery__grid img{
  display:block;width:100%;height:300px;max-height:300px;object-fit:contain;
  aspect-ratio:auto;object-position:center;padding:0;margin:0;border-radius:10px;
  background:#f5f8fc;
}
.w-screen-grid img,.w-split img,.commerce-gallery img{aspect-ratio:auto;object-fit:contain}
.w-case figure{display:flex;align-items:center;justify-content:center;min-height:260px}
.w-case figure img{width:100%;height:260px;object-fit:contain;aspect-ratio:auto;object-position:center}

@media(max-width:800px){
  .media-v31-device-stage,.equipment-visual>.media-v31-device-stage{height:365px}
  .equipment-visual>.media-v31-device-stage.equipment-kind-self-checkout{--equipment-hero-height:335px}
  .equipment-visual>.media-v31-device-stage.equipment-kind-scales:not(.equipment-size-plate):not(.equipment-size-portion){--equipment-hero-height:320px}
  .equipment-visual>.media-v31-device-stage.equipment-kind-displays{--equipment-hero-height:325px}
  .equipment-visual>.media-v31-device-stage.equipment-kind-robots{--equipment-hero-height:295px}
  .product-object>.media-v31-device-stage,.solution-object>.media-v31-device-stage{height:260px;--equipment-hero-height:240px}
  .legacy-document .legacy-src-photo-gallery__grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}
}
@media(max-width:540px){
  .media-v31-device-stage,.equipment-visual>.media-v31-device-stage{height:320px;padding:10px}
  .equipment-visual>.media-v31-device-stage.equipment-kind-self-checkout{--equipment-hero-height:295px}
  .equipment-visual>.media-v31-device-stage.equipment-kind-scales:not(.equipment-size-plate):not(.equipment-size-portion){--equipment-hero-height:280px}
  .equipment-visual>.media-v31-device-stage.equipment-kind-displays{--equipment-hero-height:290px}
  .equipment-visual>.media-v31-device-stage.equipment-kind-robots{--equipment-hero-height:260px}
  .w-device{padding:16px}
  .w-device>.media-v31-device-stage{height:350px;min-height:0}
  .w-device>.media-v31-device-stage.equipment-kind-scales:not(.equipment-size-plate){--equipment-hero-height:320px}
  .w-device:has(.equipment-size-plate)>.media-v31-device-stage{height:270px}
  .legacy-document .legacy-src-photo-gallery__grid img{height:260px;max-height:260px}
}
/* generated comparison scale rules */
.corp-compare-table .equipment-stage:has(img[src="/assets/legacy/0bf428d99aa032486e4d0419.webp"]),.corp-compare-table .equipment-stage:has(img[src="/assets/legacy/c121ed17b5df5c43604201bb.webp"]),.corp-compare-table .equipment-stage:has(img[src="/assets/legacy/1ed69ea7ecae5b7ad68fe643.webp"]),.corp-compare-table .equipment-stage:has(img[src="/assets/weighing-v29/cricket.png"]){--equipment-card-height:140px;--equipment-hero-height:235px;--equipment-gallery-height:180px}
.corp-compare-table .equipment-stage:has(img[src="/assets/catalog/dp-ant.png"]),.corp-compare-table .equipment-stage:has(img[src="/assets/legacy/94a3ab5977c95e3b11cd6390.webp"]){--equipment-card-height:160px;--equipment-hero-height:265px;--equipment-gallery-height:200px}
.corp-compare-table .equipment-stage:has(img[src="/assets/legacy/b42a77d10d3991f38b95e3b9.webp"]),.corp-compare-table .equipment-stage:has(img[src="/assets/legacy/3ca8251f34bbb50d64faa4e3.webp"]){--equipment-card-height:190px;--equipment-hero-height:330px;--equipment-gallery-height:220px}
.corp-compare-table .equipment-stage:has(img[src="/assets/legacy/1c9c47a8f5de0ef6ac149fc4.webp"]),.corp-compare-table .equipment-stage:has(img[src="/assets/catalog/dp-kite-m-v35.png"]),.corp-compare-table .equipment-stage:has(img[src="/assets/legacy/452f737a19ce7797da4fb2a6.webp"]),.corp-compare-table .equipment-stage:has(img[src="/assets/legacy/422e49d69c13ca396c751592.webp"]),.corp-compare-table .equipment-stage:has(img[src="/assets/legacy/c3bbdb5bb3aa28b97a896b9b.webp"]),.corp-compare-table .equipment-stage:has(img[src="/assets/legacy/31e194b6690e52e9132c6aed.webp"]){--equipment-card-height:250px;--equipment-hero-height:430px;--equipment-gallery-height:270px}
.corp-compare-table .equipment-stage:has(img[src="/assets/legacy/e7439dfed80e159d265e3651.webp"]),.corp-compare-table .equipment-stage:has(img[src="/assets/legacy/264a8086942d2685c07da3ce.webp"]),.corp-compare-table .equipment-stage:has(img[src="/assets/legacy/fc78a7ad611944c9de0dfe70.webp"]),.corp-compare-table .equipment-stage:has(img[src="/assets/legacy/94693f4d454441963fc9a7aa.webp"]),.corp-compare-table .equipment-stage:has(img[src="/assets/legacy/367cdd1238b2464a61f05786.webp"]){--equipment-card-height:230px;--equipment-hero-height:420px;--equipment-gallery-height:265px}
.corp-compare-table .equipment-stage:has(img[src="/assets/legacy/a722523f7ffd628c84aa7775.webp"]){--equipment-card-height:255px;--equipment-hero-height:450px;--equipment-gallery-height:280px}
