.listing-image-fallback,
.inventory-thumbnail-fallback,
.bundle-item-fallback {
  background: var(--surface);
}

.listing-image-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
}

.listing-image-fallback[hidden],
.inventory-thumbnail-fallback[hidden],
.bundle-item-fallback[hidden] {
  display: none;
}

img[hidden] {
  display: none !important;
}

.theme-image-fallback {
  display: block;
  object-fit: contain;
}

.listing-image-fallback .theme-image-fallback {
  width: 72%;
  height: 72%;
}

.theme-image-fallback-dark {
  display: none !important;
}

[data-theme="dark"] .theme-image-fallback-light {
  display: none !important;
}

[data-theme="dark"] .theme-image-fallback-dark {
  display: block !important;
}

.inventory-thumbnail-fallback,
.bundle-item-fallback {
  display: grid;
  place-items: center;
  overflow: hidden;
}

.inventory-thumbnail-fallback {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.inventory-thumbnail-fallback .theme-image-fallback {
  width: 82%;
  height: 82%;
}

.bundle-item-fallback {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.bundle-item-fallback .theme-image-fallback {
  width: 76%;
  height: 76%;
}