/* ═══════════════════════════════════════════════════════════
   FONT STACK
   Avenir Next LT Pro is a system/licensed font.
   To self-host: add @font-face rules pointing to your font files.
   Fallback chain keeps a similar geometric look.
═══════════════════════════════════════════════════════════ */
:root {
  --font: '"avenir-next-lt-pro"', 'Avenir Next', 'Avenir', 'Century Gothic', 'AppleGothic', 'Trebuchet MS', sans-serif;
}

/* ─── Reset & base ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--e-global-typography-primary-font-family);
  background: #d8d8d8;
}


/* ═══════════════════════════════════════════════════════════
   WIDGET — CSS CUSTOM PROPERTIES
   Swap class:  .page-theme  ↔  .modal-theme
═══════════════════════════════════════════════════════════ */
.st-widget {
  --accent: #8C242D;
  font-family: var(--e-global-typography-primary-font-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 0;
  padding: 3rem 20px;
  transition: background .35s;
  position: relative;
}

/* ── PAGE THEME ── */
.st-widget.page-theme {
  background: #fff;
  --text-b: #000000;
  --text-h: #1a1a1a;
  --text-body: #3d3d3d;
  --text-muted: #888;
  --text-appt: var(--e-global-color-secondary) !important;
  --card-bg-active: #fff;
  --card-bg-inactive: #fff;
  --card-border: #d4d4d4;
  --card-title-active: #1a1a1a;
  --card-title-inactive: #1a1a1a;
  --card-body-active: #444;
  --card-body-inactive: #555;
  --btn-cta-bg: #1a1a1a;
  --btn-cta-text: #fff;
  --btn-dis-bg: #AFAFAF;
  --btn-dis-text: #999;
  --pill-border: #bbb;
  --pill-text: #333;
  --card-bg: #333;
  --pill-hover: #f4f4f4;
  --tab-wrap-bg: #f4f4f4;
  --tab-text: #555;
  --f-bg: #fff;
  --f-border: #ccc;
  --f-text: #1a1a1a;
  --f-ph: #aaa;
  --f-label: #888;
  --f-error: #cc2222;
  --td-terms: #999;
  --input-label-bg: #fff;
  --calendar-bg: #8C242D;
  --label-bg: #fff;
  --input-bg-autofill: #fff;
}

/* ── MODAL THEME ── */
.st-widget.modal-theme {
  /* background: #575757; */
  background: #000000b8;
  /* padding: 3rem; */
  padding: 3rem 40px;
  border-radius: 10px;
  --text-b: #fff;
  --text-h: #fff;
  --text-body: rgba(255, 255, 255, .88);
  --text-muted: rgba(255, 255, 255, .5);
  --text-appt: var(--e-global-color-secondary) !important;
  --card-bg-active: #fff;
  --card-bg-inactive: transparent;
  --card-border: rgba(255, 255, 255, .4);
  --card-title-active: #1a1a1a;
  --card-title-inactive: #fff;
  --card-body-active: #444;
  --card-body-inactive: rgba(255, 255, 255, .7);
  --btn-cta-bg: #fff;
  --btn-cta-text: #1a1a1a;
  --btn-dis-bg: rgba(255, 255, 255, .2);
  --btn-dis-text: rgba(255, 255, 255, .42);
  --pill-border: rgba(255, 255, 255, .45);
  --pill-text: rgba(255, 255, 255, 1);
  --pill-hover: rgba(255, 255, 255, .1);
  --tab-wrap-bg: rgba(255, 255, 255, .15);
  --tab-text: rgba(255, 255, 255, .75);
  --f-bg: transparent;
  --card-bg: transparent;
  --f-border: rgba(255, 255, 255, .45);
  --f-text: #fff;
  --f-ph: rgba(255, 255, 255, .35);
  --f-label: rgba(255, 255, 255, .55);
  --f-error: #ff6b6b;
  --td-terms: rgba(255, 255, 255, .48);
  --input-label-bg: #333;
  --calendar-bg: #AFAFAF;   
  --label-bg: #1c1c1c;
  --input-bg-autofill: #202020;
}

/* ═══════════════════════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════════════════════ */
.t-page-title {
  font-size: 54px !important;
  color: #fff !important;
}

.t-sec-head {
  font-family: var(--e-global-typography-primary-font-family);
  font-weight: 900;
  font-size: 30px;
  line-height: 32px;
  letter-spacing: -0.07em;
  text-transform: uppercase;
  color: var(--text-h);
}

.t-sec-sub {
  /* font-size: 11px; */
  font-weight: 500;
  /* letter-spacing: .08em; */
  text-transform: uppercase;
  /* color: var(--text-muted); */

  font-size: 15px !important;
  letter-spacing: 6% !important;
  line-height: 20px !important;
  color: var(--btn-dis-bg) !important;
}

.t-sec-head>div {
  padding-top: 11px;
}

/* ═══════════════════════════════════════════════════════════
   SECTION TRANSITIONS
═══════════════════════════════════════════════════════════ */
.sec-block {
  transition: opacity .3s ease;
}

.sec-hidden,
.sec-hidden.sec-hidden {
  display: none !important;
}

.sec-block.sec-fading-out {
  opacity: 0;
  pointer-events: none;
}

@keyframes colReveal {
  from {
    opacity: 0;
    transform: translateX(18px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.col-reveal {
  animation: colReveal .4s ease forwards;
}

.fade-in-up {
  animation: fadeInUp .38s ease forwards;
}

/* ═══════════════════════════════════════════════════════════
   TOUR TYPE CARDS  (each card is a <label> wrapping a radio)
═══════════════════════════════════════════════════════════ */
.tour-card {
  /* display: block; */
  /* border: 1.5px solid var(--card-border); */
  border-radius: 6px;
  /* padding: 1.6rem 1.75rem; */
  cursor: pointer;
  background: var(--card-bg-inactive);
  transition: border-color .2s, background .2s;
  position: relative;
  overflow: hidden;
  user-select: none;
  padding-right: 32px !important;

  border: 1px solid var(--pill-text);
  padding: 20px !important;
  max-width: 388px;
  display: flex !important;
  align-items: center !important;
  height: 257px;
  text-decoration: none;
}

.tour-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.tour-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--e-global-color-secondary) !important;
  transition: width .22s ease;
}

.tour-card.selected {
  background: var(--card-bg-active);
  height: 257px !important;
}

.tour-card.selected::before {
  /* width: 5px; */
  width: 27px;
}

#tourModal .tour-card.selected {
  border: none;
  text-decoration: none;
}

.tc-title {
  font-family: var(--e-global-typography-primary-font-family);
  font-weight: 900;
  /* font-size: 22px; */
  /* line-height: 1.1; */
  /* letter-spacing: -0.04em; */
  text-transform: uppercase;
  margin-bottom: .65rem;
  color: var(--card-title-inactive);
  transition: color .2s;

  font-size: 30px !important;
  line-height: 32px !important;
  letter-spacing: -7% !important;
}

.tour-card.selected .tc-title {
  color: var(--card-title-active);
}

.tc-desc {
  font-family: var(--e-global-typography-primary-font-family);
  font-size: 16px;
  font-weight: 500;
  /* line-height: 20px; */
  /* color: var(--card-body-inactive); */
  transition: color .2s;

  line-height: 22px !important;
  color: var(--pill-text) !important;
}

.tour-card.selected .tc-desc {
  color: var(--card-body-active) !important;
}

.tc-badge {
  display: inline-block;
  margin-top: .6rem;
  font-family: var(--e-global-typography-primary-font-family);
  /* font-size: 11px; */
  /* font-weight: 700; */
  /* letter-spacing: .08em; */
  text-transform: uppercase;
  color: var(--text-appt);

  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 20px !important;
  letter-spacing: 6% !important;
}

/* Card wrap — 2-col initially (side-by-side), 1-col when narrow */
.type-cards-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  /* cap initial 2-card layout width */
}

.type-cards-wrap .tour-card {
  flex: 1 1 280px;
  min-width: 0;
}

.type-cards-wrap.narrow {
  max-width: none;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 27px;
}

.type-cards-wrap.narrow .tour-card {
  flex: 0 0 auto;
  width: 100%;
  height: auto;
}

/* Accordion: collapse desc/badge of inactive card in narrow mode */
.type-cards-wrap.narrow .tour-card:not(.selected) {
  padding: 1rem 1.25rem 1rem 1.4rem;
}

.type-cards-wrap.narrow .tour-card:not(.selected) .tc-title {
  font-size: 17px;
  margin-bottom: 0;
}

.type-cards-wrap.narrow .tour-card:not(.selected) .tc-desc,
.type-cards-wrap.narrow .tour-card:not(.selected) .tc-badge {
  display: none;
}

#pcolType:not(.col-lg-4),
#mcolType:not(.col-lg-4) {
  max-width: 100%;
  flex-basis: 100%;
}

#pcolType,
#pcolDate,
#mcolType, 
#mcolDate {
  /* max-width: 436px; */
  max-width: 32%;
  flex-basis: 32%;
}

#pcolTime,
#mcolTime {
  /* max-width: 496px; */
  max-width: 36%;
  flex-basis: 36%;
}

/* ═══════════════════════════════════════════════════════════
   CTA BUTTON (single button, text changes with state)
═══════════════════════════════════════════════════════════ */
.btn-cta {
  background: var(--e-global-color-accent) !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity .2s;
  border-radius: 4px;
}

/* .btn-cta:hover:not(.is-disabled) {
  opacity: .82;
} */

.btn-cta.is-disabled {
  background: var(--btn-dis-bg) !important;
  cursor: not-allowed;
  pointer-events: none;
  text-shadow: none;
}

/* Link-style button */
.btn-link-st {
  font-family: var(--e-global-typography-primary-font-family);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: underline;
  color: var(--text-h);
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  transition: opacity .2s;
}

.btn-link-st:hover {
  opacity: .7;
}

/* ═══════════════════════════════════════════════════════════
   CALENDAR
═══════════════════════════════════════════════════════════ */
.cal-card {
  background: #fff;
  /* border: 1px solid #e2e2e2; */
  border-radius: 8px;
  /* padding: 1.3rem 1.4rem; */
  /* box-shadow: 0 3px 16px rgba(0, 0, 0, .08); */

  box-shadow: 2px 16px 19px 0px #00000017 !important;
  border: none !important;
  max-width: 388px;
  padding: 16px !important;
  margin-top: 27px;
}

.cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.cal-nav-btn {
  width: 30px;
  height: 30px;
  background: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--e-global-color-accent) !important;
  transition: all .15s;
  flex-shrink: 0;
}

.cal-nav-btn:hover:not(:disabled) {
  background: #f0f0f0;
  border-color: #ccc;
}

.cal-nav-btn:disabled {
  opacity: .28;
  cursor: not-allowed;
}

.cal-month {
  font-family: var(--e-global-typography-primary-font-family);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #222;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.cal-dlabel {
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #b0b0b0;
  padding: 3px 0 9px;
  font-family: var(--e-global-typography-primary-font-family);
}

.cal-day {
  width: 34px;
  height: 34px;
  margin: 0 auto 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-family: var(--e-global-typography-primary-font-family);
  font-weight: 700;
  border-radius: 50%;
  transition: background .12s, color .12s;
  user-select: none;
}

.cal-day.avail {
  color: #222;
  cursor: pointer;
}

.cal-day.avail:hover {
  background: #f0f0f0;
}

.cal-day.today.avail {
  font-weight: 900;
}

.cal-day.selected {
  background: var(--e-global-color-secondary) !important;
  color: #fff !important;
}

.cal-day.disabled {
  color: #d4d4d4;
  pointer-events: none;
}

.cal-day.holiday {
  color: #d4d4d4;
  pointer-events: none;
  position: relative;
}

.cal-day.holiday::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #e87c7c;
}

.cal-day.outside {
  visibility: hidden;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   TIME SLOT TABS
═══════════════════════════════════════════════════════════ */
.time-tab-wrap {
  display: flex;
  border-radius: 50px;
  border: 1px solid #E6E6E6 !important;
  overflow: hidden;
}

.time-tab {
  padding: 10px 18px !important;
  border: none;
  background: #fff !important;
  color: var(--e-global-color-accent) !important;
  font-size: 14px !important;
  transition: all .2s;
  text-transform: none !important;
  text-shadow: none !important;
  flex: 1;
  border-radius: 0 !important;
  font-weight: 500;
}

.time-tab:nth-child(2),
.time-tab:nth-child(2):hover {
  border-left: 1px solid #E6E6E6;
  border-right: 1px solid #E6E6E6;
}

.time-tab.active {
  background: var(--e-global-color-secondary) !important;
  color: #fff !important;
}

/* ═══════════════════════════════════════════════════════════
   TIME SLOTS — RADIO PILLS
═══════════════════════════════════════════════════════════ */
.slot-item {
  position: relative;
}

.slot-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.slot-item label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--e-global-typography-primary-font-family);
  color: var(--pill-text);
  border: 1.5px solid var(--pill-text) !important;
  ;
  border-radius: 50px;
  cursor: pointer;
  transition: all .15s;
  text-align: center;
  line-height: 1.2;
  user-select: none;
  white-space: nowrap;
}

.slot-item input[type="radio"]:checked+label {
  background: var(--e-global-color-primary) !important;
  color: #fff;
  border-color: var(--e-global-color-primary) !important;
}

.slot-item.disabled label {
  opacity: .45;
  background: #f3f4f6;
  color: #9ca3af;
  border-color: #e5e7eb;
  cursor: not-allowed;
  pointer-events: none;
  text-decoration: line-through;
}

/* ═══════════════════════════════════════════════════════════
   FORM — STATIC LABELS
═══════════════════════════════════════════════════════════ */
.st-field {
  position: relative;
  margin-bottom: 27px;
}

.st-input {
  background: var(--f-bg);
  border: 1.5px solid var(--e-global-color-accent) !important;
  border-radius: 4px !important;
  padding: 11px 15px !important;
  font-family: var(--e-global-typography-primary-font-family);
  font-size: 16px;
  font-weight: 500;
  color: var(--e-global-color-accent);
  transition: border-color .2s, box-shadow .2s !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  outline: none;
}
.st-input:focus{
  outline: none;
}

.st-input::placeholder {
  color: var(--e-global-color-e4c4395);
  font-weight: 400;
}

.st-input:focus {
  border-color: var(--e-global-color-secondary) !important;
  box-shadow: 0 0 0 3px rgba(140, 36, 45, .1);
}

.st-label {
  font-family: var(--e-global-typography-primary-font-family);
  font-size: 11px;
  font-weight: 400;
  color: var(--text-b);
  position: absolute;
  /* background-color: var(--input-label-bg); */
  top: -6px;
  left: 13px;
  padding: 2px 5px;
  z-index: 1;
  z-index: 99999;
}

.st-label:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--label-bg);
    left: 0;
    top: 6px;
    z-index: -1;
}

.st-req {
  color: var(--f-error);
  font-size: 11px;
}

.st-field.is-error .st-input {
  border-color: #FF6F5C !important;
}

.st-field-error {
  font-size: 11px;
  font-weight: 400;
  color: #FF6F5C;
  padding-left: 10px;
  display: none;
}

.st-field-error-inline {
  font-size: 11px;
  font-weight: 400;
  color: #FF6F5C;
  padding-left: 10px;
}

.st-field.is-error .st-field-error {
  display: block;
}

/* ── Select2 field wrapper ── */
.st-sel-wrap {
  position: relative;
  margin-bottom: 1rem;
}

.st-sel-label {
  font-family: var(--e-global-typography-primary-font-family);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--f-label);
  margin-bottom: 5px;
  display: block;
}

/* ═══════════════════════════════════════════════════════════
   SELECT2 CUSTOM THEME
═══════════════════════════════════════════════════════════ */
.select2-container {
  /* width: 100% !important; */
  z-index: 9999;
}

.select2-container--default .select2-selection--single {
  background: var(--f-bg, #fff);
  border: 1px solid var(--e-global-color-accent);
  border-radius: 4px !important;
  height: 46px;
  display: flex;
  align-items: center;
  transition: border-color .2s, box-shadow .2s;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 0 40px 0 16px;
  font-size: 16px;
  font-weight: 700;
  color: var(--e-global-color-accent) !important;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: var(--f-ph, #aaa);
  font-weight: 400;
}

/* Custom arrow: hide default triangle, show static right chevron > */
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100%;
  width: 18px;
  right: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  display: none;
}

.select2-container--default .select2-selection--single .select2-selection__arrow::after {
  content: '\F285';
  /* bi-chevron-right — static, no rotation */
  font-family: 'bootstrap-icons';
  font-size: 16px;
  color: var(--e-global-color-accent);
}

/* Dropdown panel */
.select2-dropdown {
  border: 1.5px solid #ddd;
  border-radius: 4px !important;
  box-shadow: 0 6px 28px rgba(0, 0, 0, .13);
  font-family: var(--e-global-typography-primary-font-family);
  overflow: hidden;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  display: none;
}

.select2-container--default .select2-results__option {
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--e-global-typography-primary-font-family);
  color: var(--e-global-color-accent) !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: #8C242D !important;
  color: #fff !important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
  background: rgba(140, 36, 45, .08);
  color: #1a1a1a;
}

/* "Select a Source" option — always light, in all states */
.select2-container--default .select2-results__option .s2-placeholder-opt,
.select2-container--default .select2-results__option[aria-selected=true] .s2-placeholder-opt,
.select2-container--default .select2-results__option--highlighted .s2-placeholder-opt {
  color: var(--e-global-color-e4c4395) !important;
  font-weight: 400;
}

/* Selection box — light when "Select a Source" is shown */
.select2-container--default .select2-selection--single .select2-selection__rendered .s2-placeholder-opt {
  color: var(--e-global-color-e4c4395);
  font-weight: 400;
}

/* ═══════════════════════════════════════════════════════════
   RADIO PILL GROUPS (bed / bath)
═══════════════════════════════════════════════════════════ */
.radio-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.r-pill {
  position: relative;
  flex-basis: 90px;
}

.r-pill input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.r-pill label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 18px;
  border: 1.5px solid var(--pill-text);
  border-radius: 50px;
  cursor: pointer;
  font-family: var(--e-global-typography-primary-font-family);
  font-size: 13px;
  font-weight: 500;
  color: var(--pill-text);
  transition: all .15s;
  user-select: none;
  white-space: nowrap;
  line-height: 1;
  width: 100%;
}

.r-pill input[type="radio"]:checked+label {
  background: var(--e-global-color-primary) !important;
  color: #fff;
  border-color: var(--e-global-color-primary) !important;
}

.pref-qlabel {
  font-family: var(--e-global-typography-primary-font-family);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-b);
}

/* ═══════════════════════════════════════════════════════════
   TOUR DETAILS
═══════════════════════════════════════════════════════════ */
.td-lines {
  font-family: var(--e-global-typography-primary-font-family);
  font-weight: 800;
  font-size: 15px;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--text-b);
  letter-spacing: 6%;
}

.td-icon {
  color: var(--e-global-color-secondary);
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Clickable edit icon in Tour Details */
.btn-edit-tour {
  background: none !important;
  border: none;
  padding: 0 !important;
  cursor: pointer !important;
  display: flex;
  align-items: center;
  transition: opacity .2s;
  text-shadow: none !important;
  margin-right: 5px;
}

.td-terms {
  font-family: var(--e-global-typography-primary-font-family);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-b);
}

.td-disclaimer {
  font-size: 12px;
  line-height: 1.5;
}

.rc-label {
  font-size: 13px;
  font-weight: 700;
  color: #333;
  flex: 1;
  font-family: var(--e-global-typography-primary-font-family);
}

.rc-brand b {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #4a90d9;
}

.rc-brand small {
  font-size: 9px;
  color: #999;
  display: block;
}

/* ═══════════════════════════════════════════════════════════
   CONFIRMATION
═══════════════════════════════════════════════════════════ */
.conf-title {
  font-family: var(--e-global-typography-primary-font-family);
  font-weight: 900;
  font-size: clamp(28px, 5vw, 44px);
  letter-spacing: -0.07em;
  text-transform: uppercase;
  color: var(--text-h);
  line-height: 1.05;
}

.conf-date,
.conf-time {
  font-family: var(--e-global-typography-primary-font-family);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 6%;
  text-transform: uppercase;
  text-decoration: underline;
  color: var(--text-h);
  display: block;
  line-height: 24px;
}

.conf-msg {
  font-family: var(--e-global-typography-primary-font-family);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
  color: var(--text-body);
}

.conf-msg strong {
  color: var(--text-h);
}

.conf-msg a {
  color: var(--e-global-color-secondary) !important;
}

/* ═══════════════════════════════════════════════════════════
   LOADING OVERLAY
═══════════════════════════════════════════════════════════ */
.st-loader {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  border-radius: inherit;
}

.st-widget.modal-theme .st-loader {
  background: rgba(80, 80, 80, .75);
}

.st-loader.sec-hidden {
  display: none;
}

.st-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.st-spinner {
  width: 40px;
  height: 40px;
  border: 3.5px solid rgba(140, 36, 45, .15);
  border-top-color: #8C242D;
  border-radius: 50%;
  animation: st-spin .7s linear infinite;
}

@keyframes st-spin {
  to {
    transform: rotate(360deg);
  }
}

.st-loader-text {
  font-family: var(--e-global-typography-primary-font-family);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted, #888);
}

/* ═══════════════════════════════════════════════════════════
   MODAL — Bootstrap modal custom styles
═══════════════════════════════════════════════════════════ */
button {
  border-radius: 4px;
}

.modal-backdrop.show {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, .55);
  opacity: 1 !important;
}

#tourModal .modal-content {
  background: transparent;
  border: none;
  box-shadow: none;
  justify-content: center;
}

#tourModal .modal-dialog {
  max-width: 1440px;
  justify-content: center;
  height: 100vh;
  margin: 0 auto;
}

#tourModal .modal-body {
  padding: 0;
  border-radius: 8px;
  overflow: auto;
}

.st-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  background: none !important;
  width: 36px;
  height: 36px;
  font-size: 30px !important;
  transition: background .2s;
  padding: 0 !important;
}

.st-modal-close:hover {
  background: rgba(255, 255, 255, .28);
}

/* ═══════════════════════════════════════════════════════════
   MOBILE — GO BACK LINK
═══════════════════════════════════════════════════════════ */
.mob-go-back {
  display: none;
  margin-top: 14px;
}

/* ═══════════════════════════════════════════════════════════
   MOBILE — SELECTED DATE & TIME SUMMARY
═══════════════════════════════════════════════════════════ */
.mob-sel-dt {
  display: none;
  margin-bottom: 12px;
}

.mob-sel-dt-label {
  font-family: var(--e-global-typography-primary-font-family);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.mob-sel-dt-value {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--e-global-typography-primary-font-family);
  font-weight: 900;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--text-h);
}

.mob-sel-dt-value i {
  color: var(--e-global-color-secondary);
  font-size: 16px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   MOBILE — CONTACT FORM SUBTITLE
═══════════════════════════════════════════════════════════ */
.contact-form-sub {
  display: none;
  font-family: var(--e-global-typography-primary-font-family);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

/* Hide "Schedule a Tour" heading on page view — only shown in modal */
.st-widget.page-theme .t-page-title {
  display: none;
}

/* Page view max-width matches modal (1440px), centered */
.st-widget.page-theme {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

/* ═══════════════════════════════════════════════════════════
   IN-COLUMN BUTTONS
   "Pick a Time" button lives inside the Date column.
   On mobile, it is revealed by JS when btnPickDate is clicked.
═══════════════════════════════════════════════════════════ */
.btn-pick-time-wrap {
  display: none;
}


/* ═══════════════════════════════════════════════════════════
   MODAL THEME OVERRIDES — pills / tabs use white bg + gray text
═══════════════════════════════════════════════════════════ */

/* Time AM/PM tabs */
.st-widget.modal-theme .time-tab {
  background: #fff !important;
  color: #555 !important;
}

.st-widget.modal-theme .time-tab.active {
  background: var(--e-global-color-secondary) !important;
  color: #fff !important;
}

/* Time slot pills — default: transparent bg, white border, white text (from vars)
   Selected: white bg, gray text */
.st-widget.modal-theme .slot-item input[type="radio"]:checked+label {
  background: #fff !important;
  color: #444 !important;
  border-color: #fff !important;
}

/* Bed / Bath radio pills — same pattern */
.st-widget.modal-theme .r-pill input[type="radio"]:checked+label {
  background: #fff !important;
  color: #444 !important;
  border-color: #fff !important;
}

#pgRecaptchaWrap {
  overflow: hidden;
}

#ptimeGrid {
  padding-top: 11px;
}

.tour-card.selected .tc-inner {
  padding-left: 27px !important;
}

.type-cards-wrap.narrow:has(.tour-card.selected) .tour-card:not(.selected) {
  opacity: 0.5 !important;
}

.type-cards-wrap .tour-card:hover {
  text-decoration: none;
}

.td-policy-note {
  font-weight: 500;
}
.td-policy-note ol,
.td-policy-note ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.td-policy-note li {
  display: inline;
}

#mslotLoader span,
#mleadSend span {
  color: #fff;
  padding-bottom: 16px;
}

#pselfRedirectBtn,
#mselfRedirectBtn {
  border-radius: 4px;
}

#pselfRedirectBtn span,
#mselfRedirectBtn span {
  background: var(--e-global-color-accent) !important;
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  gap: 8px;
  transition: opacity .2s;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 20px;
  letter-spacing: 0.9px;
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  color: #FFFFFF;
  border-style: none;
  padding: 10px 28px 10px 28px;
}

#mff-source .select2-container--default .select2-selection--single .select2-selection__rendered,
#mff-floorplan .select2-container--default .select2-selection--single .select2-selection__rendered,
#mff-leaseterm .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--e-global-color-134b741) !important;
}

#mcolDate .t-sec-sub {
  color: var(--e-global-color-134b741) !important;
}

#mcolType .type-cards-wrap .tour-card {
  max-width: 390px;
}

#mcolType .tc-badge {
  color: var(--e-global-color-e4c4395);
}

#mcolType .tour-card.selected .tc-badge {
  color: var(--e-global-color-secondary);
}

#mcolType .tour-card.selected .tc-desc {
  color: var(--e-global-color-accent) !important;
}

#mcolType .mob-btn-wrap .btn-cta.is-disabled,
#msecC .mob-btn-wrap .btn-cta.is-disabled {
  background: var(--e-global-color-e4c4395) !important;
  color: var(--e-global-color-134b741) !important;
  font-weight: 700;
}

#mbtnEditTour .td-icon,
#moutcomeSuccess i {
  color: #fff !important;
}

#msecB .t-page-title {
  margin-bottom: 39px !important;
}

#msecB .btn-cta,
#msecC .btn-cta {
  background-color: #fff !important;
  text-shadow: none;
  color: var(--e-global-color-accent) !important;
  font-weight: 700;
}

#mbtnFaq {
  background-color: #fff !important;
  text-shadow: none;
  color: var(--e-global-color-accent) !important;
  font-weight: 700;
  text-decoration: none;
}

#btnCallUs,
#mbtnCallUs {
  background-color: #fff !important;
  color: var(--e-global-color-accent) !important;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none !important;
  padding: 10px 24px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: opacity .2s;
}

#btnCallUs:hover,
#mbtnCallUs:hover {
  opacity: .85;
}

#msecB .btn-cta.is-disabled {
  background: var(--e-global-color-e4c4395) !important;
  color: var(--e-global-color-134b741) !important;
  font-weight: 700;
}

#msecC .st-input,
#msecC .select2-container--default .select2-selection--single {
  border: 1.5px solid var(--e-global-color-134b741) !important;
}

.mob-go-back a.btn-link-st,
.mob-go-back button.btn-link-st {
  background-color: #fff !important;
  text-shadow: none !important;
  color: var(--e-global-color-accent) !important;
}

#msecC .st-input,
#msecC .select2-container--default .select2-selection--single {
  border: 1.5px solid var(--e-global-color-134b741) !important;
  color: var(--e-global-color-134b741);
}
#msecC .select2-container--default .select2-selection--single .select2-selection__arrow::after{
  color: var(--e-global-color-134b741) !important;
}
#msecC .td-policy-note {
  color: #ffffff !important;
  font-weight: 500;
}

#msecD .conf-title,
#msecD .conf-msg a,
#msecD .td-terms,
#msecD .conf-date i {
  color: var(--text-h) !important;
}

#msecD .conf-date .td-lines {
  text-decoration: none !important;
}

#msecD .thank-you-section .ty-heading,
#msecD .thank-you-section .ty-msg {
  color: var(--text-h) !important;
}

#msecD .thank-you-section .ty-msg {
  padding-top: 6px;
}

#psecD .thank-you-section .conf-msg {
  font-size: 16px;
  color: var(--pill-text);
  font-weight: 400;
  line-height: 1.4;
}

#psecD .thank-you-section p.conf-msg:last-child {
  margin-bottom: 16px !important;
}

#psecD .thank-you-section p.conf-msg:first-child {
  margin-bottom: 0 !important;
}

#psecD .thank-you-section #pbtnCancelTour {
  background-color: #fff !important;
  text-shadow: none !important;
  color: var(--e-global-color-accent) !important;
  font-weight: 700;
  padding: 10px 16px 10px 16px;
}

#pbtnFaq {
  text-decoration: none;
}

#pleadSend,
#pslotLoader,
#mslotLoader {
  gap: 12px;
  align-items: center;
  display: flex;
  flex-direction: column;
  padding-bottom: 12px;
}

#mslotLoader>div {
  color: #fff;
}

#psecC {
  position: relative !important;
}

#moutcomeErrorMsg,
#moutcomeBooked p {
  color: #fff !important;
}

#pleadSend {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgb(255 255 255 / 94%) !important;
  z-index: 999999 !important;
  display: flex;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
}

#mleadSend {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgb(0 0 0 / 90%) !important;
  opacity: 0.95 !important;
  z-index: 999999 !important;
  display: flex;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  border-radius: var(--bs-modal-border-radius, 0.5rem) !important;
}

.spinner-border {
  margin-bottom: 0 !important;
}

#ptimeGrid .col-6 {
    width: 160px;
}

.td-policy-note a{
  color: var(--text-b) !important;
}

/* Autofill background override */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px var(--input-bg-autofill) inset !important; /* your bg color */
  -webkit-text-fill-color: var(--text-b) !important; /* text color */
  transition: background-color 5000s ease-in-out 0s;
  caret-color: var(--text-b) !important; /* cursor color */
}

@media (max-width: 1460px) {
  #tourModal .modal-dialog {
    margin: 0 20px;
  }

  #mtimeGrid>* {
    flex-basis: 50%;
  }

   #ptimeGrid .col-6 {
    max-width: initial;
  }
}

@media (max-width: 1340px) {
  #ptimeGrid>* {
    flex-basis: 50%;
  }

  .type-cards-wrap {
    gap: 20px;
  }
}

@media (max-width: 1024px) {
  .st-widget.modal-theme {
    background: #000000b8;
    padding: 3rem 20px !important;
    height: 90vh;
    overflow-y: auto;
  }

  .st-modal-close {
    top: 8px;
    right: 8px;
  }

  #pschedulerRow,
  #psecC .row {
    flex-direction: column;
    align-items: center;
  }

  #pschedulerRow>*,
  #psecC .row>* {
    width: 100%;
    max-width: 412px !important;
  }

  .mob-btn-wrap {
    text-align: center;
  }

  .mob-btn-wrap .btn-cta {
    justify-content: center;
  }

  .mob-go-back-center {
    text-align: center;
  }

  .mob-go-back {
    display: block;
  }

  .mob-sel-dt.active {
    display: block;
  }

  .r-pill {
    flex-basis: 85px;
  }

  .conf-msg strong {
    color: var(--pill-text);
    font-weight: 800;
  }

  #psecD .td-lines {
    font-weight: 600 !important;
    font-size: 16px !important;
  }

  #psecD .td-terms {
    color: var(--e-global-color-accent) !important;
    margin-bottom: 0 !important;
  }

  .type-cards-wrap {
    max-width: 100%;
    height: auto;
  }

  .tour-card {
    width: 100%;
    max-width: 100%;
  }

  .st-widget {
    padding: 3rem 0 !important;
  }

  .cal-card {
    width: 100%;
    max-width: 100%;
  }

  .mob-go-back .btn-link-st i {
    font-size: 14px;
    color: #333;
  }

  .mob-btn-wrap {
    margin-top: 36px !important;
  }

  .mob-sel-dt.active {
    margin-top: 36px !important;
  }

  .mob-sel-dt-value {
    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: 6% !important;
  }

  #pcolTime .t-sec-head {
    margin-top: 36px;
  }

  #psecD .conf-title {
    font-size: 54px;
    line-height: 48px;
    letter-spacing: -7%;
  }
}

@media (max-width: 992px) {

  #mschedulerRow>*,
  #msecC .row>* {
    width: 100%;
    max-width: 460px !important;
  }

  #mschedulerRow {
    flex-direction: column;
    align-items: center;
  }

  #tourModal .modal-content {
    max-width: 500px;
  }

  .t-page-title {
    font-size: 42px !important;
  }

  #mcolType .type-cards-wrap .tour-card {
    max-width: 100%;
  }

  #mmobSelDT .mob-sel-dt-value i {
    color: #ffffff !important;
  }
}

@media (max-width: 991.98px) {
  /* .st-widget {
    padding: 2rem 1.5rem;
  } */

  /* On tablet/mobile, time-tab-wrap goes full width */
  .time-tab-wrap {
    width: 100%;
  }

  .time-tab {
    flex: 1;
  }
}

@media (min-width: 768px) {
  .btn-pick-time-wrap {
    display: block;
  }
}

/* Mobile: center action buttons */
@media (max-width: 767.98px) {
  .type-cards-wrap .tour-card {
    flex: 1 1 100%;
  }

  /* Scheduler columns always stack on mobile */
  .st-col-type,
  .st-col-date,
  .st-col-time {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

  .t-sec-head {
    font-size: 24px;
    line-height: 28px;
  }

  .type-cards-wrap {
    max-width: 100%;
    gap: 20px;
    justify-content: center;
  }


  .contact-form-sub {
    display: block;
  }
}

@media (max-width: 575.98px) {
  /* .st-widget {
    padding: 1.5rem 1rem;
  } */

  .t-page-title {
    font-size: 28px !important;
  }

  /* Time slots 2-per-row on small screens */
  .col-6.col-sm-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}
/* No time slots available message */
.st-no-slots {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  width: 100%;
  margin: 16px 0;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}
