/* 01300 · Mixed K/KT category tree. Product links remain one canonical Product.categoryIds relation. */
#builder-root .mp-category-accordion.is-mixed-content-01300{
  border-color:rgba(14,116,144,.28)!important;
  box-shadow:inset 3px 0 0 rgba(14,116,144,.28);
}
#builder-root .mp-category-accordion.is-mixed-content-01300>.mp-category-accordion__head{
  background:linear-gradient(90deg,rgba(236,254,255,.72),rgba(248,252,250,.92))!important;
}
#builder-root .mp-category-visibility-01258.is-mixed-type-01300{
  width:30px;min-width:30px;font-size:9px;letter-spacing:-.02em;
  border-color:rgba(14,116,144,.34);background:rgba(14,116,144,.10);color:#0e7490;
}
#builder-root .mp-category-products-collapse-01300{
  width:24px;height:24px;display:grid;place-items:center;padding:0;
  border:1px solid var(--st-ui-border,#dce8e1);border-radius:7px;background:#fff;color:#406052;
  font:inherit;font-size:11px;font-weight:900;line-height:1;cursor:pointer;
}
#builder-root .mp-category-products-collapse-01300:hover{border-color:#9fc3ad;background:#f3faf5}
#builder-root .mp-category-accordion__head:has(.mp-category-visibility-01258.is-mixed-type-01300){column-gap:7px}
@media(max-width:620px){
  #builder-root .mp-category-visibility-01258.is-mixed-type-01300{width:28px;min-width:28px}
  #builder-root .mp-category-products-collapse-01300{width:22px;height:22px}
}

/* 01301 · keep all category-row controls on one grid row after K/KT + product count controls. */
#builder-root .mp-category-accordion__head.has-category-product-count-01301:has(.mp-category-add-product-01256):has(.mp-category-visibility-01258){
  grid-template-columns:24px 24px 24px 40px minmax(0,1fr) 12px auto auto auto 30px;
  align-items:center;
}
#builder-root .mp-category-accordion__head.has-category-product-count-01301.has-category-products-collapse-01301:has(.mp-category-add-product-01256):has(.mp-category-visibility-01258){
  grid-template-columns:24px 24px 30px 40px minmax(0,1fr) 12px auto auto auto 24px 30px;
}
#builder-root .mp-category-accordion__head.has-category-product-count-01301 > .mp-category-accordion__toggle--right{
  grid-row:1!important;
  align-self:center;
}
#builder-root .mp-category-accordion__head.has-category-product-count-01301 > .mp-category-product-count-01258{
  grid-row:1!important;
}
@media(max-width:620px){
  #builder-root .mp-category-accordion__head.has-category-product-count-01301:has(.mp-category-add-product-01256):has(.mp-category-visibility-01258),
  #builder-root .mp-category-accordion__head.has-category-product-count-01301.has-category-products-collapse-01301:has(.mp-category-add-product-01256):has(.mp-category-visibility-01258){
    grid-template-columns:22px 22px 28px 36px minmax(150px,1fr) 10px auto auto auto 22px 28px;
    overflow-x:auto;
  }
  #builder-root .mp-category-accordion__head.has-category-product-count-01301 .mp-category-add-product-01256,
  #builder-root .mp-category-accordion__head.has-category-product-count-01301 .mp-category-product-count-01258{
    grid-column:auto!important;
    justify-self:end;
  }
}
