/* Catalogue appearance only: retain filtering, prices and stock behavior. */
@media screen {
  .products-module { --navy-900:#101e3d; --muted:#647da5; --body:#101e3d; --border:#c7d5e8; --border-soft:#dce5f0; --card:#fff; --surface:#f5f7fa; font-size:13px; line-height:1.4; color:var(--navy-900); }
  :root[data-theme='dark'] .products-module { --navy-900:#e7efff; --muted:#a4b0c2; --body:#e7efff; --border:#34445d; --border-soft:#303a49; --card:#171f2d; --surface:#1e293b; }
  body .products-module, body .products-module * { font-family:'ERP Plex UI',system-ui,'Segoe UI',sans-serif !important; font-synthesis:none; -webkit-font-smoothing:antialiased; }
  .products-module .products-panel { border-radius:3px; box-shadow:none; container-type:inline-size; }
  .products-module .products-panel-header { height:auto; min-height:44px; margin-bottom:10px; gap:12px; }
  .products-module .products-title-block h1 { font-size:18px; font-weight:600; line-height:1.3; letter-spacing:0; }
  .products-module .products-title-block span { font-size:12px; margin-top:3px; }
  .products-module .products-icon { display:none; }
  .products-module .products-toolbar { display:grid; grid-template-columns:minmax(180px,1fr) repeat(2,minmax(145px,160px)) 124px; gap:8px; align-items:center; margin-bottom:10px; }
  .products-module .products-toolbar>:is(.category-filter,.pos-product-search) { width:100%; min-width:0; height:34px; box-sizing:border-box; margin:0; border:1px solid var(--border); border-radius:3px; background:var(--card); box-shadow:none; padding:0 9px; color:var(--navy-900); font-size:13px; font-weight:500; }
  .products-module .pos-product-search-input { min-width:0; font-size:13px; font-weight:400; color:var(--navy-900); }
  .products-module .products-toolbar .pos-product-search:focus-within, .products-module .products-toolbar .category-filter:focus { border-color:#ff690c; outline:1px solid #ff690c !important; outline-offset:-1px; box-shadow:none; }
  .products-module .pos-product-search-input:focus { outline:none !important; box-shadow:none; }
  .products-module .products-panel-header :is(.primary-button,.secondary-button) { display:inline-flex; align-items:center; justify-content:center; height:34px; padding:0 12px; border-radius:3px; box-shadow:none; font-size:13px; font-weight:600; }
  .products-module .products-table { border-radius:3px; }
  .products-module .products-header { font-size:10px; font-weight:600; letter-spacing:.04em; }
  .products-module .products-table .product-name-cell strong { font-size:14px; font-weight:600; line-height:1.4; letter-spacing:0; }
  .products-module .products-row>span { font-size:12px; font-variant-numeric:tabular-nums; }
  .products-module .products-row>span:nth-last-child(-n+3) { font-size:13px; font-weight:600; font-style:normal; }
  .products-module .products-pagination button { height:30px; border-radius:3px; font-size:12px; font-weight:600; box-shadow:none; }
  .products-module button:focus-visible { outline:2px solid #ff690c !important; outline-offset:-2px; }
  @container (max-width:700px) {
    .products-module .products-toolbar { grid-template-columns:repeat(2,minmax(0,1fr)) 124px; }
    .products-module .products-toolbar>.pos-product-search { grid-column:1/-1; }
    .products-module .products-panel-header { flex-wrap:wrap; }
  }
  @container (max-width:440px) {
    .products-module .products-toolbar { grid-template-columns:minmax(0,1fr); }
  }
}
