/* Skeleton menu thématique */
.thematics-menu-skeleton {
    display: flex;
    gap: 24px;
    margin: 32px 0;
}
.thematics-menu-skeleton-item {
    width: 200px;
    height: 48px;
    border-radius: 18px;
    background: linear-gradient(90deg, #d3d3d3 20%, #e0e0e0 50%, #d3d3d3 80%);
    animation: skeleton-loading-thematics 2.5s infinite linear;
    opacity: 0.7;
}

.skeleton-widget {
    height: 180px;
    margin-bottom: 32px;
    background: linear-gradient(90deg, #d3d3d3 20%, #e0e0e0 50%, #d3d3d3 80%);
    background-size: 200% 100%;
    animation: skeleton-loading 2.5s infinite linear;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    opacity: 0.92;
}

/* Skeleton searchbar */
.skeleton-searchbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
    height: 48px;
}
.skeleton-searchbar-input {
    width: 340px;
    height: 40px;
    border-radius: 20px;
    background: linear-gradient(90deg, #d3d3d3 20%, #e0e0e0 50%, #d3d3d3 80%);
    background-size: 200% 100%; /* Assure que l'animation utilise toute la largeur */
    animation: skeleton-loading-searchbar 2.5s infinite linear; /* Applique l'animation */
    opacity: 0.7;
}
.skeleton-searchbar-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(90deg, #d3d3d3 20%, #e0e0e0 50%, #d3d3d3 80%);
    background-size: 200% 100%; /* Assure que l'animation utilise toute la largeur */
    animation: skeleton-loading-searchbar 2.5s infinite linear; /* Applique l'animation */
    opacity: 0.7;
}

/* Skeleton tri (dropdown) */
.skeleton-sort {
    width: 120px;
    height: 36px;
    border-radius: 18px;
    background: linear-gradient(90deg, #d3d3d3 20%, #e0e0e0 50%, #d3d3d3 80%);
    background-size: 200% 100%; /* Assure que l'animation utilise toute la largeur */
    animation: skeleton-loading-searchbar 2.5s infinite linear; /* Applique l'animation */
    opacity: 0.7;
}

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

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

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