.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.skeleton-image {
    width: 100%;
    height: 400px;
    margin-bottom: 15px;
}

.skeleton-thumbnail {
    width: 100%;
    height: 100px;
}

.skeleton-title {
    width: 70%;
    height: 32px;
    margin-bottom: 20px;
}

.skeleton-text {
    width: 100%;
    height: 16px;
    margin-bottom: 10px;
}

.skeleton-text-short {
    width: 60%;
    height: 16px;
    margin-bottom: 10px;
}

.skeleton-price {
    width: 150px;
    height: 36px;
    margin-bottom: 20px;
}

.skeleton-button {
    width: 140px;
    height: 48px;
    margin-right: 10px;
    display: inline-block;
}

.skeleton-card {
    width: 100%;
    height: 350px;
}

/* Hide content while loading */
.loading-content {
    display: none;
}

.skeleton-wrapper {
    display: block;
}

.skeleton-wrapper.hidden {
    display: none;
}