/* Block the table before the first successful rules response, even before JS wraps it. */
table.shop_table:has(tr.product-item [data-add_to_cart]):not([data-ingenyus-ready]) { pointer-events: none; opacity: .45; }
.ingenyus-rules-wrap { position: relative; min-height: 150px; }
.ingenyus-rules-loading > table { opacity: .45; pointer-events: none; }
.ingenyus-rules-loader { position: absolute; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(255,255,255,.86); text-align: center; cursor: wait; }
.ingenyus-rules-loader > div { display: flex; flex-direction: column; align-items: center; gap: 12px; color: #333; }
.ingenyus-rules-spinner { display: inline-block; width: 28px; height: 28px; border: 3px solid #ddd; border-top-color: #333; border-radius: 50%; animation: ingenyus-spin .7s linear infinite; }
@keyframes ingenyus-spin { to { transform: rotate(360deg); } }
.ingenyus-rule-note { margin-top: .5em; font-size: .85em; line-height: 1.4; color: #8a2424; }
.ingenyus-rules-wrap [hidden], .ingenyus-rule-note[hidden] { display: none !important; }
tr.ingenyus-rule-blocked td.product-name, tr.ingenyus-rule-blocked td.product-price { opacity: .6; }
tr.ingenyus-rule-blocked [data-ingenyus-blocked] { opacity: .45; cursor: not-allowed; }
@media (prefers-reduced-motion: reduce) { .ingenyus-rules-spinner { animation: none; } }
