/* ==========================================================================
   Booking page (mockup). Builds on main.css tokens.
   ========================================================================== */

[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Page hero ---------- */
.hero--page { min-height: max(86svh, 660px); }
.hero--page .hero__poster { object-position: 50% 45%; }
.hero--page .hero__title { font-size: clamp(3rem, 1rem + 6.4vw, 8.2rem); }
.hero--page .hero__ports strong { font-style: normal; }

/* ---------- Booking layout ---------- */
.booking { padding: var(--section) 0; position: relative; }
.booker { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 440px); gap: clamp(28px, 4vw, 72px); align-items: start; }
.booker__main {
  background: var(--chalk);
  box-shadow: 0 50px 100px -50px rgba(10, 42, 51, .35), 0 0 0 1px rgba(46, 49, 146, .08);
  padding: clamp(24px, 3.4vw, 56px);
  position: relative;
}
.booker__side { position: sticky; top: 104px; }
.booker__help { margin: 18px 4px 0; font-size: .95rem; color: var(--ink-soft); }
.booker__help a { color: var(--indigo); font-weight: 600; }

/* ---------- Stepper ---------- */
.stepper { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: clamp(28px, 3vw, 44px); padding-bottom: 18px; }
.stepper__btn {
  width: 100%; display: flex; align-items: center; gap: 12px; text-align: left;
  background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink-soft);
}
.stepper__btn:disabled { cursor: default; }
.stepper__num {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: .95rem;
  border: 1px solid rgba(46, 49, 146, .3); background: transparent; color: var(--indigo);
  transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
}
.stepper__label { font-weight: 600; font-size: .95rem; line-height: 1.25; }
.stepper__btn.is-current { color: var(--indigo); }
.stepper__btn.is-current .stepper__num { background: var(--indigo); color: #fff; border-color: var(--indigo); transform: scale(1.08); }
.stepper__btn.is-done .stepper__num { background: var(--ensign); border-color: var(--ensign); color: #fff; }
.stepper__track { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(46, 49, 146, .14); }
.stepper__track span { position: absolute; inset: 0; background: var(--ensign); transform-origin: left; transform: scaleX(.25); transition: transform .8s var(--ease); }

/* ---------- Steps ---------- */
.steps { position: relative; }
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step + .step { margin-top: 56px; padding-top: 56px; border-top: 1px solid rgba(46, 49, 146, .14); }
.booker.is-wizard .step { display: none; margin-top: 0; padding-top: 0; border-top: 0; }
.booker.is-wizard .step.is-current { display: block; }
.step__title { font-family: var(--serif); font-size: clamp(2rem, 1.4rem + 1.8vw, 3.2rem); line-height: 1.05; color: var(--indigo); padding: 0; margin-bottom: 8px; }
.step__hint { color: var(--ink-soft); margin-bottom: 28px; }

.booker__nav { display: flex; align-items: center; gap: 18px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(46, 49, 146, .14); }
.booker__nav [data-next] { margin-left: auto; }
.booker__error { margin: 0; color: var(--ensign-deep); font-weight: 600; font-size: .95rem; }
.btn--quiet { --bg: transparent; --fg: var(--indigo); --fill: var(--chalk-2); box-shadow: inset 0 0 0 1px rgba(46, 49, 146, .3); }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn.is-loading span { opacity: 0; }
.btn.is-loading::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px;
  border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Calendar ---------- */
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.cal__month { margin: 0; font-family: var(--serif); font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.8rem); line-height: 1.1; color: var(--ink); text-align: center; flex: 1; }
.cal__month em { color: var(--ensign); }
.cal__strip { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 14px; margin-bottom: 8px; scroll-snap-type: x proximity; }
.cal__strip::-webkit-scrollbar { display: none; }
.cal__chip {
  flex: none; scroll-snap-align: center;
  border: 1px solid rgba(46, 49, 146, .22); background: transparent; color: var(--ink);
  padding: 8px 14px; border-radius: 999px; font-size: .9rem; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: background .35s, color .35s, border-color .35s;
}
.cal__chip:hover { border-color: var(--indigo); }
.cal__chip.is-on { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.cal__week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-bottom: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); text-align: center; }
.cal__viewport { overflow: hidden; }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.day {
  position: relative; aspect-ratio: 1 / .86; min-height: 52px;
  border: 0; border-radius: 4px; padding: 8px; cursor: pointer;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  background: #fff; color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(46, 49, 146, .1);
  font-variant-numeric: tabular-nums;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .35s, color .35s;
  outline-offset: 2px;
}
.day__n { font-family: var(--serif); font-size: clamp(1.15rem, .9rem + .6vw, 1.6rem); line-height: 1; }
.day__tag { font-size: .7rem; font-weight: 700; color: var(--ensign); letter-spacing: .02em; line-height: 1; }
.day--blank { background: transparent; box-shadow: none; cursor: default; }
.day--weekend { background: #f7f2ea; }
.day:not(:disabled):not(.day--blank):hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--indigo), 0 14px 24px -14px rgba(46, 49, 146, .5); }
.day:disabled { cursor: not-allowed; }
.day--past { background: transparent; color: rgba(18, 38, 44, .28); box-shadow: inset 0 0 0 1px rgba(46, 49, 146, .05); }
.day--booked { color: rgba(18, 38, 44, .38); background: repeating-linear-gradient(135deg, rgba(46, 49, 146, .06) 0 6px, transparent 6px 12px), #fff; }
.day--booked .day__n { text-decoration: line-through; text-decoration-color: var(--ensign); text-decoration-thickness: 2px; }
.day--booked .day__tag { color: rgba(18, 38, 44, .45); }
.day--today::after { content: ""; position: absolute; right: 8px; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--glass); }
.day.is-picked { background: var(--ensign); color: #fff; box-shadow: 0 16px 30px -14px rgba(207, 58, 63, .8); transform: translateY(-3px); }
.day.is-picked .day__tag { color: #fff; }
.day__ring { position: absolute; inset: -4px; border-radius: 7px; border: 2px solid var(--ensign); opacity: 0; pointer-events: none; }
.cal__legend { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 20px; font-size: .9rem; color: var(--ink-soft); }
.cal__legend li { display: flex; align-items: center; gap: 8px; }
.k { width: 16px; height: 16px; border-radius: 3px; display: inline-block; box-shadow: inset 0 0 0 1px rgba(46, 49, 146, .2); }
.k--free { background: #fff; }
.k--weekend { background: #f7f2ea; }
.k--booked { background: repeating-linear-gradient(135deg, rgba(46, 49, 146, .25) 0 3px, #fff 3px 6px); }
.k--picked { background: var(--ensign); box-shadow: none; }

.notice {
  display: flex; gap: 14px; align-items: flex-start; margin-top: 24px; padding: 16px 20px;
  background: rgba(207, 58, 63, .08); border-left: 3px solid var(--ensign);
}
.notice svg { flex: none; width: 24px; height: 24px; fill: none; stroke: var(--ensign); stroke-width: 1.8; stroke-linecap: round; }
.notice p { margin: 0; }
.notice a { color: var(--ensign-deep); font-weight: 700; }

/* ---------- Charter options ---------- */
.options { display: grid; gap: 12px; }
.option {
  position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 20px; align-items: center;
  padding: 12px 58px 12px 12px; background: #fff; cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(46, 49, 146, .12);
  transition: box-shadow .45s var(--ease), transform .45s var(--ease);
}
.option:hover { box-shadow: inset 0 0 0 1px var(--indigo), 0 20px 40px -26px rgba(46, 49, 146, .5); transform: translateY(-2px); }
.option:focus-within { outline: 2px solid var(--ensign); outline-offset: 3px; }
.option__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--deep); }
.option__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.option:hover .option__media img { transform: scale(1.08); }
.option__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.option__title { font-family: var(--serif); font-size: clamp(1.25rem, 1.05rem + .5vw, 1.6rem); line-height: 1.15; color: var(--indigo); }
.option__copy { color: var(--ink-soft); font-size: .96rem; line-height: 1.45; }
.option__meta { font-size: .85rem; font-weight: 600; color: var(--ink); }
.option__price { display: flex; flex-direction: column; align-items: flex-end; white-space: nowrap; }
.option__from { font-size: .8rem; color: var(--ink-soft); }
.option__price strong { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; color: var(--ink); }
.option__tick {
  position: absolute; right: 16px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(46, 49, 146, .3); display: grid; place-items: center; transition: background .35s, box-shadow .35s;
}
.option__tick svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .45s var(--ease) .1s; }
.option.is-on { box-shadow: inset 0 0 0 2px var(--ensign), 0 24px 44px -28px rgba(207, 58, 63, .7); }
.option.is-on .option__tick { background: var(--ensign); box-shadow: none; }
.option.is-on .option__tick svg { stroke-dashoffset: 0; }

.departures { margin-top: 32px; }
.departures__title, .pay__title { font-family: var(--serif); font-size: 1.5rem; color: var(--indigo); margin: 0 0 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; cursor: pointer; font-weight: 600;
  background: #fff; box-shadow: inset 0 0 0 1px rgba(46, 49, 146, .22); transition: background .35s, color .35s, box-shadow .35s;
}
.chip span::before { content: ""; width: 8px; height: 8px; background: var(--glass); transform: rotate(45deg); transition: background .35s; }
.chip:hover span { box-shadow: inset 0 0 0 1px var(--indigo); }
.chip input:checked + span { background: var(--indigo); color: #fff; box-shadow: none; }
.chip input:checked + span::before { background: var(--ensign); }
.chip input:focus-visible + span { outline: 2px solid var(--ensign); outline-offset: 3px; }

/* ---------- Extras ---------- */
.extras { display: grid; gap: 12px; }
.extra, .bottle {
  display: flex; align-items: center; gap: 20px; padding: 18px 20px; background: #fff;
  box-shadow: inset 0 0 0 1px rgba(46, 49, 146, .12);
}
.extra__text, .bottle__text { flex: 1; min-width: 0; }
.extra__title { margin: 0; font-family: var(--serif); font-size: 1.4rem; line-height: 1.2; color: var(--indigo); }
.extra__note { margin: 2px 0 0; color: var(--ink-soft); font-size: .95rem; }
.bottles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bottle { flex-wrap: wrap; }
.bottle__art { width: 26px; height: 64px; flex: none; }
.bottle__art path:first-child { fill: var(--deep); }
.bottle__label { fill: var(--chalk); }
.bottle__foil { fill: #c8a45a; }
[data-bottle="veuve"] .bottle__label { fill: #f0a02a; }
.bottle.is-on { box-shadow: inset 0 0 0 2px var(--ensign); }
.bottle .qty { margin-left: auto; }

.qty { display: flex; align-items: center; gap: 4px; background: var(--chalk); border-radius: 999px; padding: 4px; flex: none; }
.qty__btn {
  width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; cursor: pointer;
  font-size: 1.35rem; line-height: 1; color: var(--indigo); box-shadow: 0 2px 6px -2px rgba(10, 42, 51, .25);
  transition: background .3s, color .3s, transform .2s;
}
.qty__btn:hover { background: var(--indigo); color: #fff; }
.qty__btn:active { transform: scale(.92); }
.qty__btn:disabled { opacity: .35; pointer-events: none; }
.qty__val { min-width: 36px; text-align: center; font-family: var(--serif); font-size: 1.5rem; font-variant-numeric: tabular-nums; display: inline-block; }

/* ---------- Fields ---------- */
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 36px; }
.field { position: relative; display: block; }
.field--wide { grid-column: 1 / -1; }
.field__input {
  width: 100%; font: inherit; color: var(--ink);
  background: #fff; border: 0; border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(46, 49, 146, .2);
  padding: 26px 16px 10px; min-height: 64px;
  transition: box-shadow .35s var(--ease);
}
.field__input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--indigo); }
.field__label {
  position: absolute; left: 16px; top: 21px; color: var(--ink-soft); pointer-events: none;
  transform-origin: left top; transition: transform .35s var(--ease), color .35s;
}
.field__input:focus + .field__label, .field__input:not(:placeholder-shown) + .field__label { transform: translateY(-12px) scale(.78); color: var(--indigo); }
.field--area .field__label { position: static; display: block; margin: 0 0 8px; font-family: var(--serif); font-size: 1.4rem; color: var(--indigo); transform: none; }
.field--area .field__input { padding-top: 14px; resize: vertical; min-height: 120px; }
.field__help { display: block; margin-top: 6px; font-size: .9rem; color: var(--ink-soft); }
.field__error { display: none; margin: 6px 0 0; color: var(--ensign-deep); font-size: .9rem; font-weight: 600; }
.field.is-invalid .field__input { box-shadow: inset 0 0 0 2px var(--ensign); }
.field.is-invalid .field__error, .field__error.is-shown { display: block; }

/* ---------- Payment ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 28px; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 2px; padding: 20px 22px; background: #fff; cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(46, 49, 146, .18); transition: box-shadow .4s var(--ease), background .4s;
}
.plan::after { content: ""; position: absolute; right: 18px; top: 20px; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(46, 49, 146, .35); transition: box-shadow .35s; }
.plan__name { font-weight: 700; }
.plan__amount { font-family: var(--serif); font-size: 1.8rem; color: var(--indigo); line-height: 1.2; }
.plan__note { font-size: .9rem; color: var(--ink-soft); }
.plan.is-on { box-shadow: inset 0 0 0 2px var(--indigo); }
.plan.is-on::after { box-shadow: inset 0 0 0 6px var(--ensign); }
.plan:focus-within { outline: 2px solid var(--ensign); outline-offset: 3px; }
.plan.is-disabled { opacity: .5; cursor: not-allowed; }

.stripe { background: #fff; padding: 22px; box-shadow: inset 0 0 0 1px rgba(46, 49, 146, .12); margin-bottom: 24px; }
.stripe__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.stripe__title { margin: 0; font-weight: 700; }
.stripe__brands { display: flex; gap: 6px; margin: 0; }
.stripe__brands span { font-size: .68rem; font-weight: 800; letter-spacing: .04em; padding: 4px 7px; border-radius: 3px; background: var(--chalk-2); color: var(--ink-soft); transition: background .3s, color .3s, opacity .3s; }
.stripe__brands.has-brand span { opacity: .35; }
.stripe__brands span.is-on { opacity: 1; background: var(--indigo); color: #fff; }
.stripe__box { display: grid; grid-template-columns: 1.1fr .8fr 1fr; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(46, 49, 146, .22), 0 1px 2px rgba(10, 42, 51, .06); overflow: hidden; transition: box-shadow .3s; }
.stripe__box:focus-within { box-shadow: inset 0 0 0 2px var(--indigo), 0 0 0 4px rgba(46, 49, 146, .12); }
.stripe__box.is-invalid { box-shadow: inset 0 0 0 2px var(--ensign); }
.stripe__row { position: relative; display: block; border-top: 1px solid rgba(46, 49, 146, .14); border-left: 1px solid rgba(46, 49, 146, .14); }
.stripe__row--number { grid-column: 1 / -1; border-top: 0; border-left: 0; }
.stripe__row:nth-child(2) { border-left: 0; }
.stripe__row input { width: 100%; border: 0; background: transparent; font: inherit; font-size: 1.05rem; padding: 16px; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.stripe__row input:focus { outline: none; }
.stripe__row--number input { padding-right: 60px; }
.stripe__icon { position: absolute; right: 16px; top: 50%; width: 32px; height: 22px; margin-top: -11px; }
.stripe__icon svg { width: 100%; height: 100%; fill: none; stroke: var(--ink-soft); stroke-width: 1.2; }
.stripe__error { margin-top: 10px; }
.stripe__secure { display: flex; gap: 8px; align-items: center; margin: 14px 0 0; font-size: .9rem; color: var(--ink-soft); }
.stripe__secure svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--indigo); stroke-width: 1.8; }
.stripe__preview { margin: 10px 0 0; font-size: .88rem; color: var(--ensign-deep); font-weight: 600; }

.check { display: flex; align-items: flex-start; gap: 14px; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { flex: none; width: 26px; height: 26px; border-radius: 4px; background: #fff; box-shadow: inset 0 0 0 1px rgba(46, 49, 146, .35); display: grid; place-items: center; transition: background .3s, box-shadow .3s; }
.check__box svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .4s var(--ease); }
.check input:checked + .check__box { background: var(--ensign); box-shadow: none; }
.check input:checked + .check__box svg { stroke-dashoffset: 0; }
.check input:focus-visible + .check__box { outline: 2px solid var(--ensign); outline-offset: 3px; }
.check a { color: var(--indigo); font-weight: 600; }
.check__error { margin-left: 40px; }

/* ---------- Confirmation ---------- */
.done { text-align: left; padding: 12px 0; outline: none; }
.done[hidden] { display: none; }
.done__mark { width: 110px; height: 110px; margin-bottom: 24px; }
.done__mark circle { fill: none; stroke: var(--ensign); stroke-width: 3; }
.done__mark path { fill: none; stroke: var(--indigo); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.done__title { font-family: var(--serif); font-size: clamp(2.4rem, 1.6rem + 2.6vw, 4.2rem); line-height: 1.02; color: var(--indigo); margin-bottom: 14px; }
.done__copy { font-size: 1.15rem; color: var(--ink-soft); }
.done__list { margin: 28px 0 32px; border-top: 1px solid rgba(46, 49, 146, .18); }
.done__list div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(46, 49, 146, .18); }
.done__list dt { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); padding-top: 4px; }
.done__list dd { margin: 0; font-family: var(--serif); font-size: 1.25rem; }
.done__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.booker.is-complete .booker__nav, .booker.is-complete .stepper { display: none; }
.booker.is-complete .step { display: none !important; }

/* ---------- Summary ticket ---------- */
.ticket {
  position: relative; background: var(--deep); color: var(--chalk);
  box-shadow: 0 50px 90px -40px rgba(10, 42, 51, .7);
  will-change: transform;
}
.ticket__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 20px 24px 16px; border-bottom: 1px solid rgba(238, 242, 239, .12); }
.ticket__brand { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.35rem; }
.ticket__ref { margin: 0; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--glass); }
.ticket__map { position: relative; height: 230px; overflow: hidden; background: var(--deep-2); }
.map { width: 100%; height: 100%; display: block; }
.map__sea { fill: #0c3039; }
.map__land { fill: var(--land); stroke: rgba(140, 203, 198, .55); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.map__route-ghost { fill: none; stroke: rgba(238, 242, 239, .25); stroke-width: 2; stroke-dasharray: 3 7; vector-effect: non-scaling-stroke; }
.map__route { fill: none; stroke: var(--ensign); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.map__dot { fill: var(--chalk); stroke: var(--deep); stroke-width: 2; vector-effect: non-scaling-stroke; }
.map__dot--start { fill: var(--ensign); stroke: #fff; }
.map__pulse { fill: none; stroke: var(--ensign); stroke-width: 2; vector-effect: non-scaling-stroke; }
.map__name { fill: #fff; font-family: var(--serif); font-style: italic; paint-order: stroke; stroke: var(--deep); stroke-linejoin: round; }
.ticket__map-label {
  position: absolute; left: 14px; bottom: 12px; right: 14px; margin: 0;
  font-size: .85rem; font-weight: 600; color: rgba(238, 242, 239, .9);
}
.ticket__map::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(238, 242, 239, .18); pointer-events: none; }
.ticket__stamp {
  position: absolute; right: 18px; top: 18px; z-index: 2;
  padding: 6px 14px; border: 3px solid var(--ensign); color: var(--ensign); background: rgba(238, 242, 239, .92);
  font-weight: 800; letter-spacing: .18em; text-transform: uppercase; font-size: 1rem;
  transform: rotate(-10deg) scale(0); opacity: 0;
}
.ticket__rows { margin: 0; padding: 12px 24px 4px; }
.ticket__row { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(238, 242, 239, .1); align-items: baseline; }
.ticket__row:last-child { border-bottom: 0; }
.ticket__row dt { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--glass); }
.ticket__row dd { margin: 0; font-family: var(--serif); font-size: 1.15rem; line-height: 1.3; }
.ticket__row dd.is-empty { color: rgba(238, 242, 239, .5); font-style: italic; }
.ticket__perf {
  position: relative; height: 26px; margin: 4px 0;
  background: radial-gradient(circle at 0 50%, var(--chalk) 12px, transparent 13px) left / 26px 26px no-repeat,
              radial-gradient(circle at 100% 50%, var(--chalk) 12px, transparent 13px) right / 26px 26px no-repeat;
}
.ticket__perf::after { content: ""; position: absolute; left: 22px; right: 22px; top: 50%; border-top: 2px dashed rgba(238, 242, 239, .2); }
.ticket__lines { padding: 0 24px; margin: 0; min-height: 10px; }
.ticket__lines li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: .95rem; color: rgba(238, 242, 239, .82); }
.ticket__lines li span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ticket__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 24px 6px; margin-top: 8px; border-top: 1px solid rgba(238, 242, 239, .12); }
.ticket__total p { margin: 0; font-weight: 700; }
.ticket__amount { font-family: var(--serif); font-size: 2.6rem !important; line-height: 1; font-variant-numeric: tabular-nums; }
.ticket__due { padding: 6px 24px 22px; }
.ticket__due p { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 4px 0; font-size: .95rem; color: rgba(238, 242, 239, .82); }
.ticket__due strong { color: #fff; font-variant-numeric: tabular-nums; }
.ticket__due p:first-child strong { color: var(--glass); font-size: 1.1rem; }
.flash { animation: flash 1s var(--ease); }
@keyframes flash { 0% { background: rgba(207, 58, 63, .35); } 100% { background: transparent; } }

/* ---------- Mobile summary bar ---------- */
.sumbar { display: none; }

/* ---------- Good to know ---------- */
.know { position: relative; overflow: hidden; color: var(--chalk); padding: var(--section) 0; background: var(--deep); }
.know__bg { position: absolute; inset: -12% 0; }
.know__bg img { width: 100%; height: 100%; object-fit: cover; }
.know__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 42, 51, .82), rgba(10, 42, 51, .45) 50%, rgba(10, 42, 51, .85)); }
.know__inner { position: relative; }
.know__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 72px); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .booker { grid-template-columns: minmax(0, 1fr) 340px; }
  .option { grid-template-columns: 110px minmax(0, 1fr); }
  .option__price { grid-column: 2; flex-direction: row; align-items: baseline; gap: 6px; }
}
@media (max-width: 999px) {
  .booker { grid-template-columns: minmax(0, 1fr); }
  .booker__side { position: static; }
  .know__grid { grid-template-columns: minmax(0, 1fr); }
  .stepper__label { display: none; }
  .stepper { grid-template-columns: repeat(4, auto); justify-content: space-between; }
  .booking { padding-bottom: calc(var(--section) + 90px); }
  .sumbar { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80; transform: translateY(140%); transition: transform .6s var(--ease); }
  .sumbar[hidden] { display: none; }
  .sumbar.is-visible { transform: none; }
  .sumbar__btn {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    background: var(--deep); color: var(--chalk); border: 0; border-radius: 6px; padding: 12px 16px; cursor: pointer;
    box-shadow: 0 20px 40px -12px rgba(10, 42, 51, .6);
  }
  .sumbar__text { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; text-align: left; }
  .sumbar__text span { font-size: .85rem; color: rgba(238, 242, 239, .75); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60vw; }
  .sumbar__text strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; line-height: 1.1; }
  .sumbar__cta { display: inline-flex; align-items: center; gap: 6px; background: var(--ensign); color: #fff; font-weight: 700; font-size: .9rem; padding: 10px 14px; border-radius: 4px; }
  .sumbar__cta svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; }
}
@media (max-width: 640px) {
  .booker__main { padding: 22px 16px 26px; margin-inline: calc(var(--gutter) * -1); box-shadow: none; }
  .cal__week, .cal__grid { gap: 4px; }
  .day { padding: 5px; min-height: 44px; aspect-ratio: 1 / 1.05; }
  .day__tag { font-size: .58rem; }
  .cal__legend { gap: 8px 16px; font-size: .85rem; }
  .option { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; padding-right: 48px; }
  .option__copy { display: none; }
  .option__tick { right: 12px; }
  .bottles, .fields, .plans { grid-template-columns: minmax(0, 1fr); }
  .extra, .bottle { padding: 14px; gap: 12px; }
  .stripe { padding: 16px; }
  .stripe__box { grid-template-columns: 1fr 1fr; }
  .stripe__row:nth-child(4) { grid-column: 1 / -1; border-left: 0; }
  .booker__nav { flex-wrap: wrap; }
  .booker__nav [data-next] { flex: 1 1 100%; order: 3; }
  .done__list div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .ticket__map { height: 200px; }
}

/* ==========================================================================
   Desktop: the whole booking form and summary fit one screen
   ========================================================================== */
@media (min-width: 1000px) {
  :root { --fit-top: 84px; --fit-h: calc(100svh - var(--fit-top) - 14px); }

  .booker__main {
    display: flex; flex-direction: column;
    height: var(--fit-h); min-height: 580px;
    padding: 24px clamp(24px, 2.6vw, 40px) 20px;
  }
  .stepper { flex: none; margin-bottom: 16px; padding-bottom: 12px; }
  .stepper__num { width: 32px; height: 32px; }
  .steps { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; padding: 2px 6px 6px 2px; margin: -2px -6px -6px -2px; }
  .step__title { font-size: clamp(1.8rem, 1.1rem + 1.1vw, 2.5rem); margin-bottom: 2px; }
  .step__hint { margin-bottom: 12px; font-size: .98rem; }
  .booker__nav { flex: none; margin-top: 14px; padding-top: 14px; }
  .booker__nav .btn--lg { min-height: 52px; }

  /* Calendar: head and month strip share a row, day height follows the screen height */
  .cal { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 20px; align-items: center; }
  .cal > :not(.cal__head):not(.cal__strip) { grid-column: 1 / -1; }
  .cal__head { margin: 0; gap: 10px; }
  .cal__head .round-btn { width: 44px; height: 44px; }
  .cal__month { font-size: clamp(1.5rem, 1rem + .9vw, 2.1rem); min-width: 9.5ch; }
  .cal__strip { margin: 0; padding: 8px 2px; }
  .cal__chip { padding: 7px 12px; font-size: .85rem; }
  .cal__week { margin: 10px 0 6px; gap: 6px; }
  .cal__grid { gap: 6px; }
  .day { aspect-ratio: auto; min-height: 0; height: clamp(40px, calc((100svh - 600px) / 6), 84px); padding: 6px 8px; }
  .day__n { font-size: clamp(1.05rem, .7rem + .9vh, 1.5rem); }
  .cal__legend { margin-top: 12px; font-size: .85rem; }
  .notice { margin-top: 12px; padding: 10px 14px; font-size: .95rem; }

  /* Charter options: compact two-column grid */
  .options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .option { grid-template-columns: 84px minmax(0, 1fr) auto; align-items: start; gap: 14px; padding: 10px 12px; }
  .option__media { aspect-ratio: 1; }
  .option__title { font-size: 1.15rem; }
  .option__copy { font-size: .86rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .option__meta { font-size: .8rem; }
  .option__price { grid-column: auto; flex-direction: column; align-items: flex-end; gap: 0; padding-right: 0; }
  .option__price strong { font-size: 1.3rem; }
  .option__tick { top: auto; bottom: 10px; right: 12px; margin-top: 0; width: 24px; height: 24px; }
  .departures { margin-top: 16px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
  .departures__title { margin: 0; font-size: 1.25rem; }
  .chip span { padding: 9px 16px; }

  /* Extras */
  .extras { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .bottles, .field--area { grid-column: 1 / -1; }
  .extra, .bottle { padding: 12px 16px; }
  .extra__title { font-size: 1.2rem; }
  .extra__note { font-size: .88rem; }
  .qty__btn { width: 38px; height: 38px; }
  .bottle__art { height: 52px; }
  .field--area .field__label { font-size: 1.2rem; margin-bottom: 6px; }
  .field--area .field__input { min-height: 84px; }
  .field__help { font-size: .84rem; }

  /* Details and payment */
  .fields { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
  .field--wide { grid-column: auto; }
  .field__input { min-height: 56px; padding: 22px 14px 8px; }
  .field__label { top: 17px; left: 14px; }
  .pay__title { font-size: 1.2rem; margin-bottom: 8px; }
  .plans { gap: 10px; margin-bottom: 12px; }
  .plan { padding: 12px 16px; }
  .plan::after { top: 14px; }
  .plan__amount { font-size: 1.45rem; }
  .plan__note { font-size: .84rem; }
  .stripe { padding: 14px 16px; margin-bottom: 12px; }
  .stripe__head { margin-bottom: 8px; }
  .stripe__box { grid-template-columns: 2fr 1fr .8fr 1.1fr; }
  .stripe__row--number { grid-column: auto; }
  .stripe__row { border-top: 0; }
  .stripe__row:nth-child(2) { border-left: 1px solid rgba(46, 49, 146, .14); }
  .stripe__row input { padding: 13px 14px; font-size: 1rem; }
  .stripe__secure, .stripe__preview { font-size: .82rem; margin-top: 6px; }

  /* Confirmation */
  .done__mark { width: 72px; height: 72px; margin-bottom: 12px; }
  .done__title { font-size: clamp(2rem, 1.3rem + 1.6vw, 3rem); }
  .done__list { margin: 14px 0 18px; }
  .done__list div { padding: 7px 0; grid-template-columns: 140px minmax(0, 1fr); }
  .done__list dd { font-size: 1.1rem; }

  /* Summary ticket fits the same height */
  .booker__side { top: var(--fit-top); height: var(--fit-h); min-height: 580px; display: flex; flex-direction: column; }
  .ticket { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
  .ticket__top { padding: 14px 20px 12px; }
  .ticket__map { flex: 0 1 auto; height: clamp(110px, calc(100svh - 700px), 230px); }
  .ticket__rows { padding: 6px 20px 0; }
  .ticket__row { padding: 7px 0; }
  .ticket__row dd { font-size: 1.05rem; }
  .ticket__perf { margin: 2px 0; }
  .ticket__lines { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 0 20px; }
  .ticket__lines li { padding: 3px 0; font-size: .9rem; }
  .ticket__total { padding: 10px 20px 2px; }
  .ticket__amount { font-size: 2.2rem !important; }
  .ticket__due { padding: 4px 20px 14px; }
  .booker__help { flex: none; margin-top: 10px; font-size: .88rem; }
}

/* Calendar stretches to fill the step; other steps keep natural height */
@media (min-width: 1000px) {
  .booker.is-wizard .step[data-step="1"].is-current { display: flex; flex-direction: column; min-height: 100%; }
  .step[data-step="1"] .cal { flex: 1 1 auto; min-height: 0; grid-template-rows: auto auto minmax(0, 1fr) auto; }
  .step[data-step="1"] .notice, .step[data-step="1"] .step__title, .step[data-step="1"] .step__hint { flex: none; }
  .cal__viewport { min-height: 0; height: 100%; }
  .cal__grid { height: 100%; grid-auto-rows: minmax(38px, 1fr); }
  .day { height: auto; max-height: 96px; }
}

/* Shorter desktop screens: tighter charter tiles, extras and payment */
@media (min-width: 1000px) and (max-height: 1000px) {
  .step__hint { margin-bottom: 8px; font-size: .92rem; }
  .option { grid-template-columns: 60px minmax(0, 1fr) auto; gap: 12px; padding: 8px 10px; }
  .option__copy { display: none; }
  .option__title { font-size: 1.05rem; line-height: 1.2; }
  .option__price strong { font-size: 1.15rem; }
  .option__tick { width: 20px; height: 20px; bottom: 8px; right: 10px; }
  .option__tick svg { width: 12px; height: 12px; }
  .departures { margin-top: 10px; }
  .chip span { padding: 7px 14px; font-size: .92rem; }
  .extra, .bottle { padding: 8px 14px; }
  .field--area .field__input { min-height: 56px; }
  .field--area .field__label { font-size: 1.1rem; }
  .field__help { display: none; }
  .plan { padding: 10px 14px; }
  .plan__amount { font-size: 1.25rem; }
  .stripe { padding: 10px 14px; }
  .stripe__secure { display: none; }
  .booker__nav { margin-top: 10px; padding-top: 10px; }
}

@media (min-width: 1000px) and (max-height: 780px) {
  .booker__main { padding-top: 16px; padding-bottom: 14px; }
  .stepper { margin-bottom: 10px; padding-bottom: 8px; }
  .step__title { font-size: 1.7rem; }
  .step__hint { font-size: .86rem; margin-bottom: 6px; }
  .options { gap: 6px; }
  .option { grid-template-columns: 48px minmax(0, 1fr) auto; padding: 6px 10px; }
  .option__meta { font-size: .76rem; }
  .departures__title { font-size: 1.05rem; }
  .extras { gap: 6px; }
  .bottle__art { height: 40px; }
  .field--area .field__label { margin-bottom: 2px; }
  .field--area .field__input { min-height: 44px; }
  .fields { margin-bottom: 8px; }
  .field__input { min-height: 50px; padding-top: 20px; }
  .field__label { top: 14px; }
  .pay__title { font-size: 1.05rem; margin-bottom: 4px; }
  .plans { margin-bottom: 8px; }
  .plan__note { display: none; }
  .stripe__head { margin-bottom: 4px; }
  .stripe__row input { padding: 10px 12px; }
  .stripe { margin-bottom: 8px; }
  .booker__nav .btn--lg { min-height: 46px; }
}
@media (min-width: 1000px) and (max-height: 780px) {
  .field--area .field__label { font-size: .95rem; margin: 0; }
  .field--area .field__input { min-height: 40px; height: 40px; padding: 8px 12px; }
  .extra__note { font-size: .8rem; }
}

/* Fieldsets will not stretch as flex containers, so size the calendar from the known form height */
@media (min-width: 1000px) {
  .step[data-step="1"] .cal { min-height: calc(var(--fit-h) - 272px); }
  .step[data-step="1"]:has(.notice:not([hidden])) .cal { min-height: calc(var(--fit-h) - 356px); }
}
@media (min-width: 1000px) and (max-height: 780px) {
  .step[data-step="1"] .cal { min-height: calc(var(--fit-h) - 222px); }
  .step[data-step="1"]:has(.notice:not([hidden])) .cal { min-height: calc(var(--fit-h) - 290px); }
  .option__from { display: none; }
  .option__title { font-size: .98rem; }
}
@media (min-width: 1000px) and (max-width: 1400px) {
  .booker { grid-template-columns: minmax(0, 1fr) 350px; gap: 28px; }
}

/* Selection tick sits on the photo corner so it never collides with the price */
@media (min-width: 1000px) {
  .option__tick { top: 6px; left: 6px; right: auto; bottom: auto; margin: 0; width: 24px; height: 24px; background: rgba(255, 255, 255, .92); box-shadow: 0 2px 8px rgba(10, 42, 51, .3); }
  .option.is-on .option__tick { background: var(--ensign); }
}
@media (min-width: 1000px) and (max-height: 1000px) {
  .option__tick { width: 20px; height: 20px; top: 4px; left: 4px; }
}
/* Fade the month strip edges so hidden months read as scrollable */
.cal__strip { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 28px), transparent); padding-left: 12px; }
