/* ProductCategory only: shared controls, neutral surfaces and responsive sections. */
.productcategory-page { min-width: 0; }
.productcategory-page .card { margin: 0; }
.productcategory-toolbar {
    position: relative;
    min-width: 0;
    margin-inline-end: auto;
    padding: 16px;
}
.productcategory-list #Grid > .k-grid-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px;
}
.productcategory-list .k-grid-toolbar .productcategory-toolbar { padding: 0; }
.productcategory-search { width: 320px; max-width: 100%; }
.productcategory-section-heading p,
.productcategory-save-note,
.productcategory-empty p {
    color: var(--mkp-muted-foreground);
    font-size: 14px;
    line-height: 1.5;
    margin: 6px 0 0;
}
.productcategory-list > .k-grid { border: 0; border-radius: 0 0 var(--mkp-radius-lg) var(--mkp-radius-lg); }
.productcategory-list .k-grid td:first-child { font-weight: 500; overflow-wrap: anywhere; }
.productcategory-section { padding: 24px; }
.productcategory-section + .productcategory-section { border-top: 1px solid var(--mkp-border); }
.productcategory-section-heading { margin-bottom: 20px; }
.productcategory-section-heading h2 { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.5; }
.productcategory-name { max-width: 560px; }
.productcategory-subheading { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.productcategory-table-scroll { position: relative; min-width: 0; max-width: 100%; overflow-x: auto; border: 1px solid var(--mkp-border); border-radius: var(--mkp-radius); }
.productcategory-table-scroll:focus-visible { outline: none; box-shadow: var(--mkp-ring); }
.productcategory-page #tableSubCategories { margin: 0; min-width: 760px; width: 100%; }
.productcategory-page #tableSubCategories th { background: var(--mkp-muted); font-weight: 500; }
.productcategory-page #tableSubCategories :is(th, td) { padding: 12px; vertical-align: middle; }
.productcategory-page #tableSubCategories td:nth-child(-n+2) { overflow-wrap: anywhere; }
.productcategory-page #tableSubCategories th:nth-child(-n+2) { width: 28%; }
.productcategory-page #tableSubCategories tbody tr:last-child td { border-bottom: 0; }
.productcategory-option { width: 100px; text-align: center; }
.productcategory-restriction { width: 170px; text-align: center; }
.productcategory-remove { position: relative; width: 64px; }
.productcategory-empty { padding: 32px 20px; text-align: center; }
.productcategory-empty:not([hidden]) { display: grid; justify-items: center; gap: 8px; }
.productcategory-empty > i { font-size: 24px; color: var(--mkp-muted-foreground); }
.productcategory-empty strong { font-size: 14px; font-weight: 500; }
.productcategory-empty p { margin: 0; }
.productcategory-save-note { margin-top: 16px; }
@media (max-width: 767.98px) {
    .productcategory-section { padding: 20px 16px; }
    .productcategory-toolbar { flex-basis: 100%; }
    .productcategory-search { width: 100%; }
}
