.skeleton {
    animation: skeleton-loading 1.5s ease-in-out infinite;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.listing-card.skeleton {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.skeleton-image {
    width: 100%;
    height: 200px;
    background: #e0e0e0;
    border-radius: 0;
}

.skeleton-content {
    padding: 16px;
}

.skeleton-title {
    height: 20px;
    width: 70%;
    background: #e0e0e0;
    border-radius: 4px;
    margin-bottom: 12px;
}

.skeleton-text {
    height: 14px;
    width: 100%;
    background: #e0e0e0;
    border-radius: 4px;
    margin-bottom: 8px;
}

.skeleton-text.short {
    width: 60%;
}

.skeleton-footer {
    height: 16px;
    width: 40%;
    background: #e0e0e0;
    border-radius: 4px;
    margin-top: 12px;
}

.listing-image {
    transition: opacity 0.3s ease;
}

.listing-image[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.listing-image[loading="lazy"].loaded {
    opacity: 1;
}

