/* Huidao workbench layout, scoped to product surfaces. Existing theme controls,
   icons, fees and form sources remain owned by HOMERA. */
.hw-extra-variant-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}.hw-extra-variant-tags>span{font-size:11px;line-height:1.5;color:#7388a5;background:#f1f5fa;border:1px solid #e5ecf4;border-radius:4px;padding:2px 6px;max-width:100%;overflow-wrap:anywhere}
.hw-product-dialog [role=alert]{color:#b65353}
.hw-list-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:20px;flex-wrap:wrap}
.hw-list-head-actions>button{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.hw-list-head-actions>button>span{font-size:20px;line-height:1}
#product-list [data-hw-export]{color:#278064;border-color:#c5e2d6}
#product-list [data-hw-export] .asset-icon{width:18px;height:18px}
#product-list [data-hw-export][hidden],#product-list [data-hw-add-product][hidden]{display:none}
@media(max-width:650px){body:has(#add-product.active) .page-head,body:has(#product-list.active) .page-head{flex-wrap:wrap;gap:16px}body:has(#add-product.active) .page-head>div:first-child,body:has(#product-list.active) .page-head>div:first-child{flex:1 0 100%;min-width:0}body:has(#add-product.active) #page-title,body:has(#product-list.active) #page-title{font-size:28px;white-space:nowrap}body:has(#add-product.active) .head-actions,body:has(#product-list.active) .head-actions{justify-content:flex-end;width:100%}}
#product-list.hw-product-list .hw-identity>.thumb-btn,#product-list.hw-product-list .hw-identity>.thumb-placeholder{display:grid;place-items:center;box-sizing:border-box;flex:0 0 56px;width:56px;min-width:56px;max-width:56px;height:56px;min-height:56px;max-height:56px;aspect-ratio:1;padding:0;margin:0;border:1px solid #e0e7f1;border-radius:8px;background:#fff;overflow:hidden;box-shadow:none}
#product-list.hw-product-list .hw-identity>.thumb-placeholder{border-style:dashed;background:#f8fafc}
#product-list.hw-product-list .hw-sku-identity>.thumb-btn,#product-list.hw-product-list .hw-sku-identity>.thumb-placeholder{flex-basis:48px;width:48px;min-width:48px;max-width:48px;height:48px;min-height:48px;max-height:48px}
#product-list.hw-product-list .hw-identity>.thumb-btn img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;aspect-ratio:1;object-fit:contain;border:0;border-radius:0;margin:0}
.hw-action-icon{display:block;flex:0 0 18px;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.hw-product-search{position:relative;display:flex;align-items:center;min-width:0}.hw-product-search>.hw-action-icon{position:absolute;left:14px;color:#8197b7;pointer-events:none;z-index:1}
#product-list.hw-product-list .hw-product-search input{width:100%;min-width:0;height:44px;min-height:44px;padding-left:42px;margin:0;font-size:14px}
.hw-type-icon{display:block;flex:0 0 28px;width:28px;height:28px;background:currentColor;mask:var(--hw-type-source) center/contain no-repeat;-webkit-mask:var(--hw-type-source) center/contain no-repeat}
.hw-type-single{mask-size:21px 21px;-webkit-mask-size:21px 21px;--hw-type-source:url('/assets/ui-icons/product-type-single.svg')}.hw-type-variants{--hw-type-source:url('/assets/ui-icons/product-type-variants.svg')}
#add-product.hw-product-workbench .grid-two{grid-template-columns:minmax(0,1fr) 390px;gap:22px;align-items:start}
#add-product.hw-product-workbench #product-form{display:grid;gap:22px;min-width:0;min-height:0;padding:0;border:0;background:transparent;box-shadow:none}
#add-product.hw-product-workbench #product-form>.panel-head{margin:0;padding:24px 28px;background:#fff;border:1px solid #e2e8f1;border-radius:14px}
#add-product.hw-product-workbench #form-title{font-size:21px;margin:0 0 8px}#add-product.hw-product-workbench #form-hint{font-size:13px;color:#8391a5;margin:0}
.hw-product-card{min-width:0;border:1px solid #e1e8f2;border-radius:14px;background:#fff;overflow:hidden}
.hw-product-card>header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:26px 28px 20px}.hw-product-card>header>p{width:100%}.hw-product-card h3{font-size:18px;font-weight:650;margin:0;color:#273850}.hw-product-card h3 span{font-size:14px;color:#8290a5;font-weight:400}.hw-product-card p{font-size:13px;line-height:1.7;color:#8090a7;margin:8px 0 0}
#add-product.hw-product-workbench .hw-product-card>.form-grid{padding:0 28px 24px}
.hw-product-modes{display:grid;grid-template-columns:1fr 1fr;margin:0 28px 26px;gap:0;border:1px solid #dce5f2;border-radius:10px;overflow:hidden}.hw-product-modes button{display:flex;align-items:center;justify-content:center;gap:12px;min-height:60px;border:0;border-radius:0;background:#f8fafd;color:#7f8ca0;font-size:16px;box-shadow:none}.hw-product-modes button+button{border-left:1px solid #dce5f2}.hw-product-modes button.active{color:#3478f6;background:#edf4ff}.hw-product-modes svg,.hw-product-modes .asset-icon{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.6}
.hw-product-basics{display:grid;grid-template-columns:162px minmax(0,1fr);gap:26px;padding:0 28px 28px;align-items:start}
#add-product.hw-product-workbench .form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 18px;min-width:0}
#add-product.hw-product-workbench .form-grid label{font-size:13px;color:#53657e;min-width:0;padding:0;border:0;background:transparent;align-content:start}
#add-product.hw-product-workbench .form-grid input,#add-product.hw-product-workbench .form-grid select{height:42px;min-height:42px;margin-top:7px;border-radius:8px;font-size:14px;width:100%;min-width:0}
#add-product.hw-product-workbench .hw-product-basics>.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.hw-product-photo{display:flex!important;flex-direction:column;gap:12px;padding:14px;border:1px solid #e2e9f1;border-radius:12px;background:#fafcfe;min-width:0}.hw-photo-title{font-size:13px;font-weight:550;color:#52667e}.hw-product-photo input[type=file]{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.hw-product-photo #product-image-preview{display:grid;place-items:center;width:100%;height:auto;aspect-ratio:1;background:#fff;border:1px dashed #ccd9eb;border-radius:8px;margin:0;color:#98a5b7;font-size:12px;overflow:hidden}.hw-product-photo #product-image-preview img{max-width:100%;max-height:132px;object-fit:contain}.hw-product-photo>button{min-height:34px;font-size:13px;padding:6px}
.hw-field-block{margin:0 28px 22px;padding:22px;border:1px solid #e3e9f1;border-radius:10px;background:#fff}.hw-field-block h4{margin:0 0 18px;font-size:14px;color:#425671}.hw-package{background:#f4f9ff;border-color:#dfebf8}.hw-carton{background:#f5faf6;border-color:#e1ece3}.hw-cost{background:#fffcf5;border-color:#f1e9d9}
#add-product.hw-product-workbench .hw-field-block>.calc-strip{margin:18px 0 0;padding-top:14px;border-top:1px solid #dfebf8;font-size:12px;flex-wrap:wrap;gap:24px}
#add-product.hw-product-workbench .hw-field-block>.calc-strip span{padding:0;border:0;background:transparent;color:#7487a1}
#add-product.hw-product-workbench .hw-field-block>.calc-strip strong{margin-left:6px;color:#426a9e;font-weight:550}
#add-product.hw-product-workbench .hw-inline-conversion{display:block;margin-top:8px;color:#8a96a8;font-size:11px;line-height:1.5}
#add-product.hw-product-workbench .hw-inline-conversion strong{color:#6a7e9b;font-weight:500}
#add-product.hw-product-workbench .form-actions{position:static;display:flex;justify-content:flex-end;gap:12px;margin:0;padding:0 0 24px;background:transparent;border:0}
#add-product.hw-product-workbench [hidden]{display:none!important}#hw-product-errors:empty{display:none}#hw-product-errors{padding:16px;border:1px solid #f4c9c7;background:#fff6f5;border-radius:10px;color:#ba423b;line-height:1.7}
.hw-dimension-picks{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 28px 22px}.hw-dimension-picks>label,.hw-dimension-picks>.hw-add-dimension{box-sizing:border-box;height:45px;min-height:45px;margin:0;line-height:20px}.hw-dimension-picks label{display:flex;align-items:center;gap:9px;padding:0 16px;border:1px solid #dce5f4;border-radius:9px;background:#f9fbff;font-size:14px}.hw-dimension-picks label:has(:checked){color:#3478f6;border-color:#b5cdfd;background:#edf4ff}.hw-dimension-picks input{width:17px;height:17px;accent-color:#3478f6;margin:0}
.hw-add-dimension{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 14px;font-size:14px}
.hw-dimension-options{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.hw-product-dialog .hw-dimension-options label{display:flex;align-items:center;gap:12px;padding:18px;border:1px solid #dce5f2;border-radius:10px;cursor:pointer}.hw-product-dialog .hw-dimension-options label:has(:checked){border-color:#7ca8f7;background:#f0f6ff}.hw-product-dialog .hw-dimension-options input{width:18px;height:18px;flex:0 0 18px;accent-color:#3478f6}.hw-dimension-options strong,.hw-dimension-options small{display:block}.hw-dimension-options small{margin-top:6px;font-size:11px;color:#8b9ab0}
.hw-dimension-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:0 28px 24px}.hw-dimension{min-width:0;border:1px solid #dce7f5;border-radius:12px;overflow:hidden}.hw-dimension>header{display:flex;align-items:center;justify-content:space-between;background:#f4f8fd;border-bottom:1px solid #e2eaf6;padding:18px}.hw-dimension small{font-size:11px;color:#8b9db6}.hw-dimension h4{font-size:16px;margin:7px 0 0;color:#3d587b}
.hw-arrows{display:flex;align-items:center;gap:0}.hw-arrows button{display:grid;place-items:center;width:23px;height:30px;padding:0;border:0!important;box-shadow:none!important;background:transparent!important;color:#8297b5;font-size:10px;border-radius:3px}.hw-arrows button:hover:not(:disabled){color:#3478f6;background:#eaf1fb!important}.hw-arrows button:disabled{opacity:.3}.hw-arrows.vertical{display:flex;flex-direction:column;justify-content:center;height:40px;align-self:end;margin-bottom:1px}.hw-arrows.vertical button{height:18px;min-height:18px;line-height:1}
.hw-value-row{display:grid;grid-template-columns:23px minmax(0,1fr) 24px;gap:8px;padding:14px 14px;border-bottom:1px solid #edf1f7;align-items:center}.hw-value-row label{display:grid;gap:6px;min-width:0}.hw-value-row input{width:100%;height:40px;font-size:14px}.hw-remove{padding:0!important;border:0!important;background:transparent!important;color:#90a0b6;box-shadow:none!important}.hw-value-add{display:flex;padding:14px;gap:8px;background:#fbfcfe}.hw-value-add input{width:100%;min-width:0;height:40px;font-size:13px}.hw-value-add button{width:38px;padding:0}
.hw-product-card>footer{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 28px;padding:20px 0;border-top:1px solid #e7edf5;color:#7d91ad;font-size:13px}.hw-product-card>footer>div{display:flex;gap:8px}
.hw-matrix-empty{margin:0 28px 28px;padding:38px 20px;border:1px dashed #d7e2f0;border-radius:10px;text-align:center;background:#fafcfe;color:#7790b0;font-size:14px}.hw-matrix-empty small{display:block;margin-top:12px;color:#9aa8bc}
.hw-matrix-scroll{max-height:610px;overflow:auto;margin:0 28px 22px;border:1px solid #e1e8f2;border-radius:8px;overscroll-behavior:contain}.hw-matrix-scroll table{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%;table-layout:fixed}.hw-matrix-scroll th,.hw-matrix-scroll td{min-width:155px;max-width:220px;padding:10px;border-right:1px solid #e9edf4;border-bottom:1px solid #e9edf4;font-size:12px}.hw-matrix-scroll th{position:sticky;top:0;z-index:2;background:#f6f8fc;color:#667b95;text-align:left}.hw-matrix-scroll th.hw-package{background:#eef6ff}.hw-matrix-scroll th.hw-carton{background:#f0f8f2}.hw-matrix-scroll th.hw-cost{background:#fff9ec}.hw-matrix-scroll td{background:#fff}.hw-matrix-scroll .hw-matrix-combination{position:sticky;left:0;z-index:1;min-width:145px;width:145px;background:#f7faff;border-right:1px solid #d5e2f3}.hw-matrix-scroll th.hw-matrix-combination{z-index:3}.hw-matrix-combination strong{display:block;line-height:1.6;font-weight:550}.hw-matrix-combination small{display:block;margin-top:7px;color:#8a9bb1}.hw-matrix-scroll tr.has-error td{background:#fff7f6}.hw-matrix-scroll input,.hw-matrix-scroll select{width:100%;height:36px!important;min-height:36px!important;margin:0!important;font-size:13px;min-width:0;padding:5px 9px}.hw-matrix-scroll input[readonly]{background:#f5f8fc;color:#6d819f;border-color:transparent}.hw-column-apply{display:flex;align-items:center;margin-top:10px;border:1px solid #dee6f1;background:white;border-radius:6px;overflow:hidden}.hw-column-apply input,.hw-column-apply select{border:0!important;border-radius:0}.hw-column-apply button{flex:0 0 28px;min-height:34px;padding:0;background:transparent;color:#6484b2;border:0;border-radius:0;font-size:16px;box-shadow:none}.hw-column-apply button:hover{color:#216aef;background:#eaf2ff}.hw-matrix-photo{text-align:center}.hw-matrix-photo span{font-size:11px;color:#91a0b5}.hw-matrix-photo label{display:block;cursor:pointer;font-size:11px;margin:8px auto 0;color:#5580bc}.hw-matrix-photo input[type=file]{position:absolute;width:1px;height:1px!important;opacity:0;overflow:hidden}.hw-matrix-photo img{width:34px;height:34px;object-fit:contain;margin:auto}
#product-list.hw-product-list>.panel{padding:28px;overflow:hidden;border-radius:16px}#product-list.hw-product-list .list-head{margin:0 0 24px}#product-list.hw-product-list .list-head h3{font-size:23px;margin:0 0 9px}#product-list.hw-product-list .list-head p{font-size:13px;color:#8a99ae}#product-list.hw-product-list .counter{font-size:14px}
#product-list.hw-product-list .filters{display:grid;grid-template-columns:minmax(230px,2.3fr) repeat(4,minmax(110px,1fr)) auto;gap:12px;margin:0 0 22px;align-items:center;flex-wrap:nowrap}#product-list.hw-product-list .filters>input,#product-list.hw-product-list .filters>select,#product-list.hw-product-list .filters .system-select-trigger,#product-list.hw-product-list .filters>button{height:44px;min-height:44px;font-size:14px;margin:0}#product-list.hw-product-list .filters .system-select-control{min-width:0;width:100%}
.hw-product-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 0;border-top:1px solid #e9eef5;color:#8090a7;font-size:13px}.hw-product-toolbar>div{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.hw-product-toolbar button{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:38px;min-height:38px;font-size:13px;padding:7px 14px}.hw-product-toolbar button:disabled{opacity:.45;cursor:not-allowed}
#product-list.hw-product-list .product-groups{overflow:visible;margin:0;padding:0;border:0;background:transparent}.hw-catalog-scroll{overflow:auto;border:1px solid #e2e8f2;border-radius:10px}.hw-catalog-table{width:100%;min-width:1180px;table-layout:fixed;border-collapse:separate;border-spacing:0}.hw-catalog-table th,.hw-catalog-table td{padding:14px 14px;border:0;border-bottom:1px solid #e7edf5;font-size:14px;text-align:left;vertical-align:middle;overflow-wrap:anywhere}.hw-catalog-table thead th{height:46px;background:#f3f6fa;color:#6b7d95;font-size:13px;font-weight:550}.hw-select-col{width:38px}.hw-title-col{width:24%}.hw-upc-col{width:13%}.hw-category-col{width:11%}.hw-brand-col{width:10%}.hw-stock-col{width:85px}.hw-status-col{width:88px}.hw-count-col{width:96px}.hw-action-col{width:182px}.hw-catalog-table td:first-child,.hw-catalog-table th:first-child{padding-left:12px;padding-right:4px}.hw-catalog-table input[type=checkbox]{width:16px;height:16px;margin:0;accent-color:#3478f6;cursor:pointer}.hw-catalog-table .hw-spu-row>td{background:#fff;height:88px}.hw-catalog-table .hw-spu-row.is-open>td{background:#f0f5fc}.hw-catalog-table .hw-spu-row.is-open:hover>td{background:#eaf1fb}.hw-catalog-table .hw-sku-row>td{background:#fff;height:72px;font-size:13px}.hw-catalog-table .hw-sku-row:hover>td{background:#fafbfd}.hw-catalog-table .hw-child-heading th{background:#fbfcfe;color:#93a1b3;font-size:11px;height:30px;padding-block:7px;font-weight:500}.hw-spu-row,.hw-sku-row{cursor:pointer}.hw-spu-row:focus-visible,.hw-sku-row:focus-visible{outline:2px solid #8cb4f9;outline-offset:-2px}.hw-identity{display:flex;align-items:center;gap:14px;min-width:0}.hw-identity>div{min-width:0}.hw-identity img,.hw-identity>.thumb{flex:0 0 50px;width:50px;height:50px;border:1px solid #e4eaf2;border-radius:8px;object-fit:contain;background:#fff}.hw-identity strong{display:block;font-weight:550;color:#30445f;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hw-identity small{display:block;margin-top:6px;color:#8798b0;font-size:13px;overflow-wrap:anywhere}.hw-sku-identity{padding-left:0;margin-left:0}.hw-sku-identity img,.hw-sku-identity>.thumb{width:34px;height:34px;flex-basis:34px}.hw-sku-identity strong{font-size:13px;font-weight:400}.hw-variant-count{font-size:16px;color:#526680}.hw-numeric{font-variant-numeric:tabular-nums;color:#405873;font-weight:550}#product-list.hw-product-list .row-actions{display:flex;gap:3px;flex-wrap:nowrap;justify-content:flex-start}#product-list.hw-product-list .row-actions button{border:0;background:transparent;box-shadow:none;padding:6px 7px;min-width:0;min-height:30px;font-size:12px;color:#5273a1;white-space:nowrap;border-radius:6px;transition:background-color .15s,color .15s}#product-list.hw-product-list .row-actions .danger-outline{color:#c07d7b}.hw-empty{text-align:center!important;padding:48px!important;color:#94a3b8}.hw-list-pager,.hw-child-paging{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 0;color:#8291a6;font-size:13px}.hw-list-pager>div,.hw-child-paging{display:flex;align-items:center;gap:12px}.hw-list-pager button,.hw-child-paging button{font-size:12px;padding:6px 10px}.hw-child-paging{justify-content:flex-end;padding:0}
.hw-catalog-table .hw-group-boundary>td{height:16px;padding:0;background:#f3f6fa;border-top:1px solid #dde5ef;border-bottom:1px solid #dde5ef;pointer-events:none}
.hw-product-dialog{width:min(850px,94vw);max-height:88dvh;padding:0;border:1px solid #dce5f1;border-radius:16px;background:#fff;color:#344054;overflow:auto}.hw-product-dialog::backdrop{background:rgba(30,43,65,.22);backdrop-filter:none}.hw-dialog-head{display:flex;justify-content:space-between;align-items:center;padding:24px 28px;border-bottom:1px solid #e7edf5}.hw-dialog-head small{font-size:10px;letter-spacing:1.5px;color:#9aaec7}.hw-dialog-head h3{font-size:20px;margin:8px 0 0}.hw-dialog-head>button{font-size:24px;border:0;background:transparent;color:#8398b4;padding:0 6px}.hw-product-dialog>form{padding:24px 28px}.hw-product-dialog .form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.hw-product-dialog label{display:grid;gap:8px;font-size:13px;color:#647994;min-width:0}.hw-product-dialog input,.hw-product-dialog select{width:100%;min-width:0;font-size:14px;height:40px}.hw-product-dialog p{color:#8091a8;font-size:13px;line-height:1.7;margin-bottom:22px}.hw-product-dialog footer{display:flex;justify-content:flex-end;margin-top:26px}.hw-bulk-filter{display:flex;gap:16px;align-items:center;padding:18px;background:#f6f9fd;border-radius:10px;margin-bottom:20px}.hw-bulk-filter label{flex:1}.hw-bulk-filter strong{font-size:13px;color:#4c7cbe;white-space:nowrap}.hw-product-dialog.hw-add-dimension-dialog{width:min(480px,92vw)}
.hw-product-dialog.hw-sku-drawer{inset:0 0 0 auto;margin:0;width:min(780px,96vw);height:100dvh;max-height:100dvh;border-radius:0;scrollbar-gutter:stable}
.hw-sku-drawer .hw-dialog-head{position:sticky;top:0;background:rgba(255,255,255,.98);z-index:2;padding:22px 32px}
.hw-sku-drawer .hw-dialog-head h3{font-size:18px;margin-top:6px}.hw-sku-drawer .hw-dialog-head>button{width:32px;height:32px;border-radius:7px}.hw-sku-drawer .hw-dialog-head>button:hover{background:#f0f5fb;color:#3478f6}
.hw-detail-hero{display:flex;align-items:center;gap:20px;padding:30px 32px 26px}
.hw-detail-photo{flex:0 0 88px;width:88px;height:88px;border:1px solid #e5ebf3;border-radius:12px;background:#fafcfe;overflow:hidden}
.hw-detail-photo>button,.hw-detail-photo>.thumb-placeholder{width:100%;height:100%;min-height:0;display:grid;place-items:center;border:0;border-radius:0;padding:0;margin:0;background:transparent;box-shadow:none}
.hw-detail-photo img{display:block;width:100%;height:100%;object-fit:contain}
.hw-detail-hero-copy{flex:1;min-width:0}.hw-detail-eyebrow{display:flex;gap:12px;align-items:center;font-size:12px;color:#72839a}.hw-detail-eyebrow .badge{font-size:12px}
.hw-detail-hero-copy h3{font-size:21px;line-height:1.5;margin:10px 0 6px;color:#233750;font-weight:600;overflow-wrap:anywhere}
.hw-sku-drawer .hw-detail-hero-copy p{margin:0;font-size:14px;color:#657b99;overflow-wrap:anywhere}
.hw-detail-stock{flex:0 0 auto;text-align:right;min-width:70px;align-self:center}.hw-detail-stock>span{display:block;color:#72839a;font-size:13px}.hw-detail-stock>strong{display:block;font-size:28px;font-weight:550;color:#365c94;margin-top:8px;font-variant-numeric:tabular-nums}
.hw-detail-identifiers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0 32px;padding:18px 20px;background:#f6f9fd;border-radius:8px;gap:22px}
.hw-detail-field{min-width:0}.hw-detail-field dt{font-size:13px;color:#72839a;line-height:1.6}.hw-detail-field dd{font-size:15px;color:#30445f;line-height:1.7;margin:6px 0 0;overflow-wrap:anywhere}
.hw-detail-identifiers dt{font-size:12px;letter-spacing:1px}.hw-detail-identifiers dd{font-size:14px;font-variant-numeric:tabular-nums}
.hw-detail-body{padding:4px 32px 36px}.hw-detail-section{padding:28px 0}.hw-detail-section+.hw-detail-section{border-top:1px solid #e8edf4}
.hw-detail-section>header{display:flex;align-items:center;gap:12px;margin-bottom:23px}.hw-detail-section>header>span{font-size:11px;font-variant-numeric:tabular-nums;color:#82a1d0}.hw-detail-section h4{font-size:16px;font-weight:600;color:#314966;margin:0}
.hw-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 36px;margin:0}.hw-detail-specs{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 26px}
.hw-detail-measure{display:grid;grid-template-columns:115px minmax(0,1fr);gap:18px;align-items:center;min-height:86px;box-sizing:border-box;padding:18px 0}.hw-detail-measure+.hw-detail-measure{border-top:1px dashed #e5ecf5}
.hw-detail-measure h5{font-size:14px;font-weight:500;color:#547093;margin:4px 0 6px}.hw-detail-measure>div>span{font-size:12px;color:#7b8ba2}
.hw-detail-measure-value>strong{display:flex;align-items:baseline;flex-wrap:wrap;gap:10px;font-size:20px;font-weight:500;color:#355172;font-variant-numeric:tabular-nums}
.hw-detail-measure-value{display:flex;align-items:center;flex-wrap:wrap;gap:12px 16px;min-width:0}
.hw-detail-measure-tags{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.hw-detail-measure-tags>span{display:inline-flex;align-items:baseline;gap:5px;padding:5px 8px;border:1px solid #e6edf5;border-radius:6px;background:#f5f8fc;color:#7388a3;font-size:11px;line-height:1.6;white-space:nowrap}
.hw-detail-measure-tags b{font-weight:500;color:#49668a;font-variant-numeric:tabular-nums}
.hw-detail-measure-value i{font-style:normal;font-size:14px;color:#a0b0c5;font-weight:400}.hw-detail-measure-value small{font-size:12px;color:#72839a;font-weight:400}
.hw-detail-prices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:0 0 24px;padding:0 0 24px;border-bottom:1px solid #edf1f7}.hw-detail-prices dt{font-size:13px;color:#72839a}.hw-detail-prices dd{margin:12px 0 0;color:#3e5f8b;font-size:20px;font-weight:500;overflow-wrap:anywhere}.hw-detail-prices small{font-size:12px;color:#72839a;font-weight:400;margin-left:6px}
.hw-sku-drawer .hw-detail-cost-table{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse;font-size:14px;background:transparent}
.hw-sku-drawer .hw-detail-cost-table th,.hw-sku-drawer .hw-detail-cost-table td{padding:15px 8px;font-size:14px;border:0;border-bottom:1px solid #eaf0f6;background:transparent;text-align:right;font-variant-numeric:tabular-nums;color:#4c6484;overflow-wrap:anywhere;white-space:normal}
.hw-sku-drawer .hw-detail-cost-table th:first-child{text-align:left;padding-left:0;width:44%;font-weight:400;color:#536b89}
.hw-sku-drawer .hw-detail-cost-table thead th{font-size:13px;font-weight:500;color:#72839a;padding-top:0;padding-bottom:12px}
.hw-sku-drawer .hw-detail-cost-table tr:last-child>*{border-bottom:0}.hw-sku-drawer .hw-detail-cost-table tbody tr:hover>*{background:#fafcfe}
.hw-muted-dash{color:#c5cedb}
@media(max-width:650px){.hw-sku-drawer .hw-dialog-head{padding:18px 22px}.hw-detail-hero{padding:24px 22px;gap:14px;flex-wrap:wrap}.hw-detail-photo{flex-basis:68px;width:68px;height:68px}.hw-detail-hero-copy h3{font-size:18px}.hw-detail-stock{margin-left:auto;min-width:55px}.hw-detail-stock>strong{font-size:24px}.hw-detail-identifiers{margin-inline:22px;grid-template-columns:1fr;gap:14px}.hw-detail-identifiers .hw-detail-field{display:grid;grid-template-columns:50px minmax(0,1fr);gap:8px;align-items:baseline}.hw-detail-identifiers dd{margin:0}.hw-detail-body{padding-inline:22px}.hw-detail-specs{grid-template-columns:repeat(2,minmax(0,1fr))}.hw-detail-grid{column-gap:20px}.hw-detail-measure{grid-template-columns:90px minmax(0,1fr);gap:12px}.hw-detail-measure-value>strong{font-size:17px;gap:7px}.hw-detail-prices{gap:12px}.hw-detail-prices dd{font-size:17px}}

.hw-spec-tags{display:flex;flex-wrap:wrap;align-items:center;gap:6px;white-space:normal}
.hw-spec-tags>span{display:inline-block;background:#f2f5f8;border-radius:5px;padding:4px 8px;font-size:13px;color:#56677e;line-height:1.5;max-width:100%;overflow-wrap:anywhere}
#product-list.hw-product-list .row-actions button:hover{background:#e9f0fb;color:#235cab}
#product-list.hw-product-list .row-actions button:focus-visible{outline:2px solid #8aaff0;outline-offset:1px}
#product-list.hw-product-list .row-actions .danger-outline:hover{background:#fff0ee;color:#b94545}
#edit-dialog.hw-product-edit{width:min(1040px,94vw);max-width:94vw;max-height:90dvh;border:1px solid #dce5f1;border-radius:16px;padding:0;overflow:hidden;background:#fff}
#edit-dialog.hw-product-edit #edit-form{display:block;width:100%;max-width:none;max-height:90dvh;padding:0 30px;overflow-y:auto;overflow-x:hidden;box-sizing:border-box}
.hw-edit-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:24px 0;margin-bottom:24px;border-bottom:1px solid #e6edf5}
.hw-edit-heading small{font-size:11px;letter-spacing:1.5px;color:#8198b8}.hw-edit-heading h3{font-size:21px;color:#283d59;margin:8px 0 0;overflow-wrap:anywhere}
.hw-edit-heading p{font-size:13px;color:#72839a;line-height:1.7;margin:9px 0 0}
#edit-dialog.hw-product-edit #edit-fields{display:block;padding:0}
#edit-dialog.hw-product-edit .hw-edit-photo{display:flex;align-items:center;gap:24px;padding:20px 22px;margin-bottom:24px;border:1px solid #e3eaf3;border-radius:12px;background:#fafcfe}
#edit-dialog.hw-product-edit #edit-image-preview{display:grid;place-items:center;flex:0 0 112px;width:112px;height:112px;min-height:112px;aspect-ratio:1;border:1px dashed #cdd9e8;border-radius:10px;background:#fff;margin:0;padding:8px;color:#899ab0;font-size:12px;overflow:hidden}
#edit-dialog.hw-product-edit #edit-image-preview img{width:100%;height:100%;object-fit:contain;border:0;border-radius:5px}
#edit-dialog.hw-product-edit #edit-image-preview .thumb-btn{width:100%;height:100%;min-height:0;padding:0;border:0;background:transparent;overflow:hidden}
.hw-edit-photo h4{margin:0;font-size:15px;color:#3d536f}.hw-edit-photo p{font-size:13px;color:#7e90a7;margin:9px 0 16px;line-height:1.6}
.hw-edit-photo-actions{display:flex;align-items:center;gap:12px}
#edit-dialog.hw-product-edit .hw-photo-picker{display:inline-flex;align-items:center;justify-content:center;position:relative;padding:8px 14px;margin:0;border:1px solid #cfdcf0;border-radius:7px;background:#fff;color:#4272b6;font-size:13px;cursor:pointer}
#edit-dialog.hw-product-edit .hw-photo-picker:hover{background:#edf4ff;border-color:#acc8f2}
#edit-dialog.hw-product-edit .hw-photo-picker:focus-within{outline:2px solid #89aff0;outline-offset:2px}
#edit-dialog.hw-product-edit #edit-image-file{position:absolute;width:1px;height:1px;min-height:0;opacity:0}
#edit-dialog.hw-product-edit #edit-delete-image{margin:0;font-size:13px;padding:8px 12px}
#edit-dialog.hw-product-edit .hw-edit-modes{margin:0 0 24px}
#edit-dialog.hw-product-edit .hw-edit-modes button{cursor:not-allowed;background:#f5f7fa;color:#8997ab;opacity:1;min-height:54px;font-size:14px}
#edit-dialog.hw-product-edit .hw-edit-modes button.active{background:#eaf0f7;color:#4c6485}
#edit-dialog.hw-product-edit .hw-field-block{margin:0 0 24px;padding:24px}
#edit-dialog.hw-product-edit .hw-field-block h4{font-size:15px;margin:0 0 22px}
#edit-dialog.hw-product-edit .hw-field-block .form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
#edit-dialog.hw-product-edit .hw-base .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
#edit-dialog.hw-product-edit .form-grid label{display:grid;align-content:start;gap:9px;min-width:0;margin:0;font-size:13px;color:#5f728d}
#edit-dialog.hw-product-edit input,#edit-dialog.hw-product-edit select{min-height:42px;font-size:14px;width:100%;min-width:0;margin:0}
#edit-dialog.hw-product-edit .dialog-actions{position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:12px;margin:0;padding:18px 0;background:#fff;border-top:1px solid #e7edf5;z-index:2}
#edit-dialog.hw-product-edit .hw-edit-children h4{margin-bottom:8px}.hw-edit-children h4 span{margin-left:8px;color:#7b8da5;font-weight:400;font-size:13px}
.hw-edit-children p{font-size:13px;color:#778aa3;line-height:1.7;margin:0 0 18px}
.hw-edit-child{display:grid;grid-template-columns:minmax(160px,1fr) minmax(140px,1fr) 72px 56px;align-items:center;gap:18px;padding:16px 0;border-top:1px solid #edf1f6}
.hw-edit-child>div{min-width:0}.hw-edit-child strong{display:block;font-size:14px;font-weight:500;color:#3d5576;overflow-wrap:anywhere}.hw-edit-child small{display:block;font-size:12px;color:#8091a8;margin-top:6px;overflow-wrap:anywhere}
.hw-edit-child button{font-size:12px;padding:6px 10px;min-height:32px}
#batch-dialog{width:min(1100px,94vw);max-width:94vw;max-height:90dvh;padding:0;border:1px solid #dce5f1;border-radius:16px;background:#fff;overflow:hidden}
#batch-dialog #batch-form{display:block;width:100%;max-width:none;max-height:90dvh;overflow:auto;padding:0 30px;box-sizing:border-box}
#batch-dialog .batch-toolbar{grid-template-columns:auto auto minmax(0,1fr) minmax(0,1fr);align-items:center;padding:16px;background:#f7f9fc;border:1px solid #e4ebf4;border-radius:10px;margin-bottom:18px;gap:12px}
#batch-dialog .batch-toolbar button{min-height:40px;margin:0;font-size:13px}
#batch-dialog .batch-toolbar select{min-height:40px;margin:0;width:100%}
#batch-dialog .batch-sku-list{max-height:280px;border:1px solid #e1e8f2;border-radius:9px;margin-bottom:26px}
#batch-dialog .batch-sku-list table{min-width:850px}
#batch-dialog .batch-sku-list th{position:sticky;top:0;z-index:1;background:#f3f6fb;font-size:12px;padding:13px}
#batch-dialog .batch-sku-list td{padding:12px 13px;font-size:13px}
#batch-dialog .batch-sku-list tr:hover td{background:#f9fbfe}
#batch-dialog .batch-sku-list .thumb-btn{padding:0;width:40px;height:40px;min-height:40px;overflow:hidden;border-radius:7px}
#batch-dialog .batch-sku-list .thumb-placeholder{display:block;box-sizing:border-box;width:40px;height:40px;aspect-ratio:1;border-radius:7px}
#batch-dialog .batch-sku-list img{width:40px;height:40px;object-fit:contain}
#batch-dialog .batch-section{padding:24px 0;gap:18px}
#batch-dialog .batch-section h4{font-size:16px;color:#38516f;margin:0}
#batch-dialog .batch-field-group{padding:22px;border:1px solid #e3eaf3;border-radius:10px;background:#fafcfe}
#batch-dialog .batch-field-group h5{font-size:14px;font-weight:550;color:#5f7694;margin-bottom:6px}
#batch-dialog .batch-field-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 20px}
#batch-dialog .batch-field{margin:0;min-width:0;gap:10px}
#batch-dialog .batch-field>span{font-size:13px;color:#657995;font-weight:400;min-height:22px}
#batch-dialog .batch-field:has(input[type=checkbox]:checked)>span{color:#2868c2}
#batch-dialog .batch-field input:not([type=checkbox]),#batch-dialog .batch-field select{width:100%;min-width:0;min-height:40px;margin:0;font-size:14px}
#batch-dialog input[type=checkbox]{width:16px;height:16px;accent-color:#3478f6}
#batch-dialog #batch-form>.dialog-actions{position:sticky;bottom:0;background:white;border-top:1px solid #e5ecf5;padding:18px 0;margin:0;z-index:2}
#batch-dialog .muted{font-size:13px;line-height:1.7}
#batch-dialog .hw-batch-photo-body{display:flex;align-items:center;gap:24px;padding:20px;border:1px solid #e3eaf3;border-radius:10px;background:#fafcfe}
#batch-dialog #batch-image-preview{display:grid;place-items:center;flex:0 0 110px;width:110px;height:110px;min-height:110px;padding:8px;margin:0;border:1px dashed #cdd9e8;border-radius:9px;background:#fff;font-size:12px;overflow:hidden}
#batch-dialog #batch-image-preview img{width:100%;height:100%;object-fit:contain}
#batch-dialog #batch-image-preview .thumb-btn{width:100%;height:100%;min-height:0;padding:0;border:0;background:transparent;overflow:hidden}
#batch-dialog .hw-batch-photo-picker{display:inline-flex;position:relative;align-items:center;justify-content:center;margin:0;padding:8px 14px;border:1px solid #cfdcf0;border-radius:7px;background:#fff;color:#4272b6;font-size:13px;cursor:pointer}
#batch-dialog .hw-batch-photo-picker:hover{background:#edf4ff}
#batch-dialog .hw-batch-photo-picker:focus-within{outline:2px solid #89aff0;outline-offset:2px}
#batch-dialog #batch-image-file{position:absolute;width:1px;height:1px;min-height:0;opacity:0}
#batch-dialog .hw-batch-photo-body p{margin:10px 0;color:#778aa3}
#batch-dialog .hw-batch-photo-body .compact-actions{justify-content:flex-start;gap:10px;margin:14px 0 0;padding:0}
@media(max-width:650px){
 #edit-dialog.hw-product-edit #edit-form,#batch-dialog #batch-form{padding-inline:18px}
 #edit-dialog.hw-product-edit .hw-edit-photo{padding:16px;gap:16px}
 #edit-dialog.hw-product-edit #edit-image-preview{flex-basis:88px;width:88px;height:88px;min-height:88px}
 #edit-dialog.hw-product-edit .hw-edit-photo-actions{flex-wrap:wrap;gap:8px}
 #edit-dialog.hw-product-edit .hw-base .form-grid,#edit-dialog.hw-product-edit .hw-field-block .form-grid{grid-template-columns:1fr}
 .hw-edit-child{grid-template-columns:minmax(0,1fr) auto;gap:12px}.hw-edit-child .hw-spec-tags{grid-row:2}.hw-edit-child>span{grid-column:1;grid-row:3}
 #batch-dialog .batch-field-grid{grid-template-columns:1fr}
 #batch-dialog .batch-toolbar{grid-template-columns:1fr 1fr}
 #batch-dialog .hw-batch-photo-body{flex-wrap:wrap;gap:16px}
}
@media(max-width:1359px){#add-product.hw-product-workbench .grid-two{grid-template-columns:minmax(0,1fr) 330px;gap:16px}.hw-product-basics{grid-template-columns:130px minmax(0,1fr);gap:18px}.hw-dimension-grid{grid-template-columns:1fr}#product-list.hw-product-list .filters{grid-template-columns:repeat(3,minmax(0,1fr))}.hw-product-photo{padding:10px}}
@media(max-width:1000px){#add-product.hw-product-workbench .grid-two{grid-template-columns:1fr}#add-product.hw-product-workbench .product-import-panel{width:100%;height:auto;max-height:none}.hw-dimension-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.hw-product-basics{grid-template-columns:1fr}.hw-product-photo{width:150px}.hw-product-card>header{padding:22px 18px}#add-product.hw-product-workbench .form-grid,.hw-product-dialog .form-grid{grid-template-columns:1fr 1fr}.hw-dimension-grid{grid-template-columns:1fr}.hw-dimension-grid,.hw-dimension-picks{margin-inline:18px}.hw-field-block{margin-inline:18px;padding:16px}.hw-matrix-scroll{margin-inline:18px}.hw-product-modes{margin-inline:18px}.hw-product-toolbar{align-items:flex-start;flex-direction:column}.hw-product-toolbar>div{justify-content:flex-start}#product-list.hw-product-list>.panel{padding:18px}#product-list.hw-product-list .filters{grid-template-columns:1fr 1fr}.hw-bulk-filter{flex-wrap:wrap}.hw-product-dialog .form-grid{grid-template-columns:1fr}.hw-list-pager{flex-wrap:wrap}}
