/* =========================================================
   Stripfanaat — design language
   Foundations, components, layouts.
   ========================================================= */

:root {
  /* Colors
     The wordmark is INK (#050f1a). The structural color follows it — borders,
     active states, primary buttons, hover treatments all sit on ink, not navy.
     `--navy` is kept as a token name for the dark panel role but resolves to
     ink so structural UI echoes the logo without a competing blue. */
  --navy: #0c1722;
  --navy-700: #050f1a;
  --navy-900: #000000;
  --ink: #050f1a;
  --ink-soft: #364354;
  --ink-mute: #6b7585;
  --cream: #faf7ef;
  --cream-light: #fdfbf7;
  --cream-deep: #f3eedf;
  --paper: #ffffff;
  --tint: #ecebe3;
  --gold: #f2c230;
  --gold-deep: #d8a812;
  --rule: #d8d2bf;
  --rule-soft: #e9e3d0;
  --error: #8a1a1a;
  --ok: #1d5b4a;

  /* Type */
  --display: "Archivo Black", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  --serif: "Lora", "Iowan Old Style", "Georgia", serif;
  --sans: "Inter", "Helvetica Neue", "Helvetica", "Arial", sans-serif;

  /* Spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;

  /* Radii — sharp brand */
  --r-1: 2px;
  --r-2: 2px;

  --max: 1240px;
}

/* ========== Reset & base ========== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--cream-light);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
hr { border: none; height: 1px; background: var(--rule); margin: 0; }

.tnum, .price, .count, .num, time, .tabular { font-variant-numeric: tabular-nums; }

/* ========== Type ========== */
h1, h2, h3, h4, h5, h6 { margin: 0; color: var(--ink); }

.eyebrow {
  font-family: var(--display);
  font-weight: 400;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
}
.eyebrow--navy { color: var(--navy); }
.eyebrow--gold { color: var(--gold-deep); }

.h-display {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin: 0;
}
.h-display em {
  font-style: normal;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 0.82em;
  text-transform: none;
  letter-spacing: -0.005em;
  color: var(--ink-soft);
}
.h-1 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, 1.4rem + 1.5vw, 2.75rem); line-height: 1.1;  letter-spacing: -0.005em; margin: 0; }
.h-2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.15; margin: 0; }
.h-3 { font-family: var(--serif); font-weight: 500; font-size: 1.375rem; line-height: 1.2; margin: 0; }
.h-4 { font-family: var(--sans); font-weight: 600; font-size: 15px; line-height: 1.3; margin: 0; letter-spacing: 0.01em; }
.lede { font-family: var(--serif); font-size: 21px; line-height: 1.45; color: var(--ink-soft); margin: 0; }
.body { font-size: 17px; line-height: 1.55; color: var(--ink-soft); margin: 0; }
.small { font-size: 14px; line-height: 1.45; color: var(--ink-mute); margin: 0; }
.meta { font-size: 13px; color: var(--ink-mute); }

p { margin: 0 0 0.9rem; line-height: 1.55; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { text-underline-offset: 3px; }

/* Gold decorative rule under section headings */
.rule-gold { display: block; width: 56px; height: 3px; background: var(--gold); margin: 14px 0 0; }
.rule-gold--center { margin-left: auto; margin-right: auto; }
.rule-soft { height: 1px; background: var(--rule); border: none; margin: 0; }
.rule-soft-cream { height: 1px; background: var(--rule-soft); border: none; margin: 0; }

/* ========== Buttons ========== */
.btn, button[type="submit"], a[role="button"] {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  padding: 12px 20px;
  border-radius: var(--r-1);
  border: 1px solid transparent;
  transition: background-color .12s ease, color .12s ease, border-color .12s ease, transform .06s ease;
  letter-spacing: 0.005em;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  background: var(--gold);
  color: var(--navy);
}
.btn:active, button[type="submit"]:active { transform: translateY(1px); }
.btn--gold     { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-deep); }
.btn--navy     { background: var(--navy); color: var(--cream); }
.btn--navy:hover { background: var(--navy-700); color: var(--cream); }
.btn--ghost    { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--cream); }
.btn--text     { background: transparent; color: var(--navy); padding: 8px 0; }
.btn--text:hover { color: var(--gold-deep); background: transparent; }
.btn--lg       { font-size: 17px; padding: 16px 26px; }
.btn--block    { width: 100%; }
.btn[disabled], button[type="submit"][disabled] { opacity: .5; cursor: not-allowed; }

/* ========== Badges ========== */
/* ---- Labels / badges — informational only, never interactive ----
   Rule: dotted border signals "label, not button". No gold backgrounds.
   Labels use sans, sentence-like size, muted palette.
   ------------------------------------------------------------ */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--sans); font-weight: 500;
  font-size: 11px; letter-spacing: 0.04em;
  padding: 3px 8px;
  background: transparent;
  color: var(--ink-mute);
  border: 1px dotted var(--rule);
  user-select: none;
}
.badge--lang { color: var(--ink-soft); }
/* Kept for back-compat but badge--gold now reads as availability, not action */
.badge--gold  { background: #e6f0df; color: #2c5a30; border: 1px solid #b5cfa5; }
.badge--navy  { background: var(--tint); color: var(--navy); border: 1px solid var(--rule); }

/* Availability labels — solid border since they have a fill */
.badge-available   { background: #e6f0df; color: #2c5a30; border: 1px solid #b5cfa5; }
.badge-unavailable { background: #f5e8e6; color: #7a2a1a; border: 1px solid #d6a89e; }

/* Reservation status labels — solid border, muted semantic hues, never gold */
.status, .badge-status { font-size: 10px; padding: 3px 7px; letter-spacing: 0.06em; border-style: solid; }
.status--aangevraagd, .badge-status--pending     { background: #f4ecd6; color: #6c5512; border-color: #d8c685; }
.status--bevestigd,  .badge-status--confirmed    { background: #e8ecf4; color: #2a3d6c; border-color: #b5c1d8; }
.status--betaald,    .badge-status--paid         { background: #e6f0df; color: #2c5a30; border-color: #b5cfa5; }
.status--actief,     .badge-status--active       { background: #d8e8d4; color: #1d5b4a; border-color: #9dc49a; }
.status--afgerond,   .badge-status--completed    { background: transparent; color: var(--ink-mute); border-color: var(--rule); }
.status--geannuleerd,.badge-status--cancelled    { background: #f5e8e6; color: #7a2a1a; border-color: #d6a89e; text-decoration: line-through; }

.badge-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; }

/* ========== Panels ========== */
.panel-paper { background: var(--cream); }
.panel-tint  { background: var(--cream); }
.panel-navy  { background: var(--navy); color: var(--cream); }
.panel-navy .eyebrow,
.panel-navy h1, .panel-navy h2, .panel-navy h3, .panel-navy h4,
.panel-navy .h-display, .panel-navy .h-1, .panel-navy .h-2, .panel-navy .h-3, .panel-navy .h-4 { color: var(--gold); }
.panel-navy .body, .panel-navy .small, .panel-navy .meta { color: rgba(250,247,239,0.78); }
.panel-elevated {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 32px;
}

/* Full-bleed bands without leaving the container. */
.panel {
  --panel-bg: var(--cream);
  background: var(--panel-bg);
  padding-block: 4rem;
  box-shadow: 0 0 0 100vmax var(--panel-bg);
  clip-path: inset(0 -100vmax);
}
.panel-white { --panel-bg: var(--paper); }
.panel.panel-tint { --panel-bg: var(--cream); }
.panel.panel-navy { --panel-bg: var(--navy); color: var(--cream); }

/* ========== Page chrome ========== */
.container, .wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 920px; margin: 0 auto; padding: 0 28px; }

main.container { padding-top: 0; padding-bottom: 0; }

/* ========== Topbar / Nav ========== */
.site-nav {
  position: sticky; top: 0; z-index: 30;
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
}
.site-nav-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 16px 28px;
  display: flex; align-items: center; gap: 32px;
}
.logo-stripfanaat { display: block; line-height: 0; }
.logo-stripfanaat img { height: 54px; width: auto; display: block; }
.site-nav-inner > ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 28px;
}
.site-nav-inner > ul:last-child { margin-left: auto; }
.site-nav a {
  text-decoration: none; color: var(--ink);
  font-size: 15px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--navy); }
.site-nav a.is-active { color: var(--navy); border-bottom-color: var(--navy); }

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 8px 16px !important;
  border: 1px solid var(--gold-deep);
  border-radius: var(--r-1);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  transition: background .12s ease;
}
.nav-cta:hover { background: var(--gold-deep); border-bottom-color: var(--gold-deep) !important; }

/* ========== Section header pattern ========== */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head__title h1, .section-head__title h2 { margin: 0; }
.section-head__title .eyebrow { display: block; margin-bottom: 8px; }
.section-head__title .rule-gold { margin-top: 18px; }

/* ========== Series grid + card ========== */
.series-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 24px;
}
@media (max-width: 1080px) { .series-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 820px)  { .series-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 480px)  { .series-grid { grid-template-columns: 1fr; } }

.series-card {
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit; cursor: pointer;
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  border-radius: var(--r-1);
  padding: 14px;
  transition: border-color .15s ease, background-color .15s ease;
}
.series-card__cover, .series-card-cover {
  aspect-ratio: 3 / 4; width: 100%;
  margin-bottom: 14px;
  position: relative; overflow: hidden;
  background: var(--tint);
  object-fit: cover;
}
.series-card__cover svg, .series-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.series-card__badges { display: flex; gap: 6px; margin-bottom: 8px; flex-wrap: wrap; }
.series-card__title, .series-card h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: 20px; line-height: 1.18;
  margin: 0 0 4px;
  color: var(--ink);
}
.series-card__people, .series-card .meta {
  font-family: var(--sans);
  font-size: 13px; color: var(--ink-mute);
  margin: 0 0 12px;
}
.series-card:hover { border-color: var(--navy); }
.series-card__foot {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--rule-soft);
}
.series-card__albums {
  font-family: var(--sans);
  font-size: 12px; color: var(--ink-mute);
  letter-spacing: .04em; text-transform: uppercase;
}
.series-card__price, .series-card .price {
  font-family: var(--serif); font-weight: 500;
  font-size: 20px; color: var(--navy);
}
.series-card__price small, .series-card .price small {
  font-family: var(--sans); font-size: 11px; color: var(--ink-mute);
  font-weight: 500; text-transform: uppercase; letter-spacing: .08em;
  margin-left: 4px;
}

/* ========== Catalog layout ========== */
.catalog-head {
  padding-top: 0;
  padding-bottom: 20px;
}
.catalog-head__title { margin: 0; }
.catalog-head__lede { margin-top: 14px; max-width: 640px; }
.catalog-head__meta { margin-top: 14px; }

.catalog-bar {
  padding-top: 24px;
  padding-bottom: 0;
}
.catalog-bar__form { display: flex; flex-direction: column; gap: 14px; }
.catalog-bar__search { width: 100%; }
.catalog-bar__genres { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.genre-pill {
  display: inline-flex; align-items: center;
  padding: 6px 14px;
  font-size: 13px; font-family: var(--sans);
  color: var(--ink-soft);
  background: var(--paper); border: 1px solid var(--rule);
  text-decoration: none; white-space: nowrap;
  transition: border-color .15s, color .15s, background .15s;
}
.genre-pill:hover { border-color: var(--navy); color: var(--navy); }
.genre-pill.is-active {
  background: var(--navy); border-color: var(--navy);
  color: var(--paper); font-weight: 600;
}

.catalog-main { padding-top: 24px; padding-bottom: 96px; }
.catalog-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px; padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
  flex-wrap: wrap; gap: 12px;
}
.catalog-toolbar__count {
  color: var(--ink-mute); font-size: 14px;
  display: inline-flex; align-items: center; min-height: 40px;
}
.sort {
  display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-soft);
}
.sort select {
  font: inherit; padding: 4px 22px 4px 4px;
  background: transparent; border: none; color: var(--navy);
  font-weight: 600; cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path fill='%230c1722' d='M0 0l6 8 6-8z'/></svg>");
  background-repeat: no-repeat; background-position: right 0 center; background-size: 10px;
}

/* Filter sidebar */
.filter-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.filter-list li { border-bottom: 1px solid var(--rule-soft); }
.filter-list a, .filter-list button {
  width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; font-size: 15px; color: var(--ink-soft);
  text-decoration: none;
}
.filter-list .count { color: var(--ink-mute); font-size: 12px; font-variant-numeric: tabular-nums; }
.filter-list a:hover, .filter-list button:hover { color: var(--navy); }
.filter-list a.is-active, .filter-list button.is-active { color: var(--navy); font-weight: 600; }

/* Search input — base: underline style for generic use */
.search {
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1.5px solid var(--rule);
  padding: 8px 0;
  width: 100%;
  transition: border-color .12s ease;
}
.search:focus-within { border-bottom-color: var(--navy); }
.search input {
  flex: 1; background: transparent;
  border: none; outline: none; padding: 0;
  font-size: 15px; color: var(--ink);
}
.search svg { flex: 0 0 auto; color: var(--ink-mute); }

/* Boxed variant for the catalog filter bar */
.catalog-bar__search .search {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-1);
  padding: 10px 14px;
}
.catalog-bar__search .search:focus-within { border-color: var(--navy); }

/* ========== Detail page ========== */
.detail-hero {
  padding-top: 24px;
  padding-bottom: 64px;
  display: grid; grid-template-columns: minmax(0, 460px) 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) {
  .detail-hero { grid-template-columns: 1fr; gap: 32px; padding-top: 28px; padding-bottom: 32px; }
}
.detail-cover { aspect-ratio: 3 / 4; background: var(--tint); border: 1px solid var(--rule); }
.detail-cover img, .detail-cover svg { width: 100%; height: 100%; object-fit: cover; }
.detail-side { padding-top: 6px; }

.detail-meta-row {
  display: flex; gap: 18px; flex-wrap: wrap;
  font-size: 14px; color: var(--ink-mute);
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin: 22px 0;
}
.detail-meta-row dt { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-mute); margin-bottom: 2px; font-family: var(--sans); font-weight: 600; }
.detail-meta-row dd { margin: 0; color: var(--ink); font-weight: 500; }
.detail-meta-row > div { min-width: 120px; }

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 22px;
}
.detail-gallery figure { margin: 0; border: 1px solid var(--rule-soft); background: var(--cream); }
.detail-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.detail-gallery figcaption { font-size: 12px; color: var(--ink-mute); padding: 6px 8px; }

/* Reserve card */
.reserve-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 24px;
}
.reserve-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.reserve-card__price {
  font-family: var(--serif); font-weight: 500;
  font-size: 36px; color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.reserve-card__price small {
  font-family: var(--sans); font-size: 12px;
  color: var(--ink-mute); text-transform: uppercase;
  letter-spacing: .1em; font-weight: 500;
}
.reserve-card__divider {
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
  padding: 16px 0;
  margin: 22px 0 6px;
  display: flex; gap: 24px; align-items: center;
  flex-wrap: wrap;
}

/* ========== Pickup slot list ========== */
.pickup-slots-wrap {
  position: relative;
  margin-top: 12px;
}
.pickup-slots-wrap.is-hidden { display: none; }

.pickup-slots-wrap::after,
.pickup-slots-wrap::before {
  content: ""; position: absolute; left: 0; right: 0;
  height: 3rem; pointer-events: none;
  transition: opacity 0.2s ease;
}
.pickup-slots-wrap::after {
  bottom: 0;
  background: linear-gradient(to bottom, transparent, var(--paper));
}
.pickup-slots-wrap::before {
  top: 0;
  background: linear-gradient(to top, transparent, var(--paper));
  opacity: 0;
}
.pickup-slots-wrap.is-scrolled::before { opacity: 1; }
.pickup-slots-wrap.is-end::after { opacity: 0; }

.pickup-slots, .slots {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--rule);
  max-height: 360px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--rule) transparent;
}

.pickup-slot, .slot {
  display: grid; grid-template-columns: 64px 1fr auto;
  align-items: center; gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--rule-soft);
  text-align: left;
  width: 100%;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  transition: background-color .1s ease;
  position: relative;
}
/* Slots rendered as <button> (cart add / date change) must not inherit the
   gold .btn / button[type=submit] base styling — keep them looking like the
   original <a> slots. */
button.pickup-slot, button.slot {
  font: inherit;
  display: grid; grid-template-columns: 64px 1fr auto; gap: 16px;
  padding: 14px 16px;
  background: transparent;
  border-radius: 0;
}
.pickup-slot:hover:not(.pickup-slot--booked):not(.pickup-slot--vacation):not(.is-selected),
.slot:hover:not(.slot--booked):not(.slot--closed):not(.slot--selected) {
  background: var(--cream);
}

.slot__date, .pickup-slot__date {
  display: flex; flex-direction: column; line-height: 1;
}
.slot__weekday, .pickup-slot__weekday {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-mute);
}
.slot__day, .pickup-slot__day {
  font-family: var(--serif); font-weight: 500;
  font-size: 28px; color: var(--ink); margin-top: 4px;
  font-variant-numeric: tabular-nums;
}
.slot__month, .pickup-slot__month {
  font-size: 12px; color: var(--ink-mute); margin-top: 2px;
}
.slot__window, .pickup-slot__window {
  font-size: 14px; color: var(--ink-soft);
}
.slot__state, .pickup-slot__state, .pickup-status, .pickup-action {
  font-family: var(--sans); font-weight: 500;
  font-size: 11px; letter-spacing: .04em;
  color: var(--ink-mute);
}
.pickup-action { color: var(--navy); }
.pickup-slot:hover .pickup-action { color: var(--ink); }

/* Selected slot */
.slot--selected, .pickup-slot.is-selected {
  background: var(--navy); color: var(--cream);
  border-bottom-color: var(--navy);
}
.slot--selected .slot__weekday, .slot--selected .slot__month, .slot--selected .slot__window, .slot--selected .slot__state,
.pickup-slot.is-selected .pickup-slot__weekday, .pickup-slot.is-selected .pickup-slot__month, .pickup-slot.is-selected .pickup-slot__window, .pickup-slot.is-selected .pickup-slot__state {
  color: rgba(250,247,239,0.8);
}
.slot--selected .slot__day, .pickup-slot.is-selected .pickup-slot__day { color: var(--gold); }

/* Booked slot */
.slot--booked, .pickup-slot--booked { color: var(--ink-mute); }
.slot--booked .slot__day, .pickup-slot--booked .pickup-slot__day {
  color: var(--ink-mute); text-decoration: line-through;
}
.slot--booked .slot__weekday, .slot--booked .slot__month, .slot--booked .slot__window,
.pickup-slot--booked .pickup-slot__weekday, .pickup-slot--booked .pickup-slot__month, .pickup-slot--booked .pickup-slot__window {
  color: var(--ink-mute);
}

/* Vacation slot (diagonal hatch) */
.slot--closed, .pickup-slot--vacation {
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0 6px,
    rgba(5, 15, 26, 0.08) 6px 8px
  );
  color: var(--ink-mute);
  cursor: not-allowed;
}
.slot--closed .slot__day, .pickup-slot--vacation .pickup-slot__day { color: var(--ink-mute); }

/* ========== How-it-works step cards ========== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
/* ---- Base step component ---- */
.step {
  padding: 16px 0;
  border-top: 1px solid var(--rule-soft);
}
.step__num {
  font-family: var(--serif); font-weight: 500;
  font-size: 28px; line-height: 1; color: var(--gold);
  display: block; margin-bottom: 6px;
}
.step__title { margin: 0 0 6px; }
.step__body { margin: 0; color: var(--ink-soft); }

/* Homepage compact vertical list (title only, no body text, no separators) */
.steps-grid {
  display: flex;
  flex-direction: column;
  margin-top: 28px;
}
.steps-grid .step {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 10px 0;
  border-top: none;
}
.steps-grid .step__num {
  flex: 0 0 28px;
  font-size: 22px;
  color: var(--gold);
  font-family: var(--serif);
  line-height: 1;
  margin: 0;
  text-align: right;
}
.steps-grid .step__title {
  font-size: 15px;
  font-weight: 500;
  font-family: var(--sans);
  margin: 0;
}

/* Homepage 2-col split — mirrors hero proportions (1fr auto, gap 48px) */
.home-split {
  display: grid;
  grid-template-columns: 1fr clamp(240px, 30vw, 420px);
  gap: 48px;
  align-items: start;
}
@media (max-width: 720px) {
  .home-split { grid-template-columns: 1fr; }
}
.pricing-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 28px 28px 32px;
  position: sticky;
  top: 92px;
}

/* Detail page full vertical list (title + body text) */
.steps-grid--full {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0;
}
.steps-grid--full .step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 32px 0;
  border-top: 1px solid var(--rule-soft);
}
.steps-grid--full .step:last-child { border-bottom: 1px solid var(--rule-soft); }
.steps-grid--full .step__num {
  flex: 0 0 48px;
  font-size: 40px;
  margin: 0;
  padding-top: 2px;
}
.steps-grid--full .step__content { flex: 1; min-width: 0; }
.steps-grid--full .step__title { font-size: 1.125rem; margin: 0 0 10px; }
.steps-grid--full .step__body { font-size: 15px; line-height: 1.65; }
@media (max-width: 600px) {
  .steps-grid--full .step { gap: 20px; padding: 24px 0; }
  .steps-grid--full .step__num { flex: 0 0 36px; font-size: 30px; }
}
}

/* ========== Form fields ========== */
form { margin: 0; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field__label, form label {
  font-size: 13px; font-weight: 600;
  color: var(--ink); letter-spacing: .01em;
  display: block;
}
.field__hint { font-size: 12px; color: var(--ink-mute); }

.field__input,
.field__select,
.field__textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
select,
textarea {
  width: 100%;
  font: inherit; font-size: 16px;
  padding: 11px 14px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-1);
  color: var(--ink);
  outline: none;
  transition: border-color .12s ease, box-shadow .12s ease;
  margin: 0;
}
.field__input:focus,
.field__select:focus,
.field__textarea:focus,
input:focus, select:focus, textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 2px rgba(12, 23, 34, .07);
}
input::placeholder, textarea::placeholder { color: var(--ink-mute); }

select, .field__select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path fill='%23364354' d='M0 0l6 8 6-8z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 10px;
  padding-right: 36px;
}

/* Checkbox */
.check {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; color: var(--ink-soft);
  cursor: pointer;
  padding: 4px 0;
}
.check input[type="checkbox"] {
  appearance: none; width: 18px; height: 18px;
  border: 1px solid var(--ink-mute);
  background: var(--paper);
  border-radius: var(--r-1);
  cursor: pointer; flex-shrink: 0;
  margin-top: 2px; position: relative;
}
.check input[type="checkbox"]:checked { background: var(--navy); border-color: var(--navy); }
.check input[type="checkbox"]:checked::after {
  content: ""; position: absolute; left: 5px; top: 1px;
  width: 5px; height: 10px;
  border: solid var(--gold);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.check input[type="checkbox"]:focus { box-shadow: 0 0 0 2px var(--gold); outline: none; }

/* Catalog filter form (legacy: keep horizontal compatibility) */
.filter-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 1.5rem;
}
.filter-form input[type="search"],
.filter-form select {
  flex: 1;
  min-width: 180px;
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 10px 14px;
}
.filter-form input[type="search"]:focus,
.filter-form select:focus {
  border-color: var(--navy);
  box-shadow: none;
  border-bottom: 1px solid var(--navy);
}
.filter-form button,
.filter-form a[role="button"] { width: auto; margin: 0; white-space: nowrap; }
.filter-form .filter-clear { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.filter-form .filter-clear:hover { background: var(--navy); color: var(--cream); }

/* ========== Crumbs ========== */
.breadcrumbs, .crumbs {
  display: flex; flex-wrap: wrap; gap: 8px;
  font-size: 13px; color: var(--ink-mute);
  padding: 40px 0 0;
  margin: 0 0 32px;
  list-style: none;
}
.breadcrumbs ul {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0; padding: 0; list-style: none;
  font-size: 13px; color: var(--ink-mute);
}
.breadcrumbs a, .crumbs a { color: var(--navy); text-decoration: none; }
.breadcrumbs a:hover, .crumbs a:hover { text-decoration: underline; }
.breadcrumbs li:not(:last-child)::after,
.crumbs span:not(:last-child)::after {
  content: "›"; margin-left: 8px; color: var(--ink-mute);
}

/* ========== Pagination ========== */
.pager, nav.pagination {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  flex-wrap: wrap;
}
.pager__pages { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.pager__btn {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--rule);
  background: var(--cream);
  color: var(--ink-soft);
  border-radius: var(--r-1);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color .12s ease, color .12s ease, background-color .12s ease;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
}
.pager__btn:hover { border-color: var(--navy); color: var(--navy); }
.pager__btn.is-active { background: var(--navy); color: var(--gold); border-color: var(--navy); cursor: default; }
.pager__btn[aria-disabled="true"], .pager__btn[disabled] {
  color: var(--ink-mute); opacity: .55; cursor: not-allowed; border-color: var(--rule-soft); pointer-events: none;
}
.pager__ellipsis { color: var(--ink-mute); padding: 0 6px; letter-spacing: 0.1em; font-size: 13px; }
.pager__nav {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0.02em;
  padding: 0 14px;
  gap: 6px;
}
.pager__count { font-size: 13px; color: var(--ink-mute); font-variant-numeric: tabular-nums; }
@media (max-width: 600px) {
  .pager { flex-direction: column; gap: 12px; align-items: stretch; }
  .pager__pages { justify-content: center; }
}

/* ========== Checkout stepper ========== */
.checkout-steps {
  display: flex; list-style: none; padding: 0;
  margin: 28px 0 40px;
  gap: 0;
}
.checkout-steps li {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-family: var(--sans); font-weight: 500;
  font-size: 11px; letter-spacing: 0.02em;
  color: var(--ink-mute);
  text-align: center;
  position: relative;
}
.checkout-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 14px;
  left: calc(50% + 18px);
  right: calc(-50% + 18px);
  height: 1px;
  background: var(--rule);
  z-index: 0;
}
.checkout-step-dot {
  width: 28px; height: 28px;
  border-radius: 0;
  border: 1px solid var(--rule);
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  position: relative; z-index: 1;
  font-family: var(--sans);
}
.checkout-steps .step-done .checkout-step-dot { background: var(--navy); border-color: var(--navy); color: var(--gold); }
.checkout-steps .step-active .checkout-step-dot { border-color: var(--navy); color: var(--navy); background: var(--paper); }
.checkout-steps .step-done { color: var(--ink); }
.checkout-steps .step-active { color: var(--navy); }

@media (max-width: 720px) {
  .checkout-steps { flex-wrap: wrap; row-gap: 1rem; }
  .checkout-steps li { flex: 0 0 50%; }
  .checkout-steps li::after { display: none; }
}

/* Step label inside the dot wrapper */
.checkout-steps li > span:last-child { font-size: 10px; }

/* ========== Reservation summary aside ========== */
.summary-card {
  background: var(--cream);
  border: 1px solid var(--rule);
  padding: 24px;
}
.summary-card header { margin-bottom: 14px; }
.summary-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 14px;
}
.summary-row:last-of-type { border-bottom: none; }
.summary-row dt { color: var(--ink-mute); font-size: 13px; }
.summary-row dd { margin: 0; color: var(--ink); font-weight: 500; text-align: right; }
.summary-total {
  margin-top: 14px; padding-top: 18px;
  border-top: 2px solid var(--navy);
  display: flex; justify-content: space-between; align-items: baseline;
}
.summary-total__lbl { font-family: var(--display); font-size: 12px; letter-spacing: 0.14em; color: var(--ink); }
.summary-total__val { font-family: var(--serif); font-size: 32px; font-weight: 500; color: var(--navy); font-variant-numeric: tabular-nums; }

/* Reservation form layout */
.reservation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 56px;
  padding-block: 40px 72px;
  align-items: start;
}
@media (max-width: 900px) {
  .reservation-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 24px; }
}
.reservation-grid > form {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 32px 36px;
}

/* ========== Shopping cart ========== */
.cart-items { display: flex; flex-direction: column; }
.cart-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  grid-template-areas: "cover body price" "cover body remove";
  align-items: center;
  column-gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.cart-item:first-child { padding-top: 0; }
.cart-item__cover { grid-area: cover; display: block; line-height: 0; }
.cart-item__cover img { width: 56px; height: auto; border: 1px solid var(--rule); }
.cart-item__body { grid-area: body; }
.cart-item__title { font-family: var(--serif); font-size: 17px; font-weight: 600; margin: 0; }
.cart-item__title a { color: var(--ink); text-decoration: none; }
.cart-item__title a:hover { color: var(--navy); }
.cart-item__people { font-size: 13px; color: var(--ink-mute); margin: 2px 0 0; }
.cart-item__price { grid-area: price; text-align: right; font-weight: 600; color: var(--navy); white-space: nowrap; }
.cart-item__price small { color: var(--ink-mute); font-weight: 400; }
.cart-item__remove { grid-area: remove; justify-self: end; }
.cart-item__remove button { background: transparent; color: var(--ink-mute); padding: 0; font-size: 13px; }
.cart-item__remove button:hover { color: var(--error); background: transparent; }

.cart-progress {
  margin: 18px 0 6px;
  padding: 14px 16px;
  background: #fffbeb;
  border: 1px solid var(--rule);
  border-left: 4px solid var(--gold-deep);
}
.cart-progress strong { display: block; font-size: 14px; color: var(--ink); }
.cart-progress p { margin: 4px 0 0; font-size: 13px; color: var(--ink-soft); }

/* Cart count badge on the nav */
.nav-cart { display: inline-flex; align-items: center; gap: 8px; }
.nav-cart__count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 6px;
  background: var(--gold); color: var(--navy);
  border: 1px solid var(--gold-deep); border-radius: 999px;
  font-size: 12px; font-weight: 700; line-height: 1;
}

/* Date display (after selecting a slot in the reservation form) */
.date-display {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 14px 16px;
  border: 1px solid var(--rule);
  background: var(--cream);
  margin: 10px 0 14px;
}
.date-display__label { font-size: 15px; font-weight: 500; color: var(--ink); font-family: var(--serif); }
.date-display__empty { color: var(--ink-mute); font-style: italic; font-weight: 400; font-family: var(--sans); }
.date-display button {
  width: auto; margin: 0;
  padding: 6px 12px;
  font-size: 12px; font-family: var(--sans); font-weight: 600; letter-spacing: 0;
  background: transparent;
  border: 1px solid var(--navy);
  color: var(--navy);
  white-space: nowrap;
}
.date-display button:hover { background: var(--navy); color: var(--cream); }

/* ========== Notices & messages ========== */
.notice {
  padding: 18px 22px;
  border-radius: var(--r-1);
  margin-bottom: 24px;
  border: 1px solid var(--rule);
  background: var(--paper);
}
.notice p:last-child { margin-bottom: 0; }
.notice-warning {
  background: #fffbeb;
  border-left: 4px solid var(--gold-deep);
}

[class^="message-"] {
  margin: 0 0 14px;
  padding: 14px 18px;
  border: 1px solid var(--rule);
  border-left-width: 3px;
  border-radius: 0;
  background: var(--paper);
}
.message-success { background: #ecfdf3; border-left-color: #15803d; }
.message-warning { background: #fffbeb; border-left-color: var(--gold-deep); }
.message-error, .message-danger { background: #fef2f2; border-left-color: #b91c1c; }
.message-info, .message-debug { background: #eff6ff; border-left-color: var(--navy); }

.form-error {
  color: var(--error);
  font-size: 12px;
  margin-top: 4px;
  display: block;
}

/* ========== Hero (homepage) ========== */
.hero {
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 48px;
  padding-block: 48px 64px;
}
.hero-content { max-width: 640px; }
.hero-content--narrow { max-width: 38rem; }
.hero-image { display: flex; align-items: center; justify-content: flex-end; }
.hero-image-frame { position: relative; width: clamp(240px, 30vw, 420px); }
.hero-image-frame img { width: 100%; height: auto; display: block; }
.hero-image-placeholder {
  width: 100%; aspect-ratio: 1;
  background: var(--cream-deep);
  background-image:
    repeating-linear-gradient(45deg, var(--rule-soft) 0, var(--rule-soft) 1px, transparent 0, transparent 50%);
  background-size: 20px 20px;
}
.hero-image-slice { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; padding-block: 28px 32px; }
  .hero-image { display: none; }
}

/* Editorial variant (used on Hoe werkt het, Afspraken) */
.hero-editorial { grid-template-columns: 1fr auto; padding-block-start: 0; }
.hero-editorial .eyebrow { display: block; }

/* ========== Series detail intro (legacy fallback) ========== */
.section-subtitle {
  font-family: var(--serif); font-weight: 500;
  font-size: 22px; line-height: 1.2;
  margin: 28px 0 14px;
  color: var(--ink);
}

.price-display {
  font-family: var(--serif); font-weight: 500;
  font-size: 28px; color: var(--navy);
  font-variant-numeric: tabular-nums;
  margin: 14px 0;
}
.price-display small {
  font-family: var(--sans); font-size: 12px;
  color: var(--ink-mute); text-transform: uppercase;
  letter-spacing: .1em; font-weight: 500;
  margin-left: 4px;
}

.series-description {
  border-top: 1px solid var(--rule-soft);
  padding-top: 18px;
  margin-top: 18px;
  font-size: 16px;
  color: var(--ink-soft);
}

/* ========== Footer ========== */
.site-foot {
  margin-top: 80px;
  border-top: 1px solid var(--rule);
  padding: 40px 0 32px;
  background: var(--cream);
}
.site-foot__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.site-foot__brand { display: flex; flex-direction: column; gap: 8px; }
.site-foot__brand .logo-stripfanaat img { height: 24px; width: auto; }
.site-foot__tagline { font-size: 13px; color: var(--ink-mute); margin: 0; }
.site-foot__nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.site-foot__nav a { font-size: 14px; color: var(--ink-soft); text-decoration: none; }
.site-foot__nav a:hover { color: var(--navy); }
.site-foot__bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--rule-soft);
}
.site-foot small { color: var(--ink-mute); font-size: 12px; }

/* ========== Tag pills (lightweight, for things like age ratings) ========== */
.tag-pill {
  display: inline-block; padding: 3px 8px; margin-right: 6px;
  font-size: 12px; color: var(--ink-soft);
  border: 1px solid var(--rule); background: var(--cream);
}

/* ========== Utility helpers ========== */
.stack-sm > * + * { margin-top: 8px; }
.stack-md > * + * { margin-top: 16px; }
.stack-lg > * + * { margin-top: 24px; }
.text-mute { color: var(--ink-mute); }
.text-soft { color: var(--ink-soft); }
.text-navy { color: var(--navy); }
.text-gold { color: var(--gold-deep); }
.center { text-align: center; }
.right { text-align: right; }
.flex { display: flex; }
.flex--between { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }

/* Definition list legacy fallback for reservation detail */
dl.kv { margin: 0; display: grid; grid-template-columns: 1fr; gap: 0; }
dl.kv > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule-soft); font-size: 14px; }
dl.kv > div:last-child { border-bottom: none; }
dl.kv dt { color: var(--ink-mute); font-size: 13px; margin: 0; }
dl.kv dd { margin: 0; color: var(--ink); font-weight: 500; text-align: right; }
