/* =========================================================================
   Lovely Trading
   1  basis en variabelen      5  markten en agenda
   2  koptekst en menu         6  formulieren
   3  knoppen en blokken       7  fotoboek
   4  startpagina              8  voet en beheer
   ========================================================================= */

/* -- 1  basis en variabelen ---------------------------------------------- */

:root {
  --navy: #1b2a5c;
  --navy-dark: #121c3f;
  --navy-soft: #2e3f78;
  --navy-mist: #eef1f8;
  --orange: #ef8b1f;
  --orange-dark: #cf7212;
  --orange-mist: #fdf1e0;
  --ink: #171a2b;
  --muted: #5c6479;
  --line: #e1e5ef;
  --sand: #faf8f4;
  --green: #2f7d52;
  --green-mist: #e6f4ec;
  --red: #b3341f;
  --red-mist: #fbeae6;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(20, 28, 60, .06), 0 8px 24px rgba(20, 28, 60, .07);
  --shadow-lg: 0 20px 50px rgba(20, 28, 60, .16);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  margin: 0 0 .6rem;
  line-height: 1.2;
  letter-spacing: -.015em;
  color: var(--navy);
  font-weight: 700;
}

h1 { font-size: clamp(1.85rem, 5.2vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3.4vw, 2.05rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy-soft); }
a:hover { color: var(--orange-dark); }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.15rem;
}

.wrap-narrow { max-width: 800px; }

.section { padding: 3rem 0; }
.section-tight { padding: 1.6rem 0 3rem; }
.section-sand { background: var(--sand); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 62ch;
}
.section-navy .lead { color: rgba(255, 255, 255, .82); }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .5rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skiplink {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: .7rem 1.1rem;
  z-index: 200;
}
.skiplink:focus { left: .6rem; top: .6rem; color: #fff; }

.stack > * + * { margin-top: .9rem; }

/* -- 2  koptekst en menu -------------------------------------------------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.site-head-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  grid-template-areas: "brand contact toggle" "nav nav nav";
  align-items: center;
  gap: .5rem .6rem;
  padding-top: .6rem;
  padding-bottom: .6rem;
}

.brand { grid-area: brand; display: block; line-height: 0; }
.brand img { width: auto; height: 42px; }

/* Op de telefoon alleen een belknop, op een breed scherm de hele nummers. */
.head-contact { grid-area: contact; display: flex; align-items: center; }
.head-contact .head-phone + .head-phone { display: none; }

.head-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .95rem;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}
.head-phone span { display: none; }
.head-phone:hover { color: var(--orange-dark); }
.head-phone svg { color: var(--orange); flex: none; }

.nav-toggle {
  grid-area: toggle;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--navy);
  color: #fff;
  border: 0;
  border-radius: var(--radius-sm);
  padding: .6rem .9rem;
  font: inherit;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
}

.nav-toggle-bars { display: inline-block; width: 17px; }
.nav-toggle-bars span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .18s ease, opacity .18s ease;
}
.nav-toggle-bars span + span { margin-top: 4px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.site-nav { grid-area: nav; display: none; }
.site-nav.is-open { display: block; }

.site-nav ul {
  list-style: none;
  margin: .4rem 0 .5rem;
  padding: 0;
  border-top: 1px solid var(--line);
}

.site-nav li { border-bottom: 1px solid var(--line); }

.site-nav a {
  display: block;
  padding: .8rem .2rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--orange-dark); }

.site-nav .nav-cta { border-bottom: 0; margin-top: .7rem; }
.site-nav .nav-cta a {
  background: var(--orange);
  color: #fff;
  text-align: center;
  border-radius: var(--radius-sm);
  padding: .8rem 1rem;
}
.site-nav .nav-cta a:hover { background: var(--orange-dark); color: #fff; }

@media (min-width: 900px) {
  .site-head-inner {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "brand nav contact";
    gap: 1.4rem;
    padding-top: .75rem;
    padding-bottom: .75rem;
  }
  .brand img { height: 60px; }
  .head-contact { flex-direction: column; align-items: flex-end; line-height: 1.35; }
  .head-contact .head-phone + .head-phone { display: inline-flex; }
  .head-phone {
    width: auto; height: auto;
    border: 0;
    justify-content: flex-end;
  }
  .head-phone span { display: inline; }
  .nav-toggle { display: none; }
  .site-nav { display: block; }
  .site-nav ul {
    display: flex;
    align-items: center;
    gap: .2rem;
    margin: 0;
    border: 0;
    justify-content: center;
  }
  .site-nav li { border: 0; }
  .site-nav a { padding: .5rem .7rem; font-size: .97rem; border-radius: var(--radius-sm); }
  .site-nav a[aria-current="page"] { background: var(--navy-mist); }
  .site-nav .nav-cta { margin: 0 0 0 .4rem; }
  .site-nav .nav-cta a { padding: .55rem 1.1rem; }
}

/* -- 3  knoppen en blokken ------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .82rem 1.4rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); color: #fff; }

.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); color: #fff; }

.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--navy-mist); color: var(--navy); }

.btn-line { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-line:hover { border-color: var(--navy); color: var(--navy); }

.btn-ghost { background: transparent; color: var(--muted); padding: .6rem .8rem; }
.btn-ghost:hover { color: var(--navy); }

.btn-small { padding: .5rem .85rem; font-size: .9rem; }
.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; }

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

@media (min-width: 640px) { .panel { padding: 1.8rem; } }

.notice {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  padding: .9rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--navy-mist);
  font-size: .96rem;
}
.notice p { margin: 0; }
.notice-icon { flex: none; font-size: 1.05rem; line-height: 1.5; }
.notice-warn { background: var(--orange-mist); border-color: #f3d3a8; color: #8a5108; }
.notice-ok { background: var(--green-mist); border-color: #bfe0cd; color: #1f5b3a; }
.notice-error { background: var(--red-mist); border-color: #eec3ba; color: var(--red); }
.notice-info { background: var(--navy-mist); border-color: #ccd5ea; color: var(--navy); }

.empty-state {
  text-align: center;
  padding: 2.6rem 1.2rem;
  background: var(--sand);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.empty-state h2 { font-size: 1.3rem; }
.empty-state p { color: var(--muted); max-width: 46ch; margin-inline: auto; }

.page-head {
  background: var(--navy);
  color: #fff;
  padding: 2.4rem 0 2.6rem;
}
.page-head h1 { color: #fff; margin-bottom: .5rem; }
.page-head .lead { color: rgba(255, 255, 255, .84); }

/* -- 4  startpagina ------------------------------------------------------- */

.hero {
  position: relative;
  background: var(--navy-dark);
  color: #fff;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .38;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(18, 28, 63, .93) 0%, rgba(18, 28, 63, .78) 45%, rgba(18, 28, 63, .5) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 3.2rem 0 3.4rem;
  max-width: 40rem;
}

.hero h1 { color: #fff; margin-bottom: .8rem; }
.hero p { color: rgba(255, 255, 255, .88); font-size: 1.08rem; }
.hero .btn-row { margin-top: 1.6rem; }

.hero-facts {
  position: relative;
  z-index: 2;
  display: grid;
  gap: .8rem;
  grid-template-columns: repeat(2, 1fr);
  padding-bottom: 2.6rem;
}

.hero-fact {
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-sm);
  padding: .8rem .95rem;
}
.hero-fact b { display: block; font-size: 1.3rem; color: #fff; }
.hero-fact span { font-size: .85rem; color: rgba(255, 255, 255, .75); }

@media (min-width: 768px) {
  .hero-inner { padding: 4.6rem 0 4rem; }
  .hero-facts { grid-template-columns: repeat(4, 1fr); padding-bottom: 3.4rem; }
}

.steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  counter-reset: stap;
}

.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem 1.3rem;
  box-shadow: var(--shadow);
}
.step::before {
  counter-increment: stap;
  content: counter(stap);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  margin-bottom: .8rem;
}
.step h3 { margin-bottom: .3rem; }
.step p { color: var(--muted); margin: 0; font-size: .97rem; }

@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem;
}
.card h3 { margin-bottom: .35rem; }
.card p { color: var(--muted); font-size: .97rem; margin: 0; }

.split {
  display: grid;
  gap: 1.6rem;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr .95fr; gap: 3rem; }
  .split-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
}

.tick-list { list-style: none; margin: 1rem 0 0; padding: 0; }
.tick-list li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: .55rem;
  color: var(--muted);
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .45rem;
  width: 1.15rem; height: 1.15rem;
  border-radius: 50%;
  background: var(--green-mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f7d52' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / .72rem no-repeat;
}
.section-navy .tick-list li { color: rgba(255, 255, 255, .85); }

.cta-band {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.8rem 1.4rem;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .82); max-width: 52ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 1.3rem; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.4rem;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.section-head p { margin: 0; }

/* -- 5  markten en agenda ------------------------------------------------- */

.filters {
  position: sticky;
  top: 66px;
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: .8rem 0;
}
@media (min-width: 900px) { .filters { top: 92px; } }

.filters-inner {
  display: grid;
  gap: .6rem;
  grid-template-columns: 1fr;
  align-items: end;
}
@media (min-width: 700px) { .filters-inner { grid-template-columns: 1.4fr 1fr 1fr auto; } }
@media (min-width: 1000px) { .filters-inner { grid-template-columns: 1.6fr 1fr 1fr 1fr auto; } }

.field { display: flex; flex-direction: column; gap: .28rem; }
.field label { font-size: .82rem; font-weight: 700; color: var(--muted); }

input[type="text"], input[type="email"], input[type="tel"], input[type="search"],
input[type="password"], input[type="number"], input[type="date"], input[type="time"],
select, textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid #c9cfdd;
  border-radius: var(--radius-sm);
  padding: .62rem .75rem;
  min-height: 44px;
}
textarea { min-height: 7rem; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--navy-soft); }
input::placeholder, textarea::placeholder { color: #98a0b3; }

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c6479' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .6rem center;
  background-size: 1.05rem;
  padding-right: 2.2rem;
}

.result-count {
  font-size: .92rem;
  color: var(--muted);
  margin: 0 0 1rem;
}

.month-heading {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin: 2rem 0 .8rem;
  padding-bottom: .45rem;
  border-bottom: 2px solid var(--line);
}
.month-heading:first-of-type { margin-top: .4rem; }

.market-list { display: grid; gap: .85rem; }

.market {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.market.is-closed { opacity: .72; background: var(--sand); }

.market-inner {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 1rem;
  padding: 1rem;
}

.market-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: .55rem .2rem;
  height: fit-content;
  line-height: 1.1;
}
.market-date .dow { font-size: .72rem; text-transform: uppercase; letter-spacing: .09em; color: rgba(255, 255, 255, .72); }
.market-date .day { font-size: 1.65rem; font-weight: 700; }
.market-date .mon { font-size: .82rem; text-transform: uppercase; font-weight: 700; color: var(--orange); }
.market-date .yr { font-size: .68rem; color: rgba(255, 255, 255, .6); }
.market-date .upto { font-size: .62rem; color: rgba(255, 255, 255, .72); margin-top: .2rem; }

.market-body { min-width: 0; }

.market-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .45rem; }

.badge {
  display: inline-block;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .2rem .5rem;
  border-radius: 99px;
  background: var(--navy-mist);
  color: var(--navy);
}
.badge-new { background: var(--orange); color: #fff; }
.badge-busy { background: var(--green-mist); color: var(--green); }
.badge-vol { background: var(--red-mist); color: var(--red); }
.badge-warn { background: var(--orange-mist); color: #8a5108; }

.market-photo {
  width: 100%;
  max-width: 220px;
  border-radius: var(--radius-sm);
  margin-bottom: .6rem;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.market-title { font-size: 1.13rem; margin-bottom: .1rem; }
.market-place { font-weight: 700; color: var(--orange-dark); margin: 0 0 .3rem; font-size: .98rem; }

.market-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .9rem;
  font-size: .9rem;
  color: var(--muted);
  margin: 0;
}
.market-meta span { display: inline-flex; align-items: center; gap: .32rem; }
.market-meta svg { flex: none; color: var(--navy-soft); }

.market-note {
  margin: .6rem 0 0;
  font-size: .92rem;
  color: var(--muted);
  background: var(--sand);
  border-left: 3px solid var(--orange);
  padding: .5rem .7rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.market-options {
  grid-column: 1 / -1;
  border-top: 1px dashed var(--line);
  padding-top: .85rem;
  display: grid;
  gap: .6rem;
}

.market-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .6rem 1rem;
  align-items: center;
}

.market-options > .btn { justify-self: center; }

.market-option-label b { display: block; font-size: .97rem; color: var(--navy); }
.market-option-label span { font-size: .88rem; color: var(--muted); }

.market-extra {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  font-size: .93rem;
  color: var(--muted);
}
.market-extra input { margin-top: .28rem; }

.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid #c9cfdd;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
}
.stepper button {
  width: 42px;
  height: 44px;
  border: 0;
  background: var(--navy-mist);
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
}
.stepper button:hover { background: #dde3f2; }
.stepper .qty {
  width: 56px;
  height: 44px;
  min-height: 0;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-radius: 0;
  text-align: center;
  font-weight: 700;
  padding: 0;
  -moz-appearance: textfield;
}
.stepper .qty::-webkit-outer-spin-button,
.stepper .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.market-closed-msg {
  grid-column: 1 / -1;
  margin: .3rem 0 0;
  font-weight: 700;
  color: var(--red);
  font-size: .93rem;
}

@media (min-width: 760px) {
  .market-inner { grid-template-columns: 84px 1fr minmax(230px, 300px); }
  .market-options {
    grid-column: auto;
    border-top: 0;
    border-left: 1px dashed var(--line);
    padding: 0 0 0 1.1rem;
    align-content: center;
  }
  .market-date .day { font-size: 2rem; }
}

.selection-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 -8px 30px rgba(18, 28, 63, .3);
  transform: translateY(105%);
  transition: transform .22s ease;
}
.selection-bar.is-visible { transform: translateY(0); }

.selection-bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1rem;
  align-items: center;
  justify-content: space-between;
  padding-top: .75rem;
  padding-bottom: .75rem;
}

.selection-summary { display: flex; align-items: baseline; gap: .55rem; flex-wrap: wrap; }
.selection-summary .count { font-size: .92rem; color: rgba(255, 255, 255, .8); }
.selection-summary .total { font-size: 1.32rem; font-weight: 700; }
.selection-summary .vat { font-size: .8rem; color: rgba(255, 255, 255, .65); }

.selection-actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.selection-clear {
  background: none;
  border: 0;
  color: rgba(255, 255, 255, .78);
  font: inherit;
  font-size: .9rem;
  text-decoration: underline;
  cursor: pointer;
}
.selection-clear:hover { color: #fff; }

body.has-selection { padding-bottom: 9rem; }
@media (min-width: 640px) { body.has-selection { padding-bottom: 5.5rem; } }

/* samenvatting van de keuze op de boekpagina */

.summary-list { list-style: none; margin: 0; padding: 0; }
.summary-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .2rem .8rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--line);
}
.summary-list li:first-child { padding-top: 0; }
.summary-list b { color: var(--navy); font-size: 1rem; }
.summary-list .sub { grid-column: 1 / -1; font-size: .9rem; color: var(--muted); }
.summary-list .amount { font-weight: 700; white-space: nowrap; }

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-top: .9rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
}
.summary-total small { font-weight: 400; font-size: .85rem; color: var(--muted); }

/* -- 6  formulieren ------------------------------------------------------- */

.form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
}

.field-error { color: var(--red); font-size: .87rem; font-weight: 600; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }

.field-hint { font-size: .85rem; color: var(--muted); }

.check {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  font-size: .96rem;
  line-height: 1.5;
}
.check input { margin-top: .3rem; width: 19px; height: 19px; flex: none; accent-color: var(--orange); }

fieldset { border: 0; margin: 0; padding: 0; }
legend { font-weight: 700; color: var(--navy); font-size: 1.05rem; padding: 0; margin-bottom: .7rem; }

.form-section + .form-section { margin-top: 1.8rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }

.honeypot { position: absolute; left: -9999px; }

.contact-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.15fr .85fr; gap: 2.4rem; } }

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: .5rem;
  padding: .55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .97rem;
}
.contact-list dt, .contact-list .lbl { color: var(--muted); }
.contact-list b { color: var(--navy); }

/* -- 7  fotoboek ---------------------------------------------------------- */

.gallery {
  display: grid;
  gap: .55rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: .7rem; } }
@media (min-width: 980px) { .gallery { grid-template-columns: repeat(4, 1fr); } }

.gallery button {
  display: block;
  padding: 0;
  border: 0;
  background: var(--navy-mist);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3 / 2;
  width: 100%;
}
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.gallery button:hover img { transform: scale(1.05); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(9, 14, 32, .93);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: var(--radius-sm); }
.lightbox-caption {
  position: absolute;
  left: 0; right: 0; bottom: 1.1rem;
  text-align: center;
  color: rgba(255, 255, 255, .85);
  font-size: .92rem;
  padding: 0 1rem;
}
.lightbox button {
  position: absolute;
  background: rgba(255, 255, 255, .12);
  border: 0;
  color: #fff;
  width: 46px; height: 46px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}
.lightbox button:hover { background: rgba(255, 255, 255, .24); }
.lightbox .lb-close { top: 1rem; right: 1rem; }
.lightbox .lb-prev { left: .8rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: .8rem; top: 50%; transform: translateY(-50%); }

/* -- 8  voet -------------------------------------------------------------- */

.site-foot {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, .78);
  padding: 2.6rem 0 1.4rem;
  margin-top: 3rem;
  font-size: .95rem;
}

.foot-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .foot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.4rem; } }

.foot-col h2 {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--orange);
  margin-bottom: .8rem;
}

.foot-logo {
  display: inline-block;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: .5rem .7rem;
  margin-bottom: .9rem;
}
.foot-logo img { height: 44px; width: auto; }

.foot-text { color: rgba(255, 255, 255, .68); font-size: .92rem; max-width: 40ch; }

.foot-list { list-style: none; margin: 0; padding: 0; }
.foot-list li { margin-bottom: .45rem; }
.foot-list a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.foot-list a:hover { color: var(--orange); text-decoration: underline; }

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.2rem;
  justify-content: space-between;
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, .13);
  font-size: .85rem;
  color: rgba(255, 255, 255, .55);
}
.foot-bottom p { margin: 0; }
.foot-bottom a { color: rgba(255, 255, 255, .7); }

/* prozateksten, bijvoorbeeld de voorwaarden */

.prose h2 { margin-top: 2.2rem; font-size: 1.35rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2rem; color: var(--muted); }
.prose li { margin-bottom: .5rem; }

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

body.admin { background: var(--sand); }

.admin-bar {
  background: var(--navy);
  color: #fff;
  padding: .55rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.admin-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .9rem;
}

.admin-bar .brand-text {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -.01em;
}
.admin-bar .brand-text span { color: var(--orange); }

.admin-tag {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  background: rgba(255, 255, 255, .16);
  padding: .15rem .5rem;
  border-radius: 99px;
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .1rem;
  margin-left: auto;
}
.admin-nav a {
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  padding: .38rem .65rem;
  border-radius: var(--radius-sm);
  font-size: .93rem;
  font-weight: 600;
}
.admin-nav a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.admin-nav a[aria-current="page"] { background: rgba(255, 255, 255, .18); color: #fff; }

.admin-main { padding: 1.8rem 0 3.5rem; }

.admin-head {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1.2rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.4rem;
}
.admin-head h1 { font-size: 1.6rem; margin: 0; }

.stat-grid {
  display: grid;
  gap: .8rem;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 1.8rem;
}
@media (min-width: 800px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }

.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  text-decoration: none;
  display: block;
}
.stat b { display: block; font-size: 1.75rem; color: var(--navy); line-height: 1.1; }
.stat span { font-size: .87rem; color: var(--muted); }
a.stat:hover { border-color: var(--navy-soft); }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

table.data {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: .93rem;
  min-width: 620px;
}
table.data th, table.data td {
  text-align: left;
  padding: .65rem .7rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.data th {
  background: var(--navy-mist);
  color: var(--navy);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
}
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: #fbfcfe; }
table.data .nowrap { white-space: nowrap; }
table.data .right { text-align: right; }

.tablecard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.pill {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  padding: .16rem .55rem;
  border-radius: 99px;
  white-space: nowrap;
}
.pill-nieuw { background: var(--orange-mist); color: #8a5108; }
.pill-bevestigd { background: var(--green-mist); color: var(--green); }
.pill-geannuleerd { background: var(--red-mist); color: var(--red); }
.pill-open { background: var(--green-mist); color: var(--green); }
.pill-vol { background: var(--red-mist); color: var(--red); }
.pill-verlopen { background: var(--navy-mist); color: var(--muted); }

.row-actions { display: flex; flex-wrap: wrap; gap: .3rem; }
.row-actions a, .row-actions button {
  font-size: .85rem;
  padding: .3rem .55rem;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}
.row-actions a:hover, .row-actions button:hover { border-color: var(--navy-soft); }
.row-actions .danger { color: var(--red); }
.row-actions .danger:hover { border-color: var(--red); }

.admin-form { max-width: 880px; }
.admin-form .panel + .panel { margin-top: 1.2rem; }

.option-row {
  display: grid;
  gap: .6rem;
  grid-template-columns: 1fr;
  padding: .9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--sand);
  margin-bottom: .7rem;
}
@media (min-width: 760px) {
  .option-row { grid-template-columns: 1.6fr .9fr .9fr .8fr .8fr auto; align-items: end; }
}
.option-row .remove {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--red);
  border-radius: var(--radius-sm);
  min-height: 44px;
  padding: 0 .8rem;
  cursor: pointer;
  font: inherit;
}
.option-row .remove:hover { border-color: var(--red); }

.tier-row {
  display: grid;
  gap: .5rem;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  margin-bottom: .5rem;
}

.admin-photos {
  display: grid;
  gap: .8rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px) { .admin-photos { grid-template-columns: repeat(4, 1fr); } }

.admin-photo {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.admin-photo img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.admin-photo .pad { padding: .55rem; display: grid; gap: .4rem; }
.admin-photo input[type="text"] { font-size: .85rem; min-height: 36px; padding: .35rem .5rem; }

.login-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: var(--navy);
}
.login-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.8rem;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
}
.login-card h1 { font-size: 1.4rem; }

@media print {
  .site-head, .site-foot, .selection-bar, .filters, .admin-bar, .row-actions { display: none !important; }
  body { font-size: 12pt; }
}
