:root{--black:#0d0d0e;--panel:#171719;--gold:#d7a72f;--gold2:#f2cf72;--red:#a82020;--cream:#f4efe4;--muted:#b8b2a8;--line:rgba(255,255,255,.13);--green:#2f9c63}
*{box-sizing:border-box}body.app{margin:0;background:#0d0d0e;color:#f4efe4;font-family:Arial,sans-serif}.app-header{height:74px;display:flex;align-items:center;justify-content:space-between;padding:0 22px;background:#111;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:30}.app-brand img{width:190px}.app-header nav{display:flex;gap:10px;align-items:center}.app-header a,.app-header button{color:white;text-decoration:none;background:#232326;border:1px solid var(--line);border-radius:9px;padding:10px 14px;font-weight:800}.container{max-width:1250px;margin:auto;padding:24px}.narrow{max-width:560px;margin:70px auto;padding:24px}.card{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:20px;margin-bottom:18px}.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.right{margin-left:auto}.hidden{display:none!important}button,.btn{border:0;border-radius:9px;padding:11px 15px;background:linear-gradient(135deg,var(--gold2),var(--gold));color:#17120a;font-weight:900;cursor:pointer}.secondary{background:#29292d;color:white;border:1px solid var(--line)}.danger{background:#8f2424;color:white}.success{background:var(--green);color:white}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.tabs button{background:#252529;color:white}.tabs button.active{background:var(--gold);color:#17120a}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.stat{background:#1c1c1f;border:1px solid var(--line);border-radius:14px;padding:16px}.stat span{color:var(--muted);display:block}.stat strong{font-size:1.6rem}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse}th,td{padding:12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}th{color:var(--gold2)}input,select,textarea{width:100%;background:#111;color:white;border:1px solid var(--line);border-radius:8px;padding:11px;font:inherit}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.form-grid label{display:grid;gap:6px;color:var(--muted);font-weight:800}.wide{grid-column:1/-1}.admin-actions{display:flex;gap:10px}.dialog-body{min-width:min(880px,88vw);max-height:85vh;overflow:auto;background:#171719;color:white;padding:22px;border:1px solid var(--line);border-radius:14px}dialog{background:transparent;border:0}.pill{display:inline-block;padding:5px 9px;border-radius:99px;background:#29292d;margin:3px}.pos-layout{display:grid;grid-template-columns:1fr 410px;gap:16px}.products-grid{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:12px}.product-card{background:#1b1b1e;border:1px solid var(--line);border-radius:14px;padding:14px;cursor:pointer}.product-card img{width:100%;height:115px;object-fit:cover;border-radius:9px}.product-card h3{margin:8px 0 4px}.cart{position:sticky;top:90px}.cart-row{display:grid;grid-template-columns:1fr auto;gap:9px;padding:11px 0;border-bottom:1px solid var(--line)}.qty{display:flex;align-items:center;gap:7px}.qty button{padding:6px 10px}.cart-total{font-size:1.6rem;font-weight:900;display:flex;justify-content:space-between;margin:16px 0}.order-card{border-left:5px solid var(--gold);}.order-items{color:#d7d1c7}.customer-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.customer-summary .stat{padding:12px}.family-row{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr auto;gap:8px;align-items:end;margin:8px 0}.toast{position:fixed;right:20px;bottom:20px;background:#26794d;color:white;padding:14px 18px;border-radius:10px;z-index:100}.toast.error{background:#9b2525}@media(max-width:900px){.pos-layout{grid-template-columns:1fr}.products-grid{grid-template-columns:repeat(2,1fr)}.cart{position:static}.stats,.customer-summary{grid-template-columns:1fr 1fr}.form-grid{grid-template-columns:1fr}.family-row{grid-template-columns:1fr 1fr}.app-header nav a{display:none}}

.customer-results{background:#111;border:1px solid var(--line);border-radius:10px;margin:8px 0;max-height:340px;overflow:auto;padding:6px}.customer-result{width:100%;display:flex;justify-content:space-between;gap:14px;text-align:left;background:#1f1f22;color:white;border:1px solid var(--line);margin:5px 0;padding:11px 12px}.customer-result:hover{border-color:var(--gold)}.customer-result small{display:block;color:var(--muted);font-weight:400;margin-top:3px}

/* Mulder's lichte huisstijl - account, sparen, bestellen, POS en beheer */
:root{--black:#fff;--panel:#fff;--cream:#181818;--muted:#666;--line:#e4ddd2}
body.app{background:#f7f5f1;color:#181818}
.site-header,.app-header{background:#fff;border-color:#e4ddd2;box-shadow:0 3px 18px rgba(0,0,0,.06)}
.brand img,.app-brand img{width:230px}
.site-header .nav a{color:#202020}
.app-header a,.app-header button{color:#202020;background:#fff;border-color:#ded5c8}
.card,.stat,.product-card,.dialog-body,.customer-results,.customer-result{background:#fff;color:#181818;border-color:#e4ddd2;box-shadow:0 8px 24px rgba(0,0,0,.05)}
input,select,textarea{background:#fff;color:#181818;border-color:#d8d0c4}
.secondary,.tabs button{background:#f3efe8;color:#202020;border-color:#d8d0c4}
.tabs button.active{background:var(--gold);color:#17120a}
.stat span,.form-grid label,.customer-result small{color:#666}
th{color:#9b6b0d}.order-items{color:#575757}.pill{background:#f1ece3;color:#222}
.customer-result:hover{background:#fffaf0}
dialog::backdrop{background:rgba(0,0,0,.35)}

/* Productafbeeldingen: compact en gelijkmatig in POS en beheer */
.product-card{overflow:hidden}
.product-card img{
  display:block;
  width:100%;
  height:96px;
  max-height:96px;
  object-fit:cover;
  object-position:center;
  border-radius:9px;
  margin-bottom:9px;
  background:#f3efe7;
}
.admin-product-thumb{
  display:block;
  width:72px;
  height:52px;
  max-width:72px;
  max-height:52px;
  object-fit:cover;
  object-position:center;
  border-radius:8px;
  background:#f3efe7;
}
@media(max-width:900px){
  .product-card img{height:88px;max-height:88px}
  .admin-product-thumb{width:60px;height:44px;max-width:60px;max-height:44px}
}
.payment-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.payment-grid button:nth-child(3){grid-column:1/-1}.discount-row{margin-top:14px}.discount-row button{padding:8px 10px}.pay-amount{font-size:2.2rem;font-weight:900;color:#9b6b0d}.dialog-body label{display:grid;gap:8px;margin:18px 0}#paymentDialog::backdrop,#reportDialog::backdrop{background:rgba(0,0,0,.45)}@media(max-width:520px){.payment-grid{grid-template-columns:1fr}.payment-grid button:nth-child(3){grid-column:auto}}

.cash-quick{flex-wrap:wrap;margin:10px 0}.cash-quick button{min-width:70px}.kiosk .site-header{display:none}.kiosk .container{max-width:none;padding:8px}.kiosk .product-card,.kiosk button{min-height:52px}.kiosk .products-grid{grid-template-columns:repeat(auto-fill,minmax(155px,1fr))}

#receiptPanel h3.wide{grid-column:1/-1;margin:18px 0 0;border-bottom:1px solid #ddd;padding-bottom:6px}#receiptPanel .form-grid label{align-self:start}#receiptPanel textarea{min-height:82px}
