/* ==========================================================================
   Janki Agro — Booking page presentation layer (loaded after page styles).
   Layout & look only: every id/class the booking scripts use is unchanged.
   ========================================================================== */

body { background: radial-gradient(1200px 600px at 10% -10%, rgba(255,255,255,.10), transparent 60%), linear-gradient(160deg, var(--theme) 0%, var(--theme-dark) 55%, #10261a 100%) fixed; }
.floating-leaves { opacity: .6; }

/* ── Layout: form + sticky summary ─────────────────────────────── */
.page-wrapper { max-width: 1180px; padding: 36px 20px 64px; }
.bk-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.bk-aside { position: sticky; top: 86px; display: flex; flex-direction: column; gap: 16px; }

/* ── Form card ─────────────────────────────────────────────────── */
.form-card { border-radius: 26px; box-shadow: 0 24px 60px rgba(0,0,0,.18); }
.form-card-top { padding: 30px 34px 28px; background: linear-gradient(135deg, rgba(67,141,67,.96), rgba(31,85,40,.98)); }
.bk-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.form-title { font-size: 34px; margin-bottom: 8px; }
.form-subtitle { font-size: 15px; opacity: .9; }
.bk-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.bk-badges span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 50px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); }
.bk-badges i { color: var(--gold); }
.form-body { padding: 30px 34px 34px; }

/* progress stays visible while scrolling long steps */
.wizard-progress { position: sticky; top: 64px; z-index: 5; background: rgba(255,255,255,.97); padding: 12px 0 10px; margin: -6px 0 8px; }

/* section headings */
.form-section-label { font-size: 18px; }

/* selectable cards: clearer hover / focus / selected states */
.type-choice, .batch-swatch, .fancy-date-field, .guest-counter, .room-pref-card, .pm-choice { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.batch-swatch:hover, .fancy-date-field:hover { transform: translateY(-1px); }
.batch-swatch:focus-within, .fancy-field:focus-within { box-shadow: 0 0 0 4px rgba(67,141,67,.18); }
.pm-choice { border-radius: 14px !important; }

/* buttons */
.wizard-nav { align-items: stretch; }
.btn-wiz-next { border-radius: 16px; padding: 16px 20px; box-shadow: 0 10px 24px rgba(31,85,40,.28); }
.btn-wiz-back { border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; min-width: 110px; }
.btn-book-submit { border-radius: 16px !important; }
.btn-wiz-next:focus-visible, .btn-wiz-back:focus-visible, .btn-book-submit:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* alerts */
.booking-alert { border-radius: 16px; }

/* ── Summary panel ─────────────────────────────────────────────── */
.bk-sum, .bk-info, .bk-help { background: rgba(255,255,255,.98); border-radius: 22px; box-shadow: 0 18px 44px rgba(0,0,0,.16); }
.bk-sum { padding: 20px 22px; }
.bk-sum-head { font-family: 'Playfair Display', serif; font-weight: 800; font-size: 19px; color: var(--theme-dark); display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.bk-sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed #dde9dd; font-size: 14px; }
.bk-sum-row span { color: var(--muted); display: flex; align-items: center; gap: 7px; }
.bk-sum-row i { color: var(--theme); }
.bk-sum-row b { color: var(--text); text-align: right; font-weight: 800; }
.bk-sum-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: linear-gradient(135deg, #edf8ed, #f8fff8); border: 1.5px solid #cfe7cf; }
.bk-sum-total span { font-weight: 700; color: var(--theme-dark); font-size: 13.5px; }
.bk-sum-total b { font-family: 'Playfair Display', serif; font-size: 24px; color: var(--theme-dark); }
.bk-sum-note { font-size: 12px; color: var(--muted); margin: 10px 2px 0; }

.bk-info { padding: 18px 22px; }
.bk-info-head { font-weight: 800; color: var(--theme-dark); margin-bottom: 10px; }
.bk-info ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bk-info li { display: flex; gap: 10px; font-size: 13.5px; color: #475447; line-height: 1.5; }
.bk-info li i { color: var(--theme); margin-top: 2px; }

.bk-help { padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bk-help-lbl { font-size: 12px; color: var(--muted); font-weight: 700; }
.bk-help a[href^="tel"] { font-weight: 800; color: var(--theme-dark); text-decoration: none; font-size: 16px; }
.bk-wa { width: 44px; height: 44px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; text-decoration: none; flex-shrink: 0; }

/* The floating pill is replaced by the panel on desktop */
@media (min-width: 992px) { .live-bar { display: none !important; } }

/* ── Tablet & phone ────────────────────────────────────────────── */
@media (max-width: 991px) {
  .page-wrapper { max-width: 760px; }
  .bk-layout { grid-template-columns: 1fr; }
  .bk-aside { position: static; }
  .bk-sum { display: none; }               /* the bottom bar shows the summary */
  .bk-aside { flex-direction: row; flex-wrap: wrap; }
  .bk-info { flex: 1 1 320px; }
  .bk-help { flex: 1 1 240px; }

  /* summary becomes a proper bottom bar instead of a floating pill */
  .live-bar {
    left: 0; right: 0; bottom: 0; transform: translateY(110%); width: auto; max-width: none;
    border-radius: 18px 18px 0 0; justify-content: center; flex-wrap: wrap; row-gap: 4px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px rgba(0,0,0,.14);
  }
  .live-bar.show { transform: translateY(0); }
  body { padding-bottom: 70px; }
}

@media (max-width: 575px) {
  .page-wrapper { padding: 18px 12px 40px; }
  .form-card { border-radius: 22px; }
  .form-card-top { padding: 22px 20px; }
  .form-title { font-size: 26px; }
  .form-subtitle { font-size: 14px; }
  .bk-badges span { font-size: 11.5px; padding: 5px 10px; }
  .form-body { padding: 18px 16px 24px; }
  .wizard-progress { top: 60px; }
  .form-section-label { font-size: 16.5px; margin-top: 26px; padding-top: 20px; }
  .btn-wiz-back { width: 100%; }
  .site-header .back-link span, .site-header .back-link { font-size: 12px; padding: 7px 11px; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
