
.s12order {
  color-scheme: light; --paper:#f7f5f1; --white:#fff; --ink:#26241f; --muted:#605b51;
  --line:#e7e1d7; --orange:#b94415; --orange-dark:#913610; --pale:#fbede2;
  --green:#38624b; --green-pale:#eaf3ec;
}
.s12order {
* { box-sizing:border-box; }
& { scroll-padding-top:24px; }
& { margin:0; background:var(--paper); color:var(--ink); font:16px/1.45 system-ui,-apple-system,"Segoe UI",sans-serif; }
button,input { font:inherit; }
button { cursor:pointer; }
button:disabled { cursor:default; opacity:.55; }
button:focus-visible,input:focus-visible { outline:3px solid var(--orange); outline-offset:3px; }
button { min-height:42px; }
.shell { width:min(1216px, calc(100% - 64px)); margin:auto; }
.site-header { background:var(--white); border-bottom:1px solid var(--line); }
.header-inner { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:77px; }
.brand { display:flex; align-items:baseline; gap:16px; }
.brand strong { font-size:29px; font-weight:850; letter-spacing:-.08em; }
.brand strong span { color:var(--orange); }
.demo-label { font-size:13px; color:var(--muted); border-left:1px solid var(--line); padding-left:16px; }
.cart-button,.filter,.row-button,.reset,.quiet { color:var(--ink); background:var(--white); border:1px solid #d9d1c4; border-radius:8px; font-weight:650; padding:8px 13px; }
.cart-button { display:flex; gap:9px; align-items:center; white-space:nowrap; }
.badge { display:inline-grid; place-items:center; min-width:24px; height:24px; padding:0 5px; border-radius:12px; background:var(--pale); color:var(--orange-dark); font-size:12px; }
main { padding:38px 0 76px; }
.intro { margin-bottom:26px; }
h1 { margin:0 0 9px; font-size:clamp(38px,5vw,60px); line-height:1.04; letter-spacing:-.065em; font-weight:780; }
.intro p { margin:0; color:var(--muted); font-size:16px; }
.layout { display:grid; grid-template-columns:minmax(0,1fr) 306px; gap:22px; align-items:start; }
.tools { margin-bottom:20px; }
.find { position:relative; display:block; }
.find::before { content:""; position:absolute; top:15px; left:16px; border:2px solid #726b5e; width:12px; height:12px; border-radius:50%; pointer-events:none; }
.find::after { content:""; position:absolute; left:28px; top:29px; width:7px; height:2px; background:#726b5e; transform:rotate(45deg); pointer-events:none; }
.find input { width:100%; min-height:49px; border:1px solid #d9d1c4; border-radius:9px; padding:10px 36px 10px 45px; background:var(--white); color:var(--ink); }
.filters { display:flex; align-items:center; flex-wrap:wrap; gap:7px; margin-top:12px; }
.filter { font-size:13px; padding:7px 12px; min-height:36px; border-radius:20px; }
.filter[aria-pressed="true"] { background:var(--ink); color:var(--white); border-color:var(--ink); }
.list-group { background:var(--white); border:1px solid var(--line); border-radius:11px; overflow:hidden; margin-bottom:15px; }
.list-group h2 { margin:0; padding:15px 18px; font-size:20px; letter-spacing:-.035em; background:#f0ebe3; border-bottom:1px solid var(--line); }
.list-group h2 small { font-size:12px; color:var(--muted); font-weight:500; margin-left:8px; letter-spacing:0; }
table { border-collapse:collapse; width:100%; table-layout:fixed; }
thead th:nth-child(1) { width:21%; }
thead th:nth-child(2) { width:28%; }
thead th:nth-child(3) { width:17%; }
thead th:nth-child(4) { width:20%; }
thead th:nth-child(5) { width:14%; }
td.sku { overflow-wrap:anywhere; }
th,td { text-align:left; }
thead { background:#fdfbf8; }
thead th { padding:9px 12px; font-size:12px; color:var(--muted); font-weight:700; }
thead th:first-child,tbody td:first-child { padding-left:18px; }
thead th:last-child,tbody td:last-child { padding-right:17px; }
tbody td,tbody th { border-top:1px solid var(--line); padding:11px 12px; }
tbody th { font-size:14px; font-weight:680; }
tr[data-selected="true"] { background:#fff9f2; }
.sku { color:var(--muted); font:12px/1.3 ui-monospace,monospace; }
.price { white-space:nowrap; font-weight:650; font-size:14px; font-variant-numeric:tabular-nums; }
.backorder { display:block; width:fit-content; margin-top:3px; font-size:11px; color:#885018; font-weight:650; }
.qty { display:inline-grid; grid-template-columns:29px 47px 29px; background:var(--white); border:1px solid #d9d1c4; border-radius:7px; align-items:stretch; }
.qty button { min-height:38px; padding:0; color:var(--muted); background:transparent; border:0; }
.qty button:hover { background:var(--pale); color:var(--orange-dark); }
.qty input { width:100%; text-align:center; padding:5px 2px; border:0; border-left:1px solid var(--line); border-right:1px solid var(--line); background:var(--white); color:var(--ink); font-weight:700; }
.qty input:focus { position:relative; outline:2px solid var(--orange); outline-offset:-2px; }
.qty input::placeholder { color:#726b5e; opacity:1; font-weight:450; }
.row-button { padding:6px 12px; min-height:40px; white-space:nowrap; color:var(--orange-dark); border-color:#e1bda7; }
.row-button:hover,.reset:hover,.quiet:hover,.cart-button:hover { background:var(--pale); }
.order-card { position:sticky; top:18px; padding:18px; border:1px solid var(--line); border-radius:11px; background:var(--white); box-shadow:0 9px 25px #3024150a; }
.order-card h2 { font-size:21px; margin:0 0 7px; letter-spacing:-.045em; }
.order-summary { color:var(--muted); font-size:14px; margin:0 0 13px; }
.selected-lines { display:grid; gap:7px; margin:0; padding:0; list-style:none; font-size:13px; }
.selected-lines li,.subtotal { display:flex; align-items:baseline; justify-content:space-between; gap:9px; }
.selected-lines li span:last-child { white-space:nowrap; color:var(--muted); font-variant-numeric:tabular-nums; }
.subtotal { border-top:1px solid var(--line); margin:15px 0 13px; padding-top:12px; font-size:14px; }
.subtotal strong { font-size:20px; letter-spacing:-.035em; white-space:nowrap; }
.primary { display:block; width:100%; padding:10px 12px; min-height:45px; border:1px solid var(--orange); border-radius:8px; background:var(--orange); color:white; font-weight:750; }
.primary:hover:enabled { background:var(--orange-dark); }
.shipping { margin:12px 0 0; font-size:12px; color:var(--muted); }
.reset { padding:0; min-height:32px; border:0; background:transparent; text-decoration:underline; text-underline-offset:3px; font-size:12px; color:var(--muted); }
.no-match { padding:20px; background:var(--white); border:1px solid var(--line); border-radius:9px; }
.status { min-height:20px; color:var(--green); font-size:13px; font-weight:650; margin:0 0 8px; }
.status:empty { display:none; }
.mobile-order { display:none; }
dialog { border:0; border-radius:12px; width:min(500px,calc(100% - 32px)); padding:22px; color:var(--ink); box-shadow:0 20px 70px #19100840; }
dialog::backdrop { background:#28201760; }
.dialog-head { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.dialog-head h2 { margin:0; font-size:25px; letter-spacing:-.045em; }
.cart-lines { padding:0; margin:14px 0 0; list-style:none; }
.cart-lines li { display:grid; grid-template-columns:minmax(0,1fr) auto auto; gap:11px; align-items:center; padding:10px 0; border-top:1px solid var(--line); font-size:14px; }
.cart-lines strong { display:block; }
.cart-lines button { min-height:35px; color:var(--orange-dark); background:transparent; border:0; padding:5px; text-decoration:underline; }
.hidden,[hidden] { display:none !important; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
@media (max-width:1000px) {
  .shell { width:calc(100% - 36px); }
  .layout { grid-template-columns:minmax(0,1fr) 245px; gap:15px; }
  tbody td,tbody th { padding-left:8px; padding-right:8px; }
  .qty { grid-template-columns:27px 40px 27px; }
}
@media (max-width:820px) {
  .layout { display:block; }
  .order-card { display:none; }
  main { padding-bottom:105px; }
  .mobile-order:not([hidden]) { display:flex; align-items:center; gap:12px; position:fixed; inset:auto 0 0; z-index:2; padding:11px max(14px,env(safe-area-inset-left)) max(11px,env(safe-area-inset-bottom)); background:var(--white); border-top:1px solid var(--line); box-shadow:0 -6px 18px #3024150f; }
  .mobile-order > div { flex:1; line-height:1.25; }
  .mobile-order small { display:block; color:var(--muted); white-space:nowrap; }
  .mobile-order .primary { width:auto; }
  & { scroll-padding-bottom:95px; }
}
@media (max-width:530px) {
  .shell { width:calc(100% - 28px); }
  .header-inner { min-height:64px; }
  .brand { gap:8px; }
  .brand strong { font-size:25px; }
  .demo-label { font-size:11px; padding-left:8px; }
  .cart-button { padding:6px 8px; gap:5px; }
  main { padding-top:24px; }
  .intro { margin-bottom:17px; }
  .intro p { font-size:14px; }
  .list-group h2 { padding:12px 11px; font-size:17px; }
  thead { position:absolute; width:1px; height:1px; clip-path:inset(50%); overflow:hidden; }
  table,t& { display:block; }
  tbody tr { display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:center; padding:8px 10px 10px; column-gap:7px; border-top:1px solid var(--line); }
  tbody th,tbody td,tbody td:first-child,tbody td:last-child { border:0; padding:3px 0; }
  tbody .name { grid-column:1/-1; grid-row:1; }
  tbody .sku { grid-column:1/-1; grid-row:2; }
  .price { font-size:13px; }
  .row-button { padding:5px 8px; }
  .qty { grid-template-columns:26px 38px 26px; }
}

& [hidden]{display:none!important} #open-cart{float:right;color:var(--orange-dark);font-weight:650} .intro{display:flow-root} .intro p{padding-right:85px} }
.s12order details.list-group{margin:0 0 8px}
.s12order .list-group>summary{cursor:pointer;padding:14px 18px;font-size:17px;font-weight:680;line-height:1.4}
.s12order .list-group>summary::marker{color:var(--orange)}
.s12order .list-group>summary small{float:right;color:var(--muted);font-size:13px;font-weight:500}
.s12order .list-group[open]>summary{background:#f0ebe3;border-bottom:1px solid var(--line)}
.s12order .list-group>summary:focus-visible{outline:2px solid var(--orange);outline-offset:-3px}

.s12order .intro{display:flex;align-items:center;justify-content:space-between;gap:14px}
.s12order .intro p{padding:0;order:-1}
.s12order #open-cart{float:none;flex:none;position:relative;min-height:44px;text-decoration:none}
.s12order #status,.s12order #status:empty{display:block;height:3em;line-height:1.4;overflow:auto;margin:0 0 6px}
