/* /comment-reserver (spec 5.14): ivory hero, 880 px column, connected vertical stepper with real-data illustrations. */
@layer pages {

.w-cr-col { width: min(880px, 100% - var(--_gl) - var(--_gr)); }

/* Hero (solid header page: the layout's spacer already clears the header) */
.w-cr-hero { padding: 32px 0 8px; }
@media (min-width: 768px) { .w-cr-hero { padding: 16px 0 12px; } }
@media (min-width: 1024px) { .w-cr-hero { padding-top: 24px; } }
.w-cr-hero .w-crumbs { margin: 0 0 20px; }
.w-cr-hero__eyebrow { margin-bottom: 14px; }
.w-cr-hero__title { max-width: 16ch; }
.w-cr-hero__lead { margin-top: 16px; color: var(--w-slate); max-width: 52ch; }
/* no single word left alone on the last line of a paragraph */
.w-cr-hero__lead, .w-cr-col .w-callout__body, .w-cr-steps .w-steps-v__text, .w-cr-cta .w-cta-card__text { text-wrap: pretty; }

/* Main column */
.w-cr-main { padding: 28px 0 var(--w-section-y); }
@media (min-width: 768px) { .w-cr-main { padding-top: 32px; } }
.w-cr-info { margin-bottom: 32px; }
@media (min-width: 768px) { .w-cr-info { margin-bottom: 40px; } }

/* Stepper: the shared .w-steps-v (node + 2 px line + white card); a touch more air between steps */
.w-cr-steps { gap: 20px; }
.w-cr-steps .w-steps-v__item:not(:last-child)::before { bottom: -36px; }   /* reaches the next node (gap 20 + node top 16) */
@media (min-width: 768px) { .w-cr-steps .w-steps-v__item:not(:last-child)::before { bottom: -38px; } }
.w-cr-steps .w-steps-v__card { box-shadow: var(--w-sh-1); }
.w-cr-steps .w-steps-v__title { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.25rem); letter-spacing: -0.01em; }
.w-cr-steps .w-steps-v__text { max-width: 62ch; }
.w-cr-steps .w-steps-v__item:last-child .w-steps-v__node { background: var(--w-teal); color: var(--w-forest); }

/* Illustrations (static, aria-hidden unless they carry real info such as pickup times) */
.w-cr-illu { margin-top: 16px; }
.w-cr-illu__cap { margin-top: 8px; font-size: 12px; font-weight: 500; line-height: 1.4; color: var(--w-muted); }
.w-cr-dates { display: grid; gap: 8px; max-width: 540px; }
.w-cr-date {
  display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 60px; padding: 10px 14px;
  border: var(--w-border); border-radius: var(--w-r-md); background: var(--w-paper);
}
.w-cr-date.is-selected { padding: 9px 13px; border: 2px solid var(--w-forest); background: var(--w-teal-tint); }
.w-cr-date__radio { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--w-line-input); background: var(--w-white); }
.is-selected > .w-cr-date__radio { border-color: var(--w-forest); background: var(--w-forest); }
.is-selected > .w-cr-date__radio::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--w-teal); }
.w-cr-date__main { display: grid; min-width: 0; line-height: 1.3; }
.w-cr-date__main strong { font-size: 15px; font-weight: 800; }
.w-cr-date__main span { font-size: 13px; color: var(--w-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-cr-date__side { display: grid; justify-items: end; gap: 4px; }
.w-cr-date__side strong { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.w-cr-date__side .w-badge { min-height: 22px; padding: 0 8px; font-size: 11px; animation: none; }
/* phones: date and price on the first row, the trip name on its own full-width row below (the price column
   left it ~110 px and it was cut to "Weekend - Imso…") */
@media (max-width: 479px) {
  .w-cr-date { grid-template-areas: "r d p" ". t t"; row-gap: 2px; }
  .w-cr-date > .w-cr-date__radio { grid-area: r; }   /* scoped: the step 3 choice cards reuse the radio class */
  .w-cr-date__main { display: contents; }
  .w-cr-date__main strong { grid-area: d; }
  .w-cr-date__main span { grid-area: t; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .w-cr-date__side { grid-area: p; }
  .w-cr-date__side .w-badge { display: none; }
}

.w-cr-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.w-cr-chip { min-height: 32px; padding: 0 12px; border-radius: var(--w-r-pill); }
.w-cr-chip time { font-variant-numeric: tabular-nums; }
.w-cr-chip--wa > .w-icon { color: var(--w-forest); }

.w-cr-modes { display: grid; gap: 8px; max-width: 560px; }
@media (min-width: 600px) { .w-cr-modes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.w-cr-mode {
  display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; padding: 12px 14px;
  border: var(--w-border); border-radius: var(--w-r-md); background: var(--w-paper);
}
.w-cr-mode.is-selected { padding: 11px 13px; border: 2px solid var(--w-forest); background: var(--w-teal-tint); }
.w-cr-mode .w-cr-date__radio { margin-top: 1px; }
.w-cr-mode__title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; font-weight: 800; line-height: 1.35; }
.w-cr-mode__text { display: block; margin-top: 2px; font-size: 13px; line-height: 1.45; color: var(--w-muted); }

.w-cr-check { display: grid; gap: 8px; }
.w-cr-check li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 14px; line-height: 1.45; color: var(--w-slate); }
.w-cr-check li.w-cr-check__more { display: block; padding-left: 32px; font-size: 13px; font-weight: 600; color: var(--w-muted); }

/* Cancellation (ok callout) + closing CTA */
.w-cr-cancel { margin-top: 40px; }
.w-cr-cancel .w-callout__body a { margin-left: 2px; }
.w-cr-ext { width: 14px; height: 14px; margin-left: 2px; vertical-align: -1px; }
.w-cr-cta { margin-top: 24px; }
/* the 880 px column is too narrow for text | two buttons side by side: text on top, buttons in a row below */
@media (min-width: 768px) {
  .w-cr-cta { margin-top: 32px; grid-template-columns: minmax(0, 1fr); }
  .w-cr-cta .w-cta-card__actions { justify-content: flex-start; }
}
}
