/**
 * Trustnet order form — child overrides.
 *
 * Loaded by the parent order form's shared head include,
 * after all.min.css. Confirmed working on inherited pages (TESTING.md, Test B).
 *
 * This is where Trustnet styling belongs: the child deliberately does NOT carry copies of
 * all.css / style.css / scripts.js, so it inherits WHMCS 9's builds and stops silently
 * pinning us to a v8-era asset set.
 *
 * The order form markup keeps stock's `<div id="order-standard_cart">` wrapper regardless
 * of this directory's name, so `#order-standard_cart` selectors still apply.
 */

/* ---------------------------------------------------------------------------
 * Currency picker — collapsed/mobile bar.
 *
 * The sidebar *panel* is removed in PHP instead, by
 * hooks/trustnet_cart_sidebar.php — see that file for why a template override of
 * overriding the shared sidebar partial is the wrong tool (it would force 8 pointless
 * page copies).
 *
 * This rule covers the other half: the collapsed sidebar renders its own
 * currency <form> from $currencies, outside the sidebar menu, so the hook does not
 * touch it. Only shows for guests — the block is {if !$loggedin && $currencies}.
 *
 * .form-inline is unique to that block within .sidebar-collapsed (the category
 * selector partial uses a bare <form role="form">), so no :has() is needed and this
 * holds on the Bootstrap 3 breakpoint set. The select[name="currency"] line is a
 * backstop: if a future v9 reshuffles the wrapper classes, the dropdown itself still
 * disappears rather than silently coming back.
 * --------------------------------------------------------------------------- */
#order-standard_cart .sidebar-collapsed .form-inline,
#order-standard_cart .sidebar-collapsed select[name="currency"] {
    display: none;
}
