:root{--ink:#19312f;--muted:#697873;--line:#dce3dd;--paper:#f8f8f3;--green:#294c43}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.5 "Segoe UI","Microsoft YaHei",sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}a{color:inherit;text-decoration:none}button{color:inherit}header{height:98px;max-width:1420px;margin:auto;display:flex;justify-content:space-between;align-items:center;padding:0 48px;border-bottom:1px solid var(--line)}.preview{background:#e4ebe4;padding:7px 48px;font-size:11px;letter-spacing:1px;display:flex;justify-content:space-between}.preview span{letter-spacing:0}.brand{font:27px Georgia,serif;letter-spacing:5px}.brand span{display:block;font:8px/2.5 Arial;letter-spacing:3px}nav{display:flex;align-items:center;gap:18px}nav a[aria-current]{border-bottom:1px solid;padding:3px 0}nav i{height:14px;border-left:1px solid #aebcb5}button{border:1px solid var(--line);background:transparent;border-radius:5px;min-height:42px;padding:9px 15px}.bagbtn{margin-left:18px;background:var(--ink);color:white;border:0}.bagbtn b{background:#fff2;border-radius:3px;padding:2px 7px;margin-left:12px}main{max-width:1420px;padding:0 48px;margin:auto}.hero{display:flex;align-items:center;justify-content:space-between;padding:40px 0 36px;min-height:215px}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--muted)}h1{font:46px/1.2 Georgia,"Microsoft YaHei",serif;letter-spacing:-1px;margin:15px 0}.hero p:last-child{color:var(--muted);font-size:15px}.hero-mark{border:1px solid #d0d9cc;border-radius:100% 100% 0 0;width:140px;height:150px;text-align:center;font:84px/1.45 Georgia;color:#71816c;background:#edf0e6}.hero-mark span{display:block;font:7px Arial;letter-spacing:2px}.toolbar{display:flex;gap:12px;background:#fff;padding:13px;border:1px solid var(--line);border-radius:8px}.search{display:flex;align-items:center;gap:12px;flex:1;padding:0 12px}.search span{font-size:27px}.search input{border:0;outline:none;background:transparent;width:100%;height:42px}select{border:1px solid var(--line);border-radius:5px;background:white;padding:8px 35px 8px 14px}.subtle{color:var(--muted)}.list-heading{display:flex;align-items:center;justify-content:space-between;margin:25px 0 18px}.list-heading h2{font-size:19px;font-weight:500;margin:0}.list-heading span{color:var(--muted);font-size:12px}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.card{background:white;border:1px solid var(--line);border-radius:9px;overflow:hidden;transition:box-shadow .2s}.card:hover{box-shadow:0 8px 24px #19312f0b}.product-art{position:relative;border:0;border-radius:0;background:#f0f1eb;width:100%;height:210px;padding:20px;display:flex;align-items:center;justify-content:center}.product-art img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.placeholder{display:flex;flex-direction:column;align-items:center;color:#88948a}.placeholder svg{width:75px;height:110px;fill:none;stroke:#a9b3a7;stroke-width:1.1}.placeholder small{font-size:10px;letter-spacing:1px;margin-top:9px}.stock-tag{position:absolute;top:13px;left:13px;font-size:10px;letter-spacing:.4px;background:#fff9;border:1px solid #dce3d8;border-radius:30px;padding:3px 9px;color:#3f6650}.stock-tag.out{color:#8c7256}.card-body{padding:17px}.sku{font-family:monospace;font-size:12px;letter-spacing:1px;color:#697c6b;border:0;padding:0;min-height:24px}.card h3{font-size:15px;font-weight:500;height:45px;margin:5px 0 14px;line-height:1.45}.card h3 button{text-align:left;min-height:0;padding:0;border:0}.stocks{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #edf0eb;border-bottom:1px solid #edf0eb;padding:10px 0;gap:15px}.stocks div{display:flex;justify-content:space-between;align-items:center}.stocks div+div{border-left:1px solid var(--line);padding-left:15px}.stocks span{font-size:11px;color:var(--muted)}.stocks b{font-size:15px;font-weight:600}.eta{font-size:11px;min-height:17px;margin:10px 0;color:#8a7555}.add{width:100%;border-color:#c8d5cb;display:flex;justify-content:space-between;align-items:center;background:#f6f8f3;font-size:12px}.add:hover:enabled{background:var(--green);color:white}.add span{font-size:18px}footer{padding:35px 0;margin-top:35px;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:var(--muted);font-size:11px;gap:20px}dialog{border:0;border-radius:12px;padding:0;max-height:90vh;box-shadow:0 30px 100px #0003;color:var(--ink)}dialog::backdrop{background:#102b2659;backdrop-filter:blur(3px)}.close{border:0;font-size:26px;line-height:1;min-width:44px}#detail{width:min(900px,94vw)}#detail>.close{position:absolute;right:12px;top:12px;z-index:3;background:#fff9}#detail-content{display:grid;grid-template-columns:1fr 1fr}.gallery-wrap{background:#eff1e9;min-width:0}.gallery{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;height:420px}.gallery>img,.gallery-empty{width:100%;flex:0 0 100%;object-fit:contain;scroll-snap-align:center;padding:28px}.gallery-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:95px;color:#a5afa1}.gallery-empty small{font-size:12px}.gallery-nav{display:flex;align-items:center;justify-content:space-between;padding:8px 20px;font-size:11px}.detail-info{padding:48px 30px 30px}.detail-info h2{font:29px/1.25 Georgia,"Microsoft YaHei";margin:12px 0 18px}.detail-info>p{color:var(--muted)}.detail-info small{display:block;color:var(--muted);font-size:11px;margin:12px 0}.detail-stock{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:25px 0}.detail-stock>div{background:var(--paper);padding:12px}.detail-stock b{display:block;font-size:24px}.detail-stock span{font-size:12px}.quantity{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}input[type=number]{width:70px;border:1px solid var(--line);border-radius:4px;padding:8px}.primary{background:var(--ink);color:white;border:0;width:100%;min-height:46px}.primary:hover{background:#31564c}#bag{position:fixed;inset:0 0 0 auto;margin:0;width:min(480px,100vw);height:100vh;max-height:100vh;border-radius:0;display:none}#bag[open]{display:flex;flex-direction:column}.drawer-head{padding:25px 28px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.drawer-head h2{font:28px Georgia,"Microsoft YaHei";margin:6px 0}#bag-items{padding:0 28px;overflow:auto;flex:1}.bag-row{display:grid;grid-template-columns:52px 1fr 64px;gap:14px;align-items:center;padding:22px 0;border-bottom:1px solid var(--line)}.bag-thumb{background:#f0f2ec;height:65px;display:grid;place-items:center;font-size:25px;color:#a2ad9c}.bag-thumb img{width:100%;height:100%;object-fit:contain}.bag-row b{font-size:11px;font-family:monospace}.bag-row p{font-size:13px;margin:3px 0}.remove{font-size:11px;padding:0;border:0;min-height:25px;text-decoration:underline;color:var(--muted)}.bag-row input{width:64px}.bag-bottom{padding:20px 28px;border-top:1px solid var(--line)}.bag-bottom p{display:flex;justify-content:space-between}.bag-bottom small{display:block;color:var(--muted);font-size:11px;margin-top:14px}.empty{text-align:center;padding:80px 0;color:var(--muted)}.empty>span{font-size:50px}.empty h3{font-weight:500}.empty p{font-size:12px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#19312f;color:white;padding:14px 22px;border-radius:7px;opacity:0;pointer-events:none;z-index:99;transition:opacity .2s}#toast.show{opacity:1}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}[hidden]{display:none!important}textarea{width:100%;border:1px solid var(--line);border-radius:5px;padding:10px;margin-top:10px} @media(min-width:1400px){.grid{grid-template-columns:repeat(5,minmax(0,1fr))}}@media(max-width:950px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}header,main{padding-left:25px;padding-right:25px}h1{font-size:38px}.hero-mark{display:none}}@media(max-width:650px){header{height:80px;padding:0 18px}.brand{font-size:20px;letter-spacing:2px}.brand span{font-size:6px;letter-spacing:1.5px}nav{gap:9px}.bagbtn{margin-left:4px;padding:8px;font-size:11px}.preview{padding:6px 18px;font-size:9px}.preview span{display:none}main{padding:0 16px}.hero{padding:28px 0;min-height:180px}h1{font-size:30px}.hero p:last-child{font-size:13px;max-width:300px}.toolbar{flex-wrap:wrap;gap:8px;padding:9px}.search{flex-basis:100%}.toolbar select{flex:1}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-art{height:170px}.card-body{padding:12px}.card h3{font-size:13px;height:55px}.stocks{gap:8px}.stocks div{flex-direction:column;align-items:start;gap:4px}.stocks div+div{padding-left:8px}.eta{font-size:10px}.stock-tag{font-size:9px}.list-heading{margin:22px 0 14px}footer{flex-direction:column}#detail-content{grid-template-columns:1fr}.gallery{height:280px}.detail-info{padding:25px}.detail-info h2{font-size:25px}}
/* Dense catalogue: one product per row. */
header{height:62px;max-width:none;padding:0 24px}.brand{font-size:21px;letter-spacing:3px}main{max-width:none;padding:0 24px}.toolbar{margin-top:18px;padding:8px;gap:10px}.toolbar input,.toolbar button,.toolbar select{min-height:36px;height:36px}.list-heading{margin:15px 0 10px}.list-heading h2{font-size:15px}.grid{display:flex;flex-direction:column;gap:0;border:1px solid var(--line);border-radius:6px;overflow:hidden;background:white}.card{display:flex;align-items:center;border:0;border-bottom:1px solid var(--line);border-radius:0;min-height:64px;padding:6px 12px;gap:14px}.card:last-child{border-bottom:0}.card:nth-child(even){background:#f6f8f4}.card:hover{background:#eef3ec;box-shadow:none}.product-art{width:46px;height:50px;min-height:0;flex:0 0 46px;border-radius:3px;padding:3px}.placeholder svg{height:40px;width:30px}.card-body{display:grid;grid-template-columns:75px minmax(140px,1fr) 230px 180px 126px;align-items:center;gap:18px;flex:1;min-width:0;padding:0}.card h3{height:auto;margin:0;font-size:14px}.card h3 button{font-size:14px;line-height:1.35}.sku{text-align:left}.stocks{border:0;padding:0;gap:18px}.stocks div{flex-direction:row;align-items:center}.stocks span{font-size:12px}.stocks b{font-size:14px}.eta{margin:0;font-size:11px;min-height:0}.add{min-height:34px;height:34px;font-size:12px;padding:5px 10px}.add span{font-size:16px}.search{padding-left:6px}.list-heading span{font-size:11px}@media(max-width:950px){.card-body{grid-template-columns:65px minmax(120px,1fr) 165px 115px 100px;gap:10px}.stocks{gap:8px}.stocks div+div{padding-left:8px}.card{gap:10px}.stocks span{font-size:10px}.card h3 button{font-size:12px}}@media(max-width:650px){header{padding:0 12px;height:55px}main{padding:0 8px}.brand{font-size:16px}.toolbar{margin-top:10px;gap:5px;padding:6px}.search{flex-basis:100%}.list-heading{margin:10px 3px}.card{padding:6px;gap:7px;min-height:83px}.product-art{width:35px;flex-basis:35px;height:44px}.card-body{grid-template-columns:1fr 87px;gap:3px 8px}.card-body>.sku{grid-column:1;grid-row:1;min-height:16px;font-size:10px}.card h3{grid-column:1;grid-row:2}.card h3 button{font-size:12px}.stocks{grid-column:1;grid-row:3;display:flex;gap:12px}.stocks div{gap:6px}.stocks div+div{border:0;padding:0}.stocks b{font-size:12px}.eta{grid-column:1;grid-row:4;font-size:9px}.eta:has(:only-child){display:none}.add{grid-column:2;grid-row:1/5;align-self:center;padding:4px 7px;font-size:10px}.card-body>.eta:empty{display:none}.bagbtn{font-size:10px}.bagbtn b{margin-left:4px}nav{gap:8px}.toolbar .subtle{font-size:11px}}

/* Refined compact retail list */
:root{--ink:#242b36;--muted:#68717f;--line:#e8eaf0;--paper:#f5f6f8;--green:#263c50}
body{font-family:Arial,"Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased}
header{background:#fff;height:72px;border-bottom:1px solid #e8eaf0;padding:0 32px}.brand{font:bold 23px Georgia,serif;letter-spacing:3.5px;color:#24364a}nav{font-size:13px}.bagbtn{border-radius:24px;background:#263c50;padding:10px 20px;box-shadow:0 3px 8px #263c5014}.bagbtn b{border-radius:50%;background:#fff2}.toolbar{border:0;background:transparent;padding:0;margin-top:24px;gap:12px}.search{background:white;border:1px solid #dfe3e9;border-radius:10px;padding:0 16px;height:46px}.search input{height:44px;font-size:14px}.search span{color:#69788c}.toolbar select{height:46px;border-radius:10px;min-width:150px;border-color:#dfe3e9;color:#38475b}.list-heading{margin:21px 2px 12px}.list-heading h2{font-weight:600;font-size:17px}.list-heading span{font-size:12px}main{padding:0 32px 24px}.grid{border-radius:12px;border-color:#e4e7ed;box-shadow:0 3px 16px #25344804}.card{min-height:62px;padding:7px 14px;gap:16px;border-color:#edf0f4}.card:nth-child(even){background:#fff}.card:hover{background:#f5f8fc}.product-art{height:46px;width:42px;flex-basis:42px;background:#f0f2f6;border-radius:8px}.placeholder svg{stroke:#8e9aac;stroke-width:2;width:25px;height:34px}.card-body{grid-template-columns:66px minmax(140px,1fr) 202px 150px 116px;gap:16px}.sku{font:600 12px Arial;letter-spacing:.4px;color:#61738a}.card h3 button{font-size:14px;font-weight:500;color:#26354a;min-height:40px}.stocks{gap:10px}.stocks div{background:#f0f5fa;border-radius:6px;padding:5px 8px;gap:8px}.stocks div+div{border:0;padding:5px 8px}.stocks span{font-size:11px;color:#56677b}.stocks b{font-size:14px;font-variant-numeric:tabular-nums;color:#243d58}.eta{font-size:12px;color:#94672f;line-height:1.4}.add{background:#fff;border:1px solid #ccd6e2;border-radius:7px;color:#314c68;min-height:36px}.add:disabled{opacity:1;background:#f5f6f8;border-color:#eef0f3;color:#88929f}.add:disabled span{display:none}.add:hover:enabled{background:#263c50}.detail-info h2,.drawer-head h2{font-family:Arial,"Microsoft YaHei",sans-serif}.primary{background:#263c50;border-radius:8px}.detail-stock>div{border-radius:8px}.gallery-wrap{background:#f2f4f7}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #4c7daf;outline-offset:3px}.search:focus-within{outline:2px solid #4c7daf;outline-offset:2px}
@media(max-width:1000px){header{padding:0 20px}main{padding:0 20px 20px}.card-body{grid-template-columns:56px minmax(110px,1fr) 176px 126px 104px;gap:10px}.stocks div,.stocks div+div{padding:4px 6px}.card{gap:10px}.eta{font-size:11px}}
@media(max-width:760px){header{height:64px;padding:0 16px}.brand{font-size:18px;letter-spacing:2px}.bagbtn{padding:8px 12px;margin-left:0}.toolbar{margin-top:16px;flex-wrap:nowrap}.search{min-width:0;flex-basis:auto;padding:0 10px}.toolbar select{min-width:0;width:110px;padding-left:8px}.search input{font-size:13px}main{padding:0 12px 20px}.list-heading{margin:16px 0 10px}.card{min-height:84px;padding:8px;gap:10px}.card-body{grid-template-columns:1fr 100px;gap:2px 10px}.card-body>.sku{grid-column:1;grid-row:1;font-size:11px;min-height:16px}.card h3{grid-column:1;grid-row:2}.card h3 button{font-size:13px;min-height:22px}.stocks{grid-column:1;grid-row:3;display:flex;gap:6px}.stocks div,.stocks div+div{padding:2px 5px;gap:6px}.stocks span{font-size:10px}.stocks b{font-size:12px}.eta{grid-column:2;grid-row:3;font-size:10px;text-align:center}.add{grid-column:2;grid-row:1/3;min-height:40px;align-self:center;font-size:11px}.product-art{width:38px;flex-basis:38px;height:48px}.card-body>.eta:empty{display:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Warm ivory and burgundy palette */
:root{--ink:#392b2d;--muted:#817371;--line:#e9e1dd;--paper:#faf7f3;--green:#773e4c}
header{background:#fffdfa;border-color:#e9e1dd}.brand{color:#713c4a}.bagbtn,.primary{background:#713c4a;box-shadow:none}.primary:hover,.add:hover:enabled{background:#592c39}.search,.toolbar select{border-color:#e5dcd6;background:#fffdfa;color:#554347}.grid{border-color:#e9e1dd;background:#fffdfa}.card,.card:nth-child(even){background:#fffdfa;border-color:#eee6e0}.card:hover{background:#faf0eb}.product-art,.gallery-wrap{background:#f1e9e4}.placeholder svg{stroke:#b29991}.sku{color:#967367}.card h3 button{color:#49373b}.stocks div{background:#f5ede8}.stocks span{color:#8a6e64}.stocks b{color:#713c4a}.add{color:#713c4a;border-color:#dbc5c9;background:#fffafa}.add:disabled{background:#f6f1ee;color:#9a8e87;border-color:#eee6e0}.eta{color:#9c703c}.toolbar select{color:#554347}.search span{color:#967367}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,.search:focus-within{outline-color:#a46376}#toast{background:#713c4a}.notice{background:#f5ede8!important;border-color:#e9dcd4!important;color:#79594f!important}th{background:#f5ede8!important}.form-grid select{display:block;width:100%;margin-top:7px}.preview{background:#f0e4df;color:#79594f}

/* Blue theme */
:root{--ink:#1c3557;--muted:#6a7c94;--line:#e1e9f4;--paper:#f5f8fd;--green:#2463d9}header{background:#fff;border-color:#e1e9f4}.brand{color:#2358ac}.bagbtn,.primary,#toast{background:#2463d9}.primary:hover,.add:hover:enabled{background:#174fae}.search,.toolbar select{background:#fff;border-color:#dbe5f3;color:#304e76}.grid{border-color:#dfe8f5}.card,.card:nth-child(even){background:#fff;border-color:#edf2f8}.card:hover{background:#f3f7ff}.product-art,.gallery-wrap{background:#eef3fc}.placeholder svg{stroke:#97aed0}.sku{color:#5a7aa6}.card h3 button{color:#243f63}.stocks div{background:#eff5ff}.stocks span{color:#617d9e}.stocks b{color:#245caf}.add{color:#2463d9;border-color:#cbdcf8;background:#f8fbff}.add:disabled{background:#f5f7fa;border-color:#edf1f7;color:#8b98ab}.search span{color:#6a87b2}.notice,th,.preview{background:#edf4ff!important;border-color:#dce8fa!important;color:#577398!important}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,.search:focus-within{outline-color:#2463d9}
@media(max-width:760px){main{padding:0 6px 12px}header{padding:0 10px;height:54px}.brand{font-size:16px}.toolbar{margin-top:10px;gap:6px}.search,.toolbar select{height:38px}.search input{height:36px}.list-heading{margin:10px 5px 8px}.list-heading h2{font-size:14px}.card{min-height:52px;padding:5px 6px;gap:5px}.product-art{width:27px;flex-basis:27px;height:36px;padding:2px;border-radius:5px}.placeholder svg{width:21px;height:29px}.card-body{display:grid;grid-template-columns:40px minmax(40px,1fr) 86px 54px;gap:5px;align-items:center}.card-body>.sku,.card h3,.stocks,.add{grid-column:auto;grid-row:auto}.card-body>.sku{font-size:10px;letter-spacing:0}.card h3{min-width:0}.card h3 button{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%;min-height:40px;line-height:40px}.stocks{display:flex;gap:4px}.stocks div,.stocks div+div{display:flex;flex-direction:column;gap:0;padding:2px 3px;min-width:40px}.stocks span{font-size:9px;white-space:nowrap}.stocks b{font-size:12px;line-height:16px}.add{font-size:0;min-height:36px;width:54px;padding:3px;justify-content:center}.add span{font-size:21px}.add:disabled{font-size:10px}.eta{grid-column:2/5;grid-row:2;text-align:right;font-size:10px;margin-top:-7px}.card:has(.eta:not(:empty)){min-height:60px}.card-body:has(.eta:not(:empty)){row-gap:0}.card-body>.eta:empty{display:none}.bagbtn{font-size:10px}.bagbtn b{margin-left:3px}}
@media(max-width:760px){.card{position:relative}.card:has(.eta:not(:empty)){min-height:52px}.card-body>.eta:not(:empty){position:absolute;left:82px;bottom:3px;max-width:calc(100% - 242px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0;font-size:9px}.card:has(.eta:not(:empty)) h3 button{transform:translateY(-6px)}}
