/* 01303 · Category row canonical grid using stable, unversioned data role attributes. */
#builder-root .mp-category-accordion__head.mp-category-row-layout-01303{
  display:grid!important;
  grid-template-columns:24px 24px 30px 40px minmax(220px,1fr) 12px auto auto auto 24px 30px!important;
  grid-template-rows:minmax(48px,auto)!important;
  align-items:center!important;
  column-gap:8px!important;
  row-gap:0!important;
  min-width:0!important;
}

#builder-root .mp-category-row-layout-01303 > [data-mp-category-row-role]{
  grid-row:1!important;
  min-width:0!important;
  align-self:center!important;
}
#builder-root .mp-category-row-layout-01303 > [data-mp-category-row-role="drag"]{grid-column:1!important;justify-self:center!important}
#builder-root .mp-category-row-layout-01303 > [data-mp-category-row-role="branch"]{grid-column:2!important;justify-self:center!important}
#builder-root .mp-category-row-layout-01303 > [data-mp-category-row-role="type"]{grid-column:3!important;justify-self:center!important}
#builder-root .mp-category-row-layout-01303 > [data-mp-category-row-role="thumb"]{grid-column:4!important;justify-self:center!important}
#builder-root .mp-category-row-layout-01303 > [data-mp-category-row-role="summary"]{grid-column:5!important;justify-self:stretch!important;overflow:hidden!important;text-align:left!important}
#builder-root .mp-category-row-layout-01303 > [data-mp-category-row-role="save"]{grid-column:6!important;justify-self:center!important}
#builder-root .mp-category-row-layout-01303 > [data-mp-category-row-role="status"]{grid-column:7!important;justify-self:end!important}
#builder-root .mp-category-row-layout-01303 > [data-mp-category-row-role="add"]{grid-column:8!important;justify-self:end!important;white-space:nowrap!important}
#builder-root .mp-category-row-layout-01303 > [data-mp-category-row-role="count"]{grid-column:9!important;justify-self:end!important;white-space:nowrap!important}
#builder-root .mp-category-row-layout-01303 > [data-mp-category-row-role="productsCollapse"]{grid-column:10!important;justify-self:center!important}
#builder-root .mp-category-row-layout-01303 > [data-mp-category-row-role="accordion"]{grid-column:11!important;justify-self:end!important}

#builder-root .mp-category-row-layout-01303 .mp-category-accordion__summary strong,
#builder-root .mp-category-row-layout-01303 .mp-category-accordion__summary small{
  display:block!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

/* Explicitly neutralize the legacy responsive rules that pushed Add/Count onto another grid row. */
#builder-root .mp-category-row-layout-01303 .mp-category-add-product-01256,
#builder-root .mp-category-row-layout-01303 .mp-category-product-count-01258{
  grid-row:1!important;
}

@media(max-width:900px){
  #builder-root .mp-category-accordion__head.mp-category-row-layout-01303{
    grid-template-columns:22px 22px 28px 36px minmax(190px,1fr) 10px auto auto auto 22px 28px!important;
    min-width:860px!important;
  }
  #builder-root .mp-category-accordion{overflow-x:auto}
}
