/* 懒加载样式 */
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    background-color: #f5f5f5;
    border-radius: 4px;
}

.lazy-load.loaded {
    opacity: 1;
}

.lazy-load.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

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

/* 业务图片特殊样式 */
.business-image {
    width: 100%;
    height: auto;
    max-width: 200px;
    max-height: 200px;
    object-fit: contain;
}

/* 图片加载失败时的占位符 */
.lazy-load.error {
    background-color: #f8f8f8;
    border: 1px dashed #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 12px;
}

.lazy-load.error::after {
    content: '图片加载失败';
}

/* 响应式优化 */
@media (max-width: 768px) {
    .business-image {
        max-width: 150px;
        max-height: 150px;
    }
}

@media (max-width: 480px) {
    .business-image {
        max-width: 120px;
        max-height: 120px;
    }
}