/* Skeleton Loading Styles with Shimmer Effect */

.skeleton {
    background: #f0f0f0;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    display: inline-block;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Specific Skeleton Shapes */
.skeleton-text {
    height: 14px;
    width: 100%;
    margin-bottom: 8px;
}

.skeleton-title {
    height: 24px;
    width: 60%;
    margin-bottom: 12px;
}

.skeleton-price {
    height: 32px;
    width: 40%;
    margin-bottom: 20px;
}

.skeleton-img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
}

.skeleton-btn {
    height: 52px;
    width: 100%;
    border-radius: 9999px;
}

.skeleton-circle {
    border-radius: 50%;
}

/* Hide content when loading */
.loading-hidden {
    visibility: hidden;
    position: absolute;
    height: 0;
    overflow: hidden;
}

/* Show content when ready */
.loading-show {
    visibility: visible;
    position: relative;
    height: auto;
}

/* Skeleton Containers */
.skeleton-container {
    width: 100%;
}