/* Product operations: one table, frozen identity and action columns. */
.zy-merchandise{padding:20px 24px;max-width:1800px;margin:auto;color:#203b30;font-size:14px}
.zy-merchandise *{box-sizing:border-box}.zy-merchandise [hidden]{display:none!important}
.zm-header{display:flex;align-items:center;gap:16px;margin-bottom:16px}.zm-header h1{font-size:24px;line-height:1.4;margin:0 0 4px;font-weight:650}.zm-header p{margin:0;color:#718077;font-size:13px}
.zy-merchandise button,.zy-merchandise a,.zm-dialog button{cursor:pointer;border:1px solid #d8e0da;border-radius:5px;background:#fff;color:#29513e;padding:6px 12px;display:inline-block;line-height:1.55;text-decoration:none;font-size:13px}
.zy-merchandise button:hover,.zy-merchandise a:hover{background:#edf4ef;color:#123527;border-color:#99b6a4}.zy-merchandise button:focus-visible,.zy-merchandise a:focus-visible,.zm-grid-scroll:focus-visible{outline:2px solid #397955;outline-offset:2px}.zy-merchandise button:disabled{opacity:.45;cursor:not-allowed}.zy-merchandise .zm-primary{background:#24523d;color:#fff;border-color:#24523d}.zy-merchandise .zm-primary:hover{background:#173d2c;color:#fff}
.zm-notice:empty{display:none}.zm-notice{font-size:13px;margin:10px 0}.zm-notice[data-error=true]{color:#a62e2a;padding:10px 12px;background:#fff0ed;border-radius:5px}
.zm-tabs{display:flex;gap:6px;overflow-x:auto;white-space:nowrap;border-bottom:1px solid #dce4de;margin:0;background:#fff;padding:0 12px}.zm-tabs button{border:0;border-radius:0;flex-shrink:0;padding:13px 12px 11px;color:#5c6c62;border-bottom:3px solid transparent}.zm-tabs [aria-pressed=true]{color:#24583d;background:#fff;border-bottom-color:#24583d;font-weight:650}.zm-tabs button:hover{background:#f4f8f4}
.zm-filter{display:flex;gap:12px 16px;align-items:end;flex-wrap:wrap;background:#fff;padding:16px 16px 14px;border-bottom:1px solid #e2e8e3}.zm-filter label{display:grid;gap:7px;color:#617267;font-size:12px}.zm-search-main{width:100%}.zm-filter .zm-search-main input{width:100%}.zm-filter input,.zm-filter select,.zm-dialog input{height:34px;border:1px solid #d0dcd3;border-radius:5px;padding:5px 10px;color:#253e31;background:#fff;font-size:13px;min-width:0}.zm-filter input::placeholder{color:#9ba69e}.zm-filter select{min-width:185px}.zm-price-range{display:flex;align-items:center;gap:9px;color:#8b998e}.zm-price-range input{width:130px}.zm-filter-actions{display:flex;gap:8px;margin-left:auto;align-self:end}
.zm-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:#fff;padding:14px 16px;border-bottom:1px solid #e2e8e3}.zm-total{font-size:13px;color:#3a5043;margin-right:4px}.zm-toolbar [data-selected]{font-size:13px;color:#2b6b47}.zm-toolbar [data-selected]:empty{display:none}.zm-toolbar-right{margin-left:auto;display:flex;gap:8px;flex-wrap:wrap}.zm-toolbar button,.zm-toolbar a{white-space:nowrap}
.zm-grid-scroll{position:relative;overflow:auto;background:#fff;border:1px solid #dae2dc;border-top:0;max-height:calc(100dvh - 335px);min-height:280px;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-color:#a8b7ad #f4f6f3}
.zm-data-table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:100%;min-width:1530px;--zm-frozen-start:330px;--zm-frozen-end:118px}
.zm-col-info{width:var(--zm-frozen-start)}.zm-col-price{width:165px}.zm-col-stock{width:115px}.zm-col-available{width:125px}.zm-col-filing{width:150px}.zm-col-codes{width:220px}.zm-col-sequence{width:130px}.zm-col-channels{width:140px}.zm-col-actions{width:var(--zm-frozen-end)}
.zm-data-table th,.zm-data-table td{padding:13px 16px;text-align:left;border-bottom:1px solid #e5ebe6;font-size:13px;line-height:1.55;vertical-align:top;background:#fff;overflow-wrap:anywhere}
.zm-data-table thead th{position:sticky;top:0;z-index:3;background:#f6f8f6;color:#46594b;font-weight:600;height:44px;vertical-align:middle;padding-top:11px;padding-bottom:11px;white-space:nowrap}
.zm-data-table .zm-fixed-start{position:sticky;left:0;z-index:2;box-shadow:6px 0 8px -7px #526b5e99;isolation:isolate}.zm-data-table .zm-fixed-end{position:sticky;right:0;z-index:2;box-shadow:-6px 0 8px -7px #526b5e99;isolation:isolate}.zm-data-table thead .zm-fixed-start,.zm-data-table thead .zm-fixed-end{z-index:5;background:#f6f8f6}
.zm-data-table th.zm-fixed-start{padding-left:14px}.zm-data-table input[type=checkbox]{width:15px;height:15px;margin:0;accent-color:#285940;flex:none;cursor:pointer}.zm-data-table th input{vertical-align:middle;margin-right:12px!important}
.zm-product-row:hover>td{background:#f8fbf8}.zm-sku-row>td{background:#f7faf7}.zm-sku-row:hover>td{background:#edf5ef}.zm-product-row td{height:122px}.zm-sku-row td{font-size:12px;padding-top:12px;padding-bottom:12px}
.zm-info{display:flex;align-items:flex-start;gap:11px;min-width:0}.zm-select-slot{width:16px;flex-shrink:0;padding-top:2px}.zm-image{height:58px;width:50px;flex-shrink:0;border:1px solid #edf0eb;background:#fafbf9;border-radius:4px;color:#a4ada6;font-size:10px;display:flex;align-items:center;justify-content:center;text-align:center}.zm-image img{width:100%;height:100%;object-fit:contain;border-radius:4px}
.zm-sku-info{display:flex;align-items:flex-start;gap:9px}.zm-sku-copy{min-width:0}.zm-sku-info .zm-image{width:36px;height:44px}.zm-title .zm-image-source{white-space:normal;color:#637c6b}
.zm-title{min-width:0;flex:1}.zm-title h2{font-size:13px;font-weight:550;line-height:1.55;margin:0 0 4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.zm-title .zm-cell-note{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.zm-cell-note{display:block;color:#839086;font-size:12px;line-height:1.55;margin-top:3px;font-weight:400}.zm-status{display:inline-block;padding:1px 5px;margin-top:5px;border-radius:3px;font-size:11px;background:#f0f2ed;color:#718074;line-height:1.5}.zm-status.selling{color:#287044;background:#edf7ee}.zm-status.soldout{color:#956a10;background:#fff5de}.zm-status.unavailable{color:#985d1d;background:#fff1e2}.zm-sku-info{padding-left:27px}.zm-sku-info strong{font-size:12px;font-weight:550}
.zm-money,.zm-number{font-variant-numeric:tabular-nums}.zm-money{white-space:nowrap}.zm-codes{font-variant-numeric:tabular-nums;word-break:break-all}.zy-merchandise .zm-data-table button,.zy-merchandise .zm-data-table a{border:0;background:transparent;border-radius:2px;padding:0;font-size:12px;line-height:1.8;color:#2a6847;text-align:left}.zy-merchandise .zm-data-table button:hover,.zy-merchandise .zm-data-table a:hover{color:#153f29;text-decoration:underline;background:transparent}.zm-title>button{display:block!important;margin-top:3px}.zm-money>a{display:block;margin-top:4px}.zm-actions{display:flex;flex-direction:column;align-items:flex-start;gap:2px}.zm-pagination{display:flex;justify-content:flex-end;gap:14px;align-items:center;padding:14px 16px;background:#fff;border:1px solid #dae2dc;border-top:0;font-size:12px;color:#67786c}.zm-empty{padding:60px 20px;margin:0;text-align:center;background:#fff;color:#77867b}
.zm-dialog{border:1px solid #d6dfd8;border-radius:14px;max-width:1100px;width:90vw;max-height:90vh;padding:24px;color:#244333}.zm-dialog::backdrop{background:#132b2266}.zm-dialog h2{font-size:22px;margin-bottom:20px}.zm-dialog p{margin:12px 0}.zm-dialog footer{display:flex;justify-content:end;gap:12px;position:sticky;bottom:-24px;background:#fff;padding:18px 0;margin-top:12px}.zm-dialog .zy-products{padding:0}.zm-dialog .zp-header,.zm-dialog [data-back],.zm-dialog [data-links]{display:none}.zm-dialog label{display:grid;gap:8px}
.zm-editor-title{padding:20px 28px;color:#234432}.zm-editor-title h1{font-size:24px;margin-bottom:8px}.zm-editor-title a{margin-right:20px;color:#265942}.zm-editor-internal{padding:20px;background:#f7f9f6;margin:16px;border:1px solid #dbe4dc;border-radius:12px}.zm-editor-internal button{margin:6px;padding:10px;border:1px solid #bbccbf;background:white;color:#214431;border-radius:6px;cursor:pointer}
@media(max-width:1000px){.zy-merchandise{padding:16px}.zm-filter-actions{margin-left:0}.zm-toolbar-right{margin-left:0}.zm-toolbar{gap:8px}.zm-grid-scroll{max-height:calc(100dvh - 350px)}}
@media(max-width:700px){.zy-merchandise{padding:12px}.zm-header{margin-bottom:12px}.zm-header h1{font-size:22px}.zm-header p{font-size:12px}.zm-tabs{padding:0 4px}.zm-tabs button{padding:11px 9px}.zm-filter{padding:12px;gap:10px}.zm-filter select{min-width:150px}.zm-price-range input{width:104px}.zm-toolbar{padding:12px}.zm-toolbar-right{width:100%;margin:3px 0 0}.zm-data-table{--zm-frozen-start:260px;--zm-frozen-end:105px;min-width:1425px}.zm-data-table th,.zm-data-table td{padding-left:11px;padding-right:11px}.zm-info{gap:8px}.zm-image{width:40px;height:50px}.zm-title h2{font-size:12px}.zm-data-table .zm-fixed-end{padding-left:12px;padding-right:8px}.zm-grid-scroll{min-height:260px;max-height:calc(100dvh - 380px)}.zm-dialog{padding:16px;width:96vw}.zm-pagination{padding:12px 8px;gap:10px;justify-content:center}}
@media(max-width:440px){.zy-merchandise{padding:8px}.zm-data-table{--zm-frozen-start:200px;--zm-frozen-end:84px;min-width:1344px}.zm-info{gap:6px}.zm-image{display:none}.zm-title h2{font-size:12px}.zm-data-table .zm-fixed-end{padding:11px 7px}.zm-data-table .zm-actions a,.zm-data-table .zm-actions button{font-size:11px}.zm-toolbar-right{gap:6px}.zm-toolbar-right a,.zm-toolbar-right button{padding:5px 8px}.zm-filter select{width:100%;min-width:0}.zm-filter-actions{margin-left:auto}.zm-grid-scroll{min-height:240px}}

.zm-sku-heading{padding:16px;background:#f7f9f6;border:1px solid #dce5de;border-radius:8px;margin-bottom:14px}.zm-sku-heading h2{font-size:18px;font-weight:600;margin:0 0 8px}.zm-sku-heading p{line-height:1.7;color:#617469}.zm-extra-toggle{padding:7px 12px;border:1px solid #bacdc0;border-radius:6px;background:white;color:#244c35;cursor:pointer;margin-top:10px}.zm-extra-help{display:none;margin-top:10px}.zm-show-extra .zm-extra-help{display:block}.zm-sku-table{overflow-x:auto}.zm-sku-table .layui-table{min-width:1000px}.zm-sku-table colgroup{display:none}.zm-sku-table input{min-width:80px}.zm-sku-table th{white-space:nowrap}.addGoods .layui-tab-title{height:auto;min-height:44px;white-space:normal}.addGoods .layui-tab-title li{padding:0 18px}.addGoods .layui-tab-card>.layui-tab-title .layui-this{color:#235537;font-weight:600}.zm-sku-table th:nth-child(7),.zm-sku-table th:nth-child(8),.zm-sku-table th:nth-child(11),.zm-sku-table th:nth-child(12),.zm-sku-table th:nth-child(13),.zm-sku-table th:nth-child(14),.zm-sku-table th:nth-child(15),.zm-sku-table td:nth-child(7),.zm-sku-table td:nth-child(8),.zm-sku-table td:nth-child(11),.zm-sku-table td:nth-child(12),.zm-sku-table td:nth-child(13),.zm-sku-table td:nth-child(14),.zm-sku-table td:nth-child(15){display:none}.zm-show-extra .zm-sku-table th,.zm-show-extra .zm-sku-table td{display:table-cell}.zm-show-extra .zm-sku-table .layui-table{min-width:1650px}.zm-editor-internal h2{font-size:18px;font-weight:600;margin-bottom:8px}.zm-editor-internal p{color:#617469;line-height:1.7}
