/* 01309 · Effective draft cascade for K / KT / T.
   This file intentionally loads after 01304–01308, so draft styling wins over gray category / white product surfaces. */

/* Category itself + every category hidden by an ancestor K/KT. */
#builder-root .mp-category-accordion.is-effective-draft-01309{
  border-color:#ef9a9a!important;
  background:#fff1f1!important;
  box-shadow:inset 3px 0 0 #dc5656!important;
}
#builder-root .mp-category-accordion.is-effective-draft-01309 > .mp-category-accordion__head,
#builder-root .mp-category-accordion.is-effective-draft-01309.is-open > .mp-category-accordion__head,
#builder-root .mp-category-accordion.is-effective-draft-01309.is-mixed-content-01300 > .mp-category-accordion__head{
  background:linear-gradient(180deg,#fff4f4 0%,#fde7e7 100%)!important;
}
#builder-root .mp-category-accordion.is-effective-draft-01309 .mp-category-accordion__summary strong{
  color:#a93232!important;
}

/* Direct Product T draft + products effectively hidden by K/KT ancestors. */
#builder-root .mp-category-product-accordion-01256.is-effective-draft-01309,
#builder-root .mp-category-product-accordion-01256.mp-product-visual-01304.is-effective-draft-01309{
  border-color:#ef9a9a!important;
  background:#fff3f3!important;
  box-shadow:inset 3px 0 0 #dc5656!important;
}
#builder-root .mp-category-product-accordion-01256.is-effective-draft-01309 > .mp-category-product-accordion__head,
#builder-root .mp-category-product-accordion-01256.mp-product-visual-01304.is-effective-draft-01309 > .mp-category-product-accordion__head,
#builder-root .mp-category-product-accordion-01256.mp-product-visual-01304.is-effective-draft-01309.is-open > .mp-category-product-accordion__head{
  background:#fff0f0!important;
}
#builder-root .mp-category-product-accordion-01256.is-effective-draft-01309 .mp-category-product-summary-01256 strong{
  color:#8f3131!important;
}

/* Effective draft badges must not keep the green active appearance. */
#builder-root :is(.mp-category-accordion,.mp-category-product-accordion-01256) .mp-badge.is-effective-draft-01309{
  background:#fee2e2!important;
  border-color:#f4b8b8!important;
  color:#b42323!important;
}

/* K / KT / T controls remain the strongest signal, but the whole row now follows them. */
#builder-root .is-effective-draft-01309 :is(.mp-category-visibility-01258,.mp-category-product-visibility-01257).is-hidden,
#builder-root .is-effective-draft-01309 .mp-category-visibility-01258.is-inherited{
  background:#fee2e2!important;
  border-color:#ef9a9a!important;
  color:#b42323!important;
}

/* Inherited draft remains visibly part of the disabled branch without becoming opaque. */
#builder-root .is-effective-draft-inherited-01309{
  opacity:.91;
}
