/* =====================================================================
   Beyond Journey - Hotel checkout
   ---------------------------------------------------------------------
   Extends the booking design system in css/bj-booking.css (same tokens,
   same 8px grid, same brand palette). Only hotel-specific components live
   here: the stay summary card, request chips, policy cards, card preview
   and the fare-hold timer.

   No new fonts and no new palette - everything resolves to the .bjb
   tokens already defined by bj-booking.css.
   ===================================================================== */

/* ---------------------------------------------------------------
   Fare-hold timer
   --------------------------------------------------------------- */
/* Four stages, escalating as the hold runs out. Colour and border are
   animated so each change reads as a nudge, not a jolt. */
.bjh-timer {
  display: flex; align-items: center; justify-content: center; gap: var(--s2);
  flex-wrap: wrap; text-align: center;
  padding: 10px var(--s4); margin-bottom: var(--s5);
  border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line); color: var(--muted);
  font-size: 13.5px;
  transition: background .45s var(--ease), border-color .45s var(--ease), color .45s var(--ease);
}
.bjh-timer i { color: var(--orange); transition: color .45s var(--ease); }
.bjh-timer strong {
  font-variant-numeric: tabular-nums; font-weight: 800; color: var(--ink);
  min-width: 5ch; display: inline-block;   /* stops the row shifting each tick */
  transition: color .45s var(--ease);
}

/* 04:59 - 02:00 */
.bjh-timer.is-warn { background: var(--warn-bg); border-color: var(--warn-line); color: var(--warn); }
.bjh-timer.is-warn i, .bjh-timer.is-warn strong { color: var(--warn); }

/* 01:59 - 00:31 */
.bjh-timer.is-strong { background: #fff2e8; border-color: #f6c9a4; color: #a4470d; }
.bjh-timer.is-strong i, .bjh-timer.is-strong strong { color: #d1560c; }

/* final 30 seconds */
.bjh-timer.is-critical { background: var(--err-bg); border-color: var(--err-line); color: var(--err); }
.bjh-timer.is-critical i, .bjh-timer.is-critical strong { color: var(--err); }
.bjh-timer.is-critical strong { animation: bjhPulse 1s var(--ease) infinite; }
@keyframes bjhPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(1.06); }
}

/* expired */
.bjh-timer.is-dead { background: var(--canvas); border-color: var(--line); color: var(--faint); }
.bjh-timer.is-dead i, .bjh-timer.is-dead strong { color: var(--faint); }
.bjh-timer.is-dead strong { animation: none; }

/* ---------------------------------------------------------------
   Session dialogs (reminder + expiry)
   --------------------------------------------------------------- */
.bjh-modal {
  position: fixed; inset: 0; z-index: 1400;
  display: flex; align-items: center; justify-content: center;
  padding: var(--s4);
  background: rgba(16, 24, 44, .55);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  backdrop-filter: blur(8px) saturate(140%);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.bjh-modal.is-open { opacity: 1; visibility: visible; }

.bjh-modal__card {
  position: relative; width: 100%; max-width: 470px;
  padding: var(--s6) var(--s5) var(--s5);
  text-align: center;
  border-radius: 22px;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 32px 70px -24px rgba(16, 24, 44, .55);
  transform: translateY(12px) scale(.94); opacity: 0;
  transition: transform .32s var(--ease), opacity .32s var(--ease);
  max-height: 92vh; overflow-y: auto;
}
.bjh-modal.is-open .bjh-modal__card { transform: none; opacity: 1; }

.bjh-modal__icon {
  width: 68px; height: 68px; margin: 0 auto var(--s4); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 26px;
  background: var(--orange-100); color: var(--orange);
  box-shadow: 0 0 0 8px rgba(245, 118, 26, .1);
}
.bjh-modal--expired .bjh-modal__icon {
  background: var(--err-bg); color: var(--err); box-shadow: 0 0 0 8px rgba(192, 57, 43, .09);
}
.bjh-modal__card h2 { font-size: 22px; font-weight: 800; color: var(--ink); margin: 0 0 var(--s3); letter-spacing: -.3px; }
.bjh-modal__card p { font-size: 14px; line-height: 1.7; color: var(--muted); margin: 0 0 var(--s5); }
.bjh-modal__card p strong { color: var(--ink); font-weight: 700; }
.bjh-modal__acts { display: flex; gap: var(--s2); justify-content: center; flex-wrap: wrap; }
.bjh-modal__acts .bjb-btn { flex: 1 1 170px; }

/* The page behind a dialog must not be reachable. */
.bjh-locked { pointer-events: none; user-select: none; }
.bjh-locked .bjh-modal { pointer-events: auto; }

/* Everything switched off once the hold expires. */
.bjh-dim { opacity: .5; pointer-events: none; filter: grayscale(.25); transition: opacity .3s var(--ease); }

@media (max-width: 480px) {
  .bjh-modal__card { padding: var(--s5) var(--s4) var(--s4); border-radius: 20px; }
  .bjh-modal__card h2 { font-size: 19px; }
  .bjh-modal__icon { width: 58px; height: 58px; font-size: 22px; }
  .bjh-modal__acts .bjb-btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .bjh-modal, .bjh-modal__card, .bjh-timer, .bjh-timer strong { transition: none !important; animation: none !important; }
  .bjh-modal.is-open .bjh-modal__card { transform: none; }
}

/* ---------------------------------------------------------------
   Hotel stay summary card
   --------------------------------------------------------------- */
.bjh-hotel { overflow: hidden; margin-bottom: var(--s5); }
.bjh-hotel__grid { display: grid; grid-template-columns: 260px 1fr; }
.bjh-hotel__media { position: relative; min-height: 210px; background: var(--canvas); }
.bjh-hotel__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bjh-hotel__badges { position: absolute; left: var(--s3); bottom: var(--s3); display: flex; gap: 6px; flex-wrap: wrap; }
.bjh-hotel__body { padding: var(--s5); }

.bjh-hotel__top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; }
.bjh-hotel__name { font-size: 20px; font-weight: 800; color: var(--ink); margin: 0 0 var(--s1); letter-spacing: -.3px; }
.bjh-stars { color: var(--orange); font-size: 12px; letter-spacing: 1px; }
.bjh-hotel__loc { font-size: 13px; color: var(--muted); margin: 4px 0 0; }
.bjh-hotel__loc i { color: var(--orange); margin-right: 5px; }

.bjh-score { display: flex; align-items: center; gap: var(--s2); flex: 0 0 auto; }
.bjh-score__box {
  min-width: 46px; padding: 6px 10px; border-radius: var(--r-sm) var(--r-sm) var(--r-sm) 0;
  background: var(--navy); color: #fff; text-align: center;
  font-size: 17px; font-weight: 800; line-height: 1.1;
}
.bjh-score__txt strong { display: block; font-size: 13px; color: var(--ink); }
.bjh-score__txt span { font-size: 11.5px; color: var(--muted); }

.bjh-stay {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: var(--s3); margin-top: var(--s4); padding-top: var(--s4);
  border-top: 1px dashed var(--line);
}
.bjh-stay div span {
  display: block; font-size: 10.5px; color: var(--muted);
  text-transform: uppercase; letter-spacing: .5px; margin-bottom: 2px;
}
.bjh-stay div strong { font-size: 14px; color: var(--ink); font-weight: 700; }
.bjh-stay div small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 400; }

.bjh-hotel__foot {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  flex-wrap: wrap; padding: var(--s3) var(--s5);
  border-top: 1px solid var(--line-soft); background: #fcfbf9;
}

/* ---------------------------------------------------------------
   Special request chips
   --------------------------------------------------------------- */
.bjh-chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.bjh-chip {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  padding: 9px var(--s4); border-radius: var(--r-pill);
  border: 1.5px solid var(--line); background: var(--surface);
  font-size: 13px; font-weight: 600; color: var(--muted); font-family: inherit;
  transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.bjh-chip i { font-size: 11px; color: var(--faint); transition: color .2s var(--ease); }
.bjh-chip:hover { border-color: rgba(245, 118, 26, .5); color: var(--ink); }
.bjh-chip.is-on { border-color: var(--orange); background: var(--orange-50); color: var(--ink); }
.bjh-chip.is-on i { color: var(--orange); }

/* ---------------------------------------------------------------
   Card payment preview
   --------------------------------------------------------------- */
.bjh-cardprev {
  position: relative; width: 100%; max-width: 330px; aspect-ratio: 1.6 / 1;
  border-radius: var(--r-lg); padding: var(--s4) var(--s5);
  background: linear-gradient(130deg, var(--navy) 0%, var(--navy-700) 55%, #2c3d6b 100%);
  color: #fff; box-shadow: var(--e3); margin-bottom: var(--s4);
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
}
.bjh-cardprev::after {
  content: ""; position: absolute; right: -40px; top: -40px;
  width: 160px; height: 160px; border-radius: 50%; background: rgba(245, 118, 26, .16);
}
.bjh-cardprev__chip {
  width: 38px; height: 27px; border-radius: 5px;
  background: linear-gradient(135deg, #e8c98a 0%, #c9a45f 100%); position: relative; z-index: 1;
}
.bjh-cardprev__no {
  font-size: 18px; letter-spacing: 2.5px; font-weight: 700;
  font-variant-numeric: tabular-nums; position: relative; z-index: 1;
}
.bjh-cardprev__row { display: flex; justify-content: space-between; gap: var(--s3); position: relative; z-index: 1; }
.bjh-cardprev__row span { display: block; font-size: 9.5px; text-transform: uppercase; letter-spacing: .8px; color: rgba(255, 255, 255, .6); }
.bjh-cardprev__row strong { font-size: 12.5px; font-weight: 600; letter-spacing: .5px; }
.bjh-cardprev__brand { position: absolute; right: var(--s5); bottom: var(--s4); z-index: 1; font-size: 22px; opacity: .9; }

/* ---------------------------------------------------------------
   UPI app picker
   --------------------------------------------------------------- */
.bjh-upiapps { display: flex; gap: var(--s2); flex-wrap: wrap; margin-bottom: var(--s4); }
.bjh-upiapp {
  display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer;
  padding: var(--s3) var(--s4); min-width: 88px; border-radius: var(--r-md);
  border: 1.5px solid var(--line); background: var(--surface); font-family: inherit;
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.bjh-upiapp:hover { border-color: rgba(245, 118, 26, .5); transform: translateY(-2px); }
.bjh-upiapp.is-on { border-color: var(--orange); background: var(--orange-50); }
.bjh-upiapp i { font-size: 19px; color: var(--navy); }
.bjh-upiapp.is-on i { color: var(--orange); }
.bjh-upiapp span { font-size: 11.5px; font-weight: 700; color: var(--ink); }

/* ---------------------------------------------------------------
   Policy cards
   --------------------------------------------------------------- */
.bjh-policies { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--s3); }
.bjh-policy {
  display: flex; align-items: flex-start; gap: var(--s3);
  padding: var(--s4); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface);
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.bjh-policy:hover { border-color: rgba(245, 118, 26, .45); box-shadow: var(--e2); }
.bjh-policy i {
  flex: 0 0 36px; width: 36px; height: 36px; border-radius: var(--r-sm);
  background: var(--orange-100); color: var(--orange);
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.bjh-policy strong { display: block; font-size: 13.5px; color: var(--ink); margin-bottom: 2px; }
.bjh-policy span { font-size: 12.5px; color: var(--muted); line-height: 1.55; }

/* Accordion for the long-form policy text */
.bjh-acc { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; margin-top: var(--s3); }
.bjh-acc + .bjh-acc { margin-top: var(--s2); }
.bjh-acc__q {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  width: 100%; padding: var(--s3) var(--s4); border: 0; background: var(--surface);
  font-family: inherit; font-size: 13.5px; font-weight: 700; color: var(--ink);
  text-align: left; cursor: pointer;
}
.bjh-acc__q i { color: var(--orange); font-size: 12px; transition: transform .28s var(--ease); }
.bjh-acc.is-open .bjh-acc__q i { transform: rotate(180deg); }
.bjh-acc__a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.bjh-acc__a p { margin: 0; padding: 0 var(--s4) var(--s3); font-size: 12.5px; color: var(--muted); line-height: 1.7; }

/* ---------------------------------------------------------------
   Trust strip + info box
   --------------------------------------------------------------- */
.bjh-trustgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--s3); }
.bjh-trustcard {
  text-align: center; padding: var(--s4) var(--s3);
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.bjh-trustcard:hover { transform: translateY(-2px); box-shadow: var(--e2); }
.bjh-trustcard i {
  width: 38px; height: 38px; margin: 0 auto var(--s2); border-radius: 50%;
  background: var(--ok-bg); color: var(--ok);
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.bjh-trustcard strong { display: block; font-size: 13px; color: var(--ink); margin-bottom: 2px; }
.bjh-trustcard span { font-size: 11.5px; color: var(--muted); }

.bjh-info {
  display: flex; gap: var(--s3); padding: var(--s4);
  border-radius: var(--r-md); border: 1px solid var(--warn-line); background: var(--warn-bg);
}
.bjh-info > i { color: var(--warn); font-size: 15px; margin-top: 2px; flex: 0 0 auto; }
.bjh-info ul { margin: 0; padding: 0; list-style: none; }
.bjh-info li { font-size: 12.5px; color: var(--warn); line-height: 1.7; padding-left: var(--s3); position: relative; }
.bjh-info li::before { content: "\2022"; position: absolute; left: 0; }

/* ---------------------------------------------------------------
   Responsive
   --------------------------------------------------------------- */
@media (max-width: 991px) {
  .bjh-hotel__grid { grid-template-columns: 200px 1fr; }
}

@media (max-width: 767px) {
  .bjh-hotel__grid { grid-template-columns: 1fr; }
  .bjh-hotel__media { min-height: 168px; }
  .bjh-hotel__body { padding: var(--s4); }
  .bjh-hotel__foot { padding: var(--s3) var(--s4); }
  .bjh-stay { grid-template-columns: 1fr 1fr; }
  .bjh-cardprev { max-width: 100%; }
  .bjh-policies { grid-template-columns: 1fr; }
  .bjh-chip { flex: 1 1 auto; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .bjh-chip, .bjh-upiapp, .bjh-policy, .bjh-trustcard, .bjh-acc__a, .bjh-acc__q i { transition: none !important; }
}

/* =====================================================================
   Hotel booking confirmation + digital voucher
   ===================================================================== */

/* ---------------- success hero ---------------- */
.bjc-hero {
  position: relative; overflow: hidden; text-align: center;
  padding: var(--s8) var(--s5) var(--s7);
  border-radius: var(--r-xl); margin-bottom: var(--s5);
  background: linear-gradient(150deg, #f4faf6 0%, #fff 42%, var(--orange-50) 100%);
  border: 1px solid var(--line);
}
.bjc-hero::before, .bjc-hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.bjc-hero::before { width: 260px; height: 260px; right: -90px; top: -110px; background: rgba(245, 118, 26, .08); }
.bjc-hero::after { width: 200px; height: 200px; left: -80px; bottom: -100px; background: rgba(26, 127, 75, .08); }

.bjc-hero__icon {
  position: relative; z-index: 1;
  width: 92px; height: 92px; margin: 0 auto var(--s4); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 38px;
  background: var(--ok-bg); border: 2px solid var(--ok-line); color: var(--ok);
  animation: bjcPop .55s var(--ease) both;
}
@keyframes bjcPop {
  0% { transform: scale(.5); opacity: 0; }
  60% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); }
}
.bjc-hero__icon span {
  position: absolute; inset: -2px; border-radius: 50%;
  border: 2px solid var(--ok-line); animation: bjcRipple 1.6s var(--ease) .4s 2;
}
@keyframes bjcRipple { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
.bjc-hero h1 { position: relative; z-index: 1; font-size: 30px; font-weight: 800; color: var(--ink); margin: 0 0 var(--s2); letter-spacing: -.6px; }
.bjc-hero p { position: relative; z-index: 1; font-size: 14.5px; color: var(--muted); max-width: 560px; margin: 0 auto; line-height: 1.7; }
.bjc-hero__thanks { margin-top: var(--s3) !important; font-size: 13.5px !important; color: var(--faint) !important; }

/* ---------------- reference card ---------------- */
.bjc-ref {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--s4); padding: var(--s5);
  border-radius: var(--r-lg); margin-bottom: var(--s4);
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-700) 100%);
  box-shadow: var(--e2);
}
.bjc-ref div span {
  display: block; font-size: 10.5px; letter-spacing: .6px; text-transform: uppercase;
  color: rgba(255, 255, 255, .68); margin-bottom: 4px;
}
.bjc-ref div strong { display: block; font-size: 17px; font-weight: 800; color: #fff; letter-spacing: .5px; word-break: break-all; }
.bjc-chips { display: flex; gap: var(--s2); flex-wrap: wrap; margin-bottom: var(--s5); }
.bjc-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px var(--s3); border-radius: var(--r-pill);
  font-size: 12px; font-weight: 700;
  background: var(--ok-bg); border: 1px solid var(--ok-line); color: var(--ok);
}
.bjc-chip--info { background: var(--orange-50); border-color: #f6c9a4; color: #a4470d; }
.bjc-chip--info i { color: var(--orange); }

/* ---------------- section card ---------------- */
.bjc-sec { margin-bottom: var(--s5); }
.bjc-sec__h {
  display: flex; align-items: center; gap: var(--s2);
  font-size: 16px; font-weight: 800; color: var(--ink); margin: 0 0 var(--s4);
}
.bjc-sec__h i { color: var(--orange); font-size: 14px; }

.bjc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: var(--s4); }
.bjc-grid div span {
  display: block; font-size: 10.5px; color: var(--muted);
  text-transform: uppercase; letter-spacing: .5px; margin-bottom: 3px;
}
.bjc-grid div strong { font-size: 14.5px; color: var(--ink); font-weight: 700; }
.bjc-grid div small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 1px; }

/* ---------------- digital voucher ---------------- */
.bjc-voucher {
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface); box-shadow: var(--e2); margin-bottom: var(--s5);
}
.bjc-voucher__head {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  flex-wrap: wrap; padding: var(--s4) var(--s5);
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-700) 100%);
}
.bjc-voucher__head img { height: 34px; }
.bjc-voucher__head .t { color: rgba(255, 255, 255, .72); font-size: 10.5px; text-transform: uppercase; letter-spacing: .8px; }
.bjc-voucher__head .v { color: #fff; font-size: 15px; font-weight: 800; letter-spacing: 1px; }
.bjc-voucher__body { display: grid; grid-template-columns: 1fr 190px; gap: var(--s5); padding: var(--s5); }
.bjc-voucher__rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)); gap: var(--s4) var(--s5); align-content: start; }
.bjc-voucher__rows div span {
  display: block; font-size: 10px; color: var(--muted);
  text-transform: uppercase; letter-spacing: .6px; margin-bottom: 2px;
}
.bjc-voucher__rows div strong { font-size: 13.5px; color: var(--ink); }
.bjc-voucher__cut { border-top: 1px dashed var(--line); padding: var(--s3) var(--s5); background: #fcfbf9; font-size: 11.5px; color: var(--muted); }

/* QR */
.bjc-qr { text-align: center; }
.bjc-qr__box {
  width: 150px; height: 150px; margin: 0 auto var(--s2);
  border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px;
  background: #fff; display: flex; align-items: center; justify-content: center;
}
.bjc-qr__box svg { width: 100%; height: 100%; display: block; }
.bjc-qr p { font-size: 11px; color: var(--muted); line-height: 1.5; margin: 0; }

/* ---------------- payment summary ---------------- */
.bjc-paid {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  flex-wrap: wrap; margin-top: var(--s3); padding-top: var(--s3);
  border-top: 2px solid var(--line-soft);
}
.bjc-paid strong { font-size: 24px; font-weight: 800; color: var(--ink); letter-spacing: -.5px; }

/* ---------------- contact / next steps ---------------- */
.bjc-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: var(--s3); }
.bjc-contact a, .bjc-contact .static {
  display: flex; align-items: flex-start; gap: var(--s3);
  padding: var(--s4); border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--surface); text-decoration: none;
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease), transform .22s var(--ease);
}
.bjc-contact a:hover { border-color: rgba(245, 118, 26, .5); box-shadow: var(--e2); transform: translateY(-2px); }
.bjc-contact i {
  flex: 0 0 36px; width: 36px; height: 36px; border-radius: var(--r-sm);
  background: var(--orange-100); color: var(--orange);
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.bjc-contact span { display: block; font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.bjc-contact strong { display: block; font-size: 13.5px; color: var(--ink); word-break: break-word; }

.bjc-next { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: var(--s3); }
.bjc-next a {
  display: block; padding: var(--s5) var(--s4); text-align: center; text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface);
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease), transform .22s var(--ease);
}
.bjc-next a:hover { border-color: rgba(245, 118, 26, .5); box-shadow: var(--e2); transform: translateY(-3px); }
.bjc-next i {
  width: 46px; height: 46px; margin: 0 auto var(--s3); border-radius: 50%;
  background: var(--orange-100); color: var(--orange);
  display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.bjc-next strong { display: block; font-size: 14px; color: var(--ink); margin-bottom: 3px; }
.bjc-next span { font-size: 12px; color: var(--muted); }

.bjc-actions { display: flex; gap: var(--s2); flex-wrap: wrap; }
.bjc-stickycta { display: none; }

/* ---------------- bookings list (My Bookings route) ---------------- */
.bjc-list__row {
  display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap;
  padding: var(--s4); border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--surface); margin-bottom: var(--s3);
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.bjc-list__row:hover { border-color: rgba(245, 118, 26, .5); box-shadow: var(--e2); }
.bjc-list__row img { width: 74px; height: 60px; border-radius: var(--r-sm); object-fit: cover; flex: 0 0 74px; }
.bjc-list__row .meta { flex: 1; min-width: 180px; }
.bjc-list__row .meta strong { display: block; font-size: 14.5px; color: var(--ink); }
.bjc-list__row .meta span { font-size: 12.5px; color: var(--muted); }

/* ---------------- responsive ---------------- */
@media (max-width: 991px) {
  .bjc-voucher__body { grid-template-columns: 1fr; }
  .bjc-qr { justify-self: center; }
}

@media (max-width: 767px) {
  .bjc-hero { padding: var(--s6) var(--s4) var(--s5); }
  .bjc-hero h1 { font-size: 23px; }
  .bjc-hero__icon { width: 76px; height: 76px; font-size: 31px; }
  .bjc-ref { padding: var(--s4); gap: var(--s3); }
  .bjc-voucher__body { padding: var(--s4); }
  .bjc-actions .bjb-btn { flex: 1 1 100%; }

  /* keep a download CTA within thumb reach */
  .bjc-stickycta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1100;
    padding: var(--s3) var(--s4);
    background: var(--surface); border-top: 1px solid var(--line);
    box-shadow: 0 -6px 22px -10px rgba(23, 35, 62, .35);
  }
  .bjc-stickycta .bjb-btn { width: 100%; }
  .bjc-pad-bottom { padding-bottom: 88px; }
}

@media (prefers-reduced-motion: reduce) {
  .bjc-hero__icon, .bjc-hero__icon span { animation: none !important; }
  .bjc-contact a, .bjc-next a { transition: none !important; }
}

/* ---------------- print: the voucher only ---------------- */
@media print {
  body * { visibility: hidden !important; }
  #bjcPrintArea, #bjcPrintArea * { visibility: visible !important; }
  #bjcPrintArea {
    position: absolute; left: 0; top: 0; width: 100%;
    border: 0 !important; box-shadow: none !important; margin: 0 !important;
  }
  .bjc-noprint, .bjc-stickycta { display: none !important; }
  .bjc-voucher__head { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  @page { margin: 12mm; }
}
