.allit-progressive-section { min-width: 0; }
.allit-skeleton-card { pointer-events: none; }
.skeleton-block { display: block; position: relative; overflow: hidden; background: #edf0f3; border-radius: 7px; }
.skeleton-block::after { content: ""; position: absolute; inset: 0; transform: translateX(100%); background: linear-gradient(90deg, transparent, #ffffffa3, transparent); animation: allit-section-shimmer 1.6s ease-in-out infinite; }
.allit-skeleton-card .card-meta { min-height: 24px; }
.skeleton-meta { width: 45%; height: 16px; }
.skeleton-title { width: 94%; height: 15px; margin-block: 6px 10px; }
.skeleton-title.short { width: 68%; }
.skeleton-price { width: 72%; height: 24px; }
.skeleton-link { width: 44%; height: 1.95em; }
.skeleton-control { display: block; width: 40px; height: 40px; border-radius: 50%; background: #edf0f3; }
.allit-section-feedback { padding-block: 14px 28px; }
.allit-section-feedback p { color: var(--muted); }
.allit-progressive-section.is-error .allit-section-skeleton { display: none; }
.allit-progressive-section [hidden] { display: none !important; }
/* Reserve the first gallery frame before WooCommerce builds its slider. */
@media (max-width: 760px) {
  .allit-progressive-gallery .allit-product-gallery .woocommerce-product-gallery { opacity: 1 !important; }
  .allit-progressive-gallery .allit-product-gallery .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper { height: clamp(280px, 38vw, 550px); overflow: hidden; }
  .allit-progressive-gallery .allit-product-gallery .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper:has(> .woocommerce-product-gallery__image:nth-child(2)) { margin-bottom: 98px; }
  .allit-progressive-gallery .allit-product-gallery .woocommerce-product-gallery:has(.woocommerce-product-gallery__image:nth-child(2)) { min-height: calc(clamp(280px, 38vw, 550px) + 98px); }
  .allit-progressive-gallery .allit-product-gallery .flex-viewport { height: clamp(280px, 38vw, 550px) !important; }
}
@keyframes allit-section-shimmer { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .skeleton-block::after { animation: none; } }
