/* ===================================================================
   Booking flow styles
   =================================================================== */
.booking-wrap { padding: 2.5rem 0 4rem; }
.booking-grid { display: grid; grid-template-columns: 1fr 360px; gap: 2.2rem; align-items: start; }
@media (max-width: 900px) { .booking-grid { grid-template-columns: 1fr; } }

/* progress steps */
.steps-bar { display: flex; align-items: center; gap: .4rem; margin: 0 auto 2.4rem; max-width: 680px; }
.steps-bar .st { display: flex; align-items: center; gap: .6rem; flex: 1; }
.steps-bar .dot {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: #fff; border: 2px solid var(--line); color: var(--muted); font-weight: 800; font-size: .95rem;
}
.steps-bar .st.done .dot { background: var(--teal-600); border-color: var(--teal-600); color: #fff; }
.steps-bar .st.active .dot { background: var(--coral); border-color: var(--coral); color: #fff; box-shadow: 0 0 0 4px rgba(255,107,74,.18); }
.steps-bar .st .lbl { font-size: .82rem; font-weight: 700; color: var(--navy); }
.steps-bar .st.pending .lbl { color: var(--muted); }
.steps-bar .bar { height: 2px; background: var(--line); flex: 1; }
.steps-bar .st.done .bar { background: var(--teal-600); }
@media (max-width: 640px) { .steps-bar .lbl { display: none; } }

.panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.8rem; margin-bottom: 1.4rem; }
.panel h2 { font-size: 1.5rem; }
.panel h3 { color: var(--navy); }

/* calendar */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.cal-head h3 { margin: 0; }
.cal-nav { background: var(--sand); border: 1px solid var(--line); width: 40px; height: 40px; border-radius: 12px; cursor: pointer; font-size: 1.2rem; color: var(--navy); }
.cal-nav:disabled { opacity: .35; cursor: not-allowed; }
.calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: .35rem; }
.cal-dow { text-align: center; font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; padding: .3rem 0; }
.cal-day {
  aspect-ratio: 1; border: 1.5px solid transparent; border-radius: 12px; background: var(--sand);
  display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer;
  font-weight: 700; color: var(--navy); position: relative; transition: .12s; font-size: .95rem;
}
.cal-day.empty { background: transparent; cursor: default; }
.cal-day.available:hover { border-color: var(--teal); background: #fff; transform: translateY(-2px); }
.cal-day.available::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-600); margin-top: 3px; }
.cal-day.full, .cal-day.past, .cal-day.blocked { background: #f1f3f5; color: #b7c0c7; cursor: not-allowed; }
.cal-day.blocked { background: repeating-linear-gradient(45deg,#f1f3f5,#f1f3f5 6px,#e7ebee 6px,#e7ebee 12px); }
.cal-day.selected { background: var(--coral); color: #fff; border-color: var(--coral); }
.cal-day.selected::after { background: #fff; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; font-size: .82rem; color: var(--muted); }
.cal-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.cal-legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }

/* time slots */
.slots { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .5rem; }
.slot {
  padding: .7rem 1.2rem; border-radius: 12px; border: 1.5px solid var(--line); background: #fff;
  font-weight: 700; color: var(--navy); cursor: pointer; transition: .12s;
}
.slot:hover:not(.disabled) { border-color: var(--teal); }
.slot.selected { background: var(--navy); color: #fff; border-color: var(--navy); }
.slot.disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.slots-empty { color: var(--muted); font-style: italic; padding: .5rem 0; }

/* party size stepper */
.stepper { display: inline-flex; align-items: center; gap: 0; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; }
.stepper button { width: 46px; height: 46px; border: 0; background: var(--sand); font-size: 1.4rem; font-weight: 700; color: var(--navy); cursor: pointer; }
.stepper button:hover { background: var(--greige); }
.stepper button:disabled { opacity: .4; cursor: not-allowed; }
.stepper output { min-width: 60px; text-align: center; font-weight: 800; font-size: 1.2rem; color: var(--navy); }

/* order summary */
.summary { position: sticky; top: calc(var(--header-h) + 16px); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.summary__media { aspect-ratio: 16/9; background: var(--seafoam-200); }
.summary__media img { width: 100%; height: 100%; object-fit: cover; }
.summary__body { padding: 1.4rem 1.5rem 1.6rem; }
.summary__body h3 { margin-bottom: .3rem; }
.summary__row { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; color: var(--muted); font-size: .95rem; }
.summary__row.total { border-top: 1px solid var(--line); margin-top: .5rem; padding-top: .9rem; color: var(--navy); font-weight: 800; font-size: 1.15rem; }
.summary__row .v { color: var(--navy); font-weight: 600; }
.summary__note { background: var(--sand); border-radius: 10px; padding: .8rem 1rem; font-size: .85rem; color: var(--muted); margin-top: 1rem; }

/* pay options */
.pay-options { display: grid; gap: .8rem; margin: 1rem 0 1.5rem; }
.pay-option { display: flex; gap: 1rem; align-items: center; border: 1.5px solid var(--line); border-radius: 14px; padding: 1.1rem 1.3rem; cursor: pointer; transition: .12s; }
.pay-option:hover { border-color: var(--teal); }
.pay-option input { margin: 0; }
.pay-option.selected { border-color: var(--coral); background: #fff7f4; box-shadow: 0 0 0 3px rgba(255,107,74,.12); }
.pay-option .po-title { font-weight: 800; color: var(--navy); }
.pay-option .po-amt { margin-left: auto; font-weight: 800; color: var(--navy); font-size: 1.15rem; }

/* signature */
.sig-pad-wrap { border: 2px dashed var(--seafoam); border-radius: 14px; background: #fbfdfd; position: relative; }
.sig-pad { width: 100%; height: 180px; border-radius: 14px; touch-action: none; display: block; cursor: crosshair; }
.sig-clear { position: absolute; top: 8px; right: 10px; font-size: .82rem; }
.sig-line { position: absolute; left: 20px; right: 20px; bottom: 42px; border-bottom: 1.5px solid var(--line); pointer-events: none; }
.sig-hint { position: absolute; left: 24px; bottom: 20px; color: #b7c0c7; font-size: .85rem; pointer-events: none; }
.waiver-box { max-height: 320px; overflow-y: auto; border: 1px solid var(--line); border-radius: 12px; padding: 1.2rem 1.4rem; background: var(--sand); font-size: .9rem; white-space: pre-wrap; line-height: 1.6; color: #3a4a55; }
.guest-rows { display: grid; gap: .6rem; }

/* demo pay banner */
.demo-banner { background: #fff3cd; border: 1px solid #ffe08a; color: #856404; border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: 1.4rem; font-size: .92rem; }

/* confirmation */
.confirm-hero { text-align: center; padding: 3rem 0 1rem; }
.confirm-check { width: 84px; height: 84px; margin: 0 auto 1.2rem; border-radius: 50%; background: linear-gradient(135deg, var(--teal-600), var(--seafoam)); display: grid; place-items: center; color: #fff; box-shadow: var(--shadow); }
.confirm-check svg { width: 44px; height: 44px; }
.confirm-code { display: inline-block; font-size: 1.5rem; font-weight: 800; letter-spacing: .08em; color: var(--navy); background: var(--sand); border: 2px dashed var(--seafoam); border-radius: 12px; padding: .6rem 1.4rem; margin: .5rem 0; }
.detail-list { list-style: none; padding: 0; margin: 0; }
.detail-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.detail-list li .k { color: var(--muted); }
.detail-list li .v { font-weight: 700; color: var(--navy); text-align: right; }

/* choose trip radio cards */
.choose-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 1.4rem; }

/* promo code */
.promo-form { display: flex; gap: .7rem; flex-wrap: wrap; }
.promo-form input[type="text"] { flex: 1; min-width: 200px; text-transform: uppercase; }
.promo-form input[type="text"]::placeholder { text-transform: none; }
.promo-applied { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; background: #f0faf7; border: 1.5px solid var(--teal-600); border-radius: 12px; padding: .8rem 1rem; }
.promo-applied .promo-tag { color: var(--navy); display: inline-flex; align-items: center; gap: .45rem; }
.promo-applied form { margin: 0; }

/* tips */
.tip-options { display: flex; flex-wrap: wrap; gap: .7rem; margin: .8rem 0 1rem; }
.tip-option { position: relative; border: 1.5px solid var(--line); border-radius: 12px; padding: .6rem 1.1rem; cursor: pointer; font-weight: 800; color: var(--navy); text-align: center; transition: .12s; }
.tip-option:hover { border-color: var(--teal); }
.tip-option.selected { border-color: var(--coral); background: #fff7f4; box-shadow: 0 0 0 3px rgba(255,107,74,.12); }
.tip-option input { position: absolute; opacity: 0; pointer-events: none; }
.tip-option small { display: block; color: var(--muted); font-weight: 600; font-size: .78rem; }

/* customer portal */
.portal-head { text-align: center; margin-bottom: 1.8rem; }
.chips { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; margin-top: .6rem; }
.chip { display: inline-block; padding: .3rem .8rem; border-radius: 999px; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; background: var(--sand); color: var(--muted); border: 1px solid var(--line); }
.chip.st-confirmed, .chip.pay-paid, .chip.pay-deposit_paid { background: #e9f7f3; color: #0d7a5f; border-color: #bfe6da; }
.chip.st-pending, .chip.pay-unpaid { background: #fff3cd; color: #856404; border-color: #ffe08a; }
.chip.st-cancelled, .chip.pay-refunded { background: #fdecea; color: #b3362a; border-color: #f6c9c3; }
.chip.st-completed { background: #e8eefc; color: #2f4b8f; border-color: #c8d6f5; }
.actions-row { display: flex; gap: .8rem; flex-wrap: wrap; }
.weather-banner { background: #eaf4fb; border: 1.5px solid #bcd9ee; color: #0b4a6f; border-radius: 14px; padding: 1.2rem 1.4rem; margin-bottom: 1.6rem; }
.weather-banner h3 { color: #0b4a6f; }
.refund-callout { border-radius: 12px; padding: 1rem 1.2rem; font-size: .95rem; }
.refund-callout.ok { background: #f0faf7; border: 1.5px solid var(--teal-600); color: var(--navy); }
.refund-callout.warn { background: #fff3cd; border: 1.5px solid #ffe08a; color: #856404; }
.manage-cta { border: 2px solid var(--teal-600); }

/* widget instructions copy box */
.copybox { display: flex; gap: .8rem; align-items: center; background: var(--navy); color: #e7f0f7; border-radius: 12px; padding: 1rem 1.2rem; }
.copybox code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .84rem; white-space: pre; overflow-x: auto; flex: 1; color: #e7f0f7; }
.copybox .btn { flex: none; }

/* widget iframe trip chooser */
.widget-choose { display: grid; gap: 1rem; }
.widget-trip { display: flex; gap: 1rem; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.widget-trip__media { flex: 0 0 130px; }
.widget-trip__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.widget-trip__body { padding: 1rem 1.2rem 1rem 0; flex: 1; }
.widget-trip__body h3 { margin-bottom: .2rem; }
.widget-trip:not(:has(.widget-trip__media)) .widget-trip__body,
.widget-trip__body:first-child { padding-left: 1.2rem; }
@media (max-width: 560px) { .widget-trip { flex-direction: column; } .widget-trip__media { flex-basis: auto; aspect-ratio: 16/7; } .widget-trip__body { padding: 0 1.2rem 1.2rem; } }

/* chrome-less embed layout (widget iframes) */
.embed-body { background: #f6f8f9; }
.embed-header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem 1.1rem; background: #fff; border-bottom: 1px solid var(--line); font-weight: 800; color: var(--navy); }
.embed-note { font-size: .8rem; color: var(--muted); font-weight: 600; display: inline-flex; gap: .35rem; align-items: center; }
.embed-footer { text-align: center; color: var(--muted); font-size: .78rem; padding: .6rem 0 1.2rem; }
.embed-body .booking-wrap { padding: 1.4rem 0 2rem; }
.embed-body .booking-grid { grid-template-columns: 1fr; gap: 1.4rem; }
.embed-body .summary { position: static; }
.embed-body .steps-bar { margin-bottom: 1.6rem; }
.embed-body .flashes { position: static; margin: .8rem 1rem 0; }
