/* Noor Textiel webshop. Wit, strak en commercieel. */

:root {
  --bg: #ffffff;
  --surface: #faf8f8;
  --text: #171717;
  --muted: #6c666a;
  --line: #e8e2e5;
  --accent: #e50071;
  --accent-dark: #c4005f;
  --dark: #171717;
  --ok: #0d7a4d;
  --warn: #a15c00;
  --err: #b3261e;
  --radius: 2px;
  --font-body: "Inter", system-ui, sans-serif;
  --font-head: "Inter Tight", "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.page { width: min(1240px, 100% - 48px); margin-inline: auto; }
.page--narrow { width: min(860px, 100% - 48px); }
.page--slim { width: min(440px, 100% - 48px); }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--dark); color: #fff; padding: 8px 16px; z-index: 99; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 650; letter-spacing: -0.015em; line-height: 1.12; }
h1 { font-size: clamp(30px, 4.6vw, 52px); }
h2 { font-size: clamp(24px, 3.2vw, 36px); }
h3 { font-size: 18px; }

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }

.lead { font-size: 16px; color: var(--muted); max-width: 54ch; }

/* ---------------------------------- knoppen ---------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  padding: 15px 28px;
  border-radius: var(--radius);
  transition: background 0.15s ease, transform 0.1s ease;
}
.button:active { transform: translateY(1px); }
.button--primary { background: var(--accent); color: #fff; }
.button--primary:hover { background: var(--accent-dark); }
.button--dark { background: var(--dark); color: #fff; }
.button--dark:hover { background: #000; }
.button--light { background: #fff; color: var(--dark); }
.button--light:hover { background: var(--surface); }
.button--large { padding: 18px 36px; font-size: 15px; }
.button--small { padding: 10px 18px; font-size: 13px; }
.button--full { width: 100%; }

.linkbutton {
  background: none;
  border: none;
  font: inherit;
  font-size: 13px;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}
.linkbutton:hover { color: var(--text); }
.linkbutton--center { display: block; text-align: center; margin-top: 14px; }
.linkbutton--light { color: #b9b2b6; }

/* ---------------------------------- header ---------------------------------- */

.siteheader { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.siteheader__bar { display: flex; align-items: center; gap: 36px; height: 72px; }

.brand { text-decoration: none; line-height: 1.1; }
.brand__word { display: block; font-family: var(--font-head); font-weight: 700; font-size: 24px; letter-spacing: 0.08em; }
.brand__sub { display: block; font-size: 9px; font-weight: 600; letter-spacing: 0.3em; color: var(--muted); }
.brand__word--light { color: #fff; }
.brand__sub--light { color: #8d868a; }

.mainnav { display: flex; gap: 26px; margin-inline: auto; }
.mainnav a { font-size: 14px; font-weight: 500; text-decoration: none; color: var(--muted); }
.mainnav a:hover, .mainnav a.is-active { color: var(--text); }

.siteheader__actions { display: flex; align-items: center; gap: 18px; }
.siteheader__account { font-size: 13px; color: var(--muted); text-decoration: none; }
.siteheader__account:hover { color: var(--text); }

.flash { padding: 13px 20px; font-size: 14px; margin-top: 16px; border-radius: var(--radius); }
.flash--success { background: #e9f6ef; color: var(--ok); }
.flash--error { background: #fbeae9; color: var(--err); }
.flash a { color: inherit; }

/* ----------------------------------- hero ----------------------------------- */

.hero { padding: 72px 0 80px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 72px; align-items: center; }
.hero__copy h1 { margin-bottom: 20px; max-width: 15ch; }
.hero__cta { display: flex; align-items: center; gap: 28px; margin-top: 34px; flex-wrap: wrap; }
.hero__price { display: flex; align-items: baseline; gap: 10px; }
.hero__price strong { font-family: var(--font-head); font-size: 32px; font-weight: 700; letter-spacing: -0.02em; }
.hero__price span { font-size: 11px; line-height: 1.45; color: var(--muted); }
.hero__trust { list-style: none; display: flex; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.hero__trust li { font-size: 12px; color: var(--muted); padding-left: 18px; position: relative; }
.hero__trust li::before { content: ""; position: absolute; left: 0; top: 5px; width: 9px; height: 9px; background: var(--accent); }
.hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------------------------------- usp balk --------------------------------- */

.uspbar { background: var(--dark); color: #fff; padding: 22px 0; }
.uspbar__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.uspbar__row div { display: grid; gap: 2px; }
.uspbar__row strong { font-family: var(--font-head); font-size: 14px; }
.uspbar__row span { font-size: 12px; color: #b9b2b6; }

/* --------------------------------- secties ---------------------------------- */

.section { padding: 88px 0; }
.section--tint { background: var(--surface); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head h1, .section-head h2 { max-width: 22ch; }

/* --------------------------------- modellen --------------------------------- */

.modelgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.modelcard { text-decoration: none; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color 0.15s ease; }
.modelcard:hover { border-color: var(--text); }
.modelcard figure { aspect-ratio: 4 / 5; overflow: hidden; }
.modelcard img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.modelcard:hover img { transform: scale(1.03); }
.modelcard__body { padding: 20px; display: grid; gap: 7px; }
.modelcard__code { font-size: 10px; font-weight: 600; letter-spacing: 0.18em; color: var(--muted); }
.modelcard__body p { font-size: 13px; color: var(--muted); }
.modelcard__link { font-size: 13px; font-weight: 600; color: var(--accent); margin-top: 6px; }
.modelcard:hover .modelcard__link { text-decoration: underline; }

/* ---------------------------------- stoffen --------------------------------- */

.swatchstrip { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; }
.swatchstrip__item { text-decoration: none; display: grid; gap: 6px; }
.swatchstrip__color { display: block; aspect-ratio: 1; border-radius: var(--radius); transition: transform 0.15s ease; }
.swatchstrip__item:hover .swatchstrip__color { transform: translateY(-3px); }
.swatchstrip__item small { font-size: 10px; letter-spacing: 0.1em; color: var(--muted); }
.swatchstrip__item strong { font-size: 13px; font-weight: 600; }

/* --------------------------------- werkwijze -------------------------------- */

.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: stap; }
.steps li { counter-increment: stap; border-top: 2px solid var(--text); padding-top: 18px; }
.steps li::before { content: "0" counter(stap); font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--accent); display: block; margin-bottom: 8px; }
.steps strong { font-family: var(--font-head); font-size: 16px; display: block; margin-bottom: 6px; }
.steps p { font-size: 13px; color: var(--muted); }

/* -------------------------------- rekenvoorbeeld ----------------------------- */

.rekenblok { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.rekenblok__card { background: #fff; border: 1px solid var(--line); padding: 32px; }
.rekenblok__row { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.rekenblok__total { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 20px; font-size: 13px; color: var(--muted); }

/* ------------------------------------ faq ----------------------------------- */

.faq details { border-bottom: 1px solid var(--line); }
.faq summary { font-family: var(--font-head); font-weight: 600; font-size: 16px; padding: 20px 0; cursor: pointer; list-style: none; position: relative; padding-right: 40px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 22px; color: var(--muted); max-width: 70ch; }

/* --------------------------------- cta band --------------------------------- */

.ctaband { background: var(--accent); color: #fff; padding: 64px 0; }
.ctaband__row { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.ctaband p { opacity: 0.85; margin-top: 6px; }

/* ---------------------------------- footer ---------------------------------- */

.sitefooter { background: var(--dark); color: #fff; padding: 64px 0 28px; margin-top: 0; }
.sitefooter h3 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; }
.sitefooter__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid #332e31; }
.sitefooter__grid p { font-size: 14px; }
.sitefooter__muted { color: #b9b2b6; font-size: 13px; margin-top: 8px; }
.sitefooter a { color: inherit; text-decoration: none; }
.sitefooter a:hover { text-decoration: underline; }
.sitefooter__base { display: flex; justify-content: space-between; padding-top: 24px; font-size: 12px; color: #8d868a; }

/* -------------------------------- configurator ------------------------------- */

.configurator .section-head { margin-bottom: 36px; }
.configurator__layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

.preview { position: sticky; top: 96px; }
.preview__frame { background: var(--surface); }
.preview__canvas { width: 100%; height: auto; display: block; }
.preview__bar { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding: 12px 2px 0; }
.preview__caption { display: flex; justify-content: space-between; gap: 20px; padding: 10px 2px 0; }
.preview__caption small { display: block; font-size: 11px; color: var(--muted); }
.preview__caption strong { font-family: var(--font-head); font-size: 16px; }
.preview__caption-right { text-align: right; }

.config-step { margin-bottom: 36px; }
.config-step__heading { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; }
.config-step__heading small { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; color: var(--accent); }
.config-step__heading h2 { font-size: 19px; }

.option-list { display: grid; gap: 10px; }
.option {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 14px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  padding: 14px 18px;
  font: inherit;
  cursor: pointer;
  border-radius: var(--radius);
  transition: border-color 0.15s ease;
}
.option:hover { border-color: var(--muted); }
.option[aria-pressed="true"] { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.option__code { font-size: 10px; font-weight: 600; letter-spacing: 0.16em; color: var(--muted); }
.option__name { font-family: var(--font-head); font-weight: 600; font-size: 15px; }
.option__name small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 12px; color: var(--muted); margin-top: 2px; }
.option__status { font-size: 12px; font-weight: 600; color: var(--muted); }
.option[aria-pressed="true"] .option__status { color: var(--accent); }

.config-swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.config-swatch {
  display: grid;
  gap: 5px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px;
  font: inherit;
  text-align: left;
  cursor: pointer;
  border-radius: var(--radius);
  transition: border-color 0.15s ease;
}
.config-swatch:hover { border-color: var(--muted); }
.config-swatch[aria-pressed="true"] { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.config-swatch__color { display: block; height: 44px; border-radius: var(--radius); }
.config-swatch small { font-size: 9px; letter-spacing: 0.1em; color: var(--muted); }
.config-swatch strong { font-size: 12px; font-weight: 600; }

.config-note { font-size: 12px; color: var(--muted); margin-top: 12px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: 0.02em; }
.field input, .field textarea, .statusform select {
  font: inherit;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  width: 100%;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--text); outline-offset: -1px; }
.field input[type="color"] { padding: 4px; height: 48px; cursor: pointer; }

.shorten { display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: center; border: 1px solid var(--line); padding: 16px 18px; cursor: pointer; border-radius: var(--radius); }
.shorten:hover { border-color: var(--muted); }
.shorten input { width: 18px; height: 18px; accent-color: var(--accent); }
.shorten small { display: block; color: var(--muted); font-size: 12px; }

.summary { background: var(--surface); padding: 26px; margin-top: 8px; }
.summary__row { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; padding: 7px 0; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-top: 1px solid var(--line); margin-top: 12px; padding: 16px 0 18px; }
.summary__total span { font-size: 12px; color: var(--muted); }
.summary__total strong { font-family: var(--font-head); font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }

.micro-trust { display: flex; gap: 18px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.micro-trust span { font-size: 11px; color: var(--muted); padding-left: 14px; position: relative; }
.micro-trust span::before { content: ""; position: absolute; left: 0; top: 5px; width: 7px; height: 7px; background: var(--ok); border-radius: 50%; }

.stickybar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 12px 20px;
  display: none;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  z-index: 60;
}
.stickybar small { display: block; font-size: 11px; color: var(--muted); }
.stickybar strong { font-family: var(--font-head); font-size: 20px; }
.stickybar.is-visible { display: flex; }
@media (min-width: 981px) { .stickybar.is-visible { display: none; } }

/* --------------------------------- winkelmand -------------------------------- */

.empty { text-align: center; padding: 56px 0; display: grid; gap: 18px; justify-items: center; color: var(--muted); }

.cartlist { display: grid; gap: 14px; margin-bottom: 28px; }
.cartitem { display: grid; grid-template-columns: 64px 1fr auto; gap: 20px; border: 1px solid var(--line); padding: 22px; align-items: start; }
.cartitem__swatch { width: 64px; height: 80px; border-radius: var(--radius); }
.cartitem h2 { font-size: 17px; margin-bottom: 6px; }
.cartitem__meta { font-size: 13px; color: var(--muted); }
.cartitem__side { text-align: right; display: grid; gap: 10px; justify-items: end; }
.cartitem__side strong { font-family: var(--font-head); font-size: 18px; }

.carttotal { background: var(--surface); padding: 26px; display: grid; gap: 14px; }
.carttotal__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.carttotal__row span { font-size: 13px; color: var(--muted); }
.carttotal__row strong { font-family: var(--font-head); font-size: 26px; font-weight: 700; }

/* ---------------------------------- afrekenen -------------------------------- */

.checkout { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 56px; align-items: start; }
.formtitle { font-size: 16px; margin: 30px 0 16px; }
.formtitle:first-of-type { margin-top: 0; }
.checkout form .field { margin-bottom: 0; }
.checkout .form-grid { margin-bottom: 8px; }
.checkout .field--wide { margin-bottom: 8px; }
.checkout .button--full { margin-top: 24px; }

.choicegrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.choice { display: flex; gap: 12px; border: 1px solid var(--line); padding: 16px; cursor: pointer; border-radius: var(--radius); align-items: flex-start; }
.choice:hover { border-color: var(--muted); }
.choice:has(input:checked) { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.choice input { margin-top: 3px; accent-color: var(--accent); }
.choice small { display: block; color: var(--muted); font-size: 12px; }

.accountoffer { border: 1px solid var(--line); border-radius: var(--radius); padding: 0 16px; margin-top: 16px; }
.accountoffer summary { font-size: 13px; font-weight: 600; padding: 14px 0; cursor: pointer; }
.accountoffer .field { margin-bottom: 16px; }

.checkout__summary { background: var(--surface); padding: 26px; position: sticky; top: 96px; }
.summaryline { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.summaryline small { display: block; color: var(--muted); font-size: 12px; }
.summaryline__swatch { width: 34px; height: 44px; border-radius: var(--radius); }
.checkout__summary .carttotal__row { padding-top: 16px; }

/* ------------------------------- status pagina ------------------------------- */

.statushero { padding: 40px 0 32px; }
.statushero h1 { margin-bottom: 14px; }
.statushero--paid .eyebrow { color: var(--ok); }
.statushero--failed .eyebrow { color: var(--err); }
.ordercard { border: 1px solid var(--line); padding: 26px; margin-top: 10px; }
.statusactions { display: grid; gap: 16px; justify-items: start; margin-top: 28px; }

/* ---------------------------------- account ---------------------------------- */

.authform { display: grid; gap: 16px; }
.accountgrid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 56px; align-items: start; }
.ordertable { display: grid; gap: 10px; }
.orderrow { display: grid; grid-template-columns: 1fr auto auto; gap: 20px; align-items: center; border: 1px solid var(--line); padding: 16px 20px; text-decoration: none; transition: border-color 0.15s ease; }
.orderrow:hover { border-color: var(--text); }
.orderrow small { display: block; color: var(--muted); font-size: 12px; }

.status { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; padding: 4px 10px; border-radius: 20px; background: var(--surface); color: var(--muted); white-space: nowrap; }
.status--nieuw { background: #fdf1e4; color: var(--warn); }
.status--betaald, .status--gereed { background: #e9f6ef; color: var(--ok); }
.status--in-productie { background: #e8f0fb; color: #1d4f91; }
.status--geleverd { background: var(--surface); color: var(--muted); }
.status--geannuleerd { background: #fbeae9; color: var(--err); }

.pay { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; white-space: nowrap; }
.pay--paid { color: var(--ok); }
.pay--open, .pay--pending { color: var(--warn); }
.pay--failed, .pay--canceled, .pay--expired { color: var(--err); }

/* ----------------------------------- beheer ---------------------------------- */

.adminbody { background: #f4f1f3; }
.admin { display: grid; grid-template-columns: 230px 1fr; min-height: 100vh; }
.admin__nav { background: var(--dark); color: #fff; padding: 28px 22px; display: flex; flex-direction: column; gap: 32px; position: sticky; top: 0; height: 100vh; }
.admin__nav nav { display: grid; gap: 2px; }
.admin__nav nav a { color: #b9b2b6; text-decoration: none; font-size: 14px; padding: 9px 12px; border-radius: var(--radius); }
.admin__nav nav a:hover { color: #fff; }
.admin__nav nav a.is-active { background: #2c272a; color: #fff; }
.admin__navfoot { margin-top: auto; display: grid; gap: 10px; font-size: 13px; }
.admin__navfoot a { color: #b9b2b6; text-decoration: none; }
.admin__navfoot a:hover { color: #fff; }

.admin__main { padding: 36px 40px 64px; }
.admin__head { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 26px; flex-wrap: wrap; }
.admin__head h1 { font-size: 26px; }
.admin__headtags { display: flex; gap: 10px; align-items: center; }

.statgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 26px; }
.stat { background: #fff; border: 1px solid var(--line); padding: 22px; display: grid; gap: 4px; }
.stat small { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.stat strong { font-family: var(--font-head); font-size: 28px; font-weight: 700; }
.stat span { font-size: 12px; color: var(--muted); }

.adminpanel { background: #fff; border: 1px solid var(--line); padding: 26px; margin-bottom: 22px; }
.adminpanel__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.adminpanel h2 { font-size: 16px; margin-bottom: 14px; }
.adminpanel__head h2 { margin-bottom: 0; }
.adminpanel__head a { font-size: 13px; }

.admincols { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 22px; align-items: start; }
.admincols > .adminpanel { margin-bottom: 0; }
.adminside { display: grid; gap: 22px; }
.adminside .adminpanel { margin-bottom: 0; }

.admintable { width: 100%; border-collapse: collapse; font-size: 14px; }
.admintable th { text-align: left; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); }
.admintable td { padding: 13px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admintable tbody tr[onclick] { cursor: pointer; }
.admintable tbody tr[onclick]:hover { background: var(--surface); }
.admintable .num { text-align: right; }
.admintable small { color: var(--muted); }
.totalrow td { border-bottom: none; padding-top: 18px; }

.timeline { list-style: none; display: grid; gap: 12px; margin-top: 4px; }
.timeline li { display: grid; gap: 2px; border-left: 2px solid var(--line); padding-left: 14px; }
.timeline small { color: var(--muted); font-size: 11px; letter-spacing: 0.04em; }
.timeline span { font-size: 13px; }

.statusform { display: grid; grid-template-columns: 1fr auto; gap: 10px; }

.filterrow { display: flex; gap: 6px; flex-wrap: wrap; }
.filterrow a { font-size: 13px; text-decoration: none; color: var(--muted); padding: 7px 14px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.filterrow a:hover { color: var(--text); }
.filterrow a.is-active { background: var(--dark); border-color: var(--dark); color: #fff; }

.searchform { display: flex; gap: 10px; }
.searchform input { font: inherit; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); min-width: 260px; }

.editcard { border: 1px solid var(--line); padding: 18px; display: grid; gap: 12px; margin-bottom: 16px; }
.editcard__media img { width: 120px; aspect-ratio: 4 / 5; object-fit: cover; }
.checkline { font-size: 13px; display: flex; gap: 8px; align-items: center; }
.checkline input { accent-color: var(--accent); }

.fabricrow { display: grid; grid-template-columns: 52px 80px 1fr auto auto auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.fabricrow input[type="color"] { width: 44px; height: 36px; border: 1px solid var(--line); border-radius: var(--radius); padding: 2px; background: #fff; cursor: pointer; }
.fabricrow input[type="text"] { font: inherit; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.fabricrow__code { font-size: 12px; letter-spacing: 0.08em; }

.minichip { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: middle; margin-left: 6px; }

.adminbody--login { display: grid; place-items: center; min-height: 100vh; }
.adminlogin { background: #fff; border: 1px solid var(--line); padding: 44px; width: min(400px, 100% - 48px); display: grid; gap: 18px; text-align: center; }
.adminlogin .authform { text-align: left; margin-top: 10px; }

/* --------------------------------- responsief -------------------------------- */

@media (max-width: 980px) {
  .hero { padding: 40px 0 56px; }
  .hero__grid, .configurator__layout, .checkout, .accountgrid, .rekenblok, .admincols { grid-template-columns: 1fr; gap: 36px; }
  .preview { position: static; }
  .checkout__summary { position: static; }
  .modelgrid { grid-template-columns: repeat(2, 1fr); }
  .swatchstrip { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .uspbar__row { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .sitefooter__grid { grid-template-columns: 1fr 1fr; }
  .statgrid { grid-template-columns: repeat(2, 1fr); }
  .mainnav { display: none; }
  .admin { grid-template-columns: 1fr; }
  .admin__nav { position: static; height: auto; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 16px; }
  .admin__nav nav { display: flex; flex-wrap: wrap; }
  .admin__navfoot { margin: 0; display: flex; gap: 14px; }
  .admin__main { padding: 24px 20px 48px; }
}

@media (max-width: 560px) {
  .page { width: calc(100% - 32px); }
  .modelgrid, .config-swatches { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .form-grid, .choicegrid { grid-template-columns: 1fr; }
  .cartitem { grid-template-columns: 48px 1fr; }
  .cartitem__side { grid-column: 1 / -1; justify-items: start; text-align: left; }
  .siteheader__account { display: none; }
  .fabricrow { grid-template-columns: 44px 1fr; }
}

/* Beheer / websiteteksten */
.savebar { position: sticky; bottom: 0; margin-top: 18px; padding: 14px 0; background: linear-gradient(to top, var(--bg, #fff) 70%, transparent); display: flex; justify-content: flex-end; }
.admin__head .config-note { max-width: 560px; margin-top: 6px; }
.field textarea { resize: vertical; min-height: 44px; }

/* Fotoblok van de zaak */
.gallerygrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallerycard { margin: 0; }
.gallerycard img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); display: block; background: #f3f0ea; }
.gallerycard figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); line-height: 1.45; }
@media (max-width: 980px) { .gallerygrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallerygrid { gap: 14px; } .gallerycard figcaption { font-size: 13px; } }

/* Miniatuur van het gordijn in de gekozen stofkleur */
.thumbtint { position: relative; width: 72px; height: 90px; border-radius: 8px; overflow: hidden; flex: none; background: #f3f0ea; }
.thumbtint img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumbtint::after { content: ""; position: absolute; inset: 0; background: var(--tint, transparent); mix-blend-mode: multiply; }
.thumbtint--small { width: 52px; height: 64px; border-radius: 6px; }

/* Geupload logo in plaats van het woordmerk */
.brand__logo { display: block; max-height: 54px; max-width: 240px; width: auto; }
.brand__logo--footer { max-height: 36px; margin-bottom: 4px; }

/* Promobalk gratis meetservice */
.promobar { background: var(--accent); color: #fff; font-size: 14px; }
.promobar__row { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 9px 16px; flex-wrap: wrap; text-align: center; }
.promobar a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.promobar a:hover { text-decoration: none; }

/* Meetservice band op de homepagina */
.meetband { background: var(--accent); color: #fff; padding: 56px 0; }
.meetband h2 { color: #fff; font-size: clamp(26px, 4vw, 38px); margin: 6px 0 12px; }
.meetband p { max-width: 640px; opacity: 0.94; }
.eyebrow--light { color: #fff; opacity: 0.85; }
.meetband__points { list-style: none; padding: 0; margin: 18px 0 24px; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.meetband__points li { position: relative; padding-left: 22px; font-weight: 500; }
.meetband__points li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; background: #fff; border-radius: 50%; }
.meetband__cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.meetband__phone { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Stofsoortkaarten */
.catgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.catcard { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none; transition: box-shadow 0.15s ease, transform 0.15s ease; }
.catcard:hover { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); transform: translateY(-2px); }
.catcard figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #f3f0ea; }
.catcard img { width: 100%; height: 100%; object-fit: cover; display: block; }
.catcard__body { padding: 16px 18px 18px; }
.catcard__body h3 { margin: 0 0 6px; font-size: 18px; }
.catcard__body p { margin: 0 0 12px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.catcard__link { font-size: 14px; font-weight: 600; color: var(--accent); }
@media (max-width: 980px) { .catgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .catgrid { grid-template-columns: 1fr; } }

/* Stofsoort tabs in de configurator */
.cattabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.cattab { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 16px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.cattab[aria-selected="true"] { background: var(--ink, #171717); color: #fff; border-color: var(--ink, #171717); }
.catpanel { margin-bottom: 4px; }
.config-swatch__color { background-size: cover; background-position: center; }

/* Specificaties onder het voorbeeld */
.specbox { margin-top: 12px; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; background: #fff; }
.specbox__row { display: flex; gap: 12px; align-items: center; }
.specbox img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; flex: none; }
.specbox small { display: block; color: var(--muted); }
.specbox strong { display: block; margin: 2px 0; }
.specbox span { font-size: 13px; color: var(--muted); line-height: 1.45; }

/* Dienstpagina's inkorten en meetservice */
.servicegrid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 26px; align-items: start; }
.servicecard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.servicecard--muted { background: #faf8f4; }
.servicecard h2 { margin-top: 0; font-size: 20px; }
.steps--compact { padding-left: 0; }
.steps--compact li { margin-bottom: 14px; }
.servicecard select, .servicecard textarea { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; }
@media (max-width: 980px) { .servicegrid { grid-template-columns: 1fr; } }

/* Beheer stoffen en afspraken */
.adminpanel--block { margin-bottom: 22px; }
.catform { border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 14px; }
.catform__head { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; margin-bottom: 8px; }
.catform__head .field { flex: 1; min-width: 200px; margin: 0; }
.catform__thumb { width: 54px; height: 54px; object-fit: cover; border-radius: 8px; }
.fabricrow__photo { width: 40px; height: 40px; object-fit: cover; border-radius: 6px; flex: none; }
.fabricrow input[type="file"] { max-width: 180px; font-size: 12px; }
.stat--accent { outline: 2px solid var(--accent); }
.adminline { border: none; border-top: 1px solid var(--line); margin: 16px 0; }
.thumbtint--service::after { display: none; }

/* Verborgen elementen winnen altijd van display regels */
[hidden] { display: none !important; }

/* Logo op de donkere voettekst op een wit vlak */
.brand__logo--footer { background: #fff; padding: 8px 12px; border-radius: 10px; max-height: 52px; box-sizing: border-box; }
