/* ============================================================
   upgrades-v6 — 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: var(--cta-ink);
  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(73, 248, 199, .18); color: var(--navy); 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; }
@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; }
}

/* ============================================================
   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(--coral); box-shadow: 0 0 0 3px rgba(73, 248, 199, .3); }
.os-form-grid .pf-field.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(220, 38, 38, .12); 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-deep); }
.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(--navy); }
.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; }
}

/* 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(--navy); }

/* ============================================================
   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: 600; color: var(--ink); margin-bottom: 10px; }
.bill-safe__icons { display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; }
/* RE_LPs sizes these explicitly (h-7 w-10 / w-6) — the SVGs carry only a
   viewBox, so width:auto would balloon them to the container width. */
.bill-safe__badge { height: 28px; width: 40px; object-fit: contain; display: block; }
.bill-safe__badge--icon { width: 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(--navy); }
.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; }
.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(--navy); }

/* 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(--navy); 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; }
/* Teal, matching the HNG 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-v6. */
.summary-accordion--collapse--item .pf-i { width: 18px; height: 18px; flex: 0 0 auto; color: var(--navy); }
.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(--navy); }
.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(--danger); }

/* ============================================================
   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 — RE_LPs DealConfirmationPage parity.
   One white shell card: hero image band → dark brand bar with the
   engine-filled total → headline block → yellow ACTION REQUIRED card
   (body, pickup locations, hours, mint call CTA) → vacation summary
   rows → questions/hours → grey legal section.
   Engine contract classes (.ty-main-card--details__item*, .ty-block,
   .summary-card--total-price-value, .callcenter-phone-tag) unchanged.
   ============================================================ */
.ty-page .pf-main { padding: 32px 16px 56px; }
@media (min-width: 768px) { .ty-page .pf-main { padding: 40px 32px 56px; } }
@media (min-width: 1024px) { .ty-page .pf-main { padding-left: 80px; padding-right: 80px; } }
.ty-shell {
  width: 100%; max-width: 1280px; margin: 0 auto;
  background: var(--white); border-radius: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .25);
  overflow: hidden;
}

.ty-hero-band { height: min(520px, 50vh); background: var(--navy); overflow: hidden; }
.ty-hero-band img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ty-brandbar {
  background: var(--navy-deep); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 24px; flex-wrap: wrap;
}
/* Design treatment (DealConfirmationPage): a 44px square tile that CROPS the
   HNG mark — img at 180% height, object-cover, anchored top — so the emblem
   fills the tile instead of the full logo (emblem + wordmark) shrinking. */
.ty-brandbar__logowrap { display: inline-flex; width: 44px; height: 44px; overflow: hidden; flex: 0 0 auto; }
.ty-brandbar__logo {
  height: 180%; width: 100%; max-width: none; object-fit: cover; object-position: top;
  filter: brightness(0) invert(1); opacity: .95;
}
/* steps.thank-you.priceSection.logo: the whole logo, as is, no crop */
.ty-brandbar__logowrap.ty-brandbar__logowrap--full { width: auto; height: 28px; overflow: visible; }
.ty-brandbar__logowrap--full .ty-brandbar__logo { height: 100%; width: auto; object-fit: contain; filter: none; opacity: 1; }
.ty-brandbar__total { display: flex; align-items: baseline; gap: 8px; margin-left: auto; }
.ty-brandbar__total-label { font-size: 16px; font-weight: 500; }
.ty-brandbar .summary-card--total-price-value { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }

.ty-section { padding: 24px; display: flex; flex-direction: column; gap: 32px; }
.ty-section--bordered { border-top: 1px solid #e5e5e5; }
/* Vacation summary: title sits mb-6 above its card, not at the section gap */
.ty-section:has(> .ty-sumtitle) { gap: 24px; }

.ty-headlines { display: flex; flex-direction: column; gap: 16px; color: var(--slate); }
.ty-h1 { font-size: clamp(30px, 4.5vw, 58px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; margin: 0; }
.ty-h2 { font-size: clamp(24px, 2.5vw, 32px); font-weight: 800; line-height: 1.2; margin: 0; }
.ty-intro { font-size: 16px; font-weight: 500; line-height: 1.6; margin: 0; }

/* ---- ACTION REQUIRED card ---- */
.ty-action {
  background: #fffda9; border: 1px solid #f0d10a; border-radius: 16px;
  padding: 24px; display: flex; flex-direction: column; gap: 24px;
}
.ty-action__head { display: flex; align-items: center; gap: 12px; }
.ty-action__head .pf-i { width: 24px; height: 24px; color: #c0392b; }
.ty-action__title {
  margin: 0; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; color: #c0392b;
}
.ty-action__body { display: flex; flex-direction: column; gap: 12px; }
.ty-action__body p { margin: 0; font-size: 16px; line-height: 1.6; color: #222; }
.ty-action__pickups { display: flex; gap: 12px; }
@media (max-width: 640px) { .ty-action__pickups { flex-direction: column; } }
.ty-action__pickup {
  flex: 1 1 0; min-width: 0; border-radius: 12px;
  background: rgba(255, 255, 255, .6); padding: 16px;
  display: flex; flex-direction: column; gap: 4px;
  font-size: 14px; line-height: 1.5; color: #222;
}
.ty-action__pickup h3, .ty-action__pickup h4, .ty-action__pickup strong { margin: 0; font-size: 15px; font-weight: 700; color: #222; }
.ty-action__pickup p { margin: 0; }
.ty-action__hours p { margin: 0; color: #222; }
.ty-action__hours .k { font-weight: 700; }
.ty-action__hours .v { font-weight: 500; }
.ty-action__cta { display: block; text-align: center; padding: 20px 36px; font-weight: 700; letter-spacing: 0; }
.ty-action__cta bdi { font-variant-numeric: tabular-nums; }

.ty-taxes { font-size: 14px; line-height: 1.6; color: rgba(32, 82, 114, .8); margin: -16px 0 0; }

/* ---- Vacation summary ---- */
.ty-sumtitle { font-size: 24px; font-weight: 700; color: var(--slate); margin: 0; }
.ty-sumcard { border: 1px solid #dfdfdf; border-radius: 16px; overflow: hidden; }
.ty-sumcard__inner { background: #f9f9f9; padding: 24px; display: flex; flex-direction: column; gap: 24px; }
.ty-sumcard__inner + .ty-sumcard__inner { border-top: 1px solid #dfdfdf; }
.ty-sumhead { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 700; color: var(--slate); }
.ty-sumhead .pf-i { width: 22px; height: 22px; color: var(--slate); }
.ty-sumhead--sub { font-size: 16px; }
.ty-sumhead--sub .pf-i { width: 19px; height: 19px; }

/* 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,
.ty-main-card--details__item-bonus-vacation-list { display: flex; flex-direction: column; gap: 10px; }
.ty-main-card--details__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px; color: var(--slate);
  width: 100%; min-width: 0; max-width: 100%;
}
.ty-main-card--details__item-extras-list .ty-main-card--details__item { justify-content: space-between; }
.ty-main-card--details__item.preferred-checkin-date .ty-main-card--details__item--label-container,
.ty-main-card--details__item.preferred-checkout-date .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;
}
/* Package/lead rows: the icon+label never shrink — a squeezed label-container
   used to paint its overflowing text on top of the value. The value follows the
   design's SummaryLine (flex-wrap, gap-2, py-1.5): it sits beside the label
   when it fits and otherwise drops to its own line, flush left under the icon
   (flex-basis auto = its own width, so a long value moves down instead of
   squeezing). Same rule at every width. */
.ty-main-card--details__item-list { gap: 4px; }
.ty-main-card--details__item-list .ty-main-card--details__item { flex-wrap: wrap; align-items: center; gap: 8px; padding: 6px 0; line-height: 20px; }
.ty-main-card--details__item-list .ty-main-card--details__item--label-container { flex: 0 0 auto; }
.ty-main-card--details__item-list .ty-main-card--details__item--value { flex: 0 1 auto; }
/* Icons take the mid teal (design: #155266), text the slate (#205272). */
.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: 600; }
.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 { color: var(--navy); font-weight: 700; overflow-wrap: anywhere; word-break: break-word; }

/* Package rows keep label+value together on the left; extras/bonuses push the
   price to the right edge and bold it (same split the design makes). */
.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; margin: 0; }
/* 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; }
/* Set by js/flow.js on package-list rows whose value the engine never filled —
   the design never shows a labelled row with no value. */
.ty-main-card--details__item.pf-row-empty { display: none; }

/* ---- Questions / hours ---- */
.ty-questions { flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.ty-questions p { margin: 0; font-size: 16px; line-height: 1.6; color: #0d0d0d; max-width: 62ch; }
.ty-questions__hours .k { font-weight: 600; }
.ty-questions__hours .v { font-weight: 700; }

/* ---- Legal fine print ---- */
.ty-legal {
  background: #f4f4f5; border-top: 1px solid #e5e5e5;
  padding: 32px 24px; display: flex; flex-direction: column; gap: 16px;
  font-size: 12px; line-height: 1.6; color: #000;
}
.ty-legal h3 { margin: 0; font-size: 20px; font-weight: 700; color: #071330; }
.ty-legal p { margin: 0; }
.ty-legal ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.ty-legal li { line-height: 1.6; }

@media (min-width: 768px) {
  .ty-brandbar { padding: 12px 48px; }
  .ty-section { padding: 48px; gap: 64px; }
  .ty-action { padding: 32px; }
  .ty-sumcard__inner { padding: 32px; }
  .ty-legal { padding: 32px 48px; }
}
@media (max-width: 767px) {
  .ty-brandbar__logowrap { width: 40px; height: 40px; }

  /* Package rows top-align on narrow screens so long "Call now…" values wrap
     under the label instead of hiding Preferred check-in/out. */
  .ty-main-card--details__item { align-items: flex-start; }
  /* Package/lead rows keep the design's centred wrap (rule above). */
  .ty-main-card--details__item-list .ty-main-card--details__item { align-items: center; }

  /* 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,
  .added-bonuses-container-ty .ty-main-card--details__item--label,
  .ty-main-card--details__item-bonus-vacation-list .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;
  }
}

/* ============================================================
   OFFER SUMMARY BAND (RE_LPs PaymentFlowShell) — billing header.
   Full-bleed white section between the flash strip and the grey main.
   ============================================================ */
.offer-band { width: 100%; background: var(--white); border-bottom: 1px solid var(--field-border); }
.offer-band__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 24px;
  display: flex; flex-direction: column; gap: 24px;
}
.offer-band__info { flex: 1 1 auto; min-width: 0; }
.offer-band__title {
  margin: 0 0 16px; font-size: 24px; font-weight: 800;
  color: var(--ink); line-height: 1.2;
}
.offer-band__type { margin: 0 0 16px; font-size: 16px; font-weight: 600; color: var(--ink); }
.offer-band__features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.offer-band__features li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--text); line-height: 1.5; }
.offer-band__features .pf-i { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; color: var(--navy); }
.offer-band__pricecol { flex: 0 0 auto; text-align: center; }
.offer-band__price {
  margin: 0; font-size: 36px; font-weight: 700; line-height: 1;
  color: var(--ink); font-variant-numeric: tabular-nums;
}
.offer-band__note { margin: 4px 0 0; font-size: 14px; font-weight: 700; color: var(--ink); }
/* Type scales up at the design's md breakpoint (768px)… */
@media (min-width: 768px) {
  .offer-band__title { font-size: 32px; }
  .offer-band__type { font-size: 18px; }
  .offer-band__features li { font-size: 16px; }
  .offer-band__price { font-size: 64px; }
  .offer-band__note { font-size: 16px; }
}
/* …while the two-column split waits for lg (1024px), matching the design. */
@media (min-width: 1024px) {
  .offer-band__inner { flex-direction: row; align-items: flex-start; justify-content: space-between; }
  .offer-band__pricecol { text-align: right; }
}

/* ---- Price Details block (RE_LPs order summary): grey card, darker total ---- */
.os-pricebox {
  background: var(--bg); border-radius: var(--radius-sm);
  padding: 14px 16px 0; gap: 8px;
}
.os-pricebox .pf-price-total {
  background: #e5e5e5;
  margin: 8px -16px 0; padding: 10px 16px;
  border-top: none; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

/* ============================================================
   BILLING — RE_LPs PaymentBillingStep parity (body.step-billing)
   Measurements are the design's Tailwind classes, noted inline.
   ============================================================ */

/* Stepper on its own white band between the offer band and the grey main (py-4) */
.pf-stepper-band { background: var(--white); padding: 16px 20px; display: flex; justify-content: center; }
.pf-stepper-band .pf-step { gap: 12px; }
.step-billing .pf-main { padding-top: 48px; }

/* Billing card: p-8 / p-6, sections gap-6, fields gap-4 */
.step-billing .os-grid > .pf-card .pf-card__pad { padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.step-billing .os-grid > .pf-card .pf-title { margin: 0; }
.step-billing .bill-express { display: flex; flex-direction: column; gap: 24px; }
.step-billing .bill-express .bill-or { margin: 0; }
.step-billing .bill-intro { font-size: 12px; color: #000; text-align: center; line-height: 1.375; max-width: 576px; margin: 0 auto; }
.step-billing .bill-intro a { color: #0037eb; }
.step-billing .bill-fields { gap: 16px; }
.step-billing .bill-fields .pf-row { gap: 16px; }
.step-billing .bill-fields .pf-field > label { margin-bottom: 6px; }

/* .input-field: h-12, px-3, 14px, #696566; filled = teal border + mint/5 wash */
.step-billing .bill-fields .pf-input,
.step-billing .bill-fields .pf-select {
  height: 48px; padding: 0 12px; font-size: 14px; color: #696566;
}
.step-billing .bill-fields .pf-input:not(:placeholder-shown):not(:focus) { border-color: var(--navy); background: rgba(73, 248, 199, .05); }
.step-billing .bill-fields .pf-select {
  padding: 0 40px 0 16px; color: var(--ink); cursor: pointer;
  border-color: var(--navy); background-color: rgba(73, 248, 199, .05);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23696566' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 12px center; background-size: 20px;
}
.step-billing .bill-fields .pf-input:hover,
.step-billing .bill-fields .pf-select:hover { border-color: var(--coral); }
.step-billing .bill-fields .pf-input:focus,
.step-billing .bill-fields .pf-select:focus { background-color: var(--white); }
.step-billing .bill-fields .pf-input.is-invalid:not(:focus),
.step-billing .bill-fields .pf-select.is-invalid { border-color: var(--danger); background-color: var(--white); }
/* Card iframes: same box, 48px tall */
.step-billing .bt-element {
  height: 48px; padding: 1px 2px; display: flex; align-items: center;
  border-color: var(--navy); background: rgba(73, 248, 199, .05);
}
.step-billing .bt-element > iframe { width: 100%; }
/* City / State / Zip: 3-up from sm (640px); Exp / CVC always 2-up */
@media (max-width: 639px) { .step-billing .bill-row-3 { flex-direction: column; } }
@media (min-width: 521px) and (max-width: 639px) { .step-billing .bill-row-3 { gap: 16px; } }
@media (max-width: 520px) { .step-billing .bill-row-keep { flex-direction: row; } }
/* iOS zooms into inputs under 16px — keep 16px on phones */
@media (max-width: 767px) {
  .step-billing .bill-fields .pf-input,
  .step-billing .bill-fields .pf-select { font-size: 16px; }
}

/* Consent: text-xs #071330, teal links */
.step-billing .bill-tc { padding: 0; }
.step-billing .bill-tc .pf-check__text { font-size: 12px; color: #071330; line-height: 1.375; }
.step-billing .bill-tc .pf-check__text a { color: var(--navy); }

/* CTA in flow on every width (no fixed thumb-zone bar on this page) */
.step-billing .pf-actionbar { margin-top: 0; }
@media (max-width: 900px) {
  .step-billing .pf-actionbar {
    position: static; padding: 0; background: none; border-top: 0; box-shadow: none;
  }
  .step-billing .pf-actionbar .pf-btn,
  .step-billing .pf-actionbar .primary-btn { min-height: 56px; }
  .step-billing .pf-footer { padding-bottom: calc(30px + env(safe-area-inset-bottom)); }
}
.step-billing .pf-actionbar .primary-btn { font-size: 18px; letter-spacing: 0; font-weight: 700; }
@media (max-width: 767px) { .step-billing .pf-actionbar .primary-btn { font-size: 16px; } }

/* Guaranteed Safe Checkout: 16px semibold #4d4d4d */
.step-billing .bill-safe { margin-top: 0; padding-top: 8px; }
.step-billing .bill-safe__title { font-size: 16px; color: #4d4d4d; margin-bottom: 12px; }
.step-billing .bill-safe__note { color: #4d4d4d; margin-top: 12px; }

/* Sidebar: max 420px, p-8, gap-6 */
.step-billing .os-summary .pf-card__pad { padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.os-sep { border: 0; border-top: 1px solid #ccc; margin: 0; opacity: 1; }
.pf-hold--reservation { border: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.pf-hold--reservation .pf-hold__title { font-size: 24px; font-weight: 700; color: #000; margin: 0; }
.pf-hold--reservation .pf-hold__label { font-size: 16px; font-weight: 400; color: #000; margin: 0; }
.pf-hold--reservation .pf-hold__timer,
.pf-hold--reservation .timer2 { font-size: 48px; font-weight: 800; letter-spacing: -.025em; line-height: 1; }
.pf-hold.pf-hold--reservation .timer2 .timer-item--hours,
.pf-hold.pf-hold--reservation .timer2 .div--hours { display: none; }
.pf-hold--reservation .pf-hold__note { font-size: 16px; color: #1e2020; line-height: 1.625; margin: 0; }

.os-pricebox--rows { padding: 0; overflow: hidden; border-radius: 8px; }
.os-pricebox__title { font-size: 24px; font-weight: 700; color: #000; margin: 0; }
.os-pricebox--rows .os-pricebox__title { padding: 8px 12px; }
.os-pricebox--rows .pf-price-line { font-size: 16px; padding: 8px 12px; border-top: 1px solid #ccc; color: #000; }
.os-pricebox--rows .pf-price-line strong { font-weight: 700; }
.os-pricebox--rows .pf-price-total { margin: 0; padding: 8px 12px; font-size: 16px; color: #000; border-radius: 0; }

.bill-recap { display: flex; flex-direction: column; gap: 16px; }
.bill-recap__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 16px; color: #000; }
.bill-recap__list li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bill-recap__list li[hidden] { display: none; }
.bill-recap__list .pf-i { width: 20px; height: 20px; color: var(--navy); flex: none; }
.bill-recap__list strong { font-weight: 700; }
.bill-recap__list span { font-weight: 500; word-break: break-all; }

@media (max-width: 767px) {
  .step-billing .os-grid > .pf-card .pf-card__pad,
  .step-billing .os-summary .pf-card__pad { padding: 24px; }
  .pf-hold--reservation .pf-hold__title,
  .os-pricebox__title { font-size: 20px; }
  .pf-hold--reservation .pf-hold__timer,
  .pf-hold--reservation .timer2 { font-size: 36px; }
  .pf-hold--reservation .pf-hold__note { font-size: 14px; }
  .step-billing .pf-main { padding-top: 32px; }
}

/* Thank-you has no fixed action bar, so no footer reservation for one. */
@media (max-width: 900px) { .ty-page .pf-footer { padding-bottom: calc(30px + env(safe-area-inset-bottom)); } }
