/* ==========================================================================
   Aurum Sky — booking planner & booking status page
   Uses the colour and font variables from styles.css
   ========================================================================== */

.page-hero-short { min-height: 46vh; }
.bs-section { padding-top: 9rem; }

.booking-section { padding-top: 4rem; }
.bk-loading { font-family: var(--sans); color: var(--muted); }
.bk-alert { padding: 1rem 1.2rem; background: var(--sand); border-left: 3px solid var(--gold); }

.bk-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 960px) {
  .bk-layout { grid-template-columns: 1fr; }
  .bk-summary { order: -1; }
}

/* Steps ------------------------------------------------------------------ */
.bk-steps {
  list-style: none;
  display: flex;
  gap: .4rem;
  padding: 0;
  margin: 0 0 2.5rem;
  counter-reset: step;
  flex-wrap: wrap;
}
.bk-steps li { flex: 1 1 0; min-width: 72px; counter-increment: step; }
.bk-steps button {
  width: 100%;
  background: none;
  border: 0;
  border-top: 3px solid #cfd2c3;
  padding: .7rem 0 0;
  text-align: left;
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
}
.bk-steps button::before { content: counter(step) ". "; }
.bk-steps .is-done button { border-top-color: var(--gold-dark); color: var(--ink); }
.bk-steps .is-current button { border-top-color: var(--gold); color: var(--ink); font-weight: 500; }

.bk-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.bk-step > legend { padding: 0; margin-bottom: 1.6rem; }
.bk-step > legend .script { display: block; margin: 0; font-size: 2.1rem; }
.bk-step > legend h2 { margin: 0; }
.bk-step h2:focus { outline: none; }
.bk-step [hidden] { display: none; }
.bk-sub { font-size: 1.1rem; margin: 2.2rem 0 .8rem; }
.bk-hint { color: var(--muted); font-size: .98rem; margin: .4rem 0 1rem; }
.bk-full { grid-column: 1 / -1; }

.bk-guests { gap: .8rem; }
.bk-kids-age { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); }

.bk-error { color: #a1321f; font-family: var(--sans); font-size: .88rem; margin: .35rem 0 0; min-height: 0; }
.bk-error:empty { display: none; }
.bk-error-block { margin-top: 1rem; }

.bk-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(44,50,40,.12);
}

/* Cards (packages, spaces, menus, extras) -------------------------------- */
.bk-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.bk-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 700px) { .bk-cards, .bk-cards-3 { grid-template-columns: 1fr; } }

.bk-card {
  position: relative;
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  padding: 1.1rem 1.1rem 1.2rem;
  background: var(--white);
  border: 1px solid #cfd2c3;
  border-radius: var(--radius);
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 400;
  margin: 0;
  transition: border-color .15s, box-shadow .15s;
}
.bk-card:hover { border-color: var(--gold); }
.bk-card:has(input:checked) { border-color: var(--gold-dark); box-shadow: 0 0 0 1px var(--gold-dark); background: #FBFBF7; }
.bk-card:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.bk-card.is-disabled { opacity: .55; cursor: not-allowed; }
.bk-card input { width: auto; margin: .3rem 0 0; accent-color: var(--gold-dark); flex: none; }
.bk-card-body { display: flex; flex-direction: column; gap: .25rem; min-width: 0; flex: 1; }
.bk-card-top { display: flex; justify-content: space-between; gap: .8rem; align-items: baseline; }
.bk-card-top strong { font-family: var(--serif); font-weight: 500; font-size: 1.02rem; color: var(--ink); }
.bk-price { font-family: var(--sans); font-weight: 500; color: var(--gold-dark); white-space: nowrap; }
.bk-price small { font-weight: 400; color: var(--muted); }
.bk-card-meta { font-family: var(--sans); font-size: .8rem; color: var(--muted); }
.bk-card-text { color: var(--muted); font-size: .98rem; line-height: 1.45; }
.bk-card-why { font-family: var(--sans); font-size: .8rem; color: #8a5a12; }

/* Segmented choice ------------------------------------------------------- */
.bk-segment { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .5rem; }
.bk-segment label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0;
  padding: .7rem 1.1rem;
  border: 1px solid #cfd2c3;
  border-radius: 999px;
  background: var(--white);
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  font-size: .9rem;
  font-weight: 400;
}
.bk-segment label:has(input:checked) { border-color: var(--night); background: var(--night); color: var(--white); }
.bk-segment input { width: auto; margin: 0; accent-color: var(--gold); }

/* Menu builder ----------------------------------------------------------- */
.bk-course { border: 1px solid #cfd2c3; border-radius: var(--radius); background: var(--white); padding: 1rem 1.2rem 1.2rem; margin: 0 0 1rem; min-width: 0; }
.bk-course legend { padding: 0 .4rem; font-family: var(--serif); }
.bk-count { font-family: var(--sans); font-size: .78rem; color: var(--muted); margin-left: .4rem; }
.bk-count.is-done { color: #2f6b3a; }
.bk-count.is-done::before { content: "✓ "; }
.bk-dishes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .3rem 1.2rem; }
@media (max-width: 620px) { .bk-dishes { grid-template-columns: 1fr; } }
.bk-dish {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  margin: 0;
  padding: .45rem 0;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 400;
  cursor: pointer;
}
.bk-dish.is-disabled { opacity: .45; cursor: not-allowed; }
.bk-dish input { width: auto; margin: .3rem 0 0; accent-color: var(--gold-dark); flex: none; }
.bk-dish small { display: block; color: var(--muted); font-size: .88rem; }
.bk-tags { display: inline-flex; gap: .25rem; margin-left: .35rem; vertical-align: middle; }
.bk-tags abbr {
  text-decoration: none;
  font-family: var(--sans);
  font-size: .64rem;
  font-weight: 500;
  padding: .05rem .32rem;
  border: 1px solid #C9BC92;
  border-radius: 3px;
  color: var(--gold-dark);
}

.bk-diet { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .8rem; }
@media (max-width: 700px) { .bk-diet { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bk-diet label { font-size: .72rem; }

/* Calendar --------------------------------------------------------------- */
.bk-calendar-wrap { margin-top: 2rem; }
.bk-calendar { background: var(--white); border: 1px solid #cfd2c3; border-radius: var(--radius); padding: 1rem; max-width: 460px; }
.bk-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .8rem; }
.bk-cal-title { font-family: var(--serif); font-weight: 500; }
.bk-cal-nav {
  width: 40px; height: 40px;
  border: 1px solid #cfd2c3;
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  font-size: 1rem;
}
.bk-cal-nav:disabled { opacity: .3; cursor: default; }
.bk-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.bk-dow { font-family: var(--sans); font-size: .7rem; text-align: center; color: var(--muted); padding-bottom: .3rem; }
.bk-day {
  aspect-ratio: 1;
  border: 0;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: .9rem;
  cursor: pointer;
  background: #ECEDE4;
  color: var(--ink);
}
.bk-day.is-free:hover { background: var(--gold-light); }
.bk-day.is-out { background: transparent; color: #b5b8aa; cursor: default; }
.bk-day.is-held { background: repeating-linear-gradient(45deg, #E6DDBF, #E6DDBF 4px, #F4F0E2 4px, #F4F0E2 8px); color: #6f6440; cursor: not-allowed; }
.bk-day.is-booked, .bk-day.is-blocked { background: #dcded5; color: #8b8f82; text-decoration: line-through; cursor: not-allowed; }
.bk-day.is-selected { background: var(--night); color: var(--white); }
.bk-day:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.bk-cal-legend { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: .9rem; font-family: var(--sans); font-size: .75rem; color: var(--muted); }
.bk-cal-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 2px; margin-right: .35rem; vertical-align: -1px; }
.lg-free { background: #ECEDE4; }
.lg-held { background: repeating-linear-gradient(45deg, #E6DDBF, #E6DDBF 3px, #F4F0E2 3px, #F4F0E2 6px); }
.lg-booked { background: #dcded5; }
.bk-chosen-date { margin-top: 1rem; }

/* Summary ---------------------------------------------------------------- */
.bk-summary { position: sticky; top: 100px; }
.bk-summary-inner { background: var(--night); color: rgba(255,255,255,.85); border-radius: var(--radius); padding: 1.6rem; }
.bk-summary .eyebrow { color: var(--gold-light); }
.bk-summary-date { display: flex; flex-direction: column; margin: .4rem 0 1rem; font-family: var(--sans); font-size: .9rem; }
.bk-summary-date strong { font-family: var(--serif); font-weight: 400; color: var(--white); font-size: 1.05rem; }
.bk-summary .bk-hint, .bk-summary .form-note { color: rgba(255,255,255,.6); }
.bk-summary .bk-line { border-color: rgba(255,255,255,.1); }
.bk-summary .bk-line small { color: rgba(255,255,255,.55); }
.bk-summary .bk-line-total { color: var(--white); }
.bk-summary .bk-line-dep { color: var(--gold-light); }
@media (max-width: 960px) { .bk-summary { position: static; } }

.bk-lines { font-family: var(--sans); font-size: .88rem; }
.bk-line { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid rgba(44,50,40,.08); }
.bk-line > span:last-child { white-space: nowrap; }
.bk-line small { display: block; color: var(--muted); font-size: .78rem; }
.bk-line-sub { border-bottom: 0; padding: .25rem 0; }
.bk-line-sub:first-of-type { margin-top: .4rem; }
.bk-line-total { font-weight: 500; font-size: 1.05rem; border-top: 1px solid rgba(44,50,40,.2); border-bottom: 0; margin-top: .3rem; padding-top: .7rem; }
.bk-line-dep { border-bottom: 0; color: var(--gold-dark); }

/* Review & details ------------------------------------------------------- */
.bk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bk-check {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 400;
  margin-top: 1rem;
}
.bk-check input { width: auto; margin-top: .35rem; accent-color: var(--gold-dark); }
.bk-review { margin-top: 1.5rem; }
.bk-dl { display: grid; grid-template-columns: 120px 1fr; gap: .5rem 1rem; margin: 0; }
.bk-dl dt { font-family: var(--sans); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: .2rem; }
.bk-dl dd { margin: 0; }
.bk-menu-list { margin: .4rem 0 0; padding-left: 1.1rem; color: var(--muted); font-size: .95rem; }
.bk-submit { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* Done / status ---------------------------------------------------------- */
.bk-done, .bs-body { max-width: 860px; }
.bk-done h2:focus, .bs-body h2:focus { outline: none; }
.bk-done-lines { max-width: 480px; margin-top: 2rem; font-family: var(--sans); }
.bk-eft { margin-top: 2rem; padding: 1.3rem 1.5rem; background: var(--sand); border-radius: var(--radius); max-width: 520px; }
.bk-eft h3 { font-size: 1.05rem; }
.bk-eft dl { display: grid; grid-template-columns: 140px 1fr; gap: .3rem 1rem; margin: 0; font-family: var(--sans); font-size: .92rem; }
.bk-eft dt { color: var(--muted); }
.bk-eft dd { margin: 0; }
.bk-banner { padding: .9rem 1.1rem; background: var(--sand); border-left: 3px solid var(--gold); font-family: var(--sans); font-size: .95rem; }
.bk-banner.is-ok { border-left-color: #2f6b3a; }
.bk-status {
  display: inline-block;
  font-family: var(--sans);
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .3rem .7rem;
  border-radius: 999px;
  background: var(--sand);
  margin: 1rem 0 .4rem;
}
.bk-status.is-confirmed, .bk-status.is-completed { background: #dfeedd; color: #2f5a33; }
.bk-status.is-held { background: #f6ead0; color: #7a5a17; }
.bk-status.is-expired, .bk-status.is-cancelled { background: #eee; color: #666; }
.bs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin: 2.5rem 0; }
@media (max-width: 760px) { .bs-grid { grid-template-columns: 1fr; gap: 2rem; } }
