/* =============================================================================
 * BasketPage-v2.css
 * -----------------------------------------------------------------------------
 * New design, ported from CyprusParadise-NewDesigns/prototypes/basket-page/ (the
 * "Passenger details" state) and CyprusParadise-NewDesigns/prototypes/payment/
 * (the "Payment" state — same page, Model.HasBooking:true) into this project's
 * own --bp-* token scope. Same pattern as JourneyPages.css/ProductPage-v2.css
 * for ProductPage/AccommodationItem: page-prefixed tokens copied from
 * CyprusParadise-NewDesigns/assets/tokens/tokens.css, everything scoped under
 * .bp-page, loaded ALONGSIDE BasketPage.css/journey/Basket.css (not instead of
 * them — the two modal partials and Bootstrap accordion bits used elsewhere on
 * this page still rely on them).
 *
 * Shared by BasketPage.cshtml (holiday) and BasketPageHO.cshtml (hotel-only) —
 * HO-only rules are grouped at the bottom, same convention as JourneyPages.css
 * combining ProductPage + AccommodationItem in one file.
 *
 * The prototype's own <header class="site-bar"> / <nav class="steps"> aren't
 * ported — this page already has a real global header (Header.cshtml) and a
 * real step indicator (BreadCrumbs.cshtml, kept as-is per ProductPage.cshtml's
 * own comment: "BreadCrumbs.cshtml itself isn't touched - BasketPage.cshtml
 * still includes and relies on it as-is"). Only .bp-steps-wrap restyles that
 * existing breadcrumb to sit under the new page head.
 * ============================================================================= */

/* Declared on :root too, not just .bp-page: the Bootstrap modals rendered at the bottom
   of BasketPageHO.cshtml/BasketPage.cshtml (#bp-modal-room-guest, #bp-modal-cot-policy,
   PriceUpdatePopupModal.cshtml, LowDepositModal.cshtml) sit as siblings AFTER .bp-page's
   closing tag, not inside it - CSS custom properties only cascade to descendants of where
   they're declared, so anything in those modals using var(--bp-text)/var(--bp-surface)/etc.
   resolved to nothing. Safe to put on :root since this file is only ever linked from these
   two pages, never from the shared layout. */
:root,
.bp-page {
  --bp-primary: #02aaa9;
  --bp-primary-dark: #218887;
  --bp-primary-deep: #104443;
  --bp-primary-soft: #deffff;
  --bp-primary-mist: #def6f5;

  --bp-gold: #febb02;
  --bp-gold-soft: #fff6d9;
  --bp-coral: #f9706a;
  --bp-green: #23ae24;
  --bp-green-text: #008009;
  --bp-green-soft: #dff6e1;
  --bp-red: #ff000b;
  --bp-red-soft: #ffe7e8;

  --bp-text: #3c4e5a;
  --bp-text-muted: #707070;
  --bp-ink: #141515;

  --bp-surface: #ffffff;
  --bp-page-bg: #f3f6f6;
  --bp-grey: #ededeb;
  --bp-border: #d8e0e0;

  --bp-shadow: 3px 3px 6px 0 rgba(0, 0, 0, 0.16);

  --bp-font: "Lato", "Segoe UI", sans-serif;
  --bp-font-display: "Montserrat", "Lato", sans-serif;

  font-family: var(--bp-font);
  color: var(--bp-text);
  background: radial-gradient(900px 320px at 0% 0%, rgba(2, 170, 169, 0.1), transparent 50%), var(--bp-page-bg);
  /* padding: 20px 0 48px; */
}

.bp-page *,
.bp-page *::before,
.bp-page *::after {
  box-sizing: border-box;
}

.bp-page img {
  max-width: 100%;
  display: block;
}

.bp-page button,
.bp-page input,
.bp-page select,
.bp-page textarea {
  font: inherit;
}

.bp-page a {
  color: var(--bp-primary-dark);
}

.bp-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* ---- restyle the existing BreadCrumbs.cshtml stepper to sit under the head --- */
.bp-steps-wrap {
  margin: 0 0 18px;
}

.bp-steps-wrap .breadcrumbs {
  background: transparent;
}

.bp-steps-wrap .form-wizard-section {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bp-steps-wrap .button-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--bp-surface);
  border: 1px solid var(--bp-border);
  color: var(--bp-text-muted);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  pointer-events: none;
}

.bp-steps-wrap .button-item strong {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bp-primary-mist);
  color: var(--bp-primary-deep);
  font-size: 11px;
}

.bp-steps-wrap .button-item.active {
  background: var(--bp-primary-deep);
  border-color: var(--bp-primary-deep);
  color: #fff;
}

.bp-steps-wrap .button-item.active strong {
  background: var(--bp-gold);
  color: var(--bp-primary-deep);
}

/* -------------------------------- layout --------------------------------- */


.bp-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  padding: 28px 0;
  align-items: start;
}

.bp-stack {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.bp-page-head h1 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--bp-primary-deep);
  line-height: 1.2;
}

.bp-eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bp-primary);
}

.bp-page-head__lede {
  margin: 0;
  font-size: 16px;
  color: var(--bp-text);
}

.bp-trust {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bp-trust li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--bp-green-soft);
  color: var(--bp-green-text);
  font-size: 13px;
  font-weight: 800;
}

.bp-trust li::before {
  content: "✓";
  font-size: 12px;
}

.bp-alert {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bp-red-soft);
  color: #9a1420;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.bp-alert small {
  display: block;
  margin-top: 4px;
  font-weight: 400;
}

.bp-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bp-green-soft);
  color: var(--bp-green-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.bp-banner svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* --------------------------------- cards ---------------------------------- */

.bp-card {
  margin: 0;
  padding: 22px 24px;
  background: var(--bp-surface);
  border: 1px solid var(--bp-border);
  border-radius: 12px;
  box-shadow: var(--bp-shadow);
}

/* Second safety net (see .bp-revolut-slot's own comment) for the Revolut iframe spilling past
   this card's rounded corners - scoped to .bp-revolut-card specifically, not the shared
   .bp-card above, since overflow:hidden site-wide on every card here could just as easily clip
   something that's SUPPOSED to overflow (a dropdown, a focus ring) on one of the other cards. */
.bp-revolut-card {
  overflow: hidden;
}

.bp-card__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.bp-card__head h2 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 800;
  color: var(--bp-primary-deep);
  letter-spacing: -0.02em;
}

.bp-card__head p {
  margin: 0;
  font-size: 14px;
  color: var(--bp-text-muted);
}

.bp-card__n {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--bp-primary-mist);
  color: var(--bp-primary-deep);
  font-weight: 800;
}

/* ------------------------------ passenger cards ---------------------------- */

.bp-pax {
  margin-top: 14px;
  padding: 18px 18px 16px;
  border-radius: 12px;
  background: var(--bp-surface);
  border: 1px solid var(--bp-border);
}

.bp-pax:first-child {
  margin-top: 0;
}

.bp-pax--lead {
  background: linear-gradient(180deg, #f3fffe, #fff 48px);
  box-shadow: inset 3px 0 0 var(--bp-primary);
}

.bp-pax__head {
  margin-bottom: 14px;
}

.bp-pax__who {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px;
}

.bp-pax__who strong {
  font-size: 15px;
  color: var(--bp-primary-deep);
}

.bp-pax__hint {
  margin: 0;
  font-size: 13px;
  color: var(--bp-text-muted);
  line-height: 1.4;
}

.bp-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.bp-tag--adult,
.bp-tag--age {
  background: var(--bp-primary-mist);
  color: var(--bp-primary-deep);
}

.bp-tag--lead {
  background: var(--bp-primary);
  color: #fff;
}

.bp-tag--child {
  background: var(--bp-gold-soft);
  color: #7a5900;
}

/* -------------------------------- fields ----------------------------------- */

.bp-grid-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.bp-name-row,
.bp-contact-row {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px 16px;
}

.bp-name-row {
  grid-template-columns: 112px minmax(0, 1fr) minmax(0, 1fr);
}

.bp-contact-row {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
}

.bp-field--title {
  min-width: 0;
}

.bp-field {
  display: grid;
  align-content: start;
  align-items: stretch;
  gap: 6px;
  min-width: 0;
}

.bp-field > span {
  font-size: 13px;
  font-weight: 800;
  color: var(--bp-ink);
}

.bp-field em {
  font-style: normal;
  font-weight: 400;
  color: var(--bp-text-muted);
}

.bp-field--sm {
  max-width: 160px;
}

.bp-field--full {
  grid-column: 1 / -1;
}

.bp-field input,
.bp-field select,
.bp-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--bp-border);
  border-radius: 10px;
  background: var(--bp-surface);
  color: var(--bp-text);
}

.bp-field input:not([type="checkbox"]):not([type="radio"]),
.bp-field select {
  height: 48px;
}

.bp-field input:focus,
.bp-field select:focus,
.bp-field textarea:focus {
  outline: 0;
  border-color: var(--bp-gold);
  box-shadow: 0 0 0 3px rgba(254, 187, 2, 0.28);
}

.bp-field textarea {
  min-height: 96px;
  resize: vertical;
}

.bp-field--dob {
  grid-column: 1 / -1;
  max-width: 340px;
}

.bp-field small {
  font-size: 12px;
  color: var(--bp-text-muted);
}

.bp-field small:empty {
  display: none;
}

.bp-field small.is-error {
  color: var(--bp-red);
  font-weight: 700;
}

.bp-dob-input,
.bp-phone-input {
  letter-spacing: 0.04em;
}

.bp-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bp-check {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px 8px 14px;
  border-radius: 999px;
  background: var(--bp-page-bg);
  color: var(--bp-primary-deep);
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease;
}

.bp-check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.bp-check::before {
  content: "";
  width: 16px;
  height: 16px;
  margin-right: 8px;
  border-radius: 50%;
  border: 1.5px solid #c5d0d0;
  background: #fff;
  flex-shrink: 0;
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
}

.bp-check:has(input:checked) {
  background: var(--bp-primary);
  color: #fff;
}

.bp-check:has(input:checked)::before {
  border-color: #fff;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2302AAA9' d='M9.2 16.6 4.8 12.2l-1.4 1.4 5.8 5.8 12-12-1.4-1.4Z'/%3E%3C/svg%3E")
    center / 11px no-repeat;
}

.bp-check:has(input:focus-visible) {
  box-shadow: 0 0 0 3px rgba(254, 187, 2, 0.28);
}

.bp-terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  color: var(--bp-ink);
}

.bp-terms input {
  margin-top: 3px;
  accent-color: var(--bp-primary);
  width: auto;
  min-height: 0;
}

.bp-terms a {
  color: var(--bp-primary);
}

/* -------------------------------- buttons ---------------------------------- */
/* .bp-btn base plus its primary/gold/block/disabled variants removed - the primary CTA button
   is now the shared .journey-btn component (JourneyPages.css's Part 0), used identically on
   every journey page. .bp-btn--quiet stays (a distinct secondary style with no aip-/pp-
   equivalent to unify with yet) - its markup now pairs with .journey-btn for the base button
   box-model instead. is-loading moves with it, since it's applied to that same button. */

.bp-btn--quiet {
  min-height: 40px;
  padding: 8px 14px;
  background: #fff;
  color: var(--bp-primary-deep);
  box-shadow: inset 0 0 0 1px var(--bp-border);
  font-size: 13px;
}

.bp-btn--quiet:hover {
  box-shadow: inset 0 0 0 1px var(--bp-primary);
}

.journey-btn.is-loading {
  opacity: 0.75;
  cursor: progress;
}

.bp-form-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 0 4px;
}

.bp-form-foot .bp-btn--primary {
  margin-left: auto;
}

.bp-text-link {
  font-weight: 800;
  text-decoration: none;
  color: var(--bp-primary);
}

/* ------------------------------- quote sidebar ------------------------------ */

.bp-quote {
  position: sticky;
  top: 16px;
  align-self: start;
  background: var(--bp-surface);
  border: 1px solid var(--bp-border);
  border-radius: 12px;
  padding: 0 16px 16px;
  box-shadow: var(--bp-shadow);
  overflow: hidden;
}

/* Desktop: same fix as AccommodationItem's .aip-summary / ProductPage's .pp-summary - capped to
   the visible space below the sticky offset and scrolls on its own (no visible scrollbar), with
   a white fade at the bottom edge as the "there's more" cue. Keeps basket-v2.js's pinQuote()
   happy too: a card that always fits the viewport always gets its normal top: 16px. The mobile
   sheet (.bp-modal-summary .bp-quote, below 981px) is unaffected. */
@media (min-width: 981px) {
  .bp-quote {
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
  }

  .bp-quote::-webkit-scrollbar {
    display: none;
  }

  .bp-quote::after {
    content: "";
    position: sticky;
    bottom: -16px;
    display: block;
    height: 24px;
    margin: 0 -16px -16px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 85%);
    pointer-events: none;
  }
}

.bp-quote__hero {
  display: block;
  position: relative;
  margin: 0 -16px 14px;
  color: #fff;
  text-decoration: none;
}

.bp-quote__hero img {
  width: 100%;
  height: 148px;
  object-fit: cover;
}

.bp-quote__hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 16px 12px;
  background: linear-gradient(180deg, transparent, rgba(16, 68, 67, 0.92));
}

.bp-quote__ref {
  display: block;
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.bp-quote__hero strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
}

.bp-quote__hero-plain {
  padding: 16px 0 4px;
}

.bp-quote__hero-plain strong {
  display: block;
  font-size: 18px;
  color: var(--bp-primary-deep);
}

.bp-quote__hero-plain .bp-quote__ref {
  color: var(--bp-text-muted);
}

.bp-stars {
  color: var(--bp-gold);
  letter-spacing: 1px;
  font-size: 12px;
}

.bp-quote__stay {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--bp-ink);
}

.bp-quote__match {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--bp-green-text);
}

.bp-quote__match svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

.bp-quote__pp {
  margin: 0;
  font-family: var(--bp-font-display);
  font-size: 34px;
  font-weight: 800;
  color: var(--bp-text);
  line-height: 1;
}

.bp-quote__pp small {
  margin-left: 2px;
  font-size: 16px;
}

.bp-quote__total {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--bp-text);
}

.bp-quote__save {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--bp-coral);
}

.bp-quote__pay {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--bp-primary-mist);
  border: 1px solid #bfe8e6;
  font-size: 13px;
  line-height: 1.45;
}

.bp-quote__pay strong {
  display: block;
  font-weight: 800;
  color: var(--bp-text);
}

.bp-quote .bp-btn--block {
  margin-top: 12px;
}

.bp-quote h2 {
  margin: 18px 0 8px;
  padding-top: 14px;
  border-top: 1px solid var(--bp-border);
  font-size: 16px;
  font-weight: 800;
  color: var(--bp-ink);
}

.bp-chip-board {
  display: inline-flex;
  align-items: center;
  background: var(--bp-primary-mist);
  color: var(--bp-primary-deep);
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 700;
}

.bp-include {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bp-include__card {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--bp-grey);
}

.bp-include__card:last-child {
  border-bottom: 0;
}

.bp-include__card--stack {
  align-items: start;
}

.bp-include__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--bp-primary-deep);
}

.bp-include__icon svg {
  width: 18px;
  height: 18px;
}

.bp-include__label {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bp-text-muted);
}

.bp-include__value {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--bp-ink);
  line-height: 1.3;
}

.bp-include__hint {
  margin: 2px 0 0;
  font-size: 12px;
  font-weight: 400;
  color: var(--bp-text);
  line-height: 1.35;
}

.bp-include__perks {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  gap: 3px;
}

.bp-include__perks li {
  position: relative;
  padding-left: 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--bp-green-text);
  line-height: 1.3;
}

.bp-include__perks li::before {
  content: "✓";
  position: absolute;
  left: 0;
}

.bp-quote__help {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--bp-text-muted);
}

/* --------------------------- payment state (HasBooking) --------------------- */

.bp-pay-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.bp-pay-opt {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  align-content: start;
  min-height: 176px;
  width: 100%;
  padding: 16px 16px 14px;
  border: 0;
  border-radius: 12px;
  background: var(--bp-surface);
  box-shadow: inset 0 0 0 1px var(--bp-border);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    box-shadow 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.bp-pay-opt:hover {
  box-shadow: inset 0 0 0 1px var(--bp-primary);
  transform: translateY(-1px);
}

.bp-pay-opt.is-on {
  background: var(--bp-primary-mist);
  box-shadow:
    0 0 0 2px var(--bp-primary),
    0 14px 28px rgba(2, 170, 169, 0.16);
  transform: translateY(-1px);
}

.bp-pay-opt.is-on::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bp-primary)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.2 16.6 4.8 12.2l-1.4 1.4 5.8 5.8 12-12-1.4-1.4Z'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

.bp-pay-opt span {
  display: block;
  margin: 0;
}

.bp-pay-opt strong {
  padding-right: 28px;
  font-size: 16px;
  font-weight: 800;
  color: var(--bp-primary-deep);
}

.bp-pay-opt__tag {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 10px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--bp-gold-soft);
  color: var(--bp-primary-deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bp-pay-opt__tag--quiet {
  background: var(--bp-grey);
  color: var(--bp-text-muted);
}

.bp-pay-opt.is-on .bp-pay-opt__tag {
  background: var(--bp-primary);
  color: #fff;
}

.bp-pay-opt__amt {
  margin: 12px 0 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--bp-text-muted);
}

.bp-pay-opt__amt b {
  display: block;
  font-family: var(--bp-font-display);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--bp-primary-deep);
}

.bp-pay-opt.is-on .bp-pay-opt__amt b {
  color: var(--bp-primary-dark);
}

.bp-pay-opt__hint {
  font-size: 13px;
  font-weight: 700;
  color: var(--bp-text-muted);
  line-height: 1.35;
}

.bp-pay-opt__perk {
  display: inline-flex;
  width: fit-content;
  margin-top: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--bp-green-soft);
  color: var(--bp-green-text);
  font-size: 11px;
  font-weight: 800;
}

.bp-breakdown {
  margin-top: 16px;
  padding: 16px 18px 14px;
  border-radius: 12px;
  background: var(--bp-page-bg);
}

.bp-breakdown__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.bp-breakdown h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--bp-primary-deep);
}

.bp-breakdown__sum {
  margin: 0;
  font-family: var(--bp-font-display);
  font-size: 13px;
  font-weight: 800;
  color: var(--bp-primary);
  white-space: nowrap;
}

.bp-pay-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 4px 0 2px;
}

.bp-pay-track:has(.bp-pay-track__step:nth-child(2):last-child),
.bp-pay-track--single {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bp-pay-track__step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  text-align: center;
  padding: 0 8px 4px;
}

.bp-pay-track__step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: calc(50% + 10px);
  right: calc(-50% + 10px);
  top: 7px;
  height: 2px;
  background: var(--bp-border);
}

.bp-pay-track__step.is-due:not(:last-child)::before {
  background: var(--bp-primary);
}

.bp-pay-track__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--bp-border);
  z-index: 1;
}

.bp-pay-track__step.is-due .bp-pay-track__dot {
  background: var(--bp-primary);
  box-shadow:
    0 0 0 4px #fff,
    0 0 0 6px var(--bp-primary-mist);
}

.bp-pay-track__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bp-text-muted);
}

.bp-pay-track__step.is-due .bp-pay-track__label {
  color: var(--bp-primary);
}

.bp-pay-track__step strong {
  font-family: var(--bp-font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--bp-primary-deep);
}

.bp-pay-track__step.is-due strong {
  color: var(--bp-primary-dark);
}

.bp-pay-track__date {
  font-size: 12px;
  font-weight: 700;
  color: var(--bp-text-muted);
}

.bp-breakdown__note {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--bp-text-muted);
  line-height: 1.45;
}

.bp-pay-methods {
  display: grid;
  gap: 10px;
}

.bp-pay-opt__radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px #c5d0d0;
  background: #fff;
}

.bp-pay-method {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 16px;
  border: 1px solid var(--bp-border);
  border-radius: 12px;
  background: var(--bp-surface);
}

.bp-pay-method.is-on {
  background: var(--bp-primary-mist);
  border-color: var(--bp-primary);
  box-shadow: inset 0 0 0 1px var(--bp-primary);
}

.bp-pay-method.is-on .bp-pay-opt__radio {
  box-shadow: inset 0 0 0 5px var(--bp-primary);
}

.bp-pay-method strong {
  display: block;
  font-size: 15px;
  color: var(--bp-primary-deep);
}

.bp-pay-method span span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: var(--bp-text);
}

.bp-pay-method[aria-disabled="true"] {
  opacity: 0.6;
  cursor: not-allowed;
}

.bp-pay-method__soon {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--bp-grey);
  color: var(--bp-text-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.bp-revolut-slot {
  padding: 16px;
  border: 1px solid var(--bp-border);
  border-radius: 14px;
  background: var(--bp-page-bg);
  /* RevolutCheckout.embeddedCheckout() mounts a single iframe in here (real inline style,
     confirmed via DevTools): "width: 100%; min-width: 400px; ...". The width:100% would have
     shrunk it to fit on a phone just fine - min-width:400px is what actually broke it, and it
     wins: per the CSS box-sizing spec, min-width always overrides max-width when the two
     conflict, so no max-width we set (however !important) could ever have helped once the
     container dropped below 400px. Two earlier attempts here both capped max-width instead of
     touching min-width, which is why neither changed anything on the real page. */
  max-width: 100%;
  overflow: hidden;
}

.bp-revolut-slot * {
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.bp-secure-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--bp-green-soft);
  color: var(--bp-green-text);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.bp-secure-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--bp-primary-deep);
}

.bp-secure-banner svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--bp-primary);
}

.bp-secure-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.bp-secure-points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 12px;
  border-radius: 12px;
  background: var(--bp-page-bg);
}

.bp-secure-points svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--bp-primary);
}

.bp-secure-points span {
  display: grid;
  gap: 2px;
  font-size: 12px;
  font-weight: 700;
  color: var(--bp-text-muted);
  line-height: 1.3;
}

.bp-secure-points strong {
  font-size: 13px;
  font-weight: 800;
  color: var(--bp-primary-deep);
}

.bp-pay-trust {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--bp-border);
}

.bp-pay-trust__label {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bp-text-muted);
}

.bp-pay-trust__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.bp-pay-trust__row img {
  height: 40px !important;
  width: auto;
}

.bp-pay-trust__atol {
  height: 48px;
}

.bp-voucher-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.bp-voucher-msg {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 700;
}

.bp-voucher-msg.bp-is-error {
  color: var(--bp-red);
}

.bp-voucher-msg.bp-is-success {
  color: var(--bp-green-text);
}

/* --------------------------------- mobile dock ------------------------------ */

.bp-book-dock {
  display: none;
}

@media (max-width: 980px) {
  .bp-checkout {
    display: flex;
    flex-direction: column;
    padding-bottom: 96px;
  }

  .bp-checkout > .bp-quote {
    display: none;
  }

  .bp-book-dock {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--bp-border);
    box-shadow: 0 -8px 24px rgba(16, 68, 67, 0.12);
  }

  .bp-book-dock .bp-btn {
    flex-shrink: 0;
    white-space: nowrap;
  }

  .bp-book-dock__quote {
    appearance: none;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    text-align: left;
    cursor: pointer;
    color: inherit;
  }

  .bp-book-dock__quote span {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    font-weight: 800;
    color: var(--bp-primary);
  }

  .bp-book-dock strong {
    display: block;
    font-family: var(--bp-font-display);
    font-size: 18px;
    color: var(--bp-text);
  }

  body:has(#bp-modal-summary[open]) .bp-book-dock {
    display: none;
  }

  /* Price-summary bottom sheet (the book dock's "View details") - rises from the bottom edge,
     same as every other journey page's (JourneyPages.css .journey-drawer-modal): full width, up
     80% of the screen, rounded top corners, drag handle, round grey close button top-right,
     content scrolls inside. */
  .bp-modal-summary {
    position: fixed;
    inset: auto 0 0 0;
    width: 100vw;
    max-width: 100vw;
    height: 80dvh;
    max-height: 80dvh;
    margin: 0;
    border: 0;
    border-radius: 18px 18px 0 0;
    padding: 0;
    color: var(--bp-text);
    background: #fff;
    box-shadow: 0 -12px 40px rgba(16, 68, 67, 0.2);
  }

  .bp-modal-summary::backdrop {
    background: rgba(16, 68, 67, 0.45);
  }

  .bp-modal-summary[open] {
    display: flex;
    flex-direction: column;
    animation: bp-sheet-up 0.3s ease;
  }

  @keyframes bp-sheet-up {
    from { transform: translateY(100%); }
    to { transform: none; }
  }

  .bp-summary-sheet__head {
    position: relative;
    flex-shrink: 0;
    margin: 0;
    padding: 8px 58px 10px 16px;
    min-height: 56px;
    border-bottom: 1px solid var(--bp-border);
  }

  .bp-summary-sheet__handle {
    display: block;
    width: 36px;
    height: 4px;
    margin: 0 auto 10px;
    border-radius: 999px;
    background: #d0d8d8;
  }
  .bp-summary-sheet__row {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .bp-summary-sheet__row h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #141515;
  }

  /* "Close ×" becomes just the round × in the corner (the word is kept for screen readers). */
  .bp-summary-sheet__close {
    position: absolute;
    top: 16px;
    right: 10px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #eef1f1;
    color: #3c4e5a;
    font: inherit;
    font-size: 0;
    cursor: pointer;
  }

  .bp-summary-sheet__close:hover {
    background: #e4e8e8;
  }

  .bp-summary-sheet__close span {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    color: #3c4e5a;
  }
  /* align-self/width: the desktop .bp-quote is align-self:start (for its sticky sidebar spot),
     which in this flex-column sheet shrank the card to its content width - leaving an empty
     strip on the right and cutting the full-bleed hero photo short. Stretch it to the sheet.
     Padding matches the desktop card's (0 16px 16px) so the hero's margin: 0 -16px bleeds exactly
     to both edges and sits flush under the header; the scrollbar has its own gutter. */
  .bp-modal-summary .bp-quote {
    display: block;
    position: static;
    align-self: stretch;
    width: auto;
    flex: 1;
    min-height: 0;
    overflow: auto;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow-x: hidden;
    overscroll-behavior: contain;
    padding: 0 16px calc(20px + env(safe-area-inset-bottom));
    /* Thin, light scrollbar in its own reserved gutter (never over the content). */
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: #c9d6d6 transparent;
  }

  .bp-modal-summary .bp-quote::-webkit-scrollbar {
    width: 4px;
  }

  .bp-modal-summary .bp-quote::-webkit-scrollbar-track {
    background: transparent;
  }

  .bp-modal-summary .bp-quote::-webkit-scrollbar-thumb {
    background: #c9d6d6;
    border-radius: 999px;
  }

  .bp-modal-summary .bp-quote .bp-btn--block {
    display: flex;
  }
}

@media (max-width: 720px) {

  .bp-grid-form,
  .bp-name-row,
  .bp-contact-row {
    grid-template-columns: 1fr;
  }

  .bp-field--sm {
    max-width: none;
  }

  .bp-form-foot .bp-btn {
    width: 100%;
  }

  .bp-form-foot {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .bp-voucher-row {
    grid-template-columns: 1fr;
  }

  .bp-pay-options {
    grid-template-columns: 1fr;
  }

  .bp-pay-opt {
    min-height: 0;
    grid-template-rows: none;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "tag tag"
      "title check"
      "amt amt"
      "hint hint"
      "perk perk";
    gap: 2px 12px;
    transform: none;
  }

  .bp-pay-opt:hover,
  .bp-pay-opt.is-on {
    transform: none;
  }

  .bp-pay-opt__tag {
    grid-area: tag;
    margin-bottom: 4px;
  }

  .bp-pay-opt strong {
    grid-area: title;
    padding-right: 0;
  }

  .bp-pay-opt__amt {
    grid-area: amt;
    margin: 6px 0 0;
  }

  .bp-pay-opt__amt b {
    display: inline;
    font-size: 24px;
    margin-right: 6px;
  }

  .bp-pay-opt__hint {
    grid-area: hint;
  }

  .bp-pay-opt__perk {
    grid-area: perk;
  }

  .bp-pay-opt.is-on::after {
    position: static;
    grid-area: check;
    justify-self: end;
    align-self: start;
  }

  .bp-secure-points {
    grid-template-columns: 1fr;
  }

  /* .bp-pay-track (the "Due today / Due in 30 days / Balance" schedule strip) never got its
     mobile reflow ported from the prototype's own .pay-track rules at this same breakpoint -
     .bp-pay-options/.bp-secure-points above did, this one was missed, which is why the payment
     step's schedule row still tried to force 4 (or 2) cramped side-by-side columns on a phone
     screen instead of stacking into a vertical timeline. */
  .bp-pay-track,
  .bp-pay-track:has(.bp-pay-track__step:nth-child(2):last-child),
  .bp-pay-track--single {
    grid-template-columns: 1fr;
  }

  .bp-pay-track__step {
    grid-template-columns: 16px minmax(0, 1fr) auto;
    grid-template-areas:
      "dot label amount"
      "dot date amount";
    justify-items: start;
    align-items: start;
    text-align: left;
    gap: 2px 12px;
    padding: 10px 0;
  }

  .bp-pay-track__dot {
    grid-area: dot;
    margin-top: 2px;
  }

  .bp-pay-track__label {
    grid-column: auto;
    grid-area: label;
  }

  .bp-pay-track__step strong {
    grid-column: auto;
    grid-area: amount;
    justify-self: end;
    align-self: center;
  }

  .bp-pay-track__date {
    grid-column: auto;
    grid-area: date;
  }

  .bp-pay-track__step:not(:last-child)::before {
    display: block;
    left: 7px;
    right: auto;
    top: 22px;
    width: 2px;
    height: calc(100% - 10px);
  }
}

/* =============================================================================
 * BasketPageHO.cshtml-only additions (hotel-only: room/guest summary header,
 * check-in time, special requests — no flights, so no flight-leg include cards).
 * ============================================================================= */

.bp-room-summary {
  margin: 0 0 4px;
}

.bp-room-summary h2 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 800;
  color: var(--bp-primary-deep);
}

.bp-room-summary p {
  margin: 0 0 4px;
  font-size: 14px;
  color: var(--bp-text-muted);
}

.bp-room-summary p:last-child {
  margin-bottom: 0;
}

.bp-ho-facility {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  margin: 0 6px 6px 0;
  border-radius: 999px;
  background: var(--bp-primary-mist);
  color: var(--bp-primary-deep);
  font-size: 12px;
  font-weight: 700;
}

/* ---- Room-grouped passenger cards (BasketPageHO.cshtml's #bp-passengers) - one
   .bp-room-group__head per room above that room's own passenger cards, ported from
   the hotel-only/guests.html prototype's "Your rooms" concept, but keeping the site's
   own full per-passenger forms underneath each heading rather than the prototype's
   lightweight name+email-only modal (deliberate: TraveAI's booking still needs every
   passenger's own title/DOB, holiday or hotel-only). ---- */
.bp-room-group__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 22px 0 10px;
  padding-top: 18px;
  border-top: 1px solid var(--bp-border);
}

.bp-card #bp-passengers .bp-room-group__head:first-of-type,
.bp-room-group__head:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.bp-room-group__head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--bp-primary-deep);
}

.bp-room-group__meta {
  margin: 0;
  font-size: 13px;
  color: var(--bp-text-muted);
}

.bp-stack-mini {
  display: grid;
  gap: 10px;
}

/* ---- "Before you travel" cross-sell rows - same shape as .bp-pay-opt's card style,
   replacing the .bp-check pill hack (that component is a small rounded chip, not a
   full-width card) previously forced into this shape with inline styles. ---- */
.bp-option-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 44px;
  padding: 12px 14px;
  border: 1px solid var(--bp-border);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.bp-option-line:has(input:checked) {
  border-color: var(--bp-primary);
  box-shadow: inset 0 0 0 1px var(--bp-primary);
  background: var(--bp-primary-mist);
}

.bp-option-line input {
  margin-top: 3px;
  accent-color: var(--bp-primary);
  flex-shrink: 0;
}

.bp-option-line strong {
  display: block;
  font-size: 15px;
  color: var(--bp-ink);
}

.bp-option-line small {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--bp-text-muted);
}

/* ---- "Business travel details" pill choice (bp-work-trip) ---- */
.bp-work-trip {
  margin: 0;
  padding: 0;
  border: 0;
}

.bp-work-trip legend {
  padding: 0;
  font-size: 13px;
  font-weight: 800;
  color: var(--bp-ink);
}

.bp-work-trip em {
  font-style: normal;
  font-weight: 400;
  color: var(--bp-text-muted);
}

.bp-pill-choice {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.bp-pill-choice__opt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid var(--bp-border);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  color: var(--bp-primary-deep);
  cursor: pointer;
}

.bp-pill-choice__opt:has(input:checked) {
  border-color: var(--bp-primary);
  box-shadow: inset 0 0 0 1px var(--bp-primary);
  background: var(--bp-primary-mist);
}

.bp-pill-choice__opt input {
  accent-color: var(--bp-primary);
}

.bp-work-trip__fields {
  margin-top: 14px;
}

.bp-work-trip__fields.is-hidden {
  display: none;
}

.bp-work-trip__note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 13px;
  color: var(--bp-text-muted);
}

/* ---- "Your arrival time" fact list ---- */
.bp-fact-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.bp-fact-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  font-weight: 700;
  color: var(--bp-green-text);
}

.bp-fact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--bp-green);
  border-bottom: 2px solid var(--bp-green);
  transform: rotate(-45deg);
}

/* ---- "Cots and extra beds" ---- */
.bp-bed-rooms {
  display: grid;
  gap: 10px;
}

.bp-bed-room {
  padding: 12px 14px;
  border: 1px solid var(--bp-border);
  border-radius: 10px;
  background: #fff;
}

.bp-bed-room h3 {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--bp-primary-deep);
}

.bp-bed-picks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.bp-bed-pick {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--bp-border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.bp-bed-pick:has(input:checked) {
  border-color: var(--bp-primary);
  box-shadow: inset 0 0 0 1px var(--bp-primary);
  background: var(--bp-primary-mist);
}

.bp-bed-pick input {
  accent-color: var(--bp-primary);
}

.bp-tag-free {
  margin-left: 6px;
  font-style: normal;
  font-weight: 800;
  font-size: 12px;
  color: var(--bp-green-text);
}

/* ---- "House rules" ---- */
.bp-rule-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.bp-rule-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--bp-ink);
}

.bp-rule-list__mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bp-grey);
  color: var(--bp-text-muted);
  font-size: 13px;
  font-weight: 800;
}

.bp-agree-note {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--bp-text-muted);
}

.bp-text-link--policy {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
}

/* ---- Sidebar "quote-block" cards (price breakdown / cancellation) - same shape as
   the prototype's .quote-block, sitting under the existing .bp-include list. ---- */
.bp-quote-block {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--bp-border);
}

.bp-quote-block h2 {
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--bp-primary-deep);
}

.bp-quote-block__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--bp-primary-mist);
  font-size: 15px;
  font-weight: 800;
  color: var(--bp-primary-deep);
}

.bp-quote-block__total strong {
  font-family: var(--bp-font-display);
  font-size: 22px;
}

.bp-quote-block__sub {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--bp-text-muted);
}

.bp-price-details {
  margin-top: 10px;
}

.bp-price-details summary {
  display: inline-flex;
  list-style: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  color: var(--bp-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bp-price-details summary::-webkit-details-marker {
  display: none;
}

.bp-price-details__hide,
.bp-price-details[open] .bp-price-details__show {
  display: none;
}

.bp-price-details[open] .bp-price-details__hide {
  display: inline;
}

.bp-price-lines {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.bp-price-lines li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--bp-text);
}

.bp-price-lines li span:last-child {
  flex-shrink: 0;
  font-weight: 800;
  color: var(--bp-primary-deep);
}

.bp-price-lines em {
  font-style: normal;
  color: var(--bp-text-muted);
}

.bp-price-details__save {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--bp-green-text);
}

.bp-cancel-free {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: var(--bp-green-text);
}

.bp-cancel-free svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ---- "Secure booking · not an ATOL package" - hotel-only replacement for the shared
   .journey-atol badge (that one's real copy - "ATOL protected" - is only true for a
   flight+accommodation package, never a hotel-only stay: reusing it here would be a
   factually wrong protection claim, not just a wording choice). Same badge shape as
   .journey-atol (JourneyAtol.css), scoped to this page rather than edited there since
   every *other* page that shares that badge really is an ATOL package. ---- */
.bp-secure-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--bp-text-muted);
}

.bp-secure-badge svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--bp-primary);
}

/* ----------------------------------------------------------------------------
   BasketPageHO.cshtml's "Your rooms" card - ported from
   CyprusParadise-NewDesigns/prototypes/basket-page/styles.css's .room-list/.room-line/
   .room-guest-trigger (that file backs the hotel-only/guests.html prototype too).
   ---------------------------------------------------------------------------- */
.bp-room-list {
  display: grid;
  gap: 10px;
}

.bp-room-line {
  padding: 12px 14px;
  border: 1px solid var(--bp-border);
  border-radius: 10px;
  background: #fff;
}

.bp-room-line__name,
.bp-room-line__meta {
  margin: 0;
}

.bp-room-line__name {
  font-size: 15px;
  color: var(--bp-primary-deep);
}

.bp-room-line__meta {
  margin-top: 4px;
  font-size: 13px;
  color: var(--bp-text);
}

.bp-room-line__guests {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--bp-text);
}

.bp-room-line__guests svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--bp-primary-deep);
}

.bp-room-line__saved {
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--bp-primary-deep);
}

.bp-room-line__saved-email {
  margin: 2px 0 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--bp-text-muted);
}

.bp-room-line__saved.is-hidden,
.bp-room-line__saved-email.is-hidden {
  display: none;
}

.bp-room-guest-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--bp-primary);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bp-room-guest-trigger:hover {
  color: var(--bp-primary-deep);
}

.bp-room-guest-trigger svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
