
/* Creative Oasis Shop Stabilizer */

/* Hide broken Collections links while /shop/wow-collections/ returns HTTP 500. */
a[href*="/shop/collections"],
a[href*="/shop/wow-collections"],
.menu-item a[href*="/shop/collections"],
.menu-item a[href*="/shop/wow-collections"] {
  display: none !important;
}

/* Product page recovery: never let old cleanup classes hide the whole page. */
body.single-product,
body.single-product #page,
body.single-product .site,
body.single-product .page-wrap,
body.single-product .content-area,
body.single-product main,
body.single-product article,
body.single-product .entry-content,
body.single-product .product,
body.single-product .woocommerce,
body.single-product .woocommerce-page {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  min-height: initial !important;
  overflow: visible !important;
}

/* If a bad legacy class lands on a major wrapper, override it. */
body.single-product.co-ready-hide-old-letter-panel,
body.single-product #page.co-ready-hide-old-letter-panel,
body.single-product .site.co-ready-hide-old-letter-panel,
body.single-product .page-wrap.co-ready-hide-old-letter-panel,
body.single-product main.co-ready-hide-old-letter-panel,
body.single-product article.co-ready-hide-old-letter-panel,
body.single-product .entry-content.co-ready-hide-old-letter-panel,
body.single-product .product.co-ready-hide-old-letter-panel,
body.single-product .woocommerce.co-ready-hide-old-letter-panel,
body.single-product .co-reset-js-hide.page-wrap,
body.single-product .co-final-hide-legacy-panel.page-wrap,
body.single-product .co-js-hide-legacy-panel.page-wrap,
body.single-product .co-rebuild-clean-hide-legacy.page-wrap {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Let true small legacy panels remain hideable. This protects only the main wrappers above. */
