/* The product photo is a model/finish reference, never intake evidence. */
#work-order .v1-device-image.is-product-photo{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  align-self:start;
  min-width:0;
  min-height:0;
  height:158px;
  overflow:hidden;
  border:1px solid #dce5ee;
  border-radius:12px;
  background:#fff;
}
#work-order .v1-device-image.is-product-photo:not(.has-pair)>img{
  display:block;
  width:100%;
  height:100%;
  max-height:none;
  min-height:0;
  box-sizing:border-box;
  padding:4px 4px 28px;
  object-fit:contain;
  background:#fff;
  filter:none;
}
#work-order .v1-device-image.is-product-photo:not(.has-pair)>img[data-photo-zoom]{
  padding:4px 4px 28px;
  transform:none;
}
#work-order .v1-device-image-note{
  position:absolute;
  right:7px;
  bottom:7px;
  left:7px;
  z-index:1;
  padding:5px 7px;
  border-radius:7px;
  background:rgba(5,18,30,.84);
  color:#edf7ff;
  font-size:.62rem;
  font-weight:700;
  line-height:1.25;
  text-align:center;
  overflow-wrap:anywhere;
}

/* Separate manufacturer views use accurate labels for front, rear, or angle. */
#work-order .v1-device-image.has-pair{align-items:flex-start}
#work-order .v1-device-image-pair{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:5px;
  width:100%;
  height:calc(100% - 40px);
  box-sizing:border-box;
  padding:5px 7px 0;
}
#work-order .v1-device-image-view{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-width:0;
  min-height:0;
  overflow:hidden;
}
#work-order .v1-device-image.has-pair .v1-device-image-view img{
  display:block;
  width:100%;
  height:calc(100% - 15px);
  max-height:none;
  min-height:0;
  padding:0;
  object-fit:contain;
  background:#fff;
  filter:none;
}
#work-order .v1-device-image.has-pair .v1-device-image-view img[data-photo-zoom]{
  transform:none;
}
#work-order .v1-device-image-view span{
  font-size:.59rem;
  font-weight:700;
  line-height:1.15;
  color:#42576d;
  text-align:center;
}
@media(min-width:761px){
  #work-order .v1-device-card:has(.v1-device-image.is-product-photo){grid-template-columns:minmax(150px,205px) minmax(0,1fr)}
  #work-order .v1-device-image.is-product-photo{align-self:stretch;height:auto;min-height:158px;max-height:190px}
  #work-order .v1-device-image.is-product-photo:not(.has-pair)>img{position:absolute;inset:0;width:100%;height:100%}
  #work-order .v1-device-image.is-product-photo.is-portrait:not(.has-pair)>img{padding:4px 4px 28px;object-fit:contain}
  #work-order .v1-device-card:has(.v1-device-image.is-product-photo img[src*="galaxy-s24-ultra-titanium-black-front-back"]){grid-template-columns:minmax(160px,220px) minmax(0,1fr)}
  #work-order .v1-device-image.is-product-photo.is-portrait:not(.has-pair)>img[src*="galaxy-s24-ultra-titanium-black-front-back"]{padding:0 0 28px;object-fit:contain;object-position:center}
}
@media(max-width:760px){
  #work-order .v1-device-image.is-product-photo{height:155px}
}

#price-book .gc-pb-device-tile img{object-fit:contain;background:#fff;padding:3px;box-sizing:border-box}
#price-book .gc-pb-device-tile>span{min-width:0;overflow-wrap:anywhere}
#price-book .gc-pb-device-tile small{display:block;margin-top:3px;font-size:.62rem;font-weight:500;line-height:1.3;color:var(--pb-muted,#abc0d2)}
