/* ── Take-away Weekend Finder UI (vrijditweekend.nl) ──────────────────────── */

:root {
  color-scheme: light;

  --bg: #FAF9F7;
  --bg-subtle: #F2F1EE;
  --bg-warm: #F1F8F7;
  --surface: #FFFFFF;

  --ink: #1A1A1A;
  --ink-2: #52525B;
  --ink-3: #6C6C74;

  --line: #E8E6E2;
  --line-strong: #8E8E93;

  /* Take-away oranje + Airbnb helderheid */
  --brand: #0B7A75;
  --brand-hover: #086661;
  --brand-soft: #E3F3F1;
  --brand-border: #A9D8D3;

  --deal-bg: #FFE58F;
  --deal-ink: #593800;

  --ok: #2E7D32;
  --err-soft: #FEF2F2;

  --shadow-pill: 0 3px 14px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.07);
  --shadow-bar: 0 12px 14px -8px rgba(0, 0, 0, 0.09);
  --shadow-float: 0 16px 40px rgba(0, 0, 0, 0.16);

  --r-card: 16px;
  --r-squircle: 20px;
  --r-pill: 999px;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
  background: var(--bg);
  color: var(--ink);
  scroll-padding-top: 148px;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
}

h1, h2, h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a {
  color: var(--brand);
  text-decoration: none;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--brand);
  color: #fff;
  font-weight: 400;
  border-radius: 0 0 10px 10px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  top: 0;
}

.shell {
  width: 100%;
  max-width: 1420px;
  margin-inline: auto;
  padding-inline: clamp(16px, 2.8vw, 40px);
}

/* ── Topbar: brand + weekend segmented toggle + Airbnb search dock ────────── */
.topbar {
  background: var(--bg);
  padding-bottom: 18px;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
  padding-block: 12px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.brand:hover {
  text-decoration: none;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex-shrink: 0;
}

.brand-wordmark {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--brand);
  /* Laatste letter heeft tracking aan de rechterkant; haal die eraf zodat het
     woordmerk optisch exact op de rasterlijn van de container begint. */
  display: inline-block;
  margin-right: -0.035em;
}

.brand-tld {
  color: var(--ink);
}

/* Delivery / Collection-style weekend toggle */
.weekend-pill {
  display: inline-flex;
  align-items: center;
  background: var(--bg-subtle);
  padding: 4px;
  border-radius: var(--r-pill);
  gap: 4px;
}

.weekend-pill-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  border-radius: var(--r-pill);
  padding: 8px 16px;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 400;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: background-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.weekend-pill-btn:hover {
  color: var(--ink);
}

.weekend-pill-btn[aria-pressed="true"] {
  background: var(--surface);
  color: var(--ink);
  font-weight: 400;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.09);
}

.weekend-pill-btn[aria-pressed="true"] svg {
  color: var(--brand);
}

.pill-sub {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--ink-3);
  padding-left: 7px;
  border-left: 1px solid var(--line);
}

@media (max-width: 600px) {
  .weekend-pill {
    order: 3;
    width: 100%;
  }

  .weekend-pill-btn {
    flex: 1;
    justify-content: center;
    padding: 9px 10px;
  }

  .pill-sub {
    display: none;
  }
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ghost-pill,
.icon-pill {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  border: 0;
  background: var(--surface);
  color: var(--ink);
  font: 400 0.875rem/1 var(--sans);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: background-color 120ms ease, box-shadow 120ms ease;
}

.ghost-pill:hover {
  background: var(--bg-subtle);
  text-decoration: none;
}

.icon-pill:hover {
  background: var(--bg-subtle);
}

.icon-pill[aria-pressed="true"] {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand);
}

.icon-pill[aria-pressed="true"] svg {
  fill: var(--brand);
  stroke: var(--brand);
}

@media (max-width: 520px) {
  /* De gidsen blijven bereikbaar: het is de enige content-sectie in de
     hoofdnavigatie en op mobiel verdween hij helemaal. */
  .ghost-pill:not(.ghost-pill--keep),
  .fav-top-label {
    display: none;
  }

  .ghost-pill--keep {
    padding: 0 12px;
    min-height: 38px;
    font-size: 0.82rem;
  }

  .icon-pill {
    padding: 0 11px;
  }
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding-inline: 6px;
  border-radius: var(--r-pill);
  background: var(--brand);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 400;
}

.pill-badge[hidden] {
  display: none;
}

/* Airbnb-style floating search dock */
.search-dock-wrap {
  display: flex;
  justify-content: center;
  margin-top: 4px;
}

.search-dock {
  width: 100%;
  max-width: 1040px;
  background: var(--surface);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-pill);
  padding: 6px 6px 6px 22px;
  display: grid;
  grid-template-columns: 1.1fr 0.82fr 0.9fr 0.9fr 0.82fr auto;
  align-items: center;
  gap: 4px;
}

.dock-segment {
  display: flex;
  flex-direction: column;
  padding: 4px 14px 4px 4px;
  border-right: 1px solid var(--line);
  min-width: 0;
}

.dock-segment:last-of-type {
  border-right: 0;
}

.dock-hint {
  margin: 1px 0 0;
  font-size: 0.7rem;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dock-hint[hidden] {
  display: none;
}

.dock-label {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--ink);
}

.dock-select {
  appearance: none;
  border: 0;
  background-color: transparent;
  color: var(--ink-2);
  font: 400 0.875rem/1.3 var(--sans);
  padding: 2px 18px 2px 0;
  cursor: pointer;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16' fill='none' stroke='%2371717A' stroke-width='2'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
}

.dock-select:focus {
  color: var(--ink);
}

.dock-input {
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 400 0.875rem/1.3 var(--sans);
  padding: 2px 4px 2px 0;
  width: 100%;
  min-width: 0;
}

.dock-input::placeholder {
  color: var(--ink-3);
}

.dock-cta {
  appearance: none;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--brand);
  color: #fff;
  min-height: 48px;
  padding: 0 22px;
  font: 400 0.9375rem/1 var(--sans);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 130ms ease, transform 80ms ease;
}

.dock-cta:hover {
  background: var(--brand-hover);
}

.dock-cta:active {
  transform: scale(0.98);
}

@media (max-width: 780px) {
  .search-dock {
    border-radius: 20px;
    padding: 10px;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .dock-segment {
    border-right: 0;
    background: var(--bg-subtle);
    border-radius: 12px;
    padding: 8px 12px;
  }

  .dock-segment:nth-child(1) {
    grid-column: 1 / -1;
  }

  .dock-cta {
    grid-column: 1 / -1;
    min-height: 46px;
    border-radius: 12px;
  }
}

/* ── Take-away category squircle strip ────────────────────────────────────── */
.category-strip-section {
  background: var(--bg);
  box-shadow: var(--shadow-bar);
  padding-block: 14px;
  position: sticky;
  top: 0;
  z-index: 40;
}

.vibe-strip {
  display: flex;
  align-items: flex-start;
  gap: clamp(10px, 1.6vw, 20px);
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.vibe-strip::-webkit-scrollbar {
  display: none;
}

/* Centreren, maar nog steeds scrollbaar als de tegels niet passen */
.vibe-strip > :first-child {
  margin-inline-start: auto;
}

.vibe-strip > :last-child {
  margin-inline-end: auto;
}

.vibe-tile {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 2px 4px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  min-width: 76px;
  color: var(--ink-2);
  font: inherit;
  transition: transform 120ms ease, color 120ms ease;
}

.vibe-tile:hover {
  color: var(--ink);
  transform: translateY(-2px);
}

.vibe-squircle {
  width: 60px;
  height: 60px;
  border-radius: var(--r-squircle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  border: 2px solid transparent;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.vibe-bg-orange { background: #FFF0E5; }
.vibe-bg-amber  { background: #FEF3C7; }
.vibe-bg-green  { background: #DCFCE7; }
.vibe-bg-sky    { background: #E0F2FE; }
.vibe-bg-rose   { background: #FFE4E6; }
.vibe-bg-cyan   { background: #CFFAFE; }
.vibe-bg-lime   { background: #ECFCCB; }
.vibe-bg-warm   { background: #FFEDD5; }
.vibe-bg-mint   { background: #D1FAE5; }
.vibe-bg-peach  { background: #FDE68A; }

.vibe-name {
  font-size: 0.78rem;
  font-weight: 400;
  white-space: nowrap;
}

.vibe-tile[aria-pressed="true"],
.vibe-tile.is-active {
  color: var(--ink);
}

.vibe-tile[aria-pressed="true"] .vibe-squircle,
.vibe-tile.is-active .vibe-squircle {
  border-color: var(--ink);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);
}

.vibe-tile[aria-pressed="true"] .vibe-name,
.vibe-tile.is-active .vibe-name {
  font-weight: 400;
}

@media (max-width: 640px) {
  .vibe-squircle {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    font-size: 1.45rem;
  }

  .vibe-tile {
    min-width: 66px;
  }
}

/* ── Two-column take-away marketplace layout ──────────────────────────────── */
.marketplace-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 264px;
  gap: 28px;
  padding-block: 18px 48px;
  align-items: start;
}

@media (max-width: 980px) {
  .marketplace-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}

/* Left sidebar: vlak, zonder kader, zoals de rest van de pagina */
.filter-sidebar {
  position: sticky;
  top: 136px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 6px 12px 12px;
  max-height: calc(100dvh - 156px);
  overflow-y: auto;
  scrollbar-width: thin;
}

.sidebar-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.places-heading {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.sync-sub {
  margin: 3px 0 0;
  font-size: 0.78rem;
  color: var(--ink-3);
  font-weight: 400;
}

/* Groen alleen wanneer er echt een controle heeft plaatsgevonden. */
.sync-sub.is-fresh {
  color: var(--ok);
}

.mobile-sheet-close {
  display: none;
}

.sidebar-group {
  padding-top: 6px;
}

.sidebar-group-title {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
}

.sidebar-label {
  display: block;
}

.sidebar-select {
  width: 100%;
  appearance: none;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background-color: var(--surface);
  color: var(--ink);
  font: 400 0.875rem/1.3 var(--sans);
  padding: 10px 32px 10px 12px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16' fill='none' stroke='%2352525B' stroke-width='2'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.sidebar-select:hover {
  border-color: var(--ink-3);
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--ink-2);
  cursor: pointer;
}

.check-row {
  padding: 6px 8px;
  margin-inline: -8px;
  border-radius: 10px;
  transition: background-color 120ms ease, color 120ms ease;
}

.check-row:hover {
  color: var(--ink);
  background: var(--bg-subtle);
}

.check-row input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin: 0;
  border: 1.5px solid var(--line-strong);
  border-radius: 5px;
  background: var(--surface);
  cursor: pointer;
  position: relative;
  transition: background-color 120ms ease, border-color 120ms ease;
}

/* Vinkje als CSS, niet als ingebakken browser-glyph: zo blijft het streepje
   even dik als de rest van de iconen en klopt de uitlijning op elke browser. */
.check-row input[type="checkbox"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: no-repeat center / 11px 9px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10' fill='none'%3E%3Cpath d='M1 5.2 4.4 8.5 11 1.5' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  opacity: 0;
  transition: opacity 100ms ease;
}

.check-row input[type="checkbox"]:checked {
  background-color: var(--brand);
  border-color: var(--brand);
}

.check-row input[type="checkbox"]:checked::after {
  opacity: 1;
}

.check-row input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.check-row input[type="checkbox"]:hover:not(:checked) {
  border-color: var(--ink-3);
}

.check-row:has(input:checked) {
  color: var(--ink);
  font-weight: 500;
}

.clear-all-btn {
  appearance: none;
  border: 1px solid var(--line-strong);
  background: var(--bg-subtle);
  color: var(--ink);
  border-radius: var(--r-pill);
  padding: 9px 14px;
  font: 400 0.82rem/1.2 var(--sans);
  cursor: pointer;
}

.clear-all-btn:hover {
  background: var(--line);
}

.clear-all-btn[hidden] {
  display: none;
}

.trust-card {
  background: var(--bg-warm);
  border: 1px solid var(--brand-border);
  border-radius: 14px;
  padding: 13px 14px;
  font-size: 0.78rem;
  color: var(--ink-2);
}

.trust-card strong {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
  font-size: 0.82rem;
}

.trust-card p {
  margin: 0;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .filter-sidebar {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    top: auto;
    max-height: 86dvh;
    overflow-y: auto;
    background: var(--surface);
    z-index: 120;
    padding: 20px 20px max(24px, env(safe-area-inset-bottom, 0px));
    border-radius: 22px 22px 0 0;
    max-height: 86dvh;
    box-shadow: var(--shadow-float);
    display: none;
  }

  .filter-sidebar.is-open {
    display: flex;
  }

  .mobile-sheet-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: var(--brand);
    color: #fff;
    font: 400 0.85rem/1 var(--sans);
    padding: 9px 16px;
    border-radius: var(--r-pill);
    cursor: pointer;
  }
}

.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 110;
}

.mobile-backdrop[hidden] {
  display: none;
}

/* ── Feed column ──────────────────────────────────────────────────────────── */
.feed-column {
  min-width: 0;
  overflow-x: clip;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feed-controls-bar {
  display: none;
}

@media (max-width: 980px) {
  .feed-controls-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
  }
}

.shelf-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Op smalle schermen past de kop en de sorteerkeuze niet naast elkaar: de
   titel wordt dan tot drie woorden per regel samen-geperst. Zet ze onder
   elkaar en laat de select de volle breedte nemen. */
@media (max-width: 640px) {
  .shelf-head {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .shelf-actions {
    justify-content: space-between;
    width: 100%;
  }

  .shelf-actions .sort-pill-wrap {
    flex: 1 1 auto;
    justify-content: flex-end;
  }

  .shelf-actions .sort-select {
    flex: 1 1 auto;
    max-width: 220px;
    min-height: 42px;
  }

  .sort-label {
    font-size: 0.8rem;
  }
}

/* De plakkende categorierij mag de kop eronder niet afdekken. */
@media (max-width: 980px) {
  .category-strip-section {
    position: static;
    box-shadow: none;
    border-block: 1px solid var(--line);
    padding-block: 10px;
  }
}

.mobile-filter-trigger {
  display: none;
}

@media (max-width: 980px) {
  .mobile-filter-trigger {
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 46px;
    padding: 0 16px;
    border-radius: var(--r-pill);
    border: 1px solid var(--line-strong);
    background: var(--surface);
    color: var(--ink);
    font: 400 0.875rem/1 var(--sans);
    cursor: pointer;
  }
}

.sort-pill-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sort-label {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--ink);
  white-space: nowrap;
}

.sort-select {
  border: 1px solid var(--line-strong);
  background-color: var(--surface);
  color: var(--ink);
  border-radius: var(--r-pill);
  min-height: 46px;
  padding: 0 34px 0 16px;
  font: 400 0.875rem/1 var(--sans);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 16 16' fill='none' stroke='%231A1A1A' stroke-width='2'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
}

.active-chips-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: -14px;
}

@media (max-width: 980px) {
  .sort-pill-wrap {
    margin-inline-start: auto;
  }
}

.active-chips-bar[hidden] {
  display: none;
}

.active-chip {
  appearance: none;
  border: 1px solid var(--brand-border);
  background: var(--brand-soft);
  color: var(--ink);
  border-radius: var(--r-pill);
  padding: 6px 12px;
  font: 400 0.8rem/1 var(--sans);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.active-chip:hover {
  border-color: var(--brand);
}

/* Recently viewed strip */
.recent-strip-section[hidden],
.shelves-wrapper[hidden] {
  display: none;
}

.recent-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.recent-strip::-webkit-scrollbar {
  display: none;
}

.recent-mini-card {
  flex: 0 0 270px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: var(--surface);
  border: 0;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  text-align: left;
  font: inherit;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.recent-mini-card:hover {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.11);
}

.recent-mini-thumb {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--bg-subtle);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.recent-mini-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.recent-mini-title {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recent-mini-sub {
  font-size: 0.78rem;
  color: var(--ink-2);
}

/* ── Horizontal discovery shelves ─────────────────────────────────────────── */
.shelves-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.shelf-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.shelf-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.shelf-title {
  margin: 0;
  font-size: clamp(1.18rem, 1.8vw, 1.42rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.shelf-subtitle {
  margin: 3px 0 0;
  font-size: 0.82rem;
  color: var(--ink-3);
}

.shelf-nav-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.shelf-arrow-btn {
  appearance: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  box-shadow: var(--shadow-card);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: background-color 120ms ease, transform 80ms ease;
}

.shelf-arrow-btn:hover {
  background: var(--bg-subtle);
}

.shelf-arrow-btn:active {
  transform: scale(0.95);
}

.shelf-action-btn {
  appearance: none;
  border: 0;
  box-shadow: var(--shadow-card);
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--r-pill);
  padding: 7px 14px;
  font: 400 0.8rem/1 var(--sans);
  cursor: pointer;
}

.shelf-action-btn:hover {
  background: var(--bg-subtle);
}

.shelf-action-btn[hidden] {
  display: none;
}

.shelf-scroller-wrap {
  position: relative;
}

.shelf-scroller-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 6px;
  width: 48px;
  background: linear-gradient(to right, rgba(250, 249, 247, 0), var(--bg));
  pointer-events: none;
}

.shelf-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(224px, 252px);
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  max-width: 100%;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-right: 28px;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.shelf-scroller::-webkit-scrollbar {
  display: none;
}

.shelf-scroller > * {
  scroll-snap-align: start;
}

/* ── Photo-first cards grid ───────────────────────────────────────────────── */
.all-stays-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(224px, 1fr));
  gap: 24px 18px;
}

.stay-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--r-card);
  min-width: 0;
  transition: transform 150ms ease;
}

@media (hover: hover) {
  .stay-card:hover {
    transform: translateY(-2px);
  }
}

.card-media {
  position: relative;
}

.card-photo-wrap {
  appearance: none;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  font: inherit;
  text-align: left;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--bg-subtle);
  cursor: pointer;
}

.card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 260ms ease;
}

@media (hover: hover) {
  .stay-card:hover .card-photo {
    transform: scale(1.03);
  }
}

.card-photo-placeholder {
  width: 100%;
  height: 100%;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(145deg, #E3F3F1 0%, #C9E8E4 55%, #A9D8D3 100%);
  color: #0A3B38;
}

.placeholder-emoji {
  font-size: 2.2rem;
  margin-bottom: auto;
}

.placeholder-place {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.placeholder-reg {
  font-size: 0.78rem;
  opacity: 0.8;
}

.card-fav-btn {
  appearance: none;
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
  transition: transform 110ms ease, background-color 110ms ease;
}

.card-fav-btn:hover {
  background: #FFFFFF;
  transform: scale(1.07);
}

.card-fav-btn[aria-pressed="true"] {
  color: #E11D48;
}

.card-fav-btn[aria-pressed="true"] svg {
  fill: #E11D48;
  stroke: #E11D48;
}

.card-body {
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.card-loc {
  margin: 3px 0 0;
  color: var(--ink-2);
  font-size: 0.8rem;
  line-height: 1.35;
}

.card-specs-line {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-perks {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  min-height: 24px;
  overflow: hidden;
}

.perk-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--bg-subtle);
  color: var(--ink-2);
  white-space: nowrap;
  flex-shrink: 0;
}

.card-footer {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.card-price-stack {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
  overflow: hidden;
}

.card-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  white-space: nowrap;
}

.card-price-now {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.card-price-old {
  font-size: 0.78rem;
  color: var(--ink-3);
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}

.card-price-sub {
  font-size: 0.73rem;
  color: var(--ink-3);
}

.card-provider {
  font-size: 0.72rem;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-go-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  background: var(--brand);
  color: #FFFFFF !important;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: background-color 120ms ease, transform 80ms ease;
}

.card-go-btn:hover {
  background: var(--brand-hover);
}

.card-go-btn:active {
  transform: scale(0.97);
}

/* ── Buttons & status cards ───────────────────────────────────────────────── */
.cta-btn {
  appearance: none;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--brand);
  color: #FFFFFF;
  padding: 11px 20px;
  font: 400 0.9rem/1.2 var(--sans);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.cta-btn:hover {
  background: var(--brand-hover);
  text-decoration: none;
}

.secondary-btn {
  appearance: none;
  border: 0;
  box-shadow: var(--shadow-card);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--ink);
  padding: 10px 18px;
  font: 400 0.875rem/1.2 var(--sans);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.secondary-btn:hover {
  background: var(--bg-subtle);
}

.secondary-btn-sm {
  padding: 7px 13px;
  font-size: 0.8rem;
}

.status-card {
  background: var(--bg-subtle);
  border-radius: 20px;
  padding: 40px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.status-card[hidden] {
  display: none;
}

.status-card-error {
  background: var(--err-soft);
}

.status-emoji {
  font-size: 2.3rem;
}

.status-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
}

.status-text {
  margin: 0 0 12px;
  max-width: 44ch;
  color: var(--ink-2);
  font-size: 0.9rem;
}

.status-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Skeletons */
.skel-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skel-photo {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-card);
  background: #EDECE9;
  animation: pulse 1.4s ease-in-out infinite;
}

.skel-line {
  height: 13px;
  border-radius: 6px;
  background: #EDECE9;
  animation: pulse 1.4s ease-in-out infinite;
}

.skel-w75 { width: 75%; }
.skel-w50 { width: 52%; }
.skel-w40 { width: 38%; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* ── Quick-view detail sheet ──────────────────────────────────────────────── */
.detail-dialog {
  border: 0;
  border-radius: 22px 22px 0 0;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-float);
  width: 100%;
  max-width: 100%;
  max-height: 92dvh;
  margin: auto 0 0 0;
  padding: 0;
  overflow-y: auto;
}

.detail-dialog::backdrop {
  background: rgba(0, 0, 0, 0.5);
}

@media (min-width: 720px) {
  .detail-dialog {
    width: min(660px, calc(100vw - 32px));
    max-height: 88dvh;
    margin: auto;
    border-radius: 22px;
  }
}

.dialog-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dialog-kicker {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--ink-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dialog-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-close-btn {
  appearance: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  box-shadow: var(--shadow-card);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 400;
  cursor: pointer;
}

.icon-close-btn:hover {
  background: var(--bg-subtle);
}

.dialog-body {
  padding: 20px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.dialog-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 260px;
  object-fit: cover;
  border-radius: 16px;
  background: var(--bg-subtle);
}

.dialog-title {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.dialog-summary {
  margin: 6px 0 0;
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.55;
}

.dialog-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dialog-chip {
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--bg-subtle);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--ink);
}

.dialog-section-title {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 800;
}

.dialog-list {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-2);
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.checkout-box {
  background: var(--bg-warm);
  border: 1px solid var(--brand-border);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--ink-2);
}

.checkout-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.checkout-total {
  border-top: 1px solid var(--brand-border);
  padding-top: 10px;
  margin-top: 4px;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--ink);
}

.checkout-cta {
  width: 100%;
  min-height: 48px;
  font-size: 1rem;
}

.partner-note {
  margin: 0;
  font-size: 0.74rem;
  color: var(--ink-3);
  text-align: center;
}

/* ── Footer & consent ─────────────────────────────────────────────────────── */
.site-footer {
  margin-top: auto;
  background: var(--bg-subtle);
  padding-block: 28px 34px;
  font-size: 0.82rem;
  color: var(--ink-2);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand-col {
  max-width: 60ch;
}

.footer-brand-col p {
  margin: 6px 0 0;
  color: var(--ink-3);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a,
.footer-link-btn {
  color: var(--ink-2);
  font-weight: 400;
  text-decoration: none;
}

.footer-links a:hover,
.footer-link-btn:hover {
  color: var(--brand);
  text-decoration: underline;
}

.footer-link-btn {
  appearance: none;
  border: 0;
  padding: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}

.consent-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 150;
  background: var(--surface);
  border-top: 1px solid var(--line-strong);
  box-shadow: var(--shadow-float);
  padding-block: 14px max(14px, env(safe-area-inset-bottom, 0px));
}

.consent-bar[hidden] {
  display: none;
}

/* Ruimte vrijhouden zolang de vaste toestemmingsbalk in beeld staat. */
body.has-consent-bar {
  padding-bottom: 132px;
}

@media (max-width: 700px) {
  body.has-consent-bar {
    padding-bottom: 176px;
  }
}

.noscript-note {
  margin: 0;
  padding: 14px clamp(16px, 2.8vw, 40px);
  background: var(--deal-bg);
  color: var(--deal-ink);
  font-size: 0.9rem;
}

.consent-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.consent-copy {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-2);
  max-width: 72ch;
}

.consent-actions {
  display: flex;
  gap: 8px;
}

/* ── Secondary prose pages (/over-ons & /privacy) ─────────────────────────── */
.site-header {
  box-shadow: var(--shadow-bar);
  background: var(--bg);
}

.container {
  width: 100%;
  max-width: 1020px;
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 32px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
  flex-wrap: wrap;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.brand-link:hover {
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand);
}

.header-end {
  display: flex;
  align-items: center;
}

.site-nav {
  display: flex;
  gap: 6px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  color: var(--ink-2);
  font-size: 0.875rem;
  font-weight: 400;
  text-decoration: none;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  background: var(--bg-subtle);
  color: var(--ink);
  text-decoration: none;
}

.prose-shell {
  padding-block: 36px 64px;
}

.prose-header {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}

.prose-header h1 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.022em;
}

.prose-lede {
  margin: 10px 0 0;
  color: var(--ink-2);
  max-width: 65ch;
}

.prose-section {
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}

.prose-section h2 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 800;
}

.prose-body {
  color: var(--ink-2);
  max-width: 68ch;
}

.prose-body p {
  margin: 0 0 10px;
}

.prose-body ul {
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.colofon-box {
  background: var(--bg-warm);
  border: 1px solid var(--brand-border);
  border-radius: 14px;
  padding: 16px;
  font-size: 0.9rem;
}

.btn {
  appearance: none;
  border: 0;
  box-shadow: var(--shadow-card);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--ink);
  padding: 9px 16px;
  font: 400 0.85rem/1.2 var(--sans);
  cursor: pointer;
}

.btn:hover {
  background: var(--bg-subtle);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Vaste SEO-landingspagina's ───────────────────────────────────────────── */
.seo-header {
  position: static;
}

.seo-breadcrumbs {
  margin: 18px 0 0;
  font-size: 0.82rem;
  color: var(--ink-3);
}

.seo-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.seo-breadcrumbs li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--line-strong);
}

.seo-breadcrumbs a {
  color: var(--ink-2);
}

.seo-hero {
  padding: 16px 0 18px;
  border-bottom: 1px solid var(--line);
}

.seo-hero h1 {
  max-width: 26ch;
  margin: 0 0 10px;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  line-height: 1.14;
  letter-spacing: -0.024em;
}

.seo-lede {
  max-width: 62ch;
  margin: 0;
  color: var(--ink-2);
  font-size: 1.05rem;
  line-height: 1.55;
}

.seo-links {
  margin: 16px 0 0;
  font-size: 0.95rem;
}

.seo-sync {
  margin: 12px 0 0;
  color: var(--ink-3);
  font-size: 0.8rem;
}

.seo-section {
  padding-top: 22px;
}

.seo-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.seo-section-head h2 {
  margin: 0;
  font-size: 1.2rem;
}

.seo-section-head p {
  margin: 0;
  color: var(--ink-3);
  font-size: 0.82rem;
}

.seo-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
}

.seo-card .card-body {
  padding: 10px 12px 12px;
}

.seo-card-title {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.32;
  /* Geen regelafkap: een afgekapte titel leest als een fout en verbergt waar
     het huisje ligt. De kaarten in een rij blijven even hoog doordat de
     prijsregel onderaan vastzit (margin-top:auto op .card-footer). */
  overflow-wrap: anywhere;
}

.seo-card-title a {
  color: var(--ink);
}

.seo-specs {
  margin: 4px 0 0;
  color: var(--ink-3);
  font-size: 0.78rem;
}

.seo-price-note {
  display: block;
  margin-top: 2px;
  color: var(--ink-3);
  font-size: 0.72rem;
}

.seo-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #dff1ee, #f4f9f8);
  color: var(--brand);
  font-size: 2rem;
}

.seo-more {
  margin: 14px 0 0;
  font-size: 0.9rem;
}

.seo-empty {
  padding: 20px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink-2);
}

.seo-empty p {
  margin: 0 0 8px;
}

.seo-empty p:last-child {
  margin-bottom: 0;
}

.seo-related {
  padding-top: 26px;
}

.seo-related h2 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.seo-link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seo-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 0.86rem;
}

.seo-link:hover {
  border-color: var(--brand-border);
  color: var(--brand);
  text-decoration: none;
}

.seo-stay-page {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: start;
  padding-top: 18px;
}

.seo-stay-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  background: var(--surface);
}

.seo-stay-meta {
  margin: 0 0 10px;
  color: var(--ink-3);
  font-size: 0.82rem;
}

.seo-stay-body h1 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1.12;
}

.seo-stay-price {
  margin: 16px 0;
  padding: 14px 16px;
  border: 1px solid var(--brand-border);
  border-radius: 12px;
  background: #f2faf9;
}

.seo-stay-price strong {
  display: block;
  font-size: 1.35rem;
}

.seo-stay-price span {
  color: var(--ink-2);
  font-size: 0.82rem;
}

.seo-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  border-radius: var(--r-pill);
  background: var(--brand);
  color: #ffffff;
  font: 400 0.9rem/1.2 var(--sans);
  text-decoration: none;
}

.seo-cta:visited {
  color: #ffffff;
}

.seo-cta:hover {
  background: var(--brand-hover);
  text-decoration: none;
}

.seo-stay-details {
  padding-top: 30px;
}

.seo-stay-details h2 {
  margin: 22px 0 10px;
  font-size: 1.1rem;
}

.seo-list {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-2);
}

.seo-list li {
  margin-bottom: 4px;
}

@media (max-width: 760px) {
  .seo-stay-page {
    grid-template-columns: 1fr;
  }

  .seo-hero h1 {
    max-width: none;
  }

  .seo-section-head {
    display: block;
  }

  .seo-section-head p {
    margin-top: 4px;
  }
}

.footer-destinations {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.footer-destinations h2 {
  margin: 0 0 8px;
  color: var(--ink-2);
  font-size: 0.8rem;
  font-weight: 800;
}

.footer-destinations ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-destinations a {
  color: var(--ink-2);
  font-size: 0.82rem;
}

/* ── Server-side homepage content ─────────────────────────────────────────── */
.feed-intro {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feed-intro h1 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

.feed-intro p {
  max-width: 62ch;
  margin: 0;
  color: var(--ink-2);
  font-size: 0.98rem;
  line-height: 1.55;
}

/* ── Live beschikbaarheid badge + gecheckt-regel ───────────────────────────── */
/* ── Beschikbaarheidsregel boven de titel ─────────────────────────────────── */
.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
}

.meta-avail {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #14380F;
  font-size: 0.74rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.22);
}

.checked-line {
  margin: 8px 0 0;
  color: var(--ink-3);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
}

/* ── Homepage SEO-blokken ─────────────────────────────────────────────────── */
.home-seo-blocks {
  padding-block: 8px 48px;
}

.home-seo-blocks h2 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.home-seo-blocks h2 + .seo-link-grid + h2 {
  margin-top: 24px;
}

/* ── Gidsen ───────────────────────────────────────────────────────────────── */
.guide-index-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}

.guide-index-item {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.guide-index-link {
  font-size: 1.05rem;
  line-height: 1.3;
}

.guide-index-title {
  color: var(--ink);
}

.guide-index-summary {
  max-width: 68ch;
  margin: 6px 0 0;
  color: var(--ink-2);
  font-size: 0.92rem;
  line-height: 1.55;
}

.guide-body {
  max-width: 70ch;
  padding-top: 8px;
}

.guide-section {
  margin-top: 28px;
}

.guide-section h2 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  line-height: 1.3;
}

.guide-section p {
  margin: 0 0 12px;
  color: var(--ink-2);
  line-height: 1.65;
}

.guide-article {
  display: block;
}

.affiliate-disclaimer {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 0.78rem;
  line-height: 1.5;
}

/* ── Kaartvoet: prijs en CTA botsen nooit meer op smalle kolommen ─────────── */
.seo-card .cards-grid,
.cards-grid.seo-grid {
  grid-template-columns: repeat(auto-fill, minmax(218px, 1fr));
  gap: 18px 14px;
}

.card-footer {
  flex-wrap: nowrap;
  align-items: flex-end;
}

.card-price-stack {
  flex: 1 1 auto;
}

.card-go-btn {
  flex: 0 0 auto;
  justify-content: center;
  /* 44px op touch: de knop is de enige conversieknop per kaart en zat op
     38px, onder de comfortabele tikhoogte. Horizontaal ongewijzigd, want de
     prijsregel ernaast heeft die ruimte nodig. */
  min-height: 44px;
  padding-block: 0;
}

.card-price-now {
  white-space: nowrap;
}

.card-perks {
  flex-wrap: wrap;
  overflow: visible;
}

/* ── Zoeklinks per aanbieder ──────────────────────────────────────────────── */
.provider-links {
  padding-top: 26px;
}

.provider-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.provider-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--ink-2);
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
}

.provider-link:hover {
  border-color: var(--brand-border);
  color: var(--brand);
  text-decoration: none;
}

/* ── Live-kaarten: korting en schaarste als tekst, niet als overlay ────────── */
.live-grid .card-media {
  position: relative;
}

.meta-deal,
.meta-scarce {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: 5px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}

.meta-deal {
  background: #B3261E;
  color: #FFFFFF;
}

.meta-scarce {
  background: #FFF3E0;
  color: #7A3200;
}

.live-review {
  margin: 6px 0 0;
  font-size: 0.8rem;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-score {
  display: inline-block;
  min-width: 30px;
  padding: 2px 6px;
  margin-right: 6px;
  border-radius: 6px;
  background: var(--ok);
  color: #FFFFFF;
  font-weight: 800;
  text-align: center;
}

/* ── Volgend weekend op de homepage ───────────────────────────────────────── */
.live-next-section {
  padding-block: 36px 8px;
  border-top: 1px solid var(--line);
  margin-top: 36px;
}

.live-next-section h2 {
  margin: 0 0 14px;
  font-size: clamp(1.18rem, 1.8vw, 1.42rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Gidsen en regiokaarten onderaan: minder lucht dan de standaard sectie. */
.live-section .seo-section-head {
  margin-bottom: 12px;
}

/* Titel als knop in de interactief gerenderde kaart: zelfde maat en ritme als
   de server-gerenderde <h3>, anders verspringt de kaarthoogte bij het verversen. */
.seo-card-title-btn {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  background: none;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.32;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
  display: block;
  overflow-wrap: anywhere;
}

.seo-card-title-btn:hover {
  text-decoration: underline;
}

/* ── Kaarten in de carrousels zijn smaller dan het grid ───────────────────── */
/* Zonder deze regels botst de prijs met de knop zodra de kolom 224px is. */
.shelf-scroller .card-price-now {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.shelf-scroller .seo-price-note {
  font-size: 0.72rem;
}

.shelf-scroller .card-go-btn {
  padding-inline: 12px;
  font-size: 0.8rem;
}

.shelf-scroller .seo-card-title {
  font-size: 0.9rem;
}

.shelf-scroller .card-footer {
  gap: 6px;
}
