/* Pagination is hidden only after successful feature/config detection. */
#child-shop-results.child-shop-lazy-active .woocommerce-pagination { display: none; }
.child-shop-lazy-sentinel { height: 1px; clear: both; }
#child-shop-results [data-child-shop-lazy-controls] {
    grid-column: 1 / -1;
    margin-top: 1.5rem;
    text-align: center;
}
#child-shop-results [data-child-shop-lazy-controls] > p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4em;
    margin: 0;
    color: var(--child-color-text, #111);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 600;
    line-height: 1.2;
    text-align: center !important;
    overflow-wrap: anywhere;
}
#child-shop-results [data-child-shop-lazy-controls] .child-shop-filter-spinner {
    flex: 0 0 1em;
    margin-right: 0;
}
#child-shop-results [data-child-shop-lazy-controls] [hidden] { display: none; }
#content .site-main ul.products li.product.child-shop-skeleton {
    overflow: hidden;
    background: var(--child-color-surface, #fff);
    padding: 0;
    pointer-events: none;
}
/* Native gallery, title, price and button classes own all card spacing. */
.child-shop-skeleton__bar {
    display: block;
    height: 1em;
    margin-inline: auto;
    border-radius: 6px;
}
.child-shop-skeleton__title { width: 75%; }
.child-shop-skeleton__text { width: 50%; }
#child-shop-results .child-shop-skeleton__bar,
#child-shop-results .child-shop-skeleton__image,
#child-shop-results ul.products li.product > .child-shop-skeleton__cta {
    background: linear-gradient(100deg, var(--child-color-surface-muted, #eee) 25%, var(--child-color-surface, #fafafa) 45%, var(--child-color-surface-muted, #eee) 65%);
    background-size: 250% 100%;
    animation: child-shop-skeleton-shimmer 1.5s ease-in-out infinite;
}
#child-shop-results ul.products li.product > .child-shop-skeleton__cta {
    border-color: transparent;
    color: transparent;
}
@keyframes child-shop-skeleton-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) {
    #child-shop-results .child-shop-skeleton__bar,
    #child-shop-results .child-shop-skeleton__image,
    #child-shop-results ul.products li.product > .child-shop-skeleton__cta {
        animation: none;
        background: var(--child-color-surface-muted, #eee);
    }
}
