/* Images Lazy Loading Styles */

.dl-lazyload {
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
}

.dl-lazyloaded {
	opacity: 1;
}

/* Placeholder */
.dl-lazyload:not(.dl-lazyloaded) {
	background-color: #f0f0f0;
	background-image: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.5) 50%, transparent 60%),
	linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.5) 50%, transparent 60%);
	background-size: 20px 20px;
	background-position: 0 0, 10px 10px;
	animation: dl-shimmer 1.5s infinite linear;
}

/* Animation shimmer effect */
@keyframes dl-shimmer {
	0% {
		background-position: -20px 0, -10px 0;
	}
	100% {
		background-position: 20px 0, 10px 0;
	}
}

/* before loading */
.dl-lazyload:not(.dl-lazyloaded) img {
	visibility: hidden;
}

/* fallback */
.dl-lazyload-fallback {
	background-color: #f0f0f0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #999;
	font-size: 12px;
}

/* Оптимизация для мобильных устройств */
@media (max-width: 768px) {
	.dl-lazyload {
		transition: opacity 0.2s ease-in-out;
	}
}