.product-art img{width:100%;height:100%;object-fit:contain;border-radius:inherit;background:white}.product-art{flex-shrink:0}.product-image-editor{border:1px solid #dde9e0;border-radius:10px;padding:16px;margin-bottom:16px;background:#f7faf8}.product-image-editor input[type=file]{height:auto;padding:8px;max-width:100%}.product-image-editor small{display:block;margin-top:8px}.product-image-preview{display:flex;align-items:center;flex-wrap:wrap;gap:10px;min-height:80px;margin-bottom:10px}.product-image-preview img{width:110px;height:100px;object-fit:contain;background:white;border-radius:8px}.reference-photo{position:relative;display:inline-flex;padding:3px;border:1px solid #d9e8df;border-radius:9px;background:white}.reference-photo button{position:absolute;right:2px;top:2px;width:24px;height:24px;border:0;border-radius:50%;background:#852d2d;color:white;font-size:18px;line-height:20px;cursor:pointer}.product-hover-preview{position:fixed;z-index:9999;width:240px;height:240px;padding:8px;background:#fff;box-shadow:0 10px 40px #193c3033;border:1px solid #d9e8df;border-radius:12px;pointer-events:none}.product-hover-preview img{width:100%;height:100%;object-fit:contain}.cart-line>div:first-child{min-width:0;flex:1}.cart-line [data-product-image]{display:block}.cart-line .product-art{width:42px;height:42px;float:left;margin:0 8px 6px 0}.cart-price-field{display:block;clear:both;font-size:11px;color:#587162;margin-top:10px}.cart-price-field input{display:block;width:125px;max-width:100%;padding:7px 9px;border:1px solid #c6dacd;border-radius:6px;font-size:15px;margin-top:5px;background:white;color:#165b42}.price-history{clear:both;font-size:10px;line-height:1.65;margin-top:8px;padding-top:7px;border-top:1px dashed #dce9e1}.price-history .history-label{font-size:10px!important;color:#5a7867;margin-bottom:3px;display:block}.history-price-row{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}.history-price-row time{color:#6c8074}.history-price-row b{color:#236648}.history-price-row small{margin:0!important}.price-history>.muted{display:block;line-height:1.6}.remote-steps{font-size:12px;line-height:1.9}.cart-line-actions{flex-shrink:0}@media(max-width:600px){.product-hover-preview{display:none}.cart-price-field input{width:110px}.history-price-row{gap:4px}.product-image-editor{padding:12px}}@media print{.product-hover-preview{display:none!important}}
.category-strip{display:flex;flex-direction:column;align-items:stretch;gap:8px;overflow:visible;white-space:normal}
.category-strip.collapsed{flex-direction:row;align-items:center;flex-wrap:wrap}
.category-controls,.category-options{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0}
.category-inline-search{flex:0 1 160px}
.category-options .category-group,.category-options .category-child-group{position:relative;gap:2px;margin:0;max-width:100%;min-width:0}
.category-chip{padding:7px 10px;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.category-options .category-group>.category-chip,.category-options .category-child-group>.category-chip{min-width:0;flex:1}
.category-child-group{border-left:2px solid #cce4d5;padding-left:3px}
.category-menu{position:relative;flex:0 0 22px;color:#7b9684}
.category-menu summary{display:grid;place-items:center;list-style:none;cursor:pointer;width:22px;height:30px;border-radius:5px;font-size:18px}
.category-menu summary::-webkit-details-marker{display:none}
.category-menu summary:hover,.category-menu[open] summary{background:#e5f4ec;color:var(--green)}
.category-menu .category-tab-actions{position:absolute;top:100%;right:0;z-index:45;opacity:1;gap:3px;padding:5px;background:#fff;border:1px solid #dce8e0;border-radius:7px;box-shadow:0 5px 15px #153d2b20}
.category-menu .category-tab-actions .icon-btn{width:28px;height:28px}
.pos-products>.category-strip{padding:12px 16px;border-bottom:1px solid var(--line)}
.pos-products{overflow:visible;min-width:0}
.cart-float{width:min(430px,calc(100vw - 32px))}
.cart-float-line{grid-template-columns:minmax(65px,1fr) auto auto 26px;gap:8px}
.cart-float-product{min-width:0}
.cart-float-product small{display:block;color:#8b9e91;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cart-float-line .stepper{overflow:hidden;flex-shrink:0;background:white}
.cart-float-line .stepper button{width:29px;height:32px;padding:0;color:var(--green);font-size:17px}
.cart-float-line .stepper input{width:52px;height:32px;padding:0 2px;min-width:0;font-size:12px}
.cart-float-line .cart-float-remove{width:26px;height:30px}
.cart-float-remove .icon{width:14px;height:14px}
@media(max-width:600px){.cart-float-line{gap:5px;grid-template-columns:minmax(0,1fr) auto auto 24px}.cart-float-lines{padding:4px 10px}.cart-float-line .stepper button{width:28px}.cart-float-line .stepper input{width:46px}.cart-float-line strong{min-width:48px}.category-menu .category-tab-actions .icon-btn{width:32px;height:32px}}

.pricing-toolbar,.pricing-fields{display:flex;gap:12px;flex-wrap:wrap;margin:14px 0}.pricing-products{max-height:220px;overflow:auto;border:1px solid #dce8e0;border-radius:8px}.pricing-item{display:flex;align-items:center;gap:10px;padding:9px 12px;border-bottom:1px solid #edf0ee;font-size:12px}.pricing-item>span:nth-child(2){flex:1;min-width:0}.pricing-item small,.pricing-history small{display:block;color:#789084;margin-top:4px}.pricing-preview{max-height:55vh;overflow:auto}.pricing-history{display:flex;justify-content:space-between;gap:10px;padding:12px;border-bottom:1px solid #e5ece8}.pricing-history strong{font-size:13px}.pricing-preview th{position:sticky;top:0;background:#f5faf7}.heading-actions{flex-wrap:wrap}
.sale-camera{padding:14px 16px;border-bottom:1px solid #dce8e0;background:#f5faf7;border-radius:12px 12px 0 0;min-width:0}.sale-camera-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.sale-camera-head>div:first-child{min-width:0;flex:1}.sale-camera-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.sale-camera-head strong{font-size:14px;color:#185940}.sale-camera-head small,.sale-camera-picture small,.sale-camera-found small{display:block;font-size:11px;color:#6b8174;margin-top:4px}.sale-camera-body:not([hidden]){display:grid;grid-template-columns:minmax(130px,190px) minmax(0,1fr);gap:14px;margin-top:12px}.sale-camera-picture video{display:block;width:100%;aspect-ratio:4/3;object-fit:contain;border-radius:8px;background:#163c2c}.sale-camera-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.sale-camera-controls label{display:flex;gap:5px;align-items:center;font-size:11px;max-width:100%}.sale-camera-controls select{padding:5px;max-width:170px;min-width:0;background:white;border:1px solid #cfded4;border-radius:5px;font-size:11px}.sale-camera-status{font-size:12px;color:#256344;line-height:1.6;margin:10px 0}.sale-camera-hint{font-size:10px;color:#6b8174;display:block;line-height:1.6}.sale-camera-found{display:flex;align-items:center;gap:9px;font-size:12px;margin-bottom:8px}.sale-camera-found img{width:58px;height:46px;object-fit:contain;background:white;border-radius:5px}.sale-camera-confirm{display:flex;align-items:end;gap:8px;flex-wrap:wrap;margin:8px 0}.sale-camera-confirm .field{flex:1 1 80px;margin:0;min-width:0}.sale-camera-confirm input,.sale-camera-confirm select{width:100%;min-width:0}.sale-camera-review .field>span{font-size:11px}.sale-camera-review select{width:100%;max-width:100%}.sale-camera-review [data-scan-price]{display:block;font-size:11px;color:#607b68;margin-bottom:8px}.sale-camera-work{min-width:0}.sale-camera [data-scan-review]{margin:0}.mobile-photo-action{display:none}
.sale-camera-anchor{margin-bottom:14px}.sale-camera-anchor:empty{display:none}
@media(max-width:700px){.sale-camera-body:not([hidden]){grid-template-columns:1fr}.sale-camera-picture video{max-height:180px}.sale-camera-head{align-items:flex-start;flex-wrap:wrap}.sale-camera-actions{width:100%;justify-content:stretch}.sale-camera-actions .btn{flex:1 1 140px;min-height:40px}.sale-camera{padding:12px}.sale-camera-controls select{max-width:145px}.sale-camera-confirm .btn{min-height:38px}.mobile-photo-action{display:inline-flex}}
@media(max-width:600px){.pos-layout-with-categories{gap:12px}.pos-layout-with-categories>.category-sidebar{max-height:220px;overflow:auto;padding:12px}.pos-layout-with-categories>.category-sidebar .category-tree-content{max-height:none}.sale-camera-head small{line-height:1.55}.sale-camera-actions .btn{font-size:12px;padding:9px 10px}.sale-camera-confirm{display:grid;grid-template-columns:1fr 88px;align-items:end}.sale-camera-confirm .field:first-child{grid-column:1/-1}.sale-camera-confirm .btn{width:100%;grid-column:1/-1}.sale-camera-confirm .text-button{justify-self:start}}
.catalog-products .table-scroll{position:relative}
.catalog-products table th:last-child,.catalog-products table td:last-child{position:sticky;right:0;z-index:2;min-width:118px;background:#fff;box-shadow:-5px 0 10px #173b2b12}
.catalog-products table thead th:last-child{z-index:3;background:#f8fbf9}
.catalog-products table tbody tr:hover td:last-child{background:#fbfefc}
/* Persistent left-hand product categories. */
.catalog-layout.catalog-layout-full{display:grid;grid-template-columns:240px minmax(0,1fr);gap:14px;align-items:start}
.catalog-layout-full>.catalog-products{min-width:0;max-width:100%}
.catalog-layout-full>.category-sidebar{position:sticky;top:76px;max-height:calc(100dvh - 96px);overflow:auto;padding:14px 12px 24px;margin:0}
.category-tree-content .category-tree-select{font-size:12px;min-height:34px}
.category-tree-content .category-tree-row{padding-left:calc(var(--depth) * 12px);gap:2px}
.category-tree-toggle,.category-tree-toggle-spacer{flex:0 0 22px;width:22px;height:30px}
.category-tree-toggle{display:grid;place-items:center;border:0;border-radius:5px;background:transparent;color:#729781;padding:0;cursor:pointer}
.category-tree-toggle:hover{background:#e5f4ec}.category-tree-toggle .icon{width:14px;height:14px}.category-tree-toggle.open .icon{transform:rotate(90deg)}
.category-tree-select:focus-visible,.category-tree-toggle:focus-visible,.category-menu summary:focus-visible{outline:2px solid #087f68;outline-offset:-2px}
.category-tree-row:has(>.category-menu[open]){flex-wrap:wrap}
.category-tree-row>.category-menu[open]{flex:1 0 100%;display:flex;align-items:center;justify-content:flex-end}
.category-tree-row>.category-menu[open] .category-tab-actions{position:static;display:inline-flex;box-shadow:none}
.catalog-products .row-actions{display:flex;gap:14px;white-space:nowrap}
.catalog-load-more{display:flex;align-items:center;justify-content:center;gap:14px;padding:16px;border-top:1px solid #e5eee8;color:#71887a;font-size:12px}
.catalog-load-more .btn{min-width:132px}
@media(max-width:800px){.catalog-layout.catalog-layout-full{grid-template-columns:minmax(0,1fr)}.catalog-layout-full>.category-sidebar{position:static;max-height:none}.catalog-layout-full>.category-sidebar .category-tree-content{max-height:250px;overflow:auto}}
@media(max-width:600px){.catalog-layout.catalog-layout-full{display:block;width:100%;min-width:0;overflow:hidden}.catalog-layout-full>.category-sidebar{width:100%;box-sizing:border-box}.catalog-layout-full>.catalog-products{width:100%;min-width:0;overflow:hidden}.catalog-products .table-scroll{max-width:100%;overflow-x:auto}.catalog-products table{min-width:980px}.catalog-products table th:last-child,.catalog-products table td:last-child{position:sticky;right:0}}
.partners-table .partners-actions-head,.partners-table .partners-actions{position:sticky;right:0;background:#fff;z-index:2;box-shadow:-8px 0 12px -12px #4d675855}.partners-table .partners-actions-head{z-index:3}.partners-table tr:hover .partners-actions{background:#fbfdfb}.partners-table .partners-actions .row-actions{gap:10px;flex-wrap:nowrap}.partners-table .partners-actions .text-button{white-space:nowrap}.partners-table .muted-row .partners-actions{background:#f8faf8}@media(max-width:600px){.partners-table .partners-actions-head,.partners-table .partners-actions{position:static;box-shadow:none}.partners-table .partners-actions .row-actions{flex-wrap:wrap}}
.product-bulk-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:11px 20px;border-bottom:1px solid #e5eee8;background:#f7fbf8;color:#60796a;font-size:12px}.product-bulk-toolbar[hidden]{display:none}.product-bulk-toolbar strong{margin-right:4px;color:#2e604b}.product-select-cell{width:42px;text-align:center;padding-left:12px!important;padding-right:12px!important}.product-select-cell input{width:15px;height:15px;accent-color:var(--green);vertical-align:middle}.catalog-products tr.product-row-selected td{background:#edf8f1}.catalog-products tr.product-row-selected td:last-child{background:#edf8f1}.catalog-products table thead .product-select-cell{background:#f8fbf9}.catalog-products .product-bulk-toolbar .danger-btn{color:#a75c43;border-color:#e6c8bd;background:#fffaf8}@media(max-width:600px){.product-bulk-toolbar{padding:10px 14px;gap:7px}.product-bulk-toolbar .btn,.product-bulk-toolbar .text-button{font-size:11px}.product-select-cell{width:38px;padding-left:8px!important;padding-right:8px!important}}
html[data-theme="dark"] .product-bulk-toolbar{background:#202a27;border-color:#34443e;color:#c3d2c9}html[data-theme="dark"] .product-bulk-toolbar strong{color:#e4eee9}html[data-theme="dark"] .catalog-products tr.product-row-selected td,html[data-theme="dark"] .catalog-products tr.product-row-selected td:last-child{background:#263b32}html[data-theme="dark"] .catalog-products table thead .product-select-cell{background:#1b2522}html[data-theme="dark"] .catalog-products .product-bulk-toolbar .danger-btn{background:#3a2927;border-color:#654541;color:#ffb0a7}
.product-image-editor .product-photo-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}.add-reference-photo{width:110px;height:100px;flex:0 0 110px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:2px dashed #9bc7aa;border-radius:9px;background:#f4faf5;color:#28754d;cursor:pointer;transition:background .15s,border-color .15s,transform .15s}.add-reference-photo:hover{background:#e9f6ec;border-color:#5aa774;transform:translateY(-1px)}.add-reference-photo-icon{font-size:30px;line-height:30px;font-weight:400}.add-reference-photo strong{font-size:12px;font-weight:650}.add-reference-photo small{margin:0!important;color:#718d79;font-size:10px}.product-image-editor:focus-within .add-reference-photo{outline:3px solid #16835c30;outline-offset:2px}html[data-theme="dark"] .add-reference-photo{background:#202e28;border-color:#557c63;color:#a9e3bd}html[data-theme="dark"] .add-reference-photo:hover{background:#293c32;border-color:#81c99b}html[data-theme="dark"] .add-reference-photo small{color:#b5cbb9}
.product-image-editor input[type=file].product-photo-input{height:1px;padding:0;max-width:none;font-size:0}html[data-theme="dark"] .product-image-editor{background:#1d2924;border-color:#3b5146}
.sale-camera-confidence{font-size:11px;line-height:1.5;color:#8a5a13;background:#fff8e8;border:1px solid #f1d59a;border-radius:6px;padding:6px 8px;margin:0 0 8px}html[data-theme="dark"] .sale-camera-confidence{color:#f6d58b;background:#3b3020;border-color:#705a2d}
.sale-camera-no-match{padding:10px 12px;border:1px solid #f0d8a5;border-radius:8px;background:#fffaf0;color:#5d4b25}.sale-camera-no-match strong{display:block;color:#745616}.sale-camera-no-match p{margin:6px 0;font-size:13px;color:#263b32}.sale-camera-no-match small{display:block;line-height:1.5;color:#7a6a45}.sale-camera-no-match-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}html[data-theme="dark"] .sale-camera-no-match{background:#332c1d;border-color:#6d5b2e;color:#e8d9a7}html[data-theme="dark"] .sale-camera-no-match strong,html[data-theme="dark"] .sale-camera-no-match p{color:#f3e2ad}
@media(max-width:700px){.sale-camera-mobile-only .sale-camera-picture,.sale-camera-mobile-only [data-scan="start"],.sale-camera-mobile-only [data-scan="pause"],.sale-camera-mobile-only [data-scan="retry"],.sale-camera-mobile-only .sale-camera-controls label{display:none!important}.sale-camera-mobile-only .sale-camera-body:not([hidden]){display:block}.sale-camera-mobile-only .sale-camera-actions{width:100%;justify-content:stretch}.sale-camera-mobile-only .sale-camera-actions .photo-action{display:flex;flex:1 1 100%;justify-content:center;min-height:44px}.sale-camera-mobile-only .sale-camera-controls{justify-content:flex-start}.sale-camera-mobile-only .sale-camera-no-match-actions .btn{min-height:40px}}
