/* =============================================================
   COOL EVENTS  (public/css/book.css)
   -------------------------------------------------------------
   The booking page, on top of main.css. Loaded only by booking.html.

   The form's behaviour lives in js/site.js (pricing, summary, voucher,
   submit) and js/booking-ui.js (package cards, duration chips, add-on
   tiles, progress rail). Both find their elements by id and name, and
   booking-ui.js writes some of the markup styled here, so the class
   names below are a contract with those files: rename one there and
   it must be renamed here too.

   State classes the scripts set: .selected, .done, .current,
   .is-away, .is-sending, .visible, .pulse, .valid / .invalid / .hint.
   =============================================================*/

/* The scripts show and hide groups with the hidden attribute; a class
   that sets display must never win over it. */
[hidden] { display: none !important; }

.bk-visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ─── Page head ────────────────────────────────────────────── */
.bk-head {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px;
  padding: clamp(32px, 5vw, 64px) 0 clamp(24px, 3vw, 36px);
}
.bk-head h1 { font-size: clamp(46px, 6vw, 84px); margin-bottom: 16px; }
.bk-head .lede {
  font-family: var(--display); font-style: italic; font-variation-settings: 'opsz' 14;
  color: var(--ink); font-size: clamp(19px, 1.7vw, 23px); max-width: 44ch;
}
.bk-head-prints { position: relative; width: 250px; height: 200px; margin-right: 12px; }
.bk-head-prints .print { position: absolute; margin: 0; }
.bk-head-prints .print-a { width: 140px; aspect-ratio: 3 / 4; right: 0; top: 0; transform: rotate(5deg); }
.bk-head-prints .print-b { width: 128px; aspect-ratio: 3 / 4; left: 0; top: 24px; right: auto; bottom: auto; transform: rotate(-6deg); }

/* ─── Layout ───────────────────────────────────────────────── */
.booking-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(24px, 3vw, 40px); align-items: start;
  padding-bottom: clamp(72px, 10vw, 120px);
}
.booking-summary { position: sticky; top: calc(var(--nav) + 20px); }

/* ─── Progress rail ────────────────────────────────────────── */
.bk-rail {
  position: sticky; top: calc(var(--nav) + 10px); z-index: 5;
  margin-bottom: 18px; padding: 8px 10px 0;
  background: rgba(255, 253, 248, .94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 999px; box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
  transition: transform .45s var(--ease), opacity .3s;
  overflow: hidden;
}
.bk-rail.is-away { transform: translateY(-160%); opacity: 0; pointer-events: none; }
.bk-rail-flow { display: flex; align-items: center; gap: 4px; }
.bk-rail-arrow { display: none; }
.bk-rail-viewport { flex: 1; overflow: hidden; }
.bk-rail-list { display: flex; justify-content: space-between; gap: 4px; }
.bk-rail-list li { flex: 1; }
.bk-rail-step {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 8px 10px; border-radius: 999px; white-space: nowrap;
  font-weight: 500; font-size: 15px; color: var(--ink-2);
  transition: background-color .3s, color .3s;
}
.bk-rail-step:hover { color: var(--maroon); }
.bk-rail-num {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 999px;
  font-family: var(--display); font-style: italic; font-size: 15px; font-variation-settings: 'opsz' 14;
  box-shadow: inset 0 0 0 1px rgba(86, 6, 29, .3); color: var(--maroon);
  transition: background-color .3s, color .3s, box-shadow .3s;
}
.bk-rail-step.done .bk-rail-num { background: var(--gold); box-shadow: none; color: var(--maroon-3); }
.bk-rail-step.current { background: var(--maroon); color: var(--cream); }
.bk-rail-step.current .bk-rail-num { box-shadow: inset 0 0 0 1px rgba(247, 244, 237, .5); color: var(--cream); }
.bk-rail-step.current.done .bk-rail-num { background: var(--gold); color: var(--maroon-3); box-shadow: none; }
.bk-rail-track { height: 3px; margin: 8px 14px 0; background: rgba(86, 6, 29, .1); border-radius: 3px; overflow: hidden; }
.bk-rail-fill { display: block; height: 100%; width: 0; background: var(--gold); transition: width .6s var(--ease); }

/* ─── Sections ─────────────────────────────────────────────── */
.bk-sec {
  background: var(--paper); border-radius: var(--r-lg);
  padding: clamp(22px, 3.4vw, 40px);
  margin-bottom: 18px;
  box-shadow: 0 1px 2px rgba(58, 10, 24, .05), inset 0 0 0 1px var(--line);
  scroll-margin-top: calc(var(--nav) + 96px);
}
.bk-sec-head {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start;
  padding-bottom: 22px; margin-bottom: 26px; border-bottom: 1px solid var(--line);
}
.bk-sec-num {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(40px, 4vw, 54px); line-height: .9; color: var(--gold-ink);
  font-variation-settings: 'opsz' 40;
}
.bk-sec-head h2 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 6px; font-variation-settings: 'opsz' 24; }
.bk-sec-head p { color: var(--ink-2); max-width: 52ch; }

/* ─── Fields ───────────────────────────────────────────────── */
.form-group { display: grid; gap: 8px; margin-bottom: 22px; }
.form-group:last-child { margin-bottom: 0; }
.form-label { font-weight: 500; font-size: 16px; letter-spacing: .02em; color: var(--ink); }
.form-label-opt { font-weight: 450; color: var(--ink-2); }
.field-hint { font-size: 15px; color: var(--ink-2); }
.field-hint a { color: var(--maroon); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.bk-field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; align-items: start; margin-bottom: 22px; }
.bk-field-row .form-group { margin-bottom: 0; }
.bk-sec > .bk-field-row:last-child { margin-bottom: 0; }

.form-input, .form-select, .form-textarea {
  width: 100%; min-width: 0; min-height: 54px; padding: 14px 16px; border-radius: var(--r-md);
  border: 1.5px solid rgba(86, 6, 29, .28); background-color: var(--cream);
  font-size: 17px; font-weight: 450; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.form-input::placeholder, .form-textarea::placeholder { color: #7A6A6E; }
.form-textarea { min-height: 140px; resize: vertical; }
.form-select {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2356061D' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--maroon); box-shadow: 0 0 0 4px rgba(201, 168, 76, .35);
}
.form-input:user-invalid, .form-select:user-invalid, .form-textarea:user-invalid { border-color: #8E1B1B; background-color: #FBF1F0; }

.bk-alert {
  padding: 14px 16px; border-radius: var(--r-md);
  background: #FFF8EA; box-shadow: inset 3px 0 0 var(--gold);
  font-weight: 500; font-size: 16px; color: var(--ink);
}
#pkg-error, #setup-error, #backdrop-error { margin-top: 14px; color: #8E1B1B; box-shadow: inset 3px 0 0 #8E1B1B; background: #FBF1F0; }

/* ─── Package cards (drawn by booking-ui.js) ───────────────── */
.pkg-choice { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 26px; }
.pkg-opt {
  position: relative; display: flex; flex-direction: column; text-align: left;
  background: var(--cream); border-radius: var(--r-md); overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .3s, transform .4s var(--ease), background-color .3s;
}
.pkg-opt:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(86, 6, 29, .3), 0 18px 34px -20px rgba(58, 10, 24, .5); }
.pkg-opt.selected { background: var(--paper); box-shadow: inset 0 0 0 2px var(--maroon), 0 18px 34px -20px rgba(58, 10, 24, .5); }
.pkg-opt-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.pkg-opt-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.pkg-opt:hover .pkg-opt-media img { transform: scale(1.04); }
.pkg-opt-flag { display: none; }
.pkg-opt-badge {
  position: absolute; z-index: 2; left: 10px; top: 10px;
  padding: 4px 11px; border-radius: 999px; background: var(--gold); color: var(--maroon-3);
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.pkg-opt-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 16px 18px; flex: 1; }
.pkg-opt-name {
  font-family: var(--display); font-weight: 500; font-size: 18px; line-height: 1.2; letter-spacing: .06em;
  color: var(--maroon); font-variation-settings: 'opsz' 18;
}
.pkg-opt-tag { font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.pkg-opt-list { display: grid; gap: 3px; margin: 2px 0 4px; }
.pkg-opt-list li { font-size: 15px; line-height: 1.4; padding-left: 16px; position: relative; }
.pkg-opt-list li::before { content: ''; position: absolute; left: 0; top: .62em; width: 8px; height: 1px; background: var(--gold); }
.pkg-opt-price { margin-top: auto; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; }
.pkg-opt-from { font-size: 15px; color: var(--ink-2); }
.pkg-opt-was { font-size: 16px; color: var(--ink-2); text-decoration-thickness: 2px; }
.pkg-opt-amount { font-family: var(--display); font-size: 26px; font-weight: 500; color: var(--ink); font-variation-settings: 'opsz' 18; }
.pkg-opt-mark {
  position: absolute; z-index: 2; right: 10px; top: 10px; width: 28px; height: 28px; border-radius: 999px;
  background: rgba(255, 253, 248, .92); box-shadow: 0 2px 8px rgba(26, 1, 9, .25);
  display: grid; place-items: center;
}
.pkg-opt.selected .pkg-opt-mark { background: var(--maroon); }
.pkg-opt.selected .pkg-opt-mark::after {
  content: ''; width: 11px; height: 6px; margin-top: -3px;
  border-left: 2px solid var(--cream); border-bottom: 2px solid var(--cream); transform: rotate(-45deg);
}

/* ─── Duration chips (drawn by booking-ui.js) ──────────────── */
.dur-choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; }
.dur-opt {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 14px 16px; border-radius: var(--r-md); text-align: left;
  background: var(--cream); box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color .3s, box-shadow .3s, color .3s, transform .3s var(--ease);
}
.dur-opt:hover { box-shadow: inset 0 0 0 1px rgba(86, 6, 29, .35); transform: translateY(-2px); }
.dur-opt-hours { font-family: var(--display); font-size: 34px; line-height: 1; color: var(--maroon); font-variation-settings: 'opsz' 24; }
.dur-opt-unit { font-family: var(--body); font-size: 15px; margin-left: 3px; color: var(--ink-2); }
.dur-opt-was { font-size: 14.5px; color: var(--ink-2); }
.dur-opt-price { font-weight: 500; font-size: 17px; color: var(--ink); }
.dur-opt.selected { background: var(--maroon); box-shadow: none; }
.dur-opt.selected .dur-opt-hours { color: var(--cream); }
.dur-opt.selected .dur-opt-unit, .dur-opt.selected .dur-opt-was { color: #E4D6D0; }
.dur-opt.selected .dur-opt-price { color: var(--gold-2); }
#dur-hint { margin-top: 2px; }

/* ─── Booth finish ─────────────────────────────────────────── */
.setup-cards-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.setup-card, .backdrop-card { position: relative; display: block; cursor: pointer; }
.setup-card input, .backdrop-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.setup-card {
  border-radius: var(--r-md); padding: 10px; background: var(--cream);
  box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s, background-color .3s;
}
/* Studio renders of the booth in each finish (images/booth-black.webp,
   booth-white.webp), drawn to match the real booth's shape. */
.setup-card-img { display: block; aspect-ratio: 4 / 3; border-radius: 8px; position: relative; overflow: hidden; background: var(--sand); }
.setup-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.setup-card:hover .setup-card-img img { transform: scale(1.04); }
.setup-card-label { display: block; margin-top: 10px; padding: 0 4px; font-weight: 500; }
.setup-card.selected { background: var(--paper); box-shadow: inset 0 0 0 2px var(--maroon); }
.setup-card:has(input:focus-visible), .backdrop-card:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ─── Included strip and add-on tiles (drawn by booking-ui.js) ─ */
.incl-strip { display: flex; flex-wrap: wrap; gap: 8px; }
.incl-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(201, 168, 76, .2); font-size: 15px; font-weight: 500;
}
.incl-chip-mark {
  display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 999px;
  background: var(--gold); color: var(--maroon-3); font-size: 12px;
}
#addons-hint:empty { display: none; }
.addons-check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.addon-check {
  display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 14px;
  padding: 10px 14px 10px 10px; border-radius: var(--r-md); cursor: pointer;
  background: var(--cream); box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .3s, background-color .3s;
}
.addon-check:hover { box-shadow: inset 0 0 0 1px rgba(86, 6, 29, .35); }
.addon-check-img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.addon-check-text { display: grid; gap: 2px; line-height: 1.3; }
.addon-check-name { font-weight: 500; }
.addon-check strong { font-weight: 500; color: var(--maroon); font-size: 16px; }
.addon-check input {
  appearance: none; -webkit-appearance: none; width: 26px; height: 26px; margin: 0;
  border-radius: 7px; border: 1.5px solid rgba(86, 6, 29, .4); background: var(--paper);
  display: grid; place-items: center; cursor: pointer; transition: background-color .2s, border-color .2s;
}
.addon-check input::after {
  content: ''; width: 11px; height: 6px; margin-top: -3px; transform: rotate(-45deg) scale(0);
  border-left: 2px solid var(--cream); border-bottom: 2px solid var(--cream); transition: transform .25s var(--ease);
}
.addon-check input:checked { background: var(--maroon); border-color: var(--maroon); }
.addon-check input:checked::after { transform: rotate(-45deg) scale(1); }
.addon-check input:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.addon-check.selected { background: var(--paper); box-shadow: inset 0 0 0 2px var(--maroon); }

/* Better-value nudge */
.bk-suggest {
  margin: 4px 0 22px; padding: 18px 20px; border-radius: var(--r-md);
  background: var(--maroon-3); color: #EADFD9;
  display: grid; grid-template-columns: 1fr auto; gap: 6px 18px; align-items: center;
}
.bk-suggest[hidden] { display: none; }
.bk-suggest-head { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; grid-column: 1; }
.bk-suggest-tag { font-family: var(--script); font-size: 30px; line-height: 1; color: var(--gold-2); }
.bk-suggest-save { font-weight: 600; color: var(--cream); letter-spacing: .06em; }
.bk-suggest-copy { grid-column: 1; font-size: 16px; }
.bk-suggest-btn {
  grid-column: 2; grid-row: 1 / 3; min-height: 46px; padding: 0 20px; border-radius: 999px;
  background: var(--gold); color: var(--maroon-3); font-weight: 500; font-size: 14px;
  letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
}
.bk-suggest-btn:hover { background: var(--gold-2); }

/* Backdrops */
.backdrop-cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 4px; }
.backdrop-card-img { display: block; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); box-shadow: inset 0 0 0 1px var(--line); }
.backdrop-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.backdrop-card:hover .backdrop-card-img img { transform: scale(1.05); }
.backdrop-card-label { display: block; margin-top: 8px; font-family: var(--display); font-style: italic; font-size: 17px; font-variation-settings: 'opsz' 14; }
.backdrop-card.selected .backdrop-card-img { box-shadow: 0 0 0 2px var(--cream), 0 0 0 4px var(--maroon); }
.backdrop-card.selected .backdrop-card-label { color: var(--maroon); }

/* ─── Finish ───────────────────────────────────────────────── */
.voucher-row { display: flex; gap: 10px; }
.voucher-row .form-input { flex: 1; text-transform: uppercase; letter-spacing: .08em; }
.voucher-row .form-input::placeholder { text-transform: none; letter-spacing: 0; }
.voucher-apply-btn {
  flex: none; padding: 0 22px; border-radius: 999px; font-weight: 500; font-size: 14px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--maroon);
  box-shadow: inset 0 0 0 2px var(--maroon); transition: background-color .25s, color .25s;
}
.voucher-apply-btn:hover { background: var(--maroon); color: var(--cream); }
.voucher-msg { font-weight: 500; font-size: 16px; min-height: 0; }
.voucher-msg:empty { display: none; }
.voucher-msg.valid { color: #1D5B2C; }
.voucher-msg.invalid { color: #8E1B1B; }
.voucher-msg.hint { color: var(--ink-2); }

.payment-note { margin: 4px 0 22px; padding: 18px 20px; border-radius: var(--r-md); background: var(--sand); }
.payment-note-title { font-family: var(--display); font-style: italic; font-size: 20px; color: var(--maroon); margin-bottom: 4px; font-variation-settings: 'opsz' 14; }
.payment-note p { color: var(--ink-2); }

.bk-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 60px; padding: 0 26px; border-radius: 999px;
  background: var(--maroon); color: var(--cream);
  font-weight: 500; font-size: 15px; letter-spacing: .16em; text-transform: uppercase;
  transition: background-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.bk-submit:hover { background: var(--maroon-2); box-shadow: 0 12px 26px -12px rgba(58, 10, 24, .7); }
.bk-submit:active { transform: translateY(1px) scale(.99); }
.bk-submit:disabled { opacity: .6; cursor: progress; }
.form-status { margin-top: 14px; font-weight: 500; }
.form-status:empty { display: none; }

/* ─── Live docket ──────────────────────────────────────────── */
.summary-card {
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(201, 168, 76, .14), transparent 60%),
    var(--maroon-3);
  color: #EADFD9; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(42, 2, 16, .7);
}
.summary-img { position: relative; padding: 16px 16px 0; }
.summary-img img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px;
  background: var(--maroon-2);
}
.summary-img-label {
  position: absolute; left: 30px; bottom: -14px; padding: 2px 14px 4px;
  font-family: var(--script); font-size: 26px; line-height: 1.1; color: var(--maroon);
  background: var(--paper); border-radius: 4px; transform: rotate(-3deg);
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .5);
}
.summary-body { padding: 26px 24px 24px; }
.summary-pkg {
  font-family: var(--display); font-weight: 500; font-size: 26px; line-height: 1.1; color: var(--cream);
  font-variation-settings: 'opsz' 24;
}
.summary-dur { font-family: var(--display); font-style: italic; font-size: 19px; color: var(--gold-2); margin: 4px 0 16px; font-variation-settings: 'opsz' 14; }
.summary-svc-row, .summary-row {
  display: flex; justify-content: space-between; gap: 16px; padding: 10px 0;
  border-top: 1px solid rgba(234, 223, 217, .14); font-size: 16px;
}
.summary-svc-label, .summary-row > span:first-child { color: #CDBDB7; }
.summary-svc-val, .summary-row > span:last-child { color: var(--cream); font-weight: 500; text-align: right; }
.summary-section-label {
  margin: 18px 0 8px; font-size: 14px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2);
}
.summary-include { display: grid; grid-template-columns: 18px 1fr; gap: 8px; padding: 3px 0; font-size: 15.5px; line-height: 1.4; }
.summary-include .check { color: var(--gold-2); }
.summary-empty { font-size: 15.5px; color: #CDBDB7; font-style: italic; }
.summary-divider { margin-top: 16px; }
.summary-total-box {
  margin-top: 16px; padding: 18px 0 4px; border-top: 1px solid rgba(232, 201, 106, .45);
}
.summary-total-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.summary-total-label { font-size: 14px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); }
.summary-total-price {
  font-family: var(--display); font-size: 42px; line-height: 1; font-weight: 500; color: var(--cream);
  font-variation-settings: 'opsz' 28; display: inline-block;
}
.summary-total-price .total-was { font-size: 20px; color: #BFAEA8; margin-right: 6px; text-decoration-thickness: 2px; }
.summary-total-price.pulse { animation: pop .5s var(--ease); }
@keyframes pop { 40% { transform: scale(1.06); } }
.summary-cash-note { font-size: 15px; color: #CDBDB7; margin-top: 8px; }
.bk-submit-docket { display: none; margin-top: 20px; background: var(--gold); color: var(--maroon-3); }
.bk-submit-docket:hover { background: var(--gold-2); }
.bk-docket-status { margin-top: 12px; color: var(--gold-2); font-weight: 500; }
.bk-docket-status:empty { display: none; }
.summary-confirm-note { display: flex; gap: 10px; margin-top: 18px; font-size: 15px; color: #CDBDB7; }
.summary-confirm-note span { color: var(--gold-2); }

/* ─── After sending (written by site.js) ───────────────────── */
.success-card {
  background: var(--paper); border-radius: var(--r-lg); padding: clamp(28px, 5vw, 56px);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
}
.success-card h2 { font-size: clamp(32px, 4vw, 46px); margin-bottom: 18px; }
.success-card p { color: var(--ink-2); margin-bottom: 12px; max-width: 52ch; }
.success-card strong { color: var(--maroon); }
.success-card a:not(.btn-gold) { color: var(--maroon); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.success-card .btn-gold {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--maroon); color: var(--cream); font-weight: 500; font-size: 15px;
  letter-spacing: .14em; text-transform: uppercase;
}

/* ─── Sticky phone total ───────────────────────────────────── */
.booking-mini-bar { display: none; }

/* ─── One column ───────────────────────────────────────────── */
@media (max-width: 1080px) {
  .booking-layout { grid-template-columns: minmax(0, 1fr); }
  .booking-summary { position: static; }
  .bk-submit-docket { display: inline-flex; }
  #bk-submit { display: none; }
  .summary-img img { aspect-ratio: 16 / 9; }

  .booking-mini-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: var(--z-bar);
    padding: 10px 10px 10px 20px; border-radius: 999px;
    background: var(--maroon-3); color: var(--cream);
    box-shadow: 0 16px 34px -12px rgba(42, 2, 16, .7);
    transform: translateY(150%); transition: transform .45s var(--ease);
  }
  .booking-mini-bar.visible { transform: none; }
  .menu-open .booking-mini-bar { transform: translateY(150%); }
  .mini-bar-info { display: grid; line-height: 1.2; }
  .mini-bar-label { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); }
  .mini-bar-total { font-family: var(--display); font-size: 24px; font-variation-settings: 'opsz' 18; }
  .mini-bar-total .total-was { font-size: 15px; color: #BFAEA8; margin-right: 4px; }
  .mini-bar-btn {
    min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--gold); color: var(--maroon-3);
    font-weight: 500; font-size: 14px; letter-spacing: .12em; text-transform: uppercase;
  }
  .foot { padding-bottom: 110px; }
}

@media (max-width: 820px) {
  .bk-head { grid-template-columns: 1fr; padding-top: 28px; }
  .bk-head-prints { display: none; }
  .bk-field-row { grid-template-columns: minmax(0, 1fr); }
  .backdrop-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .addons-check-grid { grid-template-columns: minmax(0, 1fr); }
  .bk-sec-head { grid-template-columns: 1fr; gap: 4px; }
  .bk-suggest { grid-template-columns: 1fr; }
  .bk-suggest-btn { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 8px; }

  /* Package cards lie flat on a phone: photo left, words right. */
  .pkg-choice { grid-template-columns: minmax(0, 1fr); }
  .pkg-opt { display: grid; grid-template-columns: 116px 1fr; }
  .pkg-opt-media { aspect-ratio: auto; height: 100%; min-height: 150px; }
  .pkg-opt-list { display: none; }
  .pkg-opt-badge { left: 6px; top: 6px; font-size: 11.5px; padding: 3px 8px; letter-spacing: .04em; }
  .pkg-opt-mark { right: 10px; top: 10px; left: auto; }
  .pkg-opt-body { padding: 14px 44px 14px 14px; }

  /* The rail becomes a cover flow: the section being filled sits in the
     middle and the rest tuck in behind. booking-ui.js measures the shift
     and the distance of each step from the current one. */
  .bk-rail { border-radius: 22px; padding: 8px 6px 0; }
  .bk-rail-arrow {
    display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 999px;
    color: var(--maroon); background: var(--sand);
  }
  .bk-rail-arrow:disabled { opacity: .35; }
  .bk-rail-viewport {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  }
  .bk-rail-list {
    justify-content: flex-start; gap: 2px; width: max-content;
    transform: translateX(var(--bk-flow-shift, 0px));
    transition: transform .5s var(--ease);
  }
  .bk-rail-list li { flex: none; transition: transform .5s var(--ease), opacity .4s; }
  .bk-rail-list li[data-dist="1"] { transform: scale(.88); opacity: .75; }
  .bk-rail-list li[data-dist="2"] { transform: scale(.78); opacity: .4; }
  .bk-rail-list li[data-dist="3"], .bk-rail-list li[data-dist="4"] { transform: scale(.7); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .bk-rail-list, .bk-rail-list li, .bk-rail { transition: none; }
  .summary-total-price.pulse { animation: none; }
}
