:root{font-family:Inter,"Segoe UI",Tahoma,Arial,sans-serif;color:#202c2f;background:#f4f6f7;font-size:16px;line-height:1.45;--ink:#182326;--muted:#667679;--line:#dce3e5;--accent:#a87735;--light:#f3eade;--teal:#116b64;--danger:#ab3232}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--line);background:white;border-radius:8px;color:inherit;padding:10px 14px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px}button:hover{background:#f0f4f4;border-color:#bac8ca}button:disabled{opacity:.5;cursor:not-allowed}.primary{background:var(--ink);border-color:var(--ink);color:white}.primary:hover{background:#304449;border-color:#304449}.gold{background:#b48443;border-color:#b48443;color:white}.gold:hover{background:#91672f}.danger{color:var(--danger);border-color:#edc9c9}.subtle{background:transparent;border-color:transparent}.small{font-size:.875rem;padding:6px 10px;min-height:34px}.wide{width:100%}a{color:var(--teal);text-underline-offset:3px}.icon{width:20px;height:20px;flex-shrink:0;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}.loading{padding:20vh 10vw;color:var(--muted)}input,select,textarea{border:1px solid #ccd7d9;border-radius:7px;background:#fff;padding:10px 12px;color:var(--ink);min-height:43px;width:100%}textarea{min-height:82px;resize:vertical}input:focus,select:focus,textarea:focus{outline:3px solid #a8d3cc70;border-color:var(--teal)}label{font-size:.875rem;font-weight:600;display:block;margin-bottom:7px}small,.muted{color:var(--muted)}small{font-size:.8125rem}h1,h2,h3,p{margin:0}h1{font-size:1.8rem;letter-spacing:-.6px;font-weight:650}h2{font-size:1.15rem;font-weight:650}h3{font-size:1rem}.shell{display:grid;grid-template-columns:224px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--ink);color:#dbe4e5;padding:28px 16px 18px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;gap:26px}.brand{display:flex;align-items:center;gap:12px;padding:0 9px}.brand-mark{border:1px solid #ac8550;color:#d9af74;border-radius:9px;width:39px;height:43px;display:grid;place-items:center;font:28px Georgia,serif}.brand strong{letter-spacing:2.8px;font-size:.93rem;color:#fff}.brand small{display:block;color:#a7b9bc;font-size:.8rem;letter-spacing:.2px;margin-top:2px}.nav-label{font-size:.75rem;color:#8c9fa2;text-transform:uppercase;letter-spacing:1.5px;margin:0 12px 10px}.nav{display:flex;flex-direction:column;gap:5px}.nav button{border:0;justify-content:flex-start;border-radius:7px;background:transparent;color:#b8c8cb;padding:11px 13px;font-weight:500;font-size:.9rem}.nav button:hover{color:white;background:#26393d}.nav button.active{background:#34413e;color:#f5d7ac}.nav button.active .icon{color:#d8a862}.nav-spacer{flex:1}.user-box{border-top:1px solid #3a494c;padding:19px 9px 0;display:flex;gap:9px;align-items:center}.avatar{height:35px;width:35px;border-radius:50%;background:#415150;display:grid;place-items:center;color:#e9ddc8;font-size:.85rem;flex-shrink:0}.user-box strong{display:block;font-size:.875rem;max-width:104px;overflow-wrap:anywhere}.user-box small{color:#90a5a9}.user-box button{color:#b8c8cb;padding:4px;min-width:30px}.main{min-width:0}.topbar{min-height:76px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;gap:15px;padding:14px 30px}.crumb{color:#708084;font-size:.875rem;flex:1}.crumb strong{color:var(--ink);font-weight:500}.topbar select{width:230px;max-width:40vw;font-size:.875rem;font-weight:600;background:#f8fafb}.workspace{padding:27px 30px 36px;max-width:1800px;margin:auto}.page-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.page-head p{margin-top:4px;color:var(--muted);font-size:.9rem}.actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.panel-head{padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line)}.panel-body{padding:20px}.notice{border:1px solid #d9c19d;background:#fcf7ec;padding:14px 17px;border-radius:8px;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px;font-size:.9rem}.notice.error{background:#fff0f0;border-color:#eab4b4;color:#912828}.pos{display:grid;grid-template-columns:minmax(0,1fr) 365px;gap:22px;align-items:start}.search-wrap{position:relative;display:flex;align-items:center;gap:8px}.search-wrap .icon{position:absolute;left:14px;color:#7b8d90;pointer-events:none}.search-wrap input{padding-left:44px;min-height:48px}.chips{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.chip{border-radius:30px;min-height:34px;font-size:.8125rem;padding:6px 14px;font-weight:500}.chip.active{background:var(--ink);border-color:var(--ink);color:white}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(154px,1fr));gap:12px}.product-card{text-align:left;align-items:stretch;justify-content:flex-start;display:flex;flex-direction:column;padding:17px;min-height:159px;border-radius:10px;font-weight:400;position:relative}.product-card:hover{border-color:#b98d53;background:#fffdf9;box-shadow:0 3px 12px #2937350a}.product-card .code{font-size:.75rem;color:#6c7e83;margin-bottom:7px;font-weight:500}.product-card .product-name{font-size:.97rem;font-weight:600;overflow-wrap:anywhere;line-height:1.35;flex:1}.product-card .bottom{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:20px}.product-card .price{font-size:1.02rem;font-weight:650}.stock{font-size:.75rem;color:var(--teal);background:#e8f4f0;border-radius:4px;padding:3px 6px;white-space:nowrap}.stock.low{color:#966329;background:#f9efdf}.stock.zero{color:#8d9799;background:#f0f2f3}.basket{position:sticky;top:20px}.basket .panel-head{padding:17px 19px}.tag{background:#f0f3f4;padding:4px 8px;border-radius:5px;font-size:.75rem;font-weight:500;color:#65787d}.cart-items{max-height:40vh;overflow:auto;padding:0 19px}.cart-item{padding:16px 0;border-bottom:1px solid #edf0f1}.cart-item .row{display:flex;align-items:start;justify-content:space-between;gap:8px}.cart-item strong{font-size:.9rem;overflow-wrap:anywhere}.cart-item small{display:block;margin:3px 0 9px}.qty{display:flex;align-items:center;gap:6px}.qty input{width:75px;min-height:30px;height:32px;padding:3px 6px;text-align:center;font-size:.875rem}.qty button{min-height:30px;height:32px;min-width:30px;padding:4px}.cart-empty{text-align:center;padding:40px 18px;color:var(--muted)}.cart-empty .icon{width:34px;height:34px;margin-bottom:12px;color:#adbdc0}.cart-empty h3{color:#4c6267;margin-bottom:6px;font-weight:500}.cart-empty p{font-size:.875rem}.totals{padding:18px 19px}.total-line{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:9px 0;font-size:.9rem}.total-line.final{border-top:1px solid var(--line);padding-top:15px;margin-top:14px;font-size:1.12rem;font-weight:650}.total-line input{width:95px;padding:5px 8px;min-height:34px;text-align:right;font-size:.875rem}.total-line .currency{font-size:.85rem;font-weight:500;color:var(--muted)}.basket-footer{padding:0 19px 20px}.basket-footer button{min-height:49px;font-size:.95rem}.basket-footer small{display:block;text-align:center;font-size:.75rem;margin-top:10px}.empty{padding:54px 25px;text-align:center;color:var(--muted)}.empty .icon{width:42px;height:42px;color:#9fadb0;margin-bottom:16px}.empty h2{color:var(--ink);margin-bottom:8px}.empty p{max-width:430px;margin:0 auto 20px;font-size:.9rem}.table-wrap{overflow:auto;width:100%}table{width:100%;border-collapse:collapse;text-align:left;font-size:.875rem}th{color:#6c7c80;background:#f8fafb;font-weight:500;padding:12px 17px;font-size:.8rem;white-space:nowrap;border-bottom:1px solid var(--line)}td{padding:14px 17px;border-bottom:1px solid #edf1f2;vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafcfc}td strong{font-weight:600}td small{display:block;margin-top:3px}.num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.pill{font-size:.75rem;padding:4px 8px;border-radius:5px;display:inline-block;white-space:nowrap;background:#edf2f4;color:#546e77}.pill.good{background:#e8f4ef;color:#1c7365}.pill.warn{background:#fcf0df;color:#9b681f}.pill.bad{background:#fbe8e8;color:#a33e3e}.filters{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:18px}.filters input{max-width:310px}.filters select{width:auto;max-width:260px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.stat{padding:20px;background:white;border:1px solid var(--line);border-radius:10px}.stat .label{font-size:.875rem;color:#667b80}.stat .value{font-size:1.7rem;font-weight:600;letter-spacing:-.7px;line-height:1.25;margin:11px 0 6px;overflow-wrap:anywhere}.stat small{font-size:.75rem}.stat.highlight{background:#203636;color:white;border-color:#203636}.stat.highlight .label,.stat.highlight small{color:#b3cdcb}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:20px}.bar-line{display:grid;grid-template-columns:130px 1fr 100px;gap:12px;align-items:center;margin:16px 0;font-size:.875rem}.bar-track{height:8px;background:#edf2f2;border-radius:4px;overflow:hidden}.bar-fill{height:100%;background:#ae8247;border-radius:4px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field.full{grid-column:1/-1}.field small{display:block;margin-top:5px}.form-error{border-radius:6px;background:#fff0f0;color:#a12f2f;font-size:.9rem;padding:12px;display:none;margin:16px 0}.form-error:not(:empty){display:block}.form-actions{border-top:1px solid var(--line);padding-top:18px;margin-top:22px;display:flex;justify-content:flex-end;gap:9px}dialog{border:1px solid var(--line);border-radius:14px;max-width:680px;width:calc(100vw - 32px);padding:0;box-shadow:0 24px 100px #12242a44;color:var(--ink);max-height:90vh}dialog::backdrop{background:#10232788;backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;padding:18px 23px;border-bottom:1px solid var(--line);position:sticky;top:0;background:white;z-index:2}.dialog-body{padding:23px}.dialog-head h2{font-size:1.2rem}.dialog-head button{min-height:32px;height:32px;width:32px;padding:0}.auth{min-height:100vh;display:grid;grid-template-columns:minmax(330px,42%) 1fr;background:white}.auth-brand{background:var(--ink);padding:50px;color:#e1ecec;display:flex;flex-direction:column;justify-content:space-between}.auth-brand .brand{padding:0}.auth-brand h1{font:clamp(2.3rem,4vw,4rem)/1.15 Georgia,serif;letter-spacing:-1px;max-width:500px;margin:60px 0 25px}.auth-brand p{color:#9bb4b6;max-width:380px;font-size:1rem;line-height:1.7}.auth-brand .foot{font-size:.8rem;color:#88a1a4;border-top:1px solid #3c5053;padding-top:22px;margin-top:50px}.auth-main{display:grid;place-items:center;padding:40px 32px}.auth-form{width:100%;max-width:460px}.auth-form h2{font-size:1.7rem;margin-bottom:10px}.auth-form>p{color:var(--muted);font-size:.9rem;margin-bottom:28px}.auth-form .field{margin-bottom:17px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#1c3436;color:#fff;z-index:1000;border-radius:9px;padding:13px 20px;box-shadow:0 4px 20px #10272730;font-size:.9rem;display:none;max-width:90vw}#toast.show{display:block}.invoice{background:white;padding:20px;color:#14292c}.invoice-title{display:flex;justify-content:space-between;gap:20px;margin-bottom:25px}.invoice-title h2{font-size:1.6rem}.invoice .arabic{font-family:Tahoma,Arial,sans-serif;font-size:1.2rem;margin-top:4px}.invoice small{display:block}.invoice-meta{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:25px;font-size:.875rem}.invoice-total{max-width:310px;margin:20px 0 20px auto}.invoice-footer{border-top:1px solid var(--line);padding-top:16px;text-align:center;margin-top:30px;font-size:.85rem}.invoice-note{white-space:pre-wrap;font-size:.9rem}.help-text{max-width:900px}.help-text p{margin:10px 0 18px;color:#5b7075;font-size:.95rem}.help-text h2{margin-top:22px}.help-text li{margin:8px 0;color:#5b7075}.line-edit{display:grid;grid-template-columns:1fr 105px 34px;gap:8px;align-items:center;margin-bottom:10px}.line-edit .line-product{font-size:.9rem}.line-edit small{display:block}.hidden{display:none!important}#print-area{display:none}.mobile-menu{display:none}.text-right{text-align:right}.status-line{font-size:.8rem;color:#718589;display:flex;align-items:center;gap:7px}.separator{height:1px;background:var(--line);margin:20px 0}.stock-matrix th,.stock-matrix td{min-width:130px}.help-callout{border-left:3px solid #b5874b;background:#fbf8f2;padding:12px 17px;margin:18px 0}.contact-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}.contact-card{padding:20px}.contact-card .actions{justify-content:space-between;margin-bottom:15px}.contact-card p{font-size:.875rem;color:#647a7f;margin-top:6px;white-space:pre-line;overflow-wrap:anywhere}.text-link{color:var(--teal);padding:0;border:0;min-height:auto;background:transparent;text-decoration:underline;text-underline-offset:3px}.checkout-total{font-size:2.3rem;letter-spacing:-1px;margin:8px 0 22px;font-weight:600}.checkout-total small{display:inline;font-size:1rem;font-weight:400}.positive{color:var(--teal)}.negative{color:var(--danger)}
.product-card .bottom{flex-wrap:wrap}.product-card .price{white-space:nowrap}.product-card .price .currency{font-size:.75rem;font-weight:400;color:var(--muted)}
@media(min-width:1600px){.pos{grid-template-columns:minmax(0,1fr) 410px}.product-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}}
@media(max-width:1150px){.shell{grid-template-columns:195px minmax(0,1fr)}.workspace{padding:23px 20px}.topbar{padding:14px 20px}.pos{grid-template-columns:minmax(0,1fr) 325px;gap:15px}.product-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.brand{gap:8px}.brand strong{letter-spacing:1.5px;font-size:.85rem}.brand small{font-size:.75rem}.sidebar{padding-left:12px;padding-right:12px}}
@media(max-width:900px){.shell{display:block}.sidebar{position:fixed;width:235px;z-index:50;left:-250px;transition:left .2s}.shell.menu-open .sidebar{left:0;box-shadow:10px 0 80px #18232680}.mobile-menu{display:inline-flex}.crumb{display:none}.topbar select{margin-left:auto;max-width:65vw}.pos{grid-template-columns:minmax(0,1fr) 320px}.auth{grid-template-columns:1fr}.auth-brand{padding:24px}.auth-brand h1,.auth-brand p,.auth-brand .foot{display:none}.auth-main{padding:30px 22px}.two-col{grid-template-columns:1fr}}
@media(max-width:650px){.workspace{padding:20px 14px}.topbar{padding:11px 14px;gap:7px;min-height:66px}.topbar .status-line{display:none}h1{font-size:1.5rem}.page-head{align-items:flex-start;flex-direction:column;gap:12px}.page-head>.actions{width:100%}.pos{grid-template-columns:1fr}.basket{position:static;margin-top:2px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-height:45vh;overflow:auto}.product-card{min-height:142px;padding:14px}.cart-items{max-height:45vh}.stats{gap:10px}.stat{padding:16px}.stat .value{font-size:1.4rem}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.notice{align-items:flex-start;flex-direction:column}.filters input,.filters select{max-width:100%;flex:1;min-width:130px}.panel-head{padding:15px}.dialog-body{padding:18px}.dialog-head{padding:15px 18px}.bar-line{grid-template-columns:90px 1fr 80px}.invoice{padding:0}.invoice-title{flex-direction:column}.line-edit{grid-template-columns:1fr 83px 30px}}
@media print{@page{size:A4;margin:12mm}body{background:white!important;color:black!important;font:11pt Arial,sans-serif}#app,#toast,dialog{display:none!important}#print-area{display:block!important}.invoice{padding:0;color:black}.invoice-title{display:flex;flex-direction:row;break-inside:avoid}.invoice-meta{break-inside:avoid}table{font-size:10pt}thead{display:table-header-group}tr{break-inside:avoid}th,td{padding:8px 6px;color:black!important}.invoice-total,.invoice-footer{break-inside:avoid}body.thermal #print-area{width:72mm;margin:0 auto}body.thermal .invoice-title{display:block;text-align:center}body.thermal .invoice-title h2{font-size:17pt}body.thermal .invoice-meta{display:block;font-size:9pt}body.thermal .invoice-meta>div{margin:8px 0}body.thermal .invoice table{font-size:9pt}body.thermal .invoice th,body.thermal .invoice td{padding:6px 2px;white-space:normal}body.thermal .invoice .sku-line,body.thermal .invoice .unit-price{display:none}body.thermal .invoice-total{width:100%;max-width:none}body.thermal .invoice .total-line{font-size:10pt}body.thermal .invoice .arabic{font-size:12pt}}

.brand-custom{flex-direction:column;align-items:stretch;gap:8px}.brand-logo-wrap{background:#fff;border-radius:8px;padding:10px;display:flex;align-items:center;justify-content:center;min-height:76px}.brand-logo{display:block;width:100%;height:66px;object-fit:contain}.brand-custom>small{text-align:center}.logo-editor{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px;align-items:start}.logo-preview{background:#fff;border:1px solid var(--line);border-radius:10px;padding:18px;min-height:130px;display:flex;align-items:center;justify-content:center}.logo-preview img{display:block;max-width:100%;max-height:110px;object-fit:contain}.logo-controls label{margin-top:16px}.logo-controls small{display:block;margin-top:8px}.logo-controls input[type=file]{max-width:460px}.logo-controls .form-actions{justify-content:flex-start;margin-top:14px}.invoice-logo{display:block;max-width:180px;max-height:80px;object-fit:contain;object-position:left center;margin-bottom:12px}@media(max-width:700px){.logo-editor{grid-template-columns:1fr}.logo-preview{max-width:260px}}@media print{.invoice-logo{max-width:45mm;max-height:20mm;break-inside:avoid}body.thermal .invoice-logo{max-width:48mm;max-height:20mm;margin:0 auto 3mm;object-position:center}}

.language-picker{display:flex;align-items:center;gap:8px;flex-shrink:0}.language-picker label{margin:0;font-size:.8rem;color:var(--muted)}.language-picker select{width:112px;min-height:38px;padding:6px 9px}.auth-main{position:relative}.auth-main>.language-picker{position:absolute;top:22px;inset-inline-end:24px}.topbar{flex-wrap:wrap;min-height:76px;height:auto;padding-block:14px}.crumb{margin-inline-end:auto}.topbar #active-location{max-width:230px}.num{direction:ltr;unicode-bidi:isolate}input[type=number],input[type=tel],input[type=email],input[type=date],input[type=password],#f-currency,#f-timezone,#f-invoice_prefix,#f-username,#f-sku,#f-barcode{direction:ltr;text-align:start}html[dir=rtl]{font-family:Tahoma,"Segoe UI",Arial,sans-serif}html[dir=rtl] .brand strong{letter-spacing:0}html[dir=rtl] .crumb{margin-right:0;margin-left:auto}html[dir=rtl] .search-wrap>.icon{left:auto;right:14px}html[dir=rtl] .search-wrap input{padding-left:12px;padding-right:43px}html[dir=rtl] .nav-label{letter-spacing:0}html[dir=rtl] th{text-align:right}html[dir=rtl] th.num,html[dir=rtl] td.num{text-align:left}html[dir=rtl] .auth-brand h1{letter-spacing:0}html[dir=rtl] .text-right{text-align:left}.invoice[dir=rtl]{font-family:Tahoma,Arial,sans-serif}.invoice[dir=rtl] .text-right{text-align:left}.invoice[dir=ltr] .text-right{text-align:right}.invoice[dir=rtl] th{text-align:right}.invoice[dir=ltr] th{text-align:left}.invoice .num{text-align:right!important}.invoice[dir=rtl] .invoice-logo{object-position:right center}.invoice[dir=rtl] .invoice-total{margin-left:0;margin-right:auto}.invoice[dir=ltr] .invoice-total{margin-right:0;margin-left:auto}@media(max-width:850px){.language-picker label{display:none}.topbar .language-picker{margin-inline-start:auto}.topbar #active-location{max-width:190px}}@media(max-width:700px){html[dir=rtl] .sidebar{left:auto;right:0;transform:translateX(100%)}html[dir=rtl] .sidebar.open{transform:translateX(0)}.topbar{gap:10px}.topbar .crumb{flex:1}.auth-main>.language-picker{top:12px;inset-inline-end:14px}}@media print{.invoice[dir=rtl] .invoice-title{direction:rtl}.invoice[dir=ltr] .invoice-title{direction:ltr}body.thermal .invoice-logo{object-position:center!important}.invoice[dir=rtl] .invoice-total{margin-inline-start:auto;margin-inline-end:0}}

.pos-customer{padding:14px 18px;border-bottom:1px solid var(--line);display:flex;align-items:end;gap:8px}.pos-customer .field{min-width:0;flex:1}.pos-customer button{white-space:nowrap;margin-bottom:2px}.pos-customer select{font-size:.875rem}.inline-customer{margin-top:14px}.inline-customer fieldset{border:1px solid var(--line);border-radius:8px;padding:16px}.inline-customer fieldset[hidden]{display:none}.inline-customer legend{padding:0 7px;font-weight:600}.product-card .product-photo{display:flex;width:100%;height:112px;background:#fff;border-radius:7px;align-items:center;justify-content:center;overflow:hidden}.product-photo img{width:100%;height:100%;object-fit:contain}.product-photo>.icon{width:36px;height:36px;color:#a8b6b8}.product-card{min-height:235px}.catalogue-product{display:flex;align-items:center;gap:12px;min-width:180px}.product-photo-small{display:flex;width:48px;height:48px;flex-shrink:0;align-items:center;justify-content:center;background:#f4f6f7;border-radius:6px;overflow:hidden}.product-photo-small>.icon{width:23px;height:23px}.photo-editor{display:grid;grid-template-columns:120px minmax(0,1fr);gap:16px;align-items:center;margin-bottom:10px}.product-photo-preview{height:120px;border:1px solid var(--line);border-radius:8px;display:flex;align-items:center;justify-content:center;padding:10px;text-align:center}.product-photo-preview img{max-width:100%;max-height:100%;object-fit:contain}.photo-editor small{display:block;margin:7px 0}.photo-editor input{max-width:100%}@media(max-width:700px){.photo-editor{grid-template-columns:90px minmax(0,1fr)}.product-photo-preview{height:90px}.pos-customer{flex-wrap:wrap}.pos-customer .field{min-width:160px}.product-card .product-photo{height:90px}}
@media(max-width:900px){html[dir=rtl] .sidebar{left:auto;right:-250px;transform:none;transition:right .2s}html[dir=rtl] .shell.menu-open .sidebar{left:auto;right:0;transform:none;box-shadow:-10px 0 80px #18232680}html[dir=rtl] .topbar select{margin-left:0;margin-right:auto}.auth-main{padding-top:78px}.topbar .language-picker select{margin:0}}

.sidebar{overflow-y:auto;overscroll-behavior:contain}

.live-search{min-width:0}.live-search-entry{position:relative}.live-search-entry input{width:100%;padding-inline-end:40px}.live-search-clear{position:absolute;inset-inline-end:4px;top:4px;min-height:34px;width:32px;padding:0;font-size:1.3rem}.live-search [hidden]{display:none!important}.live-search-results{list-style:none;margin:6px 0 0;padding:4px;max-height:240px;overflow-y:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:8px;background:#fff}.live-search-results li{margin:0;padding:0}.live-search-results button{display:flex;align-items:center;justify-content:flex-start;gap:10px;width:100%;border:0;border-radius:5px;padding:10px;text-align:start;min-height:52px;font-weight:400;background:#fff}.live-search-results button:hover,.live-search-results button[aria-selected=true]{background:#f6eddf;box-shadow:inset 3px 0 #b5874b}.live-search-results img{width:42px;height:42px;flex-shrink:0;object-fit:contain;border-radius:5px}.live-search-results span{min-width:0}.live-search-results strong{display:block;font-size:.9rem;overflow-wrap:anywhere}.live-search-results small{display:block;font-size:.75rem;overflow-wrap:anywhere;margin-top:3px}.live-search-status{display:block;font-size:.75rem;color:var(--muted);margin-top:5px}.live-search-status:empty{display:none}.pos-customer{align-items:flex-start}.pos-customer>button{margin-top:27px}.pos-customer .live-search-entry input{font-size:.875rem}.pos-customer .live-search-clear{margin:0}.line-product.catalogue-product{min-width:0}.line-product.catalogue-product>div{min-width:0;overflow-wrap:anywhere}@media(max-width:650px){.live-search-results{max-height:200px}.line-product.catalogue-product{gap:6px}.line-product .product-photo-small{width:32px;height:32px}}
