/* One progressive image treatment for catalogue grids, shelves and cards. */
.bottle-loading-slot,
.bottle-image-frame { position: relative; }
.bottle-image-frame { display: block; }
.bottle-loading-slot[aria-busy="true"] > img { opacity: 0; }
.bottle-loading-slot[aria-busy="true"]::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  box-sizing: border-box;
  width: min(16px, 60%);
  aspect-ratio: 1;
  height: auto;
  max-height: 60%;
  border: 1px solid var(--foreground, #222);
  border-right-color: transparent;
  border-radius: 50%;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .bottle-loading-slot > img { transition: opacity 360ms ease-out; }
  .bottle-loading-slot[aria-busy="true"]::after { animation: catalogue-bottle-spin 850ms linear infinite; }
  @keyframes catalogue-bottle-spin { to { transform: rotate(1turn); } }
}
