/* Product customization uses the same horizontal track as the editor header. */
#app .product-edit-fieldset.is-customization > .product-main-tabs > .el-tabs__content,
#app .tool-editor-workspace.tool-workspace-full:has(.store-customization-workflow) > .product-main-tabs,
#app .tool-editor-workspace.tool-workspace-full:has(.store-customization-workflow) > .product-main-tabs > .el-tabs__content {
  padding-inline: 0 !important;
  border-inline-width: 0 !important;
}

#app .product-customization-session .view-settings-shell > .view-step-content,
#app .store-customization-workflow .builder-completion-settings {
  padding-inline: 0 !important;
}
#app .product-customization-session .admin-view-colors {
  padding-inline: 2px !important;
}

#app .product-create-container:has(.product-edit-fieldset.is-customization),
#app .store-tool-editor:has(> .tool-editor-workspace.tool-workspace-full .store-customization-workflow) {
  padding-inline: 24px !important;
}
@media (max-width: 760px) {
  #app .product-create-container:has(.product-edit-fieldset.is-customization),
  #app .store-tool-editor:has(> .tool-editor-workspace.tool-workspace-full .store-customization-workflow) {
    padding-inline: 16px !important;
  }
}
#app .store-customization-workflow > :is(.sc-object-card,.sc-view-section,.sc-product-section,.sc-multi-view-settings,.product-page-color-view) {
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
}
/* The prototype's product-level media column is 210px, with a 20px gap.
   View stages and stacked layouts get the whole workspace. */
@media (min-width: 1001px) {
  #app .tool-editor-workspace.tool-workspace-full .store-customization-workflow:has(> .sc-view-section:not([style*="display: none"])) {
    box-sizing: border-box;
    width: calc(100% - 230px) !important;
  }
}
