/* Vakantiehuizen (lijst) en vakantiehuis (detail). Opbouw uit design/curacao-v1/Vakantiehuizen.dc.html en Vakantiehuis.dc.html. */

.vh-kop { display: grid; gap: 24px 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: end; }
.vh-kop .intro { margin-bottom: 12px; }

/* zoekbalk */
.vh-zoek {
  margin-top: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-blok);
  padding: 20px; display: grid; gap: 16px;
}
.vh-zoek__rij { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); align-items: end; }
.vh-zoek label, .vh-boek__form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 14px; }
.vh-zoek .veld, .vh-boek__form .veld { min-width: 0; width: 100%; min-height: 48px; }
.vh-zoek__rij--filters { border-top: 1px solid var(--line); padding-top: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), auto)); gap: 12px 28px; }
.vh-zoek__rij--filters .knop { min-height: 48px; }
.vh-zoek__noot { margin: 0; }
.vh-groep { border: 0; margin: 0; padding: 0; min-width: 0; }
.vh-groep legend { font-weight: 700; font-size: 15px; padding: 0; margin-bottom: 8px; }
.vh-keuzes { display: flex; flex-wrap: wrap; gap: 8px; }
.vh-zoek .vh-keuze { position: relative; display: inline-flex; flex-direction: row; font-weight: 400; font-size: inherit; gap: 0; }
.vh-keuze input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.vh-keuze span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--radius-pil);
  border: 1.5px solid var(--text); font-weight: 700; font-size: 15px; background: transparent;
}
.vh-keuze input:checked + span { background: var(--text); color: var(--bg); }
.vh-keuze input:focus-visible + span { outline: 3px solid var(--action); outline-offset: 2px; }

/* resultaten */
.vh-resultaat { margin-top: 40px; }
.vh-resultaat__kop { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.vh-teller { font-family: var(--font-kop); font-size: 32px; letter-spacing: -.02em; margin: 0; }
.vh-teller .klein { font-family: var(--font-tekst); letter-spacing: 0; }
.vh-wis { font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.vh-lijst { display: grid; gap: 32px 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.vh-leeg { margin-top: 8px; }
.vh-leeg--groot { margin-top: 40px; padding: 32px; max-width: 760px; }
.vh-leeg--groot p { color: var(--text-muted); }

/* kaart */
.vh-kaart { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.vh-kaart__foto {
  position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-card); overflow: hidden;
  background: var(--skeleton); margin-bottom: 4px;
}
.vh-kaart__foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vh-kaart__wijk {
  position: absolute; top: 12px; left: 12px; background: var(--bg); color: var(--text); font-weight: 700;
  font-size: 13px; padding: 4px 12px; border-radius: var(--radius-pil); max-width: calc(100% - 24px);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.vh-kaart__kop { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.vh-kaart__kop h3 { font-size: 21px; letter-spacing: -.01em; margin: 0; min-width: 0; overflow-wrap: anywhere; }
.vh-kaart__kop h3 a { color: var(--text); }
.vh-kaart__kop h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.vh-kaart__score { font-size: 14px; font-weight: 700; white-space: nowrap; }
.vh-kaart__meta { margin: 0; font-size: 15px; color: var(--text-muted); overflow-wrap: anywhere; }
.vh-kaart__voet { display: flex; justify-content: space-between; align-items: center; gap: 8px 12px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; }
.vh-kaart__prijs { margin: 0; min-width: 0; }
.vh-kaart__prijs strong { font-family: var(--font-kop); font-size: 22px; }

/* paginering */
.vh-bladeren { display: flex; gap: 8px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.vh-bladeren__knop {
  min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; padding: 0 12px;
  border: 1.5px solid var(--text); border-radius: var(--radius-pil); font-weight: 700; color: var(--text);
}
.vh-bladeren__knop:hover { background: var(--surface-zacht); text-decoration: none; }
.vh-bladeren__knop--aan { background: var(--text); color: var(--bg); }
.vh-bladeren__knop--breed { padding: 0 20px; }
.vh-meer { margin: 40px 0 0; display: flex; justify-content: center; }

/* wat de foto's niet vertellen */
.vh-tips { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); margin-top: 20px; }
.vh-tip { border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 10px; color: var(--eiland-inkt); }
.vh-tip h3 { font-size: 24px; line-height: 1.1; letter-spacing: -.01em; margin: 0; }
.vh-tip p { margin: 0; }
.vh-tip--geel { background: var(--tip); }
.vh-tip--groen { background: var(--quiet); }
.vh-tip--roze { background: var(--cultuur); }
.vh-bron { max-width: 80ch; margin-top: 32px; margin-left: 0; }

/* detail */
.vh-titelrij { display: flex; justify-content: space-between; align-items: end; gap: 12px 20px; flex-wrap: wrap; }
.vh-titel { font-size: clamp(36px, 5vw, 72px); overflow-wrap: anywhere; }
.vh-metaregel { margin: 12px 0 0; font-size: 18px; }

.vh-galerij {
  margin-top: 32px; display: grid; gap: 10px; grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(120px, 15vw, 220px);
}
.vh-galerij__foto { display: block; overflow: hidden; border-radius: 8px; background: var(--skeleton); }
.vh-galerij__foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vh-galerij__foto--groot { grid-column: span 2; grid-row: span 2; border-radius: 24px 8px 8px 24px; }
.vh-galerij--een { grid-template-columns: 1fr; grid-auto-rows: clamp(220px, 38vw, 540px); }
.vh-galerij--een .vh-galerij__foto--groot { grid-column: auto; grid-row: auto; border-radius: 24px; }
.vh-meerfotos { margin-top: 12px; }
.vh-meerfotos summary { cursor: pointer; font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.vh-galerij--rest { margin-top: 8px; grid-auto-rows: clamp(100px, 12vw, 180px); }
.vh-galerij--rest .vh-galerij__foto { border-radius: 12px; }

.vh-twee { margin-top: 48px; display: flex; flex-direction: row-reverse; flex-wrap: wrap; gap: 48px 56px; align-items: flex-start; }
.vh-hoofd { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 64px; }
.vh-hoofd .kop-groot { margin-bottom: 20px; }
.vh-hoofd .feiten { margin: 0 0 12px; }
.vh-tekst { max-width: 70ch; }
.vh-tekst p { margin: 0 0 1em; }
.vh-voorzieningen { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.vh-voorzieningen li { padding: 8px 0; border-top: 1px solid var(--line); }
.vh-ligging { list-style: none; padding: 0; margin: 0 0 12px; max-width: 640px; }
.vh-ligging li { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding: 12px 0; }
.vh-ligging li strong { text-align: right; }

.vh-boek {
  flex: 1 1 320px; min-width: 0; position: sticky; top: 24px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-blok); padding: 24px; display: flex; flex-direction: column; gap: 16px;
  box-shadow: 0 12px 32px rgba(16, 35, 58, .08);
}
.vh-boek__prijs { margin: 0; }
.vh-boek__prijs strong { font-family: var(--font-kop); font-size: 32px; }
.vh-boek__form { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vh-boek__form label { min-width: 0; }
.vh-boek__form label:nth-child(3), .vh-boek__form .knop { grid-column: 1 / -1; }
.vh-boek__totaal { margin: 0; display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 18px; }
.vh-boek .knop--boek { text-align: center; justify-content: center; white-space: normal; height: auto; min-height: 48px; }
.vh-boek p.klein { margin: 0; }

@media (max-width: 720px) {
  .vh-galerij { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(110px, 30vw, 180px); }
  .vh-galerij__foto--groot { grid-column: span 2; grid-row: span 2; border-radius: 20px; }
  .vh-boek { position: static; }
  .vh-twee { gap: 40px; }
  .vh-hoofd { gap: 48px; }
  .vh-zoek__rij--filters { grid-template-columns: 1fr; }
}
