/* HAUS Bookings — inherits the page's fonts; quiet, legible, works from 320px up. */
.haus-booking { --hb-ink: #1c1c1c; --hb-muted: #6b6760; --hb-line: #e3e0da; --hb-soft: #f6f4f0; --hb-taken: #c9c5bd; --hb-accent: #1c1c1c; --hb-sel: #ece8e1; scroll-margin-top: 90px; }
.haus-booking .hb { color: var(--hb-ink); font: inherit; max-width: 900px; margin: 2.5rem auto; padding: 0; }
.haus-booking .hb * { box-sizing: border-box; }
.haus-booking .hb-title { font: inherit; font-size: 1.6rem; font-weight: 300; letter-spacing: .02em; margin: 0 0 1.25rem; }
.haus-booking .hb-banner { background: var(--hb-ink); color: #fff; padding: .9rem 1.1rem; border-radius: 4px; margin: 0 0 1.25rem; }
.haus-booking .hb-banner--soft { background: var(--hb-soft); color: var(--hb-ink); border: 1px solid var(--hb-line); }

.haus-booking .hb-cal { position: relative; border: 1px solid var(--hb-line); border-radius: 6px; padding: 1rem; background: #fff; }
.haus-booking .hb-nav { position: absolute; top: .7rem; left: .6rem; right: .6rem; display: flex; justify-content: space-between; pointer-events: none; }
.haus-booking .hb-nav button { pointer-events: auto; width: 2.4rem; height: 2.4rem; border: 1px solid var(--hb-line); border-radius: 50%; background: #fff; color: var(--hb-ink); font-size: 1.4rem; line-height: 1; cursor: pointer; padding: 0; }
.haus-booking .hb-nav button:disabled { opacity: .3; cursor: default; }
.haus-booking .hb-months { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.haus-booking .hb-mname { text-align: center; font-size: 1.05rem; letter-spacing: .04em; margin: .35rem 0 .9rem; line-height: 1.8rem; }
.haus-booking .hb-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.haus-booking .hb-dow { text-align: center; font-size: .72rem; color: var(--hb-muted); padding-bottom: .3rem; text-transform: uppercase; letter-spacing: .06em; }
.haus-booking .hb-day { appearance: none; border: 0; background: transparent; color: var(--hb-ink); font: inherit; min-height: 3.1rem; padding: .3rem 0; border-radius: 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; line-height: 1.1; }
.haus-booking .hb-day--blank { cursor: default; }
.haus-booking .hb-num { font-size: .95rem; }
.haus-booking .hb-rate { font-size: .68rem; color: var(--hb-muted); margin-top: .2rem; letter-spacing: .01em; }
.haus-booking .hb-day--free:hover { background: var(--hb-soft); }
.haus-booking .hb-day--taken { color: var(--hb-taken); cursor: default; }
.haus-booking .hb-day--taken .hb-num { text-decoration: line-through; }
.haus-booking .hb-day--outonly { color: var(--hb-muted); }
.haus-booking .hb-day--far { opacity: .45; }
.haus-booking .hb-day--today .hb-num { font-weight: 600; }
.haus-booking .hb-day--sel { background: var(--hb-sel); border-radius: 0; opacity: 1; }
.haus-booking .hb-day--start, .haus-booking .hb-day--end { background: var(--hb-accent); color: #fff; }
.haus-booking .hb-day--start { border-radius: 4px 0 0 4px; }
.haus-booking .hb-day--end { border-radius: 0 4px 4px 0; }
.haus-booking .hb-day--start.hb-day--end { border-radius: 4px; }
.haus-booking .hb-day--start .hb-rate, .haus-booking .hb-day--end .hb-rate { color: #e8e4dc; }
.haus-booking .hb-day:focus-visible, .haus-booking .hb-nav button:focus-visible, .haus-booking .hb-btn:focus-visible { outline: 2px solid var(--hb-ink); outline-offset: 2px; }

.haus-booking .hb-legend { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .8rem; color: var(--hb-muted); margin: .7rem .2rem 1.25rem; }
.haus-booking .hb-key { display: inline-block; width: .8rem; height: .8rem; border-radius: 2px; margin-right: .4rem; vertical-align: -1px; border: 1px solid var(--hb-line); }
.haus-booking .hb-key--free { background: #fff; }
.haus-booking .hb-key--taken { background: repeating-linear-gradient(135deg, #fff 0 2px, var(--hb-taken) 2px 3px); }
.haus-booking .hb-key--sel { background: var(--hb-accent); border-color: var(--hb-accent); }

.haus-booking .hb-sel { margin: 0 0 1rem; }
.haus-booking .hb-sel p { margin: .2rem 0; }
.haus-booking .hb-hint { color: var(--hb-muted); }
.haus-booking .hb-link { background: none; border: 0; padding: 0; font: inherit; font-size: .85rem; color: var(--hb-ink); text-decoration: underline; cursor: pointer; margin-top: .3rem; }

.haus-booking .hb-opts { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1rem 1.5rem; margin: 0 0 1.25rem; }
.haus-booking .hb-field { display: flex; flex-direction: column; gap: .35rem; font-size: .85rem; color: var(--hb-muted); margin: 0 0 .9rem; }
.haus-booking .hb-opts .hb-field { margin: 0; min-width: 9rem; }
.haus-booking .hb-field input, .haus-booking .hb-field select, .haus-booking .hb-field textarea { font: inherit; font-size: 1rem; color: var(--hb-ink); border: 1px solid var(--hb-line); border-radius: 4px; padding: .65rem .75rem; background: #fff; width: 100%; }
.haus-booking .hb-check { display: flex; gap: .55rem; align-items: center; font-size: .95rem; margin: 0 0 .9rem; cursor: pointer; }
.haus-booking .hb-opts .hb-check { margin: 0 0 .6rem; }
.haus-booking .hb-check input { width: 1.1rem; height: 1.1rem; flex: none; }

.haus-booking .hb-quote { border-top: 1px solid var(--hb-line); padding-top: 1rem; margin-bottom: 1.25rem; }
.haus-booking .hb-quote:empty { display: none; }
.haus-booking .hb-row { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; }
.haus-booking .hb-row--total { font-size: 1.15rem; }
.haus-booking .hb-row--muted { color: var(--hb-muted); font-size: .9rem; }
.haus-booking .hb-small { color: var(--hb-muted); font-size: .82rem; margin: .7rem 0 0; }

.haus-booking .hb-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 1rem; }
.haus-booking .hb-hp { position: absolute !important; left: -9999px !important; height: 1px; overflow: hidden; }
.haus-booking .hb-btn { display: block; width: 100%; margin-top: .4rem; padding: 1rem 1.25rem; border: 0; border-radius: 4px; background: var(--hb-accent); color: #fff; font: inherit; font-size: 1rem; letter-spacing: .04em; cursor: pointer; }
.haus-booking .hb-btn:disabled { opacity: .6; cursor: wait; }
.haus-booking .hb-note { color: var(--hb-muted); font-size: .82rem; text-align: center; margin: .6rem 0 0; }
.haus-booking .hb-msg { margin: 1rem 0 0; display: none; padding: .9rem 1.1rem; border-radius: 4px; background: var(--hb-soft); border: 1px solid var(--hb-line); }
.haus-booking .hb-msg--on { display: block; }
.haus-booking .hb-msg--err { border-color: #c98b7c; background: #fbf1ee; }
.haus-booking .hb-error { color: #8a3b2a; }
.haus-booking .hb-loading { color: var(--hb-muted); }

@media (max-width: 480px) {
  .haus-booking .hb-cal { padding: .75rem .4rem; }
  .haus-booking .hb-day { min-height: 2.9rem; }
  .haus-booking .hb-rate { font-size: .6rem; }
  .haus-booking .hb-title { font-size: 1.35rem; }
}

/* Get directions — sits under the calendar. */
.haus-directions { max-width: 900px; margin: -1.25rem auto 2.5rem; font: inherit; color: #1c1c1c; }
.haus-directions a { display: inline-block; padding: .65rem 1.2rem; border: 1px solid #1c1c1c; border-radius: 4px; color: #1c1c1c; text-decoration: none; letter-spacing: .02em; margin-right: .9rem; }
.haus-directions a:hover { background: #1c1c1c; color: #fff; }
.haus-directions span { color: #6b6760; font-size: .95em; display: inline-block; margin-top: .5rem; }

/* [haus_directions] drop-down */
.haus-dir-menu { display: inline-block; position: relative; font: inherit; }
.haus-dir-menu summary { list-style: none; cursor: pointer; padding: .65rem 1.2rem; border: 1px solid currentColor; border-radius: 4px; letter-spacing: .02em; }
.haus-dir-menu summary::-webkit-details-marker { display: none; }
.haus-dir-menu summary::after { content: " \25BE"; }
.haus-dir-menu ul { position: absolute; z-index: 50; left: 0; min-width: 100%; margin: .3rem 0 0; padding: .3rem 0; list-style: none; background: #fff; border: 1px solid #e3e0da; border-radius: 4px; box-shadow: 0 6px 18px rgba(0,0,0,.08); white-space: nowrap; }
.haus-dir-menu li a { display: block; padding: .55rem 1.2rem; color: #1c1c1c; text-decoration: none; }
.haus-dir-menu li a:hover { background: #f6f4f0; }
