/**
 * Product-page layout contract for the CIEM designer.
 *
 * These rules must live in the document (not the designer shadow root) so they
 * can reach the WooCommerce product template. Every rule is scoped to
 * body.taudio-designer-active, which the designer adds on mount, so no other
 * product page is affected.
 */

body.taudio-designer-active .woocommerce-product-gallery,
body.taudio-designer-active .summary.entry-summary,
body.taudio-designer-active .woocommerce-tabs ul.wc-tabs,
body.taudio-designer-active .product_meta,
body.taudio-designer-active .related.products,
body.taudio-designer-active .upsells {
  display: none !important;
}

body.taudio-designer-active .woocommerce-tabs {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
}

body.taudio-designer-active #tab-description,
body.taudio-designer-active .woocommerce-Tabs-panel--description {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.taudio-designer-active .woocommerce-tabs .panel {
  margin: 0 !important;
}

body.taudio-designer-active #tab-description > h2:first-child {
  display: none !important;
}
