/* Boekingsmodule Oud Spanuit — zelfde huisstijl als de site: Rasa, lichtblauw #6EC1E4, ronde knoppen. */
.osb {
  --blue: #6ec1e4; --blue-d: #2c7da3; --blue-dd: #1d5878; --blue-t: #eaf6fb;
  --ink: #1f2a33; --soft: #5b6873; --faint: #8b97a1; --line: #dfe7ec; --bg: #f6f9fb;
  --busy: #eef1f3; --danger: #b3261e; --ok: #1b7a4b;
  --serif: Rasa, Georgia, serif; --sans: Roboto, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-family: var(--sans); color: var(--ink); font-size: 16px; line-height: 1.5;
  max-width: 1180px; margin: 0 auto; padding: 110px 20px 80px;
}
.osb *, .osb *::before, .osb *::after { box-sizing: border-box; }
.osb [hidden] { display: none !important; }
.osb h1, .osb h2, .osb h3 { font-family: var(--serif); color: var(--ink); margin: 0; line-height: 1.2; }
.osb p { margin: 0; }
.osb a { color: var(--blue-d); }
.osb :where(button) { font: inherit; cursor: pointer; box-shadow: none; border-radius: 0; text-transform: none; letter-spacing: normal; min-height: 0; }

/* --- kop --- */
.osb-hero { text-align: center; padding: 26px 0 30px; }
.osb-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 600; color: var(--blue); }
.osb-hero p { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); max-width: 640px; margin: 10px auto 0; }
.osb-usp { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; padding: 0; margin: 16px 0 0; font-size: .92rem; color: var(--soft); }
.osb-usp li::before { content: "✓"; color: var(--blue-d); font-weight: 700; margin-right: 6px; }

/* --- knoppen --- */
.osb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; background: var(--blue); color: #fff !important; font-family: var(--serif); font-weight: 600; font-size: 1.05rem; letter-spacing: .02em; padding: 12px 26px; text-decoration: none !important; transition: background .2s, transform .1s; }
.osb-btn:hover:not(:disabled) { background: var(--blue-d); }
.osb-btn:active { transform: translateY(1px); }
.osb .osb-btn:disabled { background: #b9dceb; cursor: not-allowed; }
.osb-btn--ghost { background: #fff; color: var(--blue-d) !important; box-shadow: inset 0 0 0 2px var(--blue); }
.osb-btn--ghost:hover { background: var(--blue-t); }
.osb-btn--big, .osb-bar .osb-btn { background: var(--blue-d); }
.osb-btn--big:hover:not(:disabled), .osb-bar .osb-btn:hover:not(:disabled) { background: var(--blue-dd); }
.osb-btn--big { width: 100%; padding: 15px 22px; font-size: 1.2rem; }
.osb-link { background: none; border: 0; color: var(--blue-d); text-decoration: underline; padding: 0; font-size: .9rem; }

/* --- opbouw --- */
.osb-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.osb-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.osb-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: 0 6px 24px rgba(31, 42, 51, .05); }
.osb-card h2 { font-size: 1.6rem; font-weight: 600; display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.osb-num { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--sans); font-size: .95rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.osb-hint { color: var(--soft); font-size: .92rem; margin: 10px 0 0; }
.osb-foot { color: var(--soft); font-size: .88rem; margin-top: 16px; }
.osb-row { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }

/* --- datumkeuze --- */
.osb-dates { display: flex; align-items: stretch; gap: 10px; }
.osb-date { flex: 1; text-align: left; background: var(--bg); border: 2px solid var(--line); border-radius: 14px; padding: 10px 14px; display: flex; flex-direction: column; color: var(--ink); }
.osb-date small { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); font-weight: 700; }
.osb-date b { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.osb-date.is-active { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px var(--blue-t); }
.osb-arrow { align-self: center; color: var(--faint); font-size: 1.3rem; }

.osb-cal { margin-top: 16px; position: relative; }
.osb-cal-nav { position: absolute; top: 2px; left: 0; right: 0; display: flex; justify-content: space-between; pointer-events: none; }
.osb-cal-nav button { pointer-events: auto; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 1.2rem; line-height: 1; }
.osb-cal-nav button:hover:not(:disabled) { background: var(--blue-t); border-color: var(--blue); }
.osb-cal-nav button:disabled { opacity: .3; cursor: default; }
.osb-months { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.osb-month h3 { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; text-align: center; height: 42px; line-height: 42px; text-transform: capitalize; }
.osb-wd, .osb-days { display: grid; grid-template-columns: repeat(7, 1fr); }
.osb-wd span { text-align: center; font-size: .72rem; font-weight: 700; color: var(--faint); text-transform: uppercase; padding: 4px 0 6px; }
.osb-day { position: relative; aspect-ratio: 1 / 1; border: 0; background: none; padding: 0; color: var(--ink); font-size: .98rem; font-weight: 500; display: flex; align-items: center; justify-content: center; }
.osb-day span { position: relative; z-index: 1; width: 88%; height: 88%; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.osb-day:not(:disabled):hover span { box-shadow: inset 0 0 0 2px var(--ink); }
.osb-day.is-past, .osb-day:disabled { color: #c3cbd1; cursor: default; }
.osb-day.is-busy { color: #aab4bb; }
.osb-day.is-busy span { text-decoration: line-through; background: var(--busy); border-radius: 8px; }
/* Vertrek kan op een dag waarvan de nacht volzet is (dan vertrekt u 's ochtends). */
.osb-day.is-outok { color: var(--ink); }
.osb-day.is-outok span { text-decoration: none; background: linear-gradient(135deg, #fff 50%, var(--busy) 50%); border-radius: 50%; }
.osb-day.is-range::before { content: ""; position: absolute; inset: 6% 0; background: var(--blue-t); }
.osb-day.is-start::before { left: 50%; }
.osb-day.is-end::before { right: 50%; }
.osb-day.is-start span, .osb-day.is-end span { background: var(--blue-d); color: #fff; text-decoration: none; }
.osb-day.is-today span { box-shadow: inset 0 0 0 1px var(--faint); }
.osb-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; margin-top: 12px; font-size: .84rem; color: var(--soft); }
.osb-legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 6px; }
.l-free { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.l-busy { background: var(--busy); }
.l-sel { background: var(--blue-d); }
.osb-legend .osb-link { margin-left: auto; }

/* --- gasten en ontbijt --- */
.osb-stepper { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; overflow: hidden; }
.osb-stepper button { width: 46px; height: 46px; border: 0; background: #fff; font-size: 1.4rem; color: var(--blue-d); }
.osb-stepper button:hover:not(:disabled) { background: var(--blue-t); }
.osb-stepper button:disabled { color: #c8d2d8; cursor: default; }
.osb-stepper output { min-width: 110px; text-align: center; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.osb-switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 1rem; }
.osb-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.osb-switch span { width: 48px; height: 28px; border-radius: 999px; background: #cfd8de; position: relative; transition: background .2s; flex: none; }
.osb-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.osb-switch input:checked + span { background: var(--blue-d); }
.osb-switch input:checked + span::after { transform: translateX(20px); }
.osb-switch input:focus-visible + span { box-shadow: 0 0 0 4px var(--blue-t); }
.osb-switch small { color: var(--soft); }

/* --- kamers --- */
.osb-rooms { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.osb-room { display: grid; grid-template-columns: 300px minmax(0, 1fr); border: 2px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; transition: border-color .2s, box-shadow .2s, opacity .2s; }
.osb-room.is-on { border-color: var(--blue-d); box-shadow: 0 0 0 4px var(--blue-t); }
.osb-room.is-off { opacity: .6; }
.osb-gal { position: relative; background: #eef2f4; min-height: 220px; }
.osb-gal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.osb-gal button { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); font-size: 1.3rem; line-height: 1; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.osb-gal .prev { left: 8px; } .osb-gal .next { right: 8px; }
.osb-gal .count { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,.55); color: #fff; font-size: .75rem; border-radius: 999px; padding: 2px 9px; }
.osb-room-body { padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.osb-room-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.osb-room h3 { font-size: 1.6rem; font-weight: 600; }
.osb-price { text-align: right; white-space: nowrap; }
.osb-price b { font-family: var(--serif); font-size: 1.45rem; }
.osb-price small { display: block; color: var(--soft); font-size: .8rem; }
.osb-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.osb-facts li { background: var(--bg); border-radius: 999px; padding: 3px 11px; font-size: .82rem; color: var(--soft); }
.osb-room-text { font-family: var(--serif); font-size: 1.05rem; color: var(--ink); }
.osb-room-cap { font-size: .86rem; color: var(--soft); }
.osb-room-foot { margin-top: auto; padding-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.osb-badge { font-size: .86rem; font-weight: 700; }
.osb-badge.ok { color: var(--ok); } .osb-badge.no { color: var(--danger); } .osb-badge.neutral { color: var(--soft); font-weight: 500; }
.osb-pick { min-width: 170px; }
.osb-room.is-on .osb-pick { background: var(--blue-d); }

/* --- samenvatting --- */
.osb-side { position: sticky; top: calc(var(--osb-top, 110px) + 12px); display: flex; flex-direction: column; gap: 16px; }
.osb-sum { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: 0 10px 34px rgba(31, 42, 51, .08); }
.osb-sum h2 { font-size: 1.5rem; font-weight: 600; margin-bottom: 12px; }
.osb-lines { list-style: none; padding: 0; margin: 0 0 12px; font-size: .94rem; }
.osb-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.osb-lines li span:first-child { color: var(--soft); }
.osb-lines li.total { border: 0; padding-top: 12px; font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.osb-lines li.total span:first-child { color: var(--ink); }
.osb-lines li.total span:last-child { font-family: var(--serif); font-size: 1.6rem; }
.osb-empty { color: var(--soft); font-size: .95rem; margin-bottom: 14px; }
.osb-small { color: var(--faint); font-size: .8rem; text-align: center; margin-top: 8px !important; }
.osb-alt { font-size: .88rem; color: var(--soft); text-align: center; margin-top: 12px !important; }
.osb-note { background: var(--blue-t); border-radius: 10px; padding: 9px 12px; font-size: .85rem; color: var(--blue-dd); margin-bottom: 12px; }
.osb-error { background: #fdeeed; color: var(--danger); border-radius: 10px; padding: 10px 13px; font-size: .9rem; margin: 0 0 12px !important; }
.osb-info { background: var(--bg); border-radius: 16px; padding: 18px 20px; }
.osb-info h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; }
.osb-info ul { list-style: none; padding: 0; margin: 0; font-size: .88rem; color: var(--soft); }
.osb-info li { padding: 4px 0; }
.osb-info b { color: var(--ink); margin-right: 6px; }

/* --- gegevens --- */
.osb-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-bottom: 18px; }
.osb-fields label { display: block; font-size: .86rem; font-weight: 700; color: var(--soft); }
.osb-fields label small { font-weight: 400; }
.osb-fields label span { color: var(--danger); }
.osb-fields .osb-wide { grid-column: 1 / -1; }
.osb-fields input, .osb-fields select, .osb-fields textarea { display: block; margin-top: 5px; font: inherit; font-size: 1rem; font-weight: 400; line-height: 1.35; color: var(--ink); border: 2px solid var(--line); border-radius: 12px; padding: 11px 13px; background-color: #fff; width: 100%; height: auto; min-height: 48px; box-shadow: none; }
.osb-fields input:focus, .osb-fields select:focus, .osb-fields textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-t); }
.osb-fields .is-bad { border-color: var(--danger); }
.osb-hp { position: absolute !important; left: -9999px !important; }

/* --- klaar --- */
.osb-done { max-width: 640px; margin: 10px auto 0; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 36px 28px; box-shadow: 0 10px 34px rgba(31, 42, 51, .08); outline: none; }
.osb-check { width: 72px; height: 72px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 2.4rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.osb-done h2 { font-size: 2rem; font-weight: 600; margin-bottom: 10px; }
.osb-done > p { font-family: var(--serif); font-size: 1.15rem; }
.osb-done .osb-lines { text-align: left; margin-top: 18px; }

/* --- uitgeschakeld --- */
.osb-off { background: var(--blue-t); border-radius: 16px; padding: 18px 22px; margin-bottom: 20px; text-align: center; font-family: var(--serif); font-size: 1.15rem; }
.osb-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 12px !important; }
.osb.is-disabled .osb-card:not(:first-child), .osb.is-disabled .osb-side, .osb.is-disabled .osb-bar { display: none !important; }
.osb.is-disabled .osb-grid { grid-template-columns: 1fr; }

/* --- foto's groot --- */
.osb-lightbox { position: fixed; inset: 0; z-index: 99999; background: rgba(10, 16, 20, .92); display: flex; align-items: center; justify-content: center; }
.osb-lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 6px; }
.osb-lightbox button { position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; }
.osb-lightbox button:hover { background: rgba(255,255,255,.25); }
.osb-lb-close { top: 16px; right: 16px; }
.osb-lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.osb-lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.osb-lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.8); font-size: .9rem; }

/* --- gsm-balk --- */
.osb-bar { display: none; }

@media (max-width: 980px) {
  .osb-grid { grid-template-columns: 1fr; }
  .osb-side { position: static; }
  .osb-room { grid-template-columns: 240px minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .osb { padding: 90px 14px 110px; }
  .osb-hero { padding: 16px 0 20px; }
  .osb-hero p { font-size: 1.1rem; }
  .osb-card { padding: 18px 16px; border-radius: 16px; }
  .osb-card h2 { font-size: 1.35rem; }
  .osb-months { grid-template-columns: 1fr; }
  .osb-months .osb-month + .osb-month { display: none; }
  .osb-room { grid-template-columns: 1fr; }
  .osb-gal { min-height: 0; aspect-ratio: 3 / 2; }
  .osb-room-body { padding: 14px 16px 16px; }
  .osb-room h3 { font-size: 1.4rem; }
  .osb-pick { flex: 1; }
  .osb-fields { grid-template-columns: 1fr; }
  .osb-date b { font-size: 1.05rem; }
  .osb-bar:not([hidden]) { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9998; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(31, 42, 51, .1); }
  .osb-bar b { display: block; font-family: var(--serif); font-size: 1.35rem; line-height: 1.1; }
  .osb-bar small { color: var(--soft); font-size: .8rem; }
  .osb-bar .osb-btn { padding: 11px 22px; }
  .osb-lightbox button.osb-lb-prev, .osb-lightbox button.osb-lb-next { width: 42px; height: 42px; }
}
