/* Van Leusden Shine – mobielvriendelijk, zonder externe afhankelijkheden */
:root {
  --ink: #1a1a18; --ink-2: #3a3a36; --muted: #6e6d68; --line: #e6e4df; --bg: #f6f5f2; --card: #fff;
  --navy: #1a1a18; --navy-2: #2c2c29; --shine: #ef7c10; --shine-ink: #ffffff; --orange-dark: #c9640a;
  --ok: #1f7a4d; --ok-bg: #e6f4ec; --err: #b3261e; --err-bg: #fbe9e7; --info-bg: #f1f0ec; --warn-bg: #fdefe1;
  --r: 8px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.5 "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--ink); text-decoration-color: var(--shine); text-decoration-thickness: 2px; text-underline-offset: 3px; }
h1 { font-size: 1.6rem; line-height: 1.15; margin: .2rem 0 1rem; font-weight: 900; text-transform: uppercase; letter-spacing: -.005em; }
h2 { font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
h2 { font-size: 1.15rem; margin: 1.6rem 0 .7rem; }
h3 { font-size: 1rem; margin: 0 0 .4rem; }
small, .muted { color: var(--muted); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* header */
.top { background: #1a1a18; color: #fff; position: sticky; top: 0; z-index: 10; box-shadow: 0 1px 0 rgba(0,0,0,.15); }
.top .wrap { display: flex; align-items: center; gap: 12px; min-height: 58px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; letter-spacing: .01em; }
.brand .logo { height: 38px; width: auto; display: block; }
.brand .mark { width: 30px; height: 30px; border-radius: 8px; background: var(--shine); color: var(--navy); display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.brand span small { display: block; color: #b5b3ad; font-weight: 500; font-size: 12px; line-height: 1; }
.top .spacer { flex: 1; }
.pill { background: rgba(255,255,255,.1); color: #fff; border-radius: 999px; padding: 4px 12px; font-size: 14px; white-space: nowrap; text-decoration: none; }
.pill.gold { background: var(--shine); color: #fff; font-weight: 800; }
.top form button { background: none; border: 0; color: #cfcdc7; cursor: pointer; font: inherit; font-size: 14px; padding: 4px; }
.nav { background: #262624; border-bottom: 1px solid #000; }
.nav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav a { color: #d9d7d1; font-weight: 600; text-decoration: none; padding: 10px 12px; white-space: nowrap; font-size: 15px; border-bottom: 3px solid transparent; }
.nav a.on { color: #fff; border-bottom-color: var(--shine); }
main { padding: 20px 0 60px; }

/* flash */
.flash { border-radius: 10px; padding: 12px 14px; margin: 0 0 12px; background: var(--info-bg); }
.flash.success { background: var(--ok-bg); color: #134d31; }
.flash.error { background: var(--err-bg); color: #7a1912; }

/* cards & grids */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
h3 { font-weight: 800; }
.card + .card { margin-top: 12px; }
.grid { display: grid; gap: 12px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.stat b { display: block; font-size: 1.6rem; line-height: 1.1; font-weight: 900; }
.stat span { color: var(--muted); font-size: 14px; }
.stat.hero { background: #1a1a18; color: #fff; border: 0; position: relative; }
.stat.hero::before, .stat.hero::after { content: ''; position: absolute; width: 22px; height: 22px; border: 0 solid var(--shine); }
.stat.hero::before { top: -4px; left: -4px; border-top-width: 5px; border-left-width: 5px; }
.stat.hero::after { bottom: -4px; right: -4px; border-bottom-width: 5px; border-right-width: 5px; }
.stat.hero b { font-size: 2.2rem; color: var(--shine); font-weight: 900; }
.stat.hero span { color: #c9c7c1; }
.stat.warn { border-color: #f3b27a; background: var(--warn-bg); }

/* products */
.products { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); }
.prod { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.prod .img { background: linear-gradient(180deg, #f1f0ed, #e7e5e0); aspect-ratio: 1 / 1; display: grid; place-items: center; }
.prod .img svg { width: 82%; height: 82%; }
.prod .body { padding: 10px 12px 12px; }
.prod .name { font-weight: 600; line-height: 1.25; }
.prod .price { color: var(--shine); font-weight: 800; margin-top: 4px; }
.prod .print { font-size: 13px; color: var(--muted); }
.detail { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .detail { grid-template-columns: 1fr 1fr; } }
.detail .img { background: linear-gradient(180deg, #f1f0ed, #e5e3de); border-radius: var(--r); aspect-ratio: 1/1; display: grid; place-items: center; }
.detail .img svg { width: 78%; height: 78%; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatches label, .sizes label { cursor: pointer; }
.swatches input, .sizes input { position: absolute; opacity: 0; pointer-events: none; }
.swatches span { display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--line); border-radius: 999px; padding: 6px 12px 6px 6px; background: #fff; }
.swatches i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); display: inline-block; }
.swatches input:checked + span, .sizes input:checked + span { border-color: var(--shine); box-shadow: 0 0 0 1px var(--shine); }
.sizes input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.sizes span { display: inline-block; min-width: 52px; text-align: center; border: 2px solid var(--line); border-radius: 10px; padding: 8px 10px; background: #fff; font-weight: 600; }
.sizes .std span { border-style: dashed; border-color: var(--shine); }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 4px; background: #efeee9; color: var(--ink-2); white-space: nowrap; }
.tag.ok { background: var(--ok-bg); color: var(--ok); }
.tag.err { background: var(--err-bg); color: var(--err); }
.tag.warn { background: var(--warn-bg); color: #9a4b05; }
.tag.gold { background: var(--shine); color: #fff; }

/* forms */
label.f { display: block; font-weight: 600; font-size: 14px; margin: 12px 0 4px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], select, textarea {
  width: 100%; font: inherit; padding: 11px 12px; border: 1px solid #d3d1cb; border-radius: 6px; background: #fff; color: var(--ink);
}
textarea { min-height: 70px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--shine); outline-offset: 1px; border-color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; font-size: 15px; border: 0; border-radius: 6px; padding: 11px 16px; cursor: pointer;
  background: var(--navy); color: #fff; text-decoration: none; min-height: 44px; }
.btn.gold { background: var(--shine); color: #fff; }
.btn.gold:hover { background: var(--orange-dark); }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: #fff; color: var(--ink); border: 2px solid var(--ink); }
.btn.danger { background: #fff; color: var(--err); border: 2px solid #efb8b3; }
.btn.sm { padding: 6px 10px; min-height: 34px; font-size: 12.5px; }
.btn.block { width: 100%; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.row > * { flex: 0 0 auto; }
.inline { display: inline; }
.choice { display: block; border: 2px solid var(--line); border-radius: 6px; padding: 12px; margin: 8px 0; cursor: pointer; background: #fff; }
.choice:has(input:checked) { border-color: var(--shine); box-shadow: inset 4px 0 0 var(--shine); }
.choice input { margin-right: 8px; }

/* tables */
.tw { overflow-x: auto; -webkit-overflow-scrolling: touch; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: .03em; background: #faf9f7; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; white-space: nowrap; }
tfoot td { font-weight: 800; background: #faf9f7; }

/* lists */
.list { list-style: none; margin: 0; padding: 0; }
.list li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; }
.list li:last-child { border-bottom: 0; }
.bar { height: 8px; border-radius: 4px; background: var(--shine); }
.steps { display: flex; gap: 4px; margin: 10px 0 4px; }
.steps div { flex: 1; height: 6px; border-radius: 1px; background: #e3e1dc; }
.steps div.on { background: var(--shine); }
details summary { cursor: pointer; font-weight: 700; color: var(--ink); }
details[open] summary { margin-bottom: 8px; }

/* login */
.login { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: #1a1a18; }
.login .card { width: 100%; max-width: 400px; padding: 26px; }
.login .brand { margin-bottom: 22px; }
.login .brand .logo { height: 58px; }
.login .brand span small { color: var(--muted); }
.demo { font-size: 13px; background: #f4f3ef; border-radius: 10px; padding: 10px 12px; margin-top: 16px; }
.demo code { font-size: 12.5px; }

.brand span { white-space: nowrap; }
body { overflow-x: hidden; }
@media (max-width: 600px) {
  .top .wrap { gap: 8px; }
  .brand span small { display: none; }
  .brand span { font-size: 15px; }
  .brand .logo { height: 32px; }
  .pill { padding: 4px 10px; font-size: 13px; }
  .top form button { font-size: 13px; }
  h1 { font-size: 1.35rem; }
  .hide-sm { display: none; }
  th, td { padding: 9px 10px; }
}
/* overflow-fixes */
.row > * { flex: 0 1 auto; max-width: 100%; }
.btn { max-width: 100%; text-align: center; }
.tw table { min-width: 620px; }
td a { word-break: normal; white-space: nowrap; }
