/* Booking page — builds on style.css (cream, charcoal, EB Garamond + Jost). */
.bk { padding-block: clamp(28px, 5vw, 56px) 70px; }
.bk-h { text-align: center; margin: 0 0 .9rem; }
.bk-intro { text-align: center; max-width: 720px; margin: 0 auto 1.6rem; }

/* Top bar: listing filters + guests */
.bk-top { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.bk-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bk-filters .lbl { font: 700 .78rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; margin-right: 4px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 300px; border: 1px solid var(--ink);
  background: transparent; color: var(--ink); font: 600 .9rem/1 var(--sans); cursor: pointer; }
.chip i { width: 12px; height: 12px; border-radius: 3px; background: var(--c); display: inline-block; }
.chip[aria-pressed="false"] { opacity: .45; border-style: dashed; }
.chip[aria-pressed="true"] { background: var(--white); }
.bk-guests { display: flex; gap: 14px; align-items: center; font-size: 1rem; }
.bk-guests label { display: flex; gap: 8px; align-items: center; }
.bk-guests select { font: inherit; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); color: var(--ink); }

.bk-prompt { text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin: 0 0 14px; font-size: 1.05rem; }
.linkish { background: none; border: 0; padding: 0 0 0 8px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; font: inherit; cursor: pointer; }

/* Calendar */
.bk-cal { position: relative; }
.bk-calnav { position: absolute; inset: 0 0 auto 0; max-width: 1000px; margin: 0 auto; display: flex; justify-content: space-between; pointer-events: none; }
.bk-arrow { pointer-events: auto; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--ink); background: var(--white); color: var(--ink); font-size: 1.2rem; cursor: pointer; }
.bk-arrow:disabled { opacity: .25; cursor: default; }
.bk-months { max-width: 1000px; margin: 0 auto; }
.bk-mname { text-align: center; font-style: normal; font-size: 1.6rem; line-height: 42px; margin: 0 0 6px; }
.bk-dow, .bk-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.bk-dow span { text-align: center; font: 700 .72rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 6px 0; }
.bk-day { position: relative; min-height: 96px; padding: 5px 4px 4px; border: 1px solid var(--line); border-radius: 6px; background: var(--white);
  color: var(--ink); text-align: left; display: flex; flex-direction: column; gap: 3px; cursor: pointer; font: inherit; }
.bk-day.empty { border: 0; background: none; }
.bk-day .num { font: 600 .95rem/1 var(--sans); padding-left: 2px; }
.bk-day.is-today .num { text-decoration: underline; text-underline-offset: 3px; }
.bk-day:disabled { cursor: default; background: #ece7df; }
.bk-day.no-arrive:disabled { background: var(--white); border-style: dashed; }
.bk-day.no-arrive:disabled .num { opacity: 1; }
.bk-day .num small.sp { color: #a3341b; opacity: 1; font-weight: 600; }
.bk-day .num small { font: 400 .68rem/1 var(--sans); margin-left: 6px; opacity: .75; }
.bk-day:disabled .num { opacity: .45; }
.bk-day:not(:disabled):hover { border-color: var(--ink); }
.bk-day.in-range { background: #fdf0e6; border-color: #e7b48f; }
.bk-day.is-in, .bk-day.is-out { outline: 3px solid var(--ink); outline-offset: -2px; background: #fdf0e6; }
.bars { display: flex; flex-direction: column; gap: 2px; }
.bar { display: flex; justify-content: space-between; gap: 4px; border-radius: 3px; padding: 2px 4px; font: 600 .68rem/1.15 var(--sans); color: #fff; overflow: hidden; white-space: nowrap; }
.bar.b-molitor.open { background: #6f7656; }
.bar.b-ohalloran.open { background: #8a6b47; }
.bar.b-barn.open { background: #c4642d; }
.bar.taken { background: repeating-linear-gradient(135deg, #d9d3ca 0 4px, #e9e4dc 4px 8px); color: #6b655d; }
.bar.taken .bar-price { font-weight: 400; }
.bar-name { overflow: hidden; text-overflow: ellipsis; }
.bk-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 14px 0 0; font-size: .9rem; }
.bk-legend span { display: inline-flex; align-items: center; gap: 6px; }
.bk-legend i { width: 22px; height: 12px; border-radius: 3px; display: inline-block; }
.bk-note { text-align: center; font-size: .9rem; margin: 8px 0 0; }

/* Options */
#bk-options { margin-top: 40px; scroll-margin-top: 90px; }
.bk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bk-card { background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--accent); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.bk-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bk-card h3 { font-style: normal; margin: 0; }
.bk-blurb { font-size: .95rem; margin: 0; }
.bk-total { margin: 4px 0; font-size: .95rem; }
.bk-total span { font: 400 1.8rem/1.1 var(--serif); }
.bk-total small { font-size: .8rem; opacity: .75; }
.bk-why { margin: 4px 0; font-size: .95rem; padding: 10px 12px; background: #f3eee6; border-radius: 6px; }
.bk-card.chosen { box-shadow: 0 0 0 3px var(--ink); }
.bk-card .btn { margin-top: auto; }
.btn.light-ink { background: var(--white); color: var(--ink); }
.bk-more { font-size: .85rem; }

/* Checkout */
#bk-checkout { margin-top: 44px; scroll-margin-top: 90px; }
.bk-co { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; align-items: start; }
.bk-panel { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 20px 22px; margin-bottom: 18px; }
.bk-panel h3 { font-style: normal; margin-bottom: .6rem; }
.bk-tour { font-size: .95rem; background: #eef0e6; border-radius: 6px; padding: 8px 12px; }
.bk-group-h { font: 700 .78rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; margin: 18px 0 6px; }
.bk-group { margin-top: 16px; border-top: 1px solid #efe7da; padding-top: 10px; }
.bk-group summary { cursor: pointer; font: 700 .78rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.bk-addon { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; padding: 10px; border: 1px solid #efe7da; border-radius: 8px; margin: 8px 0; }
.bk-addon.picked { border-color: #6f7656; background: #f4f5ef; }
.bk-addon img { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; background: #eee; }
.bk-addon-txt b { display: block; font-weight: 600; }
.bk-addon-price { font-size: .9rem; }
.bk-addon-txt p { margin: 3px 0 0; font-size: .85rem; line-height: 1.35; opacity: .85; }
.bk-opt { display: inline-flex; gap: 6px; align-items: center; font-size: .85rem; margin-top: 6px; }
.bk-opt select { font: inherit; padding: 3px 6px; border: 1px solid var(--line); border-radius: 5px; }
.bk-add { border: 1px solid var(--ink); background: #fff; color: var(--ink); border-radius: 300px; padding: 8px 16px; font: 600 .85rem var(--sans); cursor: pointer; white-space: nowrap; }
.bk-add.on { background: #6f7656; border-color: #6f7656; color: #fff; }
.bk-qty { display: inline-flex; align-items: center; border: 1px solid var(--ink); border-radius: 300px; overflow: hidden; }
.bk-qty button { width: 34px; height: 34px; border: 0; background: #fff; font-size: 1.1rem; cursor: pointer; color: var(--ink); }
.bk-qty button:disabled { opacity: .3; cursor: default; }
.bk-qty span { min-width: 26px; text-align: center; font-weight: 600; }
.bk-tours { max-width: 1000px; margin: 18px auto 0; background: #eef0e6; border-radius: 10px; padding: 14px 18px; font-size: .95rem; }
.bk-tours summary { cursor: pointer; font-weight: 600; }
.bk-tours ul { margin: 8px 0 0; }
.bk-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bk-fields label { display: flex; flex-direction: column; gap: 4px; font-size: .9rem; }
.bk-fields .full { grid-column: 1 / -1; }
.bk-fields input, .bk-fields textarea, .bk-fields select { font: inherit; font-size: 1rem; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); }
.bk-agree { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; margin-top: 10px; }
.bk-agree input { width: 18px; height: 18px; margin-top: 3px; accent-color: #383838; }
.bk-terms { font-size: .85rem; line-height: 1.5; max-height: 340px; overflow: auto; background: #faf7f2; border: 1px solid #e3d8c6; padding: 12px 16px; border-radius: 6px; margin-bottom: 14px; }
.bk-terms h3 { font-style: normal; font-size: 1.2rem; }
.bk-sign input[name=signature] { font: italic 1.3rem var(--serif); }
.bk-agree span { font-size: .88rem; }
.bk-terms summary { cursor: pointer; font-size: .95rem; }
#bk-card { min-height: 90px; }
.bk-card-placeholder { border: 1px dashed var(--line); border-radius: 6px; padding: 18px; text-align: center; font-size: .95rem; background: #faf7f2; }
.bk-summary { position: sticky; top: 100px; }
.bk-sum-dates { font-size: .95rem; }
.bk-line { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid #efe7da; font-size: .95rem; }
.bk-line.disc span:last-child { color: #4e6b2f; }
.bk-line.total { font-weight: 600; font-size: 1.1rem; border-bottom: 0; padding-top: 12px; }
.bk-nights { font-size: .85rem; margin-bottom: 8px; }
.bk-nights div { display: flex; justify-content: space-between; padding: 2px 0; }
.bk-fine { font-size: .8rem; opacity: .8; margin-top: 10px; }
#bk-pay { width: 100%; margin-top: 12px; background: #e07a3f; border-color: #e07a3f; font-size: 1rem; }
#bk-pay:disabled { opacity: .6; }
.bk-error { color: #a3341b; font-weight: 600; min-height: 1.2em; margin: 10px 0 0; }
.bk-success { padding: 30px 0; }
.bk-success h2 em { color: #6f7656; }

@media (max-width: 980px) {
  .bk-cards { grid-template-columns: 1fr; }
  .bk-card { flex-direction: row; }
  .bk-co { grid-template-columns: 1fr; }
  .bk-summary { position: static; order: -1; }
}
@media (max-width: 560px) {
  .bk-day { min-height: 64px; padding: 3px 2px; }
  .bar { padding: 0; height: 9px; font-size: 0; }
  .bar-name, .bar-price { display: none; }
  .bk-day .num small.sp { color: #a3341b; opacity: 1; font-weight: 600; }
.bk-day .num small { display: none; }
  .bk-card { flex-direction: column; }
  .bk-fields { grid-template-columns: 1fr; }
  .bk-addon { grid-template-columns: 56px 1fr; }
  .bk-addon img { width: 56px; height: 56px; }
  .bk-addon-ctl { grid-column: 1 / -1; justify-self: end; }
  .bk-top { justify-content: center; }
}
.bk-banner { max-width: 1000px; margin: 4px auto 10px; background: #e07a3f; color: #fff; border-radius: 10px; padding: 14px 18px; text-align: center; font-size: 1.02rem; }

/* Our farm stays (photos above the calendar) */
.bk-stays { margin: 0 0 30px; }
.bk-stay-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bk-stay { background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--accent); border-radius: 10px; overflow: hidden; padding-bottom: 14px; }
.bk-stay h3 { font-style: normal; margin: 12px 16px 4px; }
.bk-stay p { margin: 0 16px 6px; font-size: .95rem; }
.bk-from { font-weight: 600; }
.bk-more-photos { margin: 2px 16px 0; padding: 0; font-weight: 600; }
.bk-stay-photo, .bk-card-photo { display: block; position: relative; width: 100%; padding: 0; border: 0; background: #eee; cursor: zoom-in; }
.bk-stay-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .3s; }
.bk-stay-photo:hover img { transform: scale(1.03); }
.bk-stay-photo { overflow: hidden; }
.bk-stay-photo span { position: absolute; right: 10px; bottom: 10px; background: rgba(56,56,56,.8); color: #fff; font: 600 .8rem var(--sans); padding: 5px 10px; border-radius: 300px; }
.bk-card-photo img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.bk-card.unavailable .bk-card-photo img { filter: grayscale(.8); opacity: .6; }
.bk-more { font-size: .9rem; margin: 2px 0 0; }
.bk-more .linkish { padding: 0; font-weight: 600; }

/* Photo slideshow */
.bk-lightbox { border: 0; padding: 0; width: min(1100px, 96vw); max-height: 94vh; background: #1f1f1f; color: #fff; border-radius: 10px; overflow: hidden; }
.bk-lightbox::backdrop { background: rgba(20,20,20,.85); }
.bk-lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; }
.bk-lightbox img { width: 100%; max-height: 80vh; object-fit: contain; background: #111; user-select: none; }
.bk-lightbox figcaption { padding: 10px 56px 14px; font-size: .95rem; text-align: center; }
.bk-lightbox figcaption span { opacity: .7; margin-left: 8px; }
.bk-lb-close { position: absolute; top: 8px; right: 10px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.bk-lb-nav { position: absolute; top: 42%; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; font-size: 2.2rem; line-height: 1; cursor: pointer; }
.bk-lb-nav.prev { left: 10px; } .bk-lb-nav.next { right: 10px; }

@media (max-width: 980px) {
  .bk-stay-row { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .bk-stay p:not(.bk-from) { display: none; }
  .bk-card-photo { width: 34%; flex: none; }
  .bk-card-photo img { height: 100%; aspect-ratio: auto; }
}
@media (max-width: 560px) {
  .bk-stay-row { grid-template-columns: 1fr; }
  .bk-stay p:not(.bk-from) { display: block; }
  .bk-card-photo { width: 100%; }
  .bk-card-photo img { aspect-ratio: 16/9; height: auto; }
}

/* Farm stay details (bottom of page) */
.bk-details { margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.bk-detail-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 18px; }
.bk-detail-row.two { grid-template-columns: 1fr 1fr; }
.bk-detail { background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--accent, var(--ink)); border-radius: 10px; padding: 18px 20px; font-size: .95rem; }
.bk-detail h3 { font-style: normal; margin: 0 0 2px; }
.bk-detail-sub { font-weight: 600; margin: 0 0 8px; }
.bk-detail h4 { font: 700 .75rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; margin: 14px 0 6px; }
.bk-detail ul { margin: 0 0 8px; padding-left: 1.1em; }
.bk-detail li { margin-bottom: 4px; }
@media (max-width: 980px) { .bk-detail-row, .bk-detail-row.two { grid-template-columns: 1fr; } }

/* Dec 4: compact top of the booking page (photo header, three small stay cards, then the calendar) */
.sec.photo.hero.bk-hero { padding-block: clamp(1.2rem, 3vw, 2.4rem) clamp(8.5rem, 22vw, 16rem); }
.sec.photo.bk-hero .bg { object-position: 50% 30%; }
.sec.photo.bk-hero .shade { background: linear-gradient(to bottom, rgba(40,36,30,.6) 0%, rgba(40,36,30,.3) 40%, rgba(40,36,30,0) 65%); }
.sec.photo.bk-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 0; }
.sec.photo.bk-hero h3 { margin: 0; font-size: clamp(1.1rem, 2.6vw, 1.5rem); }
.sec.bk { padding-top: clamp(1.2rem, 3vw, 2.2rem); }
.bk-stays { margin: 0 0 18px; }
.bk-stay-row { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: clamp(8px, 1.6vw, 18px); }
.bk-stay { padding-bottom: 10px; border-top-width: 5px; }
.bk-stay h3 { margin: 8px 12px 2px; font-size: clamp(.95rem, 2.2vw, 1.3rem); line-height: 1.2; }
.bk-stay .bk-from { display: block !important; margin: 0 12px; font-size: clamp(.78rem, 1.8vw, .95rem); line-height: 1.35; }
.bk-stay .bk-from span { display: block; }
.bk-stay .bk-from span:first-child { font-weight: 400; }
.bk-stay-photo img { aspect-ratio: 4/3; }
.bk-barn-note { text-align: center; font-size: .92rem; max-width: 760px; margin: 12px auto 0; color: #6b6259; }
@media (max-width: 560px) {
  .bk-stay h3 { margin: 6px 8px 2px; }
  .bk-stay .bk-from { margin: 0 8px; }
  .bk-stay-photo span { right: 5px; bottom: 5px; font-size: .68rem; padding: 3px 7px; }
  .bk-barn-note { font-size: .82rem; margin-top: 8px; }
  .bk-stays { margin-bottom: 12px; }
  .bk-filters .lbl { display: none; }
  .bk-filters .chip { font-size: .78rem; padding: 5px 10px; }
  .bk-filters { gap: 6px; }
}
