/* Barbershop-Kasse — helles Design in Blau / Weiß / Rot */
:root{
  --blue:#1d4ed8;
  --blue-dark:#1e3a8a;
  --blue-soft:#eef4ff;
  --blue-line:#c7dbff;
  --red:#dc2626;
  --red-dark:#b91c1c;
  --red-soft:#fef2f2;
  --ink:#0f172a;
  --muted:#64748b;
  --line:#e3e9f2;
  --bg:#f4f7fc;
  --card:#ffffff;
  --ok:#0f9d58;
  --radius:14px;
  --shadow:0 1px 2px rgba(15,23,42,.05), 0 8px 24px rgba(29,78,216,.06);
  --font:-apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial,
         "Noto Naskh Arabic", "Geeza Pro", "Segoe UI Arabic", Tahoma, sans-serif;
}
*{box-sizing:border-box}
[hidden]{display:none !important}
html,body{height:100%}
body{
  margin:0; font-family:var(--font); color:var(--ink); background:var(--bg);
  -webkit-font-smoothing:antialiased; font-size:15px;
}
button,input,select,textarea{font:inherit;color:inherit}
h1,h2,h3{margin:0;font-weight:750;letter-spacing:-.01em}
::selection{background:var(--blue);color:#fff}

/* --------------------------------------------------- Barber-Pole */
.pole{
  width:14px; flex:0 0 14px; border-radius:14px 0 0 14px;
  background:repeating-linear-gradient(45deg,var(--red) 0 10px,#fff 10px 20px,var(--blue) 20px 30px,#fff 30px 40px);
}
.pole-mini{
  display:inline-block; width:10px; height:30px; border-radius:5px; margin-right:10px;
  background:repeating-linear-gradient(45deg,var(--red) 0 6px,#fff 6px 12px,var(--blue) 12px 18px,#fff 18px 24px);
  border:1px solid var(--line);
}

/* --------------------------------------------------- Buttons */
.btn{
  border:1px solid var(--line); background:#fff; border-radius:10px; padding:10px 16px;
  font-weight:650; cursor:pointer; transition:.12s ease; line-height:1.2;
}
.btn:hover{border-color:var(--blue-line); background:var(--blue-soft)}
.btn:active{transform:translateY(1px)}
.btn.primary{background:var(--blue); border-color:var(--blue); color:#fff; box-shadow:0 2px 8px rgba(29,78,216,.25)}
.btn.primary:hover{background:var(--blue-dark); border-color:var(--blue-dark)}
.btn.danger{background:var(--red); border-color:var(--red); color:#fff}
.btn.danger:hover{background:var(--red-dark); border-color:var(--red-dark)}
.btn.danger.ghost{background:#fff; color:var(--red); border-color:#f3c6c6}
.btn.danger.ghost:hover{background:var(--red-soft)}
.btn.ghost{background:#fff}
.btn.small{padding:7px 12px; font-size:13.5px; border-radius:9px}
.btn.big{padding:16px 20px; font-size:17px}
.btn:disabled{opacity:.45; cursor:not-allowed; transform:none}

/* --------------------------------------------------- Login */
.login{position:fixed; inset:0; display:grid; place-items:center; padding:20px;
  background:
    radial-gradient(900px 500px at 12% -10%, #e3edff 0%, transparent 60%),
    radial-gradient(700px 420px at 100% 110%, #ffe8e8 0%, transparent 60%),
    var(--bg);
}
.login-card{
  display:flex; width:min(460px,100%); background:var(--card); border:1px solid var(--line);
  border-radius:16px; box-shadow:0 20px 60px rgba(15,23,42,.12); overflow:hidden;
}
.login-body{padding:26px 26px 22px; flex:1; min-width:0}
.brand-big{text-align:center; margin-bottom:18px}
.brand-big .scissors{font-size:30px; color:var(--red); display:block; line-height:1}
.brand-big h1{font-size:26px; margin-top:6px}
.brand-big p{margin:4px 0 0; color:var(--muted); font-size:13.5px}
.staff-tiles{display:flex; flex-wrap:wrap; gap:8px; justify-content:center; margin-bottom:16px}
.staff-tiles button{
  border:1.5px solid var(--line); background:#fff; border-radius:999px; padding:7px 14px;
  cursor:pointer; font-weight:650; font-size:13.5px;
}
.staff-tiles button.active{border-color:var(--blue); background:var(--blue-soft); color:var(--blue-dark)}
.pin-display{
  height:52px; border:1.5px solid var(--line); border-radius:12px; display:flex; align-items:center;
  justify-content:center; gap:10px; margin-bottom:14px; background:#fbfcfe; letter-spacing:.2em;
}
.pin-display .pin-hint{color:var(--muted); font-size:14px; letter-spacing:0}
.pin-display .dot{width:12px; height:12px; border-radius:50%; background:var(--blue)}
.pinpad{display:grid; grid-template-columns:repeat(3,1fr); gap:9px}
.pinpad button{
  height:58px; border:1px solid var(--line); background:#fff; border-radius:12px;
  font-size:20px; font-weight:650; cursor:pointer;
}
.pinpad button:hover{background:var(--blue-soft); border-color:var(--blue-line)}
.pinpad .k-alt{color:var(--red); font-size:18px}
.pinpad .k-ok{background:var(--blue); border-color:var(--blue); color:#fff; font-size:16px}
.pinpad .k-ok:hover{background:var(--blue-dark)}
.login-error{color:var(--red); text-align:center; min-height:20px; margin:12px 0 0; font-size:14px; font-weight:600}

/* --------------------------------------------------- Shell */
.app{display:flex; flex-direction:column; height:100vh; height:100dvh}
.topbar{
  display:flex; align-items:center; gap:14px; padding:10px 16px; background:#fff;
  border-bottom:1px solid var(--line); flex:0 0 auto; position:relative; z-index:5;
}
.topbar-left{display:flex; align-items:center; font-size:17px; white-space:nowrap}
.topbar-right{margin-left:auto; display:flex; align-items:center; gap:10px}
.tabs{display:flex; gap:4px; overflow-x:auto; scrollbar-width:none}
.tabs::-webkit-scrollbar{display:none}
.tabs button{
  border:0; background:transparent; padding:9px 14px; border-radius:9px; cursor:pointer;
  font-weight:650; color:var(--muted); white-space:nowrap;
}
.tabs button:hover{background:var(--blue-soft); color:var(--blue-dark)}
.tabs button.active{background:var(--blue); color:#fff}
.user-chip{
  background:var(--blue-soft); color:var(--blue-dark); border:1px solid var(--blue-line);
  padding:6px 12px; border-radius:999px; font-weight:650; font-size:13.5px; white-space:nowrap;
}
.today-chip{
  background:#fff; border:1px solid var(--line); padding:6px 12px; border-radius:999px;
  font-weight:700; font-size:13.5px; color:var(--ok); white-space:nowrap;
}
.setup-hint{
  display:flex; align-items:center; gap:12px; padding:11px 16px; flex:0 0 auto;
  background:var(--blue-soft); border-bottom:1px solid var(--blue-line); color:var(--blue-dark);
}
.setup-hint .sh-icon{font-size:19px; line-height:1}
.setup-hint .sh-text{display:flex; flex-direction:column; line-height:1.35; min-width:0}
.setup-hint .sh-text b{font-size:14.5px}
.setup-hint .sh-text span{font-size:12.5px; color:var(--muted)}
.setup-hint .btn{margin-left:auto; flex:0 0 auto}
.setup-hint .sh-close{border:0; background:transparent; font-size:22px; line-height:1; cursor:pointer; color:var(--muted); padding:0 2px}
.setup-hint .sh-close:hover{color:var(--red)}
main{flex:1; overflow:auto; min-height:0}
.view{display:none; padding:16px; gap:16px}
.view.active{display:flex; flex-direction:column}
.view.kasse.active{display:grid; grid-template-columns:1fr 380px; height:100%; padding:0; gap:0}

/* --------------------------------------------------- POS links */
.pos-left{display:flex; flex-direction:column; min-width:0; padding:14px 14px 0; overflow:hidden}
.cat-bar{display:flex; gap:8px; overflow-x:auto; padding-bottom:10px; scrollbar-width:none}
.cat-bar::-webkit-scrollbar{display:none}
.cat-bar button{
  border:1.5px solid var(--line); background:#fff; border-radius:999px; padding:8px 16px;
  cursor:pointer; font-weight:650; white-space:nowrap;
}
.cat-bar button:hover{border-color:var(--blue-line)}
.cat-bar button.active{background:var(--blue); border-color:var(--blue); color:#fff}
.search-row{display:flex; gap:8px; padding-bottom:12px}
.search-row input{
  flex:1; border:1px solid var(--line); border-radius:10px; padding:10px 14px; background:#fff;
}
.search-row input:focus{outline:2px solid var(--blue-line); outline-offset:0; border-color:var(--blue)}
.product-grid{
  display:grid; grid-template-columns:repeat(auto-fill,minmax(158px,1fr)); gap:10px;
  overflow:auto; padding-bottom:16px; align-content:start;
}
.p-card{
  border:1px solid var(--line); background:#fff; border-radius:var(--radius); padding:13px;
  text-align:left; cursor:pointer; display:flex; flex-direction:column; gap:6px; min-height:96px;
  box-shadow:var(--shadow); transition:.12s ease; position:relative; overflow:hidden;
}
.p-card::before{content:""; position:absolute; left:0; top:0; bottom:0; width:4px; background:var(--blue)}
.p-card.ware::before{background:var(--red)}
.p-card:hover{transform:translateY(-2px); border-color:var(--blue-line)}
.p-card:active{transform:translateY(0)}
.p-card .n{font-weight:650; line-height:1.25; font-size:14.5px}
.p-card .p{margin-top:auto; font-size:19px; font-weight:800; color:var(--blue-dark)}
.p-card .d{font-size:12px; color:var(--muted)}
.empty{color:var(--muted); padding:30px; text-align:center; grid-column:1/-1}

/* --------------------------------------------------- POS rechts */
.pos-right{
  background:#fff; border-left:1px solid var(--line); display:flex; flex-direction:column;
  min-height:0; box-shadow:-8px 0 24px rgba(15,23,42,.03);
}
.cart-head{display:grid; grid-template-columns:1fr 1fr; gap:8px; padding:12px; border-bottom:1px solid var(--line)}
.field{display:flex; flex-direction:column; gap:4px; min-width:0}
.field>span{font-size:11.5px; text-transform:uppercase; letter-spacing:.05em; color:var(--muted); font-weight:700}
.field input,.field select,.filters input,.filters select{
  border:1px solid var(--line); border-radius:9px; padding:9px 11px; background:#fff; width:100%; min-width:0;
}
.field input:focus,.field select:focus{outline:2px solid var(--blue-line); border-color:var(--blue)}
.cart{list-style:none; margin:0; padding:8px; overflow:auto; flex:1; min-height:80px}
.cart-empty{color:var(--muted); text-align:center; padding:40px 10px}
.cart li.item{
  display:grid; grid-template-columns:1fr auto; gap:2px 10px; padding:9px 8px; border-radius:10px;
  align-items:center;
}
.cart li.item:hover{background:var(--blue-soft)}
.cart .i-name{font-weight:650; font-size:14.5px; grid-column:1; grid-row:1}
.cart .i-sub{font-size:12px; color:var(--muted); grid-column:1; grid-row:2}
.cart .i-right{display:flex; align-items:center; gap:8px; grid-column:2; grid-row:1/3}
.qty{display:flex; align-items:center; border:1px solid var(--line); border-radius:8px; overflow:hidden}
.qty button{width:28px; height:28px; border:0; background:#fff; cursor:pointer; font-weight:800; color:var(--blue)}
.qty button:hover{background:var(--blue-soft)}
.qty span{min-width:26px; text-align:center; font-weight:700; font-size:13.5px}
.i-total{min-width:66px; text-align:right; font-weight:750}
.i-del{border:0; background:transparent; color:var(--red); cursor:pointer; font-size:17px; line-height:1; padding:2px 4px}
.cart-foot{border-top:1px solid var(--line); padding:12px; display:flex; flex-direction:column; gap:9px}
.row-sum{display:flex; justify-content:space-between; color:var(--muted); font-size:14px}
.row-sum.small b{color:var(--red)}
.row-total{
  display:flex; justify-content:space-between; align-items:baseline; padding-top:9px;
  border-top:2px solid var(--ink); font-size:16px; font-weight:700;
}
.row-total b{font-size:27px; letter-spacing:-.02em}
.discount-row{display:grid; grid-template-columns:70px 1fr 74px; gap:8px; align-items:center; font-size:13px; color:var(--muted)}
.chips{display:flex; gap:5px}
.chips button{
  flex:1; border:1px solid var(--line); background:#fff; border-radius:8px; padding:7px 4px;
  cursor:pointer; font-size:12.5px; font-weight:650;
}
.chips button:hover{background:var(--blue-soft)}
.chips button.active{background:var(--blue); border-color:var(--blue); color:#fff}
.mini-input{border:1px solid var(--line); border-radius:8px; padding:7px 8px; width:100%; text-align:right}
.pay-methods{display:grid; grid-template-columns:repeat(4,1fr); gap:6px}
.pay-methods button{
  border:1.5px solid var(--line); background:#fff; border-radius:10px; padding:11px 4px;
  cursor:pointer; font-weight:650; font-size:12.5px;
}
.pay-methods button:hover{background:var(--blue-soft)}
.pay-methods button.active{background:var(--blue-soft); border-color:var(--blue); color:var(--blue-dark)}
.cash-box{display:grid; grid-template-columns:1fr 120px; gap:8px; align-items:end}
.cash-quick{grid-column:1/-1; display:flex; gap:6px; flex-wrap:wrap}
.cash-quick button{
  border:1px solid var(--line); background:#fff; border-radius:8px; padding:7px 10px;
  cursor:pointer; font-size:12.5px; font-weight:650; flex:1;
}
.cash-quick button:hover{background:var(--blue-soft)}
.change{
  align-self:end; text-align:right; background:var(--blue-soft); border:1px solid var(--blue-line);
  border-radius:9px; padding:7px 10px; font-size:12.5px; color:var(--blue-dark); font-weight:650;
}
.change b{display:block; font-size:17px}
.change.warn{background:var(--red-soft); border-color:#f3c6c6; color:var(--red-dark)}
.cart-actions{display:grid; grid-template-columns:110px 1fr; gap:8px; margin-top:2px}

/* --------------------------------------------------- Panels / Tabellen */
.panel{background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden}
.panel.narrow{max-width:760px}
.panel-head{
  display:flex; align-items:center; gap:12px; padding:14px 16px; border-bottom:1px solid var(--line);
  flex-wrap:wrap;
}
.panel-head h2{font-size:16.5px}
.filters{margin-left:auto; display:flex; gap:8px; align-items:flex-end; flex-wrap:wrap}
.filters input,.filters select{max-width:190px}
.field.tight>span{font-size:10.5px}
.pad{padding:16px; display:flex; flex-direction:column; gap:12px}
.grid-2{display:grid; grid-template-columns:1fr 380px; gap:16px; align-items:start}
.side-col{display:flex; flex-direction:column; gap:16px}
.table-wrap{overflow:auto; max-height:min(62vh,720px)}
.table{width:100%; border-collapse:collapse; font-size:14px}
.table th{
  text-align:left; font-size:11.5px; text-transform:uppercase; letter-spacing:.05em; color:var(--muted);
  padding:10px 14px; background:#fafbfe; position:sticky; top:0; border-bottom:1px solid var(--line); z-index:1;
}
.table td{padding:10px 14px; border-bottom:1px solid #f1f4f9; vertical-align:middle}
.table tr:last-child td{border-bottom:0}
.table tbody tr:hover{background:#fafcff}
.table .num{text-align:right; font-variant-numeric:tabular-nums}
.tag{display:inline-block; padding:2px 9px; border-radius:999px; font-size:11.5px; font-weight:700}
.tag.ok{background:#e7f7ee; color:#0b7a41}
.tag.void{background:var(--red-soft); color:var(--red-dark)}
.tag.blue{background:var(--blue-soft); color:var(--blue-dark)}
.tag.grey{background:#f1f5f9; color:var(--muted)}
.hint{color:var(--muted); font-size:12.5px; margin:0; line-height:1.5}
.check{display:flex; align-items:center; gap:9px; font-size:14px}
.check input{width:17px; height:17px; accent-color:var(--blue)}
.form-grid{display:grid; grid-template-columns:1fr 1fr; gap:14px}
.form-grid .wide{grid-column:1/-1}
.seg{display:inline-flex; border:1px solid var(--line); border-radius:10px; overflow:hidden; background:#fff}
.seg button{border:0; background:#fff; padding:8px 14px; cursor:pointer; font-weight:650; font-size:13.5px; color:var(--muted)}
.seg button.active{background:var(--blue); color:#fff}

/* --------------------------------------------------- Z-Bericht / Statistik */
.kpis{display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:12px; padding:16px}
.kpi{border:1px solid var(--line); border-radius:12px; padding:13px 15px; background:#fbfcfe}
.kpi .l{font-size:11.5px; text-transform:uppercase; letter-spacing:.05em; color:var(--muted); font-weight:700}
.kpi .v{font-size:23px; font-weight:800; margin-top:3px; letter-spacing:-.02em}
.kpi.blue{background:var(--blue-soft); border-color:var(--blue-line)}
.kpi.blue .v{color:var(--blue-dark)}
.kpi.red{background:var(--red-soft); border-color:#f6d3d3}
.kpi.red .v{color:var(--red-dark)}
.section-title{font-size:12px; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); font-weight:750; margin:6px 0}
.bars{display:flex; flex-direction:column; gap:7px}
.bar-row{display:grid; grid-template-columns:150px 1fr 90px; gap:10px; align-items:center; font-size:13.5px}
.bar-track{display:block; background:#eef1f7; border-radius:6px; height:14px; overflow:hidden}
.bar-fill{display:block; height:100%; min-width:3px; background:linear-gradient(90deg,var(--blue),#4f7ff0); border-radius:6px}
.bar-fill.red{background:linear-gradient(90deg,var(--red),#f06c6c)}
.bar-row .num{text-align:right; font-weight:700; font-variant-numeric:tabular-nums}
.spark{display:flex; align-items:flex-end; gap:4px; height:110px; padding:10px 0; overflow:hidden}
.spark div{flex:1 1 auto; min-width:4px; max-width:46px; background:var(--blue); border-radius:3px 3px 0 0; opacity:.85}
.spark div:hover{background:var(--red); opacity:1}
.z-list{padding:0 16px 16px}
.z-row{display:flex; justify-content:space-between; padding:8px 0; border-bottom:1px dashed var(--line); font-size:14px}
.z-row:last-child{border-bottom:0}
.z-row.total{font-weight:800; font-size:16px; border-top:2px solid var(--ink); border-bottom:0; margin-top:6px; padding-top:10px}
.counted-diff{font-weight:700; font-size:15px}
.counted-diff.plus{color:var(--ok)}
.counted-diff.minus{color:var(--red)}

/* --------------------------------------------------- Modal / Toast */
.modal-backdrop{
  position:fixed; inset:0; background:rgba(15,23,42,.45); display:grid; place-items:center;
  padding:16px; z-index:50; backdrop-filter:blur(2px);
}
.modal{
  background:#fff; border-radius:16px; width:min(520px,100%); max-height:90vh; display:flex;
  flex-direction:column; box-shadow:0 24px 70px rgba(15,23,42,.3); overflow:hidden;
}
.modal-head{display:flex; align-items:center; padding:15px 18px; border-bottom:1px solid var(--line)}
.modal-head h3{font-size:16.5px}
.modal-head .x{margin-left:auto; border:0; background:transparent; font-size:26px; line-height:1; cursor:pointer; color:var(--muted)}
.modal-body{padding:18px; overflow:auto}
.modal-body .form-grid{grid-template-columns:1fr 1fr}
.modal-foot{padding:14px 18px; border-top:1px solid var(--line); display:flex; gap:9px; justify-content:flex-end}
.toast{
  position:fixed; left:50%; bottom:26px; transform:translateX(-50%); background:var(--ink); color:#fff;
  padding:12px 20px; border-radius:11px; z-index:80; font-weight:600; box-shadow:0 10px 30px rgba(0,0,0,.25);
  max-width:90vw;
}
.toast.err{background:var(--red)}
.toast.ok{background:var(--ok)}

/* Bon-Vorschau im Modal */
.receipt{
  font-family:"SFMono-Regular",ui-monospace,Menlo,Consolas,monospace; font-size:12.5px; line-height:1.5;
  background:#fbfcfe; border:1px dashed var(--line); border-radius:10px; padding:16px;
}
.receipt h4{text-align:center; margin:0 0 2px; font-size:15px}
.receipt .center{text-align:center}
.receipt .line{border-top:1px dashed #b9c2d0; margin:8px 0}
.receipt .r{display:flex; justify-content:space-between; gap:10px}
.receipt .r.big{font-weight:800; font-size:14px}

/* --------------------------------------------------- Druck */
.print-area{display:none}
@media print{
  body{background:#fff}
  .app,.login,.modal-backdrop,.toast{display:none !important}
  .print-area{display:block !important; font-family:ui-monospace,Menlo,Consolas,monospace; font-size:12px; width:72mm; margin:0 auto; color:#000}
  .print-area h4{text-align:center; font-size:15px; margin:0 0 4px}
  .print-area .center{text-align:center}
  .print-area .line{border-top:1px dashed #000; margin:6px 0}
  .print-area .r{display:flex; justify-content:space-between; gap:8px}
  .print-area .r.big{font-weight:800; font-size:14px}
  @page{margin:6mm}
}

/* --------------------------------------------------- Sprachschalter */
.lang-switch{display:inline-flex; border:1px solid var(--line); border-radius:9px; overflow:hidden; background:#fff}
.lang-switch button{
  border:0; background:#fff; padding:6px 11px; cursor:pointer; font-weight:700; font-size:12.5px;
  color:var(--muted); line-height:1.4;
}
.lang-switch button:hover{background:var(--blue-soft)}
.lang-switch button.active{background:var(--blue); color:#fff}
.login-lang{position:absolute; top:14px; inset-inline-end:16px}
.login-body{position:relative}

/* --------------------------------------------------- Arabisch (rechts nach links) */
[dir="rtl"] .pole{border-radius:0 14px 14px 0}
[dir="rtl"] .pole-mini{margin-right:0; margin-left:10px}
[dir="rtl"] .topbar-right{margin-left:0; margin-right:auto}
[dir="rtl"] .filters{margin-left:0; margin-right:auto}
[dir="rtl"] .setup-hint .btn{margin-left:0; margin-right:auto}
[dir="rtl"] .modal-head .x{margin-left:0; margin-right:auto}
[dir="rtl"] .pos-right{border-left:0; border-right:1px solid var(--line); box-shadow:8px 0 24px rgba(15,23,42,.03)}
[dir="rtl"] .p-card{text-align:right}
[dir="rtl"] .p-card::before{left:auto; right:0}
[dir="rtl"] .table th{text-align:right}
[dir="rtl"] .table .num{text-align:left}
[dir="rtl"] .bar-row .num{text-align:left}
[dir="rtl"] .i-total{text-align:left}
[dir="rtl"] .change{text-align:left}
[dir="rtl"] .mini-input{text-align:left}
[dir="rtl"] .row-total b{direction:ltr}
[dir="rtl"] .cart-actions{grid-template-columns:1fr 110px}
[dir="rtl"] .cart-actions #clearCart{order:2}
[dir="rtl"] .cart-actions #checkout{order:1}
/* Bon und Z-Bericht bleiben deutsch und damit links nach rechts */
[dir="rtl"] .receipt, [dir="rtl"] .print-area{direction:ltr; text-align:left}
/* Beträge, Uhrzeiten und Datumsangaben nie spiegeln — sonst wandert das €-Zeichen nach vorn */
[dir="rtl"] .p-card .p,
[dir="rtl"] .kpi .v,
[dir="rtl"] .pin-display,
[dir="rtl"] .i-total,
[dir="rtl"] .row-sum b,
[dir="rtl"] .row-total b,
[dir="rtl"] .change b,
[dir="rtl"] .cash-quick button,
[dir="rtl"] .z-row b,
[dir="rtl"] .table .num,
[dir="rtl"] .bar-row .num,
[dir="rtl"] .modal-body b,
[dir="rtl"] .mini-input,
[dir="rtl"] input[inputmode="decimal"],
[dir="rtl"] input[type="date"]{direction:ltr; unicode-bidi:isolate}
[dir="rtl"] .table .num{text-align:left}
[dir="rtl"] .cash-quick button{text-align:center}
/* Zifferntastatur bleibt in gewohnter Anordnung 1-2-3 — die ist überall gleich */
[dir="rtl"] .pinpad{direction:ltr}

/* --------------------------------------------------- Responsive */
@media (max-width:1100px){
  .view.kasse.active{grid-template-columns:1fr 330px}
  .grid-2{grid-template-columns:1fr 330px}
}
@media (max-width:900px){
  .view.kasse.active{grid-template-columns:1fr; height:auto}
  .pos-right{border-left:0; border-top:1px solid var(--line)}
  .grid-2{grid-template-columns:1fr}
  .form-grid{grid-template-columns:1fr}
  .topbar{flex-wrap:wrap}
  .tabs{order:3; width:100%}
  .topbar-right{margin-left:auto}
  .product-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}
  .bar-row{grid-template-columns:110px 1fr 78px; font-size:12.5px}
}
