.city-product-photo:has(template) { display:block; aspect-ratio:1; }
.city-card-pending :is(.product-image-link,.city-product-photo,.fem-additional-image) { position:relative; }
.city-card-pending :is(.product-image-link,.city-product-photo,.fem-additional-image)::after {
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(100deg,#f4eded 30%,#fff9f9 50%,#f4eded 70%);
  background-size:220% 100%;
}
@media(prefers-reduced-motion:no-preference) {
  .city-card-pending :is(.product-image-link,.city-product-photo,.fem-additional-image)::after { animation:city-photo-shimmer 1.5s linear infinite; }
}
@keyframes city-photo-shimmer { from { background-position:110% 0; } to { background-position:-110% 0; } }

.city-card-pending :is(.product-copy,.city-card-copy,.fem-additional-body) > :is(h2,h3,p,a) {
  position:relative;
}
.city-card-pending:not(:focus-within) :is(.product-copy,.city-card-copy,.fem-additional-body) > :is(h2,h3,p,a)::after {
  content:""; position:absolute; inset:0; pointer-events:none; border-radius:5px;
  background:#f1e9e9;
}
.city-card-pending:not(:focus-within) .product-copy :is(h3,.product-description,.product-price) {
  background:#fff; color:transparent;
}
@media (scripting:enabled) {
  :is(.product-image-link,.city-product-photo,.fem-additional-image):has(template) { background:#f4eded; }
}

@media screen and (prefers-reduced-motion:no-preference) {
  .city-card-offscreen:not(:focus-within) { opacity:0; }
  .city-card-revealed:not(:focus-within) {
    animation:city-grid-enter .62s cubic-bezier(.18,.7,.24,1) backwards;
  }
  @keyframes city-grid-enter {
    from { opacity:0; transform:translateY(28px); }
    to { opacity:1; transform:translateY(0); }
  }
}
