* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--bg); font: 400 17px/1.5 var(--sans); }
header, main { max-width: 1160px; margin: auto; padding: 20px; }
header { display: flex; align-items: center; justify-content: space-between; }
strong { font-size: 26px; letter-spacing: -1.5px; }
a { color: inherit; }
section { border-radius: 24px; padding: clamp(22px, 6vw, 76px); }
h1 { font-size: clamp(38px, 6vw, 76px); line-height: 1.02; letter-spacing: -.06em; margin: 8px 0 26px; }
h2 { font-size: 32px; letter-spacing: -1.4px; }
h3 { margin-bottom: 8px; }
input { width: min(100%, 530px); font: inherit; border: 0; border-radius: 10px; padding: 18px; }
summary, button { cursor: pointer; }
button { font: inherit; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); margin: 4px; }
details { margin: 18px auto; max-width: 510px; text-align: center; }
details p { color: var(--navy); background: var(--sand); padding: 14px; border-radius: 8px; }
output { display: block; margin-top: 14px; }
.matches { max-width: 530px; margin-inline: auto; text-align: left; }
.matches a, .row { display: block; padding: 12px; background: var(--white); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.matches a:hover, .row:hover { background: var(--ice); }
.modellijst { position: relative; color: var(--ink); background: var(--bg); margin: 0; }
.modellijst h2 { margin-top: 0; padding-inline: 42px; }
.modellijst, #menu { text-align: center; }
#menu { background: var(--bg); }
#brands:not([hidden]), #options { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
#brands img { height: 36px; width: 70px; object-fit: contain; }
#options button { margin: 0; }
#groups { max-width: 900px; margin-inline: auto; }
#groups > a:first-child { display: block; margin-bottom: 12px; }
.tilegrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(120px, 42%), 1fr)); gap: 12px; margin-bottom: 20px; }
.tilegrid > .row, .tile { border: 0; border-radius: 14px; background: var(--white); min-height: 85px; display: grid; align-content: center; }
.tile { padding: 12px; }
.tile .row { border: 0; border-radius: 8px; }
.tile img, .tile small { display: block; height: 95px; width: 100%; object-fit: contain; margin-bottom: 8px; }
.tile small { align-content: center; color: var(--muted); }
.back { position: absolute; top: 18px; left: 18px; width: 44px; height: 44px; border-radius: 50%; background: var(--white); display: grid; place-items: center; text-decoration: none; font: 32px/1 var(--sans); }
.modellijst details { margin: 24px auto 0; padding: 14px; border-top: 1px solid var(--line); }
.modellijst details p { text-align: left; }
.modellijst #brand-title:empty { display: none; }
[hidden] { display: none !important; }
