/* Datumzoeker (home + accommodatiepagina) */
.ds {
  position: relative;
  display: grid;
  gap: 10px;
  min-width: 0;
}
.ds-native {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 10px;
  align-items: center;
}
.ds-native label { font-weight: 700; font-size: 0.88rem; color: #334155; }
.ds-native input, .ds-native select {
  min-height: 44px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 0 12px;
  font: inherit;
  background: #fff;
  max-width: 100%;
}
.ds.is-enhanced .ds-native { display: none; }

.ds-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: stretch; }
.ds-trigger {
  flex: 1 1 220px;
  min-width: 0;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.ds-trigger:hover { border-color: #4338ca; }
.ds-trigger.is-empty { color: #64748b; font-weight: 600; }
.ds-icon { color: #4338ca; display: inline-flex; flex: 0 0 auto; }
.ds-trigger-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ds-submit { min-height: 48px; padding: 0 22px; border: 0; cursor: pointer; font: inherit; font-weight: 800; }

.ds-panel {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  max-width: 360px;
  width: 100%;
  box-sizing: border-box;
}
.ds-panel[hidden] { display: none; }
.ds-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.ds-title { text-transform: capitalize; font-size: 1rem; color: #0f172a; }
.ds-nav {
  width: 44px;
  height: 44px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  color: #1e3a8a;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.ds-nav:disabled { opacity: 0.35; cursor: not-allowed; }
.ds-grid { display: grid; grid-template-columns: 2rem repeat(7, minmax(0, 1fr)); gap: 2px; }
.ds-head-cell { text-align: center; font-size: 0.72rem; font-weight: 800; color: #64748b; text-transform: uppercase; padding: 4px 0; }
.ds-wk { display: grid; place-items: center; font-size: 0.72rem; color: #94a3b8; }
.ds-day {
  position: relative;
  aspect-ratio: 1;
  min-height: 38px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #0f172a;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}
.ds-day:hover:not(:disabled):not(.is-selected) { background: #eef2ff; }
.ds-day.is-outside { cursor: default; }
.ds-day.is-disabled { color: #cbd5e1; text-decoration: line-through; cursor: not-allowed; background: transparent; }
.ds-day.is-today { box-shadow: inset 0 0 0 1px #94a3b8; }
.ds-day.in-range { background: #e0e7ff; color: #312e81; border-radius: 6px; }
.ds-day.is-selected { background: #4338ca; color: #fff; font-weight: 800; }
.ds-day.has-deal::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: #0b8fb8;
}
.ds-day.is-selected.has-deal::after { background: #fff; }
.ds-day:focus-visible, .ds-chip:focus-visible, .ds-nav:focus-visible, .ds-trigger:focus-visible { outline: 3px solid #818cf8; outline-offset: 1px; }
.ds-legend { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; font-size: 0.78rem; color: #64748b; }
.ds-dot { width: 7px; height: 7px; border-radius: 50%; background: #0b8fb8; display: inline-block; }
.ds-flex { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.ds-chip {
  flex: 1 1 auto;
  min-height: 40px;
  padding: 0 8px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #fff;
  color: #1e293b;
  font: inherit;
  font-size: 0.82rem;
  white-space: nowrap;
  font-weight: 700;
  cursor: pointer;
}
.ds-chip.is-on { background: #1e3a8a; border-color: #1e3a8a; color: #fff; }
.ds-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.ds-summary { margin: 0; font-size: 0.86rem; font-weight: 700; color: #334155; }
.ds-done { min-height: 44px; padding: 0 18px; border: 0; cursor: pointer; font: inherit; font-weight: 800; }

/* Homepage: smalle kaart onder de hero */
.home-datesearch {
  position: relative;
  z-index: 2;
  margin-top: -28px;
  background: #fff;
  border-radius: 20px;
  padding: 16px 18px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 16px;
  align-items: start;
}
.home-datesearch h2 { margin: 0; font-size: 1.1rem; letter-spacing: -0.02em; }
.home-datesearch p { margin: 2px 0 0; color: #64748b; font-size: 0.9rem; }
.home-datesearch + .home-doors { margin-top: 12px; }

/* Resultaten en accommodatiepagina */
.ds-results-head { margin: 20px 0 8px; }
.ds-note { color: #64748b; font-size: 0.88rem; margin: 6px 0 0; }
.ds-empty { background: #fff; border-radius: 16px; padding: 18px; box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05); }
.ds-empty p { margin: 0 0 10px; }
.ds-more { display: flex; flex-wrap: wrap; gap: 8px; }
.ds-more a { background: #e0e7ff; color: #312e81; text-decoration: none; border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 0.9rem; }
.ds-matches { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.ds-matches li { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; font-size: 0.88rem; color: #334155; }
.ds-matches strong { color: #0f172a; }
.ds-matches a { color: #4338ca; font-weight: 700; text-decoration: none; margin-left: auto; }
.ds-matches a:hover { text-decoration: underline; }
.stay-datesearch {
  background: #fff;
  border-radius: 20px;
  padding: 18px;
  margin: 18px 0 0;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}
.stay-datesearch h2 { margin: 0 0 4px; }
.ds-matches a, .ds-more a { position: relative; z-index: 2; }

@media (max-width: 720px) {
  .home-datesearch { grid-template-columns: 1fr; gap: 10px; padding: 14px; }
  .ds-panel { max-width: none; }
  .ds-bar .ds-submit { flex: 1 1 100%; }
}
