/* v108.1 — staged image loading, retry and stable layout */
img {
  max-width: 100%;
}

img.y-img-pending {
  background:
    radial-gradient(circle at 50% 45%, rgba(214, 173, 96, .12), transparent 38%),
    linear-gradient(135deg, rgba(19, 14, 17, .96), rgba(43, 30, 24, .92));
}

img.y-img-ready {
  animation: yadvigaImgFadeIn .42s ease both;
}

img.y-img-error {
  background:
    radial-gradient(circle at 50% 45%, rgba(214, 173, 96, .16), transparent 36%),
    linear-gradient(135deg, rgba(19, 14, 17, .96), rgba(43, 30, 24, .92));
  opacity: .92;
}

.product-card img,
.lavka-card img,
.card img,
article img {
  aspect-ratio: var(--image-ratio, auto);
}

@keyframes yadvigaImgFadeIn {
  from { opacity: .18; filter: blur(8px); }
  to { opacity: 1; filter: blur(0); }
}

@media (max-width: 768px) {
  section:not(.page-hero):not(.hero),
  .product-grid,
  .calendar-grid,
  .v86-calendar-section,
  .content-section,
  .section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 720px;
  }
}
