.lazy-placeholder {
    background-color: #f0f0f0;
    background-image: linear-gradient(90deg, #f0f0f0 0%, #f8f8f8 20%, #f0f0f0 40%, #f0f0f0 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    min-height: 360px;
    display: block;
    width: 100%;
    object-fit: cover;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.lazy-loaded {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0.3;
    }
    to {
        opacity: 1;
    }
}

.lazy-error {
    background-color: #f5f5f5;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><text x="50%" y="50%" text-anchor="middle" dy=".3em" fill="%23999">Error</text></svg>');
    background-position: center;
    background-repeat: no-repeat;
    min-height: 360px;
}

.splide.lazy-load-slider .splide__slide img {
    transition: opacity 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .lazy-placeholder,
    .lazy-error {
        min-height: 240px;
    }
}

@media (max-width: 480px) {
    .lazy-placeholder,
    .lazy-error {
        min-height: 180px;
    }
}