.top-inner,
main,
.foot {
  width: calc(100% - 48px);
  max-width: none;
}
.top-inner { min-width: 0; }
.top-nav { flex-wrap: wrap; min-width: 0; max-width: 100%; }
.stay-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.stay-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.stay-card h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.stay-meta { margin: 0 0 8px; color: var(--muted); font-size: 0.9rem; }
.stay-price { margin: 0; font-weight: 800; color: #1d4ed8; }
.stay-ad { display: flex; align-items: center; gap: 5px; margin: 8px 0 0; color: #94a3b8; font-size: 0.68rem; font-weight: 500; line-height: 1.2; }
.stay-ad-badge { display: inline-block; padding: 0.12em 0.38em; border-radius: 0.3rem; background: #eef2f6; color: #64748b; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.03em; line-height: 1.2; }
.hero-copy .stay-ad { margin: 2px 0 8px; }
.stay-more { margin: 16px 0 0; color: var(--muted); text-align: center; min-height: 1.4em; }
.stay-more.is-loading::after { content: 'Meer verblijven laden…'; display: block; margin-top: 6px; }
.stay-photos { margin: 0 0 22px; outline: none; }
.stay-photo-stage {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #0f172a;
}
.stay-photo-open {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 240px;
  padding: 0;
  border: 0;
  background: #e8eef5;
  cursor: zoom-in;
}
.stay-photo-stage img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(72vh, 720px);
  aspect-ratio: auto;
  object-fit: contain;
}
.stay-photo-count,
.stay-lightbox-count {
  font-weight: 800;
}
.stay-photo-count {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(15, 23, 42, .82);
  color: white;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: .9rem;
  pointer-events: none;
}
.stay-photo-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: #0f172a;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.stay-photo-nav.is-prev { left: 12px; }
.stay-photo-nav.is-next { right: 12px; }
.stay-photo-strip,
.stay-lightbox-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin-top: 8px;
  padding-bottom: 4px;
}
.stay-photo-strip button,
.stay-lightbox-strip button {
  flex: 0 0 auto;
  width: 112px;
  height: 78px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  scroll-snap-align: start;
  cursor: pointer;
  background: #dbe4f0;
}
.stay-photo-strip button.is-on,
.stay-lightbox-strip button.is-on { border-color: #1d4ed8; }
.stay-photo-strip img,
.stay-lightbox-strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stay-photo-hint { margin: 8px 0 0; color: var(--muted); font-size: .9rem; }
.stay-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(15, 23, 42, .94);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: auto auto auto;
  align-items: center;
  gap: 12px 16px;
  padding: 64px 16px 20px;
}
.stay-lightbox[hidden] { display: none; }
.stay-lightbox > img {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  max-height: min(72vh, 760px);
  object-fit: contain;
  background: #020617;
  border-radius: 12px;
}
.stay-lightbox .stay-photo-nav { position: static; transform: none; grid-row: 1; }
.stay-lightbox .is-prev { grid-column: 1; }
.stay-lightbox .is-next { grid-column: 3; }
.stay-lightbox-count {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
  text-align: center;
  color: white;
}
.stay-lightbox-strip {
  grid-column: 1 / -1;
  grid-row: 3;
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
}
.stay-lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: white;
  color: #0f172a;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
body.stay-lightbox-open { overflow: hidden; }
.stay-areas { margin-top: 8px; }
.stay-area {
  display: grid;
  grid-template-columns: minmax(160px, 240px) 1fr;
  gap: 16px;
  align-items: start;
  background: white;
  border-radius: 20px;
  padding: 14px;
  margin: 12px 0 0;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}
.stay-area h3 { margin: 0 0 6px; }
.stay-area h3 a { color: inherit; text-decoration: none; }
.stay-area-media { display: grid; gap: 8px; }
.stay-area-media img { width: 100%; height: 140px; object-fit: cover; border-radius: 14px; display: block; background: #dbe4f0; }
.stay-area-media .stay-piste { height: 180px; object-fit: contain; background: white; border: 1px solid #e2e8f0; }
.stay-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; }
.stay-links a { background: #e0e7ff; color: #312e81; text-decoration: none; border-radius: 999px; padding: 6px 10px; font-size: 0.9rem; font-weight: 700; }
.stay-occupancies { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.stay-occupancies li { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; background: #f8fafc; border-radius: 12px; padding: 8px 10px; }
.stay-occupancies a { font-weight: 800; }
.stay-photo { border-radius: 24px; overflow: hidden; margin: 0 0 18px; background: #dbe4f0; }
.stay-photo img { display: block; width: 100%; height: 360px; object-fit: cover; }
.stay-split { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 24px; align-items: start; }
.stay-panel {
  background: white;
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}
.stay-panel .btn { display: inline-block; margin-top: 8px; text-decoration: none; }
.stay-note { color: var(--muted); }
.chips a[aria-current="page"] { background: var(--brand); color: white; }
.chips span { background: #e0e7ff; color: #312e81; border-radius: 999px; padding: 6px 10px; font-size: 0.9rem; font-weight: 700; }
.table-wrap th, .table-wrap td { text-align: left; padding: 10px 14px; border-top: 1px solid #e2e8f0; }
.stay-thumbs { display: flex; gap: 8px; overflow-x: auto; margin: 0 0 18px; }
.stay-thumbs img { width: 120px; height: 80px; object-fit: cover; border-radius: 12px; }
@media (max-width: 640px) {
  .stay-lightbox { grid-template-columns: 1fr auto 1fr; padding-top: 58px; }
  .stay-lightbox .stay-photo-nav { width: 38px; height: 38px; }
}
@media (max-width: 700px) {
  .stay-area { grid-template-columns: 1fr; }
}
@media (min-width: 700px) {
  .stay-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .stay-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.stay-finder { display: block; }
.stay-filters {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 8px 16px 16px;
}
.stay-filters-bar, .stay-filters-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stay-filters-bar h2 { margin: 12px 0; font-size: 1.05rem; }
.stay-filters-bar button, .stay-filter-open, .stay-filters-actions button {
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.stay-filters-bar button, .stay-filter-open { background: #e2e8f0; color: #0f172a; }
.stay-filters-actions { position: sticky; bottom: 0; padding-top: 12px; background: linear-gradient(transparent, #fff 30%); }
.stay-filters-actions button[type="submit"], .stay-filters-actions [data-show-results] { background: #0f172a; color: #fff; }
.stay-filters-actions [data-clear-all] { background: transparent; color: #334155; }
.stay-search, .stay-range label { display: flex; flex-direction: column; gap: 6px; margin: 0 0 12px; font-size: .85rem; font-weight: 700; }
.stay-search input, .stay-range input, .stay-facet-find input, .stay-toolbar select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  font-weight: 500;
  background: #fff;
}
.stay-facet { border-top: 1px solid #e2e8f0; padding: 4px 0; }
.stay-facet summary { cursor: pointer; font-weight: 800; padding: 12px 0; }
.stay-facet-hint { margin: 0 0 8px; color: var(--muted); font-size: .78rem; line-height: 1.4; }
.stay-facet-list { display: flex; flex-direction: column; gap: 2px; max-height: 280px; overflow: auto; padding-bottom: 8px; }
.stay-check { display: flex; align-items: center; gap: 10px; min-height: 40px; cursor: pointer; }
.stay-check input { width: 18px; height: 18px; accent-color: #0f172a; }
.stay-check span { flex: 1; }
.stay-check em { color: var(--muted); font-style: normal; font-size: .8rem; }
.stay-check.is-zero, .stay-check.is-hidden { display: none; }
.stay-range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stay-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 0 0 12px; }
.stay-toolbar p { margin: 0; font-weight: 800; flex: 1 1 auto; min-width: 0; }
.stay-toolbar label { margin: 0; min-width: 0; flex: 1 1 10rem; max-width: 100%; }
.stay-toolbar select { width: 100%; max-width: 100%; }
.stay-active { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.stay-active:empty { display: none; }
.stay-active button {
  border: 1px solid #cbd5e1;
  background: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font: inherit;
  cursor: pointer;
}
.stay-results.is-loading { opacity: .55; }
.stay-empty { margin: 12px 0; }
@media (min-width: 980px) {
  .stay-finder { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; }
  .stay-filters { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto; }
  .stay-filter-open, .stay-filters-bar button { display: none; }
  .stay-finder .stay-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1280px) {
  .stay-finder .stay-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (min-width: 1680px) {
  .stay-finder .stay-grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
}
@media (max-width: 700px) {
  .top-inner, main, .foot { width: calc(100% - 20px); }
  .stay-toolbar { align-items: stretch; }
  .stay-toolbar .stay-filter-open { flex: 0 0 auto; }
  .stay-toolbar label { flex: 1 1 100%; }
}
@media (max-width: 979px) {
  .stay-filters {
    position: fixed;
    inset: 0;
    z-index: 80;
    width: auto;
    max-width: 100%;
    border-radius: 0;
    transform: translateY(105%);
    transition: transform .2s ease;
    overflow: auto;
    padding-bottom: 88px;
  }
  .stay-finder.is-open .stay-filters { transform: none; }
  .stay-filters-actions { position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #e2e8f0; z-index: 81; }
  .stay-filter-open {
    position: fixed;
    z-index: 70;
    left: 50%;
    bottom: calc(14px + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    background: #0f172a;
    color: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .28);
    padding: 12px 22px;
  }
  .stay-finder.is-open .stay-filter-open { visibility: hidden; }
  body:has(.stay-filter-open) { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}
@media (max-width: 800px) {
  .stay-split { grid-template-columns: 1fr; }
  .stay-photo img { height: 220px; }
}
