:root {
  --p: #1a39a8;
  --pl: #2a4fc4;
  --pf: rgba(26,57,168,.10);
  --pb: rgba(26,57,168,.28);
  --bg1: #05091f;
  --bg2: #07091e;
  --bg3: #090d24;
  --bd: #0f1633;
  --bd2: #1a2550;
  --t1: #ffffff;
  --t2: #ffffff;
  --t3: #ffffff;
  --t4: #ffffff;
  --green: #3dc87c;
  --yellow: #e8b030;
  --red: #e87030;
  --cyan: #30b8e0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg1);
  color: var(--t1);
  font-size: 14px;
  line-height: 1.5;
}

/* ── UTILS ── */
.accent { color: #fff; }
.btn-primary {
  background: var(--p); color: white; border: none;
  padding: 7px 14px; border-radius: 7px; font-size: 13px;
  font-weight: 500; cursor: pointer; font-family: inherit;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background .2s;
}
.btn-primary:hover { background: var(--pl); }
.btn-ghost {
  background: transparent; color: var(--t2);
  border: 1px solid var(--bd2); padding: 7px 14px;
  border-radius: 7px; font-size: 13px; cursor: pointer;
  font-family: inherit; display: inline-flex; align-items: center; gap: 6px;
  transition: all .2s;
}
.btn-ghost:hover { color: var(--t1); border-color: #2a4070; }
.btn-full { width: 100%; justify-content: center; padding: 9px; }
.btn-small { font-size: 12px; padding: 5px 11px; }

.page { display: none; }
.page.active { display: block; }

/* ── NAV ── */
#navbar {
  background: #03061a;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.5rem; height: 56px;
  border-bottom: 1px solid var(--bd);
  position: sticky; top: 0; z-index: 100;
}
.nav-logo { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.nav-links { display: flex; gap: 1.25rem; }
.nav-links span { font-size: 13px; color: var(--t2); cursor: pointer; transition: color .2s; }
.nav-links span:hover { color: var(--t1); }
.nav-actions { display: flex; gap: 8px; align-items: center; }

/* ── TABS ── */
.tabs {
  background: #040817; display: flex;
  border-bottom: 1px solid var(--bd); overflow-x: auto;
}
.tab {
  padding: 10px 18px; font-size: 13px; color: var(--t3);
  cursor: pointer; border-bottom: 2px solid transparent;
  white-space: nowrap; transition: all .2s;
}
.tab.active { color: #fff; border-bottom-color: var(--p); }
.tab:hover:not(.active) { color: var(--t2); }

/* ── PAGE HEADER ── */
.page-header {
  background: var(--bg3); padding: .75rem 1.5rem;
  border-bottom: 1px solid var(--bd);
  display: flex; align-items: center; gap: .75rem;
  justify-content: space-between;
}
.page-title { font-size: 15px; font-weight: 500; }
.page-sub { font-size: 12px; color: var(--t3); }

/* ── LOGIN ── */
.login-wrap {
  display: flex; align-items: center; justify-content: center;
  padding: 3rem 1rem; min-height: 480px;
}
.login-card {
  background: var(--bg2); border: 1px solid var(--bd);
  border-radius: 12px; padding: 1.75rem;
  width: 100%; max-width: 340px;
}
.login-logo { display: flex; justify-content: center; margin-bottom: 1.25rem; }
.login-card h2 { font-size: 18px; font-weight: 500; text-align: center; margin-bottom: .25rem; }
.login-sub { font-size: 13px; color: var(--t3); text-align: center; margin-bottom: 1.25rem; }
.login-card label { font-size: 12px; color: var(--t2); margin-bottom: .3rem; display: block; margin-top: .75rem; }
.login-card input {
  width: 100%; background: #0c1030; border: 1px solid var(--bd2);
  color: white; padding: 8px 12px; border-radius: 7px;
  font-size: 13px; outline: none; font-family: inherit;
}
.login-card input:focus { border-color: var(--p); }
.login-hint { font-size: 11px; color: var(--t4); text-align: center; margin-top: .75rem; line-height: 1.8; }
.error-box {
  background: rgba(220,60,40,.08); border: 1px solid rgba(220,60,40,.2);
  color: #fff; font-size: 12px; padding: 8px 12px;
  border-radius: 6px; margin-bottom: .85rem;
}

/* ── HOME ── */
.hero {
  padding: 4rem 2rem 3rem; text-align: center;
  border-bottom: 1px solid var(--bd);
  background: radial-gradient(ellipse 70% 50% at 50% 80%, rgba(26,57,168,.1), transparent);
}
.hero-badge {
  display: inline-block; background: var(--pf); border: 1px solid var(--pb);
  color: #fff; font-size: 12px; padding: 4px 14px;
  border-radius: 20px; margin-bottom: 1.25rem;
  animation: badgein .6s ease;
}
@keyframes badgein { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:none; } }
.hero h1 { font-size: 2.6rem; font-weight: 500; line-height: 1.2; margin-bottom: .85rem; }
.hero p { font-size: 15px; color: var(--t3); max-width: 460px; margin: 0 auto 1.75rem; line-height: 1.7; }
.hero-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 2rem; justify-content: center;
  margin-top: 2rem; padding-top: 2rem;
  border-top: 1px solid var(--bd); flex-wrap: wrap;
}
.stat-num { font-size: 1.4rem; font-weight: 500; }
.stat-lbl { font-size: 12px; color: var(--t4); margin-top: 2px; }
.trust-bar {
  background: var(--bg3); border-bottom: 1px solid var(--bd);
  display: flex; justify-content: center; gap: 2rem;
  padding: .8rem 2rem; flex-wrap: wrap;
}
.trust-bar span { font-size: 12px; color: var(--t3); display: flex; align-items: center; gap: 6px; }
.trust-bar i { color: #fff; }
.section { padding: 2.5rem 2rem; }
.section-alt { background: var(--bg3); }
.section-label { font-size: 11px; font-weight: 500; letter-spacing: .1em; color: #fff; text-transform: uppercase; margin-bottom: .4rem; }
.section-title { font-size: 1.35rem; font-weight: 500; margin-bottom: .4rem; }
.section-sub { font-size: 13px; color: var(--t3); margin-bottom: 1.5rem; }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(175px,1fr));
  gap: 1px; background: var(--bd);
  border: 1px solid var(--bd); border-radius: 10px; overflow: hidden;
}
.service-card { background: var(--bg2); padding: 1.1rem; cursor: pointer; transition: background .2s; }
.service-card:hover { background: #0a0f2a; }
.svc-icon { font-size: 24px; margin-bottom: .75rem; }
.svc-title { font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.svc-desc { font-size: 12px; color: var(--t3); line-height: 1.6; }
.steps { display: flex; position: relative; }
.steps::before {
  content: ''; position: absolute; top: 18px; left: 20px; right: 20px;
  height: 1px; background: var(--bd);
}
.step { flex: 1; text-align: center; padding: 0 .4rem; }
.step-n {
  width: 36px; height: 36px; background: var(--bg2);
  border: 1px solid var(--bd2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto .55rem; font-size: 13px; font-weight: 500;
  color: #fff; position: relative; z-index: 1;
}
.step-title { font-size: 12px; font-weight: 500; margin-bottom: 2px; }
.step-desc { font-size: 11px; color: var(--t3); }

/* ── UPLOAD ── */
.upload-layout {
  display: grid; grid-template-columns: 1fr 310px;
  gap: 1.25rem; padding: 1.25rem; background: var(--bg1);
}
.upload-zone {
  border: 1.5px dashed var(--bd2); border-radius: 10px;
  padding: 2.25rem 2rem; text-align: center;
  background: var(--bg2); cursor: pointer; transition: border-color .2s;
}
.upload-zone:hover { border-color: var(--p); }
.upload-zone-icon { font-size: 34px; color: #fff; margin-bottom: .65rem; }
.upload-zone-title { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.upload-zone-sub { font-size: 12px; color: var(--t3); }
.filetypes { display: flex; gap: 5px; justify-content: center; margin-top: .65rem; flex-wrap: wrap; }
.filetypes span { background: #0c1030; border: 1px solid var(--bd2); color: var(--t3); font-size: 10px; padding: 2px 7px; border-radius: 4px; }
.config-card { background: var(--bg2); border: 1px solid var(--bd); border-radius: 9px; padding: 1rem; margin-top: .85rem; }
.config-title { font-size: 13px; font-weight: 500; margin-bottom: .75rem; }
.config-row { display: flex; gap: 8px; margin-bottom: 9px; align-items: flex-start; }
.config-label { font-size: 12px; color: var(--t3); width: 85px; flex-shrink: 0; margin-top: 4px; }
.config-opts { display: flex; gap: 5px; flex-wrap: wrap; }
.cfg-opt {
  background: #0c1030; border: 1px solid var(--bd2); color: var(--t3);
  font-size: 11px; padding: 4px 9px; border-radius: 6px; cursor: pointer; transition: all .15s;
}
.cfg-opt.active { background: var(--pf); border-color: var(--p); color: #fff; }
.color-swatch { width: 20px; height: 20px; border-radius: 50%; cursor: pointer; border: 2px solid transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); transition: border-color .15s; }
.color-swatch.active { border-color: var(--p); }
.cfg-opt.disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.cfg-color-note { font-size: 11px; color: #fff; align-self: center; }
.num-input { background: #0c1030; border: 1px solid var(--bd2); color: white; padding: 4px 8px; border-radius: 6px; font-size: 12px; width: 58px; outline: none; font-family: inherit; }
.opmerking-input {
  width: 100%; background: var(--bg2); border: 1px solid var(--bd);
  color: var(--t2); padding: .65rem .9rem; border-radius: 8px;
  font-size: 13px; resize: vertical; min-height: 70px; outline: none;
  font-family: inherit; margin-top: .85rem; display: block;
}
.price-card { background: var(--bg2); border: 1px solid var(--bd); border-radius: 9px; padding: 1rem; position: sticky; top: 70px; }
.price-card-label { font-size: 11px; color: var(--t3); text-transform: uppercase; letter-spacing: .07em; margin-bottom: .65rem; }
.analysis-box { background: var(--pf); border: 1px solid var(--pb); border-radius: 7px; padding: .65rem; margin: .65rem 0; }
.analysis-title { font-size: 11px; color: #fff; font-weight: 500; margin-bottom: 4px; }
.analysis-row { display: flex; justify-content: space-between; font-size: 11px; color: var(--t3); padding: 1px 0; }
.analysis-row span:last-child { color: var(--t2); }
.price-rows {}
.price-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--t3); padding: 4px 0; border-bottom: 1px solid var(--bd); }
.price-total { display: flex; justify-content: space-between; font-size: 15px; font-weight: 500; padding-top: 9px; margin-top: 5px; border-top: 1px solid var(--bd2); }
.price-hint { font-size: 11px; color: var(--t4); text-align: center; margin-top: 6px; }
.betaal-card { background: var(--bg2); border: 1px solid var(--bd); border-radius: 9px; padding: .9rem; margin-top: 10px; }
.betaal-title { font-size: 11px; font-weight: 500; color: var(--t2); margin-bottom: .6rem; }
.betaal-opts { display: flex; gap: 5px; flex-wrap: wrap; }
.betaal-opts span { background: #0c1030; border: 1px solid var(--bd2); border-radius: 5px; padding: 3px 9px; font-size: 11px; color: var(--t3); }

/* ── WINKEL ── */
[hidden] { display: none !important; }
.shop-wrap { padding: 1.5rem 1.25rem 2.5rem; max-width: 1180px; margin: 0 auto; }
.shop-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.25rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.shop-title { font-size: 1.5rem; font-weight: 500; line-height: 1.25; margin-bottom: .3rem; }
.shop-sub { font-size: 13px; color: var(--t2); max-width: 520px; }
.shop-sub a { color: #fff; }
button, input, select, textarea { color: #fff; }
.shop-tools { display: flex; gap: 8px; align-items: center; }
.shop-tools input { background: var(--bg2); border: 1px solid var(--bd2); color: white; padding: 8px 12px; border-radius: 8px; font-size: 13px; outline: none; width: 220px; font-family: inherit; }
.shop-tools input:focus { border-color: var(--p); }
.cart-btn { background: var(--bg2); border: 1px solid var(--bd2); color: var(--t2); padding: 8px 13px; border-radius: 8px; font-size: 13px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-family: inherit; }
.cart-btn:hover { color: white; border-color: #2a4070; }
.cart-btn span { background: var(--p); color: white; font-size: 11px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; }
.nav-cart { background: transparent; border: 1px solid var(--bd2); color: var(--t2); height: 32px; padding: 0 10px; border-radius: 7px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-family: inherit; font-size: 13px; margin-left: auto; margin-right: 8px; }
.nav-cart:hover { color: white; border-color: #2a4070; }
.nav-cart span { background: var(--p); color: white; font-size: 10px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; }
.shop-filters { display: flex; gap: 6px; margin-bottom: 1.1rem; flex-wrap: wrap; }
.shop-filter { background: var(--bg2); border: 1px solid var(--bd); color: var(--t2); font-size: 12px; padding: 5px 13px; border-radius: 20px; cursor: pointer; transition: all .15s; font-family: inherit; }
.shop-filter:hover { border-color: var(--bd2); color: white; }
.shop-filter.active { background: var(--pf); border-color: var(--p); color: #fff; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 14px; }
.shop-empty { grid-column: 1 / -1; text-align: center; padding: 2.5rem 1rem; }
.shop-card { background: var(--bg2); border: 1px solid var(--bd); border-radius: 12px; overflow: hidden; cursor: pointer; transition: border-color .2s, transform .2s; display: flex; flex-direction: column; }
.shop-card:hover { border-color: var(--bd2); transform: translateY(-2px); }
.shop-card:focus-visible, .add-btn:focus-visible, .btn-primary:focus-visible, .btn-ghost:focus-visible, .shop-filter:focus-visible { outline: 2px solid #6f8cff; outline-offset: 2px; }
.shop-card.soldout .shop-img { opacity: .55; }
.shop-img { position: relative; aspect-ratio: 4 / 3; background: #0c1030; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.shop-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-emoji { line-height: 1; }
.shop-emoji.card { font-size: 56px; }
.shop-emoji.big { font-size: 110px; }
.shop-emoji.small { font-size: 26px; }
.shop-ribbon { position: absolute; top: 10px; left: 10px; background: var(--p); color: white; font-size: 11px; font-weight: 500; padding: 3px 9px; border-radius: 6px; }
.shop-body { padding: .85rem .9rem .95rem; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.shop-cat { font-size: 10px; color: #fff; text-transform: uppercase; letter-spacing: .08em; }
.shop-name { font-size: 14px; font-weight: 500; line-height: 1.3; }
.shop-stock { font-size: 11px; display: flex; align-items: center; gap: 5px; color: var(--t3); }
.shop-stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.shop-stock.in::before { background: var(--green); }
.shop-stock.low::before { background: var(--yellow); }
.shop-stock.out::before { background: var(--red); }
.shop-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: .6rem; }
.shop-price { font-size: 16px; font-weight: 500; }
.add-btn { width: 34px; height: 34px; background: var(--p); border-radius: 8px; border: none; color: white; font-size: 17px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .2s; }
.add-btn:hover { background: var(--pl); }
.add-btn:disabled, .btn-primary:disabled { background: var(--bd2); color: var(--t3); cursor: not-allowed; }

/* ── PRODUCT-DETAIL (modal) ── */
body.modal-open { overflow: hidden; }
.modal-backdrop { position: fixed; inset: 0; background: rgba(2,4,14,.78); z-index: 500; display: flex; align-items: center; justify-content: center; padding: 1rem; overflow-y: auto; }
.modal { position: relative; background: var(--bg2); border: 1px solid var(--bd2); border-radius: 14px; width: 100%; max-width: 760px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.modal-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--bd2); background: rgba(5,9,31,.8); color: var(--t2); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; }
.modal-close:hover { color: white; }
.pm-img { background: #0c1030; display: flex; align-items: center; justify-content: center; min-height: 280px; }
.pm-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pm-info { padding: 1.5rem 1.4rem 1.4rem; display: flex; flex-direction: column; gap: 8px; }
.pm-info h2 { font-size: 1.25rem; font-weight: 500; line-height: 1.25; }
.pm-price { font-size: 1.4rem; font-weight: 500; }
.pm-price span { font-size: 12px; color: var(--t3); font-weight: 400; }
.pm-desc { font-size: 13px; color: var(--t2); line-height: 1.65; white-space: pre-line; }
.pm-actions { display: flex; gap: 10px; align-items: center; margin-top: auto; padding-top: 1rem; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--bd2); border-radius: 8px; overflow: hidden; background: #0c1030; }
.qty button { background: transparent; border: none; color: var(--t2); width: 32px; height: 34px; font-size: 16px; cursor: pointer; font-family: inherit; }
.qty button:hover { color: white; background: var(--pf); }
.qty span { min-width: 30px; text-align: center; font-size: 13px; }

/* ── WINKELWAGEN ── */
.cart-layout { display: grid; grid-template-columns: 1fr 330px; gap: 1.25rem; padding: 1.25rem; max-width: 1100px; margin: 0 auto; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 8px; }
.cart-item { background: var(--bg2); border: 1px solid var(--bd); border-radius: 10px; padding: .75rem .9rem; display: flex; align-items: center; gap: .85rem; }
.cart-item.compact { padding: .6rem 0; background: transparent; border: none; border-bottom: 1px solid var(--bd); border-radius: 0; }
.cart-item.compact:last-child { border-bottom: none; }
.cart-item-img { width: 56px; height: 56px; background: #0c1030; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 13px; font-weight: 500; }
.cart-item-price { font-size: 12px; color: var(--t3); margin-top: 2px; }
.cart-line-total { font-size: 14px; font-weight: 500; min-width: 72px; text-align: right; }
.cart-remove { background: transparent; border: none; color: var(--t3); cursor: pointer; font-size: 20px; line-height: 1; padding: 4px 6px; border-radius: 6px; }
.cart-remove:hover { color: #fff; background: rgba(232,112,48,.08); }
.cart-summary { background: var(--bg2); border: 1px solid var(--bd); border-radius: 10px; padding: 1.1rem; position: sticky; top: 72px; }
.cart-summary:empty { display: none; }
.cart-empty { text-align: center; color: var(--t2); padding: 3rem 1rem; font-size: 14px; background: var(--bg2); border: 1px dashed var(--bd2); border-radius: 10px; }
.cart-empty i { font-size: 38px; color: #fff; display: block; margin-bottom: .5rem; }
.cart-empty p { margin-bottom: 1rem; }
.cart-summary .btn-primary { margin-top: .9rem; }
.free-ship { font-size: 12px; color: #fff; margin-top: .65rem; }
.sum-lines { margin-bottom: .5rem; }
.sum-line { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--t2); padding: 3px 0; }
.sum-line span:last-child { white-space: nowrap; }

/* ── AFREKENEN ── */
.checkout-form { display: flex; flex-direction: column; gap: 12px; }
.co-card { background: var(--bg2); border: 1px solid var(--bd); border-radius: 10px; padding: 1.1rem 1.2rem 1.2rem; }
.co-title { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; margin-bottom: .6rem; }
.co-n { width: 22px; height: 22px; border-radius: 50%; background: var(--pf); border: 1px solid var(--pb); color: #fff; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; }
.co-card label, .prod-form label { display: block; font-size: 12px; color: var(--t2); margin: .75rem 0 .3rem; }
.co-card label small, .prod-form label small { color: var(--t4); font-weight: 400; }
.co-card input[type="text"], .co-card input:not([type]), .co-card textarea,
.prod-form input:not([type="checkbox"]):not([type="file"]), .prod-form select, .prod-form textarea {
  width: 100%; background: #0c1030; border: 1px solid var(--bd2); color: white; padding: 8px 12px; border-radius: 7px; font-size: 13px; outline: none; font-family: inherit;
}
.co-card textarea, .prod-form textarea { resize: vertical; }
.co-card input:focus, .co-card textarea:focus, .prod-form input:focus, .prod-form select:focus, .prod-form textarea:focus { border-color: var(--p); }
.co-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
.co-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; margin-bottom: .4rem; }
.co-option { display: flex !important; align-items: center; gap: 10px; margin: 0 !important; padding: .7rem .85rem; border: 1px solid var(--bd2); border-radius: 8px; cursor: pointer; background: #0c1030; color: var(--t1) !important; }
.co-option:has(input:checked) { border-color: var(--p); background: var(--pf); }
.co-option span { display: flex; flex-direction: column; font-size: 13px; }
.co-option small { color: var(--t3); font-size: 11px; }
.co-option input { accent-color: var(--p); }
.co-info { background: var(--pf); border: 1px solid var(--pb); color: #fff; padding: .7rem .85rem; border-radius: 8px; font-size: 12px; line-height: 1.6; }
.co-info i { margin-right: 4px; }
.co-card .co-info + label, .co-info + .co-check { margin-top: .85rem; }
.co-check { display: flex !important; align-items: flex-start; gap: 8px; font-size: 12px !important; color: var(--t2) !important; cursor: pointer; }
.co-check input { margin-top: 3px; accent-color: var(--p); }
.co-check a { color: #fff; }
.co-submit { padding: 11px; font-size: 14px; }

/* ── BESTELLING ── */
.order-wrap { max-width: 720px; margin: 0 auto; padding: 1.5rem 1.25rem 2.5rem; display: flex; flex-direction: column; gap: 12px; }
.order-banner { display: flex; gap: 12px; align-items: flex-start; padding: 1rem 1.1rem; border-radius: 10px; border: 1px solid; }
.order-banner > i { font-size: 26px; flex-shrink: 0; }
.order-banner.ok { background: rgba(61,200,124,.08); border-color: rgba(61,200,124,.3); color: #fff; }
.order-banner.warn { background: rgba(232,176,48,.08); border-color: rgba(232,176,48,.3); color: #fff; }
.order-banner.bad { background: rgba(232,112,48,.08); border-color: rgba(232,112,48,.3); color: #fff; }
.ob-title { font-size: 15px; font-weight: 500; }
.ob-text { font-size: 13px; color: var(--t2); margin-top: 2px; line-height: 1.55; }
.order-card { background: var(--bg2); border: 1px solid var(--bd); border-radius: 10px; padding: 1.1rem 1.2rem; }
.order-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; margin-bottom: .6rem; }
.order-number { font-size: 1.15rem; font-weight: 500; }
.order-totals, .order-address { margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--bd); }
.order-address p { font-size: 13px; color: var(--t2); line-height: 1.6; }
.order-address p b { color: var(--t1); font-weight: 500; }
.order-note { margin-top: .4rem; font-size: 12px !important; color: var(--t3) !important; }
.order-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--bd); }

/* ── Beheer: winkel ── */
.admin-wide { grid-column: 1 / -1; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: .75rem; }
.panel-head .panel-title { margin-bottom: 0; }
.prod-row { gap: 12px; padding: 9px 0; }
.prod-row.inactive { opacity: .6; }
.prod-thumb { width: 48px; height: 48px; background: #0c1030; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.prod-thumb img { width: 100%; height: 100%; object-fit: cover; }
.prod-thumb.big { width: 96px; height: 96px; }
.prod-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.pill { display: inline-block; font-size: 10px; padding: 1px 7px; border-radius: 9px; font-weight: 500; vertical-align: middle; }
.pill.muted { background: rgba(112,128,184,.14); color: var(--t2); }
.pill.bad { background: rgba(232,112,48,.12); color: #fff; }
.prod-form { background: #070a22; border: 1px solid var(--bd2); border-radius: 10px; padding: 1rem 1.1rem 1.1rem; margin-bottom: 1rem; }
.pf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 12px; }
.pf-wide { grid-column: 1 / -1; }
.pf-image { display: flex; gap: 14px; align-items: flex-start; }
.pf-image input[type="file"] { font-size: 12px; color: var(--t2); max-width: 100%; }
.pf-image .btn-ghost { margin-top: 8px; }
.pf-actions { display: flex; gap: 8px; margin-top: 1rem; }
.shop-order { background: #070a22; border: 1px solid var(--bd); border-radius: 9px; padding: .8rem .95rem; margin-bottom: 8px; display: flex; flex-direction: column; gap: 4px; }
.shop-order.attention { border-color: rgba(232,112,48,.5); }
.so-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; font-size: 13px; }
.so-warning { background: rgba(232,112,48,.1); border: 1px solid rgba(232,112,48,.3); color: #fff; font-size: 12px; padding: 6px 10px; border-radius: 6px; }
.so-items { font-size: 12px; color: var(--t2); }
.so-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.so-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.btn-ghost.danger:hover { color: #fff; border-color: rgba(232,112,48,.5); }

/* ── PORTAAL ── */
.portal-layout { display: grid; grid-template-columns: 200px 1fr; min-height: 500px; }
.portal-sidebar { background: var(--bg2); border-right: 1px solid var(--bd); padding: 1.1rem 0; }
.portal-user { padding: 0 .9rem 1.1rem; border-bottom: 1px solid var(--bd); margin-bottom: .65rem; }
.portal-avatar { width: 34px; height: 34px; background: var(--p); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 500; margin-bottom: 6px; }
.portal-name { font-size: 13px; font-weight: 500; }
.portal-email { font-size: 11px; color: var(--t3); }
.portal-nav-item { display: flex; align-items: center; gap: 8px; padding: 7px .9rem; font-size: 13px; color: var(--t3); cursor: pointer; border-left: 2px solid transparent; transition: all .15s; }
.portal-nav-item:hover { color: var(--t2); }
.portal-nav-item.active { color: white; border-left-color: var(--p); background: var(--pf); }
.portal-nav-item i { font-size: 14px; }
.nav-badge { margin-left: auto; background: var(--p); color: white; font-size: 10px; padding: 1px 5px; border-radius: 7px; }
.portal-main { padding: 1.1rem; }
.portal-main-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.1rem; }
.orders-list { display: flex; flex-direction: column; gap: 7px; }
.order-item { background: var(--bg2); border: 1px solid var(--bd); border-radius: 8px; padding: .8rem 1rem; display: flex; align-items: center; gap: .75rem; cursor: pointer; transition: border-color .2s; }
.order-item:hover { border-color: var(--bd2); }
.order-thumb { width: 38px; height: 38px; background: #0c1030; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.order-info { flex: 1; }
.order-name { font-size: 13px; font-weight: 500; }
.order-meta { font-size: 11px; color: var(--t3); margin-top: 1px; }
.order-status { font-size: 11px; padding: 3px 9px; border-radius: 9px; font-weight: 500; white-space: nowrap; background: rgba(112,128,184,.14); color: var(--t2); }
.s-prod { background: rgba(26,57,168,.12); color: #fff; }
.s-ship { background: rgba(30,180,220,.1); color: #fff; }
.s-quot { background: rgba(240,170,30,.1); color: #fff; }
.s-done { background: rgba(30,180,100,.1); color: #fff; }
.order-price { font-size: 13px; font-weight: 500; text-align: right; }
.order-date { font-size: 11px; color: var(--t3); text-align: right; }

/* ── ADMIN ── */
.admin-layout { display: grid; grid-template-columns: 190px 1fr; min-height: 520px; }
.admin-sidebar { background: var(--bg2); border-right: 1px solid #0d1130; padding: .8rem 0; }
.admin-logo-row { padding: 0 .9rem .8rem; border-bottom: 1px solid #0d1130; margin-bottom: .5rem; display: flex; align-items: center; gap: 7px; }
.admin-dot { width: 7px; height: 7px; background: var(--p); border-radius: 50%; flex-shrink: 0; }
.admin-logo-text { font-size: 13px; font-weight: 500; }
.admin-logo-sub { font-size: 10px; color: var(--t4); }
.admin-section { padding: .4rem .9rem .2rem; font-size: 10px; color: var(--t4); letter-spacing: .08em; text-transform: uppercase; }
.admin-nav-item { display: flex; align-items: center; gap: 7px; padding: 6px .9rem; font-size: 12px; color: var(--t3); cursor: pointer; border-left: 2px solid transparent; transition: all .15s; }
.admin-nav-item:hover { color: var(--t2); }
.admin-nav-item.active { color: white; border-left-color: var(--p); background: var(--pf); }
.admin-nav-item i { font-size: 14px; }
.admin-main { padding: 1rem; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.admin-date { font-size: 11px; color: var(--t4); }
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 8px; margin-bottom: 1rem; }
.kpi { background: var(--bg2); border: 1px solid var(--bd); border-radius: 8px; padding: .8rem; }
.kpi-label { font-size: 11px; color: var(--t3); margin-bottom: 4px; }
.kpi-val { font-size: 19px; font-weight: 500; }
.kpi-delta { font-size: 10px; margin-top: 2px; }
.kpi-delta.pos { color: #fff; }
.kpi-delta.neg { color: #fff; }
.admin-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.admin-panel { background: var(--bg2); border: 1px solid var(--bd); border-radius: 8px; padding: .85rem; }
.panel-title { font-size: 11px; font-weight: 500; color: var(--t2); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .75rem; }
.req-item { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid #0d1130; }
.req-item:last-child { border: none; }
.req-av { width: 25px; height: 25px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 500; flex-shrink: 0; }
.req-info { flex: 1; }
.req-name { font-size: 12px; }
.req-file { font-size: 10px; color: var(--t3); }
.req-time { font-size: 10px; color: var(--t4); white-space: nowrap; }
.req-action { font-size: 10px; color: #fff; cursor: pointer; white-space: nowrap; }
.req-action:hover { text-decoration: underline; }
.msg-item { padding: 6px 0; border-bottom: 1px solid #0d1130; cursor: pointer; }
.msg-item:last-child { border: none; }
.msg-head { display: flex; justify-content: space-between; margin-bottom: 2px; }
.msg-from { font-size: 12px; font-weight: 500; display: flex; align-items: center; gap: 4px; }
.msg-time { font-size: 10px; color: var(--t4); }
.msg-preview { font-size: 11px; color: var(--t3); }
.unread-dot { width: 6px; height: 6px; background: var(--p); border-radius: 50%; display: inline-block; flex-shrink: 0; }

/* ── CHAT ── */
.chat-layout { display: grid; grid-template-columns: 245px 1fr; height: 500px; }
.chat-list { border-right: 1px solid var(--bd); display: flex; flex-direction: column; overflow: hidden; }
.chat-search { padding: .8rem; border-bottom: 1px solid var(--bd); }
.chat-search input { width: 100%; background: #0a0e28; border: 1px solid var(--bd); color: white; padding: 6px 10px; border-radius: 7px; font-size: 12px; outline: none; font-family: inherit; }
#chat-threads { overflow-y: auto; flex: 1; }
.thread { display: flex; align-items: center; gap: 8px; padding: .6rem .85rem; cursor: pointer; border-bottom: 1px solid #0d1130; border-left: 2px solid transparent; transition: all .15s; }
.thread:hover { background: rgba(26,57,168,.04); }
.thread.active { background: var(--pf); border-left-color: var(--p); }
.t-av { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 500; flex-shrink: 0; }
.t-info { flex: 1; min-width: 0; }
.t-name { font-size: 13px; font-weight: 500; }
.t-prev { font-size: 11px; color: var(--t3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.t-time { font-size: 10px; color: var(--t4); }
.t-unread { background: var(--p); color: white; font-size: 9px; padding: 1px 5px; border-radius: 7px; }
.chat-window { display: flex; flex-direction: column; }
.chat-empty { display: flex; align-items: center; justify-content: center; flex: 1; color: var(--t3); font-size: 14px; }
.chat-top { background: var(--bg2); border-bottom: 1px solid var(--bd); padding: .6rem .9rem; display: flex; align-items: center; gap: 8px; }
.chat-top-info { flex: 1; }
.chat-top-name { font-size: 13px; font-weight: 500; }
.chat-top-status { font-size: 11px; color: var(--t3); }
.chat-top-order { color: #fff; }
.chat-body { flex: 1; padding: .8rem .9rem; overflow-y: auto; display: flex; flex-direction: column; gap: .6rem; }
.bubble { max-width: 68%; }
.bubble.them { align-self: flex-start; }
.bubble.me { align-self: flex-end; }
.bubble-inner { padding: 7px 10px; border-radius: 8px; font-size: 13px; line-height: 1.5; }
.bubble.them .bubble-inner { background: #0a0e28; border: 1px solid var(--bd); color: #fff; border-radius: 3px 8px 8px 8px; }
.bubble.me .bubble-inner { background: var(--pf); border: 1px solid var(--pb); color: #fff; border-radius: 8px 3px 8px 8px; }
.bubble-time { font-size: 10px; color: var(--t4); margin-top: 2px; }
.bubble.me .bubble-time { text-align: right; }
.chat-input-row { background: var(--bg2); border-top: 1px solid var(--bd); padding: .6rem .9rem; display: flex; gap: 7px; align-items: flex-end; }
.chat-input { flex: 1; background: #0a0e28; border: 1px solid var(--bd); color: white; padding: 7px 10px; border-radius: 7px; font-size: 13px; resize: none; outline: none; font-family: inherit; }
.chat-send { background: var(--p); color: white; border: none; width: 34px; height: 34px; border-radius: 7px; cursor: pointer; font-size: 15px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.chat-send:hover { background: var(--pl); }

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  background: #1a2550; border: 1px solid var(--p); color: white;
  padding: .75rem 1.25rem; border-radius: 8px; font-size: 13px;
  z-index: 9999; opacity: 0; transition: opacity .3s;
  pointer-events: none;
}
.toast.show { opacity: 1; }

@media (max-width: 700px) {
  .upload-layout, .admin-layout, .portal-layout, .chat-layout, .cart-layout, .modal { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .shop-wrap { padding: 1rem .9rem 2rem; }
  .shop-tools { width: 100%; }
  .shop-tools input { flex: 1; width: auto; min-width: 0; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .shop-emoji.card { font-size: 42px; }
  .pm-img { min-height: 200px; max-height: 240px; }
  .pf-grid { grid-template-columns: 1fr 1fr; }
  .cart-item { flex-wrap: wrap; }
  .cart-item-info { flex-basis: 55%; }
  .co-row { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: repeat(2,1fr); }
  .admin-panels { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero h1 { font-size: 1.8rem; }
  #navbar { padding: 0 .75rem; }
  .nav-actions { gap: 6px; }
  .nav-actions .btn-ghost, .nav-actions .btn-primary { padding: 6px 9px; font-size: 12px; white-space: nowrap; }
  .nav-user { display: none; }
  .nav-cart { margin-right: 6px; }
}

/* ── Printem platform updates ── */
.nav-user { color: var(--t2); font-size: 13px; padding: 0 .4rem; }
.login-hint a { color: #fff; text-decoration: underline; }
.empty-state { color: var(--t3); background: var(--bg2); border: 1px dashed var(--bd2); border-radius: 8px; padding: 1rem; font-size: 13px; }
.quote-item { align-items: flex-start; }
.quote-price { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; white-space: nowrap; font-size: 13px; }
.admin-quote { align-items: flex-start; gap: 12px; }
.admin-offer-control { display: flex; flex-direction: column; align-items: stretch; gap: 7px; min-width: 135px; }
.admin-offer-control input, .admin-orders select { min-width: 115px; background: var(--bg1); color: var(--t2); border: 1px solid var(--bd2); border-radius: 6px; padding: 6px 8px; font: inherit; font-size: 12px; }
.req-info a { display: inline-block; margin-top: 5px; color: #fff; font-size: 11px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
#analysis-detail { line-height: 1.5; white-space: normal; }
#analysis-detail::after { content: ""; }
#admin-orders-list .req-item { align-items: center; }
@media (max-width: 720px) {
  .admin-quote { flex-direction: column; }
  .admin-offer-control { width: 100%; }
  .quote-item { flex-wrap: wrap; }
  .quote-price { width: 100%; align-items: flex-start; }
}

/* ── Offertes en bestellingen (Fase 3) ── */
.work-card { background: var(--bg2); border: 1px solid var(--bd); border-radius: 8px; padding: .85rem 1rem; margin-bottom: 8px; display: flex; flex-direction: column; gap: 8px; }
.work-card.attention, .admin-order.attention { border-color: rgba(232,112,48,.5); }
.work-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.work-price { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: 13px; }
.work-offer { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 14px; }
.work-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.s-bad { background: rgba(232,112,48,.18); color: #fff; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin: 2px 0; padding: 0; }
.steps li { font-size: 10px; text-align: center; color: var(--t3); border-top: 3px solid var(--bd2); padding-top: 4px; }
.steps li.done { border-top-color: rgba(30,180,100,.7); color: var(--t2); }
.steps li.now { border-top-color: var(--p); color: #fff; font-weight: 600; }
.inline-panel { background: #070a22; border: 1px solid var(--bd); border-radius: 8px; padding: .7rem .85rem; display: flex; flex-direction: column; gap: 8px; }
.inline-panel[hidden] { display: none; }
.inline-panel input, .inline-panel select { background: var(--bg1); color: #fff; border: 1px solid var(--bd2); border-radius: 6px; padding: 7px 9px; font: inherit; font-size: 13px; width: 100%; min-width: 0; }
.inline-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.check-line { display: flex; gap: 8px; align-items: center; font-size: 12px; }
.check-line input { width: auto; }
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.timeline li { display: grid; grid-template-columns: 110px 1fr auto; gap: 8px; font-size: 12px; align-items: baseline; }
.tl-when, .tl-who { color: var(--t3); }
.plain-list { margin: 4px 0 8px 1.1rem; padding: 0; font-size: 12px; }
.upload-progress { width: 100%; max-width: 360px; height: 8px; margin: 12px auto 0; background: rgba(255,255,255,.12); border-radius: 4px; overflow: hidden; }
.upload-progress[hidden] { display: none; }
.upload-progress-fill { height: 100%; width: 0; background: var(--p); border-radius: 4px; transition: width .15s linear; }
@media (max-width: 720px) {
  .steps li { font-size: 9px; }
  .timeline li { grid-template-columns: 1fr; gap: 0; }
  .work-price { align-items: flex-start; }
}

/* ── Alle tekst wit ──
   Elke letter is wit. Betekenis die eerst in de tekstkleur zat (voorraad, status, fout) blijft zichtbaar
   via bolletjes, tinten, randen en de tekst zelf. Wil je het terugdraaien: zet --t2, --t3 en --t4 bovenaan
   weer op de oude kleuren (#7080b8, #3a4870, #2a3460). */
a { color: #fff; }
.shop-sub a, .co-check a, .req-info a { text-decoration: underline; text-underline-offset: 2px; }
::placeholder { color: rgba(255,255,255,.6); opacity: 1; }
button:disabled, .add-btn:disabled, .btn-primary:disabled { opacity: .5; }
.shop-stock::before { flex-shrink: 0; }
.order-banner.ok, .order-banner.warn, .order-banner.bad { color: #fff; }
.order-banner.ok { background: rgba(61,200,124,.16); }
.order-banner.warn { background: rgba(232,176,48,.16); }
.order-banner.bad { background: rgba(232,112,48,.16); }
.pill.bad { background: rgba(232,112,48,.3); }
.error-box { background: rgba(220,60,40,.18); }
.nav-links span:hover, .tab:hover:not(.active) { text-decoration: underline; text-underline-offset: 4px; }
.admin-nav-item:hover, .portal-nav-item:hover { background: var(--pf); }

/* ── Projecten (portfolio) ── */
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.project-card { background: var(--bg2); border: 1px solid var(--bd); border-radius: 12px; overflow: hidden; cursor: pointer; transition: border-color .2s, transform .2s; display: flex; flex-direction: column; }
.project-card:hover { border-color: var(--bd2); transform: translateY(-2px); }
.project-card:focus-visible, .pj-thumb:focus-visible, .pj-nav:focus-visible { outline: 2px solid #6f8cff; outline-offset: 2px; }
.project-img { position: relative; aspect-ratio: 4 / 3; background: #0c1030; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.project-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.project-card:hover .project-img img { transform: scale(1.04); }
.photo-count { position: absolute; right: 10px; bottom: 10px; background: rgba(5,9,31,.78); border: 1px solid var(--bd2); border-radius: 6px; padding: 2px 8px; font-size: 11px; display: inline-flex; align-items: center; gap: 4px; }
.project-body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; gap: 3px; }
.project-title { font-size: 15px; font-weight: 500; line-height: 1.3; }
.project-meta { font-size: 12px; }
.project-modal { max-width: 1000px; grid-template-columns: 1.4fr 1fr; }
.pj-gallery { background: #0c1030; display: flex; flex-direction: column; min-width: 0; }
.pj-main { position: relative; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pj-main img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pj-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--bd2); background: rgba(5,9,31,.75); color: #fff; font-size: 18px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.pj-nav.prev { left: 10px; }
.pj-nav.next { right: 10px; }
.pj-nav:hover { background: var(--p); }
.pj-counter { position: absolute; left: 10px; bottom: 10px; background: rgba(5,9,31,.78); border-radius: 6px; padding: 2px 8px; font-size: 11px; }
.pj-thumbs { display: flex; gap: 6px; padding: 8px; overflow-x: auto; }
.pj-thumb { flex: 0 0 64px; height: 48px; border-radius: 6px; overflow: hidden; border: 2px solid transparent; padding: 0; background: #0c1030; cursor: pointer; opacity: .6; }
.pj-thumb.active { border-color: var(--p); opacity: 1; }
.pj-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prj-photos { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.prj-photo { position: relative; width: 112px; height: 112px; border-radius: 8px; overflow: hidden; background: #0c1030; border: 1px solid var(--bd2); }
.prj-photo.pending { border-style: dashed; }
.prj-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prj-badge { position: absolute; left: 4px; bottom: 4px; background: rgba(5,9,31,.88); border: 1px solid var(--bd2); border-radius: 5px; font-size: 10px; padding: 1px 6px; font-family: inherit; color: #fff; }
.prj-badge.btn { cursor: pointer; }
.prj-badge.btn:hover { background: var(--p); }
.prj-remove { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--bd2); background: rgba(5,9,31,.88); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.prj-remove:hover { background: rgba(232,112,48,.6); }
.prod-form input[type="file"] { font-size: 12px; max-width: 100%; }
@media (max-width: 700px) {
  .project-modal { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
}

/* Voorraadtekst houdt zijn kleur (leesbaar op donkerblauw); alle andere tekst blijft wit. */
.shop-stock.in { color: #5fe0a0; }
.shop-stock.low { color: #f2c14e; }
.shop-stock.out { color: #ff9a6b; }


/* ── Printer & prijzen (beheer) en schatting bij aanvragen ── */
.mode-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.mode-card { display: flex; flex-direction: column; gap: 6px; padding: 14px; border: 1px solid var(--bd); border-radius: 12px; cursor: pointer; background: rgba(255,255,255,.03); position: relative; }
.mode-card.active { border-color: #5b8cff; background: rgba(91,140,255,.12); }
.mode-card input { position: absolute; opacity: 0; pointer-events: none; }
.mode-card:focus-within { outline: 2px solid #5b8cff; outline-offset: 2px; }
.mode-card i { font-size: 22px; }
.mode-title { font-weight: 600; }
.mode-text { font-size: 13px; opacity: .85; line-height: 1.4; }
.pr-section { margin-bottom: 1.25rem; }
.pr-title { font-weight: 600; margin-bottom: .5rem; }
.pr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px 14px; }
.pr-field label { display: block; font-size: 13px; margin-bottom: 4px; }
.pr-field small, .pr-section > small, .pr-note { display: block; font-size: 12px; opacity: .85; margin-top: 4px; line-height: 1.35; }
.pr-input { display: flex; align-items: center; gap: 6px; }
.pr-input input { flex: 1; min-width: 0; }
.pr-unit { font-size: 12px; opacity: .85; white-space: nowrap; }
.pr-material { display: grid; grid-template-columns: 70px 1fr 1fr; gap: 10px; align-items: center; margin-bottom: 6px; }
.pr-head { font-size: 12px; opacity: .85; }
.estimate-box { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 6px 0; padding: 8px 10px; border: 1px solid var(--bd); border-radius: 10px; background: rgba(255,255,255,.04); font-size: 13px; }
.estimate-line { display: inline-flex; align-items: center; gap: 6px; }
.estimate-engine { font-size: 11px; opacity: .65; }
.estimate-warning { flex-basis: 100%; font-size: 12px; padding: 4px 8px; border-radius: 8px; background: rgba(242,193,78,.14); }
.estimate-warning.blocking { background: rgba(255,154,107,.18); }
@media (max-width: 700px) { .pr-material { grid-template-columns: 56px 1fr 1fr; } }

/* Printer & prijzen: invoervelden in dezelfde stijl als de andere beheerformulieren, en niet breder dan het scherm. */
#pricing-settings input[type="text"], #pricing-settings select {
  width: 100%; background: #0c1030; border: 1px solid var(--bd2); color: white; padding: 8px 12px; border-radius: 7px; font-size: 13px; outline: none; font-family: inherit;
}
#pricing-settings input[type="text"]:focus, #pricing-settings select:focus { border-color: var(--p); }
#pricing-settings select option { background: #0c1030; color: white; }
.admin-layout > *, .admin-main, .admin-panel, .pr-field, .pr-input { min-width: 0; }
.pr-grid { grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); }
.mode-cards { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.estimate-line > span { display: inline; }

/* Filamentvoorraad (beheer) */
.fil-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); gap: 10px; margin-bottom: 1rem; }
.fil-card { display: flex; gap: 12px; align-items: center; background: #070a22; border: 1px solid var(--bd); border-radius: 10px; padding: .75rem .9rem; min-width: 0; }
.fil-card.low { border-color: rgba(242,193,78,.5); }
.fil-card.out { border-color: rgba(255,154,107,.55); }
.fil-name { font-size: 13px; font-weight: 600; }
.fil-grams { font-size: 20px; font-weight: 600; margin: 1px 0; }
.fil-state { font-size: 12px; }
.fil-state.in { color: #5fe0a0; }
.fil-state.low { color: #f2c14e; }
.fil-state.out { color: #ff9a6b; }
.fil-swatch { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); flex-shrink: 0; }
.fil-swatch.big { width: 34px; height: 34px; border-width: 2px; }
.fil-threshold { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 1.25rem; }
.fil-threshold input { width: 80px; background: #0c1030; border: 1px solid var(--bd2); color: white; padding: 6px 10px; border-radius: 7px; font-size: 13px; outline: none; font-family: inherit; }
.fil-threshold input:focus { border-color: var(--p); }
.fil-bar { height: 5px; border-radius: 3px; background: rgba(255,255,255,.12); margin-top: 6px; overflow: hidden; }
.fil-bar span { display: block; height: 100%; background: var(--p); }
#filament-rolls, #filament-usage { margin-top: .5rem; }
.fil-usage-row { padding: 7px 0; border-bottom: 1px solid var(--bd); font-size: 13px; }
.fil-usage-row .req-file { margin-top: 2px; }
#admin-filament-panel select { background: #0c1030; color: white; }
#admin-filament-panel select option { background: #0c1030; color: white; }

/* Keuzelijsten in het beheer (o.a. orderstatus): donkere achtergrond, anders is de witte tekst onleesbaar. */
.admin-panel select {
  background: #0c1030; border: 1px solid var(--bd2); color: white; padding: 6px 10px; border-radius: 7px; font-size: 13px; font-family: inherit; max-width: 100%;
}
.admin-panel select option { background: #0c1030; color: white; }
@media (max-width: 700px) {
  #filament-rolls .prod-row { flex-wrap: wrap; }
  #filament-rolls .prod-row .req-info { flex: 1 1 0; min-width: 0; }
  #filament-rolls .prod-actions { flex-basis: 100%; justify-content: flex-start; }
}

/* ── Beveiliging en systeemstatus ─────────────────────────────────────────── */
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.is-busy { opacity: .65; cursor: progress; }
.pill.ok { background: rgba(61,200,124,.25); color: #fff; }
.pill.warn { background: rgba(232,176,48,.3); color: #fff; }
.pill.fail { background: rgba(232,112,48,.4); color: #fff; }
.sec-wrap { max-width: 720px; margin: 0 auto; padding: 0 1rem 2rem; }
.sec-banner { display: flex; gap: 12px; align-items: flex-start; background: rgba(232,176,48,.14); border: 1px solid rgba(232,176,48,.5);
  border-radius: 10px; padding: .9rem 1rem; margin-bottom: 1rem; font-size: 13px; }
.sec-banner i { font-size: 20px; flex: none; }
.sec-card { background: var(--bg2); border: 1px solid var(--bd); border-radius: 10px; padding: 1.1rem 1.2rem 1.2rem; margin-bottom: 1rem; }
.sec-title { font-size: 15px; font-weight: 500; display: flex; align-items: center; gap: 8px; margin-bottom: .6rem; flex-wrap: wrap; }
.sec-sub { font-size: 13px; font-weight: 500; margin: 1.1rem 0 .3rem; }
.sec-text { font-size: 13px; line-height: 1.55; margin-bottom: .8rem; }
.sec-note { font-size: 12px; background: rgba(232,176,48,.14); border: 1px solid rgba(232,176,48,.45); border-radius: 8px; padding: .5rem .75rem; margin-bottom: .6rem; }
.sec-steps { padding-left: 1.2rem; font-size: 13px; line-height: 1.55; display: grid; gap: .9rem; margin-bottom: 1rem; }
.secret-box { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 15px; letter-spacing: .08em; word-break: break-all;
  background: #070a22; border: 1px solid var(--bd2); border-radius: 8px; padding: .7rem .9rem; margin: .5rem 0; user-select: all; }
.sec-link { display: inline-block; margin: 0 .6rem .4rem 0; color: #fff; text-decoration: underline; font-size: 12px; }
.sec-inline, .sec-form { display: flex; gap: 8px; flex-wrap: wrap; margin-top: .5rem; }
.sec-inline input, .sec-form input { flex: 1 1 150px; min-width: 0; background: #070a22; border: 1px solid var(--bd2); border-radius: 8px; color: #fff; padding: 9px 12px; font-size: 14px; }
.sec-inline input:focus, .sec-form input:focus { outline: none; border-color: var(--p); }
.recovery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: .8rem 0 1rem; }
.recovery-grid code { background: #070a22; border: 1px solid var(--bd2); border-radius: 8px; padding: .55rem .7rem; font-size: 14px; letter-spacing: .06em; text-align: center; user-select: all; }
.sec-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.sys-overall { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; margin-bottom: .8rem; }
.sys-overall .btn-ghost { margin-left: auto; }
.sys-checks { background: #070a22; border: 1px solid var(--bd); border-radius: 10px; padding: .2rem .9rem; margin-bottom: 1rem; }
.sys-check { display: flex; gap: 12px; align-items: flex-start; padding: .6rem 0; border-bottom: 1px solid var(--bd); }
.sys-check:last-child { border-bottom: 0; }
.sys-check .pill { flex: none; min-width: 62px; text-align: center; margin-top: 2px; }
.sys-name { font-size: 13px; font-weight: 500; }
.sys-msg { font-size: 12px; margin-top: 1px; overflow-wrap: anywhere; }
.sys-fact { font-size: 14px; overflow-wrap: anywhere; }
.sys-trace { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 11px; background: #070a22; border: 1px solid var(--bd); border-radius: 8px; padding: .6rem; margin-top: .4rem; max-height: 260px; overflow: auto; }
.sys-error details { margin-top: .4rem; font-size: 12px; }
.sys-table-wrap { overflow-x: auto; }
.sys-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.sys-table th, .sys-table td { text-align: left; padding: .45rem .6rem; border-bottom: 1px solid var(--bd); vertical-align: top; }
.sys-table th { font-weight: 500; white-space: nowrap; }
@media (max-width: 700px) {
  .sys-overall .btn-ghost { margin-left: 0; }
  .sec-actions .btn-ghost, .sec-actions .btn-primary { flex: 1 1 100%; }
}

/* ── Account: Mijn gegevens, e-mailbanner, meldingen ─────────────────────── */
.ok-box { background: rgba(61,200,124,.16); border: 1px solid rgba(61,200,124,.45); color: #fff; font-size: 13px; padding: 9px 12px; border-radius: 6px; margin-bottom: .85rem; line-height: 1.5; }
.verify-banner { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: rgba(232,176,48,.14); border-bottom: 1px solid rgba(232,176,48,.5); padding: .55rem 1rem; font-size: 13px; }
.verify-banner[hidden] { display: none; }
.verify-banner i { font-size: 18px; flex: none; }
.verify-banner span { flex: 1 1 260px; min-width: 0; overflow-wrap: anywhere; }
.acc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .6rem .9rem; margin-bottom: .6rem; }
.acc-field label { display: block; font-size: 12px; color: var(--t2); margin-bottom: 3px; }
.acc-field input, .sec-form input[type="email"], .sec-form input[type="password"] { width: 100%; box-sizing: border-box; background: #070a22; border: 1px solid var(--bd2); border-radius: 8px; color: #fff; padding: 9px 12px; font-size: 14px; }
.acc-field input:focus { outline: none; border-color: var(--p); }
.acc-check { display: flex; gap: 8px; align-items: center; font-size: 13px; margin: .4rem 0 .8rem; cursor: pointer; }
.acc-check input { width: 16px; height: 16px; flex: none; }
.acc-counts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: .6rem; }
.acc-counts div { background: #070a22; border: 1px solid var(--bd); border-radius: 8px; padding: .6rem .8rem; }
.acc-counts strong { display: block; font-size: 22px; font-weight: 500; }
.acc-counts span { font-size: 12px; color: var(--t2); }
.acc-files { display: grid; gap: .5rem; }
.acc-file { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: #070a22; border: 1px solid var(--bd); border-radius: 8px; padding: .55rem .75rem; }
.acc-file-info { flex: 1 1 200px; min-width: 0; }
.acc-file-name { font-size: 13px; overflow-wrap: anywhere; }
.acc-file-meta { font-size: 11px; color: var(--t2); }
.sec-danger { border-color: rgba(232,112,48,.5); }
.btn-danger { border-color: rgba(232,112,48,.7); }
.btn-danger:hover { background: rgba(232,112,48,.25); }
#linkresult-title.is-error { border-left: 3px solid rgba(232,112,48,.8); padding-left: 10px; }  /* alle tekst blijft wit; een fout herken je aan de rand */
#linkresult-actions { margin-top: 1rem; }
#chat-window .bubble-inner { overflow-wrap: anywhere; }
.tab[data-unread]:not([data-unread=""])::after { content: attr(data-unread); margin-left: 6px; background: var(--p); color: #fff; font-size: 10px; padding: 1px 6px; border-radius: 8px; }

/* ── Beheer (Fase 4): secties, zoeken en filteren, klanten, kosten, team, e-mailteksten ───────────────────────────── */
.staff-view .owner-only { display: none !important; }  /* een medewerker ziet geen kosten, instellingen of gebruikersbeheer */
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: .75rem; }
.filter-bar input[type="search"], .filter-bar input[type="date"], .filter-bar select, .cost-form input, .cost-form select,
.team-form input, .team-form select, .tpl-editor input, .tpl-editor textarea {
  background: #0c1030; border: 1px solid var(--bd2); color: #fff; padding: 7px 10px; border-radius: 7px; font: inherit; font-size: 13px; min-width: 0; box-sizing: border-box;
}
.filter-bar input[type="search"] { flex: 1 1 240px; }
.filter-bar input:focus, .filter-bar select:focus, .cost-form input:focus, .team-form input:focus, .tpl-editor input:focus, .tpl-editor textarea:focus { outline: none; border-color: var(--p); }
.filter-date { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; }
.filter-date input { color-scheme: dark; }
.export-link { text-decoration: none; white-space: nowrap; }
.pager { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: .75rem; }
.pager:empty { display: none; }
.pager-info { font-size: 12px; opacity: .85; margin: 0 0 .4rem; }
.pager .pager-info { margin: 0 auto 0 0; }
.btn-small[disabled], .btn-ghost[disabled] { opacity: .45; cursor: not-allowed; }

.todo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.todo-chip { display: flex; align-items: center; gap: 10px; text-align: left; background: #0c1030; border: 1px solid var(--bd2); color: #fff; border-radius: 8px; padding: .55rem .7rem; font: inherit; cursor: pointer; }
.todo-chip:hover { border-color: var(--p); background: var(--pf); }
.todo-chip.urgent { border-color: rgba(232,176,48,.7); background: rgba(232,176,48,.12); }
.todo-chip.zero { opacity: .75; }
.todo-num { font-size: 20px; font-weight: 600; min-width: 1.6em; }
.todo-label { font-size: 12px; line-height: 1.3; }
.dash-row { cursor: pointer; }
.dash-row:hover { background: var(--pf); }
.act-icon { font-size: 16px; flex: none; opacity: .9; }

.cust-row { cursor: pointer; padding: 8px 4px; }
.cust-row:hover, .cust-row:focus-visible { background: var(--pf); outline: none; }
.cust-av { background: var(--pf); border: 1px solid var(--bd2); width: 30px; height: 30px; }
.cust-figures { text-align: right; font-size: 11px; line-height: 1.5; white-space: nowrap; }
.cust-detail { display: grid; gap: .75rem; }
.cust-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.cust-name { font-size: 18px; font-weight: 600; margin: 0; }
.cust-company { font-weight: 400; opacity: .85; }
.kv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .5rem .9rem; }
.kv-grid > div { display: flex; flex-direction: column; gap: 2px; }
.kv-k { font-size: 11px; opacity: .8; text-transform: uppercase; letter-spacing: .05em; }
.kv-v { font-size: 13px; overflow-wrap: anywhere; }
.mini-kpis { margin-bottom: 0; }
.cust-detail .pr-title { margin: .5rem 0 .1rem; }
.req-info a, .cust-detail a, .kind-row a { color: #fff; }

.cost-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 4px 0; border-bottom: 1px solid var(--bd); font-size: 13px; }
.cost-desc { flex: 1 1 140px; min-width: 0; overflow-wrap: anywhere; }
.cost-summary { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; padding-bottom: 6px; border-bottom: 1px solid var(--bd2); }
.cost-summary small { opacity: .8; }
.cost-form { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.cost-form input[id^="cost-desc"] { flex: 1 1 200px; }
.cost-form input[id^="cost-amount"] { width: 90px; }
.inline-panel .cost-form input, .inline-panel .cost-form select { width: auto; }
.inline-panel .cost-form input[id^="cost-desc"] { width: auto; flex: 1 1 200px; }
.kind-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: .75rem; }

.team-row { gap: 10px; flex-wrap: wrap; }
.team-row.inactive { opacity: .7; }
.team-actions { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.team-form { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; margin-bottom: .75rem; }
.team-form input { flex: 1 1 180px; }
.invite-url input { width: 100%; margin-top: 6px; background: #0c1030; border: 1px solid var(--bd2); color: #fff; padding: 7px 10px; border-radius: 7px; font-size: 12px; box-sizing: border-box; }

.tpl-row { cursor: pointer; padding: 8px 4px; }
.tpl-row:hover, .tpl-row:focus-visible { background: var(--pf); outline: none; }
.tpl-editor { display: grid; gap: .45rem; }
.tpl-editor label { font-size: 12px; font-weight: 600; margin-top: .4rem; }
.tpl-editor input, .tpl-editor textarea { width: 100%; }
.tpl-editor textarea { resize: vertical; min-height: 90px; line-height: 1.45; }
.tpl-chips { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; font-size: 12px; }
.tpl-subject-line { font-size: 13px; margin: .25rem 0; overflow-wrap: anywhere; }
.tpl-frame { width: 100%; height: 520px; border: 1px solid var(--bd2); border-radius: 8px; background: #fff; }

@media (max-width: 700px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: flex; flex-wrap: wrap; gap: 2px; padding: .5rem; border-right: none; border-bottom: 1px solid #0d1130; }
  .admin-sidebar .admin-logo-row, .admin-sidebar .admin-section { display: none; }
  .admin-sidebar .admin-nav-item { border-left: none; border-bottom: 2px solid transparent; padding: 6px 9px; }
  .admin-sidebar .admin-nav-item.active { border-bottom-color: var(--p); }
  .cust-row { flex-wrap: wrap; }
  .cust-figures { text-align: left; flex-basis: 100%; }
  .filter-bar input[type="search"] { flex-basis: 100%; }
}

.req-name { overflow-wrap: anywhere; }
/* Knoppen in het beheer zonder eigen stijl (bijv. 'Afwijzen', 'In behandeling nemen'): anders grijs met witte, slecht leesbare tekst. */
button.btn-small:not(.btn-primary):not(.btn-ghost) { background: transparent; border: 1px solid var(--bd2); color: #fff; border-radius: 8px; cursor: pointer; font-family: inherit; }
button.btn-small:not(.btn-primary):not(.btn-ghost):hover { border-color: #2a4070; background: var(--pf); }
@media (max-width: 700px) {
  .admin-sidebar .admin-nav-item { margin-top: 0 !important; border-top: none !important; padding-top: 6px !important; }
}

/* ── Hoofdmenu en voettekst, gedeeld door de startpagina en de losse pagina's (Fase 5) ── */
.nav-logo { text-decoration: none; flex-shrink: 0; }
.nav-logo img { display: block; height: 26px; width: auto; }
#navbar .nav-links { align-items: center; gap: 1.1rem; margin-left: 1.6rem; }
.nav-links a { font-size: 13px; color: var(--t2); text-decoration: none; padding: 6px 0; white-space: nowrap; transition: color .2s; }
.nav-links a:hover { color: var(--t1); text-decoration: underline; text-underline-offset: 4px; }
.nav-links a[aria-current="page"], .nav-links a.is-current { color: var(--t1); text-decoration: underline; text-decoration-color: var(--pl); text-underline-offset: 6px; text-decoration-thickness: 2px; }
#navbar .nav-search { margin-left: auto; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; color: var(--t2); border: 1px solid var(--bd2); border-radius: 7px; text-decoration: none; margin-right: 8px; }
#navbar .nav-search:hover { color: var(--t1); border-color: #2a4070; }
#navbar a.nav-cart { margin-left: 0; text-decoration: none; }
#navbar .nav-actions a { text-decoration: none; }
#navbar .nav-actions .lbl { white-space: nowrap; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 36px; height: 32px; background: transparent; border: 1px solid var(--bd2); border-radius: 7px; color: var(--t1); font-size: 18px; cursor: pointer; margin-left: 8px; order: 20; }
.nav-toggle:hover { border-color: #2a4070; }

@media (max-width: 1120px) {
  .nav-toggle { display: inline-flex; }
  #navbar .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: .4rem 1rem 1rem; background: #03061a; border-bottom: 1px solid var(--bd2); max-height: calc(100vh - 56px); overflow-y: auto; box-shadow: 0 18px 30px rgba(0,0,0,.45); }
  #navbar .nav-links.open { display: flex; }
  .nav-links a { font-size: 15px; padding: 13px 4px; border-bottom: 1px solid var(--bd); }
  .nav-links a:last-child { border-bottom: 0; }
  #navbar .nav-search { margin-left: auto; }
}
@media (max-width: 700px) {
  #navbar .nav-links { display: none; }
  #navbar .nav-links.open { display: flex; }
  .nav-actions .btn-primary { display: none; }
  .nav-actions .btn-ghost .lbl { display: none; }
  .nav-actions .btn-ghost { padding: 6px 9px; }
}

.site-footer { background: #03061a; border-top: 1px solid var(--bd); margin-top: auto; padding: 2.4rem 1.5rem 1.2rem; font-size: 14px; }
.site-page .site-footer { margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; max-width: 1100px; margin: 0 auto; }
.foot-col h2 { font-size: 13px; font-weight: 600; margin-bottom: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.foot-col a { display: block; color: var(--t2); text-decoration: none; padding: 4px 0; font-size: 14px; }
.foot-col a:hover { color: var(--t1); text-decoration: underline; text-underline-offset: 3px; }
.foot-brand p { color: var(--t2); line-height: 1.6; margin: .8rem 0 1rem; max-width: 36ch; }
.foot-contact { list-style: none; padding: 0; margin: 0; }
.foot-contact li { display: flex; gap: 8px; align-items: baseline; padding: 3px 0; color: var(--t2); }
.foot-contact a { display: inline; padding: 0; }
.foot-bottom { max-width: 1100px; margin: 2rem auto 0; padding-top: 1rem; border-top: 1px solid var(--bd); display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: 12px; color: var(--t3); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; gap: 1.4rem; } .site-footer { padding: 2rem 1rem 1rem; } }

/* Startpagina: dienstkaarten en blokken met links naar de losse pagina's */
a.service-card { text-decoration: none; color: var(--t1); display: block; }
.home-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1rem; }
.home-links a { text-decoration: none; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--p); color: var(--t1); padding: 8px 14px; border-radius: 0 0 8px 0; z-index: 300; text-decoration: none; font-size: 14px; }
.skip-link:focus { left: 0; }

/* Beheer: contactberichten en website-checklist (Fase 5) */
.contact-item { background: var(--bg3); border: 1px solid var(--bd2); border-radius: 10px; padding: .9rem 1rem; margin-bottom: 10px; }
.contact-item.done { opacity: .75; }
.contact-head { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.contact-meta { font-size: 13px; margin: 4px 0 8px; }
.contact-meta a { color: var(--t1); }
.contact-text { white-space: pre-wrap; word-break: break-word; line-height: 1.55; font-size: 14px; margin-bottom: 10px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.contact-actions a { text-decoration: none; }
.contact-by { font-size: 12px; margin-top: 6px; }
.chip { display: inline-block; font-size: 11px; padding: 1px 8px; border: 1px solid var(--bd2); border-radius: 10px; }
.chip-new { background: var(--p); border-color: var(--p); }
.site-intro { font-size: 13px; margin-bottom: .7rem; }
.site-todo { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-todo li { display: flex; gap: 10px; align-items: flex-start; background: var(--bg3); border: 1px solid var(--bd); border-radius: 8px; padding: .6rem .8rem; font-size: 13px; }
.site-todo li > .pill { flex: none; white-space: nowrap; margin-top: 2px; }
.site-todo code { font-size: 12px; background: var(--bg1); padding: 1px 6px; border-radius: 4px; display: inline-block; margin-top: 3px; }
.site-level { font-size: 11px; padding: 1px 8px; border-radius: 10px; border: 1px solid var(--bd2); white-space: nowrap; margin-top: 2px; }
.site-level.nodig { background: var(--p); border-color: var(--p); }
.muted { color: var(--t3); }

/* ── Statistieken (beheer) ── */
.chart { display: flex; align-items: flex-end; gap: 2px; height: 140px; padding: .5rem; background: var(--bg2); border: 1px solid var(--bd); border-radius: 8px; }
.chart-col { flex: 1 1 0; min-width: 2px; height: 100%; display: flex; align-items: flex-end; }
.chart-bar { width: 100%; background: var(--pl); border-radius: 2px 2px 0 0; min-height: 0; }
.chart-col:hover .chart-bar { background: var(--green); }
.chart-axis { display: flex; justify-content: space-between; font-size: 11px; margin: 3px 2px 1rem; }
.stats-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; margin-top: 1rem; }
.stats-gap { margin-top: 1.25rem; }
.bar-list, .funnel { list-style: none; display: grid; gap: .6rem; }
.bar-label { display: flex; justify-content: space-between; gap: .75rem; font-size: 12px; margin-bottom: 3px; }
.bar-track { background: var(--bg2); border: 1px solid var(--bd); border-radius: 5px; height: 10px; overflow: hidden; }
.bar-fill { background: var(--pl); height: 100%; border-radius: 4px; }

/* Productfoto's: galerij in het productvenster */
.pm-img.pm-gallery { flex-direction: column; align-items: stretch; justify-content: flex-start; min-height: 0; min-width: 0; overflow: hidden; }
.pm-img.pm-gallery .pj-thumbs { min-width: 0; max-width: 100%; }
.pm-main { position: relative; flex: 1; min-height: 260px; overflow: hidden; }
.pm-main img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }
@media (max-width: 760px) { .pm-img.pm-gallery { max-height: none; } .pm-main { min-height: 220px; max-height: 260px; } }

/* Kortingscode in winkelwagen en afrekenen */
.discount-box { display: flex; align-items: center; gap: 8px; margin: .8rem 0 .2rem; }
.discount-box input { flex: 1; min-width: 0; padding: .55rem .7rem; background: #070a22; border: 1px solid var(--bd2); border-radius: 8px; color: #fff; font-size: 13px; text-transform: uppercase; }
.discount-box input::placeholder { text-transform: none; }
.discount-box.applied { background: rgba(61,200,124,.14); border: 1px solid rgba(61,200,124,.4); border-radius: 8px; padding: .5rem .7rem; color: #fff; font-size: 13px; }
.discount-box.applied span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.discount-msg { font-size: 12px; color: #fff; margin: .3rem 0 0; }
.discount-msg:empty { display: none; }
.discount-row span { color: #fff; }
.discount-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .03em; color: #fff; }
.discount-code-row { display: flex; gap: 8px; align-items: center; }
.discount-code-row input { flex: 1; min-width: 0; text-transform: uppercase; }

/* Overige voorraad: aantal direct in de rij aanpassen */
.stock-quick { display: flex; align-items: center; gap: 8px; }
.stock-qty { width: 88px; text-align: right; background: #0c1030; border: 1px solid var(--bd2); color: white; padding: 6px 10px; border-radius: 7px; font-size: 13px; outline: none; font-family: inherit; }
.stock-qty:focus { border-color: var(--p); }
.fs-hex { width: 64px; height: 38px; padding: 2px; background: #0c1030; border: 1px solid var(--bd2); border-radius: 7px; cursor: pointer; }
.cfg-color-name { font-size: 12px; color: #fff; align-self: center; }
@media (max-width: 760px) { .stock-row { flex-wrap: wrap; } .stock-quick { width: 100%; } }

.fil-unit { font-size: 13px; }

/* Zakelijke accounts */
.co-check[hidden] { display: none !important; }
.acc-biz-details { display: grid; gap: 2px; margin: .4rem 0 .8rem; font-size: 13px; color: #fff; }
.acc-biz-details span { display: inline-block; min-width: 108px; color: #fff; font-weight: 600; }
#biz-form { margin-top: .8rem; }

/* Zakelijke prijs met de adviesprijs er klein naast */
.advice-price { font-size: 11px; font-weight: 400; color: #fff; margin-left: 6px; white-space: nowrap; text-decoration: line-through; }
.shop-price .advice-price { display: block; margin: 2px 0 0; }
.vat-note { font-size: 11px; font-weight: 400; color: #fff; margin-left: 4px; white-space: nowrap; }
.price-row.subtotal-row { font-weight: 500; }
.file-btn { cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.field-hint { display: block; font-size: 11px; color: #fff; margin-top: 3px; }

@media (max-width: 480px) {
  .pf-grid { grid-template-columns: 1fr; }
  .pf-grid > div { min-width: 0; }
}

/* Extra accounts onder een zakelijk account */
.mem-row { border: 1px solid var(--bd); border-radius: 8px; padding: .75rem .9rem; margin-bottom: .7rem; background: rgba(255,255,255,.03); }
.mem-row.off { opacity: .7; }
.mem-head { display: flex; gap: .8rem; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; }
.mem-name { font-weight: 600; color: #fff; display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; }
.mem-mail { font-size: 12px; color: #fff; opacity: .85; overflow-wrap: anywhere; }
.mem-actions { display: flex; gap: .4rem; flex-wrap: wrap; }
.mem-perms { display: grid; gap: .35rem; margin: .6rem 0 .5rem; }
.mem-perm { display: flex; gap: .5rem; align-items: flex-start; font-size: 13px; color: #fff; cursor: pointer; }
.mem-perm input { margin-top: 3px; }
.mem-form { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--bd); }
.order-placed-by { font-size: 12px; color: #fff; margin-top: 4px; }
@media (max-width: 480px) { .mem-head { flex-direction: column; } }
.discount-note { display: block; margin-top: 2px; font-size: 12px; color: #fff; }
.acc-discount { display: flex; align-items: center; gap: 8px; margin: 0 0 1rem; padding: .6rem .8rem; background: rgba(61,200,124,.14); border: 1px solid rgba(61,200,124,.4); border-radius: 8px; color: #fff; font-size: 13px; }
.acc-discount i { color: #fff; }
.customer-discount { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: .6rem; color: #fff; font-size: 13px; }
.customer-discount input { width: 5.5rem; padding: .45rem .6rem; background: #070a22; border: 1px solid var(--bd2); border-radius: 8px; color: #fff; font-size: 13px; }
.offer-was { color: #fff; text-decoration: line-through; opacity: .8; margin-left: 6px; }
.shop-min { font-size: 12px; color: #fff; margin-top: .35rem; }
.min-order-note { font-size: 12px; color: #fff; margin-top: .65rem; }
.min-order-note i { margin-right: 4px; }
