/* Subtle placeholder on the img itself: does not change gallery wrappers or links. */
.woocommerce img.acweb-img-waiting,
.wc-block-grid img.acweb-img-waiting,
.wc-block-components-product-image img.acweb-img-waiting,
.wp-block-woocommerce-product-image img.acweb-img-waiting {
  background: #f0f3f9;
  background-image: linear-gradient(100deg, #f0f3f9 5%, #fafbfe 36%, #f0f3f9 68%);
  background-size: 240% 100%;
  animation: acweb-img-shimmer 1.25s linear infinite;
}
.woocommerce img.acweb-img-waiting.acweb-img-fade,
.wc-block-grid img.acweb-img-waiting.acweb-img-fade,
.wc-block-components-product-image img.acweb-img-waiting.acweb-img-fade,
.wp-block-woocommerce-product-image img.acweb-img-waiting.acweb-img-fade {
  background-image: none;
  animation: none;
}
.woocommerce img.acweb-img-revealed,
.wc-block-grid img.acweb-img-revealed,
.wc-block-components-product-image img.acweb-img-revealed,
.wp-block-woocommerce-product-image img.acweb-img-revealed {
  animation: acweb-img-fade-in .24s ease-out both;
}
@keyframes acweb-img-shimmer { 0%{background-position:100% 0} 100%{background-position:-100% 0} }
@keyframes acweb-img-fade-in { from{opacity:.45} to{opacity:1} }
@media (prefers-reduced-motion: reduce) {
  .woocommerce img.acweb-img-waiting,
  .wc-block-grid img.acweb-img-waiting,
  .woocommerce img.acweb-img-revealed,
  .wc-block-grid img.acweb-img-revealed { animation: none !important; }
}
