/* ==========================================================================
   Search Commodities page (SearchCommodities.aspx, hosts Milbros Search.ascx)
   — page-specific overrides layered on top of grid.css.
   ----------------------------------------------------------------------------
   Scoped via `body.page-searchcommodities`. The shared grid interior skin
   (header font, row text, pager) comes from grid.css via the additional
   `body.page-grid` class.

   Note — this page does NOT use ModuleTemplateV2 chrome. It renders a bare
   `<asp:Panel>` with an inline table layout and a `.PageTitle` cell. Any
   `body.page-grid .modV2*` selectors in grid.css simply don't match; only
   the grid-interior rules apply. This is intentional — the goal of the
   skin here is to make the commodity search results grid match the look
   of the other refreshed grids, not to impose a card/title-bar chrome
   that doesn't exist on the source page.

   The View column is the always-last column (`AlwaysLastColumn="view"` on
   GridCustomColumns at Search.ascx:62). Columns are built at runtime from
   a DB-driven custom-column set, so a structural `:last-child` selector is
   the reliable way to hide the "View" header caption.
   ========================================================================== */

/* Edit/View-column header blank caption — hides the "View" text in the
   last column header while preserving DOM for accessibility. Same
   approach as body.page-abbreviations (last-child, font-size:0 +
   color:transparent). The last header on this page carries additional
   classes `grdHdrNoHover dxgvHeaderCenter` and renders as plain text in
   a <div> (no sort anchor because it is not sortable), so the `*`
   descendant selector is required to catch the DX-injected inner wrapper. */
body.page-searchcommodities td.dxgvHeader:last-child,
body.page-searchcommodities th.dxgvHeader:last-child,
body.page-searchcommodities td.dxgvHeader:last-child *,
body.page-searchcommodities th.dxgvHeader:last-child * {
    font-size: 0 !important;
    color: transparent !important;
}
