/* Limited Admin Role — admin stylesheet
   Extra visual hide for any dynamic menu items not caught by PHP. */

/* Hide WooCommerce Orders top-level link if somehow still present */
#toplevel_page_wc-orders,
li.wp-not-current-submenu a[href*="wc-orders"],
a[href*="post_type=shop_order"],
a[href*="wc-customers"],
a[href*="wc-reports"],
a[href*="%2Fanalytics%2F"],
a[href*="/analytics/"] {
    display: none !important;
}

/* ── Plugins page — view only ────────────────────────────────────────── */

/* Hide "Add New Plugin" page-title button */
.plugins-php .page-title-action {
    display: none !important;
}

/* Hide bulk-action select + apply button (prevents mass activate/deactivate) */
.plugins-php .tablenav .bulkactions,
.plugins-php .tablenav-pages,
.plugins-php #bulk-action-selector-top,
.plugins-php #bulk-action-selector-bottom,
.plugins-php .apply-filters {
    display: none !important;
}

/* Hide row checkboxes so bulk selection is impossible */
.plugins-php .check-column {
    display: none !important;
}

/* Hide "Add New" link in Plugins submenu (belt-and-suspenders) */
#menu-plugins a[href="plugin-install.php"],
#menu-plugins a[href="plugin-editor.php"] {
    display: none !important;
}

/* Hide update nag row actions */
.plugins-php .update-message a[href*="update"],
.plugins-php .update-link {
    display: none !important;
}
