/* Booking flow — layered on top of site/css/style.css, which supplies the
   design tokens (--brand, --ink, --shell, the type scale). Nothing here
   redefines a token; if a colour looks wrong, fix it in style.css. */

/* hidden must always hide, even on elements whose class sets display. */
[hidden] { display: none !important; }

.booking-body {
  background: var(--shell);
  color: var(--ink-2);
  font-family: var(--font-body);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

/* --- Site header, title band ------------------------------------------ */

/* The main site's header and footer (lib/site_chrome.php). The header is
   fixed, so anything scrolled into view has to land below it. */
.booking-body [id] { scroll-margin-top: calc(var(--hdr-h) + 1rem); }

/* The booking page opens on a photo title band like the Gallery page, with the
   site's dark overlay. The sprinkler sits low in the frame, so the crop favours
   the lower half: spray and leaves stay in the short band. */
.bk-hero .display { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0; }
.bk-hero .hero-media img { object-position: 50% 72%; }
/* This photo is darker than the Gallery's, so the site's overlay is eased off
   here: enough shade under the white heading, and the spray still shows. */
.bk-hero .hero-media::after {
  background: linear-gradient(to top, rgba(14,13,12,0.62), rgba(14,13,12,0.32) 55%, rgba(14,13,12,0.5));
}
/* A soft shadow keeps the small label and heading legible over the bright spray. */
.bk-hero .eyebrow, .bk-hero .display { text-shadow: 0 1px 14px rgba(14,13,12,0.55), 0 1px 2px rgba(14,13,12,0.45); }
/* Its heading lines up with the form column below (.bk-main: 44rem wide, same side padding). */
.bk-hero .container { max-width: 44rem; padding-left: clamp(1rem, 4vw, 2rem); padding-right: clamp(1rem, 4vw, 2rem); }

/* The confirmation page has no title band: its content starts below the header. */
.booking-body main.bk-main { padding-top: calc(var(--hdr-h) + clamp(2rem, 6vw, 3.5rem)); }

/* --- Layout ------------------------------------------------------------- */

.bk-main {
  max-width: 44rem;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 3.5rem) clamp(1rem, 4vw, 2rem) 5rem;
}

.bk-intro { margin-bottom: 2rem; }

.bk-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 0.6rem;
  font-weight: 600;
}

.bk-intro h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 0.75rem;
  font-weight: 400;
}

.bk-lede {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
  max-width: 34rem;
}

.bk-flow { display: flex; flex-direction: column; gap: 1rem; }

/* --- Season, pricing and the Nearby Neighbor Discount, above the form --- */
/* Laid out like the main site's sections rather than as boxes: a small label
   with its rule, serif headings, hairlines between rows, and burgundy only as
   an accent. The booking form below keeps its cards, because that part is a
   tool you fill in. Class names avoid "promo", "offer" and "deal": ad blockers
   hide those. */

.bk-intro-head {
  display: grid;
  gap: 1rem 3rem;
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
  padding-bottom: clamp(1.5rem, 3vw, 2rem);
  border-bottom: 1px solid var(--line);
}
.bk-season {
  margin: 0.85rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.bk-intro-lead { margin: 0; max-width: 30rem; }
@media (min-width: 48rem) {
  .bk-intro-head:not(.bk-intro-head--solo) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.bk-intro-h { font-size: clamp(1.5rem, 2.6vw, 1.85rem); line-height: 1.2; margin: 0 0 1.25rem; }
.bk-info p, .bk-nb p { margin: 1rem 0 0; font-size: 0.97rem; line-height: 1.65; color: var(--ink-2); }
.bk-intro-h + p { margin-top: 0; }
.bk-info a, .bk-nb a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-color: rgba(110, 31, 51, 0.35);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
  transition: text-decoration-color 0.2s var(--ease);
}
.bk-info a:hover, .bk-nb a:hover { text-decoration-color: currentColor; }

/* Prices and the two discounts share one pattern: a serif figure, then what it's for. */
.bk-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.bk-rows li {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 1.25rem;
  align-items: baseline;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.97rem;
  line-height: 1.55;
}
.bk-rows strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  font-variant-numeric: lining-nums tabular-nums;
}
.bk-rows--accent strong { color: var(--brand); }
@media (max-width: 30rem) { .bk-rows li { grid-template-columns: 5.25rem minmax(0, 1fr); gap: 1rem; } }

.bk-nb-new {
  margin-left: 0.5rem;
  vertical-align: 0.35em;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
}
.bk-nb .bk-nb-save {
  margin: 0.75rem 0 1.25rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.4;
  color: var(--brand);
  text-wrap: balance;
}

/* Terms open like the main site's FAQ: a serif line between hairlines and a drawn plus. */
.bk-nb-terms { margin-top: 1.5rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bk-nb-terms summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s var(--ease);
}
.bk-nb-terms summary:hover { color: var(--brand); }
.bk-nb-terms summary::-webkit-details-marker { display: none; }
.bk-plus { flex: none; position: relative; width: 1rem; height: 1rem; }
.bk-plus::before, .bk-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--brand);
  transform: translate(-50%, -50%);
}
.bk-plus::before { width: 100%; height: 1.5px; }
.bk-plus::after { width: 1.5px; height: 100%; transition: transform 0.3s var(--ease); }
.bk-nb-terms[open] .bk-plus::after { transform: translate(-50%, -50%) scaleY(0); }
.bk-nb-terms-body { padding-bottom: 1.5rem; }
.bk-nb-terms h3 {
  margin: 1.5rem 0 0.5rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.bk-nb-terms-body > h3:first-child { margin-top: 0.25rem; }
.bk-nb-prices { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.bk-nb-prices th:first-child { width: 28%; }
.bk-nb-prices th, .bk-nb-prices td { padding: 0.55rem 0.35rem; border-bottom: 1px solid var(--line); text-align: right; vertical-align: bottom; }
.bk-nb-prices th:first-child { padding-left: 0; text-align: left; }
.bk-nb-prices th:last-child, .bk-nb-prices td:last-child { padding-right: 0; }
.bk-nb-prices thead th { font-size: 0.72rem; font-weight: 600; line-height: 1.3; color: var(--ink-3); }
.bk-nb-prices tbody th { font-weight: 500; color: var(--ink); white-space: nowrap; }
.bk-nb-prices td { font-weight: 600; color: var(--ink); }
.bk-nb-prices td:last-child { font-weight: 400; color: var(--ink-3); }
.bk-nb .bk-nb-note { margin-top: 0.6rem; font-size: 0.85rem; color: var(--ink-3); }
.bk-nb-list { list-style: disc; margin: 0; padding-left: 1.15rem; font-size: 0.95rem; }
.bk-nb-list li { margin: 0.3rem 0; line-height: 1.5; }
.bk-nb-list li::marker { color: var(--brand); }
.bk-nb .bk-nb-terms .bk-nb-area { margin: 0; font-size: 0.95rem; line-height: 1.5; }

/* --- Two columns above the form on wider screens ---------------------- */
/* Pricing and the Nearby Neighbor Discount sit side by side with a hairline
   between them; the booking form stays one column, centred below. Narrower
   screens stack them, with a hairline between. */
.bk-intro-grid { display: grid; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
/* The site gives every <section> tall band padding; these two are columns, not bands. */
.bk-intro-grid > section { padding: 0; }
.bk-intro-grid > section + section { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
@media (min-width: 60rem) {
  .bk-main--wide { max-width: 66rem; }
  .bk-main--wide > :not(.bk-intro-grid):not(.bk-intro-head) { max-width: 40rem; margin-left: auto; margin-right: auto; }
  .bk-hero .container { max-width: 66rem; }
  .bk-intro-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bk-intro-grid > section { padding-right: clamp(2rem, 4vw, 3.5rem); }
  .bk-intro-grid > section + section {
    margin-top: 0;
    padding: 0 0 0 clamp(2rem, 4vw, 3.5rem);
    border-top: 0;
    border-left: 1px solid var(--line);
  }
}

/* --- Cards / steps ------------------------------------------------------ */

.bk-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(1.25rem, 3.5vw, 1.75rem);
  box-shadow: var(--shadow-sm);
  transition: opacity 0.25s var(--ease), border-color 0.25s var(--ease);
}

/* A locked step is visible but inert, so the customer can see what is coming
   without being able to fill it in out of order and get confused later. */
.bk-card.is-locked { opacity: 0.5; pointer-events: none; }
.bk-card.is-locked input,
.bk-card.is-locked textarea,
.bk-card.is-locked button { pointer-events: none; }

.bk-card.is-active { border-color: var(--line-2); }

.bk-step-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.bk-step-num {
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand);
  font-size: 0.8125rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.bk-card.is-done .bk-step-num { background: var(--brand); color: #fff; }

.bk-step-head h2 {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  line-height: 1.3;
}

/* --- Fields ------------------------------------------------------------- */

.bk-field { margin-bottom: 1rem; }
.bk-field:last-child { margin-bottom: 0; }
.bk-field-narrow { max-width: 12rem; }

.bk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.bk-field-full { grid-column: 1 / -1; }
@media (max-width: 34rem) { .bk-grid { grid-template-columns: 1fr; } }

.bk-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.bk-optional {
  font-weight: 400;
  color: var(--ink-3);
  font-size: 0.8125rem;
}

.bk-field input,
.bk-field textarea {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 0.7rem 0.85rem;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.bk-field input:focus,
.bk-field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-tint);
}

.bk-field input[aria-invalid="true"] { border-color: #b3261e; }

.bk-help {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ink-3);
  margin: 0.4rem 0 0;
}

.bk-error {
  font-size: 0.8125rem;
  color: #b3261e;
  margin: 0.4rem 0 0;
  font-weight: 500;
}
.bk-error-block { margin: 0 0 0.75rem; }

.bk-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 0.8125rem;
  color: var(--brand);
  text-decoration: underline;
  cursor: pointer;
}

/* --- Address autocomplete ---------------------------------------------- */

.bk-combo { position: relative; }

.bk-suggest {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 20;
  margin: 0;
  padding: 0.25rem;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  box-shadow: var(--shadow-md);
  max-height: 17rem;
  overflow-y: auto;
}

.bk-suggest li {
  padding: 0.6rem 0.7rem;
  border-radius: var(--r-sm);
  cursor: pointer;
  font-size: 0.9375rem;
  line-height: 1.35;
}
.bk-suggest li[aria-selected="true"],
.bk-suggest li:hover { background: var(--brand-tint); }

.bk-suggest .s-main { color: var(--ink); display: block; }
.bk-suggest .s-sub { color: var(--ink-3); font-size: 0.8125rem; display: block; }

.bk-suggest .is-empty { color: var(--ink-3); cursor: default; }
.bk-suggest .is-empty:hover { background: none; }

.bk-resolved {
  background: var(--shell-2);
  border-radius: var(--r);
  padding: 0.85rem 1rem;
  margin-top: 0.25rem;
}
.bk-resolved-row { display: flex; align-items: flex-start; gap: 0.7rem; }
.bk-resolved-row svg { color: var(--brand); flex: none; margin-top: 2px; }
.bk-resolved-row > div { flex: 1; min-width: 0; }
.bk-resolved-addr { margin: 0; font-size: 0.9375rem; color: var(--ink); font-weight: 500; }
.bk-resolved-zone { margin: 0.2rem 0 0; font-size: 0.8125rem; color: var(--ink-3); }
.bk-resolved-zone strong { color: var(--ink-2); }

/* --- Price -------------------------------------------------------------- */

.bk-price {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.bk-price-label { font-size: 0.875rem; color: var(--ink-3); }
.bk-price-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--ink);
  line-height: 1;
}
.bk-price-note { font-size: 0.8125rem; color: var(--ink-3); width: 100%; }

/* --- Slots -------------------------------------------------------------- */

.bk-slots { display: grid; gap: 0.5rem; }
.bk-slots:empty { display: none; }

.bk-slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 0.8rem 1rem;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.bk-slot:hover { border-color: var(--brand-soft); }
.bk-slot[aria-checked="true"] {
  border-color: var(--brand);
  background: var(--brand-tint);
  box-shadow: inset 0 0 0 1px var(--brand);
}
.bk-slot:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.bk-slot-when { font-size: 0.9375rem; color: var(--ink); font-weight: 500; }
.bk-slot-note { font-size: 0.8125rem; color: var(--ink-3); margin-top: 0.15rem; }
.bk-slot-left { font-size: 0.75rem; color: var(--ink-3); white-space: nowrap; }
.bk-slot-left.is-low { color: #a8471c; font-weight: 600; }

/* --- Summary + submit --------------------------------------------------- */

.bk-submit { margin-top: 0.5rem; }

.bk-summary {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.bk-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  font-size: 0.9375rem;
}
.bk-summary span { color: var(--ink-3); flex: none; }
.bk-summary strong { color: var(--ink); font-weight: 500; text-align: right; }
.bk-summary-total {
  border-top: 1px solid var(--line);
  margin-top: 0.4rem;
  padding-top: 0.8rem !important;
}
.bk-summary-total strong { font-size: 1.25rem; font-family: var(--font-display); }

.bk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font: inherit;
  font-weight: 600;
  border-radius: var(--r);
  border: 1px solid transparent;
  padding: 0.85rem 1.5rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s var(--ease), opacity 0.15s var(--ease);
}
.bk-btn-primary { background: var(--brand); color: #fff; }
.bk-btn-primary:hover:not(:disabled) { background: var(--brand-deep); }
.bk-btn-primary:disabled { opacity: 0.45; cursor: not-allowed; }
.bk-btn-lg { width: 100%; font-size: 1.0625rem; padding: 1rem 1.5rem; }

.bk-spinner {
  display: none;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: bk-spin 0.7s linear infinite;
}
.bk-btn.is-busy .bk-spinner { display: block; }
@keyframes bk-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .bk-spinner { animation-duration: 2s; }
  .bk-card { transition: none; }
}

.bk-fineprint {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ink-3);
  margin: 0.85rem 0 0;
  text-align: center;
}

/* --- Notices ------------------------------------------------------------ */

.bk-alert {
  border-radius: var(--r);
  padding: 0.9rem 1.1rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}
.bk-alert-info { background: var(--brand-tint); color: var(--brand-deep); }

.bk-notice { text-align: center; }
.bk-notice h2 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 0.6rem;
}
.bk-notice p { margin: 0 0 1.25rem; line-height: 1.6; }

.bk-footer-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--ink-3);
  margin-top: 2.5rem;
}
.bk-footer-note a { color: var(--brand); }

/* === Fields added for the 2026 form ====================================== */


.bk-help-wide { margin: -0.4rem 0 1.25rem; max-width: 34rem; }

/* A yes/no question. Fieldsets carry browser default borders and padding that
   fight the card's own spacing, so reset them completely. */
.bk-question {
  border: 0;
  margin: 0 0 1.25rem;
  padding: 0;
  min-width: 0;
}
.bk-question[hidden] { display: none; }

.bk-question legend {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
  padding: 0;
  margin-bottom: 0.6rem;
}

/* Segmented yes/no. The radio stays in the DOM and focusable; only its
   circle is hidden, so keyboard and screen-reader behaviour is native. */
.bk-choice { display: inline-flex; gap: 0.5rem; }

.bk-choice label { position: relative; cursor: pointer; }

.bk-choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.bk-choice span {
  display: inline-block;
  min-width: 5.5rem;
  text-align: center;
  padding: 0.6rem 1rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--paper);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.bk-choice label:hover span { border-color: var(--brand-soft); }
.bk-choice input:checked + span {
  border-color: var(--brand);
  background: var(--brand-tint);
  box-shadow: inset 0 0 0 1px var(--brand);
  color: var(--brand-deep);
}
.bk-choice input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

/* Price breakdown. */
.bk-price { display: block; }

.bk-lines {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 1rem;
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}
.bk-lines:empty { display: none; }
.bk-lines dt { color: var(--ink-2); }
.bk-lines dd { margin: 0; text-align: right; color: var(--ink); }
.bk-lines dd.is-credit { color: #2f6b45; }

.bk-price-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}
.bk-price-note { margin: 0.5rem 0 0; font-size: 0.8125rem; color: var(--ink-3); }
.bk-price-note:empty { display: none; }

.bk-slot-day { font-size: 0.8125rem; color: var(--ink-3); margin-top: 0.1rem; }

/* Out of area: a path forward, not a dead end. */
.bk-outside {
  background: var(--shell-2);
  border-radius: var(--r);
  padding: 1.1rem 1.15rem;
}
.bk-outside p { margin: 0 0 0.75rem; font-size: 0.9375rem; line-height: 1.55; }
.bk-outside-addr { font-weight: 600; color: var(--ink); }
.bk-outside .bk-link { margin-top: 0.85rem; }

.bk-contact-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.bk-notice .bk-contact-actions { justify-content: center; }

.bk-btn-ghost {
  background: var(--paper);
  border-color: var(--line-2);
  color: var(--ink);
}
.bk-btn-ghost:hover { border-color: var(--ink-3); }

/* Checkbox rows. Kept out of .bk-field so its full-width input rule never
   stretches a checkbox across the card. */
.bk-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9375rem;
  color: var(--ink);
  cursor: pointer;
  line-height: 1.45;
}
.bk-check input {
  flex: none;
  width: 1.05rem;
  height: 1.05rem;
  margin: 0.15rem 0 0;
  accent-color: var(--brand);
}

.bk-billing {
  margin: 1.25rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.bk-billing-fields {
  border: 0;
  padding: 0;
  margin: 1rem 0 0;
  min-width: 0;
}
.bk-billing-fields[hidden] { display: none; }
.bk-billing-fields legend {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  padding: 0;
  margin-bottom: 0.75rem;
}

.bk-grid-addr { grid-template-columns: 2fr 1fr 1fr; }
@media (max-width: 34rem) { .bk-grid-addr { grid-template-columns: 1fr; } }

.bk-field-notes { margin-top: 1.25rem; }

.bk-lines-summary {
  margin: 0.4rem 0 0;
  padding-top: 0.6rem;
  border-top: 1px solid var(--line);
}
.bk-summary > .bk-lines { display: grid; padding: 0.6rem 0 0; }
.bk-summary > .bk-lines:empty { display: none; }

.bk-policy {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.1rem 1.25rem;
  margin-bottom: 1rem;
}
.bk-policy h3 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.4rem;
}
.bk-policy p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 0.6rem;
}
.bk-policy a { color: var(--brand); }
.bk-policy .bk-check { margin-top: 0.85rem; padding-top: 0.85rem; border-top: 1px solid var(--line); }

/* Credit card convenience fee: the short notice above the card form, then the
   reviewed total for the entered card. */
.bk-fee-notice { margin: 0 0 1rem; font-size: 0.875rem; line-height: 1.55; color: var(--ink-2); }
.bk-review { margin-top: 1rem; padding: 0.9rem 1rem; border-radius: var(--r); background: var(--shell-2); }

/* The payment card sits under the summary and the cancellation policy. */
.bk-submit > .bk-card { margin-bottom: 1rem; }

/* Card form. Stripe draws the fields inside its own frames; this only leaves
   room for them while they load. */
.bk-payment { min-height: 3.5rem; }
.bk-payment-note { margin-top: 0.85rem; }

/* Freeze-protection wording from Settings. */
.bk-copy p { margin: 0 0 0.5rem; }
.bk-copy p:last-child { margin-bottom: 0; }
.bk-copy a { color: var(--brand); }
.bk-question > .bk-help.bk-copy { margin-top: 0.65rem; }
.bk-freeze-yes {
  margin-top: 0.65rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--r);
  background: var(--brand-tint);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.45;
}
.bk-freeze-yes a { color: var(--brand-deep); }
.bk-freeze-details { margin-top: 0.65rem; font-size: 0.875rem; line-height: 1.6; color: var(--ink-2); }
.bk-freeze-details summary { width: fit-content; cursor: pointer; color: var(--brand); font-weight: 600; }
.bk-freeze-details summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.bk-freeze-details .bk-copy { margin-top: 0.5rem; padding: 0.8rem 0.95rem; border-radius: var(--r); background: var(--shell-2); }
.bk-inline-copy p { margin: 0.3rem 0 0; }
.bk-inline-copy a { color: var(--brand); }
