/* 01307 · Product rows must remain inside their parent category at every width/zoom. */

/* Category subtitle is never shown in the row. Its text is rendered inside the open category body by 01307 JS. */
#builder-root [data-mp-category-accordion] > [data-mp-category-accordion-head] .mp-category-accordion__summary > small,
#builder-root .mp-category-row-secondary-01307{
  display:none!important;
}

#builder-root .mp-category-open-meta-01307{
  display:flex!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}

/* The list itself defines the hard clipping/containment boundary. */
#builder-root .mp-category-product-list-01256{
  display:grid!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  justify-items:stretch!important;
}

/* 01305 restored 100% width while the historical left indent remained, producing 100% + indent.
   01307 makes the row consume only the remaining inner width. */
#builder-root .mp-category-product-accordion-01256.mp-product-visual-01304,
#builder-root .mp-category-product-accordion-01256.mp-product-contained-01307{
  width:calc(100% - var(--mp-product-indent-01262, 0px))!important;
  max-width:calc(100% - var(--mp-product-indent-01262, 0px))!important;
  min-width:0!important;
  box-sizing:border-box!important;
  justify-self:start!important;
  overflow:hidden!important;
}

#builder-root .mp-category-product-accordion-01256 > .mp-category-product-accordion__head,
#builder-root .mp-category-product-accordion-01256 > .mp-category-product-accordion__body{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}

#builder-root .mp-category-product-accordion-01256 > .mp-category-product-accordion__head{
  overflow:hidden!important;
}

#builder-root .mp-category-product-accordion-01256 .mp-category-product-summary-01256{
  min-width:0!important;
  overflow:hidden!important;
}
#builder-root .mp-category-product-accordion-01256 .mp-category-product-summary-01256 strong{
  display:block!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

@media(max-width:980px){
  #builder-root .mp-category-product-accordion-01256.mp-product-visual-01304,
  #builder-root .mp-category-product-accordion-01256.mp-product-contained-01307{
    width:calc(100% - var(--mp-product-indent-01262, 0px))!important;
    max-width:calc(100% - var(--mp-product-indent-01262, 0px))!important;
  }
}
