/* ═══════════════════════════════════════════════════════════════
   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 */
.ho-grid { grid-template-columns: 1.35fr 0.65fr; align-items: start; }
.ho-steps { min-height: 560px; }
.hstep { 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); }
.mini-label {
  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 ─────────────────────────────── */
.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: date + time ─────────────────────────────────── */
.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); }
.cal-day.off { opacity: 0.35; cursor: default; }
.cal-day.off:hover { transform: none; border-color: var(--line); }
.slot-row { display: flex; flex-wrap: wrap; gap: 10px; max-width: 640px; min-height: 56px; }
.slot {
  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;
}
.slot:hover { border-color: var(--gold); transform: translateY(-2px); }
.slot.picked { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.slot.twilight { border-color: var(--gold); color: var(--gold-deep); background: linear-gradient(180deg, #fff, #faf3e3); }
.slot.twilight.picked { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; }
.slot.gone { opacity: 0.3; cursor: default; text-decoration: line-through; }
.slot.gone:hover { transform: none; border-color: var(--line); }
.slot-hint { font-size: 12.5px; color: var(--ink-soft); margin-top: 10px; }
.slot-hint em { color: var(--gold-deep); }

/* ── 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-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; }
.proto-note { margin-top: 10px; font-size: 11px; color: var(--ink-soft); opacity: 0.8; }

/* ── 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; }
.pay-note { margin-top: 16px; font-size: 13.5px; color: var(--ink-soft); max-width: 52ch; }
.pay-note strong { color: var(--ink); }

/* ── brokerage deal mode ─────────────────────────────────── */
.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; }
.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: price band + 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; } }

/* tier upgrade ladder (brokerage deal mode) */
.tier-bar {
  margin-bottom: 22px;
  padding: 18px 20px 14px;
  background: linear-gradient(180deg, #fff, #faf5e9);
  border: 1px solid rgba(165, 135, 75, 0.35);
  border-radius: 14px;
}
.tb-head { font-size: 13.5px; color: var(--ink); margin-bottom: 12px; }
.tb-head b { color: var(--gold-deep); }
.tb-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tier-opt {
  font-family: inherit;
  text-align: left;
  padding: 14px 14px 12px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.tier-opt:hover { transform: translateY(-2px); border-color: var(--gold); }
.tier-opt.on { border-color: var(--gold-deep); box-shadow: 0 8px 22px -12px rgba(130, 104, 47, 0.5); background: #fffdf6; }
.to-name { font-family: "Fraunces", serif; font-size: 16px; color: var(--ink); }
.to-desc { font-size: 11.5px; line-height: 1.45; color: var(--ink-soft); flex: 1; }
.to-price { font-size: 13px; color: var(--ink); }
.to-price s { color: var(--ink-soft); margin-right: 5px; }
.to-price b { color: var(--gold-deep); }
.tb-note { margin-top: 10px; font-size: 11px; color: var(--ink-soft); }
.sum-line.credit .sl-name, .sum-line.credit .sl-price { color: var(--gold-deep); font-weight: 600; }

/* 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); }
  .cal-strip { grid-template-columns: repeat(4, 1fr); }
  .mini-total { display: flex; }
  .ho-app { padding-bottom: 84px; }
  /* 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);
  }
  .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) {
  .svc-cards { grid-template-columns: 1fr; }
  .tb-row { grid-template-columns: 1fr; }
}
