#cartLoading:not(.d-none),
#checkoutLoading:not(.d-none),
#profileLoading:not([hidden]),
#productLoading:not(.d-none),
#searchLoading:not(.d-none),
#categoryLoading:not(.d-none),
#categoryProductLoader:not(.d-none),
#compareLoading:not(.d-none),
#wishlistLoading:not(.d-none) {
    flex-direction: column;
}
.ou-skeleton {
    display: grid;
    gap: 0.6rem;
    width: min(100%, 32rem);
    margin: 0 auto 0.75rem;
    opacity: 0;
    animation: ou-skeleton-reveal 0s 150ms forwards;
    pointer-events: none;
}
.ou-skeleton > span {
    position: relative;
    overflow: hidden;
    min-height: 0.8rem;
    border-radius: 0.5rem;
    background: var(--store-mint, #ededed);
}
.ou-skeleton > span::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, transparent, var(--store-surface, #fff), transparent);
    opacity: 0.6;
    animation: ou-skeleton-shimmer 1.4s 150ms infinite;
    transform: translateX(-100%);
}
.ou-skeleton--cards,
.ou-skeleton--detail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ou-skeleton--cards > span {
    aspect-ratio: 4 / 3;
}
.ou-skeleton--rows > span {
    height: 1.65rem;
}
.ou-skeleton--form > span:first-child {
    width: 55%;
}
.ou-skeleton--form > span:not(:first-child) {
    height: 1.65rem;
}
.ou-skeleton--detail {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: 1.6rem 1.6rem;
}
.ou-skeleton--detail > span:first-child {
    grid-row: span 2;
}
@keyframes ou-skeleton-reveal {
    to { opacity: 1; }
}
@keyframes ou-skeleton-shimmer {
    to { transform: translateX(100%); }
}
@media (prefers-reduced-motion: reduce) {
    .ou-skeleton > span::after {
        animation: none;
    }
}
