/* Cellarino: huisstijl 4 oktober 2026. Wijnrood op gebroken wit, Outfit, rond, geen schaduwen. */
:root {
  --wine: #6E1F35;
  --wine-strong: #561629;
  --on-wine: #F4F2F0;
  --paper: #F4F2F0;
  --surface: #FBFAF9;
  --line: #DCCFD2;
  --ink: #2B1219;
  --ink-muted: #6E5A60;
  --wine-soft: #F1E4E8;
  --ready-bg: #E3EFE8; --ready-fg: #24573F;
  --wait-bg: #F5EAD3; --wait-fg: #6E4F12;
  --past-bg: #F2E0DC; --past-fg: #7A2E22;
  --fout: #7A2E22;
  --radius: 14px;
  --font: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --wine: #D98CA2; --wine-strong: #E8B1C0; --on-wine: #1C1114;
    --paper: #1C1114; --surface: #281A1F; --line: #47323A;
    --ink: #F4F2F0; --ink-muted: #B8A6AC; --wine-soft: #3A2129;
    --ready-bg: #1F3A2D; --ready-fg: #A9DCC2;
    --wait-bg: #3D2F14; --wait-fg: #EBC97F;
    --past-bg: #44201B; --past-fg: #F0B0A3;
    --fout: #F0B0A3;
  }
  :root:not([data-theme="light"]) body { background-image: radial-gradient(120% 60% at 50% -10%, color-mix(in srgb, var(--wine) 8%, transparent), transparent 70%), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96' fill='none' stroke='%23D98CA2' stroke-opacity='.028' stroke-width='1.5'><path d='M14 90V46a34 34 0 0 1 68 0v44'/></svg>"); background-size: auto, 128px 128px; }
}
:root[data-theme="dark"] body { background-image: radial-gradient(120% 60% at 50% -10%, color-mix(in srgb, var(--wine) 8%, transparent), transparent 70%), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96' fill='none' stroke='%23D98CA2' stroke-opacity='.028' stroke-width='1.5'><path d='M14 90V46a34 34 0 0 1 68 0v44'/></svg>"); background-size: auto, 128px 128px; }
:root[data-theme="dark"] {
  --wine: #D98CA2; --wine-strong: #E8B1C0; --on-wine: #1C1114;
  --paper: #1C1114; --surface: #281A1F; --line: #47323A;
  --ink: #F4F2F0; --ink-muted: #B8A6AC; --wine-soft: #3A2129;
  --ready-bg: #1F3A2D; --ready-fg: #A9DCC2;
  --wait-bg: #3D2F14; --wait-fg: #EBC97F;
  --past-bg: #44201B; --past-fg: #F0B0A3;
  --fout: #F0B0A3;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
/* Achtergrond: zacht licht van boven plus een heel licht patroon van kelderbogen (de n uit het logo) */
body {
  background-color: var(--paper);
  background-image:
    radial-gradient(120% 60% at 50% -10%, color-mix(in srgb, var(--wine) 7%, transparent), transparent 65%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96' fill='none' stroke='%236E1F35' stroke-opacity='.02' stroke-width='1.5'><path d='M14 90V46a34 34 0 0 1 68 0v44'/></svg>");
  background-repeat: no-repeat, repeat;
  background-size: auto, 128px 128px;
  background-attachment: fixed, fixed;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
}
h1, h2, h3 { font-weight: 500; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: 40px; line-height: 46px; }
h2 { font-size: 28px; line-height: 34px; }
h3 { font-size: 20px; line-height: 26px; }
p { margin: 0; }
a { color: var(--wine); }
button { font: inherit; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
img { display: block; }
.verborgen { display: none !important; }
.stil { color: var(--ink-muted); }
.klein { font-size: 14px; line-height: 20px; }
.mini { font-size: 12px; line-height: 16px; }
.label-tekst { font-size: 12px; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; }
.rechts { text-align: right; }
.midden { text-align: center; }
.rij { display: flex; align-items: center; gap: 8px; }
.tussen { justify-content: space-between; }
.groei { flex: 1; min-width: 0; }
.ellips { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-t { margin-top: 16px; }
.m-t-g { margin-top: 32px; }
.m-b { margin-bottom: 16px; }

/* Laadscherm */
.laden { min-height: 100vh; display: grid; place-items: center; }
.glas { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--wine); animation: draai .9s linear infinite; }
@keyframes draai { to { transform: rotate(360deg); } }

/* Schil */
.app { min-height: 100vh; position: relative; }
.kop, .inhoud, .tabs, .intro > * { position: relative; z-index: 1; }
.intro { position: relative; }
.kop {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: calc(env(safe-area-inset-top) + 8px) 16px 8px;
  border-bottom: 1px solid var(--line);
}
.kop-binnen { max-width: 720px; margin: 0 auto; display: flex; align-items: center; gap: 12px; min-height: 40px; }
.kop-merk { width: 34px; height: 30px; color: var(--wine); flex: none; }
.kop-merk svg { width: 100%; height: 100%; display: block; }
.kop .titel { flex: 1; min-width: 0; }
.kop .titel h1 { font-size: 20px; line-height: 26px; }
.kop .sub { font-size: 12px; line-height: 16px; color: var(--ink-muted); letter-spacing: .06em; text-transform: uppercase; font-weight: 500; }
.knop-ico {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface);
  display: grid; place-items: center; cursor: pointer; color: var(--ink); flex: none;
}
.knop-ico svg { width: 20px; height: 20px; }
.knop-ico:active { background: var(--wine-soft); }
.inhoud { max-width: 720px; margin: 0 auto; padding: 16px 16px calc(96px + env(safe-area-inset-bottom)); }

/* Tabbalk */
.tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabs-binnen { max-width: 720px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 72px 1fr 1fr; align-items: end; height: 60px; }
.tab { background: none; border: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 6px; color: var(--ink-muted); font-size: 12px; line-height: 16px; cursor: pointer; height: 60px; justify-content: center; }
.tab svg { width: 24px; height: 24px; }
.tab.actief { color: var(--wine); font-weight: 500; }
.tab-plus { display: grid; place-items: center; height: 60px; }
.tab-plus button {
  width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer; margin-top: -24px;
  background: var(--wine); color: var(--on-wine); display: grid; place-items: center;
}
.tab-plus button svg { width: 26px; height: 26px; }
.tab-plus button:active { background: var(--wine-strong); }

/* Kaarten en knoppen */
.kaart { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.kaart + .kaart { margin-top: 12px; }
.kaart.strak { padding: 0; overflow: hidden; }
.knop {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); cursor: pointer; font-weight: 500; text-decoration: none; color: var(--ink);
}
.knop svg { width: 18px; height: 18px; }
.knop:active { background: var(--wine-soft); }
.knop.vol { width: 100%; }
.knop.primair { background: var(--wine); color: var(--on-wine); border-color: var(--wine); }
.knop.primair:active { background: var(--wine-strong); border-color: var(--wine-strong); }
.knop.goud, .knop.zacht { background: var(--wine-soft); border-color: transparent; color: var(--wine); }
.knop.gevaar { color: var(--fout); }
.knop.klein { min-height: 36px; padding: 0 14px; font-size: 14px; }
.knop[disabled] { opacity: .5; pointer-events: none; }
.tekstknop { background: none; border: 0; padding: 4px 0; color: var(--wine); font-weight: 500; cursor: pointer; font-size: 14px; }

/* Drinkvensterlabel */
.dv { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .02em; }
.dv::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.dv.ready { background: var(--ready-bg); color: var(--ready-fg); }
.dv.wait { background: var(--wait-bg); color: var(--wait-fg); }
.dv.past { background: var(--past-bg); color: var(--past-fg); }

/* Formulieren */
.veld { display: block; margin-bottom: 16px; }
.veld > span { display: block; font-size: 12px; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; color: var(--ink-muted); margin-bottom: 6px; }
.veld input, .veld select, .veld textarea {
  width: 100%; min-height: 48px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); outline: none;
}
.veld textarea { min-height: 96px; resize: vertical; border-radius: var(--radius); }
.veld input:focus, .veld select:focus, .veld textarea:focus { border-color: var(--wine); box-shadow: 0 0 0 3px color-mix(in srgb, var(--wine) 20%, transparent); }
.veld select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236E5A60' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.twee { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.drie { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.fout { color: var(--fout); font-size: 14px; line-height: 20px; margin-top: 8px; }
.melding { background: var(--wait-bg); color: var(--wait-fg); border-radius: var(--radius); padding: 12px 16px; font-size: 14px; line-height: 20px; }

/* Kleurkiezer */
.kleuren { display: flex; flex-wrap: wrap; gap: 8px; }
.kleur-opt { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 14px; }
.kleur-opt.actief { border-color: var(--wine); background: var(--wine-soft); color: var(--wine); font-weight: 500; }
.stip { width: 12px; height: 12px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.stip.rood { background: #7a2233; }
.stip.wit { background: #e9d78f; }
.stip.rose { background: #eaa3b1; }
.stip.mousserend { background: radial-gradient(circle at 35% 35%, #fff8 0 2px, transparent 3px), #d9c58a; }
.stip.zoet { background: #c6903f; }
.stip.versterkt { background: #6b3a1f; }
.stip.oranje { background: #dc8d3f; }

/* Aantal-stepper */
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); overflow: hidden; }
.stepper button { width: 48px; height: 48px; border: 0; background: none; cursor: pointer; color: var(--wine); display: grid; place-items: center; }
.stepper button:active { background: var(--wine-soft); }
.stepper button[disabled] { opacity: .35; }
.stepper button svg { width: 18px; height: 18px; }
.stepper span { min-width: 36px; text-align: center; font-weight: 500; font-size: 18px; font-variant-numeric: tabular-nums; }
.stepper.klein button { width: 40px; height: 40px; }
.stepper.klein span { min-width: 28px; font-size: 16px; }

/* Rijpingsbalk */
.rijping { margin-top: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; }
.rijping .balk { display: flex; height: 10px; border-radius: 999px; overflow: hidden; gap: 2px; background: var(--paper); }
.rijping .balk span { display: block; height: 100%; }
.rijping .ready, .rijping i.ready { background: var(--ready-fg); }
.rijping .wait, .rijping i.wait { background: var(--wait-fg); }
.rijping .past, .rijping i.past { background: var(--past-fg); }
.rijping .onbekend, .rijping i.onbekend { background: var(--line); }
.rijping .legenda { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 12px; line-height: 16px; color: var(--ink-muted); }
.rijping .legenda span { display: inline-flex; align-items: center; gap: 6px; }
.rijping .legenda i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.rijping .legenda b { color: var(--ink); font-weight: 500; }

/* Overzicht */
.held { background: var(--wine); color: var(--on-wine); border-radius: var(--radius); padding: 24px 20px; position: relative; overflow: hidden; }
.held::after {
  content: ''; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 128px; height: 115px; pointer-events: none;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 54.8 49'><g opacity='.16'><path d='M10.5 49 V22 A17.5 17.5 0 0 1 45.5 22 V49' fill='none' stroke='%23F4F2F0' stroke-width='9'/><path d='M26.6 19 H29.4 V25 C29.4 28 33.5 29 33.5 32.5 V48.2 Q33.5 49 32.7 49 H23.3 Q22.5 49 22.5 48.2 V32.5 C22.5 29 26.6 28 26.6 25 Z' fill='%23F4F2F0'/></g></svg>") center / contain no-repeat;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .held::after { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 54.8 49'><g opacity='.14'><path d='M10.5 49 V22 A17.5 17.5 0 0 1 45.5 22 V49' fill='none' stroke='%231C1114' stroke-width='9'/><path d='M26.6 19 H29.4 V25 C29.4 28 33.5 29 33.5 32.5 V48.2 Q33.5 49 32.7 49 H23.3 Q22.5 49 22.5 48.2 V32.5 C22.5 29 26.6 28 26.6 25 Z' fill='%231C1114'/></g></svg>"); } }
:root[data-theme="dark"] .held::after { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 54.8 49'><g opacity='.14'><path d='M10.5 49 V22 A17.5 17.5 0 0 1 45.5 22 V49' fill='none' stroke='%231C1114' stroke-width='9'/><path d='M26.6 19 H29.4 V25 C29.4 28 33.5 29 33.5 32.5 V48.2 Q33.5 49 32.7 49 H23.3 Q22.5 49 22.5 48.2 V32.5 C22.5 29 26.6 28 26.6 25 Z' fill='%231C1114'/></g></svg>"); }
.held > * { position: relative; }
.held .label { font-size: 12px; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; opacity: .85; }
.held .groot { font-size: 56px; line-height: 60px; font-weight: 500; margin-top: 4px; letter-spacing: -0.02em; }
.held .groot small { font-size: 20px; line-height: 26px; opacity: .8; margin-left: 8px; font-weight: 400; }
.held .stats { display: flex; gap: 24px; margin-top: 16px; flex-wrap: wrap; }
.held .stats b { display: block; font-size: 20px; line-height: 26px; font-weight: 500; }
.held .stats span { font-size: 12px; line-height: 16px; opacity: .8; }
.sectie-kop { display: flex; align-items: baseline; justify-content: space-between; margin: 24px 0 8px; }
.sectie-kop h2 { font-size: 20px; line-height: 26px; }
.kleur-rij { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.kleur-rij::-webkit-scrollbar { display: none; }
.kleur-tegel { flex: none; min-width: 96px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; cursor: pointer; }
.kleur-tegel b { display: block; font-size: 28px; line-height: 34px; font-weight: 500; margin-top: 8px; }
.kleur-tegel span { font-size: 12px; line-height: 16px; color: var(--ink-muted); }
.lijst { display: flex; flex-direction: column; }
.lijst-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); }
.lijst-item:first-child { border-top: 0; }
.lijst-item .getal { font-size: 20px; line-height: 26px; font-weight: 500; min-width: 32px; text-align: right; font-variant-numeric: tabular-nums; }
.lijst-item .ico { width: 36px; height: 36px; border-radius: 50%; background: var(--wine-soft); color: var(--wine); display: grid; place-items: center; flex: none; }
.lijst-item .ico svg { width: 18px; height: 18px; }

/* Voorraadlijst */
.zoek { position: relative; margin-bottom: 8px; }
.zoek input { width: 100%; min-height: 48px; padding: 10px 44px 10px 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); outline: none; }
.zoek input:focus { border-color: var(--wine); }
.zoek svg { position: absolute; left: 16px; top: 15px; width: 18px; height: 18px; color: var(--ink-muted); pointer-events: none; }
.zoek .wis { position: absolute; right: 8px; top: 7px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--paper); cursor: pointer; display: grid; place-items: center; }
.zoek .wis svg { position: static; width: 14px; height: 14px; color: var(--ink-muted); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 8px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; line-height: 20px; cursor: pointer; color: var(--ink); }
.chip svg { width: 14px; height: 14px; }
.chip.actief { background: var(--wine); color: var(--on-wine); border-color: var(--wine); font-weight: 500; }
.chip.actief .stip { box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--on-wine) 60%, transparent); }
.sorteer { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 12px; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.sorteer select { border: 0; background: none; color: var(--wine); font-weight: 500; padding: 4px 0; }
.wijn-kaart {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px;
  cursor: pointer; margin-bottom: 8px;
}
.wijn-kaart.leeg { opacity: .55; }
/* Beeldvlak met boogvormige bovenkant, zoals de n in het logo */
.foto-mini { width: 64px; height: 88px; border-radius: 32px 32px 6px 6px; background: var(--wine-soft); overflow: hidden; display: grid; place-items: center; color: var(--wine); position: relative; }
.foto-mini img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.foto-mini svg { width: 24px; height: 24px; }
.foto-mini .stip { position: absolute; left: 50%; transform: translateX(-50%); bottom: 6px; width: 10px; height: 10px; box-shadow: 0 0 0 2px var(--surface); }
/* Uitgesneden fles: rustig op het boogvlak, met ruimte rondom */
.foto-mini.met-fles img.fles, .foto-groot.met-fles img.fles { object-fit: contain; padding: 10px 8px 16px; }
.foto-groot.met-fles img.fles { padding: 20px 20px 24px; }
.foto-mini .silhouet, .foto-groot .silhouet { display: grid; place-items: center; width: 100%; height: 100%; opacity: .55; }
.foto-mini .silhouet svg { width: 22px; height: 44px; }
.foto-groot .silhouet svg { width: 54px; height: 108px; }
.silhouet.rood { color: #7a2233; } .silhouet.wit { color: #c9b26a; } .silhouet.rose { color: #d98a99; } .silhouet.mousserend { color: #b8a76a; } .silhouet.zoet { color: #b58338; } .silhouet.versterkt { color: #6b3a1f; } .silhouet.oranje { color: #c98238; }
.fotoknoppen { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 8px; }
.wijn-kaart .naam { font-size: 18px; line-height: 24px; font-weight: 500; }
.wijn-kaart .sub { color: var(--ink-muted); font-size: 14px; line-height: 20px; }
.wijn-kaart .plekken { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; align-items: center; }
.plek-badge { font-size: 12px; line-height: 16px; padding: 2px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-muted); }
.plek-badge b { color: var(--ink); font-weight: 500; }
.wijn-kaart .acties { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.wijn-kaart .totaal { font-size: 28px; line-height: 34px; font-weight: 500; font-variant-numeric: tabular-nums; }
.wijn-kaart .min { width: 40px; height: 32px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; display: grid; place-items: center; color: var(--wine); }
.wijn-kaart .min:active { background: var(--wine-soft); }
.wijn-kaart .min svg { width: 16px; height: 16px; }
.leeg-staat { text-align: center; padding: 48px 20px; color: var(--ink-muted); }
.leeg-staat svg { width: 40px; height: 40px; color: var(--wine); margin: 0 auto 12px; }
.leeg-staat h3 { color: var(--ink); margin-bottom: 4px; }

/* Wijndetail */
.foto-groot { width: 100%; aspect-ratio: 4 / 3; border-radius: 160px 160px var(--radius) var(--radius); background: var(--wine-soft); overflow: hidden; display: grid; place-items: center; color: var(--wine); position: relative; }
.foto-groot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.foto-groot svg { width: 44px; height: 44px; }

.detail-kop { margin-top: 20px; }
.detail-kop .producent { color: var(--ink-muted); font-size: 12px; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; }
.detail-kop h1 { font-size: 28px; line-height: 34px; margin-top: 2px; }
.detail-kop .sub { color: var(--ink-muted); margin-top: 6px; }
.eig { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin-top: 16px; }
.eig div span { display: block; font-size: 12px; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; color: var(--ink-muted); }
.eig div b { font-weight: 400; }
.plek-rij { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); }
.plek-rij:first-child { border-top: 0; }
.plek-rij .n { flex: 1; font-weight: 500; }
.mut { display: flex; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 14px; line-height: 20px; align-items: baseline; }
.mut:first-child { border-top: 0; }
.mut .d { font-weight: 500; font-size: 18px; min-width: 36px; font-variant-numeric: tabular-nums; }
.mut .d.plus { color: var(--ready-fg); }
.mut .d.min { color: var(--wine); }
.mut .wie { color: var(--ink-muted); font-size: 12px; line-height: 16px; }
.dag-kop { font-size: 12px; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; color: var(--ink-muted); margin: 20px 4px 8px; }

/* Toevoegen */
.scan-vak { border: 1px dashed var(--line); border-radius: var(--radius); padding: 32px 20px; text-align: center; background: var(--surface); }
.scan-vak .ring { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; background: var(--wine-soft); color: var(--wine); }
.scan-vak .ring svg { width: 30px; height: 30px; }
.scan-vak h2 { font-size: 24px; line-height: 30px; }
.scan-vak p { color: var(--ink-muted); margin: 8px 0 20px; font-size: 14px; line-height: 20px; }
.foto-voorbeeld { width: 100%; max-height: 260px; object-fit: contain; border-radius: var(--radius); background: var(--surface); }
.analyse { display: flex; align-items: center; gap: 12px; padding: 16px; }
.suggestie { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); margin-top: 8px; cursor: pointer; }
.suggestie .foto-mini { width: 44px; height: 60px; border-radius: 22px 22px 4px 4px; }
.suggestie svg { width: 18px; height: 18px; color: var(--ink-muted); }

/* Lagen (sheets) */
#laag:empty { display: none; }
.sluier { position: fixed; inset: 0; background: rgba(28, 17, 20, .45); z-index: 50; display: flex; align-items: flex-end; justify-content: center; animation: fade .18s ease; }
@keyframes fade { from { opacity: 0; } }
.sheet { width: 100%; max-width: 720px; background: var(--surface); border-radius: 24px 24px 0 0; padding: 8px 20px calc(24px + env(safe-area-inset-bottom)); animation: omhoog .22s ease; max-height: 88vh; overflow: auto; }
@keyframes omhoog { from { transform: translateY(40px); opacity: .6; } }
.sheet .greep { width: 40px; height: 4px; border-radius: 2px; background: var(--line); margin: 0 auto 16px; }
.sheet h2 { margin-bottom: 4px; font-size: 24px; line-height: 30px; }
.keuze { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 8px; border: 0; border-top: 1px solid var(--line); background: none; text-align: left; cursor: pointer; font-size: 16px; }
.keuze:first-of-type { border-top: 0; }
.keuze b { margin-left: auto; font-size: 18px; font-weight: 500; }
.keuze .ico { width: 36px; height: 36px; border-radius: 50%; background: var(--wine-soft); color: var(--wine); display: grid; place-items: center; }
.keuze .ico svg { width: 18px; height: 18px; }

/* Toast */
#toast { position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 60; pointer-events: none; max-width: calc(100% - 32px); }
.toast { background: var(--ink); color: var(--paper); padding: 10px 18px; border-radius: 999px; font-size: 14px; line-height: 20px; animation: fade .2s ease; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toast.fout { background: var(--past-fg); color: #fff; }

/* Inloggen */
.intro { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 32px 20px calc(32px + env(safe-area-inset-bottom)); max-width: 440px; margin: 0 auto; }
.intro .merk { text-align: center; margin-bottom: 32px; }
.intro .merk img { width: 220px; height: auto; margin: 0 auto 12px; }
.intro .merk p { color: var(--ink-muted); }
.tabje { display: flex; background: var(--paper); border-radius: 999px; padding: 4px; margin-bottom: 20px; border: 1px solid var(--line); }
.tabje button { flex: 1; border: 0; background: none; padding: 10px; border-radius: 999px; cursor: pointer; color: var(--ink-muted); font-weight: 500; }
.tabje button.actief { background: var(--wine); color: var(--on-wine); }

/* Instellingen */
.code { font-size: 28px; line-height: 34px; letter-spacing: .2em; font-weight: 500; color: var(--wine); font-variant-numeric: tabular-nums; }
.lid { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.lid:first-child { border-top: 0; }
.lid .acties { width: 100%; display: flex; gap: 8px; justify-content: flex-end; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--wine); color: var(--on-wine); display: grid; place-items: center; font-weight: 500; font-size: 16px; flex: none; }
.rol { font-size: 12px; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; color: var(--ink-muted); }
.menu-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border: 0; border-top: 1px solid var(--line); background: none; text-align: left; cursor: pointer; font-size: 16px; color: var(--ink); text-decoration: none; }
.menu-item:first-child { border-top: 0; }
.menu-item svg { width: 20px; height: 20px; color: var(--ink-muted); flex: none; }
.menu-item .pijl { margin-left: auto; color: var(--ink-muted); }
.volgorde-knoppen { display: flex; gap: 4px; }
.volgorde-knoppen button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; display: grid; place-items: center; }
.volgorde-knoppen button svg { width: 14px; height: 14px; }
.volgorde-knoppen button[disabled] { opacity: .3; }
.voet-merk { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 32px; color: var(--ink-muted); }
.voet-merk img { width: 120px; height: auto; opacity: .9; }

@media (min-width: 600px) {
  .kop .titel h1 { font-size: 24px; line-height: 30px; }
  .wijn-kaart { grid-template-columns: 76px 1fr auto; }
  .foto-mini { width: 76px; height: 104px; border-radius: 38px 38px 6px 6px; }
}
.logo-donker { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-licht { display: none; } :root:not([data-theme="light"]) .logo-donker { display: block; } }
:root[data-theme="dark"] .logo-licht { display: none; } :root[data-theme="dark"] .logo-donker { display: block; }
