/* ============================================================
   upgrades-v5 — Per-step layout blocks
   ------------------------------------------------------------
   Block prefixes:
     .os-     order details + billing (steps 1 & 2)
     .bill-   billing form specifics
     .offer-card  compact offer strip above the stepper
     .up- .tk-    upsell steps (extend stay, bonus, tix, resort)
     .dest-   destination gallery (bonus vacation)
     .tix-    ticket picker (tix step)
     .tp-     travel-protection popup
     .sec- .ty-   thank-you / secured
   ============================================================ */

/* ============================================================
   SHARED TWO-COLUMN STEP GRIDS
   ============================================================ */
.os-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 24px;
  align-items: stretch;
  width: 100%;
  max-width: var(--maxw);
}
.up-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 24px;
  align-items: stretch;
  width: 100%;
  max-width: var(--maxw);
}
.os-grid--wide { max-width: 1240px; }
@media (max-width: 900px) {
  .os-grid, .up-grid { grid-template-columns: 1fr; }
}
@media (min-width: 901px) {
  /* No align-self here: the summary card stretches to the row height so it
     matches the form card. (align-self:start collapses it to content height.) */
  .os-summary, .up-summary { position: sticky; top: 20px; }
}
/* Both columns share the row height; the summary card fills its stretched column. */
.up-summary { display: flex; flex-direction: column; }
.up-summary > .pf-card { flex: 1 1 auto; }

/* ============================================================
   OFFER CARD (compact offer strip — step 2 / billing)
   ============================================================ */
.offer-card {
  display: flex; align-items: stretch;
  width: 100%; max-width: var(--maxw); margin: 0 auto 20px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-card); overflow: hidden;
}
.offer-card__media { position: relative; flex: 0 0 190px; min-height: 130px; }
.offer-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.offer-card__pill {
  position: absolute; left: 10px; bottom: 10px;
  background: var(--coral); color: #fff;
  font-size: 13px; font-weight: 800; line-height: 1;
  padding: 7px 12px; border-radius: var(--radius-pill); white-space: nowrap;
}
.offer-card__content { flex: 1 1 auto; min-width: 0; padding: 14px 20px; display: flex; align-items: center; gap: 20px; }
.offer-card__info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.offer-card__title { font-size: 19px; font-weight: 800; color: var(--ink); line-height: 1.2; }
.offer-card__pricecol {
  flex: 0 0 auto; align-self: stretch;
  display: flex; flex-direction: column; justify-content: center; text-align: right;
  border-left: 1px solid var(--line); padding-left: 20px;
}
.offer-card__dealrow { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.offer-card__deal { background: rgba(233, 101, 74, .12); color: var(--coral); font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: var(--radius-pill); }
.offer-card__now { font-size: 26px; font-weight: 900; color: var(--ink); line-height: 1; }
.offer-card__sub { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-top: 4px; white-space: nowrap; }
.offer-card__sub s { color: var(--muted); }
.offer-card__subtitle { font-size: 13px; color: var(--muted); line-height: 1.35; }
.offer-card__rating { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text); flex-wrap: wrap; }
.offer-card__rating img { height: 16px; width: auto; display: block; }
.offer-card__amens { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; font-weight: 600; color: var(--text); }
.offer-card__amens span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.offer-card__amens .pf-i { width: 16px; height: 16px; color: var(--navy); flex: 0 0 auto; }
/* Optional pieces (partials/offer-card.php): kicker / note lines, and the
   "ribbon" discount tab — a half-moon on the photo's left edge. */
.offer-card__kicker { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--coral); }
.offer-card__note { font-size: 14px; color: var(--muted); line-height: 1.5; margin: 0; }
.offer-card__pill--ribbon {
  left: 0; bottom: 16px; z-index: 2; padding: 8px 16px 8px 12px; border-radius: 0 999px 999px 0;
  font-size: 15px; font-weight: 700; text-align: center; text-transform: uppercase; white-space: normal;
}
@media (max-width: 600px) {
  .offer-card__media { flex-basis: 94px; min-height: 96px; }
  .offer-card__pill { left: 6px; bottom: 6px; font-size: 10px; padding: 5px 8px; }
  .offer-card__content { padding: 8px 10px; gap: 4px; flex-direction: column; align-items: stretch; }
  .offer-card__info { gap: 4px; }
  .offer-card__title { font-size: 14px; }
  .offer-card__pricecol {
    align-self: auto; flex-direction: row-reverse; align-items: center; justify-content: space-between;
    gap: 8px; border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 4px; margin-top: 1px;
  }
  .offer-card__now { font-size: 18px; }
  .offer-card__sub { font-size: 10px; margin-top: 0; }
  .offer-card__deal { display: none; }
  .offer-card__rating { font-size: 11px; gap: 6px; }
  .offer-card__rating img { height: 12px; }
  .offer-card__amens { gap: 3px 10px; font-size: 10px; }
  .offer-card__amens .pf-i { width: 12px; height: 12px; }
}
/* steps.common.offerCard.mobileLayout "stacked": on phones the photo goes full
   width on top and the card keeps its desktop type sizes. */
@media (max-width: 600px) {
  .offer-card--stacked { flex-direction: column; }
  .offer-card--stacked .offer-card__media { flex: none; min-height: 0; aspect-ratio: 16 / 9; }
  .offer-card--stacked .offer-card__pill--ribbon { left: 0; bottom: 16px; font-size: 15px; padding: 8px 16px 8px 12px; }
  .offer-card--stacked .offer-card__content { padding: 16px; gap: 16px; }
  .offer-card--stacked .offer-card__info { gap: 8px; }
  .offer-card--stacked .offer-card__title { font-size: 20px; }
  .offer-card--stacked .offer-card__rating { font-size: 14px; }
  .offer-card--stacked .offer-card__amens { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 13px; }
  .offer-card--stacked .offer-card__amens .pf-i { width: 16px; height: 16px; }
  .offer-card--stacked .offer-card__pricecol { flex-direction: row; justify-content: space-between; padding-top: 16px; margin-top: 0; }
  .offer-card--stacked .offer-card__now { font-size: 28px; }
  .offer-card--stacked .offer-card__sub { font-size: 12px; white-space: normal; text-align: right; }
}

/* ============================================================
   STEP 1 — ORDER DETAILS
   ============================================================ */
.os-section + .os-section { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.os-form-grid { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }

/* Boxed fields with the label doubling as the placeholder. */
.os-form-grid .pf-field {
  position: relative;
  border: 1px solid var(--field-border); border-radius: var(--radius-sm);
  background: var(--white); padding: 11px 14px; min-height: 56px;
  transition: border-color .15s, box-shadow .15s;
}
.os-form-grid .pf-field:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(33, 82, 114, .12); }
.os-form-grid .pf-field.is-invalid { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(233, 101, 74, .14); margin-bottom: 16px; }
.os-form-grid .pf-field > label { font-size: 15px; font-weight: 600; color: var(--ink); margin: 0; line-height: 1.3; pointer-events: none; }
.os-form-grid .pf-field > label .pf-hint { display: block; font-weight: 400; font-size: 12px; color: var(--muted); margin-top: 1px; }
.os-form-grid .pf-field:focus-within > label,
.os-form-grid .pf-field.is-filled > label {
  font-size: 11px; font-weight: 700; letter-spacing: .02em; color: var(--muted);
}
.os-form-grid .pf-field:focus-within > label { color: var(--navy); }
.os-form-grid .pf-field:focus-within > label .pf-hint,
.os-form-grid .pf-field.is-filled > label .pf-hint { display: none; }
.os-form-grid .pf-input,
.os-form-grid .pf-select {
  position: absolute; inset: 0;
  border: none; background: transparent; border-radius: inherit;
  padding: 11px 14px; font-size: 16px; color: var(--text);
}
.os-form-grid .pf-field:focus-within .pf-input,
.os-form-grid .pf-field.is-filled .pf-input,
.os-form-grid .pf-field:focus-within .pf-select,
.os-form-grid .pf-field.is-filled .pf-select { padding-top: 26px; padding-bottom: 6px; }

/* Value-driven float state.
   Each input carries placeholder=" ", so :placeholder-shown is true exactly
   while it is empty — regardless of whether the user typed the value or the
   engine wrote it in later. This is what actually keeps the label from being
   overlapped by prefilled data; .is-filled above is only a fallback.
   Selects always count as filled (they always have a value). */
.os-form-grid .pf-field:has(.pf-input:not(:placeholder-shown)) > label,
.os-form-grid .pf-field:has(.pf-select) > label {
  font-size: 11px; font-weight: 700; letter-spacing: .02em; color: var(--muted);
}
.os-form-grid .pf-field:has(.pf-input:not(:placeholder-shown)) > label .pf-hint,
.os-form-grid .pf-field:has(.pf-select) > label .pf-hint { display: none; }
.os-form-grid .pf-field:has(.pf-input:not(:placeholder-shown)) .pf-input,
.os-form-grid .pf-field:has(.pf-select) .pf-select { padding-top: 26px; padding-bottom: 6px; }
.os-form-grid .pf-input:focus,
.os-form-grid .pf-input.is-invalid,
.os-form-grid .pf-select:focus,
.os-form-grid .pf-select.is-invalid { border: none; box-shadow: none; }
.os-form-grid .pf-field__error { position: absolute; left: 14px; top: 100%; margin-top: 3px; }

/* Two equal columns so Check-In / Check-Out values stay on one baseline.
   Cells stretch to equal height and their content is bottom-justified, so a
   label that wraps (CMS copy) grows upward instead of pushing its date down —
   no reserved label height needed. */
.os-checkinout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
  align-items: stretch;
}
.os-checkinout .os-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  text-align: center;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-sizing: border-box;
}
.os-checkinout .lbl {
  width: 100%;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
}
.os-checkinout .val {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 4px;
  min-height: 1.3em;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
  white-space: nowrap;
}
.os-hurry { text-align: center; font-weight: 700; color: var(--ink); margin: 20px 0 4px; }
.os-note { font-size: 12px; color: var(--muted); margin: 10px 0 0; }
.os-consents { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }

/* The engine's calendar toggle is a real checkbox (integration JS binds to it);
   we hide the input and drive the pill purely from :checked. */
.os-switch { position: relative; flex: 0 0 auto; width: 64px; height: 26px; }
.os-switch input {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; margin: 0; cursor: pointer; z-index: 2;
}
.os-switch__ui {
  position: absolute; inset: 0;
  border-radius: 20px; background: #999; transition: background .2s ease;
}
/* Labels come from data-on / data-off so the CMS can localise them. */
.os-switch__ui::before {
  content: attr(data-off);
  position: absolute; top: 50%; right: 11px; transform: translateY(-50%);
  font-size: 12px; font-weight: 700; color: #fff; line-height: 1;
}
.os-switch__ui::after {
  content: "";
  position: absolute; top: 3px; left: 3px; width: 20px; height: 20px;
  border-radius: 50%; background: #fff; transition: left .2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}
.os-switch input:checked + .os-switch__ui { background: var(--coral); }
.os-switch input:checked + .os-switch__ui::before { content: attr(data-on); right: auto; left: 11px; }
.os-switch input:checked + .os-switch__ui::after { left: 41px; }

@media (max-width: 767px) {
  .os-section + .os-section { margin-top: 18px; padding-top: 18px; }
  .os-form-grid { gap: 10px; margin-top: 12px; }
  .os-form-grid .pf-field { min-height: 52px; padding: 9px 12px; }
  .os-consents { gap: 12px; }
  .os-checkinout { margin-top: 12px; gap: 8px; }
  .os-checkinout .os-cell { padding: 10px 8px; }
  /* Keep “MMM Do” on one line so neither cell grows taller than the other. */
  .os-checkinout .val { font-size: 16px; min-height: 1.35em; }
  .os-hurry { margin: 14px 0 4px; }
}

/* "Where to?" destination pills (multi-destination offers, step2.php).
   Same approach as the extra-nights picker: the native radio stays in the DOM
   (keyboard + a11y) but out of sight, and the <label> pill is the hit area.
   Columns: destination.columns sets --os-dest-cols inline, which beats both
   defaults below at every width. */
.os-dest-group { margin: 0; border: 0; padding: 0; min-width: 0; }
.os-dest-group legend { margin-bottom: 12px; }
.os-dest-group legend .pf-title { margin: 0; }
.os-opt { font-size: 14px; font-weight: 500; color: var(--muted); }
.os-dest-sub { margin: -4px 0 16px; font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.5; }
.os-dest { --os-dest-cols: 3; display: grid; grid-template-columns: repeat(var(--os-dest-cols), minmax(0, 1fr)); gap: 8px; }
.os-pill {
  position: relative; display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 52px; margin: 0;
  padding: 4px 12px 4px 4px; border: 2px solid var(--field-border); border-radius: var(--radius-pill);
  background: var(--white); color: var(--ink); font-weight: 700; font-size: 15px; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.os-pill input {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.os-pill__img, .os-pill__q { flex: none; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: var(--navy); }
.os-pill__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.os-pill__q { display: grid; place-items: center; background: var(--bg); color: var(--ink); font-weight: 900; font-size: 18px; font-style: normal; }
/* long names ("Shenandoah Crossing") wrap inside the pill instead of being cut off */
.os-pill__txt { min-width: 0; line-height: 1.15; }
.os-pill--help { border-style: dashed; }
.os-pill:has(input:checked) { background: var(--navy); border-color: var(--navy); border-style: solid; color: var(--white); }
.os-pill:has(input:checked) .os-pill__q { background: var(--white); }
.os-pill:has(input:focus-visible) { outline: 2px solid var(--coral); outline-offset: 2px; }
@media (hover: hover) { .os-pill:hover { border-color: var(--navy); } }
/* destination.required: common.js's validator toggles these */
.os-dest.is-invalid .os-pill { border-color: var(--coral); }
.os-dest-err { margin: 8px 0 0; }
.os-dest-note { margin: 12px 0 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.os-dest-note:empty { display: none; }
.os-dest-note strong { color: var(--ink); }
@media (max-width: 1080px) { .os-dest { --os-dest-cols: 2; } }
@media (max-width: 767px) { .os-pill { padding-right: 8px; font-size: 14px; } }

/* No-pick state of the summary / offer-card photo for the field above
   (partials/dest-mosaic.php). step2.php's script swaps it for the pick's photo. */
/* 16:9 like the multi-destination designs, so the photo grows with the column on tablets. */
.os-dest-mosaic, .pf-summary__img--wide { height: auto; aspect-ratio: 16 / 9; }
.os-dest-mosaic {
  position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px;
  border-radius: var(--radius-sm); overflow: hidden; background: var(--white);
}
.os-dest-mosaic[hidden] { display: none; }
.os-dest-mosaic img { width: 100%; height: 100%; min-width: 0; object-fit: cover; display: block; }
.os-dest-mosaic img:first-child { grid-row: 1 / span 2; }
.os-dest-mosaic__label {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
  padding: 7px 14px; border-radius: var(--radius-pill); background: var(--navy-deep); color: var(--white);
  font-size: 12px; font-weight: 800; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}
/* In the offer card it fills the photo slot (whose img rule is absolute), and
   the badge would sit under the discount pill. */
.offer-card__media .os-dest-mosaic { position: absolute; inset: 0; height: auto; aspect-ratio: auto; border-radius: 0; }
.offer-card__media .os-dest-mosaic img { position: static; }
.offer-card__media .os-dest-mosaic__label { display: none; }
.os-dest-summary-note { margin: 4px 0 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
@media (max-width: 767px) {
  .os-review-head .os-dest-mosaic { width: 104px; height: 80px; flex: 0 0 auto; }
  .os-dest-mosaic__label { display: none; }
}

/* Preferred check-in / check-out rows in the billing summary. */
.os-line { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); padding: 0; }
.os-line strong { color: var(--ink); }
.os-line .pf-i { width: 16px; height: 16px; flex: none; color: var(--coral); }

/* ============================================================
   STEP 2 — BILLING
   ============================================================ */
.bill-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 4px 0 14px; }
.bill-wallets { display: flex; flex-direction: column; gap: 12px; }
.bill-or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; margin: 24px 0; }
.bill-or::before, .bill-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.bill-fields { display: flex; flex-direction: column; gap: 12px; }
.bill-fineprint { font-size: 11px; color: var(--muted); line-height: 1.5; margin: 6px 0 18px; }
.bill-fineprint a { color: var(--navy); text-decoration: underline; }
.bill-safe { text-align: center; margin-top: 18px; }
.bill-safe__title { font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.bill-safe__icons { display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; }
.bill-safe__badge { height: 28px; width: auto; display: block; }
.bill-safe__badge--icon { height: 24px; }
.bill-safe__note { font-size: 11px; color: var(--muted); margin-top: 10px; }
.bill-tc { padding: 16px 0 18px; }

/* Google Places suggestions under the billing address.
   .pf-ac is created by js/address-autocomplete.js around #billing_address —
   it wraps ONLY the input, so .pf-field keeps its direct-child <label> and
   .pf-field__error, and .pf-row / .os-form-grid selectors are untouched.
   Positioning is relative to the input rather than to .pf-field so the list
   lands under the field whether or not the label is visually hidden. */
.pf-ac { position: relative; }
.pf-ac__list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 30;                 /* over the following .pf-row of city/state/zip */
  margin: 0;
  padding: 4px 0;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--field-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 28px rgba(16, 24, 40, .14);
  max-height: 280px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.pf-ac__item {
  padding: 9px 14px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.35;
}
.pf-ac__item.is-active,
.pf-ac__item:hover { background: var(--bg); }
.pf-ac__main { font-size: 15px; color: var(--ink); font-weight: 600; }
.pf-ac__sub { font-size: 12px; color: var(--muted); }

@media (max-width: 767px) {
  .pf-ac__list { max-height: 220px; }
  .pf-ac__item { padding: 10px 12px; }
}

/* Booking-details list in the billing sidebar (ids filled by integration_step3.js) */
.bill-details { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.bill-details li { display: flex; justify-content: space-between; gap: 12px; }
.bill-details li strong { color: var(--muted); font-weight: 600; }
.bill-details li span { color: var(--ink); font-weight: 700; text-align: right; min-width: 0; word-break: break-word; }

/* Price-details table (price-table.php) */
.pricingDetailsTable { margin: 16px 0; }
.pricingDetailsTable h4 { font-size: 15px; font-weight: 800; color: var(--ink); margin: 0 0 8px; }
.pricingDetailsTable table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pricingDetailsTable td { padding: 5px 0; color: var(--text); }
.pricingDetailsTable td:last-child { text-align: right; font-weight: 600; color: var(--ink); }
.pricingDetailsTable .table-total { border-top: 1px solid var(--line); padding-top: 9px; font-weight: 800; color: var(--ink); }

@media (max-width: 767px) {
  .bill-wallets { gap: 10px; }
  .bill-or { margin: 18px 0; }
  .bill-fields { gap: 10px; }
  .bill-fineprint { margin: 6px 0 14px; }
  .bill-safe { margin-top: 14px; }
  .bill-safe__icons { gap: 12px; }
}

/* ============================================================
   UPSELL STEPS — shared offer module + summary
   ============================================================ */
.tk-headline { font-size: 30px; font-weight: 800; color: var(--ink); margin: 0 0 20px; line-height: 1.1; }
.tk-lead { font-size: 22px; font-weight: 700; color: var(--ink); margin: 0 0 10px; }
.tk-desc { font-size: 15px; line-height: 1.6; color: var(--text); margin: 0 0 24px; }
.tk-desc strong { color: var(--coral); }
.tk-save { font-size: 20px; font-weight: 800; color: var(--ink); margin: 0 0 16px; }

.tk-card { display: flex; gap: 24px; background: var(--bg); border-radius: 20px; padding: 20px; align-items: center; }
@media (max-width: 620px) { .tk-card { flex-direction: column; } }
.tk-card__img { flex: 1 1 0; min-width: 0; align-self: stretch; }
.tk-card__img img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; border-radius: 12px; }
.tk-card__body { flex: 1 1 0; min-width: 0; }
/* extend-your-stay mainCard.images[]: 2x2 collage across the card, copy below;
   one swipeable row on phones. */
.tk-card--collage { flex-direction: column; align-items: stretch; }
.tk-collage { flex: none; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 190px; gap: 10px; }
.tk-collage img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 12px; display: block; }
@media (max-width: 620px) {
  .tk-collage { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -14px; padding: 0 14px; scroll-padding-inline: 14px; }
  .tk-collage::-webkit-scrollbar { display: none; }
  .tk-collage img { flex: 0 0 86%; height: 220px; scroll-snap-align: start; }
}
.tk-card__name { font-size: 28px; font-weight: 800; color: var(--ink); margin: 0 0 6px; }
.tk-card__tag { font-size: 16px; font-weight: 700; color: var(--ink); margin: 0 0 10px; }
.tk-card__copy { font-size: 13px; color: var(--muted); line-height: 1.4; margin: 0; }
.tk-card__copy strong { color: var(--coral); }

/* Extend-your-stay extra-nights picker (partials/extend-stay-field.php) —
   rendered only when the step's product sets maxQuantity > 1, so no existing
   offer sees any of this. Class names are the DOM contract
   integration_extend_your_stay.js binds to; don't rename them here alone.
   The native radio stays in the DOM (keyboard + a11y) but out of sight — the
   whole pill is the hit area, since <label> wraps the input. */
.main-card--nights-field { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 20px; }
.main-card--nights-field__option {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--bg); border: 2px solid transparent; border-radius: 12px;
  padding: 16px 20px; margin: 0; cursor: pointer; position: relative;
  transition: border-color .15s, background-color .15s;
}
.main-card--nights-field__option:hover { border-color: var(--line); }
.main-card--nights-field__option.is-selected { background: rgba(233, 101, 74, .08); border-color: var(--coral); }
.main-card--nights-field__option input[type=radio] {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* Keyboard users get the ring the hidden input can no longer show. */
.main-card--nights-field__option:focus-within { outline: 2px solid var(--navy); outline-offset: 2px; }
.main-card--nights-field__label { font-size: 16px; font-weight: 700; color: var(--ink); min-width: 0; }
.main-card--nights-field__price { font-size: 16px; font-weight: 700; color: var(--ink); flex: 0 0 auto; }

.up-list { margin: 16px 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.up-list .row { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.up-list .k { display: inline-flex; align-items: center; gap: 7px; color: var(--text); }
.up-list .k .pf-i { width: 18px; height: 18px; }
.up-list .v { font-weight: 600; color: var(--ink); text-align: right; }
.up-upgrades-title { font-weight: 800; color: var(--ink); margin: 14px 0 8px; }
.up-total { display: flex; justify-content: space-between; font-size: 20px; font-weight: 900; color: var(--ink); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 6px; }

/* Package-summary bullet list built by integration_master.js renderBaseProduct() */
.summary-accordion--collapse--item {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; padding: 0;
}
.summary-accordion--collapse--item img,
.summary-accordion--collapse--item .pf-inline-icon { width: 18px; height: 18px; flex: 0 0 auto; }
/* js/flow.js swaps engine-appended img/icon-*.svg for the SVG itself so these
   glyphs (fill="currentColor") pick up the theme like the lucide ones. */
/* Safety net: an inlined icon must never be able to expand to its intrinsic
   size if no context rule sizes it. Overridden by the context rules below. */
.pf-inline-icon { color: var(--coral); width: 18px; height: 18px; flex: 0 0 auto; }
.pf-cart .pf-inline-icon,
.summary-card--travel-perks-item--label-container .pf-inline-icon { width: 18px; height: 18px; flex: 0 0 auto; }
/* Coral, matching the design. The engine's renderBaseProduct() appends its own
   rows here with <img src="img/icon-<slug>.svg">, and those files are baked
   #0D0D0D — so that one appended row stays dark. Recolour the SVGs in this
   flow's img/ if that bothers you; they are local to upgrades-v5. */
.summary-accordion--collapse--item .pf-i { width: 18px; height: 18px; flex: 0 0 auto; color: var(--coral); }
.summary-accordion--collapse--item--label { color: var(--text); flex: 1 1 auto; min-width: 0; white-space: nowrap; }
.summary-accordion--collapse--item--value { font-weight: 700; color: var(--ink); text-align: right; }
/* Set by js/flow.js on rows the engine never filled. */
.summary-accordion--collapse--item.pf-row-empty { display: none; }
.includes-bonus-container { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.includes-bonus-container h4 { font-size: 15px; font-weight: 800; color: var(--ink); margin: 0 0 6px; }

@media (max-width: 767px) {
  .tk-headline { font-size: 22px; margin: 0 0 12px; }
  .tk-lead { font-size: 17px; margin: 0 0 8px; }
  .tk-desc { font-size: 14px; margin: 0 0 14px; }
  .tk-save { font-size: 17px; margin: 0 0 12px; }
  .tk-card { gap: 14px; padding: 14px; border-radius: 16px; }
  .tk-card__img img { min-height: 140px; }
  .tk-card__name { font-size: 22px; }
  .tk-card__tag { font-size: 15px; margin: 0 0 8px; }
  .main-card--nights-field { grid-template-columns: 1fr; gap: 10px; margin: 0 0 14px; }
  .main-card--nights-field__option { padding: 14px 16px; }
  .main-card--nights-field__label, .main-card--nights-field__price { font-size: 15px; }
  .up-list { margin: 12px 0; }
  .up-total { font-size: 18px; padding-top: 10px; }
}

/* ============================================================
   BONUS VACATION — destination gallery
   ============================================================ */
.dest-intro { font-size: 15px; line-height: 1.6; color: var(--text); margin: 0 0 24px; }
.dest-intro strong { color: var(--ink); }
.dest-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dest-tile { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; }
.dest-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dest-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0) 55%, rgba(0,0,0,0.8)); }
.dest-tile__label {
  position: absolute; left: 0; right: 0; bottom: 14px; z-index: 1;
  text-align: center; color: #fff; font-weight: 800; font-size: 18px;
  letter-spacing: .03em; text-transform: uppercase; padding: 0 8px;
}
@media (max-width: 480px) { .dest-tile__label { font-size: 14px; bottom: 10px; } }

/* gridLayout "cards" (partials/dest-gallery.php) — each item is a bordered
   card: photo with the name overlaid, benefit line beneath. Everything is
   scoped to .dest-gallery--cards / .dest-card so the "labeled" and "2x2"
   tiles above render exactly as before. */
.dest-gallery--cards { margin: 0; padding: 0; list-style: none; }
.dest-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.dest-gallery--cards .dest-tile { aspect-ratio: 16 / 9; border-radius: 0; }
.dest-gallery--cards .dest-tile::after { background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,0.8)); }
.dest-gallery--cards .dest-tile__label { bottom: 12px; }
.dest-desc { margin: 0; padding: 12px 14px 14px; font-size: 14px; line-height: 1.45; color: var(--text); }
.dest-desc strong { display: block; color: var(--ink); font-weight: 800; margin-bottom: 2px; }
@media (max-width: 767px) {
  .dest-gallery--cards { gap: 10px; }
  .dest-gallery--cards .dest-tile__label { font-size: 14px; bottom: 10px; }
  .dest-desc { font-size: 13px; padding: 10px 12px 12px; }
}
/* Phones: one card per row, photo beside its benefit line so the copy isn't
   squeezed into a narrow column. */
@media (max-width: 560px) {
  .dest-gallery--cards { grid-template-columns: 1fr; }
  .dest-card { flex-direction: row; }
  .dest-gallery--cards .dest-tile { aspect-ratio: auto; flex: 0 0 38%; min-height: 104px; }
  .dest-gallery--cards .dest-tile__label { font-size: 13px; bottom: 8px; }
  .dest-desc { align-self: center; }
}

/* ============================================================
   TIX — ticket picker
   Class contract is fixed by integration_tix.js + tix-field.php.
   ============================================================ */
.main-card--extra-field { display: flex; flex-direction: column; gap: 18px; margin-top: 20px; }
.main-card--extra-field__title { font-size: 20px; font-weight: 800; color: var(--ink); margin: 0; }

.main-card--extra-field__wrapper {
  display: flex; gap: 20px; align-items: stretch;
  background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 16px;
}
@media (max-width: 620px) { .main-card--extra-field__wrapper { flex-direction: column; } }
.main-card--extra-field__img-container { flex: 0 0 220px; min-height: 150px; position: relative; border-radius: 12px; overflow: hidden; }
.main-card--extra-field__img-container img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 620px) { .main-card--extra-field__img-container { flex: 0 0 auto; height: 170px; } }
.main-card--extra-field__container { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.main-card--extra-field__field-title { font-size: 20px; font-weight: 800; color: var(--ink); margin: 0; }
.main-card--extra-field__field-subtitle { font-size: 14px; font-weight: 700; color: var(--coral); }
.main-card--extra-field__field-content { font-size: 13px; line-height: 1.5; color: var(--muted); margin: 0 0 6px; }

.main-card--extra-field__field-extra-container { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.main-card--extra-field__field-wrapper { display: flex; gap: 12px; flex-wrap: wrap; }
.main-card--extra-field__field-container { display: flex; flex-direction: column; gap: 5px; }
.main-card--extra-field__field-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.main-card--extra-field__field-input { display: inline-flex; align-items: center; gap: 12px; }
.main-card--extra-field__field-btn {
  width: 28px; height: 28px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  border: none; border-radius: 50%; background: var(--navy); color: #fff; cursor: pointer;
  padding: 0;
}
.main-card--extra-field__field-btn:hover { background: var(--navy-deep); }
.main-card--extra-field__field-input .tix-count { min-width: 20px; text-align: center; font-weight: 800; font-size: 16px; color: var(--ink); }

.main-card--extra-field__field-extra-container .primary-btn { width: 100%; }
.remove-button-container {
  width: 100%; position: relative;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 24px;
  background: var(--navy-deep); border: none; border-radius: var(--radius-pill);
  cursor: pointer;
}
.remove-button-container:hover { background: #000; }
.remove-button-container svg { position: absolute; left: 24px; width: 20px; height: 20px; }
.remove-button-text {
  margin: 0; color: #fff; font-size: 16px; font-weight: 700;
  text-transform: uppercase; line-height: 1;
}

/* Button/toggle input type */
.main-card--extra-field__button-field-container { margin-top: auto; }
.main-card--extra-field__remove-tickets-container { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.main-card--extra-field__added-tickets-container {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--success); font-weight: 800; font-size: 13px; letter-spacing: .04em;
}
.main-card--extra-field__remove-tickets-btn {
  background: none; border: none; color: var(--muted); font-weight: 800;
  font-size: 13px; text-decoration: underline; cursor: pointer;
}
.main-card--extra-field__remove-tickets-btn:hover { color: var(--coral); }

/* ============================================================
   UPGRADE TO RESORT — accordion of room options
   Class contract is fixed by upgrade-to-resort-field.php.
   ============================================================ */
.main-card--accordion-field { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.main-card--accordion-field__item {
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--white);
}
.main-card--accordion-field__header { padding: 0; }
.main-card--accordion-field__button {
  width: 100%; display: flex; align-items: center; gap: 16px;
  padding: 16px; background: var(--white); border: none; cursor: pointer; text-align: left;
}
.main-card--accordion-field__header-container { display: flex; align-items: center; gap: 16px; flex: 1 1 auto; min-width: 0; }
.main-card--accordion-field__thumbnail { width: 96px; height: 72px; flex: 0 0 auto; border-radius: 8px; object-fit: cover; }
.main-card--accordion-field__title-container { flex: 1 1 auto; min-width: 0; }
.main-card--accordion-field__title { margin: 0; font-size: 18px; font-weight: 800; color: var(--ink); }
.main-card--accordion-field__features { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 5px; font-size: 13px; color: var(--muted); }
.main-card--accordion-field__feature-item { display: inline-flex; align-items: center; gap: 6px; }
.main-card--accordion-field__feature-item--icon { width: 18px; height: 18px; }
.main-card--accordion-field__chevron-container img { width: 16px; transition: transform .3s ease; }
.main-card--accordion-field__button.collapsed .main-card--accordion-field__chevron-container img { transform: rotate(180deg); }
.main-card--accordion-field__collapse-body { padding: 20px; background: var(--bg); border-top: 1px solid var(--line); }
.main-card--accordion-field__collapse-body p { margin: 0 0 14px; line-height: 1.6; font-size: 14px; color: var(--text); }
.main-card--accordion-field__carousel {
  width: 100%; max-width: 580px; margin: 0 auto 16px;
  border-radius: 12px; background: #f0f1f3; overflow: hidden;
}
.main-card--accordion-field__carousel-image-item img { width: 100%; height: 320px; object-fit: cover; display: block; }
/* No carousel library in this flow — show a scroll-snap strip instead. */
.main-card--accordion-field__carousel {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px;
  -webkit-overflow-scrolling: touch;
}
.main-card--accordion-field__carousel .item,
.main-card--accordion-field__carousel-image-item { flex: 0 0 100%; scroll-snap-align: center; }
@media (max-width: 620px) {
  .main-card--accordion-field__thumbnail { width: 68px; height: 54px; }
  .main-card--accordion-field__title { font-size: 15px; }
  .main-card--accordion-field__carousel-image-item img { height: 210px; }
}

/* ============================================================
   TRAVEL-PROTECTION POPUP
   ============================================================ */
.tp-card {
  max-width: 720px; padding: 0; gap: 0;
  display: flex; flex-direction: column; align-items: stretch; text-align: left; overflow: hidden;
}
.tp-banner {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--navy); color: #fff;
  font-size: 16px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  padding: 12px 16px;
}
.tp-banner .pf-i { width: 20px; height: 20px; color: #fff; }
.tp-body { padding: 32px 40px; display: flex; flex-direction: column; gap: 22px; }
.tp-head { display: flex; gap: 16px; align-items: flex-start; }
.tp-icon { width: 44px; height: 44px; color: var(--navy); flex: 0 0 auto; }
.tp-title { font-size: 24px; font-weight: 800; color: var(--ink); margin: 0; line-height: 1.2; }
.tp-sub { font-size: 16px; line-height: 1.5; color: var(--text); margin: 0; }
.tp-sub strong { color: var(--ink); }
.tp-choose { font-size: 18px; font-weight: 800; color: var(--ink); }
.tp-opt { border-radius: 12px; padding: 20px; cursor: pointer; border: 2px solid transparent; transition: border-color .15s; }
.tp-opt--yes { background: #e5f5ff; }
.tp-opt--no { background: #f7f7f7; }
.tp-opt.is-selected { border-color: var(--navy); }
.tp-opt__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tp-opt__lead { display: flex; align-items: center; gap: 10px; }
.tp-opt__label { font-size: 16px; font-weight: 600; color: var(--ink); }
.tp-opt input[type=radio] { width: 20px; height: 20px; accent-color: var(--navy); flex: 0 0 auto; margin: 0; cursor: pointer; }
.tp-price { background: rgba(0, 0, 0, .08); border-radius: 6px; padding: 6px 10px; text-align: center; line-height: 1.15; flex: 0 0 auto; }
.tp-price strong { display: block; font-size: 16px; color: var(--ink); }
.tp-price span { font-size: 12px; color: var(--text); }
.tp-reasons { padding-left: 30px; margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.tp-reasons__title { font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); margin: 0; }
.tp-reason { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: #333; }
.tp-reason .pf-i { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 1px; color: #555; }
.tp-reason p { margin: 0; line-height: 1.35; }
.tp-reason strong { color: #1a1a1a; }
.tp-reason a { color: var(--navy); text-decoration: underline; }
.tp-continue { align-self: flex-start; width: auto; padding-left: 44px; padding-right: 44px; }
.tp-continue:disabled { background: #b2b2b2; cursor: not-allowed; box-shadow: none; }
@media (max-width: 560px) {
  .tp-opt__top { flex-direction: column; align-items: stretch; gap: 8px; }
  .tp-price { display: flex; align-items: baseline; gap: 6px; width: 100%; background: transparent; padding: 0; text-align: left; }
  .tp-price strong { display: inline; }
  .tp-continue { align-self: stretch; }
}
@media (max-width: 767px) {
  .tp-banner { font-size: 14px; letter-spacing: .04em; padding: 10px 14px; }
  .tp-banner .pf-i { width: 17px; height: 17px; }
  .tp-body { padding: 20px 16px; gap: 14px; }
  .tp-head { gap: 12px; }
  .tp-icon { width: 30px; height: 30px; }
  .tp-title { font-size: 18px; line-height: 1.25; }
  .tp-sub { font-size: 13.5px; line-height: 1.4; }
  .tp-choose { font-size: 15px; }
  .tp-opt { padding: 14px; border-radius: 10px; }
  .tp-opt__label { font-size: 14px; }
  .tp-price strong { font-size: 14px; }
  .tp-price span { font-size: 11px; }
  .tp-reasons { padding-left: 4px; margin-top: 12px; gap: 8px; }
  .tp-reasons__title { font-size: 12px; }
  .tp-reason { font-size: 12.5px; }
  .tp-reason .pf-i { width: 16px; height: 16px; }
}
@media (max-height: 700px) {
  .tp-banner { font-size: 12px; padding: 8px 12px; }
  .tp-banner .pf-i { width: 15px; height: 15px; }
  .tp-body { padding: 14px; gap: 10px; }
  .tp-icon { width: 24px; height: 24px; }
  .tp-title { font-size: 16px; }
  .tp-sub { font-size: 12.5px; line-height: 1.35; }
  .tp-choose { font-size: 14px; }
  .tp-opt { padding: 10px 12px; }
  .tp-opt__label { font-size: 13px; }
  .tp-reasons { margin-top: 8px; gap: 6px; }
  .tp-reason { font-size: 12px; }
  .tp-reason p { line-height: 1.3; }
  .tp-continue { padding-top: 11px; padding-bottom: 11px; font-size: 14px; }
}

/* ============================================================
   THANK YOU / SECURED
   ============================================================ */
.sec-wrap { width: 100%; max-width: 900px; margin: 0 auto; }
.ty-top-bar {
  margin-bottom: 20px; padding: 14px 18px; text-align: center;
  background: var(--yellow); color: var(--amber-ink);
  border-radius: var(--radius); font-size: 17px; font-weight: 700; line-height: 1.35;
}
.ty-top-bar a { color: var(--navy); text-decoration: underline; }
.save-toContacts-btn { margin-top: 4px; }
.save-toContacts-btn a { color: var(--navy); text-decoration: underline; font-size: 14px; font-weight: 700; }
.sec-intro { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 28px; }
.sec-h1 { font-size: 30px; font-weight: 400; color: var(--navy); line-height: 1.25; letter-spacing: -.01em; margin: 0; max-width: 720px; }
.sec-h1 strong { font-weight: 800; }
.sec-sub { font-size: 16px; font-weight: 500; color: var(--navy); line-height: 1.5; margin: 0; max-width: 580px; }
.sec-cta { margin-top: 6px; }
.sec-cta .pf-btn { width: auto; padding: 16px 48px; font-size: 18px; }
/* Opt-in thank-you pieces (heroCta.hint, expect.*) — markup only exists when configured. */
.sec-cta__hint { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.ty-expect { width: 100%; max-width: 580px; text-align: left; display: flex; flex-direction: column; gap: 16px; }
.ty-expect__title { margin: 0; font-size: 24px; font-weight: 800; line-height: 1.2; color: var(--ink); text-transform: uppercase; letter-spacing: .01em; }
.ty-expect__sub { margin: -8px 0 0; font-size: 15px; color: var(--muted); }
.ty-expect__steps { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; counter-reset: tyexpect; }
.ty-expect__steps li { counter-increment: tyexpect; display: flex; align-items: center; gap: 16px; font-size: 18px; font-weight: 700; line-height: 1.35; color: var(--ink); }
.ty-expect__steps li::before {
  content: counter(tyexpect); flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--coral); color: var(--white); font-size: 16px; font-weight: 900; line-height: 32px; text-align: center;
}
@media (max-width: 767px) {
  .ty-expect__title { font-size: 20px; }
  .ty-expect__steps li { font-size: 16px; gap: 12px; }
  .ty-expect__steps li::before { width: 28px; height: 28px; font-size: 14px; line-height: 28px; }
}

.sec-notice {
  width: 100%; max-width: 620px; margin: 0 auto; text-align: left;
  background: #fef7e2; border: 1px solid var(--amber-2);
  border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 20px 22px;
}
.sec-notice__head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.sec-notice__badge {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  background: var(--amber-1); display: flex; align-items: center; justify-content: center;
  animation: secNoticePulse 1.5s ease-in-out infinite;
}
.sec-notice__badge .pf-i { width: 17px; height: 17px; color: var(--coral); }
.sec-notice__title { margin: 0; font-size: 16px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.sec-notice__list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.sec-notice__list li { font-size: 14px; line-height: 1.6; color: var(--text); }
.sec-notice__list li::marker { color: var(--coral); }

/* Production configs supply bookWarning.alertTitle / .alertBody / .alertFooter
   as raw HTML (its own <img> + <h3>, a <ul>, a footer block). Style whatever
   they hand us so it sits correctly inside the callout. */
.sec-notice__head--raw { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.sec-notice__head--raw img,
.sec-notice__head--raw .pf-inline-icon { width: 26px; height: 26px; flex: 0 0 auto; color: var(--coral); }
.sec-notice__head--raw h3,
.sec-notice__head--raw h2 {
  margin: 0; font-size: 16px; font-weight: 800;
  letter-spacing: .02em; color: var(--ink); line-height: 1.25;
}
.sec-notice__body ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.sec-notice__body li { font-size: 14px; line-height: 1.6; color: var(--text); }
.sec-notice__body li::marker { color: var(--coral); }
.sec-notice__body p { margin: 0 0 10px; font-size: 14px; line-height: 1.6; }
.sec-notice__footer {
  margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(0, 0, 0, .1);
  font-size: 13px; line-height: 1.5; color: var(--text);
}
.sec-notice__footer h5 { margin: 0 0 2px; font-size: 13px; font-weight: 800; }

/* hero.extraContent / subTitle arrive as HTML blobs too */
.sec-sub h4 { margin: 10px 0 0; font-size: 16px; font-weight: 800; color: var(--ink); }
.sec-sub p { margin: 0 0 8px; }
@keyframes secNoticePulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }
@media (prefers-reduced-motion: reduce) { .sec-notice__badge { animation: none; } }

.ty-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-card); overflow: hidden; }
/* Opt-in hero at the top of the card — see thank-you.php. Nothing emits this
   class unless the offer sets steps.thank-you.hero.image. */
.ty-hero { display: block; width: 100%; height: 260px; object-fit: cover; }
/* "Where to?" offers: the destination grid in the hero slot, and the address
   line under the Accommodations row value (thank-you.php). */
.ty-card > .os-dest-mosaic { height: 260px; border-radius: 0; }
/* steps.thank-you.layout "card": intro, notice (with the CTA inside) and
   "What to expect" move into the card, between the paid bar and the summary. */
.sec-wrap--card { max-width: 760px; }
.sec-wrap--card .ty-card__body { padding: 40px; }
.sec-wrap--card .sec-intro { text-align: left; align-items: stretch; gap: 32px; margin: 0; }
.sec-wrap--card .sec-h1, .sec-wrap--card .sec-sub, .sec-wrap--card .sec-notice, .sec-wrap--card .ty-expect { max-width: none; }
.sec-wrap--card .sec-notice .sec-cta { display: flex; flex-direction: column; align-items: center; margin: 0; padding: 0 24px 24px; }
.sec-wrap--card .sec-notice .sec-cta__hint { margin: 0; padding-top: 8px; }
.ty-dest-row__sub { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }
.sec-sumhead { background: #1c425c; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 24px; }
.sec-sumhead__title { color: #fff; font-size: 18px; font-weight: 800; }
.sec-sumhead__total { color: #fff; font-size: 16px; font-weight: 500; display: flex; align-items: baseline; gap: 8px; }
/* The engine owns the value node (.summary-card--total-price-value, filled by
   getTotalPrice()), so it can't be a <strong> — style the contract class to the
   same weight the design gives its <strong>. */
.sec-sumhead__total strong,
.sec-sumhead__total .summary-card--total-price-value { font-size: 22px; font-weight: 800; }

.ty-list { display: flex; flex-direction: column; gap: 1px; background: #dfdfdf; }
.ty-block { background: #f9f9f9; padding: 28px 24px; display: flex; flex-direction: column; gap: 18px; }
.ty-block__head { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 800; color: var(--navy); }
.ty-block__head .pf-i { width: 24px; height: 24px; color: var(--navy); }

/* Rows built by integration_master.js renderBaseProduct/renderUpgrades/renderAddedBonuses */
.ty-main-card--details__item-list,
.ty-main-card--details__item-extras-list,
.added-bonuses-container-ty,
/* Same stacking as the lists above, but a class renderBaseProduct() does NOT
   query — see the "Your details" block in thank-you.php. */
.ty-guest-details__list,
.ty-main-card--details__item-bonus-vacation-list { display: flex; flex-direction: column; gap: 8px; }
/* Match upgrades-v2 (ty/_main.sass): labels stay visible; long values
   ellipsis/wrap instead of squeezing the label column away. */
.ty-main-card--details__item {
  display: flex; 
  align-items: center;
  gap: 8px;
  font-size: 14px; color: var(--navy);
  width: 100%; min-width: 0; max-width: 100%;
}

.ty-main-card--details__item-extras-list .ty-main-card--details__item {
  justify-content: space-between; 
}


/* Label column must not collapse. In the package and guest-details lists the
   value carries flex:1 1 auto on narrow screens (see the media query below)
   while the label container is flex:0 1 auto with min-width:0 — so a long value
   squeezes the label past its own text, which then spills over the value and
   the two paint on top of each other. This was patched per-row for
   Preferred check-in/out when the "Call now to book your dates" link landed
   there; the Includes row hit exactly the same thing, so hold the floor for the
   whole list instead of naming rows one at a time.
   Extras and bonuses are deliberately excluded: there the label SHOULD truncate
   so the price stays on one line (rules further down). */
.ty-main-card--details__item-list .ty-main-card--details__item--label-container,
.ty-guest-details__list .ty-main-card--details__item--label-container {
  min-width: fit-content;
}


.ty-main-card--details__item--label-container {
  display: flex; align-items: center; gap: 8px;
  flex: 0 1 auto; min-width: 0;
}
/* Navy here, not coral. The design tints the confirmation card's row icons with
   --navy (.ty-line .pf-i / .ty-extra .pf-i); coral is the package-summary look on
   the upsell pages. Without this the .pf-inline-icon default wins. */
.ty-main-card--details__item--label-container img,
.ty-main-card--details__item--label-container .pf-inline-icon,
.ty-main-card--details__item--label-container .pf-i { width: 20px; height: 20px; flex: 0 0 auto; color: var(--navy); }
.ty-main-card--details__item--label { font-weight: 700; }
.ty-main-card--details__item--value {
  font-weight: 500;
  min-width: 0;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.ty-main-card--details__item--value a { overflow-wrap: anywhere; word-break: break-word; }

/* The design treats the two lists differently, and it reads much better:
   the Vacation-package rows keep label and value together on the left
   (.ty-line — no flex-grow), while the Extras rows push the price out to the
   right edge and bold it (.ty-extra .k { flex: 1 1 auto }). One shared rule made
   every package row right-align its value against a mostly empty row. */
.ty-main-card--details__item-extras-list .ty-main-card--details__item--label-container,
.added-bonuses-container-ty .ty-main-card--details__item--label-container,
.ty-main-card--details__item-bonus-vacation-list .ty-main-card--details__item--label-container { flex: 1 1 auto; }
.ty-main-card--details__item-extras-list .ty-main-card--details__item--label,
.added-bonuses-container-ty .ty-main-card--details__item--label,
.ty-main-card--details__item-bonus-vacation-list .ty-main-card--details__item--label { font-weight: 500; }
.ty-main-card--details__item-extras-list .ty-main-card--details__item--value,
.added-bonuses-container-ty .ty-main-card--details__item--value,
.ty-main-card--details__item-bonus-vacation-list .ty-main-card--details__item--value { font-weight: 800; white-space: nowrap; }
.ty-empty { font-size: 14px; color: var(--muted); font-style: italic; }
/* Set by js/flow.js on blocks the engine never filled and that have no
   data-empty-text to fall back on. */
.ty-block.pf-block-empty { display: none; }

.sec-hold {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 20px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px;
}
.sec-hold .pf-i { width: 20px; height: 20px; flex: 0 0 auto; color: var(--navy); margin-top: 2px; }
.sec-hold p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--muted); }

.sec-contacts { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.sec-call {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: #fff; border-radius: var(--radius-pill);
  padding: 16px 32px; font-size: 15px; font-weight: 800; letter-spacing: .03em;
  text-transform: uppercase; text-decoration: none; box-shadow: var(--shadow-soft);
}
.sec-call:hover { background: var(--navy-deep); color: #fff; }
.sec-call .pf-i { width: 20px; height: 20px; color: #e9654a; }
.sec-hours { font-size: 14px; color: var(--ink); line-height: 1.5; text-align: right; }
.sec-hours strong { font-weight: 800; }

@media (max-width: 767px) {
  .sec-h1 { font-size: 22px; }
  .sec-sub { font-size: 14px; }
  .sec-cta .pf-btn { width: 100%; }
  .sec-sumhead { flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 16px; }
  .ty-block { padding: 20px 16px; gap: 14px; }
  .ty-block__head { font-size: 16px; }
  .sec-contacts { flex-direction: column; align-items: stretch; }
  .sec-call { justify-content: center; }
  .sec-hours { text-align: center; }

  /* v2: package rows top-align on narrow screens so long “Call now…” values
     wrap under the label instead of hiding Preferred check-in/out. */
  .ty-hero { height: 170px; }
  .ty-card > .os-dest-mosaic { height: 170px; }
  .sec-wrap--card .ty-card__body { padding: 24px 20px; }
  .sec-wrap--card .sec-intro { gap: 24px; }
  .ty-main-card--details__item { align-items: flex-start; }
  .ty-main-card--details__item-list .ty-main-card--details__item--value {
    flex: 1 1 auto;
    white-space: normal;
  }

  /* Extras/bonuses only: truncate long labels so prices stay on one line. */
  .ty-main-card--details__item-extras-list .ty-main-card--details__item--label-container,
  .added-bonuses-container-ty .ty-main-card--details__item--label-container,
  .ty-main-card--details__item-bonus-vacation-list .ty-main-card--details__item--label-container {
    min-width: 0; flex: 0 1 55%; max-width: 55%; overflow: hidden;
  }
  .ty-main-card--details__item-extras-list .ty-main-card--details__item--label-container .ty-main-card--details__item--label,
  .added-bonuses-container-ty .ty-main-card--details__item--label-container .ty-main-card--details__item--label,
  .ty-main-card--details__item-bonus-vacation-list .ty-main-card--details__item--label-container .ty-main-card--details__item--label {
    min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block;
  }
  .ty-main-card--details__item-extras-list .ty-main-card--details__item--value,
  .added-bonuses-container-ty .ty-main-card--details__item--value,
  .ty-main-card--details__item-bonus-vacation-list .ty-main-card--details__item--value {
    flex-shrink: 0; white-space: nowrap;
  }
}

/* ============================================================
   TABBED LEGAL SHEET (partials/legal-sheet.php) — opt-in, steps.common.modals.tabbed
   ============================================================ */
.pf-legal {
  width: min(760px, calc(100vw - 32px)); height: min(86vh, 900px); max-height: min(86vh, 900px);
  padding: 0; border: 0; border-radius: 20px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
  font-family: var(--font); color: var(--text); overflow: hidden;
}
.pf-legal[open] { display: flex; flex-direction: column; }
.pf-legal::backdrop { background: rgba(10, 24, 56, .55); -webkit-backdrop-filter: blur(26px) saturate(1.3); backdrop-filter: blur(26px) saturate(1.3); }
.pf-legal__grab { display: none; }
.pf-legal__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; border-bottom: 3px solid var(--coral); background: var(--white); }
.pf-legal__head h2 { margin: 0; color: var(--ink); font-size: 22px; line-height: 1.2; font-weight: 700; }
.pf-legal__close { flex: none; width: 49px; height: 49px; border: 2px solid #d5dde3; border-radius: 50%; background: var(--white); color: var(--ink); font-size: 18px; cursor: pointer; }
@media (hover: hover) { .pf-legal__close:hover { border-color: var(--coral); } }
.pf-legal__close:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.pf-legal__tabs {
  position: relative; display: grid; grid-template-columns: repeat(var(--pf-legal-tabs, 3), 1fr); flex: none;
  margin: 14px 24px 0; padding: 5px; border-radius: 999px; background: #eef2f6; user-select: none; -webkit-user-select: none;
}
.pf-legal__tabs button {
  position: relative; z-index: 1; min-height: 44px; padding: 0 10px; border: 0; border-radius: 999px; background: none;
  color: var(--muted); font-family: var(--font); font-size: 14px; font-weight: 700; line-height: 1.15; cursor: pointer; transition: color .3s;
}
.pf-legal__tabs button[aria-selected="true"] { color: var(--white); }
.pf-legal__tabs button:focus { outline: none; }
.pf-legal__tabs button:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
.pf-legal__thumb {
  position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 10px) / var(--pf-legal-tabs, 3));
  border-radius: 999px; background: var(--ink); box-shadow: 0 4px 12px rgba(30, 29, 87, .18); transition: transform .45s cubic-bezier(.22, .8, .24, 1);
}
.pf-legal__viewport { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; margin-top: 10px; }
.pf-legal__track {
  position: absolute; top: 0; bottom: 0; left: 0; display: flex; width: calc(var(--pf-legal-tabs, 3) * 100%);
  transition: transform .45s cubic-bezier(.22, .8, .24, 1);
}
.pf-legal__body { flex: 1 1 0; min-width: 0; height: 100%; overflow-y: auto; padding: 8px 24px 28px; box-sizing: border-box; font-size: 15px; line-height: 1.6; }
.pf-legal__body:focus { outline: none; }
.pf-legal__body:focus-visible { box-shadow: inset 3px 0 0 var(--coral); }
.pf-legal__body h2, .pf-legal__body h3 { margin: 22px 0 6px; color: var(--ink); font-size: 17px; font-weight: 700; }
.pf-legal__body p, .pf-legal__body li, .pf-legal__body a { overflow-wrap: anywhere; }
@media (max-width: 767px) {
  .pf-legal { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .pf-legal__grab { display: block; width: 44px; height: 5px; margin: 8px auto 0; border-radius: 999px; background: #d5dde3; }
  .pf-legal__head { padding: 10px 16px 14px; }
  .pf-legal__head h2 { font-size: 18px; }
  .pf-legal__tabs { margin: 10px 12px 0; }
  .pf-legal__tabs button { font-size: 12.5px; padding: 0 4px; }
  .pf-legal__body { padding: 8px 16px 24px; }
}
@media (prefers-reduced-motion: reduce) { .pf-legal__thumb, .pf-legal__track { transition: none; } }

/* Travel protection "Are you sure?" (steps.travel-protection.confirmNo) sits
   above the Bootstrap #tpModal (z-index 1055). */
.pf-modal.tp-confirm { z-index: 1070; }

/* Thank-you opt-ins: checklist card beside "What to expect"
   (steps.thank-you.checklist.*) and the offer card above the summary blocks
   (steps.thank-you.offerCard.visible / .summaryHeading). */
.ty-expect-row { width: 100%; display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; align-items: stretch; text-align: left; }
.ty-expect-row .ty-expect { max-width: none; }
.ty-checklist { background: var(--ink); color: #e9eef8; border-radius: 22px; padding: 32px clamp(20px, 3vw, 40px); display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.ty-checklist__title { margin: 0; color: var(--white); font-size: 24px; font-weight: 800; line-height: 1.1; text-transform: uppercase; }
.ty-checklist__items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.ty-checklist__items li { display: flex; gap: 16px; font-size: 16px; line-height: 1.6; }
.ty-checklist__items strong { color: var(--white); }
.ty-checklist__items .pf-i { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--coral); stroke-width: 3.2; }
.ty-summary-head { padding: 32px 40px 24px; border-top: 1px solid var(--line); }
.ty-summary-head__title { margin: 0 0 24px; font-size: 24px; font-weight: 800; color: var(--ink); }
.ty-summary-head .offer-card { margin: 0; max-width: none; }
@media (max-width: 767px) {
  .ty-expect-row { grid-template-columns: 1fr; gap: 16px; }
  .ty-checklist { padding: 24px 20px; gap: 16px; border-radius: 18px; }
  .ty-checklist__title { font-size: 20px; }
  .ty-checklist__items li { gap: 12px; font-size: 15px; line-height: 1.45; }
  .ty-summary-head { padding: 24px 18px 16px; }
  .ty-summary-head__title { font-size: 20px; margin-bottom: 16px; }
}
/* ============ CHOICE FIELDS (partials/choice-fields.php) ============
   Per-offer single-choice controls in general-information, e.g. the
   "$100 gift card or extra night" selector. Cards are radio labels. */
.pf-choice { margin-top: 16px; }
.pf-choice__options { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.pf-choice__option {
  position: relative; display: flex; align-items: flex-start; gap: 10px;
  padding: 14px 16px; border: 1px solid var(--field-border); border-radius: var(--radius-sm);
  background: var(--white); cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s;
}
.pf-choice__option:hover { border-color: var(--navy); }
.pf-choice__option input[type="radio"] {
  appearance: none; -webkit-appearance: none; flex: 0 0 auto;
  width: 20px; height: 20px; margin: 1px 0 0; border: 2px solid var(--field-border); border-radius: 50%;
  background: #fff; cursor: pointer;
}
.pf-choice__option input[type="radio"]:checked { border-color: var(--navy); box-shadow: inset 0 0 0 4px #fff; background: var(--navy); }
.pf-choice__option input[type="radio"]:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.pf-choice__option:has(input:checked) { border-color: var(--navy); background: rgba(33, 82, 114, .06); box-shadow: 0 0 0 3px rgba(33, 82, 114, .12); }
.pf-choice__icon { flex: 0 0 auto; width: 22px; height: 22px; color: var(--navy); }
.pf-choice__text { display: flex; flex-direction: column; gap: 2px; }
.pf-choice__label { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.pf-choice__desc { font-size: 12px; color: var(--muted); line-height: 1.4; }
.pf-choice--select .pf-select { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--field-border); border-radius: var(--radius-sm); background: var(--white); }
.pf-choice.is-invalid .pf-choice__option,
.pf-choice.is-invalid .pf-select { border-color: var(--coral); }
