/* Kryzon Store - Premium Solid-Block Skeleton (Mobile First) */

/* --- Keyframe Animation: "Shimmer Wave" --- */
@keyframes shimmerWave {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* --- Base Skeleton Styling (Solid Block) --- */
.skeleton-box {
    background: linear-gradient(90deg,
            var(--bg-card) 0%,
            var(--glass-bg) 40%,
            /* Lighter/Brighter center */
            var(--bg-card) 100%);
    background-size: 200% 100%;
    animation: shimmerWave 1.5s linear infinite;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    /* Smooth corners */
}

/* Light Mode Override */
[data-theme="light"] .skeleton-box {
    background: linear-gradient(90deg,
            #e2e8f0 0%,
            #f8fafc 40%,
            #e2e8f0 100%);
    background-size: 200% 100%;
}

/* --- Skeleton Container --- */
.skeleton-container {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    z-index: 5;
    background: var(--bg-primary);
    /* Blend with background */
}

/* --- 1. Hero Skeleton (Solid Block) --- */
.skeleton-hero {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    /* Ratio handled by parent container */
}

/* --- 2. Shop Skeleton (Solid Blocks) --- */
.skeleton-shop {
    padding: 0 16px;
    margin-top: 24px;
}

/* Section Title Pill */
.skeleton-section-title {
    width: 120px;
    height: 24px;
    /* Pill shape */
    border-radius: 12px;
    margin: 0 auto 20px;
}

/* GRID: 3 Columns (Mobile) */
.skeleton-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

/* CARD: Solid Block (No internal details) */
.skeleton-category {
    aspect-ratio: 1 / 1.15;
    /* Matches real card shape */
    border-radius: 14px;
    /* No padding, just a solid glowing block */
    box-shadow: none;
    border: none;
}

/* --- 3. Orders Skeleton (Solid Rows) --- */
.skeleton-orders-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 16px;
    margin-top: 24px;
}

.skeleton-order-item {
    height: 70px;
    width: 100%;
    border-radius: 12px;
    /* Solid block for whole row */
}

/* --- RESPONSIVE --- */
@media (min-width: 768px) {
    .skeleton-grid {
        gap: 20px;
    }
}