.ingo-ow-gallery {
  display: inline-flex;
  vertical-align: middle;
}

.ingo-ow-thumb {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 32px;
  overflow: hidden;
  border-radius: 4px;
  background: #f1f3f4;
}

.ingo-ow-thumb img,
.ingo-ow-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ingo-ow-thumb img {
  z-index: 2;
  display: block;
  object-fit: cover;
  opacity: 0;
  transition: opacity .22s ease;
}

.ingo-ow-placeholder {
  z-index: 1;
  background: linear-gradient(100deg, #eef0f2 20%, #fafbfc 40%, #eef0f2 60%);
  background-size: 220% 100%;
  animation: ingo-ow-shimmer 1.15s linear infinite;
}

.ingo-ow-thumb.is-loaded img {
  opacity: 1;
}

.ingo-ow-thumb.is-loaded .ingo-ow-placeholder {
  opacity: 0;
  animation: none;
}

.ingo-ow-thumb.is-error::after {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: grid;
  place-items: center;
  color: #888;
  font-size: 16px;
  content: '!';
}

@keyframes ingo-ow-shimmer {
  to { background-position-x: -220%; }
}

@media (prefers-reduced-motion: reduce) {
  .ingo-ow-placeholder { animation: none; }
}

.ingo-lot-thumb {
  position: relative;
  z-index: 1;
  display: inline-block;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  margin-right: 10px;
  box-sizing: border-box;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  background: #f1f3f4;
}

.ingo-lot-thumb img,
.ingo-lot-placeholder,
.ingo-lot-thumb-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px;
}

.ingo-lot-thumb img {
  z-index: 3;
  display: block;
  object-fit: cover;
  background: #fff;
  opacity: 0;
  transition: opacity .22s ease, transform .25s ease, box-shadow .25s ease;
  transform-origin: left center;
}

.ingo-lot-placeholder {
  z-index: 2;
  background: linear-gradient(100deg, #eef0f2 20%, #fafbfc 40%, #eef0f2 60%);
  background-size: 220% 100%;
  animation: ingo-ow-shimmer 1.15s linear infinite;
}

.ingo-lot-thumb-fallback {
  z-index: 1;
  display: grid;
  place-items: center;
  color: #999;
  opacity: 0;
}

.ingo-lot-thumb.is-loaded img {
  opacity: 1;
}

.ingo-lot-thumb.is-loaded .ingo-lot-placeholder {
  opacity: 0;
  animation: none;
}

.ingo-lot-thumb.is-error .ingo-lot-placeholder {
  display: none;
}

.ingo-lot-thumb.is-error .ingo-lot-thumb-fallback {
  opacity: 1;
}

.ingo-lot-thumb.is-loaded:hover,
.lotnumber:focus-visible .ingo-lot-thumb.is-loaded {
  z-index: 100;
}

.ingo-lot-thumb.is-loaded:hover img,
.lotnumber:focus-visible .ingo-lot-thumb.is-loaded img {
  transform: scale(3.2);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .22);
}

@media (prefers-reduced-motion: reduce) {
  .ingo-lot-placeholder { animation: none; }
  .ingo-lot-thumb img { transition: none; }
}
