/* ============================================================
   Reservation form — V2 "refined"
   Source: design file "The Rentz - Reservation Form.html"
   Brand: teal #2FB5B5 surface · orange #EE6B2D CTA · ink #15161C
   Font: DM Sans (already self-hosted by ignitix-property-card)
   ============================================================ */

.bpr-rform,
.bpr-rform * { box-sizing: border-box; }

/* The `hidden` HTML attribute is "display:none" via UA stylesheet, but a class
   selector that sets `display:flex/block` on the same element wins specificity.
   This rule re-asserts hidden semantics for every interactive V2 surface so the
   error banner / pill / summary / empty-hint / CTA-arrow stay invisible until
   JS removes the attribute. */
.bpr-rform [hidden] { display: none !important; }

/* The legacy bpr.css paints `.igx-product-booking > .wpb_wrapper` with a teal
   background + 20px padding + 13px border-radius — that was the legacy form's
   outer card. With the V2 form, the inner card is `.bpr-rform__inner`, so the
   wrapper must be invisible (no double-card effect). Scoped to wrappers that
   actually contain a V2 form so legacy renderings remain untouched. */
.igx-product-booking > .wpb_wrapper:has(> .bpr-rform) {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  color: inherit !important;
  font-size: inherit !important;
}

.bpr-rform {
  --rf-teal:        #2FB5B5;
  --rf-teal-deep:   #1F8B8B;
  --rf-teal-active: #259999;
  --rf-teal-light:  #5DCBCB;
  --rf-orange:      #EE6B2D;
  --rf-orange-dark: #C04A18;
  --rf-orange-soft: #FFF1E8;
  --rf-ink:         #15161C;
  --rf-mute:        #6A6B73;
  --rf-quiet:       #A8A6A0;
  --rf-line:        #EFEDE7;
  --rf-line-dash:   #DDD9D0;
  --rf-error:       #D6362B;
  --rf-pill-bg:     #FBF3E0;

  font-family: "DM Sans", "DM Sans Fallback", Arial, sans-serif;
  color: #fff;
  width: 100%;
}

.bpr-rform__inner {
  background: var(--rf-teal);
  border-radius: 22px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset,
              0 24px 48px -24px rgba(20,80,80,.5);
}

/* ---------- Header strip ---------- */
.bpr-rform__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.bpr-rform__kicker {
  font-size: 10.5px;
  letter-spacing: .18em;
  color: rgba(255,255,255,.7);
  font-weight: 700;
  text-transform: uppercase;
}

.bpr-rform__headline {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.01em;
  margin-top: 2px;
}

.bpr-rform__pill {
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.bpr-rform__pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rf-orange);
}

/* ---------- Error banner ---------- */
.bpr-rform__error {
  background: #fff;
  border-left: 4px solid var(--rf-error);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--rf-ink);
  box-shadow: 0 6px 14px -8px rgba(20,40,40,.4);
}

.bpr-rform__error-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--rf-error);
  color: #fff;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  margin-top: 1px;
  line-height: 1;
}

.bpr-rform__error-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--rf-error);
  margin-bottom: 1px;
}

.bpr-rform__error-message {
  font-size: 13px;
  line-height: 1.4;
  color: #3a3b40;
}

/* ---------- Sections ---------- */
.bpr-rform__section-label {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255,255,255,.78);
  margin-bottom: 10px;
}

/* Tighten the gap when an explanatory caption sits directly below the label
   (e.g. the Add-ons section). Mockup shows them visually paired. */
.bpr-rform__section-label:has(+ .bpr-rform__section-caption) {
  margin-bottom: 4px;
}

.bpr-rform__section-caption {
  font-size: 12px;
  color: rgba(255,255,255,.7);
  margin-bottom: 10px;
}

/* ---------- Dates ---------- */
.bpr-rform__date-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 4px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

/* The hidden Litepicker target; we keep it covering the whole card so
   clicking anywhere on the card opens the calendar. Porto/WooCommerce
   theme forces `input { background:#fff; color:#777; border:1px solid #ccc }`
   at higher specificity — !important is required to keep the overlay
   transparent so the date cells beneath it remain visible. */
.bpr-rform .bpr-rform__date-range-input,
input.bpr-rform__date-range-input {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  cursor: pointer !important;
  font-size: 1px !important;        /* invisible to the layout */
  color: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  z-index: 2 !important;
}

.bpr-rform__date-cell {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px 14px;
  text-align: left;
  font: inherit;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
  z-index: 1;
}

.bpr-rform__date-cell:hover { background: var(--rf-line); }

.bpr-rform__date-divider {
  display: block;          /* template emits <span>; force block so width:1px works */
  width: 1px;
  background: var(--rf-line);
  margin: 8px 0;
}

.bpr-rform__date-label {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rf-mute);
  font-weight: 700;
}

.bpr-rform__date-value {
  font-size: 13px;
  color: var(--rf-quiet);
  font-weight: 500;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.bpr-rform__date-value--filled {
  color: var(--rf-ink);
  font-weight: 700;
  font-size: 15px;
}

.bpr-rform__date-day {
  font-size: 11px;
  color: var(--rf-mute);
  font-weight: 500;
}

.bpr-rform__discount-banner {
  margin-top: 8px;
  background: rgba(255,255,255,.14);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

.bpr-rform__discount-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--rf-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  flex: 0 0 auto;
}

/* ---------- Steppers (overrides legacy bpr.css) ---------- */
.bpr-rform__stepper {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.bpr-rform__stepper--last,
.bpr-rform__stepper:last-child {
  border-bottom: none;
}

.bpr-rform__stepper-title {
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
}

.bpr-rform__stepper-sub {
  font-size: 11.5px;
  color: rgba(255,255,255,.7);
}

.bpr-rform__stepper-ctrl {
  display: flex !important;
  align-items: center;
  gap: 0;
}

.bpr-rform__stepper-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.45);
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-family: inherit;
}

.bpr-rform__stepper-btn:hover:not(:disabled) {
  background: var(--rf-teal-active);
}

.bpr-rform__stepper-btn:disabled {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.15);
  color: rgba(255,255,255,.4);
  cursor: default;
}

.bpr-rform__stepper-value {
  width: 32px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: transparent !important;
  border: none !important;
  padding: 0;
  -moz-appearance: textfield;
}
.bpr-rform__stepper-value::-webkit-inner-spin-button,
.bpr-rform__stepper-value::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ---------- Add-ons ---------- */
.bpr-rform__addon {
  display: block;
  cursor: pointer;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
  color: #fff;
  transition: background .14s, border-color .14s, color .14s;
}

.bpr-rform__addon:has(.bpr-addon-check:checked),
.bpr-rform__addon--checked {
  background: rgba(255,255,255,.96);
  border-color: transparent;
  color: var(--rf-ink);
}

.bpr-rform__addon > input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.bpr-rform__addon-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bpr-rform__addon-check-ui {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  flex: 0 0 auto;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: background .14s, border-color .14s, color .14s;
}

.bpr-rform__addon:has(.bpr-addon-check:checked) .bpr-rform__addon-check-ui,
.bpr-rform__addon--checked .bpr-rform__addon-check-ui {
  background: var(--rf-orange);
  border-color: var(--rf-orange);
  color: #fff;
}

.bpr-rform__addon-title {
  font-size: 14.5px;
  font-weight: 700;
  flex: 1 1 auto;
  min-width: 0;
}

.bpr-rform__addon-price {
  text-align: right;
  white-space: nowrap;
}

.bpr-rform__addon-amount {
  font-size: 14px;
  font-weight: 700;
}

.bpr-rform__addon-unit {
  font-size: 11px;
  opacity: .75;
}

.bpr-rform__addon:has(.bpr-addon-check:checked) .bpr-rform__addon-unit,
.bpr-rform__addon--checked .bpr-rform__addon-unit {
  opacity: .55;
}

.bpr-rform__addon-desc {
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255,255,255,.78);
  margin-top: 6px;
  padding-left: 32px;
}

.bpr-rform__addon:has(.bpr-addon-check:checked) .bpr-rform__addon-desc,
.bpr-rform__addon--checked .bpr-rform__addon-desc {
  color: var(--rf-mute);
}

/* ---------- Summary card ---------- */
.bpr-rform__summary {
  background: #fff;
  color: var(--rf-ink);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 1px 0 rgba(0,0,0,.04),
              0 12px 28px -16px rgba(20,80,80,.4);
}

.bpr-rform__summary-when {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rf-line);
}

.bpr-rform__summary-range {
  font-size: 13px;
  color: var(--rf-mute);
}

.bpr-rform__summary-nights-pill {
  font-size: 12px;
  font-weight: 700;
  color: var(--rf-ink);
  background: var(--rf-pill-bg);
  padding: 3px 9px;
  border-radius: 999px;
}

.bpr-rform__summary-lines {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 10px 0;
}

.bpr-rform__line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.bpr-rform__line-label {
  font-size: 13px;
  color: var(--rf-ink);
}

.bpr-rform__line-label--muted { color: var(--rf-mute); }

.bpr-rform__line-sub {
  color: var(--rf-quiet);
  font-size: 12px;
  /* JS emits a leading "· " in the text; no margin-left needed (mockup parity). */
}

.bpr-rform__line-strike {
  color: var(--rf-quiet);
  text-decoration: line-through;
  margin-left: 6px;
  font-size: 12px;
}

.bpr-rform__line-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--rf-ink);
  white-space: nowrap;
}

.bpr-rform__line-value--muted { color: var(--rf-mute); }

.bpr-rform__line-value-currency {
  color: var(--rf-quiet);
  font-weight: 500;
}

.bpr-rform__summary-total {
  border-top: 1px solid var(--rf-line);
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.bpr-rform__summary-total-label {
  font-size: 13.5px;
  font-weight: 700;
}

.bpr-rform__summary-total-amount {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.bpr-rform__summary-total-amount .currency {
  font-size: 12px;
  color: var(--rf-mute);
  font-weight: 600;
}

.bpr-rform__summary-savings {
  margin-top: 8px;
  background: var(--rf-orange-soft);
  color: var(--rf-orange-dark);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
}

.bpr-rform__summary-pay {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--rf-line-dash);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bpr-rform__pay-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.bpr-rform__pay-line-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--rf-mute);
}

.bpr-rform__pay-line-label--emphasis {
  font-weight: 700;
  color: var(--rf-ink);
}

.bpr-rform__pay-line-sub {
  font-size: 11.5px;
  color: var(--rf-quiet);
  margin-left: 6px;
}

.bpr-rform__pay-line-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--rf-ink);
}

.bpr-rform__pay-line-value--emphasis {
  font-weight: 800;
  color: var(--rf-orange);
}

/* ---------- Empty hint ---------- */
.bpr-rform__empty-hint {
  background: rgba(255,255,255,.1);
  border: 1px dashed rgba(255,255,255,.4);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13px;
  color: rgba(255,255,255,.85);
  display: flex;
  align-items: center;
  gap: 10px;
}

.bpr-rform__empty-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(255,255,255,.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

/* ---------- CTA ---------- */
.bpr-rform__form {
  margin: 0;
  padding: 0;
}

.bpr-rform__cta {
  background: var(--rf-orange);
  color: #fff !important;
  border: none;
  border-radius: 12px;
  padding: 14px 16px;
  font: inherit;
  font-family: "DM Sans","DM Sans Fallback",Arial,sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .08em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  box-shadow: 0 10px 24px -12px rgba(238,107,45,.7);
  text-transform: uppercase;
  line-height: 1;
}

.bpr-rform__cta:hover:not(:disabled) {
  background: var(--rf-orange-dark);
  color: #fff;
}

.bpr-rform__cta:disabled {
  background: rgba(255,255,255,.22);
  color: #fff;
  border: 1px solid rgba(255,255,255,.3);
  box-shadow: none;
  cursor: not-allowed;
}

.bpr-rform__cta-arrow { flex: 0 0 auto; }

/* ---------- Footer note ---------- */
.bpr-rform__footer-note {
  font-size: 11.5px;
  color: rgba(255,255,255,.78);
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.bpr-rform__footer-icon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
  color: rgba(255,255,255,.85);
  /* DM Sans only — mockup does not use italic/serif here. */
  font-family: inherit;
}

/* ---------- Responsive ----------
   The mockup is a fixed ~420px sidebar card; the inner padding/gap stays
   constant at every viewport so kept-narrow layouts (typical Astra sidebar
   widths) still match pixel-for-pixel. Only addon-desc alignment shifts. */
@media (max-width: 480px) {
  .bpr-rform__addon-desc { padding-left: 0; margin-left: 32px; }
}

/* ---------- Litepicker — stretch to date-card width ----------
   The V2 JS sets parentEl=.bpr-rform__date-card so Litepicker appends inside
   the card (instead of <body>). Litepicker still positions itself absolutely
   below the input. We override its intrinsic width so the open calendar
   matches the input's visible width pixel-for-pixel. Day cells flex evenly
   across 7 columns so the grid scales with the parent. */
.bpr-rform__date-card .litepicker {
  font-family: "DM Sans","DM Sans Fallback",Arial,sans-serif;
  /* parentEl=date-card makes Litepicker append inside the card, but the
     library still computes `top` from viewport coordinates (as if appended
     to <body>). Inside our position:relative parent, that math pushes the
     picker thousands of px below the viewport. We neutralize the runtime
     style with CSS: anchor at the bottom edge of the card, full width. */
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  margin-top: 6px;
  box-shadow: 0 14px 30px -14px rgba(20,80,80,.35);
  border-radius: 12px;
  z-index: 50;
}
.bpr-rform__date-card .litepicker .container__main,
.bpr-rform__date-card .litepicker .container__months {
  width: 100% !important;
  max-width: 100% !important;
}
.bpr-rform__date-card .litepicker .container__months .month-item {
  width: 100% !important;
  flex: 1 1 100% !important;
  padding: 8px 10px;
}
/* Weekday row defaults to flex with fixed 38px children. Force it onto the
   same 7-column grid as the day cells so each weekday sits exactly above its
   day column — otherwise headers drift left of their day numbers. */
.bpr-rform__date-card .litepicker .month-item-weekdays-row {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  width: 100%;
}
.bpr-rform__date-card .litepicker .month-item-weekdays-row > div {
  width: auto !important;
  min-width: 0 !important;
  text-align: center !important;
}
.bpr-rform__date-card .litepicker .container__days {
  width: 100%;
  display: grid !important;
  grid-template-columns: repeat(7, 1fr);
}
.bpr-rform__date-card .litepicker .container__days > div {
  width: auto !important;
  min-width: 0 !important;
  text-align: center !important;
}

/* ---------- Day-cell states ----------
   Litepicker marks each cell with state classes; we use them to make past,
   booked, and blocked days visually distinct from reservable ones. */

/* Available (default day-item, not locked) — clear text, hover affordance. */
.bpr-rform__date-card .litepicker .container__days .day-item {
  color: var(--rf-ink) !important;
  font-size: 13px;
  padding: 6px 0 !important;
  cursor: pointer;
  border-radius: 8px;
  transition: background .12s, color .12s;
  background: transparent;
  /* Stack the date number + price label vertically so the price sits below */
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-height: 44px;
  line-height: 1.1;
}
/* Hover only applies to non-locked, non-selected cells — once a cell is part
   of the selected range (start/end/in-range) it KEEPS its teal styling on
   hover, so the user isn't shown a fake "tentative" state on a cell they
   already locked in. */
.bpr-rform__date-card .litepicker .container__days .day-item:hover:not(.is-locked):not(.is-start-date):not(.is-end-date):not(.is-in-range) {
  background: rgba(238,107,45,.12) !important;
  color: var(--rf-ink) !important;
  box-shadow: inset 0 0 0 1px rgba(238,107,45,.45);
  text-decoration: none !important;
}
.bpr-rform__date-card .litepicker .container__days .day-item:hover:not(.is-locked):not(.is-start-date):not(.is-end-date):not(.is-in-range) .bpr-day-price {
  color: var(--rf-orange-dark) !important;
}

/* Reservable cells get a price label only — cell background + hover are
   left untouched (the original teal-wash hover is the visual affordance
   for available dates). */

/* The price label itself. Compact, orange ink, tabular numerals so prices
   line up across rows. */
.bpr-rform__date-card .litepicker .container__days .day-item .bpr-day-price {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--rf-orange-dark);
  letter-spacing: .01em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  pointer-events: none;
}
/* Endpoint + in-range price colours are set above in the state-specific rules
   (next to the cell backgrounds) so the cascade order is predictable. */

/* ---------- Nights tooltip ----------
   Litepicker shows a small floating pill above the cell during range
   selection with text like "3 nights". By default the bg is white and the
   text inherits whatever the underlying cell sets — which can be white
   (on the teal endpoint) → invisible text on a white pill. Brand-paint it
   so the count is always readable. */
.bpr-rform__date-card .litepicker .container__tooltip {
  background-color: var(--rf-ink) !important;   /* solid dark pill */
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: .02em;
  padding: 5px 9px !important;
  border-radius: 6px !important;
  box-shadow: 0 4px 12px rgba(0,0,0,.18) !important;
  /* visibility is toggled by Litepicker between hidden/visible based on
     whether there's content to show — DO NOT force it open. */
}
/* Tooltip arrow — recolor the caret so it matches the dark pill. */
.bpr-rform__date-card .litepicker .container__tooltip:before {
  border-top-color: rgba(0,0,0,.15) !important;
}
.bpr-rform__date-card .litepicker .container__tooltip:after {
  border-top-color: var(--rf-ink) !important;
}

/* Locked = past, already-booked, or outside coverage. Muted color,
   strikethrough, no hover, not-allowed cursor — clearly not selectable. */
.bpr-rform__date-card .litepicker .container__days .day-item.is-locked {
  color: rgba(21,22,28,.28) !important;
  background: transparent !important;
  text-decoration: line-through;
  cursor: not-allowed !important;
  opacity: 1;                              /* kill Litepicker default fade */
}
.bpr-rform__date-card .litepicker .container__days .day-item.is-locked:hover {
  background: transparent !important;
  color: rgba(21,22,28,.28) !important;
}

/* Today — outlined ring so the user can place themselves. */
.bpr-rform__date-card .litepicker .container__days .day-item.is-today {
  box-shadow: inset 0 0 0 1px var(--rf-teal);
  font-weight: 700;
}

/* Selected range endpoints — solid teal fill.
   Guarded against the global "locked" strikethrough that can bleed in
   when Litepicker briefly puts both start+end on the same cell during the
   first click of a range. */
.bpr-rform__date-card .litepicker .container__days .day-item.is-start-date,
.bpr-rform__date-card .litepicker .container__days .day-item.is-end-date,
.bpr-rform__date-card .litepicker .container__days .day-item.is-start-date:hover,
.bpr-rform__date-card .litepicker .container__days .day-item.is-end-date:hover {
  background: var(--rf-teal) !important;
  color: #fff !important;
  font-weight: 700;
  box-shadow: none !important;
  text-decoration: none !important;
  opacity: 1 !important;
  cursor: pointer !important;
}
.bpr-rform__date-card .litepicker .container__days .day-item.is-start-date .bpr-day-price,
.bpr-rform__date-card .litepicker .container__days .day-item.is-end-date .bpr-day-price {
  color: #fff !important;
}

/* In-range nights — soft teal wash. */
.bpr-rform__date-card .litepicker .container__days .day-item.is-in-range,
.bpr-rform__date-card .litepicker .container__days .day-item.is-in-range:hover {
  background: rgba(47,181,181,.22) !important;
  color: var(--rf-ink) !important;
  border-radius: 0;
  box-shadow: none !important;
  text-decoration: none !important;
  opacity: 1 !important;
  cursor: pointer !important;
}
.bpr-rform__date-card .litepicker .container__days .day-item.is-in-range .bpr-day-price {
  color: #0F6E6E !important;
}
.bpr-rform__date-card .litepicker .container__days .day-item.is-start-date.is-in-range { border-radius: 8px 0 0 8px; }
.bpr-rform__date-card .litepicker .container__days .day-item.is-end-date.is-in-range   { border-radius: 0 8px 8px 0; }

/* Weekday header polish */
.bpr-rform__date-card .litepicker .month-item-weekdays-row > div {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--rf-mute);
  text-transform: capitalize;
  padding: 8px 0;
}

/* Fallback for the global Litepicker too (in case parentEl logic ever differs) */
.litepicker { font-family: "DM Sans","DM Sans Fallback",Arial,sans-serif; }

/* ============================================================
   Cross-property switch modal
   Sits at top of the DOM under .bpr-rform but uses position:fixed so
   it overlays the entire viewport regardless of where it lives in flow.
   ============================================================ */
.bpr-rform__switch-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  font-family: "DM Sans","DM Sans Fallback",Arial,sans-serif;
}

.bpr-rform__switch-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
  cursor: pointer;
  animation: bpr-rform__fade .14s ease-out;
}

.bpr-rform__switch-dialog {
  position: relative;
  background: #fff;
  color: var(--rf-ink, #15161C);
  border-radius: 16px;
  padding: 22px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 28px 56px -16px rgba(20,40,40,.45),
              0 1px 0 rgba(255,255,255,.6) inset;
  animation: bpr-rform__pop .18s ease-out;
}

@keyframes bpr-rform__fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes bpr-rform__pop  { from { opacity: 0; transform: translateY(8px) } to { opacity: 1; transform: none } }

.bpr-rform__switch-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.01em;
  margin-bottom: 4px;
  color: var(--rf-ink, #15161C);
}

.bpr-rform__switch-sub {
  font-size: 13px;
  color: var(--rf-mute, #6A6B73);
  line-height: 1.4;
  margin-bottom: 14px;
}

.bpr-rform__switch-summary {
  background: var(--rf-line, #EFEDE7);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}

.bpr-rform__switch-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.bpr-rform__switch-row-label {
  color: var(--rf-mute, #6A6B73);
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
}
.bpr-rform__switch-row-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--rf-ink, #15161C);
  text-align: right;
  word-break: break-word;
}

.bpr-rform__switch-property {
  font-size: 14px;
  font-weight: 700;
  color: var(--rf-ink, #15161C);
  line-height: 1.3;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  margin-bottom: 4px;
}

.bpr-rform__switch-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bpr-rform__switch-keep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--rf-teal, #2FB5B5);
  color: #fff !important;
  border-radius: 12px;
  padding: 13px 16px;
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: filter .12s, transform .06s;
}
.bpr-rform__switch-keep:hover {
  filter: brightness(.94);
  color: #fff !important;
  text-decoration: none;
}

.bpr-rform__switch-discard {
  appearance: none;
  background: #fff;
  color: var(--rf-mute, #6A6B73);
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 12px;
  padding: 12px 16px;
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: background .12s, color .12s, border-color .12s;
}
.bpr-rform__switch-discard:hover {
  background: var(--rf-line, #EFEDE7);
  color: var(--rf-ink, #15161C);
  border-color: rgba(0,0,0,.18);
}

/* Body lock — JS adds this class while the modal is open. */
body.bpr-switch-open { overflow: hidden; }
