/* Customer-supplied desktop design: independent category scroll and one sticky header. */
:root{--accent:#ed7c2b;--orange:#ed7c2b;--ink:#171717;--line:#dedede;--header-height:100px}
.topbar{height:var(--header-height);padding:16px 28px;gap:24px;background:#f7f7f7;z-index:10}
.brand{width:225px;text-align:left;font-size:24px;color:#111}
.search{max-width:370px;min-width:200px}.search input{border:1px solid #ddd;border-radius:28px 0 0 28px;min-width:0;background:white}
.search button{border-radius:0 28px 28px 0}.refine-search{display:flex;align-items:center;gap:8px;min-width:220px}
.refine-search label{white-space:nowrap;font-size:14px;font-weight:bold}.refine-search input{width:130px;border-radius:24px 0 0 24px;border-color:#ddd}.refine-search button{background:var(--orange);border:0;color:white;padding:11px;border-radius:0 24px 24px 0;margin-left:-8px}
.topbar nav{margin-left:auto;gap:6px;flex-wrap:wrap;justify-content:flex-end}.topbar nav button{border:0;background:transparent;font-weight:bold;color:#111;white-space:nowrap}
.shell{grid-template-columns:270px minmax(0,1fr)}aside{position:sticky;top:var(--header-height);height:calc(100vh - var(--header-height));overflow-y:auto;padding:0;background:#e7e7e7;scrollbar-color:var(--orange) #f5f5f5;scrollbar-width:thin}
aside h2{background:#000;color:#fff;padding:12px 24px;font-size:20px;margin:0 0 18px}#categories{padding:0 18px 24px}#categories button{color:#555;font-size:14px;border-radius:0;padding:9px 6px}#categories button.active{background:var(--orange);color:white;border-radius:0 24px 24px 0}#categories button:hover{background:#f8dbc6;color:#111}
main{padding:24px 18px;min-width:0}.products{display:block}.catalog-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;border-top:1px solid var(--line);border-left:1px solid var(--line)}
.catalog-table th,.catalog-table td{border-right:1px solid var(--line);border-bottom:1px solid var(--line);text-align:center;padding:12px 8px;overflow-wrap:anywhere}.catalog-table th{position:sticky;top:var(--header-height);z-index:3;background:white;height:56px;font-size:15px}.catalog-table td{height:180px}.catalog-table tbody tr:nth-child(even){background:#f5f5f5}.catalog-table img{width:100%;height:150px;object-fit:contain;cursor:pointer}.catalog-table [data-detail]{cursor:pointer}.catalog-table .product-title{border:0;background:none;color:inherit;font:inherit;font-weight:600;padding:0;text-align:center}.catalog-table select{width:100%;padding:9px 5px;border:1px solid #ddd;background:#fff;border-radius:3px;font:inherit}.catalog-table input[type=checkbox]{width:18px;height:18px;accent-color:var(--orange)}
.quantity-control{display:flex;justify-content:center;align-items:center}.quantity-control button{border:1px solid #ddd;background:#f5f5f5;padding:8px;font-size:17px;cursor:pointer}.quantity-control input{width:54px;padding:9px 3px;text-align:center;border-radius:0;border-color:#ddd;appearance:textfield}.quantity-control input::-webkit-inner-spin-button{appearance:none}.catalog-selection{position:sticky;bottom:0;padding:14px 20px;background:#fff;border:1px solid #ddd;box-shadow:0 -3px 12px #00000008;display:flex;justify-content:flex-end;gap:24px;align-items:center;z-index:4}.catalog-selection button{background:var(--orange);color:#fff;border:0;border-radius:4px;padding:12px 22px;cursor:pointer}.catalog-table .line-total{font-weight:700}.message:empty{display:none}.preview-banner{padding:8px;background:#fff1d7;color:#804000;text-align:center;font-size:13px}
@media(max-width:1450px){.topbar{gap:12px}.brand{width:160px;font-size:20px}.refine-search input{width:100px}.topbar nav button{padding:6px;font-size:12px}.shell{grid-template-columns:220px minmax(0,1fr)}.catalog-table td{font-size:13px;padding:8px 4px}}
@media(max-width:1000px){:root{--header-height:160px}.topbar{height:160px;flex-wrap:wrap;padding:12px}.brand{width:150px}.search{order:0;flex:1;max-width:none}.refine-search{min-width:0}.topbar nav{width:100%;justify-content:flex-start}.shell{display:block}aside{position:relative;top:0;height:auto;max-height:240px}#categories{display:block}main{padding:12px 4px}.products{overflow:auto}.catalog-table{min-width:1050px}.catalog-table th{top:0}.catalog-selection{flex-wrap:wrap;gap:10px}.catalog-table td{height:140px}.catalog-table img{height:110px}}
