/* Preserve the approved layout; keep the group controls below the existing sticky filters. */
@media (min-width:901px) {
  body .product-group-head { display:contents; }
  body .product-group-head > .group-filter { position:sticky; top:var(--catalog-panel-top,150px); z-index:24; background:var(--theme-surface,#fff); }
  body .product-group-head { overflow-anchor:none; }
  body .sticky-shape-nav button { font-family:inherit; font-size:14px; font-weight:500; letter-spacing:0; }
}
body .stock-status { display:block; margin-top:4px; color:var(--theme-green,#398363); font-size:11px; font-weight:500; line-height:1.3; }
body .stock-status.is-production { color:var(--theme-accent,#ad742d); }
body .other-stock-heading { padding:14px 16px; margin:12px 0 8px; border:1px solid var(--theme-line,#e5e9ec); border-radius:7px; background:var(--theme-soft,#fafbfc); }
body .other-stock-heading h2 { margin:0 0 5px; font-size:15px; font-weight:600; }
body .other-stock-heading p { margin:0; color:var(--theme-secondary,#78858e); font-size:12px; }
body .local-stock-heading { margin:8px 0 12px; font-size:14px; font-weight:500; }
body .smc-history-dates { grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; }
body .smc-history-dates>div { min-width:0; }
body .smc-history-dates span { display:block; min-height:2.8em; }
body .smc-history-dates strong { font-size:clamp(64px,7vw,132px); }
body .mc-tabs { display:flex; gap:6px; padding:8px 13px 0; }
body .mc-tabs button { flex:1; padding:7px 8px; border:1px solid var(--theme-line,#e1e6e9); border-radius:5px; background:var(--theme-surface,#fff); color:var(--theme-secondary,#63737e); font-size:12px; }
body .mc-tabs button[aria-selected=true] { border-color:var(--theme-accent,#e6bc7b); background:var(--theme-accent-surface,#fff8ec); color:var(--theme-accent,#775d33); }
body .mc-stock { padding:13px; overflow:auto; }
body .mc-stock label { display:grid; gap:5px; margin-bottom:12px; color:var(--theme-secondary,#7c8993); font-size:12px; }
body .mc-stock output { display:block; padding:14px 0; font-size:26px; font-weight:550; }
body .mc-stock-note { color:var(--theme-secondary,#7c8993); font-size:12px; line-height:1.5; }
body .mc-stock table { width:100%; border-collapse:collapse; font-size:12px; }
body .mc-stock td { padding:8px 0; border-bottom:1px solid var(--theme-line,#e1e6e9); }
body .mc-stock td:last-child { text-align:right; }

@media(max-width:900px) { body .smc-history-dates { grid-template-columns:repeat(2,minmax(0,1fr)); } body .smc-history-dates strong { font-size:68px; } }

body .mc-mode { display:flex; gap:4px; margin:12px 0 4px; padding:3px; border-radius:5px; background:var(--theme-soft,#f4f6f7); }
body .mc-mode button { flex:1; min-width:0; padding:6px 3px; font:inherit; font-size:11px; border:1px solid transparent; border-radius:3px; background:transparent; color:var(--theme-secondary,#63737e); cursor:pointer; }
body .mc-mode button[aria-pressed=true] { background:var(--theme-accent-surface,#fff8ec); border-color:var(--theme-accent,#e6bc7b); color:var(--theme-accent,#775d33); }
