/* Boesmanskloof site enhancements (Dynamics Digital, 24 Oct 2026) */

/* 2. Slimmer header; show the main menu on laptops too */
@media (min-width: 701px) {
  .site-header .brand picture { width: 132px; }
  .site-header, .site-header.solid { padding-top: 8px; padding-bottom: 8px; }
  .site-header .brand { padding: 7px; }
}
@media (min-width: 1000px) {
  .site-header .desktop-nav { display: flex; gap: 20px; font-size: 11.5px; white-space: nowrap; }
  .site-header { gap: 18px; }
}
.hero-row .bk-hero-cta { margin: 0 auto 0 28px; white-space: nowrap; }
/* Phones already have the sticky "Plan your stay" bar */
@media (max-width: 700px) { .hero-row .bk-hero-cta { display: none; } }

/* 7. "From" price on stay cards */
.stay-meta { flex-wrap: wrap; }
.stay-meta .bk-price { flex-basis: 100%; margin-top: 4px; font-size: 1.05em; font-weight: 700; color: #8a3d14; }
.stay-meta .bk-price::before { display: none !important; content: none !important; }

/* 4. Gallery filters */
.bk-gal-filter { margin: 0 0 22px; }
.bk-gal-filter .filter-tabs { flex-wrap: wrap; }
.masonry .photo-tile.bk-hide { display: none !important; }

/* 5. Extra house photos stay in the "Show all photos" viewer only */
.house-mosaic .mosaic-image.bk-extra { display: none; }
/* 6. "Sleep at the trailhead" banner on the trail page */
.bk-trailhead { display: block !important; min-height: 0 !important; background: linear-gradient(90deg, rgba(36,28,24,.86) 0%, rgba(36,28,24,.62) 55%, rgba(36,28,24,.25) 100%), url(/wp-content/themes/boesmanskloof-mountain/assets/g-eagle-house.jpg) center/cover no-repeat !important; color: #f4ecdf !important; padding: clamp(56px, 8vw, 110px) var(--gutter, 6vw) !important; margin: 0 !important; }
.bk-trailhead > div { max-width: 680px !important; width: 100% !important; display: block !important; }
.bk-trailhead h2, .bk-trailhead p, .bk-trailhead .eyebrow { color: #f4ecdf !important; }
.bk-trailhead p { opacity: .95; margin: 18px 0 26px; }
.bk-trailhead .button { display: inline-flex !important; margin: 0 10px 10px 0 !important; width: auto !important; }
/* Booking flow (24 Oct 2026) ------------------------------------------- */
/* Step 1: live availability and estimated price */
.bk-live { margin-top: 16px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line, #E6D4BF); background: #fffaf3; display: grid; gap: 6px; font-size: 14px; line-height: 1.45; }
.bk-live[data-state="ok"] { border-color: #9cc5a6; background: #f1f8f1; }
.bk-live[data-state="no"] { border-color: #e2b49b; background: #fdf1ea; }
.bk-live .bk-live-status { font-weight: 700; }
.bk-live[data-state="ok"] .bk-live-status { color: #2f5d46; }
.bk-live[data-state="no"] .bk-live-status { color: #8a3d14; }
.bk-live .bk-live-price strong { font-size: 1.15em; }
.bk-live small { color: var(--muted, #735F50); font-size: 12px; }
.bk-alts { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-alt { border: 1px solid #8a3d14; background: #fff; color: #8a3d14; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.bk-alt:hover { background: #8a3d14; color: #fff; }

/* Stay cards after a date search */
.bk-avail { margin: 10px 0 0; font-size: 14px; font-weight: 700; }
.bk-avail[data-state="ok"] { color: #2f5d46; }
.bk-avail[data-state="no"] { color: var(--muted, #735F50); font-weight: 600; }
.stay-card.bk-booked { opacity: .55; }
.stay-card.bk-booked:hover { opacity: .85; }

/* Date picker: booked nights crossed out, Apply always in view */
#date-dialog button[data-day].booked { text-decoration: line-through; opacity: .35; cursor: not-allowed; }
#date-dialog .calendar-footer-top { position: sticky; bottom: 0; z-index: 2; background: #FCF8F2; padding: 10px 0; margin: -10px 0 0; }
#date-dialog button[data-day].booked { background: repeating-linear-gradient(135deg, transparent 0 5px, rgba(115,95,80,.18) 5px 6px); }

/* Checkout: keep the main button and total in view at the bottom */
.website-checkout .bk-sticky { position: sticky; bottom: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); background: var(--white, #FCF8F2); border-top: 1px solid var(--line, #E6D4BF); }
.website-checkout .bk-sticky .button { flex: 1 1 auto; justify-content: center; }
.website-checkout .bk-sticky-total { font-weight: 700; font-size: 20px; white-space: nowrap; color: var(--ink, #3B2B23); }

/* Small phone fixes on the home search */
@media (max-width: 480px) {
  #home-search .date-control .date-value { white-space: nowrap; font-size: 13px; }
  #home-search select { font-size: 14px; text-overflow: ellipsis; }
}
/* Keep the cookie-settings button clear of the phone "Plan your stay" bar */
@media (max-width: 700px) { .cookieadmin_re_consent { bottom: 108px !important; } }
/* House-page availability calendar */
.bk-cal-section { padding-top: 8px; padding-bottom: 72px; }
.bk-cal-wrap { max-width: 1060px; }
.bk-cal-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.bk-cal-head h2 { margin: 0 0 6px; }
.bk-cal-head p { margin: 0; opacity: .8; }
.bk-cal-nav { display: flex; gap: 8px; flex: none; }
.bk-cal-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid currentColor; background: transparent; font-size: 24px; line-height: 1; cursor: pointer; color: inherit; }
.bk-cal-nav button:disabled { opacity: .3; cursor: default; }
.bk-cal-months { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.bk-cal-month h3 { margin: 0 0 10px; font-size: 18px; }
.bk-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.bk-cal-dow { text-align: center; font-size: 12px; font-weight: 700; opacity: .6; padding: 4px 0; }
.bk-day { aspect-ratio: 1 / 1; min-height: 38px; border: 0; border-radius: 8px; background: #eef1e6; color: #22301f; font: inherit; font-size: 15px; cursor: pointer; position: relative; }
.bk-day:hover:not(:disabled) { outline: 2px solid #8a3d14; }
.bk-day.today { font-weight: 700; text-decoration: underline; }
.bk-day.past { background: transparent; color: #9a9a92; cursor: default; }
.bk-day.wait { background: #f3f3ef; color: #b3b3ab; cursor: progress; }
.bk-day.booked { background: repeating-linear-gradient(135deg, #e5e1d8 0 5px, #d8d3c8 5px 10px); color: #8b867c; text-decoration: line-through; cursor: not-allowed; }
.bk-day.booked.can-out { cursor: pointer; text-decoration: none; color: #22301f; }
.bk-day.in-range { background: #f0d9c8; }
.bk-day.sel-in, .bk-day.sel-out { background: #8a3d14; color: #fff; font-weight: 700; text-decoration: none; }
.bk-cal-legend { display: flex; gap: 18px; margin-top: 14px; font-size: 13px; }
.bk-cal-legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: 6px; vertical-align: -2px; }
.bk-cal-legend .k-free { background: #eef1e6; border: 1px solid #c9cfba; }
.bk-cal-legend .k-booked { background: repeating-linear-gradient(135deg, #e5e1d8 0 3px, #cfc9bd 3px 6px); }
.bk-cal-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: #f6efe6; }
.bk-cal-bar[hidden] { display: none; }
.bk-cal-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.bk-cal-clear { background: none; border: 0; text-decoration: underline; cursor: pointer; font: inherit; color: inherit; padding: 8px 4px; }
.bk-cal-note { font-size: 13px; opacity: .75; margin: 12px 0 0; }
.bk-cal-err { grid-column: 1 / -1; color: #8a3d14; }
@media (max-width: 760px) {
  .bk-cal-months { grid-template-columns: 1fr; gap: 22px; }
  .bk-cal-head { align-items: flex-start; }
  .bk-cal-bar .button { width: 100%; text-align: center; justify-content: center; }
  .bk-cal-actions { width: 100%; flex-direction: row-reverse; justify-content: space-between; }
}
/* Group bookings: several houses, one booking (Dynamics Digital, 24 Oct 2026) */
.bk-group { margin-top: 22px; padding: 16px; border: 1px dashed #c9bfae; border-radius: 12px; }
.bk-group-head { display: grid; gap: 2px; margin-bottom: 10px; }
.bk-group-head span { font-size: 14px; opacity: .8; }
.bk-group-row { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 10px; align-items: end; margin: 0 0 12px; padding: 12px 0 0; border: 0; border-top: 1px solid #e4ddd0; }
.bk-group-row legend { font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; padding: 0; float: left; width: 100%; margin-bottom: 4px; }
.bk-group-row label { display: grid; gap: 4px; font-size: 13px; }
.bk-group-row select { width: 100%; min-height: 44px; }
.bk-group-remove { background: none; border: 0; text-decoration: underline; cursor: pointer; font: inherit; font-size: 14px; color: #8a3d14; min-height: 44px; padding: 0 4px; }
.bk-group-add { width: 100%; min-height: 46px; border: 1px solid currentColor; border-radius: 999px; background: transparent; font: inherit; font-weight: 700; cursor: pointer; color: inherit; }
.bk-group-add:hover { background: rgba(138,61,20,.06); }
@media (max-width: 560px) {
  .bk-group-row { grid-template-columns: 1fr 1fr; }
  .bk-group-row .bk-g-stay { grid-column: 1 / -1; }
  .bk-group-remove { grid-column: 1 / -1; justify-self: start; min-height: 36px; }
}
/* Home page weather (Dynamics Digital, 24 Oct 2026) */
.bk-weather { padding-top: 64px; padding-bottom: 64px; }
.bk-weather-wrap { max-width: 1180px; margin: 0 auto; }
.bk-weather-head h2 { margin: 8px 0 22px; }
.bk-weather-days { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 8px; }
.bk-w-day { display: grid; justify-items: center; gap: 6px; padding: 14px 6px 12px; border-radius: 12px; background: #f3efe7; text-align: center; }
.bk-w-day:first-child { background: #e9dfcf; }
.bk-w-name { font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.bk-w-day svg { color: #8a3d14; }
.bk-w-temp { font-size: 15px; }
.bk-w-temp b { font-size: 17px; }
.bk-w-rain { font-size: 12px; color: #2f5d7c; font-weight: 600; }
.bk-w-rain.bk-w-dry { color: #6d6a63; font-weight: 400; }
.bk-weather-credit { margin: 14px 0 0; font-size: 12.5px; opacity: .75; }
.bk-weather-credit a { color: inherit; }
@media (max-width: 1000px) {
  .bk-weather-days { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .bk-w-day { flex: 0 0 84px; scroll-snap-align: start; }
}
@media (max-width: 700px) { .bk-weather { padding-top: 44px; padding-bottom: 44px; } }
/* Home page reviews, redesigned (Dynamics Digital, 24 Oct 2026) */
.bk-reviews { background: #233d32; color: #f4ecdf; padding-top: 88px; padding-bottom: 80px; }
.bk-reviews-wrap { max-width: 1180px; margin: 0 auto; }
.bk-reviews .eyebrow { color: #f4ecdf; }
.bk-reviews-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 36px; }
.bk-reviews-head h2 { margin: 10px 0 0; color: #f4ecdf; }
.bk-reviews-head h2 em { color: #e8a77f; }
.bk-reviews-badge { display: flex; align-items: center; gap: 16px; flex: none; padding: 16px 22px; border: 1px solid rgba(244, 236, 223, .25); border-radius: 16px; }
.bk-badge-score { font-size: 52px; line-height: 1; font-weight: 700; color: #f4ecdf; }
.bk-badge-side { display: grid; gap: 6px; font-size: 13.5px; max-width: 150px; line-height: 1.35; opacity: .95; }
.bk-stars { position: relative; display: inline-block; line-height: 0; vertical-align: middle; }
.bk-stars svg { width: 17px; height: 17px; fill: currentColor; margin-right: 2px; }
.bk-stars-lg svg { width: 20px; height: 20px; }
.bk-stars-off { color: rgba(196, 94, 43, .25); display: inline-block; white-space: nowrap; }
.bk-stars-on { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: #e08a52; }
.bk-reviews-badge .bk-stars-off { color: rgba(244, 236, 223, .25); }
.bk-reviews-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.bk-reviews-track::-webkit-scrollbar { display: none; }
.bk-reviews-track:focus-visible { outline: 2px solid #e8a77f; outline-offset: 4px; border-radius: 12px; }
.bk-review { position: relative; margin: 0; display: flex; flex-direction: column; gap: 14px; padding: 26px 26px 22px; border-radius: 18px; background: #f4ecdf; color: #3b2b23; scroll-snap-align: start; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.bk-review::before { content: "\201C"; position: absolute; right: 22px; top: 2px; font-size: 96px; line-height: 1; color: rgba(196, 94, 43, .18); font-family: Georgia, serif; pointer-events: none; }
.bk-review-top { display: flex; align-items: center; gap: 8px; }
.bk-review-score { font-size: 13px; font-weight: 700; color: #8e3f24; }
.bk-review-text { margin: 0; flex: 1; }
.bk-review-text p { margin: 0; font-size: 16px; line-height: 1.65; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden; }
.bk-review.open .bk-review-text p { -webkit-line-clamp: unset; display: block; }
.bk-review-more { align-self: flex-start; background: none; border: 0; padding: 0; font: inherit; font-size: 14px; font-weight: 700; color: #8e3f24; text-decoration: underline; cursor: pointer; }
.bk-review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid rgba(59, 43, 35, .12); }
.bk-review-avatar { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #c45e2b; color: #fff; font-weight: 700; font-size: 17px; }
.bk-review-who { display: grid; gap: 1px; font-size: 13px; line-height: 1.4; }
.bk-review-who b { font-size: 15px; }
.bk-review-who span { opacity: .75; }
.bk-review-who a { color: inherit; }
.bk-reviews-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 22px; }
.bk-reviews-note { margin: 0; font-size: 12.5px; opacity: .7; max-width: 640px; }
.bk-reviews-nav { display: flex; gap: 10px; flex: none; }
.bk-reviews-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(244, 236, 223, .5); background: transparent; color: #f4ecdf; font-size: 20px; cursor: pointer; transition: background .2s; }
.bk-reviews-nav button:hover:not(:disabled) { background: rgba(244, 236, 223, .12); }
.bk-reviews-nav button:disabled { opacity: .3; cursor: default; }
@media (max-width: 1000px) { .bk-reviews-track { grid-auto-columns: calc((100% - 20px) / 2); } }
@media (max-width: 700px) {
  .bk-reviews { padding-top: 56px; padding-bottom: 56px; }
  .bk-reviews-head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 24px; }
  .bk-badge-score { font-size: 42px; }
  .bk-reviews-track { grid-auto-columns: 86%; gap: 14px; }
  .bk-review { padding: 22px 20px 18px; }
  .bk-reviews-nav { display: none; }
}

/* Weather page (Dynamics Digital, 24 Oct 2026) */
.bk-wx { padding-top: 24px; }
.bk-wx > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.wx-loading { font-size: 16px; opacity: .8; }
.wx-now { display: grid; grid-template-columns: auto 1fr; gap: 28px 48px; align-items: center; padding: 28px; border-radius: 18px; background: #f3efe7; }
.wx-now-main { display: flex; align-items: center; gap: 18px; color: #8a3d14; }
.wx-now-main div { color: #22301f; }
.wx-now-temp { font-size: 56px; line-height: 1; margin: 4px 0 2px; font-weight: 700; }
.wx-now-word { margin: 0; font-size: 16px; }
.wx-now-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 24px; margin: 0; }
.wx-now-facts dt { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .65; }
.wx-now-facts dd { margin: 2px 0 0; font-size: 17px; font-weight: 700; }
.wx-trail { margin-top: 36px; }
.wx-trail h2, .wx-block h2 { margin: 0 0 14px; }
.wx-trail-days { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wx-trail-day { display: grid; gap: 4px; padding: 16px 18px; border-radius: 12px; border-left: 5px solid #5d7a4a; background: #eef1e6; }
.wx-trail-day[data-tone="warm"] { border-left-color: #c58a2a; background: #f7eedd; }
.wx-trail-day[data-tone="warn"] { border-left-color: #8a3d14; background: #f6e3d8; }
.wx-small { font-size: 12.5px; opacity: .7; margin: 10px 0 0; }
.wx-block { margin-top: 44px; }
.wx-hours { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.wx-hour { flex: 0 0 64px; display: grid; justify-items: center; gap: 4px; padding: 10px 4px; border-radius: 10px; background: #f3efe7; scroll-snap-align: start; }
.wx-hour svg { color: #8a3d14; }
.wx-hour-day { flex: 0 0 auto; writing-mode: vertical-rl; transform: rotate(180deg); align-self: stretch; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .06em; padding: 0 2px; opacity: .75; }
.wx-h-time { font-size: 12.5px; font-weight: 700; }
.wx-h-temp { font-size: 16px; font-weight: 700; }
.wx-h-rain { font-size: 11.5px; color: #2f5d7c; font-weight: 600; min-height: 14px; }
.wx-h-wind { font-size: 11.5px; display: inline-flex; align-items: center; gap: 2px; opacity: .8; }
.wx-arrow { flex: none; }
.wx-days { display: grid; gap: 8px; }
.wx-day { display: grid; grid-template-columns: 1.3fr 1.6fr .9fr .8fr 1.1fr 1.1fr; gap: 6px 16px; align-items: center; padding: 14px 18px; border-radius: 12px; background: #f3efe7; }
.wx-d-name { font-weight: 700; }
.wx-d-sky { display: inline-flex; align-items: center; gap: 10px; }
.wx-d-sky svg { color: #8a3d14; flex: none; }
.wx-d-temp b { font-size: 18px; }
.wx-d-rain { color: #2f5d7c; font-weight: 600; }
.wx-d-wind, .wx-d-sun { font-size: 14px; display: inline-flex; align-items: center; gap: 4px; }
.wx-d-note { grid-column: 1 / -1; font-size: 13.5px; padding-left: 10px; border-left: 3px solid #5d7a4a; }
.wx-d-note[data-tone="warm"] { border-left-color: #c58a2a; }
.wx-d-note[data-tone="warn"] { border-left-color: #8a3d14; }
.wx-credit { margin-top: 26px; font-size: 12.5px; opacity: .75; }
.wx-credit a { color: inherit; }
.wx-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
@media (max-width: 900px) {
  .wx-now { grid-template-columns: 1fr; }
  .wx-day { grid-template-columns: 1fr 1fr; }
  .wx-d-name { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .wx-now { padding: 20px; }
  .wx-now-facts { grid-template-columns: 1fr 1fr; }
  .wx-trail-days { grid-template-columns: 1fr; }
  .wx-day { padding: 12px 14px; }
}
.bk-weather-credit .bk-weather-more { font-weight: 700; opacity: 1; white-space: nowrap; margin-left: 4px; }