/* 01334 · Root-cause fixes after 01333 diagnostics. */

/* Variant media detail row must remain a native table row. 01283/01284 used display:block. */
#builder-root .mp-ve-table-01268.mp-ve-table-01323 > tbody > tr.mp-ve-detail-row-01283[hidden]{display:none!important}
#builder-root .mp-ve-table-01268.mp-ve-table-01323 > tbody > tr.mp-ve-detail-row-01283.is-open-01283:not([hidden]){display:table-row!important;width:auto!important;max-width:none!important}
#builder-root .mp-ve-table-01268.mp-ve-table-01323 > tbody > tr.mp-ve-detail-row-01283.is-open-01283:not([hidden]) > td{display:table-cell!important;width:auto!important;max-width:none!important;padding:0!important}
#builder-root .mp-ve-table-01268.mp-ve-table-01323 .mp-ve-variant-media-panel-01283{width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box!important}

/* Product Details internal anatomy is not a SiteFrame resize surface. */
#builder-root [data-commerce-component="product-details"] .st-pd-info-block,
#builder-root [data-commerce-component="product-details"] [data-pd-zone="info"]{
  height:auto!important;min-height:0!important;max-height:none;align-self:start!important;
}
#builder-root [data-commerce-component="product-details"] [data-pd-zone="info"].is-composer-01317{
  display:grid!important;gap:16px!important;align-content:start!important;justify-content:stretch!important;
}
#builder-root [data-commerce-component="product-details"] .st-pd-info-composer-01317{
  margin:0!important;inset:auto!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;
  transform:none!important;align-self:start!important;justify-self:stretch!important;height:auto!important;min-height:0!important;
}
#builder-root [data-commerce-component="product-details"] [data-pd-zone="info"].is-composer-01317 > :is(.st-pd-identity,.st-pd-commerce):empty{display:none!important}

/* Lower text is content inside Product Details, never a black generic Builder block. */
#builder-root [data-commerce-component="product-details"] .st-pd-lower-text-01167,
#builder-root [data-commerce-component="product-details"] .st-pd-lower-text-01167.is-selected,
#builder-root [data-commerce-component="product-details"] .st-pd-lower-text-01167.hb-dom-selected,
#builder-root [data-commerce-component="product-details"] .st-pd-lower-text-01167.sf-selection-current{
  display:block!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;
  margin:0!important;padding:0!important;background:transparent!important;background-image:none!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;color:var(--pd-text)!important;overflow:visible!important;
}
#builder-root [data-commerce-component="product-details"] .st-pd-lower-text-01167 .st-text-edit{
  min-height:0!important;height:auto!important;background:transparent!important;color:inherit!important;
}
