html { background: var(--hf-color-background, #fff); }
body { margin: 0; }
.noUi-target,.noUi-target *{-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;-ms-touch-action:none;touch-action:none;-ms-user-select:none;-moz-user-select:none;user-select:none;-moz-box-sizing:border-box;box-sizing:border-box}.noUi-target{position:relative}.noUi-base,.noUi-connects{width:100%;height:100%;position:relative;z-index:1}.noUi-connects{overflow:hidden;z-index:0}.noUi-connect,.noUi-origin{will-change:transform;position:absolute;z-index:1;top:0;right:0;height:100%;width:100%;-ms-transform-origin:0 0;-webkit-transform-origin:0 0;-webkit-transform-style:preserve-3d;transform-origin:0 0;transform-style:flat}.noUi-txt-dir-rtl.noUi-horizontal .noUi-origin{left:0;right:auto}.noUi-vertical .noUi-origin{top:-100%;width:0}.noUi-horizontal .noUi-origin{height:0}.noUi-handle{-webkit-backface-visibility:hidden;backface-visibility:hidden;position:absolute}.noUi-touch-area{height:100%;width:100%}.noUi-state-tap .noUi-connect,.noUi-state-tap .noUi-origin{-webkit-transition:transform .3s;transition:transform .3s}.noUi-state-drag *{cursor:inherit!important}.noUi-horizontal{height:18px}.noUi-horizontal .noUi-handle{width:34px;height:28px;right:-17px;top:-6px}.noUi-vertical{width:18px}.noUi-vertical .noUi-handle{width:28px;height:34px;right:-6px;bottom:-17px}.noUi-txt-dir-rtl.noUi-horizontal .noUi-handle{left:-17px;right:auto}.noUi-target{background:#FAFAFA;border-radius:4px;border:1px solid #D3D3D3;box-shadow:inset 0 1px 1px #F0F0F0,0 3px 6px -5px #BBB}.noUi-connects{border-radius:3px}.noUi-connect{background:#3FB8AF}.noUi-draggable{cursor:ew-resize}.noUi-vertical .noUi-draggable{cursor:ns-resize}.noUi-handle{border:1px solid #D9D9D9;border-radius:3px;background:#FFF;cursor:default;box-shadow:inset 0 0 1px #FFF,inset 0 1px 7px #EBEBEB,0 3px 6px -3px #BBB}.noUi-active{box-shadow:inset 0 0 1px #FFF,inset 0 1px 7px #DDD,0 3px 6px -3px #BBB}.noUi-handle:after,.noUi-handle:before{content:"";display:block;position:absolute;height:14px;width:1px;background:#E8E7E6;left:14px;top:6px}.noUi-handle:after{left:17px}.noUi-vertical .noUi-handle:after,.noUi-vertical .noUi-handle:before{width:14px;height:1px;left:6px;top:14px}.noUi-vertical .noUi-handle:after{top:17px}[disabled] .noUi-connect{background:#B8B8B8}[disabled] .noUi-handle,[disabled].noUi-handle,[disabled].noUi-target{cursor:not-allowed}.noUi-pips,.noUi-pips *{-moz-box-sizing:border-box;box-sizing:border-box}.noUi-pips{position:absolute;color:#999}.noUi-value{position:absolute;white-space:nowrap;text-align:center}.noUi-value-sub{color:#ccc;font-size:10px}.noUi-marker{position:absolute;background:#CCC}.noUi-marker-sub{background:#AAA}.noUi-marker-large{background:#AAA}.noUi-pips-horizontal{padding:10px 0;height:80px;top:100%;left:0;width:100%}.noUi-value-horizontal{-webkit-transform:translate(-50%,50%);transform:translate(-50%,50%)}.noUi-rtl .noUi-value-horizontal{-webkit-transform:translate(50%,50%);transform:translate(50%,50%)}.noUi-marker-horizontal.noUi-marker{margin-left:-1px;width:2px;height:5px}.noUi-marker-horizontal.noUi-marker-sub{height:10px}.noUi-marker-horizontal.noUi-marker-large{height:15px}.noUi-pips-vertical{padding:0 10px;height:100%;top:0;left:100%}.noUi-value-vertical{-webkit-transform:translate(0,-50%);transform:translate(0,-50%);padding-left:25px}.noUi-rtl .noUi-value-vertical{-webkit-transform:translate(0,50%);transform:translate(0,50%)}.noUi-marker-vertical.noUi-marker{width:5px;height:2px;margin-top:-1px}.noUi-marker-vertical.noUi-marker-sub{width:10px}.noUi-marker-vertical.noUi-marker-large{width:15px}.noUi-tooltip{display:block;position:absolute;border:1px solid #D9D9D9;border-radius:3px;background:#fff;color:#000;padding:5px;text-align:center;white-space:nowrap}.noUi-horizontal .noUi-tooltip{-webkit-transform:translate(-50%,0);transform:translate(-50%,0);left:50%;bottom:120%}.noUi-vertical .noUi-tooltip{-webkit-transform:translate(0,-50%);transform:translate(0,-50%);top:50%;right:120%}.noUi-horizontal .noUi-origin>.noUi-tooltip{-webkit-transform:translate(50%,0);transform:translate(50%,0);left:auto;bottom:10px}.noUi-vertical .noUi-origin>.noUi-tooltip{-webkit-transform:translate(0,-18px);transform:translate(0,-18px);top:auto;right:28px}
/*! jQuery Nice Select 1.1.0 CSS · Hernán Sartorio · MIT (bower.json) / ISC (package.json) */
.nice-select {
  -webkit-tap-highlight-color: transparent;
  background-color: #fff;
  border-radius: 5px;
  border: solid 1px #e8e8e8;
  box-sizing: border-box;
  clear: both;
  cursor: pointer;
  display: block;
  float: left;
  font-family: inherit;
  font-size: 14px;
  font-weight: normal;
  height: 42px;
  line-height: 40px;
  outline: none;
  padding-left: 18px;
  padding-right: 30px;
  position: relative;
  text-align: left !important;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  white-space: nowrap;
  width: auto; }
  .nice-select:hover {
    border-color: #dbdbdb; }
  .nice-select:active, .nice-select.open, .nice-select:focus {
    border-color: #999; }
  .nice-select:after {
    border-bottom: 2px solid #999;
    border-right: 2px solid #999;
    content: '';
    display: block;
    height: 5px;
    margin-top: -4px;
    pointer-events: none;
    position: absolute;
    right: 12px;
    top: 50%;
    -webkit-transform-origin: 66% 66%;
        -ms-transform-origin: 66% 66%;
            transform-origin: 66% 66%;
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
    -webkit-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;
    width: 5px; }
  .nice-select.open:after {
    -webkit-transform: rotate(-135deg);
        -ms-transform: rotate(-135deg);
            transform: rotate(-135deg); }
  .nice-select.open .list {
    opacity: 1;
    pointer-events: auto;
    -webkit-transform: scale(1) translateY(0);
        -ms-transform: scale(1) translateY(0);
            transform: scale(1) translateY(0); }
  .nice-select.disabled {
    border-color: #ededed;
    color: #999;
    pointer-events: none; }
    .nice-select.disabled:after {
      border-color: #cccccc; }
  .nice-select.wide {
    width: 100%; }
    .nice-select.wide .list {
      left: 0 !important;
      right: 0 !important; }
  .nice-select.right {
    float: right; }
    .nice-select.right .list {
      left: auto;
      right: 0; }
  .nice-select.small {
    font-size: 12px;
    height: 36px;
    line-height: 34px; }
    .nice-select.small:after {
      height: 4px;
      width: 4px; }
    .nice-select.small .option {
      line-height: 34px;
      min-height: 34px; }
  .nice-select .list {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 0 1px rgba(68, 68, 68, 0.11);
    box-sizing: border-box;
    margin-top: 4px;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    pointer-events: none;
    position: absolute;
    top: 100%;
    left: 0;
    -webkit-transform-origin: 50% 0;
        -ms-transform-origin: 50% 0;
            transform-origin: 50% 0;
    -webkit-transform: scale(0.75) translateY(-21px);
        -ms-transform: scale(0.75) translateY(-21px);
            transform: scale(0.75) translateY(-21px);
    -webkit-transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
    transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
    z-index: 9; }
    .nice-select .list:hover .option:not(:hover) {
      background-color: transparent !important; }
  .nice-select .option {
    cursor: pointer;
    font-weight: 400;
    line-height: 40px;
    list-style: none;
    min-height: 40px;
    outline: none;
    padding-left: 18px;
    padding-right: 29px;
    text-align: left;
    -webkit-transition: all 0.2s;
    transition: all 0.2s; }
    .nice-select .option:hover, .nice-select .option.focus, .nice-select .option.selected.focus {
      background-color: #f6f6f6; }
    .nice-select .option.selected {
      font-weight: bold; }
    .nice-select .option.disabled {
      background-color: transparent;
      color: #999;
      cursor: default; }

.no-csspointerevents .nice-select .list {
  display: none; }

.no-csspointerevents .nice-select.open .list {
  display: block; }

/* Woningzoeker.ui.lightbox/dialog: eigen basisopmaak op Fancybox-3-classnamen.
   Project-CSS die .fancybox-* stylet komt hierna en wint. */
dialog.fancybox-container {
  position: fixed;
  inset: 0;
  z-index: 99992;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #eee;
  overflow: hidden;
  outline: none;
}
dialog.fancybox-container::backdrop { background: transparent; }
body.fancybox-active { overflow: hidden; }
.fancybox-bg {
  position: absolute;
  inset: 0;
  background: #1e1e1e;
  opacity: 0;
  transition: opacity .25s ease;
}
.fancybox-is-open .fancybox-bg { opacity: .87; }
.fancybox-inner, .fancybox-stage { position: absolute; inset: 0; }
.fancybox-stage { touch-action: pan-y; user-select: none; }
.fancybox-infobar, .fancybox-toolbar, .fancybox-navigation, .fancybox-caption {
  position: absolute;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease;
}
.fancybox-show-infobar .fancybox-infobar,
.fancybox-show-toolbar .fancybox-toolbar,
.fancybox-show-nav .fancybox-navigation,
.fancybox-show-caption .fancybox-caption { opacity: 1; visibility: visible; }
.fancybox-infobar { top: 0; left: 0; padding: 0 12px; font-size: 13px; line-height: 44px; }
.fancybox-toolbar { top: 0; right: 0; }
/* De pijlen positioneren zich op .fancybox-inner. */
.fancybox-navigation { position: static; }
.fancybox-navigation .fancybox-button {
  position: absolute;
  z-index: 2;
  top: calc(50% - 50px);
  width: 70px;
  height: 100px;
  padding: 31px 20px;
  background: transparent;
}
.fancybox-navigation .fancybox-button div { padding: 7px; background: rgba(30, 30, 30, .6); }
.fancybox-button--arrow_left { left: 0; }
.fancybox-button--arrow_right { right: 0; }
.fancybox-button {
  display: inline-block;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 10px;
  border: 0;
  border-radius: 0;
  background: rgba(30, 30, 30, .6);
  color: #ccc;
  cursor: pointer;
  vertical-align: top;
  transition: color .2s;
}
.fancybox-button:hover { color: #fff; }
.fancybox-button[disabled] { color: #888; cursor: default; }
.fancybox-button svg { display: block; width: 100%; height: 100%; }
.fancybox-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 44px;
  overflow: auto;
}
.fancybox-slide--image { padding: 44px 0; overflow: hidden; }
.fancybox-content { position: relative; max-width: 100%; max-height: 100%; }
.fancybox-slide--html .fancybox-content {
  box-sizing: border-box;
  max-height: none;
  margin: auto;
  padding: 44px;
  background: #fff;
  color: #444;
  overflow: auto;
}
.fancybox-image { display: block; max-width: 100%; max-height: calc(100vh - 88px); }
.fancybox-slide--iframe .fancybox-content { width: 100%; height: 100%; background: #000; }
.fancybox-iframe { display: block; width: 100%; height: 100%; border: 0; }
.fancybox-close-small {
  position: absolute;
  top: 0;
  right: 0;
  padding: 8px;
  background: transparent;
  color: #555;
}
.fancybox-caption {
  right: 0;
  bottom: 0;
  left: 0;
  padding: 25px 44px;
  background: linear-gradient(to top, rgba(0, 0, 0, .85), transparent);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}
@media (max-width: 576px) {
  .fancybox-slide { padding: 6px; }
  .fancybox-slide--html .fancybox-content { padding: 24px; }
}

:root {
  --hf-color-primary: #4b4f2d;
  --hf-color-secondary: #292c18;
  --hf-color-accent: #2f8a4f;
  --hf-color-background: #f0e6da;
  --hf-color-surface: #e7ddd1;
  --hf-color-text: #3a3d22;
  --hf-color-border: #d3c6b5;
  --hf-status-available: #2f8a4f;
  --hf-status-option: #c27a2c;
  --hf-status-reserved: #a2462e;
  --hf-status-sold: #8b8a7c;
  --hf-font-body: system-ui;
  --hf-font-heading: "Avenir Next Condensed", "Arial Narrow", system-ui;
  --hf-radius: 0;
  /* Lichte tekst op de olijfgroene vlakken */
  --hf-brand-licht: #f0e6da;
  /* Breedte van het zwevende woningpaneel op de computer */
  --hf-paneel-breedte: min(380px, 40cqw);
}

.woningzoeker {
  background: var(--hf-color-background);
  color: var(--hf-color-text);
  container-name: woningzoeker;
  container-type: inline-size;
  font-family: var(--hf-font-body), sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

.woningzoeker *,
.vergelijking * {
  box-sizing: border-box;
}

.woningzoeker button,
.vergelijking button {
  font: inherit;
}

[hidden] {
  display: none !important;
}

/* Filterbalk: vaste olijfgroene balk boven het beeld */

.filterbalk {
  align-items: end;
  background: var(--hf-color-primary);
  color: var(--hf-brand-licht);
  display: grid;
  gap: 12px 20px;
  grid-template-columns: minmax(200px, 1.4fr) minmax(150px, 1fr) minmax(170px, 1fr) auto auto;
  padding: 12px 20px 14px;
}

.filter {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.filterlabel {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  opacity: 0.8;
  text-transform: uppercase;
}

.prijsbereik {
  padding: 0 9px;
}

.prijsslider {
  margin: 10px 0 6px;
}

.prijswaarden {
  display: flex;
  font-size: 0.85rem;
  justify-content: space-between;
  margin: 0 -9px;
}

.filterbalk .noUi-target {
  background: rgba(240, 230, 218, 0.3);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  height: 3px;
}

.filterbalk .noUi-connect {
  background: var(--hf-brand-licht);
}

.filterbalk .noUi-horizontal .noUi-handle {
  background: var(--hf-color-primary);
  border: 2px solid var(--hf-brand-licht);
  border-radius: 50%;
  box-shadow: none;
  cursor: grab;
  height: 18px;
  right: -9px;
  top: -8px;
  width: 18px;
}

.filterbalk .noUi-handle::before,
.filterbalk .noUi-handle::after {
  display: none;
}

.woningzoeker .nice-select {
  background: transparent;
  border: 1px solid rgba(240, 230, 218, 0.55);
  border-radius: var(--hf-radius);
  color: var(--hf-brand-licht);
  float: none;
  height: 38px;
  line-height: 36px;
  width: 100%;
}

.woningzoeker .nice-select:hover,
.woningzoeker .nice-select:focus,
.woningzoeker .nice-select.open {
  border-color: var(--hf-brand-licht);
}

.woningzoeker .nice-select::after {
  border-color: currentColor;
}

.woningzoeker .nice-select .list {
  background: var(--hf-color-background);
  border-radius: var(--hf-radius);
  color: var(--hf-color-text);
  max-height: 320px;
  overflow-y: auto;
  width: 100%;
  z-index: 30;
}

.woningzoeker .nice-select .option {
  line-height: 36px;
  min-height: 36px;
}

.woningzoeker .nice-select .option.selected {
  font-weight: 700;
}

.woningzoeker .nice-select .option:hover,
.woningzoeker .nice-select .option.focus,
.woningzoeker .nice-select .option.selected.focus {
  background: var(--hf-color-surface);
}

.filter-acties {
  display: flex;
  gap: 8px;
}

.balkknop {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(240, 230, 218, 0.55);
  border-radius: var(--hf-radius);
  color: var(--hf-brand-licht);
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  height: 38px;
  padding: 0 12px;
  white-space: nowrap;
}

.balkknop:hover:not(:disabled),
.balkknop:focus-visible,
.balkknop[aria-pressed="true"] {
  background: var(--hf-brand-licht);
  border-color: var(--hf-brand-licht);
  color: var(--hf-color-primary);
}

.balkknop:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.badge {
  background: var(--hf-brand-licht);
  color: var(--hf-color-primary);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  min-width: 20px;
  padding: 3px 5px;
  text-align: center;
}

.balkknop[aria-pressed="true"] .badge {
  background: var(--hf-color-primary);
  color: var(--hf-brand-licht);
}

.filter-teller {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: end;
}

.teller {
  font-size: 0.9rem;
  margin: 0;
  white-space: nowrap;
}

.wisknop {
  background: none;
  border: 0;
  color: var(--hf-brand-licht);
  cursor: pointer;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  padding: 8px 0;
  text-decoration: underline;
  text-transform: uppercase;
  white-space: nowrap;
}

.woningzoeker :focus-visible {
  outline: 2px solid var(--hf-color-accent);
  outline-offset: 2px;
}

/* Hartje: leeg of gevuld via de klasse is-vol */

.hart {
  display: inline-block;
  flex: none;
  height: 18px;
  width: 18px;
}

.hart svg {
  display: block;
  fill: none;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.8;
  width: 100%;
}

.is-vol .hart svg,
[aria-pressed="true"]>.hart svg {
  fill: currentColor;
}

/* Podium: het beeld vult de breedte, het paneel zweeft er rechts bovenop */

.podium {
  background: var(--hf-color-surface);
  height: clamp(480px, 56.25cqw, 900px);
  overflow: hidden;
  position: relative;
}

.beeld,
.traceframe {
  inset: 0;
  position: absolute;
}

.traceframe>img,
.traceoverlay {
  height: 100%;
  inset: 0;
  object-fit: contain;
  position: absolute;
  width: 100%;
}

.traceframe>img.vorig-aanzicht {
  z-index: 0;
}

.traceframe>img[data-hf-background] {
  z-index: 1;
}

.traceoverlay {
  z-index: 2;
}

.tracekaart {
  background: var(--hf-color-background);
  box-shadow: 0 8px 24px rgba(41, 44, 24, 0.25);
  color: var(--hf-color-text);
  display: grid;
  gap: 2px;
  max-width: 260px;
  min-width: 190px;
  padding: 10px 14px 12px;
  pointer-events: none;
  position: absolute;
  z-index: 5;
}

.tracekaart strong {
  color: var(--hf-color-primary);
  font-family: var(--hf-font-heading), sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tracekaart .regel {
  font-size: 0.85rem;
}

/* Aanzichtkeuze bovenop het beeld */

.aanzichttabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  left: 20px;
  position: absolute;
  right: calc(var(--hf-paneel-breedte) + 40px);
  top: 20px;
  z-index: 6;
}

.aanzichttabs button {
  background: rgba(41, 44, 24, 0.6);
  border: 0;
  border-radius: var(--hf-radius);
  color: var(--hf-brand-licht);
  cursor: pointer;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 8px 14px;
}

.aanzichttabs button:hover {
  background: rgba(41, 44, 24, 0.8);
}

.aanzichttabs button[aria-selected="true"] {
  background: var(--hf-color-primary);
}

.aanzichtpijl {
  align-items: center;
  background: rgba(41, 44, 24, 0.6);
  border: 0;
  border-radius: var(--hf-radius);
  color: var(--hf-brand-licht);
  cursor: pointer;
  display: flex;
  height: 46px;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: background-color 0.15s ease;
  width: 46px;
  z-index: 6;
}

.aanzichtpijl svg,
.terugknop svg {
  fill: none;
  height: 22px;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-width: 2;
  width: 22px;
}

.aanzichtpijl:hover,
.aanzichtpijl:focus-visible {
  background: var(--hf-color-primary);
}

.aanzichtpijl.vorige {
  left: 20px;
}

.aanzichtpijl.volgende {
  right: calc(var(--hf-paneel-breedte) + 40px);
}

.beeldfout {
  left: 20px;
  position: absolute;
  right: calc(var(--hf-paneel-breedte) + 40px);
  top: 80px;
  z-index: 7;
}

/* Zwevend paneel met lijst en detail */

.paneel,
.woningdetail {
  background: var(--hf-color-background);
  bottom: 20px;
  box-shadow: 0 12px 40px rgba(41, 44, 24, 0.22);
  display: flex;
  flex-direction: column;
  position: absolute;
  right: 20px;
  top: 20px;
  width: var(--hf-paneel-breedte);
  z-index: 8;
}

.woningdetail {
  z-index: 9;
}

.lijstkop {
  border-bottom: 1px solid var(--hf-color-border);
  padding: 12px 16px;
}

.sorteren {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: end;
}

.sorteren .nice-select {
  border-color: var(--hf-color-border);
  color: var(--hf-color-text);
  height: 34px;
  line-height: 32px;
  width: 170px;
}

.sorteren .nice-select:hover,
.sorteren .nice-select.open,
.sorteren .nice-select:focus {
  border-color: var(--hf-color-primary);
}

.woninglijst {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.woningrij {
  border-bottom: 1px solid var(--hf-color-border);
  position: relative;
}

.woningrij[data-status="sold"] .rijinhoud {
  opacity: 0.6;
}

.rijopen {
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: grid;
  gap: 2px;
  padding: 14px 56px 14px 16px;
  text-align: left;
  width: 100%;
}

.rijopen:hover,
.rijopen.is-actief {
  background: var(--hf-color-surface);
}

.rijopen:focus-visible {
  outline-offset: -2px;
}

.rijboven {
  align-items: baseline;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.bouwnummer {
  color: var(--hf-color-primary);
  font-family: var(--hf-font-heading), sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rijonder {
  display: flex;
  flex-wrap: wrap;
  font-size: 0.875rem;
  gap: 2px 12px;
}

.rijprijs {
  font-weight: 700;
}

.hartknop {
  align-items: center;
  background: none;
  border: 1px solid var(--hf-color-border);
  border-radius: 50%;
  color: var(--hf-color-primary);
  cursor: pointer;
  display: flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.woningrij .hartknop {
  position: absolute;
  right: 14px;
  top: 14px;
}

.hartknop:hover:not(:disabled),
.hartknop[aria-pressed="true"] {
  border-color: var(--hf-color-primary);
}

.hartknop:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

/* Statuslabel: altijd tekst; vrij in de accentkleur, optie en gereserveerd gearceerd */

.status {
  align-items: center;
  display: inline-flex;
  font-size: 0.8rem;
  gap: 6px;
  white-space: nowrap;
}

.status::before {
  background: var(--status-kleur);
  content: "";
  height: 10px;
  width: 10px;
}

.status[data-status="available"] {
  --status-kleur: var(--hf-status-available);
  color: var(--hf-status-available);
  font-weight: 700;
}

.status[data-status="option"],
.status[data-status="reserved"] {
  --status-kleur: var(--hf-status-option);
}

.status[data-status="reserved"] {
  --status-kleur: var(--hf-status-reserved);
}

.status[data-status="option"]::before,
.status[data-status="reserved"]::before {
  background: repeating-linear-gradient(-45deg, var(--status-kleur) 0 2px, transparent 2px 4px);
  outline: 1px solid var(--status-kleur);
  outline-offset: -1px;
}

.status[data-status="sold"] {
  --status-kleur: var(--hf-status-sold);
  color: var(--hf-status-sold);
}

.status[data-status="other"] {
  --status-kleur: transparent;
  color: var(--hf-status-sold);
}

.status[data-status="other"]::before {
  outline: 1px solid var(--hf-status-sold);
  outline-offset: -1px;
}

/* Woningdetail */

.detailkop {
  border-bottom: 1px solid var(--hf-color-border);
  padding: 8px 10px;
}

.terugknop {
  align-items: center;
  background: none;
  border: 0;
  color: var(--hf-color-primary);
  cursor: pointer;
  display: inline-flex;
  font-size: 0.85rem;
  gap: 4px;
  letter-spacing: 0.06em;
  padding: 6px;
  text-transform: uppercase;
}

.terugknop svg {
  height: 18px;
  width: 18px;
}

.detailinhoud {
  display: grid;
  flex: 1;
  gap: 14px;
  overflow-y: auto;
  padding: 18px 20px 22px;
  align-content: start;
}

.detailtitel {
  align-items: start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.detailtitel h2 {
  color: var(--hf-color-primary);
  font-family: var(--hf-font-heading), sans-serif;
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.05;
  margin: 4px 0 0;
  text-transform: uppercase;
}

.detailtype {
  font-size: 1rem;
  margin: 0;
}

.detailprijs {
  color: var(--hf-color-primary);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
}

.kenmerken {
  display: grid;
  grid-template-columns: 1fr auto;
  margin: 0;
}

.kenmerken dt,
.kenmerken dd {
  border-bottom: 1px solid var(--hf-color-border);
  margin: 0;
  padding: 7px 0;
}

.kenmerken dd {
  font-weight: 700;
  text-align: right;
}

.cta {
  align-items: center;
  background: var(--hf-color-primary);
  border: 1px solid var(--hf-color-primary);
  border-radius: var(--hf-radius);
  color: var(--hf-brand-licht);
  cursor: pointer;
  display: inline-flex;
  font-size: 0.95rem;
  justify-content: center;
  letter-spacing: 0.08em;
  min-height: 46px;
  padding: 10px 18px;
  text-decoration: none;
  text-transform: uppercase;
}

.cta:hover,
.cta:focus-visible {
  background: var(--hf-color-secondary);
}

.cta[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.45;
  pointer-events: none;
}

.ctahint {
  font-size: 0.8rem;
  margin: -6px 0 0;
  opacity: 0.75;
}

.documenten {
  display: grid;
  gap: 8px;
}

.documenten h3 {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  margin: 6px 0 0;
  text-transform: uppercase;
}

.documentknoppen {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.documentknop {
  border: 1px solid var(--hf-color-primary);
  color: var(--hf-color-primary);
  font-size: 0.85rem;
  padding: 6px 10px;
  text-decoration: none;
}

.documentknop:hover {
  background: var(--hf-color-primary);
  color: var(--hf-brand-licht);
}

.documentlijst {
  display: grid;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.documentlijst a {
  color: var(--hf-color-primary);
}

.documentlijst time {
  font-size: 0.8rem;
  margin-left: 8px;
  opacity: 0.75;
}

.melding {
  background: var(--hf-color-surface);
  margin: 16px;
  padding: 16px;
  text-align: center;
}

.melding.fout {
  background: #f6dcd5;
  color: #8a2a1a;
}

/* Vergelijking (modal) */

.vergelijking {
  background: var(--hf-color-background);
  color: var(--hf-color-text);
  font-family: var(--hf-font-body), sans-serif;
  max-width: 1280px;
  padding: 28px;
  width: calc(100vw - 32px);
}

.vergelijkkop {
  color: var(--hf-color-primary);
  font-family: var(--hf-font-heading), sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.vergelijkraster {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.vergelijkkaart {
  background: #fff;
  border: 1px solid var(--hf-color-border);
  display: grid;
  flex: 0 0 calc((100% - 48px) / 4);
  gap: 10px;
  align-content: start;
  padding: 16px;
  position: relative;
}

.vergelijkkaart .impressie {
  aspect-ratio: 4 / 3;
  background: var(--hf-color-surface);
  border: 0;
  cursor: zoom-in;
  padding: 0;
  width: 100%;
}

.vergelijkkaart .impressie img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.vergelijkkaart h3 {
  color: var(--hf-color-primary);
  font-family: var(--hf-font-heading), sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  margin: 0;
  padding-right: 36px;
  text-transform: uppercase;
}

.vergelijkkaart .kenmerken {
  font-size: 0.875rem;
}

.verwijderknop {
  background: none;
  border: 0;
  color: var(--hf-color-text);
  cursor: pointer;
  font-size: 1.5rem;
  height: 34px;
  line-height: 1;
  position: absolute;
  right: 8px;
  top: 8px;
  width: 34px;
}

.vergelijkkaart .cta {
  min-height: 40px;
}

@media (max-width: 1280px) {
  .vergelijkkaart {
    flex-basis: calc((100% - 32px) / 3);
  }
}

@media (max-width: 1024px) {
  .vergelijkkaart {
    flex-basis: calc((100% - 16px) / 2);
  }
}

@media (max-width: 640px) {
  .vergelijking {
    padding: 20px 16px;
  }

  .vergelijkkaart {
    flex-basis: 100%;
  }
}

/* Smalle container: filters in twee kolommen, het paneel wordt een bottom sheet */

@container woningzoeker (max-width: 1100px) {
  .filterbalk {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .filter-acties {
    grid-column: 1 / 3;
  }

  .filter-teller {
    grid-column: 3;
  }
}

@container woningzoeker (max-width: 719px) {
  .filterbalk {
    gap: 10px 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 12px 16px;
  }

  .filter-prijs,
  .filter-acties,
  .filter-teller {
    grid-column: 1 / -1;
  }

  .filter-acties .balkknop {
    flex: 1;
    justify-content: center;
  }

  .filter-teller {
    justify-content: space-between;
  }

  .podium {
    height: auto;
    overflow: visible;
  }

  .beeld {
    aspect-ratio: 16 / 9;
    position: relative;
  }

  .aanzichttabs {
    gap: 3px;
    left: 8px;
    right: 8px;
    top: 8px;
  }

  .aanzichttabs button {
    font-size: 0.75rem;
    padding: 5px 8px;
  }

  .aanzichtpijl {
    height: 38px;
    width: 38px;
  }

  .aanzichtpijl.vorige {
    left: 8px;
  }

  .aanzichtpijl.volgende {
    right: 8px;
  }

  .beeldfout {
    left: 8px;
    right: 8px;
    top: 48px;
  }

  .paneel {
    box-shadow: 0 -8px 24px rgba(41, 44, 24, 0.12);
    position: relative;
    inset: auto;
    width: auto;
  }

  .paneel::before {
    background: var(--hf-color-border);
    content: "";
    height: 4px;
    margin: 10px auto 0;
    width: 44px;
  }

  .woninglijst {
    overflow: visible;
  }

  .sheetachtergrond {
    background: rgba(41, 44, 24, 0.5);
    inset: 0;
    position: fixed;
    z-index: 40;
  }

  .woningdetail {
    bottom: 0;
    box-shadow: 0 -12px 40px rgba(41, 44, 24, 0.3);
    left: 0;
    max-height: 88vh;
    position: fixed;
    right: 0;
    top: auto;
    width: auto;
    z-index: 41;
  }

  .detailinhoud {
    padding: 14px 16px 20px;
  }

  .detailtitel h2 {
    font-size: 1.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  .woningzoeker *,
  .vergelijking * {
    transition: none !important;
  }
}
