/* ═══════════════════════════════════════════════════════════════
   WANDERLUST SITE — BOOK THE SHOOT (custom checkout prototype)
   The Handoff's sibling for agents. Loads pages.css + handoff.css
   first (reuses the step machinery + brief card), adds the
   catalog cards, calendar, and order summary.
   ═══════════════════════════════════════════════════════════════ */

/* wider stage: checkout needs more room than the intake */
body { overflow-x: hidden; overflow-y: auto; }
.ho-grid { grid-template-columns: 1.35fr 0.65fr; align-items: start; }
.ho-steps { min-height: 560px; }
.hstep { position: static; justify-content: flex-start; padding-top: 2vh; }

/* ── step 1: property ────────────────────────────────────── */
.addr-field { max-width: 560px; margin-bottom: 22px; }
.addr-field input {
  width: 100%;
  font-family: inherit;
  font-size: 19px;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.addr-field input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(165, 135, 75, 0.14); }
.addr-field input.bad { border-color: var(--alert); }
.address-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(110px, 0.75fr) minmax(150px, 1fr) 86px minmax(110px, 0.75fr);
  gap: 12px;
  max-width: 760px;
  margin-bottom: 22px;
}
.address-grid .addr-field { max-width: none; margin-bottom: 0; }
.address-grid .mini-label { margin: 0 0 7px; }
.address-grid .mini-label span { color: var(--ink-soft); font-weight: 500; letter-spacing: 0; text-transform: none; }
.address-grid input { min-width: 0; font-size: 16px; padding: 15px 14px; }
.address-street { grid-column: span 3; }
.address-unit { grid-column: span 2; }
.contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 560px; }
.price-field { margin-bottom: 0; }
.price-field input { font-variant-numeric: tabular-nums; }
.field-hint { margin-top: 8px; font-size: 11.5px; color: var(--ink-soft); }
.mini-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 18px 0 10px;
}

/* ── step 2: service catalog ─────────────────────────────── */
.package-section { margin: 8px 0 30px; }
.package-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}
.package-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 24px 20px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbf9f3;
  color: var(--ink);
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.package-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.package-card:focus-visible,
.svc-card:focus-visible {
  outline: 3px solid rgba(165, 135, 75, 0.42);
  outline-offset: 3px;
}
.package-card.featured {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 20px 46px -30px rgba(23, 35, 32, 0.75);
}
.package-card.picked {
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 2px var(--gold-deep), 0 20px 42px -26px rgba(130, 104, 47, 0.65);
}
.package-card.featured.picked { box-shadow: 0 0 0 2px var(--gold-soft), 0 24px 48px -24px rgba(23, 35, 32, 0.8); }
.pc-top { display: flex; min-height: 22px; align-items: flex-start; justify-content: space-between; gap: 8px; }
.pc-label,
.pc-recommended {
  color: var(--gold-deep);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.35;
  text-transform: uppercase;
}
.package-card.featured .pc-label { color: var(--gold-soft); }
.pc-recommended {
  flex: none;
  padding: 4px 7px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--ink);
  font-size: 8px;
}
.pc-name { margin-top: 8px; font-family: "Fraunces", serif; font-size: 26px; line-height: 1.05; }
.pc-audience { min-height: 54px; margin-top: 7px; color: var(--ink-soft); font-size: 12px; line-height: 1.45; }
.package-card.featured .pc-audience,
.package-card.featured .pc-note { color: rgba(247, 244, 236, 0.64); }
.pc-price { display: flex; min-height: 40px; align-items: baseline; gap: 7px; margin-top: 14px; }
.pc-from { color: var(--ink-soft); font-size: 9px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.pc-from:empty { display: none; }
.package-card.featured .pc-from { color: rgba(247, 244, 236, 0.56); }
.pc-amount { font-family: "Fraunces", serif; font-size: 35px; line-height: 1; }
.pc-features { display: flex; flex: 1; flex-direction: column; margin: 15px 0 18px; }
.pc-feature {
  display: flex;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11.5px;
  line-height: 1.38;
}
.package-card.featured .pc-feature { border-bottom-color: rgba(247, 244, 236, 0.14); }
.pc-tick { flex: none; color: var(--gold-deep); font-weight: 800; }
.package-card.featured .pc-tick { color: var(--gold-soft); }
.pc-note { min-height: 40px; color: var(--ink-soft); font-size: 10px; line-height: 1.4; text-align: center; }
.pc-select {
  display: grid;
  min-height: 42px;
  place-items: center;
  margin-top: 12px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.package-card.featured .pc-select { border-color: var(--gold-soft); background: var(--gold-soft); color: var(--ink); }
.package-card.picked .pc-select { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; }
.package-card.featured.picked .pc-select { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--ink); }
.enhancement-note {
  margin-top: 14px;
  padding: 12px 15px;
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
  background: rgba(201, 171, 110, 0.1);
  color: var(--ink-soft);
  font-size: 11.5px;
  line-height: 1.5;
}
.enhancement-note strong { color: var(--ink); }
.addon-catalog { padding-top: 2px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.section-heading .mini-label { margin-top: 20px; }
.section-heading > p:last-child { color: var(--ink-soft); font-size: 11.5px; }
.svc-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.svc-card {
  position: relative;
  text-align: left;
  font-family: inherit;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  overflow: hidden;
  cursor: pointer;
  padding: 0 0 16px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.svc-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.svc-card img { width: 100%; height: 116px; object-fit: cover; display: block; }
.svc-card .sc-name { display: block; font-family: "Fraunces", serif; font-size: 18px; margin: 12px 16px 2px; }
.svc-card .sc-desc { display: block; font-size: 12.5px; color: var(--ink-soft); margin: 0 16px; line-height: 1.45; }
.svc-card .sc-price { display: block; font-size: 13.5px; font-weight: 700; color: var(--gold-deep); margin: 8px 16px 0; }
.svc-card .sc-check {
  position: absolute;
  top: 10px; right: 10px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: transparent;
  transition: all 0.25s;
}
.svc-card.picked { border-color: var(--gold); box-shadow: 0 16px 40px -18px rgba(130, 104, 47, 0.45); }
.svc-card.picked .sc-check { background: var(--gold); border-color: var(--gold); color: #fff; }
.svc-card.locked { cursor: default; }
.svc-card.locked .sc-check { background: var(--ink); border-color: var(--ink); color: var(--gold-soft); }
.sc-tag {
  position: absolute;
  top: 10px; left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 22, 18, 0.8);
  color: var(--gold-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ── step 3: photographer + appointment preference ──────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.photographer-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 640px;
}
.photographer-card {
  position: relative;
  display: grid;
  gap: 3px;
  min-height: 86px;
  padding: 18px 48px 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.photographer-card:hover { transform: translateY(-2px); border-color: var(--gold); }
.photographer-card:focus-visible,
.cal-day:focus-visible,
.preference-time:focus-visible {
  outline: 3px solid rgba(165, 135, 75, 0.42);
  outline-offset: 3px;
}
.photographer-card.picked {
  border-color: var(--gold-deep);
  box-shadow: 0 14px 34px -20px rgba(130, 104, 47, 0.65);
  background: #fffdf7;
}
.photographer-name { font-family: "Fraunces", serif; font-size: 20px; }
.photographer-label { color: var(--ink-soft); font-size: 12.5px; }
.photographer-recommended {
  width: max-content;
  margin-top: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(201, 171, 110, 0.2);
  color: var(--gold-deep);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.photographer-check {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  color: transparent;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  transition: all 0.25s;
}
.photographer-card.picked .photographer-check {
  color: #fff;
  border-color: var(--gold-deep);
  background: var(--gold-deep);
}
.photographer-loading,
.photographer-error {
  grid-column: 1 / -1;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  color: var(--ink-soft);
  font-size: 13.5px;
}
.photographer-error { color: var(--alert); }
.preference-fields { margin-top: 4px; }
.preference-fields[hidden] { display: none; }
.preferred-time-fields { margin-top: 8px; }
.preferred-time-fields[hidden],
.preference-time[hidden] { display: none; }
.cal-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  max-width: 640px;
  margin-bottom: 8px;
}
.cal-day {
  font-family: inherit;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 12px;
  padding: 10px 4px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
}
.cal-day:hover { border-color: var(--gold); transform: translateY(-2px); }
.cal-day .cd-dow { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.cal-day .cd-num { display: block; font-family: "Fraunces", serif; font-size: 21px; margin-top: 2px; }
.cal-day.picked { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.cal-day.picked .cd-dow { color: var(--gold-soft); }
.preference-times { display: flex; flex-wrap: wrap; gap: 10px; max-width: 640px; }
.preference-time {
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.25s;
}
.preference-time:hover { border-color: var(--gold); transform: translateY(-2px); }
.preference-time.picked { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.preference-time.twilight { border-color: var(--gold); color: var(--gold-deep); background: linear-gradient(180deg, #fff, #faf3e3); }
.preference-time.twilight.picked { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; }
.schedule-invalid {
  outline: 2px solid color-mix(in srgb, var(--alert) 72%, transparent);
  outline-offset: 5px;
  border-radius: 12px;
}
.preference-notice {
  max-width: 640px;
  min-height: 44px;
  margin-top: 16px;
  padding: 13px 16px;
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
  background: rgba(201, 171, 110, 0.1);
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
}
.hs-hint.schedule-error { color: var(--alert); font-weight: 600; }
.sc-est { display: block; margin-top: 3px; font-size: 11px; font-weight: 600; color: var(--ink-soft); }

/* ── order summary (extends .brief) ──────────────────────── */
.sum-items { display: grid; gap: 8px; margin: 6px 0 0; }
.sum-line { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.sum-line .sl-name { color: var(--ink); font-weight: 600; }
.sum-line .sl-price { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.sum-line.package { padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.sum-line.package .sl-name { font-family: "Fraunces", serif; font-size: 15px; }
.sum-line.package .sl-price { color: var(--gold-deep); font-weight: 700; }
.sum-total {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: "Fraunces", serif;
  font-size: 21px;
}
.sum-total .st-amt { color: var(--gold-deep); font-variant-numeric: tabular-nums; }
.brow-status {
  grid-column: 2;
  margin-top: -8px;
  color: var(--gold-deep);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.proto-note { margin-top: 10px; font-size: 11px; color: var(--ink-soft); opacity: 0.8; }
.hs-hint.bad { color: var(--alert); font-weight: 600; }
.catalog-unavailable {
  grid-column: 1 / -1;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}
.catalog-unavailable p { margin-top: 8px; color: var(--ink-soft); }
.catalog-unavailable .btn-ink { display: inline-flex; margin-top: 18px; }
.brief-close {
  display: none;
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font: 700 22px/1 inherit;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ── review step ─────────────────────────────────────────── */
.review-card {
  max-width: 560px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 26px;
  display: grid;
  gap: 10px;
}
.rv-row { display: grid; grid-template-columns: 110px 1fr; gap: 12px; font-size: 14.5px; }
.rv-row .rk { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); padding-top: 2px; }
.rv-row .rvv { font-weight: 600; }
.rv-note {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.5;
}
.pay-note { margin-top: 16px; font-size: 13.5px; color: var(--ink-soft); max-width: 52ch; }
.pay-note strong { color: var(--ink); }
.turnstile-gate {
  max-width: 560px;
  margin-top: 18px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
}
.turnstile-gate p { margin: 0 0 10px; font-size: 13px; color: var(--ink-soft); }
.order-status { min-height: 20px; max-width: 560px; margin: 14px 0 0; font-size: 13px; color: var(--ink-soft); }
.order-status.error { color: var(--alert); }
.order-status.unknown { padding: 12px 14px; border-left: 3px solid var(--alert); background: rgba(255, 255, 255, 0.65); color: var(--ink); }
#payBtn[aria-disabled="true"] { cursor: wait; opacity: 0.72; pointer-events: none; }

/* ── brokerage benefit ──────────────────────────────────── */
.deal-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
}
.deal-banner .db-mark { color: var(--gold-soft); font-family: "Fraunces", serif; font-style: italic; }
.deal-preview { background: rgba(22, 39, 34, 0.08); color: var(--ink); }
.covered-benefit { border: 1px solid rgba(213, 180, 111, 0.55); }
.svc-card.covered .sc-check { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; }
.sc-covered {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-deep);
}
.sc-covered s { color: var(--ink-soft); font-weight: 600; margin-right: 6px; }
.sl-price s { margin-right: 6px; opacity: 0.55; }
.sl-price .cov { color: var(--gold-deep); font-weight: 700; }

/* ── upsell nudge (review step) ──────────────────────────── */
.upsell {
  max-width: 560px;
  margin-top: 18px;
  padding: 18px 20px;
  background: linear-gradient(180deg, #fff, #faf5e9);
  border: 1px solid rgba(165, 135, 75, 0.35);
  border-radius: 14px;
}
.upsell .up-head { font-size: 11.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 10px; }
.up-row { display: flex; flex-wrap: wrap; gap: 10px; }
.up-chip {
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: var(--white);
  color: var(--gold-deep);
  cursor: pointer;
  transition: all 0.25s;
}
.up-chip:hover { background: var(--gold-deep); color: #fff; transform: translateY(-2px); }
.up-note { margin-top: 10px; font-size: 12px; color: var(--ink-soft); }

/* step 1: list price + sqft */
.hs-duo { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; align-items: start; }
.sqft-field input { font-size: 16px; }
.sc-est { font-size: 10.5px; color: var(--ink-soft); font-weight: 400; }
@media (max-width: 620px) { .hs-duo { grid-template-columns: 1fr; } }

/* mobile sticky running total — the summary card sits below the steps
   on small screens, so the total rides along instead */
.mini-total {
  display: none;
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 70;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 18px 40px -18px rgba(23, 35, 32, 0.55);
}
.mini-total .mt-label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.75; }
.mini-total .mt-amt { font-family: "Fraunces", serif; font-size: 20px; font-weight: 500; color: var(--gold-soft); }

@media (max-width: 980px) {
  .ho-grid { grid-template-columns: 1fr; }
  .svc-cards { grid-template-columns: repeat(2, 1fr); }
  .package-cards { grid-template-columns: 1fr; }
  .pc-audience, .pc-note { min-height: 0; }
  .cal-strip { grid-template-columns: repeat(4, 1fr); }
  .mini-total { display: flex; }
  .ho-app { padding-bottom: 84px; }
  /* Mobile steps must participate in document flow. The shared handoff shell
     positions them absolutely, which lets long checkout steps run underneath
     the fixed total and makes the total intercept their action buttons. */
  .ho-steps { min-height: 0; }
  .hstep { position: static; padding-bottom: 96px; }
  /* summary bottom sheet (the sidebar card is hidden at this width) */
  .brief.open {
    display: block !important;
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 78px;
    z-index: 69;
    max-height: 62vh;
    overflow: auto;
    box-shadow: 0 24px 60px -20px rgba(23, 35, 32, 0.5);
  }
  .brief.open .brief-close { display: flex; }
  .brief.open .brief-label { padding-right: 42px; }
  .mini-total.sheet-on .mt-label::after { content: " · close"; }
  /* fixed hud fades to transparent on marketing pages; the checkout
     scrolls content under it, so back it with paper on small screens */
  .hud { background: rgba(247, 244, 236, 0.94); backdrop-filter: blur(8px); }
}
@media (max-width: 620px) {
  .address-grid { grid-template-columns: minmax(0, 1fr) 90px; }
  .address-street, .address-city { grid-column: 1 / -1; }
  .address-unit, .address-state, .address-postal { grid-column: auto; }
  .address-unit { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .svc-cards { grid-template-columns: 1fr; }
  .photographer-group { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .section-heading > p:last-child { margin: -4px 0 14px; }
}
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
